/* ════════════════════════════════════════════════════════════════
   OBSIDIAN DETAIL STUDIOS — shared stylesheet (multi-page site)
   Dark / technical / premium · cyan #00ADEE · Bebas Neue + Inter
   ════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #00ADEE;
  --blue-dark: #0090c8;
  --blue-glow: rgba(0,173,238,0.45);
  --blue-dim:  rgba(0,173,238,0.08);
  --blue-bdr:  rgba(0,173,238,0.25);
  --void:      #030407;
  --deep:      #07090f;
  --panel:     #0b0e16;
  --glass:     rgba(255,255,255,0.035);
  --glass-bdr: rgba(255,255,255,0.08);
  --white:     #ffffff;
  --off:       #dfe3ea;
  --text:      #9aa3b2;
  --mid:       #5c6470;
  --gold:      #ffc94d;
  --maxw:      1600px;
}

html { scroll-behavior: smooth; background: var(--void); scroll-padding-top: 90px; }
body {
  background: var(--void);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--void); }

/* ── REDESIGN UTILITIES · scannable card grids inside prose columns ── */
.rd-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:1rem; margin:1.4rem 0; }
.rd-grid .card { margin:0; }
.prose .rd-grid .card h3 { font-size:1.05rem; margin-bottom:.4rem; }
.prose .rd-grid .card p { margin:0; }

/* ── REDESIGN: real photos in the body ── */
.media-split { display:grid; grid-template-columns:1.05fr 1fr; gap:2.6rem; align-items:center; }
.media-split img { width:100%; height:100%; min-height:340px; max-height:480px; object-fit:cover; border-radius:16px; border:1px solid var(--glass-bdr); }
.media-split.flip .media-txt { order:-1; }
@media (max-width:860px){ .media-split { grid-template-columns:1fr; gap:1.4rem; } .media-split img { min-height:230px; max-height:300px; } .media-split.flip .media-txt { order:0; } }
.split-list { list-style:none; display:grid; gap:.65rem; margin:0; padding:0; }
.split-list li { position:relative; padding-left:1.45rem; color:var(--text); font-size:.96rem; line-height:1.55; }
.split-list li::before { content:'\203A'; position:absolute; left:0; top:-1px; color:var(--blue); font-weight:800; font-size:1.05rem; }
.split-list strong { color:var(--off); font-weight:700; }
.photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1rem; margin-top:2rem; }
.photo-grid figure { margin:0; border-radius:14px; overflow:hidden; border:1px solid var(--glass-bdr); position:relative; }
.photo-grid img { width:100%; height:250px; object-fit:cover; transition:transform .55s ease; display:block; }
.photo-grid figure:hover img { transform:scale(1.06); }
.photo-grid figcaption { position:absolute; left:0; right:0; bottom:0; padding:.7rem .85rem; font-size:.78rem; font-weight:600; color:#fff; background:linear-gradient(to top, rgba(3,4,7,.85), transparent); }

/* ── REDESIGN: editorial hero (bold photo + cinematic wash) ── */
.page-hero.hero-editorial { min-height:80vh; display:flex; align-items:center; padding-top:clamp(4rem,8vw,7rem); padding-bottom:clamp(4rem,8vw,7rem); }
.page-hero.hero-editorial.with-img::before { opacity:1; background-position:80% center; }
.page-hero.hero-editorial::after { background:linear-gradient(90deg, rgba(3,4,7,.95) 0%, rgba(3,4,7,.82) 32%, rgba(3,4,7,.45) 62%, rgba(3,4,7,.28) 100%), linear-gradient(0deg, rgba(3,4,7,.6) 0%, transparent 42%); }
@media (max-width:860px){ .page-hero.hero-editorial { min-height:68vh; } .page-hero.hero-editorial.with-img::before { background-position:68% center; } .page-hero.hero-editorial::after { background:linear-gradient(0deg, rgba(3,4,7,.93) 4%, rgba(3,4,7,.62) 48%, rgba(3,4,7,.4) 100%); } }

/* ── GRAIN ── */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1500;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── SCROLL PROGRESS ── */
.scroll-progress { display: none; }

/* ════════ HEADER / NAV ════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5,7,12,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-bdr);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0.7rem clamp(18px, 4vw, 48px);
}
.nav-brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav-brand img { height: clamp(48px, 5.5vw, 58px); width: auto; filter: invert(1) hue-rotate(180deg); transition: transform 0.25s; }
.nav-brand:hover img { transform: scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; text-decoration: none; color: var(--off);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.6rem 0.85rem; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); background: var(--blue-dim); }
.nav-links .has-caret > a::after { content: ' \25BE'; font-size: 0.7em; color: var(--mid); }

/* dropdown */
.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: rgba(8,11,18,0.97); border: 1px solid var(--glass-bdr); border-radius: 12px;
  padding: 0.5rem; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55); z-index: 50;
}
.nav-links li:hover .nav-drop, .nav-links li:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { font-weight: 500; font-size: 0.85rem; padding: 0.55rem 0.7rem; }

