/* ===== Xtreme Tires and Auto Repair — styles =====
   Style preset: Bold & Colorful (Poppins + DM Sans, chunky buttons, color-block sections)
   with his brand colors swapped in: black + the red of his logo and storefront. */
:root {
  --main: #0B0B0D;        /* black (logo background) */
  --main-2: #17191C;      /* cards on dark */
  --red: #E3161F;         /* storefront / logo red */
  --red-dark: #A20F16;
  --chrome: #D7DADF;      /* white-silver from the logo */
  --bg: #FFFFFF;
  --bg-alt: #F3F4F5;
  --text: #16181B;
  --muted: #555A61;
  --line: #E1E3E6;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(14, 15, 17, .10);
  --head: "Poppins", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.stars-45 { background: linear-gradient(90deg, #f5b301 90%, #6b6b6b 90%); -webkit-background-clip: text; background-clip: text; color: transparent !important; letter-spacing: 2px; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-top: 36px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn-red:hover { box-shadow: 0 6px 0 var(--red-dark); }
.btn-dark { background: var(--main); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--main); }
.btn-whatsapp { background: #25D366; color: #0b2e17; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--main); color: #fff; border-bottom: 3px solid var(--red); transition: box-shadow .2s ease; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.2rem; color: #fff; white-space: nowrap; text-transform: uppercase; letter-spacing: .01em; }
.logo img { width: 46px; height: 46px; border-radius: 50%; }
.logo b { color: var(--red); font-weight: 900; }
.logo span span { font-weight: 700; color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; color: #e6e7e9; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .nav-call { margin-left: 8px; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 961px) { .nav a:not(.btn) { padding: 10px 8px; } .logo span { font-size: 1.05rem; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; border: 2px solid #33363b; border-radius: 10px; overflow: hidden; }
.lang-toggle button { background: transparent; color: #c9cdd2; border: 0; min-width: 44px; min-height: 40px; font-family: var(--head); font-weight: 700; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--red); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; background: transparent; border: 2px solid #33363b; border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--main); padding: 8px 20px 20px; border-bottom: 3px solid var(--red); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #25282c; border-radius: 0; }
  .nav .nav-call { margin: 14px 0 0; }
}
@media (max-width: 520px) {
  .logo { gap: 8px; }
  .logo img { width: 40px; height: 40px; }
  .header .logo span { display: flex; flex-direction: column; line-height: 1.05; font-size: .98rem; }
  .header .logo b { font-size: .98rem; }
}

/* ---------- Promo banner (car meet) ---------- */
.promo { background: var(--red); color: #fff; font-size: .95rem; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.promo p { margin: 0; line-height: 1.35; }
.promo b { font-family: var(--head); font-weight: 800; margin-right: 6px; }
.promo-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.2); color: #fff; font-weight: 700; cursor: pointer; }
.promo-close:hover { background: rgba(0,0,0,.35); }

/* ---------- Hero: storefront backdrop ---------- */
.hero { position: relative; background: var(--main); color: #fff; padding: 84px 0 96px; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.hero > .container { width: 100%; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
/* dark on the left for the text, storefront showing on the right */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,11,13,.96) 0%, rgba(11,11,13,.88) 34%, rgba(11,11,13,.45) 62%, rgba(11,11,13,.12) 100%),
              linear-gradient(0deg, rgba(11,11,13,.7) 0%, transparent 30%); }
.hero-grid { position: relative; display: block; max-width: 640px; margin-left: 0; }
.hero-copy { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
@media (max-width: 860px) {
  .hero { display: block; padding: 0 0 56px; min-height: 0; }
  .hero-bg { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .hero-bg::after { background: linear-gradient(0deg, var(--main) 0%, rgba(11,11,13,0) 45%); }
  .hero-grid { margin-top: -40px; }
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1; margin-bottom: .4em; letter-spacing: -.015em; }
.hero h1 span { display: block; }
.hero h1 em { display: block; font-style: italic; color: var(--red); }
.hero .eyebrow { color: var(--chrome); }
.hero-text { font-size: 1.15rem; color: #d3d5d9; max-width: 34em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-rating, .hero-address { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #e6e7e9; font-size: .98rem; }
.hero-rating:hover, .hero-address:hover { color: #fff; }
.status { display: inline-flex; align-items: center; gap: 8px; background: rgba(46, 204, 113, .14); color: #8ff0b6; border: 1px solid rgba(46,204,113,.35); padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; animation: pulse 2s infinite; }
.status.closed { background: rgba(255,255,255,.08); color: #c9cdd2; border-color: rgba(255,255,255,.2); }
.status.closed .dot { background: #8a8f96; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); } 70% { box-shadow: 0 0 0 9px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
@media (prefers-reduced-motion: reduce) { .status .dot { animation: none; } }
.stars { color: #f5b301; letter-spacing: 2px; }

@media (max-width: 480px) { .hero-buttons .btn { flex: 1 1 100%; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 10px 10px 0 var(--red); }
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: 8px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-photo { max-width: 360px; } }
.services-more { text-align: center; margin: 28px 0 0; font-family: var(--head); font-weight: 600; color: var(--muted); }
.yelp-word { font-style: italic; color: #fff; }

/* ---------- Badges ---------- */
.badges { background: var(--red); color: #fff; }
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.badge { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .98rem; text-align: center; }
.badge svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .badges-row { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } .badge { justify-content: flex-start; font-size: .92rem; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--main); color: #fff; }
.section-dark .section-head p:last-child { color: #b7bbc1; }
.section-dark .eyebrow { color: var(--red); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 24px 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--main); box-shadow: 6px 6px 0 var(--red); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--main); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { background: var(--main); border-color: var(--main); color: #fff; }
.card-feature p { color: #c3c6cb; }
.card-feature .card-icon { background: var(--red); }
.card-feature:hover { border-color: var(--red); box-shadow: 6px 6px 0 var(--chrome); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.review.review-cta { background: var(--main); border-color: var(--main); color: #fff; justify-content: center; align-items: flex-start; text-decoration: none; transition: transform .2s ease; }
.review.review-cta:hover { transform: translateY(-4px); }
.review.review-cta::before { display: none; }
.review-cta .big { font-family: var(--head); font-weight: 900; font-size: 3rem; line-height: 1; }
.review-cta p { margin: 8px 0 14px; color: #c9cdd2; }
.review-cta span.go { font-family: var(--head); font-weight: 700; color: #fff; border-bottom: 2px solid var(--red); }

/* ---------- Brands & tire types ---------- */
.brands { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brands li { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 22px; font-family: var(--head); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; color: var(--main); }
.brands li { transition: transform .15s ease, border-color .15s ease; }
.brands li:hover { transform: translateY(-2px); border-color: var(--red); }
.brands li:first-child { background: var(--red); color: #fff; border-color: var(--red); }
.tire-types { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.tire-type { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 26px; }
.tire-type p { color: var(--muted); margin: 0; }
.tire-type-main { background: var(--red); border-color: var(--red); color: #fff; }
.tire-type-main p { color: #ffe3e5; }
.tire-type-main h3 { font-size: 1.5rem; }
.tt-tag { display: inline-block; background: #fff; color: var(--red); font-family: var(--head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 860px) { .tire-types { grid-template-columns: 1fr; } .brands li { font-size: 1rem; padding: 10px 16px; } }

/* ---------- Deals strip ---------- */
.deals { background: repeating-linear-gradient(135deg, #f3f4f5 0 22px, #eceef0 22px 44px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deals-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.deals-title { font-family: var(--head); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 6px; }
.deals-title::before { content: ""; display: inline-block; width: 14px; height: 14px; background: var(--red); border-radius: 3px; margin-right: 10px; transform: rotate(45deg) translateY(-3px); }
.deals-inner p:last-child { color: var(--muted); margin: 0; max-width: 46em; }
.deals .btn { flex: none; }
@media (max-width: 760px) { .deals-inner { flex-direction: column; align-items: flex-start; } .deals .btn { width: 100%; } }

/* ---------- Builds gallery (portrait, reel-style) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-cell { margin: 0; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 9 / 14; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cell figcaption { font-family: var(--head); font-weight: 600; font-size: .9rem; margin-top: 10px; color: #e6e7e9; line-height: 1.35; }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } .gallery-cell figcaption { font-size: .82rem; } }

/* ---------- Steps ---------- */
.steps { background: var(--main); color: #fff; border-radius: 20px; padding: 40px 36px; position: relative; overflow: hidden; }
.steps::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(225,29,42,.25); }
.steps-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 24px; position: relative; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps b { font-family: var(--head); font-size: 1.05rem; }
.steps p { color: #c3c6cb; margin: 4px 0 0; font-size: .97rem; }
.step-num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
@media (max-width: 800px) { .steps ol { grid-template-columns: 1fr; } .steps { padding: 30px 22px; } }

/* ---------- Reviews ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 20px; margin-top: 6px; }
.rating-summary .big { font-family: var(--head); font-weight: 800; font-size: 1.6rem; }
.rating-summary .stars { font-size: 1.1rem; }
.rating-summary span:last-child { color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border-radius: 16px; padding: 26px; border: 2px solid var(--line); display: flex; flex-direction: column; position: relative; }
.review::before { content: "“"; position: absolute; right: 18px; top: 2px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(225,29,42,.15); }
.review .stars { font-size: 1.1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.08rem; font-weight: 500; flex: 1; }
.review figcaption { font-family: var(--head); font-weight: 700; color: var(--muted); font-size: .92rem; }
.review figcaption::before { content: "— "; color: var(--red); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 2px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 56px; background: none; border: 0; text-align: left; font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--text); cursor: pointer; }
.faq-q:hover { background: var(--bg-alt); }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--main); position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--red); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.visit-address { font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.35; }
.hours { width: 100%; max-width: 380px; border-collapse: collapse; margin: 4px 0 26px; }
.hours th, .hours td { padding: 8px 10px; border-bottom: 1px solid #25282c; text-align: left; font-weight: 500; color: #c9cdd2; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: #fff; font-weight: 700; background: rgba(225,29,42,.18); }
.map { border-radius: 18px; overflow: hidden; border: 3px solid var(--red); aspect-ratio: 4 / 3; background: #1a1c1f; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info > p { color: var(--muted); }
.urgent { background: var(--main); color: #fff; border-radius: 18px; padding: 26px; margin-top: 22px; border-left: 6px solid var(--red); }
.urgent-title { font-family: var(--head); font-weight: 800; font-size: 1.3rem; margin-bottom: 2px; }
.urgent p { color: #c9cdd2; }
.message-title { margin: 22px 0 10px; font-weight: 700; color: #fff !important; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-buttons .btn { flex: 1 1 auto; }
.form { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 700; margin-bottom: 6px; font-size: .97rem; }
.req { color: var(--red); }
.optional { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 2px solid #d3d6da; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--main); outline: none; box-shadow: 0 0 0 4px rgba(225, 29, 42, .25); }
.field .err { display: none; color: #b3141b; font-size: .9rem; margin-top: 6px; font-weight: 500; }
.field.has-error input, .field.has-error textarea { border-color: #b3141b; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; font-weight: 700; min-height: 1em; }
.form-msg.ok { color: #157a3c; }
.form-msg.bad { color: #b3141b; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 22px 18px; } }

/* ---------- Footer ---------- */
.footer { background: #08090A; color: #c3c6cb; padding: 56px 0 24px; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.1fr; gap: 32px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer p { margin: 0 0 8px; font-size: .97rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo { margin-bottom: 14px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; word-break: break-all; }
.copyright { border-top: 1px solid #222428; margin-top: 36px; padding-top: 20px; font-size: .9rem; color: #8a8f96; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer { padding-bottom: 100px; } }

/* ---------- Floating contact (phones) ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; gap: 6px; padding: 6px; background: var(--main); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s ease, opacity .25s ease; }
  .mobile-bar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mobile-bar a { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 50px; padding: 0 4px; border-radius: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: .88rem; white-space: nowrap; }
  .mobile-bar svg { width: 18px; height: 18px; flex: none; }
  .mb-call { background: var(--red); color: #fff; }
  .mb-text, .mb-dir { background: #26292d; color: #fff; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 9, 10, .9); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lightbox-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; }

/* ---------- Fade-in ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
