/* Soram Nexus public site. Light theme only. Admin pages keep style.css. */

/* Fonts (SIL Open Font License, self-hosted so the CSP can stay 'self'-only). */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("fonts/sora-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/publicsans-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/publicsans-latin-italic.woff2") format("woff2"); }

:root {
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --surface: #ffffff;
  --ink: #0b1640;          /* navy, from the logo */
  --text: #1d2645;
  --muted: #5a6380;
  --line: #e2ddd1;
  --line-2: #d6d0c2;
  --blue: #1f3fcf;         /* royal blue, from the logo */
  --blue-deep: #1731a8;
  --blue-soft: #e5e9fb;
  --blue-mist: #d6ddfa;
  --gold: #e3b04b;
  --gold-deep: #8a5d07;    /* gold that passes contrast on light backgrounds */
  --gold-soft: #f8ecd0;
  --ok: #1f7a4d;
  --error: #b42318;

  --font-display: "Sora", "Avenir Next", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 64, .06), 0 2px 8px rgba(11, 22, 64, .05);
  --shadow: 0 2px 4px rgba(11, 22, 64, .05), 0 12px 32px rgba(11, 22, 64, .09);
  --shadow-lg: 0 4px 10px rgba(11, 22, 64, .06), 0 24px 60px rgba(11, 22, 64, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Clip decorative overflow (slanted strip, floating cards) without creating a scroll container,
   so sticky elements inside still work. Older browsers fall back to hidden. */
main { overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 6.4vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

.eyebrow {
  font: 700 .78rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-gold { color: var(--gold); }
.nowrap, a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 420px) { .eyebrow { letter-spacing: .1em; gap: 8px; } .eyebrow::before { width: 16px; } }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 6px 18px rgba(31, 63, 207, .28); }
.btn-primary:hover { --bg: var(--blue-deep); box-shadow: 0 10px 26px rgba(31, 63, 207, .34); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn-ghost:hover { --bd: var(--ink); --bg: var(--surface); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 6px 18px rgba(227, 176, 75, .3); }
.btn-gold:hover { --bg: #edc066; }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ------------------------------------------------------------------ Nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 245, 240, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: rgba(11, 22, 64, .08); box-shadow: 0 6px 24px rgba(11, 22, 64, .06);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-word { font: 600 .98rem/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.brand-word b { font-weight: 600; color: var(--blue); }
.nav-links { display: none; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 2px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-phone svg { color: var(--blue); }
.nav-phone span, .nav-cta { display: none; }
.nav-phone { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-2); }
@media (min-width: 720px) {
  .nav-cta { display: inline-flex; }
}
@media (min-width: 1040px) {
  .nav-links { display: flex; gap: 26px; }
  .nav-phone { width: auto; height: auto; border: 0; border-radius: 0; }
  .nav-phone span { display: inline; }
}
@media (min-width: 720px) and (max-width: 1039.98px) {
  .nav-phone span { display: inline; }
  .nav-phone { width: auto; height: auto; border: 0; }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding: 28px 0 56px; }
.hero::before { /* soft paper glow behind the copy */
  content: ""; position: absolute; inset: -64px 0 auto; height: 520px; z-index: -1;
  background: radial-gradient(60% 70% at 15% 30%, #fff 0%, rgba(255, 255, 255, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { max-width: 660px; }
.lead { font-size: clamp(1.06rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 34em; }
.mark-word { position: relative; white-space: nowrap; color: var(--blue); }
.mark-word::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .2em; z-index: -1;
  background: var(--gold); border-radius: 4px; opacity: .85;
  transform-origin: left center; transform: scaleX(1) skewX(-12deg);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; flex-direction: column; gap: 8px 22px; font-size: .95rem; color: var(--muted); }
.hero-facts li { position: relative; padding-left: 26px; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-4.9' fill='none' stroke='%231f3fcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.hero-visual { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 520 / 560; }
.layer { position: absolute; inset: 0; will-change: transform; }
.hero-shapes { width: 100%; height: 100%; overflow: visible; }
.hero-shapes .blob { fill: var(--blue-soft); }
.hero-shapes .ring { fill: none; stroke: var(--gold); stroke-width: 10; opacity: .9; }
.hero-shapes .dot { fill: var(--blue); opacity: .28; }
.hero-shapes .net path { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: .35; }
.hero-shapes .net circle { fill: var(--blue); opacity: .55; }
.hero-photo {
  position: absolute; margin: 0; left: 15%; top: 6%; width: 70%; height: 86%;
  border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--ink);
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.float-card {
  position: absolute; background: rgba(255, 255, 255, .94); border-radius: var(--r);
  box-shadow: var(--shadow); border: 1px solid rgba(11, 22, 64, .06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .78rem; color: var(--text);
}
.fc-statement { left: 0; bottom: 10%; width: 56%; max-width: 250px; padding: 12px 14px 12px; rotate: -3deg; }
.fc-label { font: 700 .66rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.fc-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0; border-top: 1px dashed var(--line); }
.fc-row span { font-weight: 600; color: var(--ink); white-space: nowrap; }
.fc-hl { margin: 2px -8px 0; padding: 7px 8px; border-radius: 8px; background: var(--gold-soft); border-top-color: transparent; }
.tag { font-style: normal; font: 700 .62rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; }
.tag-fixed { background: var(--paper-2); color: var(--muted); }
.tag-neg { background: var(--gold); color: var(--ink); }
.fc-hand, .fc-lock { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; }
.fc-hand b, .fc-lock b { display: block; color: var(--ink); font-size: .82rem; line-height: 1.25; }
.fc-hand small, .fc-lock small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.fc-hand { right: 0; top: 14%; rotate: 3deg; }
.fc-lock { right: 4%; bottom: 2%; rotate: -2deg; }
.fc-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; }
.fc-ico-navy { background: var(--ink); color: var(--gold); }

@media (min-width: 560px) {
  .float-card { font-size: .85rem; }
  .fc-hand b, .fc-lock b { font-size: .9rem; }
  .fc-hand small, .fc-lock small { font-size: .78rem; }
}
@media (min-width: 960px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-facts { flex-direction: row; }
  .fc-statement { left: -6%; }
  .fc-hand { right: -4%; }
}

/* Hero entrance (only when JS runs and motion is allowed) */
.js .hero-in { animation: rise .8s var(--ease) both; }
.js .hero-in:nth-child(2) { animation-delay: .08s; }
.js .hero-in:nth-child(3) { animation-delay: .16s; }
.js .hero-in:nth-child(4) { animation-delay: .24s; }
.js .hero-in:nth-child(5) { animation-delay: .32s; }
.js .mark-word::after { animation: draw 1s .55s var(--ease) both; }
.js .float-card { animation: pop .9s var(--ease) both; }
.js .fc-statement { animation-delay: .35s; }
.js .fc-hand { animation-delay: .5s; }
.js .fc-lock { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { transform: scaleX(0) skewX(-12deg); } to { transform: scaleX(1) skewX(-12deg); } }
@keyframes pop { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
/* Gentle idle float uses `translate`, so it never fights the parallax `transform` on the layer. */
.js .fc-hand { animation: pop .9s .5s var(--ease) both, bob 6s 1.4s ease-in-out infinite; }
.js .fc-lock { animation: pop .9s .65s var(--ease) both, bob 7s 1.6s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ------------------------------------------------------------------ Slanted strip */
.strip { position: relative; z-index: 2; background: var(--ink); color: #fff; padding: 16px 0; rotate: -2deg; margin: 0 -4vw; overflow: hidden; box-shadow: 0 12px 30px rgba(11, 22, 64, .18); }
.strip-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-list { display: flex; list-style: none; flex: none; }
.strip-list li { font: 600 1rem/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.strip-list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-left: 22px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ Sections */
.section { padding: 80px 0; position: relative; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-sub { font-size: 1.08rem; color: var(--muted); margin: 0; }
@media (min-width: 960px) { .section { padding: 112px 0; } .section-head { margin-bottom: 56px; } }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; counter-reset: none; }
.step-card {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 28px 24px 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.step-card:hover, .tile:hover, .why:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: 20px; right: 22px; font: 800 3.2rem/1 var(--font-display); color: var(--blue-soft);
  letter-spacing: -.04em;
}
.step-art { width: 120px; height: 80px; margin-bottom: 18px; }
.step-art svg { width: 100%; height: 100%; overflow: visible; }
.a-paper { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.a-line { stroke: var(--line-2); stroke-width: 4; stroke-linecap: round; fill: none; }
.a-blue { fill: var(--blue); }
.a-white { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.a-lens { fill: rgba(229, 233, 251, .7); stroke: var(--blue); stroke-width: 4; }
.a-handle { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.a-gold { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.a-fixed { fill: var(--line-2); }
.a-check { stroke: var(--ok); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step-card p { color: var(--muted); margin: 0; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .step-card::after { /* connector between steps */
    content: ""; position: absolute; top: 66px; right: -22px; width: 22px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
  }
  .step-card:last-child::after { display: none; }
}

/* Bento: service cards, featured card spans two rows */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile {
  background: var(--surface); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile h3 { margin: 14px 0 6px; }
.tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.tile-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-ico { background: var(--blue); color: #fff; }
.tile-ico { transition: background-color .25s, color .25s; }
.tile-wide { display: flex; gap: 18px; align-items: flex-start; }
.tile-wide h3 { margin-top: 0; }
.tile-feature {
  position: relative; overflow: hidden; background: var(--ink); color: #c9d2f2; border-color: var(--ink);
  padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start;
}
.tile-feature h3 { color: #fff; font-size: 1.6rem; margin: 0 0 12px; }
.tile-feature p { color: #c9d2f2; font-size: 1.02rem; }
.tile-feature .btn { margin-top: 22px; position: relative; z-index: 1; }
.feature-art { position: absolute; right: -28px; bottom: -30px; width: 160px; opacity: .12; pointer-events: none; }
.tile-feature .eyebrow { margin-bottom: 18px; }
.fa-paper { fill: none; stroke: #fff; stroke-width: 3; }
.fa-line { stroke: #fff; stroke-width: 5; stroke-linecap: round; }
.fa-gold { fill: var(--gold); }
.fa-check { stroke: var(--ink); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tick-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.tick-list li { position: relative; padding-left: 28px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-4.9' fill='none' stroke='%230b1640' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-feature { grid-column: 1 / -1; }
  .tile-wide { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tile-feature { grid-column: 1; grid-row: 1 / span 2; }
  .tile-wide { grid-column: auto; display: block; }
  .tile-wide h3 { margin-top: 14px; }
}

/* Industries gallery */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-item {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 22, 64, 0) 45%, rgba(11, 22, 64, .82) 100%); }
.g-label {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff;
  font: 600 .95rem/1.2 var(--font-display); letter-spacing: -.005em;
}
.g-label::before { content: ""; display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 8px; transition: width .35s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover .g-label::before { width: 40px; }
.g-cafe img, .g-laundromat img, .g-medical img { object-position: 40% 50%; }
.g-restaurant { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-note { margin: 28px 0 0; color: var(--muted); }
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px;
    grid-template-areas:
      "rest cafe retail"
      "rest auto retail"
      "dent eye  med"
      "laun laun salon";
  }
  .g-item { aspect-ratio: auto; }
  .g-label { font-size: 1.05rem; left: 18px; bottom: 16px; }
}
@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px;
    grid-template-areas:
      "rest rest cafe cafe"
      "rest rest auto retail"
      "dent eye  med  retail"
      "laun laun salon salon";
  }
}
@media (min-width: 760px) {
  .g-restaurant { grid-area: rest; } .g-cafe { grid-area: cafe; } .g-retail { grid-area: retail; }
  .g-auto { grid-area: auto; } .g-dental { grid-area: dent; } .g-eye-care { grid-area: eye; }
  .g-medical { grid-area: med; } .g-laundromat { grid-area: laun; } .g-salon { grid-area: salon; }
}

/* Why me */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.why {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why p { color: var(--muted); margin: 0; font-size: .97rem; }
.why-art { width: 96px; height: 72px; margin-bottom: 14px; }
.why-art svg { width: 100%; height: 100%; }
.w-card { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 2.5; }
.w-check { stroke: var(--blue); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.w-fixed { fill: var(--line-2); }
.w-blue { fill: var(--blue); }
.w-gold { stroke: var(--gold); stroke-width: 5; }
.w-white { fill: #fff; }
.w-navy { fill: var(--ink); }
.w-check-w { stroke: var(--gold); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.about {
  margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
  background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 28px 24px; position: relative; overflow: hidden;
}
.about::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--blue), var(--gold)); }
.about-mark { display: flex; align-items: center; gap: 18px; }
.about-mark img { width: 72px; height: 72px; flex: none; }
.about-def { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.about-def b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.about-copy h3 { font-size: 1.6rem; }
.about-copy em { color: var(--blue); font-style: italic; }
.about-sign { font: 600 1rem/1.3 var(--font-display); color: var(--ink); margin: 18px 0 0; display: flex; align-items: center; gap: 12px; }
.about-sign::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
@media (min-width: 860px) {
  .about { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); padding: 48px; gap: 48px; align-items: center; }
  .about-mark { flex-direction: column; align-items: flex-start; }
  .about-mark img { width: 120px; height: 120px; }
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.quote-mark { width: 40px; height: 32px; fill: var(--gold); margin-bottom: 16px; }
.quote blockquote { margin: 0; font: 500 1.2rem/1.5 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: 18px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); }
.quotes-single { max-width: 820px; }
.quotes-single .quote blockquote { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
@media (min-width: 860px) { .quotes:not(.quotes-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ Review form */
/* clip-path (not overflow) clips the glow without creating a scroll container, so the sticky intro works. */
.section-form { background: var(--ink); color: #c9d2f2; clip-path: inset(0); }
.section-form::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 63, 207, .55), rgba(31, 63, 207, 0) 70%); pointer-events: none; }
.form-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.form-intro h2 { color: #fff; }
.form-intro p { color: #c9d2f2; }
.form-intro .tick-list { margin: 22px 0 26px; }
.form-alt { font-weight: 600; }
.form-alt a { color: var(--gold); }
.form-alt a:hover { color: #f2cd7c; }
.form-card { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
@media (min-width: 960px) {
  .form-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; }
  .form-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
  .form-card { padding: 32px; }
}

/* Wizard (markup and class names are driven by app.js; keep them stable) */
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .8rem; color: var(--muted); }
.progress li { flex: 1; padding-top: 8px; border-top: 4px solid var(--line); transition: border-color .3s; }
.progress li.active { border-color: var(--blue); color: var(--ink); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 700 1.25rem/1.25 var(--font-display); color: var(--ink); margin-bottom: 14px; padding: 0; letter-spacing: -.01em; }
.form-card label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--ink); }
.form-card input[type="text"] {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.form-card input[type="text"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.choices { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.choice { margin: 0 !important; font-weight: 500 !important; cursor: pointer; }
.choice:last-child { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .95rem; transition: border-color .2s, background-color .2s; }
.choice:hover span { border-color: var(--line-2); background: #fff; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hint { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.dropzone {
  display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 28px 16px; margin: 0 !important; border: 2px dashed var(--line-2); border-radius: var(--r);
  background: var(--paper); cursor: pointer; color: var(--blue); transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: var(--blue-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dz-title { font-weight: 700; color: var(--blue); }
.dz-sub { font-weight: 400; font-size: .85rem; color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .95rem; }
.file-list li { padding: 8px 12px; background: var(--blue-soft); border-radius: 8px; margin-top: 6px; overflow-wrap: anywhere; }
.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.secure-note svg { flex: none; margin-top: 2px; color: var(--ok); }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; margin-top: 16px; font: inherit; font-size: .9rem; color: var(--muted); text-decoration: underline; cursor: pointer; text-align: left; }
.upload-progress { margin-top: 16px; }
.upload-progress .bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.upload-progress .bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s; }
.form-error { color: var(--error); font-weight: 600; margin: 14px 0 0; }
.done { text-align: center; padding: 12px 0; }
.done h2 { font-size: 1.6rem; }
.done-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, #2d55e6); color: #dfe5fb; padding: 88px 0; text-align: center; }
.cta-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; }
.cta-net path { fill: none; stroke: #fff; stroke-width: 1.5; }
.cta-net circle { fill: var(--gold); }
.cta-inner { position: relative; max-width: 760px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
.cta-band p { font-size: 1.12rem; color: #dfe5fb; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-band .btn-gold { box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }

/* ------------------------------------------------------------------ Footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 calc(24px + var(--bar-h)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 34em; margin-top: 14px; }
.footer-h { font: 700 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.footer-list { list-style: none; display: grid; gap: 10px; color: var(--muted); }
.footer-list a { color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--blue); text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-base p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

/* ------------------------------------------------------------------ Mobile bottom bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(247, 245, 240, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(11, 22, 64, .1); box-shadow: 0 -8px 24px rgba(11, 22, 64, .08);
  transition: translate .35s var(--ease);
}
.mobile-bar .btn-primary { flex: 1 1 auto; }
.mobile-bar .btn-ghost { flex: 0 0 auto; background: #fff; }
.mobile-bar.is-hidden { translate: 0 110%; }
@media (max-width: 719.98px) {
  :root { --bar-h: calc(68px + env(safe-area-inset-bottom)); }
}
@media (min-width: 720px) { .mobile-bar { display: none; } }

/* ------------------------------------------------------------------ Prose pages (privacy) */
.page-prose { max-width: 760px; padding-top: 32px; padding-bottom: 80px; }
.page-prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.page-prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.page-prose ul { padding-left: 1.2em; }
.page-prose li { margin: .4em 0; }

/* ------------------------------------------------------------------ Scroll reveal */
/* Hidden only when JS is running; uses `translate` so card hover `transform` still works. */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ Reduced motion: everything static and visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .layer { transform: none !important; will-change: auto; }
  .strip-track { transform: none; }
  .step-card:hover, .tile:hover, .why:hover, .btn:hover, .g-item:hover img { transform: none; }
}