.nav-cta {
  font-family: 'Bebas Neue', sans-serif !important; font-size: 1.02rem !important; letter-spacing: 0.12em;
  color: var(--void) !important; background: var(--blue);
  padding: 0.55rem 1.3rem !important; border-radius: 7px;
  box-shadow: 0 0 22px var(--blue-glow); transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--blue) !important; color: var(--void) !important; box-shadow: 0 0 34px var(--blue-glow); }
.nav-phone { color: var(--off); text-decoration: none; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.nav-phone:hover { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 1px solid var(--glass-bdr); border-radius: 8px; width: 44px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--off); transition: 0.25s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(5,7,12,0.98); border-bottom: 1px solid var(--glass-bdr);
    padding: 0.8rem clamp(18px,4vw,48px) 1.4rem; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease; padding-top: 0; padding-bottom: 0;
  }
  .nav.open .nav-links { max-height: 90vh; overflow-y: auto; padding-top: 0.8rem; padding-bottom: 1.4rem; }
  .nav-links a { padding: 0.8rem 0.6rem; font-size: 0.95rem; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.02); margin: 2px 0 6px; }
  .has-caret > a::after { content: ''; }
  .nav-mobile-only { display: block; }
}
.nav-mobile-only { display: none; }

/* ════════ GENERIC SECTION ════════ */
.section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) clamp(20px, 4vw, 56px); }
.section.tight { padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(2.5rem,5vw,4rem); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-inner.narrow { max-width: 820px; }
.bg-deep { background: var(--deep); border-top: 1px solid var(--glass-bdr); border-bottom: 1px solid var(--glass-bdr); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 34px; height: 1px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.stitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.98; letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
.stitle .a { color: var(--blue); text-shadow: 0 0 34px var(--blue-glow); }
.slead { color: var(--text); font-size: 1.05rem; line-height: 1.75; max-width: 640px; margin-bottom: 2rem; }
.center-block { text-align: center; max-width: 760px; margin: 0 auto 2.8rem; }
.center-block .slead { margin-left: auto; margin-right: auto; }
.balt { color: var(--blue); font-weight: 600; }

/* ════════ BUTTONS ════════ */
.btn-primary {
  display: inline-block; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.12em;
  color: var(--void); background: var(--blue); text-decoration: none;
  padding: 15px 36px; border-radius: 8px; position: relative; overflow: hidden;
  box-shadow: 0 0 32px var(--blue-glow); transition: transform 0.25s, box-shadow 0.25s; border: none; cursor: pointer;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -80%; } 100% { left: 160%; } }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 48px var(--blue-glow); }
.btn-ghost {
  display: inline-block; font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.12em;
  color: var(--white); text-decoration: none; padding: 15px 36px; border-radius: 8px;
  border: 1px solid var(--glass-bdr); background: var(--glass); backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s;
}
.btn-ghost:hover { border-color: var(--blue-bdr); transform: translateY(-3px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ════════ PAGE HERO (interior pages) ════════ */
.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem,7vw,6rem) clamp(20px,4vw,56px) clamp(3rem,6vw,5rem); background: var(--void); border-bottom: 1px solid var(--glass-bdr); }
.page-hero.with-img::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.32;
  background-size: cover; background-position: center; background-image: var(--hero-img);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60vw 60vw at 80% -10%, rgba(0,173,238,0.16), transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 0.94; letter-spacing: 0.01em; margin-bottom: 1.2rem; max-width: 16ch;
}
.page-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--blue) 20%, #8fe2ff 50%, var(--blue) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: textshine 5s linear infinite; }
@keyframes textshine { to { background-position: -200% 0; } }
.page-hero .lead { color: var(--off); font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.75; max-width: 620px; margin-bottom: 1.8rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.4rem;
  padding: 7px 16px; border: 1px solid var(--blue-bdr); border-radius: 100px; background: var(--blue-dim);
}
.hero-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-rating { display: flex; align-items: center; gap: 12px; color: var(--mid); font-size: 0.9rem; margin-top: 1.4rem; flex-wrap: wrap; }
.hero-stars { color: var(--gold); letter-spacing: 3px; text-shadow: 0 0 14px rgba(255,201,77,0.5); }

/* ════════ BREADCRUMBS ════════ */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 1rem clamp(20px,4vw,56px) 0; font-size: 0.8rem; color: var(--mid); }
.breadcrumb a { color: var(--text); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 0.4rem; color: var(--mid); }

