/* ==========================================================
   Coastal Exterior Services — styles (design v2)
   Mobile-first. Colors and spacing live in the variables below.
   ========================================================== */
@font-face { font-family: "Exo 2"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/exo2-800-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/exo2-800-latin.woff2") format("woff2"); }

:root {
  /* Brand: Egyptian blue, stone blue, plus the logo's navy and azure */
  --navy: #0a2448;         /* logo navy: dark bands, footer, headings */
  --brand: #1034a6;        /* Egyptian blue: links, outlines, accents */
  --cta: #0070c0;          /* logo azure: quote buttons (5:1 with white text) */
  --cta-dark: #005a9e;
  --stone: #819ea8;        /* stone blue */
  --stone-dark: #557480;   /* stone blue for icons/text on white */
  --stone-light: #e9eff1;  /* pale stone blue */
  --ink: #0f1c33;
  --muted: #4b5767;
  --bg: #ffffff;
  --bg-alt: #f3f6f8;
  --line: #dde4ea;
  --focus: #0070c0;
  /* Spacing scale (8px based) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 14px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,36,72,.06);
  --shadow: 0 1px 2px rgba(10,36,72,.05), 0 8px 24px rgba(10,36,72,.07);
  --shadow-lg: 0 2px 4px rgba(10,36,72,.06), 0 18px 40px rgba(10,36,72,.14);
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Exo 2", var(--font);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); padding-bottom: 80px; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); margin: 0 0 var(--s4); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; font-style: italic; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 var(--s4); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; box-shadow: 0 0 0 6px #fff; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-bottom: 0; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.15fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.4rem; border-radius: 12px; border: 2px solid transparent; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .18s ease, box-shadow .18s ease; }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(0,112,192,.28); }
.btn-primary:hover { background: var(--cta-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: #c9d3dc; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-stack { display: grid; gap: .75rem; }
.center-row { justify-content: center; }
@media (max-width: 599px) { .btn-row .btn { flex: 1 1 100%; } }
.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--cta); text-decoration: none; position: relative; z-index: 2; }
.arrow-link .icon { transition: transform .2s; }
.arrow-link:hover { color: var(--cta-dark); }
.arrow-link:hover .icon { transform: translateX(3px); }
a[data-tel] { white-space: nowrap; }

/* ---------- Icon chips & monogram ---------- */
.chip { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--stone-light); color: var(--brand); flex: none; }
.chip .icon { width: 24px; height: 24px; }
.chip-lg { width: 56px; height: 56px; margin-bottom: var(--s4); }
.chip-light { background: rgba(255,255,255,.12); color: #fff; }
.monogram { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.1rem; flex: none; }
.monogram-xl { width: 132px; height: 132px; font-size: 2.8rem; box-shadow: 0 0 0 8px rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: background .25s, box-shadow .25s, border-color .25s; }
.site-header.scrolled { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px rgba(10,36,72,.08); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); transition: min-height .25s ease; }
.site-header.scrolled .header-inner { min-height: 60px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 54px; width: auto; transition: height .25s ease; }
.site-header.scrolled .logo img { height: 44px; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone { display: none; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--cta); }
.header-cta { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; box-shadow: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(10,36,72,.1); }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.site-nav a { display: block; padding: .8rem clamp(1.25rem, 4vw, 2rem); text-decoration: none; color: var(--ink); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); background: var(--bg-alt); }
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .logo { margin-right: 0; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; margin: 0 auto; }
  .site-nav ul { display: flex; gap: .15rem; padding: 0; }
  .site-nav a { padding: .45rem .7rem; border-radius: 8px; font-size: .95rem; white-space: nowrap; color: #2a3850; }
  .site-nav a[aria-current="page"] { background: none; color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
  .header-actions { gap: 1.1rem; }
}

/* ---------- Mobile call bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.mobile-bar .btn { flex: 1; min-height: 52px; }
@media (min-width: 1100px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem);
  background: radial-gradient(1200px 500px at 85% -10%, rgba(0,112,192,.45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0f2f86 55%, var(--brand) 100%); }
.hero h1 { color: #fff; }
.hero .lead { color: #d9e3f5; margin-bottom: var(--s6); }
.hero-grid { position: relative; z-index: 2; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero-grid-single { grid-template-columns: 1fr; max-width: 860px; } }
.hero-badges { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-weight: 600; font-size: .97rem; color: #e6eefa; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; }
.hero-badges .icon { color: #8fd3f5; }
.hero-proof .ba-pair { margin: 0; }
.hero-proof .ba-slider { box-shadow: 0 24px 60px rgba(0,0,0,.35); outline: 1px solid rgba(255,255,255,.18); }
.hero-proof figcaption { color: #c9d6ec; }
@media (min-width: 960px) { .hero-proof { max-width: 460px; justify-self: end; width: 100%; } }
.hero-waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 56px; pointer-events: none; z-index: 1; }
.wave-back { fill: rgba(129,158,168,.5); }
.wave-front { fill: var(--bg-alt); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3.25rem, 7vw, 5rem);
  background: radial-gradient(900px 400px at 90% -20%, rgba(0,112,192,.4), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0f2f86 70%, var(--brand) 100%); }
.page-hero h1 { color: #fff; margin-bottom: var(--s3); }
.page-hero .lead { color: #d9e3f5; margin-bottom: 0; }
.page-hero .btn-row { margin-top: var(--s5); }
.page-hero-compact { padding-bottom: clamp(2.75rem, 5vw, 3.75rem); }

/* ---------- Wave dividers ---------- */
.page-hero::after, .section-alt::before, .section-alt::after, .cta-band::before { content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.section-alt, .cta-band { position: relative; }
.page-hero::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C240 2 480 2 720 14S1200 26 1440 14V28Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.section-alt::before { top: -27px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C240 2 480 2 720 14S1200 26 1440 14V28Z' fill='%23f3f6f8'/%3E%3Cpath d='M0 14C240 2 480 2 720 14S1200 26 1440 14' fill='none' stroke='%230070c0' stroke-opacity='.35' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.section-alt::after { bottom: -27px; transform: scaleY(-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C240 2 480 2 720 14S1200 26 1440 14V28Z' fill='%23f3f6f8'/%3E%3Cpath d='M0 14C240 2 480 2 720 14S1200 26 1440 14' fill='none' stroke='%230070c0' stroke-opacity='.35' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.cta-band::before { top: -27px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C240 2 480 2 720 14S1200 26 1440 14V28Z' fill='%230a2448'/%3E%3C/svg%3E"); }
.hero + .section-alt::before { display: none; }
.section-alt:has(+ .cta-band)::after, .section-alt:last-child::after { display: none; }
main > .section-alt:last-child + * { }

/* ---------- Services (home cards) ---------- */
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.svc .chip { margin-bottom: 1.1rem; }
.svc h3 { margin-bottom: .5rem; }
.svc h3 a { color: var(--navy); text-decoration: none; }
.svc p { color: var(--muted); font-size: .98rem; margin-bottom: 1.25rem; }
.svc .arrow-link { margin-top: auto; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: 1; }
.svc:hover { border-color: #c3d0e6; box-shadow: var(--shadow-lg); }

/* ---------- Gallery / before-after ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.ba-pair { margin: 0; }
figure { margin: 0; }
figcaption { font-size: .93rem; color: var(--muted); margin-top: .6rem; }
.ba-stack { display: grid; gap: 6px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 760px) { .ba-stack { grid-template-columns: 1fr 1fr; } }
.ba-stack-item { position: relative; }
.ba-stack-item img { width: 100%; aspect-ratio: 700 / 346; object-fit: cover; }
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; background: #dfe7ee; touch-action: pan-y; user-select: none; box-shadow: var(--shadow); --pos: 50%; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231034a6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/58% no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.ba-label { position: absolute; top: .8rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(10,36,72,.78); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .01em; pointer-events: none; }
.ba-label-before { left: .8rem; } .ba-label-after { right: .8rem; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; border: 0; padding: 0; min-height: 0; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 100%; }
.ba-range::-moz-range-thumb { width: 2px; height: 100%; border: 0; }
.ba-slider:has(.ba-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; aspect-ratio: 4 / 3; padding: 1rem; border: 2px dashed var(--stone); border-radius: var(--radius); background: var(--stone-light); color: var(--muted); font-weight: 600; }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding-left: 4.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 6px var(--bg-alt); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.5rem; top: 3rem; bottom: -1.75rem; width: 2px; background: repeating-linear-gradient(var(--stone) 0 6px, transparent 6px 12px); }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
  .steps li { padding: 4.5rem 0 0; }
  .steps li::before { left: 50%; top: 0; transform: translateX(-50%); }
  .steps li:not(:last-child)::after { left: calc(50% + 2.5rem); right: calc(-50% + 2.5rem); top: 1.5rem; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--stone) 0 6px, transparent 6px 12px); }
  .steps p { max-width: 30ch; margin: 0 auto; }
}

/* ---------- Trust ---------- */
.owner-mini { display: inline-flex; align-items: center; gap: .9rem; margin-top: var(--s4); padding: .8rem 1.1rem .8rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--navy); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.owner-mini > span:not(.monogram) { display: grid; line-height: 1.3; }
.owner-mini .muted { font-size: .9rem; }
.owner-mini .icon { color: var(--cta); }
.owner-mini:hover { border-color: #c3d0e6; box-shadow: var(--shadow); color: var(--navy); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) and (max-width: 899px) { .trust-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.trust-item { display: flex; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.trust-item .chip { width: 42px; height: 42px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.trust-item p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Service area ---------- */
.area-panel { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .area-panel { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.city-list { grid-template-columns: 1fr 1fr; }
@media (max-width: 400px) { .city-list li { padding: .85rem .8rem; gap: .55rem; } .city-list strong { font-size: .95rem; } }
.city-list li { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.city-list .icon { color: var(--cta); width: 1.4em; height: 1.4em; }
.city-list li > span { display: grid; line-height: 1.3; }
.city-list .muted { font-size: .88rem; }
.area-cards { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .area-cards { grid-template-columns: 1fr 1fr; } }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.area-card h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; margin-bottom: 1rem; }
.area-card h2 .icon { color: var(--cta); }
.zip-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.zip-chips li { padding: .3rem .65rem; border-radius: 999px; background: var(--stone-light); color: var(--navy); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.note-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.note-card h3 { margin-bottom: .3rem; }
.note-card p { margin: 0; color: var(--muted); }

/* ---------- Generic card / CTA card ---------- */
.cta-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow); }
.cta-card h3 { font-size: 1.35rem; }
.cta-card p { color: var(--muted); }
.cta-card .btn-stack { margin-bottom: var(--s4); }
.cta-card > :last-child { margin-bottom: 0; }

/* ---------- Services page ---------- */
.jump { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; background: rgba(255,255,255,.06); transition: background .2s, border-color .2s; }
.jump a:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.jump .icon { color: #8fd3f5; }
.service-detail { padding: var(--section) 0; }
.service-detail-alt { background: var(--bg-alt); }
.service-detail-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .service-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.service-detail .btn-row { margin-top: var(--s5); }
.included { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/68% no-repeat; }
.checklist-lg li { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; padding-left: 2.3rem; }
.checklist-lg li::before { width: 1.45rem; height: 1.45rem; top: .12em; }

/* ---------- Pricing ---------- */
.factor-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .factor-grid { grid-template-columns: repeat(3, 1fr); } }
.factor-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.factor-grid .chip { margin-bottom: 1rem; }
.factor-grid p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr .9fr; gap: 4rem; } }
.prose { max-width: 64ch; }
.lead-text { font-size: 1.15rem; line-height: 1.7; }
.prose h3 { margin-top: var(--s6); }
.prose .btn-row { margin-top: var(--s5); }
.owner-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .owner-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.owner-visual { display: grid; place-items: center; aspect-ratio: 5 / 4; background: radial-gradient(500px 260px at 80% 0%, rgba(0,112,192,.5), transparent 60%), linear-gradient(160deg, var(--navy), var(--brand)); }
.owner-visual { position: relative; }
.owner-visual .owner-photo, .owner-visual .owner-work { width: 100%; height: 100%; object-fit: cover; }
.owner-visual .owner-work { position: absolute; inset: 0; }
.owner-work-tag { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .4rem; border-radius: 999px; background: rgba(10,36,72,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-weight: 600; font-size: .92rem; }
.owner-work-tag .monogram { width: 34px; height: 34px; font-size: .85rem; }
.owner-body { padding: 1.5rem; }
.owner-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--navy); margin: 0; }
.owner-body .muted { margin-bottom: 1rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.facts li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.facts .icon { color: var(--cta); }

/* ---------- Reviews ---------- */
.empty-state { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(2rem, 5vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.empty-state p { color: var(--muted); }
.empty-stars { display: flex; justify-content: center; gap: .3rem; margin-bottom: 1rem; color: var(--stone); }
.empty-stars .icon { width: 28px; height: 28px; }
.review-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.review blockquote { margin: .5rem 0 1rem; }
.stars { color: #e0a100; letter-spacing: .1em; }
.stars-off { color: #cdd6de; }
.review-name { font-weight: 700; margin: 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1.6fr 1fr; gap: 3rem; } .faq-layout .cta-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--stone-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231034a6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/55% no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 3rem 1.25rem 0; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; gap: 2rem; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 3rem; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); }
.page-hero-compact + .section .form-card { margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); position: relative; z-index: 2; }
.quote-aside { display: grid; gap: 1.25rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; margin-bottom: .4rem; color: var(--navy); font-size: .97rem; }
.req { color: #b3261e; }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfd; border: 1.5px solid #b9c6d2; border-radius: 10px; padding: .75rem .9rem; min-height: 50px; transition: border-color .15s, box-shadow .15s, background .15s; }
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #8fa3b5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cta); background: #fff; box-shadow: 0 0 0 4px rgba(0,112,192,.18); }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: .93rem; color: var(--muted); }
#form-status { color: #b3261e; font-weight: 600; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .icon { width: 3.5rem; height: 3.5rem; color: #1b8a4a; margin: 0 auto 1rem; display: block; }
.demo-note { background: #fff8e6; border: 1px solid #f0b429; border-radius: 8px; padding: .75rem 1rem; text-align: left; font-size: .95rem; }
.mini-steps { list-style: none; padding: 0; margin: 0; counter-reset: ms; display: grid; gap: 1rem; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 2.6rem; display: grid; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--stone-light); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.mini-steps span { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-tiles { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); } }
.contact-tiles li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-tiles .chip { margin-bottom: 1rem; }
.contact-tiles h3 { font-size: 1rem; color: var(--muted); font-family: var(--font); font-weight: 600; margin-bottom: .2rem; }
.contact-tiles a, .contact-tiles p { text-wrap: balance; font-size: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; margin: 0; overflow-wrap: anywhere; }
.contact-tiles a:hover { color: var(--cta); }
.contact-split { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-split { grid-template-columns: 1fr 1.2fr; } }
.map-card { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--radius); color: #fff; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(600px 300px at 80% 0%, rgba(0,112,192,.5), transparent 60%), linear-gradient(160deg, var(--navy), var(--brand)); box-shadow: var(--shadow-lg); }
.map-card h3 { color: #fff; font-size: 1.5rem; margin: 1rem 0 .75rem; }
.map-card p { color: #c9d6ec; margin: .75rem 0 0; }
.map-cities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.map-cities li { padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 600; }
.map-card.map-live { padding: 0; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(800px 300px at 50% 120%, rgba(0,112,192,.45), transparent 70%), var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6ec; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s5); }

/* ---------- Footer ---------- */
.site-footer { background: #071a36; color: #b9c6db; padding: clamp(3rem, 6vw, 4rem) 0 1.5rem; font-size: .97rem; }
.site-footer a { color: #e4ebf7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-family: var(--font); font-style: normal; font-size: .95rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-logo { width: 168px; height: auto; background: #fff; border-radius: 12px; padding: .5rem .7rem; margin-bottom: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; color: #8ea0bb; }

/* phones: service cards as compact rows (icon left) so four services don't take four screens */
@media (max-width: 639px) {
  .svc { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; }
  .svc .chip { grid-row: span 3; align-self: start; margin: 0; width: 44px; height: 44px; }
  .svc p { margin-bottom: .75rem; font-size: .95rem; }
  .svc-grid { gap: .9rem; }
}

/* ---------- Packages, plans, offers (Pricing page) ---------- */
.pkg-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }
.pkg-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.pkg-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.pkg-blurb { color: var(--muted); font-size: .97rem; margin-bottom: 1.1rem; }
.pkg-card .checklist { margin-bottom: 1.25rem; font-size: .97rem; }
.pkg-price { margin: auto 0 .9rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.pkg-popular { border: 2px solid var(--cta); box-shadow: var(--shadow-lg); }
@media (min-width: 1100px) { .pkg-popular { translate: 0 -8px; } }
.pkg-badge { position: absolute; top: -.8rem; left: 1.5rem; padding: .3rem .8rem; border-radius: 999px; background: var(--cta); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.bundle-line { display: flex; align-items: center; gap: .7rem; margin: var(--s6) 0 0; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--stone-light); color: var(--navy); }
.bundle-line .icon { color: var(--cta); flex: none; width: 1.3em; height: 1.3em; }
.more-panel .bundle-line { margin: 0 0 var(--s5); }
.plan-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
.plan-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.plan-card p { color: var(--muted); font-size: .97rem; }
.plan-card .btn { margin-top: auto; }
.plan-save { color: var(--cta) !important; font-weight: 700; margin-bottom: .6rem; }
.plan-card-featured { border: 2px solid var(--cta); box-shadow: var(--shadow-lg); }
.save-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .save-grid { grid-template-columns: 1fr 1fr; } .save-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.save-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.save-card .chip { margin-bottom: 1rem; }
.save-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.save-card p { color: var(--muted); margin-bottom: 1.1rem; }
.save-card .btn, .save-card .arrow-link { margin-top: auto; }
.svc-more { margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; color: var(--muted); text-align: center; }
.more-panel { display: grid; gap: 2rem; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .more-panel { grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; } }
.more-panel h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.extra-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.extra-chips li { padding: .45rem .9rem; border-radius: 999px; background: var(--stone-light); color: var(--navy); font-weight: 600; font-size: .93rem; }
.owner-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.owner-mini > span { display: grid; line-height: 1.3; }
.owner-visual.has-photo { aspect-ratio: 4 / 5; }

/* ---------- Quote form: choices ---------- */
fieldset { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
legend { display: block; font-weight: 700; color: var(--navy); font-size: .97rem; margin-bottom: .55rem; padding: 0; }
legend .optional { font-weight: 500; }
.choice input, .pill-choice input, .check-line input { width: auto; min-height: 0; padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice-row legend { width: 100%; }
.pill-choice { margin: 0; font-weight: 600; cursor: pointer; }
.pill-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pill-choice span { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid #b9c6d2; background: #fbfcfd; transition: border-color .15s, background .15s, color .15s; }
.pill-choice input:checked + span { border-color: var(--cta); background: #e8f2fb; color: var(--navy); box-shadow: inset 0 0 0 1px var(--cta); }
.pill-choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pkg-choices, .check-grid { display: grid; gap: .55rem; }
@media (min-width: 520px) { .pkg-choices, .check-grid { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: .7rem; margin: 0; padding: .7rem .9rem; min-height: 50px; border: 1.5px solid #c9d4de; border-radius: 10px; background: #fbfcfd; font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #9fb3c4; }
.choice input { flex: none; width: 1.15rem; height: 1.15rem; accent-color: var(--cta); margin: 0; }
.choice:has(input:checked) { border-color: var(--cta); background: #eef6fc; }
.choice .tag { font-style: normal; font-size: .75rem; font-weight: 700; color: #fff; background: var(--cta); padding: .1rem .45rem; border-radius: 999px; margin-left: .3rem; white-space: nowrap; }
.bundle-hint { display: flex; align-items: center; gap: .5rem; margin: .7rem 0 0; font-size: .92rem; color: var(--muted); transition: color .2s; }
.bundle-hint .icon { color: var(--cta); flex: none; }
.bundle-hint.nudge { color: var(--navy); font-weight: 700; }
.check-line { display: flex; align-items: flex-start; gap: .7rem; margin: 0 0 1.25rem; font-weight: 500; font-size: .93rem; color: var(--muted); cursor: pointer; }
.check-line input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--cta); }
.repeat-banner { padding: .85rem 1rem; border-radius: var(--radius-sm); background: #e8f2fb; color: var(--navy); font-weight: 600; margin-bottom: 1.25rem; }
.mini-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.mini-list li { position: relative; padding-left: 1.2rem; margin-bottom: .45rem; color: var(--muted); font-size: .95rem; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--cta); }
.success-extras { text-align: left; margin: 1.25rem auto 0; max-width: 520px; display: grid; gap: .6rem; }
.success-extras p { margin: 0; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: .95rem; }
@media (max-width: 519px) {
  #addon-choices { grid-template-columns: 1fr 1fr; gap: .45rem; }
  #addon-choices .choice { padding: .55rem .65rem; gap: .5rem; font-size: .86rem; min-height: 48px; line-height: 1.25; }
  .pill-choice span { padding: .5rem .85rem; font-size: .93rem; }

}
.owner-visual.has-photo .owner-photo { object-position: 50% 30%; }

/* ---------- Polish pass ---------- */
p, li { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 var(--s4); padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #e6eefa; font-size: .88rem; font-weight: 600; letter-spacing: .01em; }
.eyebrow .icon { color: #8fd3f5; width: 1em; height: 1em; }
@media (max-width: 599px) {
  .eyebrow { font-size: .8rem; }
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter, 1.25rem)); padding-right: var(--gutter, 1.25rem); padding-bottom: .25rem; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { white-space: nowrap; }
}

/* ==========================================================
   MOTION (all off for people who ask for reduced motion)
   ========================================================== */
.hero-inner { translate: 0 var(--py, 0px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .hero-inner > :nth-child(5) { animation-delay: .32s; }
  .hero-proof { animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both; }
  /* Two wave layers drift at different speeds, opposite directions (seamless loop: each path repeats every half width) */
  .wave-front { animation: drift 18s linear infinite; }
  .wave-back { animation: drift 30s linear infinite reverse; }
  .hero-badges .icon { stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .9s ease-out .7s forwards; }
  .hero-badges li:nth-child(2) .icon { animation-delay: .85s; }
  .hero-badges li:nth-child(3) .icon { animation-delay: 1s; }

  /* Scroll reveal (only when JS runs) */
  .js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s; transition-delay: var(--d, 0s); }
  .js-motion .reveal.in { opacity: 1; transform: none; }

  /* Steps light up 1-2-3 (delay set in main.js) */
  .js-motion .steps .reveal::before { background: var(--stone); scale: .6; transition: scale .45s cubic-bezier(.3,1.6,.5,1), background .3s ease; transition-delay: calc(var(--d, 0s) + .15s); }
  .js-motion .steps .reveal.in::before { background: var(--brand); scale: 1; animation: glow 1s ease-out both; animation-delay: calc(var(--d, 0s) + .3s); }

  /* Hover lift */
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: none; }
  .svc:hover, .js-motion .svc.reveal.in:hover,
  .factor-grid li:hover, .js-motion .factor-grid li.reveal.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .factor-grid li { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
  .svc:hover .arrow-link .icon { transform: translateX(4px); }
  .arrow-link .icon { transition: transform .2s ease; }

  .faq-item[open] .faq-answer { animation: fadeDown .35s ease; }
  .mobile-bar { animation: slideUp .5s ease .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes bob { to { transform: translateY(6px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(0,112,192,.55), 0 0 0 6px var(--bg-alt); } 100% { box-shadow: 0 0 0 14px rgba(0,112,192,0), 0 0 0 6px var(--bg-alt); } }

/* About page: co-founder section (photo left on desktop, heading first on phones) */
.team-grid .prose { order: -1; }
@media (min-width: 900px) { .team-grid { grid-template-columns: .9fr 1.3fr; } .team-grid .prose { order: 0; } }
