/* ==========================================================================
   Bellwether Agency  |  styles.css
   Palette from the brand inventory: aqua #98CCC9, ink #111519,
   light #F6F6F6, slate #9DA1AD, blue #1870BD.
   Fonts: Play (headings, CTAs), Mulish (body).
   ========================================================================== */

:root {
  --aqua: #98CCC9;
  --aqua-deep: #5FA9A5;
  --ink: #111519;
  --ink-2: #1B2128;
  --ink-3: #262E37;
  --light: #F6F6F6;
  --slate: #9DA1AD;
  --slate-light: #E4E6EA;
  --blue: #1870BD;
  --blue-deep: #125A99;
  --white: #FFFFFF;
  --text: #1C2127;
  --muted: #5B6470;

  --font-head: "Play", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(17, 21, 25, 0.18);
  --shadow-soft: 0 10px 30px rgba(17, 21, 25, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2rem); }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: 0.9rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--aqua); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-dark .lede { color: #C5CBD3; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.fine { font-size: 0.8rem; color: var(--muted); margin: 0.9rem 0 0; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-aqua { background: var(--aqua); color: var(--ink); box-shadow: 0 10px 28px rgba(152, 204, 201, 0.35); }
.btn-aqua:hover { background: #A9D8D5; box-shadow: 0 16px 36px rgba(152, 204, 201, 0.5); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 28px rgba(24, 112, 189, 0.3); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); }
.btn-ghost-dark { color: var(--ink); border: 1.5px solid rgba(17,21,25,0.35); }
.btn-ghost-dark:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(17,21,25,0.85), rgba(17,21,25,0.0));
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(17, 21, 25, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand img { width: clamp(180px, 20vw, 250px); height: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  font-family: var(--font-head); font-size: 0.9rem; color: #D9DEE5;
  position: relative; padding: 0.3rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--aqua); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { color: var(--aqua) !important; font-weight: 700; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(120% 90% at 20% 10%, #1D2730 0%, var(--ink) 55%, #0B0E11 100%);
  color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
/* readability wash over the left (text) side of the 3D scene */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,21,25,0.85) 0%, rgba(17,21,25,0.55) 40%, rgba(17,21,25,0) 68%);
}
@media (max-width: 1024px) {
  .hero::before { background: linear-gradient(180deg, rgba(17,21,25,0.35) 0%, rgba(17,21,25,0.8) 45%, rgba(17,21,25,0.95) 100%); }
  .hero-scene canvas { opacity: 0.8; }
}
.hero-scene canvas { width: 100%; height: 100%; display: block; }
.hero-fallback {
  position: absolute; inset: 0; display: none;
  background:
    radial-gradient(circle at 70% 45%, rgba(152,204,201,0.35) 0%, transparent 28%),
    radial-gradient(circle at 75% 50%, rgba(24,112,189,0.25) 0%, transparent 40%);
}
.hero-scene.no-webgl canvas { display: none; }
.hero-scene.no-webgl .hero-fallback { display: block; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-glow-a { width: 520px; height: 520px; background: rgba(152,204,201,0.35); top: -120px; right: -80px; }
.hero-glow-b { width: 420px; height: 420px; background: rgba(24,112,189,0.35); bottom: -160px; left: -100px; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }

.hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem; align-items: center;
}
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem); margin: 0 0 1.4rem; line-height: 1.06;
  text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line { transform: translateY(110%); opacity: 0; animation: lineUp 1s var(--ease) forwards; }
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.28s; }
.hero-title .line:nth-child(3) { animation-delay: 0.41s; }
.hero-title .line:nth-child(4) { animation-delay: 0.54s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
.hero-title .accent {
  background: linear-gradient(90deg, var(--aqua), #C9EDEB 50%, var(--aqua));
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lineUp 1s var(--ease) forwards, shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }
.hero-sub { font-size: 1.1rem; color: #C9D0D8; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: 0.92rem; color: #AEB6BF; }
.hero-proof li { position: relative; padding-left: 1.2rem; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); }
.hero-proof strong { color: var(--white); }

.hero-card-wrap { perspective: 1200px; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.15);
  transform-style: preserve-3d; transition: transform 0.2s ease-out;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.badge { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--aqua); color: var(--ink); padding: 0.35rem 0.7rem; border-radius: 999px; }
.hero-card-time { font-size: 0.85rem; color: #AEB6BF; }
.hero-card-title { font-size: 1.35rem; margin-bottom: 1rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%23111519' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.check-list.compact li { margin-bottom: 0.4rem; }
.hero-card .btn { margin-top: 1.2rem; }
.hero-card .fine { color: #AEB6BF; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.35); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--aqua); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--aqua); color: var(--ink); overflow: hidden; padding: 0.85rem 0; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { position: relative; padding-left: 1.4rem; }
.marquee-track span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-light { background: var(--light); }
.section-slate { background: linear-gradient(180deg, #EEF0F3 0%, #E3E6EA 100%); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2 { color: var(--white); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(17,21,25,0.05);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(152,204,201,0.22); color: var(--aqua-deep); display: grid; place-items: center; margin-bottom: 1.2rem; }
.card-icon svg { width: 34px; height: 34px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(152,204,201,0.14) 0%, transparent 60%); pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; position: relative; }
.about-portrait { position: relative; perspective: 1200px; }
.portrait-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(255,255,255,0.1); transform-style: preserve-3d; transition: transform 0.2s ease-out;
  aspect-ratio: 4 / 5.2;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: relative; z-index: 1; }
.portrait-ring {
  position: absolute; left: 50%; top: 58%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); border: 2px solid rgba(152,204,201,0.5);
  box-shadow: 0 0 60px rgba(152,204,201,0.25), inset 0 0 60px rgba(152,204,201,0.12);
  animation: spinRing 30s linear infinite;
}
@keyframes spinRing { to { transform: translate(-50%, -50%) rotate(360deg); } }
.portrait-stat {
  position: absolute; right: -1rem; bottom: 2rem; background: var(--aqua); color: var(--ink);
  padding: 1rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow); z-index: 2;
}
.portrait-stat strong { display: block; font-family: var(--font-head); font-size: 1.4rem; line-height: 1; }
.portrait-stat span { font-size: 0.8rem; }
.about-copy p { color: #C5CBD3; }
.pull {
  margin: 1.5rem 0 2rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--aqua);
  background: rgba(255,255,255,0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--white); font-size: 1.08rem;
}
.pull cite { display: block; margin-top: 0.7rem; font-style: normal; font-size: 0.85rem; color: var(--aqua); font-family: var(--font-head); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.product {
  display: block; background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid rgba(17,21,25,0.06); box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.product::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(152,204,201,0.18), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--aqua); }
.product:hover::before { opacity: 1; }
.product svg { width: 44px; height: 44px; color: var(--blue); margin-bottom: 1rem; position: relative; transition: transform 0.4s var(--ease); }
.product:hover svg { transform: scale(1.1) rotate(-4deg); color: var(--aqua-deep); }
.product h3 { font-size: 1.15rem; position: relative; }
.product p { font-size: 0.95rem; color: var(--muted); margin: 0; position: relative; }

/* ---------- Featured rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4.5rem; }
.feature:last-child { margin-bottom: 0; }
.feature-flip .feature-media { order: 2; }
.feature-media {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 5 / 4; transform-style: preserve-3d; transition: transform 0.2s ease-out; background: var(--ink);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.06); }
.feature-tag {
  position: absolute; left: 1rem; top: 1rem; background: rgba(17,21,25,0.7); color: var(--aqua);
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 999px; backdrop-filter: blur(6px); z-index: 2;
}
.feature-copy p { color: var(--muted); }
.feature-copy .btn { margin-top: 0.6rem; }

.feature-visual { display: grid; place-items: center; background: radial-gradient(120% 100% at 30% 20%, #1F2830, var(--ink) 70%); }
.visual-risk { position: relative; width: 60%; aspect-ratio: 1; display: grid; place-items: center; }
.visual-risk svg { width: 55%; position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(152,204,201,0.5)); }
.visual-risk .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(152,204,201,0.4); animation: pulseRing 4s ease-out infinite; }
.visual-risk .r2 { animation-delay: 1.3s; } .visual-risk .r3 { animation-delay: 2.6s; }
@keyframes pulseRing { 0% { transform: scale(0.55); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

.visual-claims { width: 80%; display: flex; flex-direction: column; gap: 0.8rem; }
.chat {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: var(--white);
  padding: 0.8rem 1rem; border-radius: 14px; font-size: 0.9rem; max-width: 85%; opacity: 0;
  animation: chatIn 0.7s var(--ease) forwards;
}
.chat.c1 { align-self: flex-start; animation-delay: 0.2s; }
.chat.c2 { align-self: flex-end; background: var(--aqua); color: var(--ink); border-color: transparent; animation-delay: 0.9s; }
.chat.c3 { align-self: flex-start; animation-delay: 1.6s; border-color: var(--aqua); }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

.visual-review { width: 78%; display: flex; flex-direction: column; gap: 1rem; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 0.8rem; color: #C9D0D8; font-size: 0.85rem; font-family: var(--font-head); }
.bar-row i { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--aqua), var(--blue)); width: 0; animation: grow 1.4s var(--ease) forwards; animation-delay: 0.3s; }
.bar-row:nth-child(1) i { background: linear-gradient(90deg, #E36C6C, #B84C4C); }
.bar-row:nth-child(2) i { animation-delay: 0.5s; } .bar-row:nth-child(3) i { animation-delay: 0.7s; } .bar-row:nth-child(4) i { animation-delay: 0.9s; }
@keyframes grow { to { width: var(--w); } }

/* ---------- Coverage grid ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2.5rem; }
.coverage-grid li {
  position: relative; padding: 0.7rem 0 0.7rem 1.9rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #D9DEE5; font-size: 0.98rem; transition: color 0.25s, padding-left 0.3s var(--ease);
}
.coverage-grid li::before {
  content: ""; position: absolute; left: 0; top: 0.95rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(152,204,201,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%2398CCC9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.coverage-grid li:hover { color: var(--aqua); padding-left: 2.2rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(17,21,25,0.05); position: relative;
}
.quote-mark { width: 40px; height: 40px; color: var(--aqua); margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.4rem; font-size: 1.08rem; font-style: italic; color: var(--text); }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 0.9rem; }
.testimonial figcaption strong { font-family: var(--font-head); color: var(--ink); }
.testimonial figcaption span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); border: 1px solid rgba(17,21,25,0.05); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--aqua-deep); transition: transform 0.35s var(--ease); }
.faq[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq-body a { color: var(--blue); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--aqua) 0%, #B6DEDC 60%, #CDEBE9 100%); color: var(--ink); overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(17,21,25,0.12); pointer-events: none;
}
.cta-band::before { width: 520px; height: 520px; right: -160px; top: -200px; }
.cta-band::after { width: 320px; height: 320px; left: -100px; bottom: -160px; }
.cta-band .eyebrow { color: var(--ink); opacity: 0.7; }
.cta-band .lede { color: var(--ink); opacity: 0.8; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; }
.cta-actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: stretch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: stretch; }
.contact-list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--blue); font-weight: 600; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.ci { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(152,204,201,0.22); color: var(--aqua-deep); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0E11; color: #AEB6BF; padding: 4rem 0 1.5rem; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { width: 220px; margin-bottom: 1rem; }
.footer-brand p { max-width: 40ch; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--aqua); }
.social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; font-size: 0.82rem; }
.footer-bottom a { color: var(--aqua); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,14,17,0.75); backdrop-filter: blur(8px); animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; } }
.modal-panel {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  display: grid; grid-template-columns: 300px 1fr; border-radius: 22px; overflow: hidden;
  background: var(--white); box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: popIn 0.5s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
.modal-close {
  position: absolute; right: 0.8rem; top: 0.8rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(17,21,25,0.08); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background 0.25s, transform 0.3s;
}
.modal-close:hover { background: rgba(17,21,25,0.16); transform: rotate(90deg); }
.modal-side { position: relative; background: linear-gradient(160deg, var(--aqua), #6FB5B1); display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.modal-side img { width: 100%; height: auto; object-fit: contain; object-position: bottom; margin-top: auto; }
.modal-side-text { position: absolute; left: 1.2rem; top: 1.2rem; color: var(--ink); }
.modal-side-text strong { display: block; font-family: var(--font-head); }
.modal-side-text span { font-size: 0.8rem; }
.modal-body { padding: 2.2rem; max-height: calc(100vh - 2rem); overflow: auto; }
.modal-body h2 { font-size: 1.8rem; }
.modal-lede { color: var(--muted); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
form label { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
form label em { color: #C0392B; font-style: normal; }
form input, form select, form textarea {
  font: inherit; font-size: 0.98rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-light); background: var(--light); color: var(--text); transition: border-color 0.25s, box-shadow 0.25s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--aqua-deep); box-shadow: 0 0 0 4px rgba(152,204,201,0.3); }
form input.invalid, form textarea.invalid { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { flex-direction: row !important; align-items: flex-start; gap: 0.7rem !important; font-weight: 400 !important; color: var(--muted) !important; font-size: 0.82rem !important; }
.consent input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-bottom: 1rem; }
.form-status { min-height: 1.4em; font-size: 0.88rem; margin: 0.8rem 0 0; color: #C0392B; }
.form-status.ok { color: var(--aqua-deep); }
.form-success { text-align: center; padding: 2rem 0; }
.form-success svg { width: 80px; margin: 0 auto 1rem; }
.form-success a { color: var(--blue); font-weight: 600; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card-wrap { max-width: 520px; }
  .grid-3, .product-grid, .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav .nav-phone { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }
  .btn-quote { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(17,21,25,0.97); backdrop-filter: blur(14px); padding: 0.5rem 1rem 1.5rem;
    transform: translateY(-110%); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; pointer-events: none;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.9rem 0.3rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .main-nav a::after { display: none; }
  .main-nav .nav-phone { display: block; }
  .site-header.scrolled { height: var(--header-h); }
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-flip .feature-media { order: 0; }
  .grid-2, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-side { display: none; }
  .modal-body { padding: 1.6rem 1.2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .product-grid, .coverage-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-bottom: 4rem; }
  .hero-actions .btn { width: 100%; }
  .portrait-stat { right: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