/* ════════ PROSE (pillar / blog body) ════════ */
.prose { color: var(--text); font-size: 1.02rem; line-height: 1.85; max-width: 760px; }
.prose.wide { max-width: 100%; }
.prose h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.9rem,3.5vw,2.7rem); letter-spacing: 0.02em; color: var(--white); margin: 2.6rem 0 1rem; line-height: 1.05; }
.prose h2 .a { color: var(--blue); }
.prose h3 { font-size: 1.2rem; color: var(--off); margin: 1.8rem 0 0.7rem; font-weight: 700; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.2rem; display: grid; gap: 0.5rem; }
.prose li { padding-left: 0.3rem; }
.prose strong { color: var(--off); }
.prose a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-bdr); }
.prose a:hover { border-color: var(--blue); }
.prose .lead-p { font-size: 1.12rem; color: var(--off); line-height: 1.8; }
/* inline body photos woven through the reading column */
.prose .inline-fig { margin: 1.9rem 0 2.1rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-bdr); position: relative; }
.prose .inline-fig img { width: 100%; height: clamp(260px,34vw,400px); object-fit: cover; display: block; transition: transform .55s ease; }
.prose .inline-fig:hover img { transform: scale(1.05); }
.prose .inline-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem 1rem; font-size: .82rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(3,4,7,.9), transparent); }
.prose .inline-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.9rem 0 2.1rem; }
.prose .inline-duo figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--glass-bdr); position: relative; }
.prose .inline-duo img { width: 100%; height: clamp(210px,24vw,290px); object-fit: cover; display: block; transition: transform .55s ease; }
.prose .inline-duo figure:hover img { transform: scale(1.05); }
.prose .inline-duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; font-size: .75rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(3,4,7,.9), transparent); }
@media (max-width: 540px){ .prose .inline-duo { grid-template-columns: 1fr; } }

/* ── PORTFOLIO-FORWARD photo moments (full-width bands, NO caption labels) ── */
/* showcase pair: two tall shots side-by-side as one cinematic moment */
.showcase-pair { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin-top:2rem; }
.showcase-pair figure { margin:0; border-radius:16px; overflow:hidden; border:1px solid var(--glass-bdr); position:relative; box-shadow:0 24px 60px rgba(0,0,0,.45); }
.showcase-pair img { width:100%; height:clamp(360px,46vw,560px); object-fit:cover; display:block; transition:transform .6s ease; }
.showcase-pair figure:hover img { transform:scale(1.05); }
@media (max-width:860px){ .showcase-pair { grid-template-columns:1fr; gap:1rem; } .showcase-pair img { height:clamp(280px,70vw,420px); } }
@media (max-width:540px){ .showcase-pair img { height:300px; } }

/* portfolio 2x2: tight gallery block of finished work, no overlays */
.portfolio-2x2 { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; margin-top:2rem; }
.portfolio-2x2 figure { margin:0; border-radius:14px; overflow:hidden; border:1px solid var(--glass-bdr); position:relative; }
.portfolio-2x2 img { width:100%; height:clamp(220px,26vw,320px); object-fit:cover; display:block; transition:transform .55s ease; }
.portfolio-2x2 figure:hover img { transform:scale(1.06); }
@media (max-width:540px){ .portfolio-2x2 { grid-template-columns:1fr; gap:.9rem; } .portfolio-2x2 img { height:240px; } }

