/* =====================================================================
   Dent Pro Buffalo — site styles
   Layout adapted from the wnygrassman.com template.

   QUICK BRANDING: change the values in :root below.
   Colors come straight from the DENT-PRO logo (royal blue + slate) set
   on the dark carbon / navy look of Tyler's business card.
   ===================================================================== */

:root {
  /* Brand colors */
  --bg:            #070b14;   /* page background (carbon navy) */
  --bg-2:          #0d1422;   /* alternate section background */
  --bg-3:          #04070d;   /* header / footer */
  --panel:         #111a2d;   /* cards */
  --accent:        #1f5cff;   /* buttons + highlights (logo blue, a touch brighter) */
  --accent-dark:   #0034e0;   /* exact logo blue — hover/pressed */
  --accent-bright: #5b8cff;   /* blue text on dark backgrounds (readable contrast) */
  --slate:         #3c5a58;   /* logo "PRO" slate */
  --text:          #ffffff;
  --muted:         #a9b4c8;   /* paragraph text */
  --line:          rgba(255,255,255,.09);
  --line-blue:     rgba(91,140,255,.35);
  --tint:          rgba(31,92,255,.14);

  /* Type */
  --font-head: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --radius: 12px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
p { margin: 0 0 1rem; color: var(--muted); }
strong { color: #e6ebf5; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-2); }
.eyebrow {
  color: var(--accent-bright);
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .9rem;
  margin: 0 0 .7rem;
}
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.accent { color: var(--accent-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-cond);
  font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 13px 26px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 8px 24px -10px rgba(31,92,255,.8);
  transition: background .25s ease, border-color .25s ease, transform .15s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(31,92,255,.9); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,7,13,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* header layout: logo left, phone centered, menu right */
.header-inner {
  position: relative;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: 20px; min-height: 84px;
}
.brand { justify-self: start; display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.header-phone {
  justify-self: center;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  color: #fff;
}
.header-phone small {
  font-family: var(--font-cond); font-weight: 700; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 5px;
}
.header-phone span { font-family: var(--font-cond); font-weight: 700; font-size: clamp(1.4rem, 2.5vw, 1.9rem); letter-spacing: .02em; }
.header-phone:hover span { color: var(--accent-bright); }
.nav-zone { justify-self: end; display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 700; font-size: .98rem; color: #d7dce8; transition: color .2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--accent-bright); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; margin-right: -8px; }
.nav-toggle svg { width: 30px; height: 30px; }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 92px;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(31,92,255,.30), transparent 62%),
    radial-gradient(700px 420px at -5% 105%, rgba(31,92,255,.20), transparent 60%),
    linear-gradient(180deg, rgba(7,11,20,.82), rgba(7,11,20,.95)),
    url("../img/hero-pdr-light-reflection.jpg") center / cover no-repeat,
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::after { /* speed-line accent, echoes the logo arrow */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-bright) 70%, transparent);
  opacity: .7;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; margin-bottom: .35em; }
.hero h1 .accent { font-style: italic; display: block; }
.hero .lead { color: #c9d1e2; margin-bottom: 1.8rem; }
.hero-points {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-points li { display: flex; align-items: center; gap: 8px; color: #dfe5f1; font-weight: 600; font-size: .98rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--accent-bright); flex: none; }

/* ---------- before / after toggle card ---------- */
.ba-card {
  margin: 0;
  background: linear-gradient(160deg, rgba(31,92,255,.18), rgba(17,26,45,.9) 40%);
  border: 1px solid var(--line-blue);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #000; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.ba-frame .ba-after { opacity: 0; }
.ba-card.show-after .ba-after { opacity: 1; }
.ba-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
  padding: 5px 12px; border-radius: 6px; background: rgba(4,7,13,.82); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.ba-card.show-after .ba-label { background: var(--accent); border-color: var(--accent); }
.ba-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ba-controls button {
  font: 700 1rem/1 var(--font-cond); letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 10px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.04); color: #cfd6e4; border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.ba-controls button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ba-card figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* side-by-side before/after pair (used on gallery page) */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair figure { position: relative; margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.ba-pair img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ba-pair figcaption { position: absolute; top: 10px; left: 10px; }

/* ---------- trust strip ---------- */
.stats { background: var(--bg-3); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-cond); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; color: #fff; }
.stat b em { font-style: normal; color: var(--accent-bright); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- interior page banner ---------- */
.page-hero {
  position: relative;
  padding: 96px 0 78px;
  text-align: center;
  background-color: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-bright) 70%, transparent); opacity: .7;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.page-hero p { max-width: 660px; margin: 0 auto; color: #d7dce8; font-size: 1.1rem; }
.breadcrumb { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { color: var(--accent-bright); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-blue); box-shadow: 0 18px 40px -24px rgba(31,92,255,.7); }
.card .icon {
  width: 56px; height: 56px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--accent-bright);
  border: 1px solid rgba(91,140,255,.25);
  border-radius: 12px;
}
.card .icon svg { width: 28px; height: 28px; }
.card .num { font-family: var(--font-cond); font-weight: 700; font-size: 1.6rem; }
.card h3 { font-weight: 700; font-size: 1.22rem; margin-bottom: .45em; letter-spacing: 0; }
.card p { font-size: .98rem; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--accent-bright); font-weight: 700; font-size: .95rem; }
.card .more:hover { color: #fff; }

/* image cards (services) */
.photo-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.photo-card:hover { transform: translateY(-4px); border-color: var(--line-blue); }
.photo-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-card .body { padding: 22px 24px 26px; }
.photo-card h3 { font-weight: 700; font-size: 1.22rem; margin-bottom: .4em; letter-spacing: 0; }
.photo-card p { font-size: .98rem; margin: 0; }
[id] { scroll-margin-top: 100px; }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > img, .split .split-media img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.split-media { position: relative; }
.split-media .badge {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--accent); color: #fff; border-radius: 12px; padding: 14px 18px; text-align: center;
  box-shadow: 0 16px 30px -12px rgba(31,92,255,.8);
}
.split-media .badge b { display: block; font-family: var(--font-cond); font-size: 2rem; line-height: 1; }
.split-media .badge span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; color: #d3d9e6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--x li::before {
  background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b4c8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gallery a { display: block; overflow: hidden; }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 12px 16px; font-weight: 600; font-size: .95rem; color: #dfe5f1; border-top: 1px solid var(--line); }
.gallery figcaption span { display: block; color: var(--muted); font-weight: 500; font-size: .86rem; }

/* lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; width: auto;
}
.lightbox::backdrop { background: rgba(2,4,9,.9); backdrop-filter: blur(4px); }
.lightbox img { max-width: min(1100px, 94vw); max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { text-align: center; color: #e6ebf5; margin: 12px 0 0; font-weight: 600; }
.lightbox .lb-close, .lightbox .lb-nav {
  position: fixed; background: rgba(4,7,13,.75); color: #fff; border: 1px solid rgba(255,255,255,.2);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 22px; height: 22px; }

/* ---------- video (click-to-load YouTube embed) ---------- */
.video-wrap { max-width: 900px; margin: 0 auto; }
.video-embed {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-blue); background: #000;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.video-embed iframe, .video-facade, .video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; cursor: pointer; }
.video-facade img { object-fit: cover; transition: transform .5s ease; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,13,.05), rgba(4,7,13,.6)); }
.video-facade:hover img { transform: scale(1.03); }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 10px rgba(31,92,255,.25), 0 16px 30px -10px rgba(0,0,0,.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-facade:hover .play-btn, .video-facade:focus-visible .play-btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(31,92,255,.32), 0 16px 30px -10px rgba(0,0,0,.8); }
.play-btn svg { width: 34px; height: 34px; margin-left: 5px; }
.video-meta {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem;
  padding: 5px 12px; border-radius: 6px; background: rgba(4,7,13,.8); color: #fff;
}
.video-caption { text-align: center; color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
@media (max-width: 520px) { .play-btn { width: 66px; height: 66px; } .play-btn svg { width: 28px; height: 28px; } }

/* ---------- area chips ---------- */
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.center .chips { justify-content: center; }
.chips li {
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #dfe5f1;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}

/* ---------- quote / CTA band ---------- */
.quote-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(31,92,255,.35), transparent 70%),
    var(--bg-3);
  border-top: 1px solid var(--line);
}
.quote-band blockquote { margin: 0 auto; max-width: 780px; }
.quote-band .qmark { font-family: Georgia, serif; font-size: 4rem; color: var(--accent-bright); line-height: .6; }
.quote-band p.quote { font-style: italic; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: .4em 0 .6em; line-height: 1.3; }
.quote-band cite { color: var(--muted); font-style: normal; font-weight: 700; letter-spacing: .05em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-blue); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative;
  font-weight: 700; font-size: 1.08rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--accent-bright); font-weight: 600; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.contact-item {
  display: block;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 18px;
  transition: border-color .2s, transform .2s;
}
.contact-item:hover { border-color: var(--line-blue); transform: translateY(-3px); }
.contact-item .icon {
  width: 62px; height: 62px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--accent-bright); border-radius: 50%;
  transition: background .2s, color .2s;
}
.contact-item:hover .icon { background: var(--accent); color: #fff; }
.contact-item .icon svg { width: 28px; height: 28px; }
.contact-item h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: .3em; letter-spacing: 0; }
.contact-item p { margin: 0; font-size: .95rem; word-break: break-word; }
.contact-item .big { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: 2px; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #d3d9e6; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { min-width: 120px; color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.site-footer h3 { font-family: var(--font-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: #fff; margin-bottom: 14px; }
.site-footer p { font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); font-size: .95rem; }
.footer-links a:hover { color: var(--accent-bright); }
.site-footer .social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-top: 6px;
  border-radius: 50%; background: var(--tint); color: var(--accent-bright);
  transition: background .2s, color .2s, transform .15s;
}
.site-footer .social:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.site-footer .social svg { width: 22px; height: 22px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom p { margin: 0; font-size: .88rem; text-align: center; }
.footer-bottom a { color: var(--accent-bright); }

/* ---------- sticky mobile call / text bar ---------- */
.mobile-cta { display: none; }

/* section headers */
.section-head { text-align: center; max-width: 740px; margin: 0 auto 52px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  /* collapse the menu early so the centered phone never collides with it */
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-3); border-bottom: 1px solid var(--line);
    padding: 8px 0; box-shadow: 0 20px 30px -20px rgba(0,0,0,.9);
  }
  .nav.open a { padding: 14px 24px; width: 100%; }
  .nav.open a.active::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .hero-points { justify-content: center; }
  .ba-card { max-width: 560px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse > *:first-child { order: 2; }
  .split-media .badge { right: 12px; bottom: 12px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid .contact-item:first-child { grid-column: 1 / -1; }
  .stats .container { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 64px 0 54px; }
  .section-head { margin-bottom: 38px; }
  body { padding-bottom: 74px; } /* room for the sticky call/text bar */
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(4,7,13,.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 8px; border-radius: 8px;
    font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff;
  }
  .mobile-cta a.primary { background: var(--accent); border-color: var(--accent); }
  .mobile-cta svg { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; padding: 0 14px; min-height: 68px; }
  .brand img { height: 40px; }
  .header-phone small { font-size: .62rem; letter-spacing: .14em; margin-bottom: 3px; }
  .header-phone span { font-size: 1.12rem; }
  .container { padding: 0 18px; }
  body { font-size: 16px; }
  .lead { font-size: 1.06rem; line-height: 1.6; }
  .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 12px; }
  .contact-item { padding: 22px 10px; }
  .contact-item .icon { width: 50px; height: 50px; margin-bottom: 10px; }
  .contact-item .big { font-size: 1.15rem; }
  .contact-item p { font-size: .82rem; }
  .gallery { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr; }
  .info-list li { flex-direction: column; gap: 2px; }
}
@media (max-width: 380px) {
  .header-phone small { display: none; }
  .brand img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
