/* ===================================================================
   JN Grease Service, Inc. — Global Stylesheet
   Theme: Navy + Gold | Inspired rebuild, multi-file static site
   =================================================================== */

:root {
  --navy-900: #0a1730;
  --navy-800: #0d1f44;
  --navy-700: #122a57;
  --navy-600: #1b3a6b;
  --gold-500: #f4a01e;
  --gold-400: #f7b13f;
  --gold-600: #d98a0c;
  --ink: #1c2433;
  --slate: #51607a;
  --muted: #8190a8;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(10, 23, 48, .07);
  --shadow-md: 0 12px 32px rgba(10, 23, 48, .12);
  --shadow-lg: 0 24px 60px rgba(10, 23, 48, .18);
  --maxw: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* Display type — Barlow Semi Condensed (fleet/signage vernacular), Inter for body */
h1, h2, h3,
.marquee-item,
.stat b, .about-stats b,
.card--media .card-body h3,
.feature-strip h4,
.site-footer h4 {
  font-family: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.005em;
}
h1 { letter-spacing: -.015em; line-height: 1.04; }
.marquee-item { font-weight: 700; letter-spacing: .03em; }
.feature-strip h4, .site-footer h4 { letter-spacing: 0; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 3.5rem); }
/* Larger headline for the home Services section (40% up) */
.section--moody .section-head h2 { font-size: clamp(2.2rem, 5.8vw, 4.5rem); }
h3 { font-size: clamp(1.4rem, 2.7vw, 2.25rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--blue-soft { background: linear-gradient(180deg, #eef5fd 0%, #e4eefa 100%); }
.section--navy { background: var(--navy-800); color: #dde6f5; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Dark, moody section */
.section--dark {
  position: relative; color: #c3d1ea; overflow: hidden;
  background:
    radial-gradient(900px 460px at 50% -12%, rgba(31,111,208,.28), transparent 60%),
    radial-gradient(700px 500px at 88% 120%, rgba(92,184,242,.12), transparent 55%),
    linear-gradient(180deg, #0a1730 0%, #070e21 100%);
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M0 43.5h44M43.5 0v44' stroke='%23ffffff' stroke-opacity='.03' stroke-width='1'/%3E%3C/svg%3E");
}
.section--dark > .container { position: relative; z-index: 1; }
/* Center the stats band on mobile only (desktop unchanged) */
@media (max-width: 760px) { .stats .stat { justify-content: center; } }
/* FAQ section: subtle parallax kitchen photo behind content */
.faq-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/kitchenstainless.jpg") center/cover no-repeat;
  background-attachment: fixed; opacity: .14;
}
@media (max-width: 760px) { .faq-photo::after { background-attachment: scroll; opacity: .1; } }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .faq-item { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); backdrop-filter: blur(2px); }
.section--dark .faq-item.open { background: rgba(92,184,242,.08); border-color: rgba(92,184,242,.35); }
.section--dark .faq-q { color: #fff; }
.section--dark .faq-q .pm { color: #5cb8f2; }
.section--dark .faq-a p { color: #aab9d4; }

/* Moody gradient section (used behind the services cards) */
.section--moody {
  position: relative; overflow: hidden;
  background:
    radial-gradient(720px 400px at 12% -5%, rgba(31,111,208,.4), transparent 55%),
    radial-gradient(820px 520px at 105% 108%, rgba(92,184,242,.18), transparent 55%),
    radial-gradient(600px 600px at 88% 20%, rgba(46,155,230,.14), transparent 60%),
    linear-gradient(160deg, #0d2350 0%, #0a1730 52%, #060d1f 100%);
}
.section--moody::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M0 45.5h46M45.5 0v46' stroke='%23ffffff' stroke-opacity='.035' stroke-width='1'/%3E%3C/svg%3E");
}
.section--moody > .container { position: relative; z-index: 1; }
/* 3D logo backdrop behind the services cards (parallax vertical) */
.svc-bg-logo { position: absolute; left: 88%; top: 50%; transform: translate(-50%, -50%); width: min(620px, 52%); z-index: 0; pointer-events: none; opacity: .16; will-change: transform; }
/* Services left-side animated scroll cue */
.svc-scroll-cue { position: absolute; left: clamp(22px, 7vw, 120px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 22px; z-index: 1; pointer-events: none; }
.svc-scroll-cue .scue-label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; font-size: .82rem; color: rgba(92,184,242,.5); }
.svc-scroll-cue .scue-line { width: 2px; height: 92px; background: linear-gradient(180deg, rgba(92,184,242,.6), transparent); }
.svc-scroll-cue .scue-chevs { display: flex; flex-direction: column; gap: 12px; }
.svc-scroll-cue .chev { width: 24px; height: 24px; border-right: 3px solid #5cb8f2; border-bottom: 3px solid #5cb8f2; transform: rotate(45deg); opacity: .18; animation: chevFlow 1.9s ease-in-out infinite; }
.svc-scroll-cue .chev:nth-child(2) { animation-delay: .24s; }
.svc-scroll-cue .chev:nth-child(3) { animation-delay: .48s; }
@keyframes chevFlow { 0% { opacity: .15; transform: rotate(45deg) translate(-3px,-3px); } 50% { opacity: 1; } 100% { opacity: .15; transform: rotate(45deg) translate(4px,4px); } }
@media (max-width: 1024px) { .svc-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .svc-scroll-cue .chev { animation: none; opacity: .55; } }
.svc-bg-logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 50px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .svc-bg-logo { width: 80%; opacity: .07; } }
/* Dark contact treatment */
.section--dark .info-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); transition: transform .25s var(--ease), border-color .25s, background .25s; }
.section--dark .info-card:hover { transform: translateY(-3px); border-color: rgba(92,184,242,.4); background: rgba(92,184,242,.07); }
.section--dark .info-card h4 { color: #fff; }
.section--dark .info-card p { color: #9fb0cc; }
.section--dark .info-card a { color: #e7eefb; font-weight: 700; }
.section--dark .info-card a:hover { color: #5cb8f2; }
.section--dark .form-card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.section--dark .form-card h3 { color: #fff; }
.section--dark .form-card .form-sub { color: #9fb0cc; }
.section--dark .form-card label { color: #dbe6f7; }
.section--dark .form-card .field { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.section--dark .form-card .field::placeholder { color: #8094b4; }
.section--dark .form-card .field:focus { border-color: #5cb8f2; box-shadow: 0 0 0 3px rgba(92,184,242,.22); }
.section--dark .form-card select.field option { color: #0a1730; }
.section--dark .quote-note { color: #8094b4; }
.contact-lead { color: #b6c4dd; font-size: 1.05rem; max-width: 460px; margin-bottom: 22px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.page-hero .chip-row { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; border: 1px solid rgba(92,184,242,.4); background: rgba(92,184,242,.08); color: #e7eefb; transition: transform .2s var(--ease), background .2s; }
.chip:hover { transform: translateY(-2px); background: rgba(92,184,242,.18); }
.chip .ico { color: #5cb8f2; display: inline-flex; }
.resp-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #c3d1ea; font-size: .9rem; }
.resp-badge .pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 0 rgba(56,211,159,.6); animation: respPulse 1.8s infinite; flex: none; }
@keyframes respPulse { 0% { box-shadow: 0 0 0 0 rgba(56,211,159,.5); } 70% { box-shadow: 0 0 0 9px rgba(56,211,159,0); } 100% { box-shadow: 0 0 0 0 rgba(56,211,159,0); } }

.eyebrow {
  display: inline-block;
  color: var(--gold-500);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .6rem;
}
.section-head { text-align: center; max-width: 800px; margin: 0 auto 52px; }
.section-head .rule { width: 64px; height: 4px; background: var(--gold-500); border-radius: 4px; margin: 14px auto 0; }
.text-gold { color: var(--gold-500); }
.lead { font-size: 1.08rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .96rem;
  padding: .85rem 1.5rem; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--outline-dark { background: #fff; border-color: var(--line); color: var(--navy-800); }
.btn--outline-dark:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }

/* Scroll-scrubbed word reveal (headings fill in as you scroll) */
.rw { display: inline-block; opacity: .15; will-change: opacity; transition: opacity .18s linear; }
@media (prefers-reduced-motion: reduce) { .rw { opacity: 1 !important; } }

/* ========== UX / motion upgrades ========== */
/* Scroll progress bar */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9998; background: linear-gradient(90deg, #5cb8f2, #1f7fc9); box-shadow: 0 0 10px rgba(92,184,242,.6); transition: width .08s linear; }

/* Custom cursor (only enabled on fine-pointer devices via .has-cursor) */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 7px; height: 7px; background: #5cb8f2; }
.cursor-ring { width: 38px; height: 38px; border: 2px solid rgba(92,184,242,.7); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s, opacity .3s; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor .faq-q { cursor: none; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(92,184,242,.12); border-color: #5cb8f2; }
.cursor-ring.is-down { width: 30px; height: 30px; }

/* Back-to-top button */
#to-top { position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; z-index: 60; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #5cb8f2, #1f7fc9); box-shadow: 0 10px 26px rgba(31,127,201,.4); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
#to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
#to-top:hover { transform: translateY(-3px) scale(1.06); }
#to-top svg { width: 22px; height: 22px; }

/* Hero entrance animation */
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero .hero-copy > * { opacity: 0; animation: heroUp .75s var(--ease) forwards; }
.hero .hero-copy > *:nth-child(1) { animation-delay: .08s; }
.hero .hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero .hero-copy > *:nth-child(3) { animation-delay: .28s; }
.hero .hero-copy > *:nth-child(4) { animation-delay: .38s; }
.hero .hero-copy > *:nth-child(5) { animation-delay: .48s; }
.hero .quote-card { opacity: 0; animation: heroUp .85s var(--ease) .3s forwards; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #9fb6d8; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; animation: cueFade 1s ease 1s both; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(159,182,216,.6); border-radius: 13px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: #5cb8f2; border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, 10px); } 100% { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes cueFade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy > *, .hero .quote-card { opacity: 1; animation: none; }
  .scroll-cue, .scroll-cue .mouse::after { animation: none; }
  #scroll-progress { display: none; }
}
@media (hover: none), (pointer: coarse) { .scroll-cue { display: none; } #to-top { right: 16px; bottom: 16px; } }

/* ---------- Preloader / loading screen ---------- */
#jn-preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(900px 600px at 50% 50%, #14366f 0%, var(--navy-900) 70%);
  transition: opacity .6s var(--ease), visibility .6s;
}
#jn-preloader.done { opacity: 0; visibility: hidden; }
.pl-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-logo-wrap { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.pl-logo-wrap .ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 3px solid rgba(244,160,30,.18); border-top-color: var(--gold-500);
  animation: plspin 1s linear infinite;
}
.pl-logo-wrap .ring2 {
  position: absolute; inset: 4px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08); border-bottom-color: rgba(126,208,255,.7);
  animation: plspin 1.6s linear infinite reverse;
}
.pl-logo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: contain;
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.4);
  animation: plpulse 1.8s ease-in-out infinite;
}
.pl-name { color: #fff; font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; opacity: 0; animation: plfade .6s ease .2s forwards; }
.pl-name span { color: var(--gold-500); }
.pl-dots { display: flex; gap: 8px; }
.pl-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); display: block; animation: plbounce 1.1s ease-in-out infinite; }
.pl-dots i:nth-child(2) { animation-delay: .15s; }
.pl-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes plspin { to { transform: rotate(360deg); } }
@keyframes plpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes plbounce { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-9px); opacity: 1; } }
@keyframes plfade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .pl-logo-wrap .ring, .pl-logo-wrap .ring2, .pl-logo, .pl-dots i { animation: none; }
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-900); color: #c7d2e6; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #c7d2e6; transition: color .2s; }
.topbar a:hover { color: var(--gold-500); }
.topbar .ico { color: var(--gold-500); display: inline-flex; }
.topbar .tag { margin-left: auto; color: #9fb0cc; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-800); box-shadow: 0 2px 0 rgba(255,255,255,.04); }
/* header gets a wider track than the content sections so the full nav + CTA fit */
.site-header .container, .topbar .container { max-width: 1440px; }
.nav { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); padding: 14px 0; min-width: 0; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #2f5aa8, #0a1730 70%);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .9rem;
  border: 2px solid var(--gold-500);
}
.brand .logo-img { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: contain; display: block; }
.site-footer .brand .logo-img { width: 44px; height: 44px; }
.brand b { color: #fff; font-size: clamp(.95rem, 1.1vw, 1.06rem); font-weight: 800; line-height: 1.1; white-space: nowrap; }
.brand span { color: #9fb0cc; font-size: .74rem; display: block; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(0px, .3vw, 4px); margin-left: auto; min-width: 0; }
.nav-links > li { position: relative; }
.nav-links a { color: #d6dff0; font-weight: 600; font-size: clamp(.85rem, .95vw, .94rem); padding: 10px clamp(8px, .9vw, 14px); border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-500); }
.nav-links .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .25s; }
.has-drop:hover .caret { transform: rotate(225deg); margin-top: 2px; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 246px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { color: var(--ink); display: block; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy-800); }
.nav-cta { flex: none; white-space: nowrap; padding-left: clamp(.9rem, 1.2vw, 1.5rem); padding-right: clamp(.9rem, 1.2vw, 1.5rem); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; flex: none; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 3px; margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Animated icons ---------- */
/* Icons render bare — no background box or border, just the icon */
.ico-circle {
  width: 52px; height: 52px; border-radius: 0;
  display: grid; place-items: center; flex: none;
  background: transparent; border: 0; color: var(--gold-500);
  transition: transform .35s var(--ease), color .35s;
}
.ico-circle svg { width: 40px; height: 40px; }
.ico-circle .ico-img { width: 44px; height: 44px; object-fit: contain; display: block; }
.svg-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* icon hover & idle animations */
.anim-float svg { animation: floaty 3.4s ease-in-out infinite; }
.anim-spin-hover:hover svg { animation: spin 1.1s linear infinite; }
.anim-pulse svg { animation: pulse 2.4s ease-in-out infinite; }
.card:hover .ico-circle { transform: translateY(-4px) scale(1.1); color: var(--gold-600); }
.card:hover .anim-float svg { animation-play-state: paused; }
.drip { animation: drip 2.2s ease-in-out infinite; transform-origin: center; }
.blink { animation: blink 1.4s steps(1) infinite; }
.wig { transform-origin: 50% 80%; animation: wig 2.8s ease-in-out infinite; }

@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
@keyframes drip { 0%{opacity:0; transform:translateY(-3px)} 40%{opacity:1} 100%{opacity:0; transform:translateY(6px)} }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:.25} }
@keyframes wig { 0%,100%{transform:rotate(-7deg)} 50%{transform:rotate(7deg)} }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900) url("../img/in-a-modern-restaurant-s-professional-kitchen-a-sh-2026-03-19-09-20-20-utc.jpg") center/cover no-repeat; color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,15,33,.95) 30%, rgba(8,15,33,.82) 62%, rgba(8,15,33,.66) 100%),
    radial-gradient(900px 520px at 16% 18%, rgba(21,53,111,.55) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover, cover, 40px 40px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .9fr; gap: 46px; align-items: center; padding-top: 102px; padding-bottom: 116px; }

/* Animated 3D logo backdrop */
.hero-3d { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center center; padding-left: clamp(0px, 6vw, 130px); pointer-events: none; overflow: hidden; }
.hero-3d img {
  width: min(560px, 64%); max-width: 640px;
  opacity: .14; filter: drop-shadow(0 30px 70px rgba(0,0,0,.55));
  transform-style: preserve-3d;
  animation: hero3d 10s ease-in-out infinite;
  will-change: transform;
}
.hero-3d-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,120,220,.35), transparent 62%);
  animation: hero3dglow 6s ease-in-out infinite;
}
@keyframes hero3d {
  0%   { transform: perspective(1000px) rotateY(-16deg) rotateX(4deg) translateY(0) scale(1); }
  50%  { transform: perspective(1000px) rotateY(16deg) rotateX(-3deg) translateY(-22px) scale(1.04); }
  100% { transform: perspective(1000px) rotateY(-16deg) rotateX(4deg) translateY(0) scale(1); }
}
@keyframes hero3dglow { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .8; } 50% { transform: translate(-50%,-50%) scale(1.18); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-3d img, .hero-3d-glow { animation: none; } }

/* Scrolling marquee — industries we serve */
.marquee { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 24px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 71px; padding: 0; margin-left: 71px; color: #d6e0f3; font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: .01em; white-space: nowrap; text-transform: uppercase; }
.marquee-item .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold-500); flex: none; position: relative; top: 0.06em; }
/* extra-large full-width area ticker */
.marquee--xl { padding: 30px 0; background: transparent; border: none; }
.marquee--xl .marquee-item { font-size: clamp(2.6rem, 6.5vw, 5.6rem); gap: 60px; margin-left: 60px; font-weight: 600; color: #8fc0f2; }
.marquee--xl .marquee-item .dot, .theme-blue .marquee--xl .marquee-item .dot { width: 14px; height: 14px; top: 0.04em; background: #8fc0f2; }
.marquee--xl::before { width: 160px; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee--xl::after { width: 160px; background: linear-gradient(-90deg, var(--bg-soft), transparent); }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.hero h1 { color: #fff; }
.hero h1 .text-gold { display: inline; }
.hero .sub { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 14px; }
.hero p.desc { color: #c0cce0; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 26px; }
.trust-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #c0cce0; font-size: .9rem; }
.trust-row .stars { color: var(--gold-500); letter-spacing: 2px; }
.trust-divider { width: 1px; height: 34px; background: rgba(255,255,255,.18); }
.trust-item { display: flex; align-items: center; gap: 9px; }
.trust-item .ico { color: var(--gold-500); }

/* Quote form card */
.quote-card { background: var(--navy-800); border: 2px solid var(--gold-500); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.quote-card h3 { text-align: center; color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.quote-card .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #2c4470; background: #0e2147; color: #fff; font-size: .92rem; margin-bottom: 12px; font-family: inherit; }
.field::placeholder { color: #8aa0c6; }
.field:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(244,160,30,.2); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238aa0c6' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.field { resize: vertical; min-height: 76px; }
.quote-note { display: flex; align-items: center; gap: 7px; justify-content: center; color: #8aa0c6; font-size: .76rem; margin-top: 12px; }

/* ---------- Feature strip ---------- */
.feature-strip { background: #fff; border-bottom: 1px solid var(--line); }
.feature-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature-strip .container { max-width: 1920px; }
.feature-strip .item { display: flex; align-items: center; gap: 22px; padding: 42px 40px; border-right: 1px solid var(--line); }
.feature-strip .item:last-child { border-right: 0; }
.feature-strip .ico-circle { width: 64px; height: 64px; align-self: center; }
.feature-strip .ico-circle svg { width: 52px; height: 52px; }
.feature-strip .item > div { min-width: 0; }
.feature-strip h4 { margin: 0 0 6px; font-size: 1.4rem; line-height: 1.2; }
.feature-strip p { margin: 0; font-size: 1.2rem; color: var(--slate); line-height: 1.35; }

/* Full-bleed container (edge to edge with side padding) */
.container-fluid { width: 100%; max-width: none; margin: 0; padding: 0 clamp(24px, 5vw, 80px); }

/* Centered "vertical" card variant — icon + headline + text stacked, centered */
.card--center { text-align: center; align-items: center; padding: 38px 30px; }
.card--center .ico-circle { margin: 0 auto 14px; }
.card--center h3 { margin: 0 0 10px; }
.card--center p { color: var(--slate); margin: 0; }

/* Single-row auto-scrolling industry carousel */
.industry-scroller { overflow: hidden; position: relative; }
.industry-scroller::before, .industry-scroller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 3; pointer-events: none; }
.industry-scroller::before { left: 0; background: linear-gradient(90deg, #e9f1fb, transparent); }
.industry-scroller::after { right: 0; background: linear-gradient(-90deg, #e9f1fb, transparent); }
.industry-track { display: flex; width: max-content; padding: 6px 0; animation: iscroll 80s linear infinite; will-change: transform; }
.industry-scroller:hover .industry-track { animation-play-state: paused; }
.industry-track .card { width: 340px; flex: none; margin-right: 0; background: transparent; box-shadow: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 26px 40px; }
.industry-track .card::after { display: none; }
.industry-track .card:hover { transform: none; box-shadow: none; }
.industry-track .card:first-child { border-left: 0; }
@keyframes iscroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .industry-track { animation: none; flex-wrap: wrap; justify-content: center; } }
@media (max-width: 600px) { .industry-track .card { width: 280px; } }

/* ===== Home theme: Blue + Chrome (scoped to body.theme-blue) ===== */
.theme-blue { --gold-500: #2f9be6; --gold-400: #5cb8f2; --gold-600: #1f7fc9; }
.theme-blue .btn--gold { background: linear-gradient(135deg, #5cb8f2, #1f7fc9); color: #fff; border-color: transparent; }
.theme-blue .btn--gold:hover { background: linear-gradient(135deg, #6fc4f7, #2589d4); color: #fff; }
.theme-blue .btn--gold .arrow { color: #fff; }
.theme-blue .quote-card .btn--gold, .theme-blue .hero-actions .btn--gold { box-shadow: 0 10px 26px rgba(31,127,201,.35); }
/* chrome / silver detail accents */
.theme-blue .ico-circle { color: #8fa1ba; filter: drop-shadow(0 1px 0 rgba(255,255,255,.55)); }
.theme-blue .section--navy .ico-circle { color: #b4c3da; filter: none; }
.theme-blue .section-head .rule { background: linear-gradient(90deg, #d7e0ec, #8a98ad); }
.theme-blue .marquee-item .dot { background: linear-gradient(135deg, #eef3f9, #8a98ad); }
.theme-blue .checklist .tick { background: linear-gradient(135deg, #dbe4ef, #9aa7bd); color: #0a1730; }
.theme-blue .eyebrow { color: #2f9be6; }
.theme-blue .text-gold { color: #5cb8f2; }
.theme-blue .quote-card { border-color: #2f9be6; box-shadow: 0 24px 60px rgba(16,53,111,.28); }

/* Media card — photo banner on top, content below (Services overview page) */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card--media .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.card--media:hover .card-media img { transform: scale(1.06); }
.card--media .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card--media .card-body h3 { margin: 0 0 8px; }
.card--media .card-body .more { margin-top: auto; }

/* HOME services section only — full photo tile, details reveal over image on hover */
.section--moody .card--media { position: relative; display: block; min-height: 380px; border-radius: var(--radius); }
.section--moody .card--media::after { display: none; }
.section--moody .card--media .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.section--moody .card--media:hover .card-media img { transform: scale(1.08); transition: transform .6s var(--ease); }
.section--moody .card--media .card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,33,.94) 4%, rgba(8,15,33,.55) 38%, rgba(8,15,33,.05) 72%);
  transition: background .45s var(--ease);
}
.section--moody .card--media:hover .card-media::after { background: linear-gradient(to top, rgba(8,15,33,.96) 10%, rgba(8,15,33,.82) 55%, rgba(8,15,33,.5) 100%); }
.section--moody .card--media .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 26px 28px; display: block; flex: none; }
.section--moody .card--media .card-body h3 { color: #fff; margin: 0; font-size: 1.18rem; line-height: 1.25; }
.section--moody .card--media .card-body p {
  color: #c7d3ea; margin: 0; font-size: .92rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s ease, margin .5s var(--ease);
}
.section--moody .card--media:hover .card-body p, .section--moody .card--media:focus-within .card-body p { max-height: 220px; opacity: 1; margin: 12px 0 16px; }
.section--moody .card--media .card-body .more { color: #fff; margin-top: 0; opacity: 0; transform: translateY(8px); transition: opacity .4s ease .05s, transform .4s var(--ease) .05s; }
.section--moody .card--media:hover .card-body .more, .section--moody .card--media:focus-within .card-body .more { opacity: 1; transform: none; }
.section--moody .card--media .card-body::before { content: ""; position: absolute; left: 26px; top: -2px; height: 3px; width: 0; background: linear-gradient(90deg, #5cb8f2, #1f7fc9); transition: width .45s var(--ease); }
.section--moody .card--media:hover .card-body::before { width: 54px; }
@media (hover: none) {
  .section--moody .card--media .card-body p { max-height: 220px; opacity: 1; margin: 12px 0 16px; }
  .section--moody .card--media .card-body .more { opacity: 1; transform: none; }
}

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

/* ---------- Modern icon-left value cards ---------- */
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.vcard { position: relative; display: flex; gap: 26px; align-items: flex-start; background: linear-gradient(165deg, #ffffff 0%, #eef5ff 100%); border: 0; border-radius: 20px; padding: 38px 40px; overflow: hidden; box-shadow: 0 12px 34px rgba(15,28,58,.07); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.vcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #5cb8f2, #1f7fc9); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.vcard:hover::before { transform: scaleX(1); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(92,184,242,.16), rgba(31,127,201,.04) 62%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.vcard > * { position: relative; z-index: 1; }
.vcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15,28,58,.14); }
.vcard:hover::after { opacity: 1; }
.vcard .v-ico { flex: none; width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, #5cb8f2, #1f7fc9); display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px rgba(31,127,201,.32); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.vcard:hover .v-ico { transform: translateY(-4px) scale(1.08) rotate(-5deg); box-shadow: 0 20px 40px rgba(31,127,201,.42); }
.vcard .v-ico svg { width: 38px; height: 38px; }
.vcard .v-ico .svg-stroke { stroke-width: 1.7; }
.vcard h3 { position: relative; display: inline-block; margin: 6px 0 11px; font-size: clamp(1.5rem, 3vw, 2.32rem); transition: color .3s var(--ease); }
.vcard h3::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 3px; width: 0; background: linear-gradient(90deg, #5cb8f2, #1f7fc9); border-radius: 3px; transition: width .45s var(--ease); }
.vcard:hover h3 { color: var(--gold-600); }
.vcard:hover h3::after { width: 56px; }
.vcard p { margin: 0; color: var(--slate); line-height: 1.58; font-size: 1.01rem; }
@media (max-width: 760px) { .vgrid { grid-template-columns: 1fr; } .vcard { padding: 26px; gap: 18px; } .vcard .v-ico { width: 60px; height: 60px; border-radius: 15px; } .vcard .v-ico svg { width: 32px; height: 32px; } }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold-500); transition: width .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::after { width: 100%; }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--slate); font-size: .92rem; margin-bottom: 16px; }
.card .more { color: var(--navy-700); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.card .more .arrow { transition: transform .3s var(--ease); }
.card:hover .more .arrow { transform: translateX(5px); }
.section--navy .card { background: #102350; }
.section--navy .card h3 { color: #fff; }
.section--navy .card p { color: #b6c4dd; }
.section--navy .card .more { color: var(--gold-500); }

/* ---------- Why choose / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
/* Flip a split: image left, text right (desktop only) */
@media (min-width: 761px) { .split--flip { grid-template-columns: 1.1fr 1fr; } .split--flip .media { order: -1; } }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.checklist { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.checklist .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 13px; height: 13px; }

/* About inline stats */
.about-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 24px 0 26px; }
.about-stats > div { position: relative; padding-right: 34px; }
.about-stats > div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.about-stats b { display: block; font-size: 2rem; line-height: 1; color: var(--navy-800); }
.about-stats small { color: var(--slate); font-size: .85rem; }
@media (max-width: 480px) { .about-stats > div:not(:last-child)::after { display: none; } }

/* Full-width feature: text panel + large image with overlapping card */
.feature-full { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.ff-left { background: linear-gradient(180deg, #eef5fd 0%, #e4eefa 100%); padding: clamp(48px, 6vw, 100px) clamp(28px, 5vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.home .ff-left { background: #fff; }
.ff-left .lead { margin-bottom: 22px; max-width: 520px; }
.ff-left .checklist { margin-top: 0; }
.ff-left .btn { align-self: flex-start; }
.ff-right { position: relative; min-height: 560px; background: var(--navy-900); overflow: hidden; }
.ff-right > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ff-card { position: absolute; left: 0; bottom: clamp(28px, 8%, 90px); max-width: 430px; color: #fff; padding: 30px 36px; border-radius: 0 16px 16px 0; background: linear-gradient(135deg, #2f9be6, #134a86); box-shadow: var(--shadow-lg); }
.ff-card .ico-circle { color: #fff; margin-bottom: 8px; }
.ff-card p { font-weight: 700; font-size: 1.08rem; line-height: 1.5; margin: 0 0 16px; }
.ff-more { color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; }
.ff-more .arrow { transition: transform .3s var(--ease); }
.ff-more:hover .arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .feature-full { grid-template-columns: 1fr; }
  .ff-right { min-height: 420px; }
  .ff-card { position: static; max-width: none; border-radius: 0; }
}

/* ---------- Maintenance CTA banner ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1.4fr .8fr; box-shadow: var(--shadow-md); }
.cta-band--full { border-radius: 0; box-shadow: none; width: 100%; }
.cta-band--full .body { padding-left: clamp(28px, 7vw, 130px); }
.cta-band--full h3 { font-size: clamp(2.6rem, 7vw, 5.76rem); line-height: 1.06; }
.cta-band--full .accent { font-size: clamp(1.3rem, 3.4vw, 2.4rem); }
.cta-band .body { padding: 52px 48px; display: flex; gap: 22px; align-items: center; }
.cta-band .ico-circle { width: 60px; height: 60px; }
.cta-band h3 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.cta-band .accent { color: var(--gold-500); font-weight: 800; }
.cta-band p { color: #b6c4dd; font-size: .92rem; margin: 8px 0 16px; }
.cta-band .media { background-size: cover; background-position: center; min-height: 100%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.stat { display: flex; gap: 14px; align-items: center; padding: 8px 4px; }
.stat .ico-circle { background: transparent; }
.stat b { font-size: 2rem; color: var(--navy-800); display: block; line-height: 1; }
.section--navy .stat b { color: #fff; }
.stat small { color: var(--slate); font-size: .86rem; }
.section--navy .stat small { color: #b6c4dd; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 22px; }
.section--navy .stat + .stat { border-color: rgba(255,255,255,.12); }

/* ---------- Testimonials ---------- */
.quote-box { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote-box .mark { color: var(--gold-500); font-size: 2.6rem; line-height: .5; font-weight: 900; }
.quote-box p { color: var(--slate); font-style: italic; margin: 14px 0 18px; }
.quote-box .who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote-box .who img { width: 46px; height: 46px; border-radius: 50%; }
.quote-box .who b { display: block; color: var(--navy-800); }
.quote-box .who small { color: var(--muted); }

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.areas .pin { color: var(--gold-500); }
/* Combined Areas + FAQ 2-column section */
.areas-faq { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 52px; align-items: start; }
.areas-faq .rule { margin: 16px 0 0; }
.areas-faq .af-left p { color: var(--slate); margin: 16px 0 20px; line-height: 1.6; }
.areas-faq .af-right .faq { margin-top: 18px; }
@media (max-width: 880px) { .areas-faq { grid-template-columns: 1fr; gap: 36px; } }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area-list li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 600; font-size: .94rem; }
.area-list .tick { color: var(--gold-500); }
.area-list .loc {
  flex: none; width: 26px; height: 26px;
  color: var(--gold-500); display: grid; place-items: center;
  transition: transform .3s var(--ease), color .3s;
}
.area-list .loc svg { width: 22px; height: 22px; }
.area-list li:hover .loc { color: var(--gold-600); transform: translateY(-3px); }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #eef2f8; min-height: 200px; display: grid; place-items: center; position: relative; }
.map-card .glow { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(244,160,30,.45), transparent 65%); }
.area-map { width: 100%; min-height: 340px; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); z-index: 1; }
.area-map .leaflet-popup-content { font-family: var(--font); font-size: .9rem; color: var(--navy-800); }
.area-map .leaflet-container { font-family: var(--font); }
@media (max-width: 980px) { .area-map { min-height: 320px; } }

/* ---------- Full-width map ---------- */
.map-full { position: relative; width: 100%; height: 460px; background: #eef2f8; }
.map-full iframe { display: block; width: 100%; height: 100%; filter: saturate(1.05); }
.map-pin-badge {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-md);
  border: 2px solid var(--gold-500); white-space: nowrap; max-width: calc(100% - 32px);
}
.map-pin-badge span { display: inline-flex; color: var(--gold-500); }
.map-pin-badge:hover { background: var(--navy-700); }
@media (max-width: 600px) { .map-full { height: 360px; } .map-pin-badge { font-size: .8rem; padding: 10px 14px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
/* FAQ with side photo */
.faq-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; }
.faq-split .faq { max-width: none; margin: 0; }
.faq-intro { display: flex; flex-direction: column; justify-content: center; }
.faq-intro h2 { margin: 8px 0 18px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.faq-intro p { max-width: 440px; margin-bottom: 24px; }
.section--dark .faq-intro p { color: #aab9d4; }
.faq-intro .btn { align-self: flex-start; }
@media (max-width: 900px) { .faq-intro { text-align: left; margin-bottom: 8px; } }
.faq-photo { border-radius: 0; overflow: hidden; min-height: 100%; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 3D logo beside the FAQ */
.faq-3d { position: relative; display: grid; place-items: center; min-height: 460px; overflow: visible; }
.faq-3d img { position: relative; z-index: 1; width: min(560px, 116%); max-width: none; height: auto; transform-style: preserve-3d; will-change: transform; filter: drop-shadow(0 36px 70px rgba(0,0,0,.55)); }
.faq-3d-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(92,184,242,.5), transparent 66%); animation: faqGlow 5s ease-in-out infinite; }
@keyframes faqGlow { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.18); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .faq-3d-glow { animation: none; } }
@media (max-width: 900px) { .faq-3d { min-height: 340px; } .faq-3d img { width: min(420px, 86%); } }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; gap: 26px; } }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-size: 1rem; font-weight: 700; color: var(--navy-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s; color: var(--gold-500); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .pm::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .pm::after { width: 2px; height: 14px; top: 4px; left: 10px; transition: transform .3s; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--slate); }

/* ---------- Bottom CTA ---------- */
.bottom-cta { background: linear-gradient(120deg, #20242b 0%, #3a4049 48%, #14171c 100%); color: #fff; position: relative; overflow: hidden; }
.bottom-cta::before { content:""; position:absolute; inset:0; background: radial-gradient(760px 320px at 78% 50%, rgba(255,255,255,.07), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%); }
.bottom-cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 40px 22px; }
.bottom-cta h3 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.24rem); margin: 0; display: flex; align-items: center; gap: 16px; }
.bottom-cta .accent { color: var(--gold-500); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); display: block; }
.bottom-cta .ico-circle { width: 56px; height: 56px; }
.bottom-cta .acts { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.hero-parallax .container { padding-top: 90px; padding-bottom: 90px; }
@media (max-width: 760px) { .hero-parallax { background-attachment: scroll !important; } }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 360px at 85% 0%, #15356f, transparent 60%); }
.page-hero .container { position: relative; z-index: 2; padding: 64px 22px; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c0cce0; max-width: 680px; margin: 0 auto; }
.crumbs { color: #9fb0cc; font-size: .85rem; margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebcd4; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #aebcd4; transition: color .2s; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.footer-about p { font-size: .9rem; color: #9fb0cc; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--gold-500); margin-top: 3px; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; background: #142a55; display: grid; place-items: center; color: #cdd9ee; transition: .25s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 46px; padding: 20px 0; font-size: .84rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { margin-left: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(70px) scale(.9); transition: opacity .5s ease, transform .8s cubic-bezier(.16, .8, .22, 1.35); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
/* Cards get an extra springy pop with a slight tilt */
.card.reveal { transform: translateY(80px) scale(.88) rotate(-1.2deg); }
.card.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .card.reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Contact / forms page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.info-card .ico-circle { width: 50px; height: 50px; }
.info-card h4 { margin: 0 0 4px; }
.info-card p, .info-card a { color: var(--slate); margin: 0; font-size: .94rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.form-card .field { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.form-card .field::placeholder { color: var(--muted); }
.form-card label { font-weight: 600; font-size: .85rem; color: var(--navy-800); display: block; margin-bottom: 5px; }
.form-msg { display: none; background: #e9f8ee; border: 1px solid #b6e6c7; color: #1c7a3e; padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; font-size: .9rem; }
.form-msg.show { display: block; }

/* ---------- Service page helpers ---------- */
.svc-layout { max-width: 920px; margin: 0 auto; }
.svc-photo { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.svc-cta-inline { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0 8px; }
.svc-callout {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg); padding: 30px 34px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.svc-callout h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.svc-callout p { color: #b6c4dd; margin: 0; font-size: .95rem; }
.svc-callout .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0 8px; }
.info-row { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.info-row:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,28,58,.13); border-color: rgba(92,184,242,.55); }
.info-row .ico-circle { width: 56px; height: 56px; border-radius: 14px; transition: transform .28s var(--ease); }
.info-row:hover .ico-circle { transform: scale(1.08); }
.info-row .ico-circle svg { width: 28px; height: 28px; }
.info-row h4 { margin: 0 0 5px; font-size: 1.15rem; }
.info-row p { margin: 0; color: var(--slate); font-size: .98rem; line-height: 1.5; }
/* keep process-flow icons static (no drip/blink motion) */
.flow-ico .drip, .flow-ico .blink { animation: none; opacity: 1; }
.steps { display: grid; gap: 14px; counter-reset: step; margin: 16px 0 8px; }
.step-row { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; position: relative; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step-row:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.step-row .num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; }
.step-row h4 { margin: 6px 0 4px; font-size: 1.05rem; }
.step-row p { margin: 0; color: var(--slate); font-size: .92rem; }
.price-note { background: rgba(244,160,30,.1); border-left: 4px solid var(--gold-500); border-radius: 8px; padding: 16px 18px; color: var(--ink); font-size: .94rem; margin: 8px 0; }

/* Horizontal "How it works" process flow with connecting arrows */
.process-section h2 { text-align: center; margin-bottom: 8px; }
.process-flow { display: flex; align-items: flex-start; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; width: 100%; }
.flow-step { flex: 1 1 0; min-width: 0; max-width: 320px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow-ico { position: relative; width: auto; height: 104px; display: grid; place-items: center; color: #1f7fc9; margin-bottom: 30px; transition: transform .3s var(--ease); }
.flow-step:hover .flow-ico { transform: translateY(-7px) scale(1.06); }
.flow-ico svg { width: 92px; height: 92px; }
.flow-ico .svg-stroke { stroke-width: 1.7; }
.flow-num { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .98rem; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(15,28,58,.25); }
.flow-step h4 { margin: 10px 0 10px; font-size: 1.4rem; }
.flow-step p { color: var(--slate); font-size: 1.02rem; margin: 0; line-height: 1.55; max-width: 280px; }
.flow-arrow { flex: 0 0 auto; align-self: flex-start; margin-top: 38px; color: #5cb8f2; opacity: .55; }
.flow-arrow svg { width: 60px; height: 30px; }
@media (max-width: 900px) {
  .flow-arrow { display: none; }
  .process-flow { gap: 36px 24px; }
  .flow-step { flex-basis: 42%; max-width: none; }
}
@media (max-width: 520px) { .flow-step { flex-basis: 100%; } }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } .svc-callout { padding: 24px; } }

/* ---------- Trap vs Interceptor comparison cards ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.compare-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.compare-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.compare-card .ico-circle { margin-bottom: 16px; }
.compare-card h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin: 0 0 4px; }
.compare-card .ct-sub { color: var(--gold-600); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.compare-card > p { color: var(--slate); margin: 0 0 18px; line-height: 1.6; }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.compare-card li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: .97rem; line-height: 1.45; }
.compare-card li .tick { color: var(--gold-500); flex: none; margin-top: 1px; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Bento photo gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr 0.85fr; grid-auto-rows: 92px; gap: 18px; }
.gallery-grid .g-intro { grid-column: 1; grid-row: 1 / span 6; align-self: center; padding-right: 8px; }
.gallery-grid .g-intro h2 { margin: 8px 0 14px; }
.gallery-grid .g-intro p { color: var(--slate); margin: 0 0 24px; line-height: 1.65; }
.gallery-grid figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery-grid figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,15,33,.28)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid .g1 { grid-column: 2; grid-row: 1 / span 6; }
.gallery-grid .g2 { grid-column: 3; grid-row: 1 / span 3; }
.gallery-grid .g3 { grid-column: 3; grid-row: 4 / span 3; }
.gallery-grid .g4 { grid-column: 4; grid-row: 1 / span 2; }
.gallery-grid .g5 { grid-column: 4; grid-row: 3 / span 2; }
.gallery-grid .g6 { grid-column: 4; grid-row: 5 / span 2; }
@media (max-width: 920px) {
  /* switch to flex so the intro (text + button) sizes to its content */
  .gallery-grid { display: flex; flex-wrap: wrap; gap: 14px; grid-auto-rows: auto; }
  .gallery-grid .g-intro { flex: 1 1 100%; align-self: auto; padding: 0 0 6px; }
  .gallery-grid figure { flex: 1 1 calc(50% - 7px); aspect-ratio: 4 / 3; grid-row: auto; grid-column: auto; }
  .gallery-grid .g1 { flex: 1 1 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 460px) {
  .gallery-grid figure { flex: 1 1 100%; aspect-ratio: 16 / 11; }
}

/* ---------- "Smarter Choice" dark comparison panel ---------- */
.compare-panel { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #0e2147 0%, #0a1730 100%); box-shadow: 0 34px 70px rgba(8,15,33,.32); position: relative; }
.compare-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(680px 300px at 50% -10%, rgba(92,184,242,.16), transparent 60%); }
.cmp-item { position: relative; z-index: 1; padding: 50px 42px; transition: background .4s var(--ease); }
.cmp-item + .cmp-item { border-left: 1px solid rgba(255,255,255,.08); }
.cmp-item::before { content: ""; position: absolute; top: 0; left: 42px; right: 42px; height: 3px; background: linear-gradient(90deg, #5cb8f2, #1f7fc9); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cmp-item:hover { background: rgba(92,184,242,.055); }
.cmp-item:hover::before { transform: scaleX(1); }
.cmp-ico { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #5cb8f2, #1f7fc9); display: grid; place-items: center; color: #fff; box-shadow: 0 16px 32px rgba(31,127,201,.42); margin-bottom: 24px; transition: transform .42s var(--ease), box-shadow .42s var(--ease); }
.cmp-ico svg { width: 32px; height: 32px; }
.cmp-item:hover .cmp-ico { transform: translateY(-5px) scale(1.07); box-shadow: 0 22px 42px rgba(31,127,201,.55); }
.cmp-item h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin: 0 0 10px; }
.cmp-item p { color: #a8b8d6; line-height: 1.62; margin: 0; font-size: 1rem; }
@media (max-width: 820px) {
  .compare-panel { grid-template-columns: 1fr; border-radius: 20px; }
  .cmp-item { padding: 34px 30px; }
  .cmp-item + .cmp-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .cmp-item::before { left: 30px; right: 30px; }
}

/* ---------- Generic content prose ---------- */
.prose { max-width: 820px; }
/* Wide service detail / deep-dive */
.svc-deepdive { max-width: 1100px; margin: 0 auto; }
.svc-deepdive h3 { margin: 1.5em 0 .45em; }
.svc-deepdive h3:first-child { margin-top: 0; }
.svc-deepdive p { color: var(--slate); line-height: 1.75; margin: 0 0 1.15rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; color: var(--slate); }
.prose li { margin-bottom: .5em; }
.pill { display: inline-block; background: rgba(244,160,30,.14); color: var(--gold-600); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .split, .contact-grid, .cta-band, .areas { grid-template-columns: 1fr; }
  .cta-band .media { min-height: 200px; }
  .feature-strip .grid, .cols-3, .cols-4, .stats { grid-template-columns: 1fr 1fr; }
  .feature-strip .item:nth-child(2) { border-right: 0; }
  .feature-strip .item { border-bottom: 1px solid var(--line); }
  .stat + .stat { border-left: 0; padding-left: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* On mid-size desktops, drop the brand tagline so the full nav always fits */
@media (max-width: 1280px) {
  .brand span { display: none; }
  .brand b { font-size: 1rem; }
}

/* ---- Nav collapses to hamburger below 1024px (before it can crowd) ---- */
@media (max-width: 1024px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: var(--navy-800); padding: 10px;
    gap: 2px; margin: 0; box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
    border-top: 1px solid rgba(255,255,255,.08);
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav-links a { font-size: 1rem; padding: 13px 14px; justify-content: space-between; border-radius: 10px; }
  .nav-links > li { border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-links .caret { width: 8px; height: 8px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: #0a1730; border-radius: 10px;
    padding: 0; margin: 2px 0 4px;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .has-drop.open .dropdown { max-height: 460px; padding: 4px 0; }
  .has-drop.open .caret { transform: rotate(225deg); }
  .dropdown a { color: #c7d2e6; padding: 11px 18px; font-size: .92rem; }
  .topbar .tag { display: none; }
}

@media (max-width: 760px) {
  .topbar .container { gap: 4px 16px; font-size: .8rem; }
  .section { padding: 56px 0; }
  .cols-2, .cols-3, .cols-4, .feature-strip .grid, .stats, .footer-grid, .area-list { grid-template-columns: 1fr; }
  .quote-card .grid2 { grid-template-columns: 1fr; }
  .bottom-cta .container { flex-direction: column; text-align: center; align-items: center; }
  .bottom-cta h3 { flex-direction: column; }
  .bottom-cta .acts { justify-content: center; width: 100%; }
}

/* Sticky mobile call-to-action bar (phones only) */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; box-shadow: 0 -8px 24px rgba(8,15,33,.25); }
.mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px; font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: .01em; }
.mobile-cta a svg { width: 18px; height: 18px; }
.mobile-cta .call { background: var(--navy-800); }
.mobile-cta .quote { background: linear-gradient(135deg, #5cb8f2, #1f7fc9); }
.mobile-cta a:active { filter: brightness(.92); }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 56px; }
  #to-top { bottom: 70px; }
}

/* Stats as a 2x2 grid of square cards on mobile only */
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; }
  .stats .stat { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 22px 12px; aspect-ratio: 1 / 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
  .stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.1); padding-left: 12px; }
  .stats .stat b { font-size: 1.7rem; }
  .stats .stat small { line-height: 1.2; }
}

/* ============================================================
   Modern polish & accessibility pass (ui-ux-pro-max)
   ============================================================ */

/* Branded text selection */
::selection { background: rgba(92,184,242,.30); color: #0a1730; }

/* Visible keyboard focus rings (don't rely on hover/color alone) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible,
.faq-q:focus-visible, .chip:focus-visible, .card:focus-visible, .socials a:focus-visible {
  outline: 3px solid #5cb8f2;
  outline-offset: 3px;
  border-radius: 8px;
}
.has-cursor a:focus-visible, .has-cursor button:focus-visible { outline-offset: 4px; }

/* Press feedback on primary controls */
.btn:active { transform: translateY(0) scale(.97); }
.card--media:active, .industry-track .card:active { transform: scale(.99); }
.chip:active { transform: scale(.97); }

/* Anchor targets clear the sticky header when linked (#faq, #quote, etc.) */
[id] { scroll-margin-top: 96px; }

/* Tabular figures so stat numbers and prices don't shift width */
.stat b, .about-stats b, .marquee-item { font-variant-numeric: tabular-nums; }

/* Crisper card edges for a more modern, defined look on light surfaces */
.card:not(.card--media), .info-card, .quote-box, .faq-item, .form-card {
  border: 1px solid rgba(13,31,68,.06);
}
.section--navy .card:not(.card--media) { border-color: rgba(255,255,255,.06); }

/* Smoother image rendering */
img { -webkit-user-drag: none; }

/* Reduced-motion safety net — calm ambient + scroll-driven motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .anim-float svg, .anim-pulse svg, .anim-spin-hover svg,
  .hero-3d img, .svc-bg-logo, #faq3d, .marquee-track, .industry-track { animation: none !important; transform: none !important; }
}