/* layout: content + sticky form */
.layout-split { display: grid; grid-template-columns: 1fr 400px; gap: clamp(2rem,4vw,3.5rem); align-items: start; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 980px) { .layout-split { grid-template-columns: 1fr; } }
.aside-sticky { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
@media (max-width: 980px) { .aside-sticky { position: static; } }

/* ════════ FORM CARD ════════ */
.form-card {
  background: rgba(9,12,20,0.9); border: 1px solid var(--glass-bdr); border-radius: 18px;
  padding: 1.4rem 1.4rem 0.4rem; backdrop-filter: blur(16px); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.form-card .form-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem; display: block; }
.form-card iframe { display: block; width: 100%; border: none; border-radius: 0 0 12px 12px; min-height: 560px; }
.form-card.glow { position: relative; padding: 2px; background: conic-gradient(from var(--ang,0deg), transparent 0%, var(--blue) 12%, transparent 28%, transparent 60%, rgba(0,173,238,0.6) 72%, transparent 86%); animation: spinbdr 6s linear infinite; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinbdr { to { --ang: 360deg; } }
.form-card.glow > .form-card-in { background: rgba(9,12,20,0.94); border-radius: 16px; padding: 1.4rem 1.4rem 0.4rem; }

.aside-box { background: var(--glass); border: 1px solid var(--glass-bdr); border-radius: 16px; padding: 1.5rem; }
.aside-box h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.aside-box ul { list-style: none; display: grid; gap: 0.6rem; }
.aside-box li { display: flex; gap: 10px; align-items: flex-start; color: var(--off); font-size: 0.9rem; line-height: 1.5; }
.aside-box li::before { content: '\2713'; color: var(--blue); font-weight: 900; flex-shrink: 0; }
.aside-box .phone-big { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--blue); text-decoration: none; letter-spacing: 0.04em; display: block; }

/* ════════ CARD GRIDS ════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--glass); border: 1px solid var(--glass-bdr); border-radius: 16px;
  padding: 1.9rem 1.6rem; transition: transform 0.3s, border-color 0.3s; text-decoration: none; color: inherit; display: block;
}
.card:hover { transform: translateY(-6px); border-color: var(--blue-bdr); }
.card .ic { font-size: 1.6rem; margin-bottom: 0.8rem; display: block; }
.svc-card .ic { color: var(--blue); line-height: 0; margin-bottom: 1rem; font-size: 0; }
.svc-card .ic svg { width: 34px; height: 34px; stroke: var(--blue); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px var(--blue-glow)); }
.card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; color: var(--white); }
.card p { color: var(--text); font-size: 0.9rem; line-height: 1.7; }
.card .more { color: var(--blue); font-size: 0.82rem; font-weight: 700; margin-top: 0.9rem; display: inline-block; }
a.card:hover .more { text-decoration: underline; }

/* service card with accent strip */
.svc-card { position: relative; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.svc-card:hover::after { transform: scaleX(1); }

/* ════════ TRUST BAR ════════ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem,4vw,3rem) clamp(20px,4vw,56px); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
.trust-cell { text-align: center; }
.trust-val { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem,4vw,3.2rem); line-height: 1; margin-bottom: 0.4rem; }
.trust-val .a { color: var(--blue); text-shadow: 0 0 26px var(--blue-glow); }
.trust-lbl { color: var(--mid); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ════════ STEPS ════════ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--glass-bdr); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2.4rem 1.7rem 1.9rem; border-right: 1px solid var(--glass-bdr); border-bottom: 1px solid var(--glass-bdr); overflow: hidden; }
@media (max-width: 900px) { .step:nth-child(2n) { border-right: none; } }
@media (max-width: 500px) { .step { border-right: none; } }
.step-ghost { position: absolute; top: -14px; right: -4px; font-family: 'Bebas Neue', sans-serif; font-size: 8rem; line-height: 1; color: rgba(0,173,238,0.05); pointer-events: none; }
.step-label { font-family: 'Bebas Neue', sans-serif; font-size: 0.72rem; letter-spacing: 0.28em; color: var(--blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.step-label::after { content: ''; flex: 1; height: 1px; background: var(--glass-bdr); }
.step-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: 0.06em; margin-bottom: 0.55rem; }
.step-desc { color: var(--text); font-size: 0.88rem; line-height: 1.7; }

/* ════════ PACKAGES ════════ */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; gap: 1rem; } }
.pkg-card { background: rgba(9,12,20,0.85); border: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.25s; }
.pkg-card:hover { border-color: var(--blue-bdr); }
.pkg-card.featured { border-color: var(--blue-bdr); background: rgba(0,173,238,0.06); }
.pkg-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(0,173,238,0.35); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.pkg-card.featured::after { background: var(--blue); transform: scaleX(1); }
.pkg-card:hover::after { transform: scaleX(1); }
.pkg-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: 22px; right: -30px; background: var(--blue); color: var(--void); font-size: 0.5rem; font-weight: 900; letter-spacing: 0.15em; padding: 4px 38px; transform: rotate(45deg); z-index: 2; line-height: 1; }
.pkg-head { padding: 14px 24px; font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: 0.2em; line-height: 1; }
.pkg-grid .pkg-card:nth-child(1) .pkg-head { background: #6b3612; color: #f5c89a; }
.pkg-card.featured .pkg-head { background: #3a3a3a; color: #e8e8e8; }
.pkg-grid .pkg-card:nth-child(3) .pkg-head { background: #5a4200; color: #f5d87a; }
.pkg-price { padding: 1rem 1.6rem 0; }
.pkg-price .amt { font-family: 'Bebas Neue', sans-serif; font-size: 2.3rem; color: var(--white); line-height: 1; }
.pkg-price .from { font-size: 0.7rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.18em; display: block; margin-bottom: 0.2rem; }
.pkg-price .per { font-size: 0.78rem; color: var(--mid); }
.pkg-body { padding: 1.2rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pkg-tag { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(0,173,238,0.4); margin-bottom: 1.1rem; }
.pkg-card.featured .pkg-tag { color: rgba(0,173,238,0.7); }
.pkg-list { list-style: none; margin: 0 0 1.4rem 0; padding: 0; flex: 1; }
.pkg-list li { font-size: 0.82rem; color: rgba(255,255,255,0.45); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 10px; line-height: 1.4; }
.pkg-list li:last-child { border-bottom: none; }
.pkg-icon { font-family: Arial, sans-serif; font-size: 0.78rem; font-weight: 800; flex-shrink: 0; width: 14px; text-align: center; }
.pkg-list li.inc { color: rgba(255,255,255,0.8); }
.pkg-list li.exc { color: rgba(255,255,255,0.22); }
.pkg-grid .pkg-card:nth-child(1) .pkg-list li.inc .pkg-icon { color: #f5c89a; }
.pkg-card.featured .pkg-list li.inc .pkg-icon { color: var(--blue); }
.pkg-grid .pkg-card:nth-child(3) .pkg-list li.inc .pkg-icon { color: #f5d87a; }
.pkg-list li.exc .pkg-icon { color: rgba(255,255,255,0.2); }
.pkg-cta { display: block; text-align: center; text-decoration: none; padding: 13px; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; border: 1px solid rgba(0,173,238,0.2); color: rgba(0,173,238,0.55); background: transparent; transition: all 0.2s; }
.pkg-cta:hover { background: rgba(0,173,238,0.08); border-color: var(--blue); color: var(--blue); }
.pkg-card.featured .pkg-cta { background: var(--blue); border-color: var(--blue); color: var(--void); font-weight: 900; }
.pkg-card.featured .pkg-cta:hover { background: #fff; border-color: #fff; color: var(--void); }
.pkg-note { text-align: center; color: var(--mid); font-size: 0.82rem; line-height: 1.7; max-width: 660px; margin: 1.6rem auto 0; padding: 1rem 1.4rem; border: 1px dashed rgba(255,255,255,0.08); }
.pkg-note strong { color: var(--blue); }

/* ════════ COMPARISON TABLE ════════ */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; overflow: hidden; border-radius: 14px; border: 1px solid var(--glass-bdr); }
.cmp-table th, .cmp-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--glass-bdr); }
.cmp-table thead th { background: var(--panel); font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.08em; font-size: 1rem; color: var(--white); }
.cmp-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.cmp-table td.yes { color: var(--blue); font-weight: 700; }
.cmp-table td.no { color: var(--mid); }
.cmp-wrap { overflow-x: auto; }

/* price table */
.price-table { width: 100%; border-collapse: collapse; border: 1px solid var(--glass-bdr); border-radius: 14px; overflow: hidden; }
.price-table th, .price-table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--glass-bdr); text-align: left; font-size: 0.92rem; }
.price-table thead th { background: var(--panel); font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.06em; color: var(--white); }
.price-table td:last-child { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* ════════ REVIEWS ════════ */
.reviews-hd { max-width: var(--maxw); margin: 0 auto 3rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding: 0 clamp(20px,4vw,56px); flex-wrap: wrap; }
.reviews-meta { color: var(--mid); font-size: 0.9rem; line-height: 1.7; text-align: right; }
.reviews-meta strong { color: var(--blue); }
.marquee-outer { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 52s linear infinite; }
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.r-card { width: 380px; flex-shrink: 0; background: var(--glass); border: 1px solid var(--glass-bdr); border-radius: 16px; padding: 1.8rem; transition: border-color 0.3s; }
.r-card:hover { border-color: var(--blue-bdr); }
.r-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 0.9rem; text-shadow: 0 0 12px rgba(255,201,77,0.4); }
.r-text { color: var(--off); font-size: 0.93rem; line-height: 1.75; margin-bottom: 1.1rem; }
.r-author { color: var(--mid); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
/* static review grid (reviews page) */
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }
.review-grid .r-card { width: auto; }

/* ════════ FAQ ════════ */
.faq-list { display: grid; gap: 0.9rem; }
.faq-list details { background: var(--glass); border: 1px solid var(--glass-bdr); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.faq-list details[open] { border-color: var(--blue-bdr); box-shadow: 0 0 30px rgba(0,173,238,0.08); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1rem; color: var(--off); }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--blue-dim); border: 1px solid var(--blue-bdr); color: var(--blue); font-weight: 400; font-size: 1.15rem; transition: transform 0.3s; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.6rem 1.4rem; color: var(--text); font-size: 0.93rem; line-height: 1.75; }

/* ════════ AREAS ════════ */
.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 940px; margin: 0 auto; }
.area-chip { font-size: 0.85rem; font-weight: 600; color: var(--off); padding: 10px 18px; border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-bdr); transition: border-color 0.25s, color 0.25s, transform 0.25s; text-decoration: none; }
.area-chip:hover { border-color: var(--blue-bdr); color: var(--blue); transform: translateY(-2px); }

/* location link cards */
.loc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--glass); border: 1px solid var(--glass-bdr); border-radius: 12px; text-decoration: none; color: var(--off); transition: 0.25s; }
.loc-link:hover { border-color: var(--blue-bdr); color: var(--blue); transform: translateX(4px); }
.loc-link .nm { font-weight: 700; }
.loc-link .ar { color: var(--mid); font-size: 0.78rem; }
.loc-link:hover .ar { color: var(--blue); }
.loc-badge { display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: var(--blue-dim); border: 1px solid var(--blue-bdr); padding: 2px 8px; border-radius: 100px; }

/* ════════ SHOWCASE / CTA BAND ════════ */
.showcase { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; background: var(--deep); }
.showcase.with-img { background: url('/images/photos/amg-gt-black-shop-detail.jpg') center 55% / cover no-repeat; }
.showcase::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,4,7,0.92) 0%, rgba(3,4,7,0.5) 50%, rgba(3,4,7,0.92) 100%); }
.showcase-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem,7vw,5.5rem) clamp(20px,4vw,56px); text-align: center; }
.showcase .stitle { font-size: clamp(2.4rem,6vw,4.6rem); text-shadow: 0 4px 30px rgba(0,0,0,0.8); }
.showcase-sub { color: var(--off); font-size: 1.05rem; line-height: 1.75; max-width: 600px; margin: 0 auto 2rem; text-shadow: 0 2px 16px rgba(0,0,0,0.9); }

/* ════════ QUOTE SECTION ════════ */
.quote-sec { background: var(--deep); border-top: 1px solid var(--glass-bdr); overflow: hidden; position: relative; }
.quote-sec::before { content: ''; position: absolute; top: -30%; right: -10%; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(0,173,238,0.12), transparent 65%); filter: blur(60px); pointer-events: none; }
.quote-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem,5vw,5rem); align-items: start; position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-perks { display: grid; gap: 1.3rem; margin-top: 2.2rem; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk-body { display: grid; gap: 3px; }
.perk-body strong { font-size: 0.96rem; }
.perk-body span { color: var(--text); font-size: 0.86rem; line-height: 1.6; }
.perk::before { content: '\2713'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-dim); border: 1px solid var(--blue-bdr); color: var(--blue); font-weight: 900; font-size: 0.8rem; }
.quote-form-frame { background: rgba(9,12,20,0.85); border: 1px solid var(--glass-bdr); border-radius: 18px; padding: 0.5rem; backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.quote-form-frame iframe { width: 100%; min-height: 820px; border: none; border-radius: 14px; display: block; }

/* ════════ FOOTER ════════ */
.footer { border-top: 1px solid var(--glass-bdr); padding: 3.5rem clamp(20px,4vw,56px) 6rem; background: var(--void); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; width: auto; filter: invert(1) hue-rotate(180deg); margin-bottom: 1rem; }
.footer-brand p { color: var(--text); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-brand .stars { color: var(--gold); letter-spacing: 2px; margin-top: 0.8rem; }
.footer-col h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--glass-bdr); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer-bottom .phone { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--blue); text-decoration: none; letter-spacing: 0.04em; }
.footer-copy { color: var(--mid); font-size: 0.78rem; }

/* ════════ MOBILE FLOAT ════════ */
.mobile-float { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; display: none; grid-template-columns: 1fr 1fr; background: var(--blue); box-shadow: 0 -8px 30px rgba(0,173,238,0.35); }
.mobile-float a { display: block; text-align: center; padding: 15px 8px; font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--void); text-decoration: none; }
.mobile-float a + a { border-left: 1px solid rgba(3,4,7,0.25); }
@media (max-width: 760px) { .mobile-float { display: grid; } body { padding-bottom: 54px; } }

/* ════════ TICKER ════════ */
.ticker-wrap { position: relative; z-index: 10; border-top: 1px solid var(--glass-bdr); border-bottom: 1px solid var(--glass-bdr); background: var(--deep); overflow: hidden; padding: 16px 0; }
.ticker { display: flex; gap: 3.5rem; width: max-content; animation: tick 32s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker span { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.2em; color: var(--mid); white-space: nowrap; display: flex; align-items: center; gap: 3.5rem; }
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }

/* ════════ CALLOUT ════════ */
.callout { background: var(--blue-dim); border: 1px solid var(--blue-bdr); border-radius: 14px; padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.callout strong { color: var(--blue); }
.callout.local { border-style: dashed; }

/* ════════ REVEAL ════════ */
.fi { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.8,0.2,1); }
.fi.d1 { transition-delay: 0.08s; } .fi.d2 { transition-delay: 0.16s; }
.fi.d3 { transition-delay: 0.24s; } .fi.d4 { transition-delay: 0.32s; } .fi.d5 { transition-delay: 0.40s; }
.fi.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fi { opacity: 1; transform: none; }
}

/* utility */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--glass-bdr); margin: 2rem 0; border: none; }

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE HERO SPLIT (was an inline grid that didn't stack on mobile)
   ════════════════════════════════════════════════════════════════ */
.hero-home { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .hero-home { grid-template-columns: 1fr; gap: 2rem; } }

/* keep the site chrome above the grain overlay (z-index 1500) on mobile */
.site-header { z-index: 1600; }
.mobile-float { z-index: 1600; }

/* GHL form iframes: provide a sane floor; GHL's form_embed.js auto-resizes to content */
.quote-form-frame iframe { min-height: 640px; }

/* horizontal scroll hint on data tables */
.cmp-wrap { position: relative; }
@media (max-width: 640px) {
  .cmp-wrap::after { content: ''; position: absolute; top: 0; right: 0; width: 26px; height: 100%; background: linear-gradient(90deg, transparent, var(--void)); pointer-events: none; }
}

/* ════════════════════════════════════════════════════════════════
   PHONE OPTIMIZATION  ≤480px  (tap targets ≥44px, fluid type, spacing)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* "Get Quote" sits next to the hamburger — give it a 44px touch height */
  .nav-cta { padding: 0.72rem 1.1rem !important; min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 760px) {
  /* notch-safe bottom bar + clearance so it never covers footer/content */
  .mobile-float { min-height: 56px; }
  .mobile-float a { padding-bottom: calc(15px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 2.5rem; }
  .reviews-hd { padding-left: 20px; padding-right: 20px; }
  .reviews-meta { text-align: left; }
}

@media (max-width: 480px) {
  /* tighter vertical rhythm — sections waste ~128px otherwise */
  .section { padding-top: clamp(2.6rem, 9vw, 3.4rem); padding-bottom: clamp(2.6rem, 9vw, 3.4rem); }
  .section.tight { padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .page-hero { padding-top: 2.6rem; padding-bottom: 2.4rem; }

  /* headlines: cap size + allow long words to wrap */
  .page-hero h1 { font-size: 2.2rem; line-height: 1.02; overflow-wrap: anywhere; }
  .stitle { line-height: 1.04; }
  .step-ghost { font-size: 5rem; }

  /* CTAs stack full-width, easier to tap */
  .btn-row { flex-direction: column; }
  .btn-row .btn-primary, .btn-row .btn-ghost { width: 100%; text-align: center; }
  .nav-cta { font-size: 0.95rem !important; }

  /* tap targets ≥44px */
  .area-chip { padding: 13px 18px; font-size: 0.9rem; display: inline-block; margin: 3px; }
  .areas-grid { gap: 0.6rem; }
  .loc-link { flex-wrap: wrap; row-gap: 4px; }
  .aside-box li a { display: block; padding: 9px 4px; min-height: 40px; line-height: 1.3; }
  .footer-col a { display: inline-block; padding: 12px 0; }
  .footer-col ul { gap: 0.25rem; }
  .footer-bottom a { display: inline-block; padding: 9px 0; }
  .pkg-cta { padding: 16px 13px; font-size: 0.72rem; }
  .pkg-note { font-size: 0.86rem; }
  .pkg-note a { display: inline-block; padding: 4px 2px; }

  /* data tables: shrink to fit 360px, key first column kept legible */
  .cmp-table { font-size: 0.78rem; }
  .cmp-table th, .cmp-table td { padding: 0.6rem 0.34rem; }
  .cmp-table thead th { font-size: 0.82rem; letter-spacing: 0.02em; }
  .cmp-table th:first-child, .cmp-table td:first-child { min-width: 98px; }
  .cmp-table th:not(:first-child), .cmp-table td:not(:first-child) { text-align: center; }
  .cmp-table th:last-child, .cmp-table td:last-child { padding-right: 0.5rem; }
  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 0.65rem 0.6rem; }
  .price-table thead th { font-size: 0.9rem; }

  /* reviews marquee cards must fit the screen */
  .marquee-track .r-card { width: 84vw; max-width: 340px; padding: 1.4rem; }
  .hero-rating { font-size: 1rem; }
  .hero-stars { font-size: 1.3rem; }
}

@media (max-width: 380px) {
  .nav { gap: 0.8rem; padding-left: 14px; padding-right: 14px; }
}

/* prose reviews never inherit the marquee's fixed 380px width */
.prose .r-card { width: auto; }

/* ════════ Home brand hero (editorial, full-bleed) ════════ */
.home-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--void); border-bottom: 1px solid var(--glass-bdr); }
.home-hero::before { content:''; position:absolute; inset:0; z-index:0; background-image: var(--hero-img); background-size: cover; background-position: center 38%; }
.home-hero::after { content:''; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(3,4,7,0.74) 0%, rgba(3,4,7,0.40) 38%, rgba(3,4,7,0.66) 72%, rgba(3,4,7,0.96) 100%); }
.home-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem,7vw,5.5rem) clamp(20px,4vw,56px) clamp(3.2rem,7vw,6rem); }
.home-hero .hero-kicker { margin-bottom: 1.1rem; }
.home-hero-h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(3rem, 8.5vw, 6.6rem); line-height: 0.92; letter-spacing: 0.01em; margin: 0 0 1.1rem; max-width: 20ch; text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.home-hero-h1 em { font-style: normal; color: var(--blue); text-shadow: 0 0 44px var(--blue-glow); }
.home-hero-sub { color: var(--off); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; max-width: 620px; margin: 0 0 2rem; text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.home-hero .btn-row { margin-bottom: 1.8rem; }
.home-hero .hero-rating { color: var(--off); }
.hero-scroll { position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); z-index: 3; color: var(--blue); font-size: 1.5rem; line-height: 1; text-decoration: none; opacity: 0.75; animation: heroBounce 2.2s ease-in-out infinite; }
@keyframes heroBounce { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(7px);} }
@media (max-width: 760px){ .home-hero { min-height: 86vh; } .home-hero::after { background: linear-gradient(180deg, rgba(3,4,7,0.64) 0%, rgba(3,4,7,0.42) 34%, rgba(3,4,7,0.93) 100%);} .hero-scroll { display:none; } }

/* ════════════════════════════════════════════════════════════════
   MODERNIZED DARK REFRESH · sitewide rollout (2026-06-21)
   Additive override layer that aligns every interior page with the
   new dark home: pill gradient CTAs, live scroll-progress bar, and
   richer card surfaces. VISUAL ONLY — no markup/SEO touched.
   To revert the whole rollout: delete this block.
   ════════════════════════════════════════════════════════════════ */
:root { --blue-bright: #4cd2ff; --blue-deep: #0090c8; }

/* — pill gradient buttons (match the new home) — */
.btn-primary {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 0.98rem; letter-spacing: 0;
  border-radius: 999px; padding: 15px 34px;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  color: #02121d; box-shadow: 0 14px 38px -10px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 28px 2px var(--blue-glow), 0 22px 50px -12px var(--blue-glow); }
.btn-ghost { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0; border-radius: 999px; }

.nav-cta {
  font-family: 'Inter', sans-serif !important; font-weight: 800 !important; font-size: 0.9rem !important;
  letter-spacing: 0 !important; border-radius: 999px !important;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)) !important;
  color: #02121d !important; box-shadow: 0 10px 26px -10px var(--blue-glow);
}
.nav-cta:hover { transform: translateY(-2px); background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)) !important; color: #02121d !important; box-shadow: 0 16px 34px -10px var(--blue-glow); }

.mobile-float { background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); }
.mobile-float a { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: 0.03em; color: #02121d; }

.pkg-cta { border-radius: 999px; }
.pkg-card.featured .pkg-cta { background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); border-color: transparent; color: #02121d; }
.pkg-card.featured .pkg-cta:hover { background: #fff; color: var(--void); }

/* — live scroll-progress bar (was display:none) — */
.scroll-progress {
  display: block !important; position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 12px var(--blue-glow); transition: width 0.1s linear;
}

/* — richer card surfaces + glow lift — */
.card, .svc-card { background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); }
.card:hover, .svc-card:hover { box-shadow: 0 28px 60px -30px var(--blue-glow); }
.loc-link:hover, .area-chip:hover, .r-card:hover { box-shadow: 0 20px 44px -26px var(--blue-glow); }
.pkg-card.featured { box-shadow: 0 0 0 1px var(--blue-bdr), 0 30px 70px -34px var(--blue-glow); }

@media (prefers-reduced-motion: reduce) { .btn-primary:hover, .nav-cta:hover { transform: none; } }

/* — header: align the shared interior header to the home header — */
/* match the home logo size */
.nav-brand img { height: 42px; }
/* desktop: links sit beside the logo, phone + CTA pushed right (home layout) */
@media (min-width: 1025px) {
  .nav-brand { margin-right: 0; }
  .nav-links { margin-left: 1.6rem; gap: 0.55rem; }
  .nav-phone { margin-left: auto; }
}
/* keep footer logo proportional to the new header logo */
.footer-brand img { height: 46px; }

/* — see-through header floating over the hero photo (match the home) — */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1600;
  /* subtle top scrim keeps the nav legible over light hero photos while staying see-through */
  background: linear-gradient(180deg, rgba(3,4,7,.6), rgba(3,4,7,0) 92%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(5,7,12,.88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--glass-bdr);
}
/* legibility insurance for the transparent state over bright photos
   (the logo keeps its invert/hue-rotate color filter — only the hamburger bars get a shadow) */
.site-header:not(.scrolled) .nav-toggle span { filter: drop-shadow(0 1px 5px rgba(0,0,0,.55)); }
/* logo must never be flex-squished — keep its natural aspect at every width */
.nav-brand img { flex-shrink: 0; }
/* hamburger hit area >= 44px */
.nav-toggle { height: 44px; }
/* breadcrumb sub-nav hidden sitewide per design — kept in the DOM + BreadcrumbList JSON-LD for SEO/rich results, just not displayed */
.breadcrumb { display: none; }
/* hero content clears the fixed see-through header */
.page-hero, .page-hero.hero-editorial { padding-top: clamp(6rem, 8vw, 7.5rem); }
/* keep the open mobile menu fully scrollable beneath the fixed header */
.nav.open .nav-links { max-height: calc(100vh - 64px); }
@media (max-width: 480px) {
  .page-hero, .page-hero.hero-editorial { padding-top: 5.5rem; }
  html { scroll-padding-top: 72px; }
  /* tap targets >= 44px */
  .aside-box li a { min-height: 44px; padding: 11px 4px; }
  .area-chip { padding: 14px 20px; }
  .card p a, .perk-body span a { display: inline-block; padding: 7px 0; }
  .phone-big { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 0; }
  /* keep the price column on-screen + lift excluded-row contrast */
  .price-table td:last-child { white-space: normal; }
  .pkg-list li.exc { color: rgba(255,255,255,.42); }
}

/* ── MOBILE READABILITY (2026-06-23) — phone-friendly text sizing ── */
@media (max-width: 600px) {
  .page-hero h1 { line-height: 1.07; }
  /* media-split H2s were ~38px (bigger than the H1) — bring them to a phone scale */
  .media-split .stitle { font-size: clamp(1.5rem, 7vw, 1.95rem); line-height: 1.1; }
  .media-split .slead { font-size: 1rem; line-height: 1.7; }
  .split-list li { font-size: 1rem; line-height: 1.55; }
  .faq-q { font-size: 1rem; line-height: 1.4; }
  .faq-a { font-size: 1rem; line-height: 1.62; }
}


/* === ROLLOUT MOBILE POLISH 2026-06-23 === */
@media (max-width:600px){ .photo-grid{ grid-template-columns:1fr 1fr; gap:.7rem; } }
@media (max-width:760px){ .trust-val{ font-size:clamp(1.6rem,7vw,2.4rem); overflow-wrap:anywhere; } }
.phone-big{ font-family:'Bebas Neue',sans-serif; font-size:clamp(1.9rem,8vw,2.4rem); line-height:1; color:var(--blue); text-decoration:none; letter-spacing:1px; display:inline-block; }
@media (max-width:480px){
  .faq-a a, .split-list a, .pkg-note a, .perk-body span a, .media-txt p a{ display:inline-block; padding:6px 0; line-height:1.35; }
  .card p a{ display:block; min-height:44px; padding:10px 0; line-height:1.3; }
  .media-split .form-card #hero-form{ min-height:600px; }
}
