/* ============================================================
   학우너 — components.css
   Nav, hero, phone mockup, feature/section blocks, forms, footer
   ============================================================ */

/* ---------- Section order (Tweaks) ---------- */
main { display: flex; flex-direction: column; }
main > * { order: 2; }
main > .hero { order: 0; }
main > .strip { order: 1; }
[data-order="director"] main > #director { order: 1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800;
  box-shadow: var(--sh-brand);
}
.brand .logo svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a {
  font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--brand-tint); color: var(--brand-700); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 15px; font-weight: 650; color: var(--ink-2); padding: 9px 6px; }
.nav-login:hover { color: var(--brand); }
.nav-burger { display: none; }
.nav-burger .ic-x { display: none; }
@media (max-width: 920px){
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
  .nav-burger.open .ic-bars { display: none; }
  .nav-burger.open .ic-x { display: block; }
}
/* phones: drop the inline header CTA button — it duplicates the sticky bottom bar.
   Rely on burger + menu + bottom bar so the top-right stays a single clean action. */
@media (max-width: 640px){
  .nav-cta-btn { display: none; }
  .nav-inner { gap: 12px; }
}

/* ---------- Mobile slide-down menu ---------- */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  padding: 14px 22px calc(20px + env(safe-area-inset-bottom));
  transform-origin: top;
  animation: mmIn .26s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.02em;
  padding: 15px 12px; border-radius: var(--r-sm); transition: background .15s, color .15s;
  display: flex; align-items: center; justify-content: space-between;
}
.mm-links a::after { content:"›"; color: var(--ink-3); font-weight: 600; }
.mm-links a:active, .mm-links a:hover { background: var(--brand-tint); color: var(--brand-700); }
.mm-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(20,33,27,.36);
  backdrop-filter: blur(1.5px); animation: fadeScrim .26s var(--ease);
}
.nav-scrim[hidden] { display: none; }
@keyframes fadeScrim { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Mobile sticky bottom CTA bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(20,33,27,.18);
  transform: translateY(0);
  transition: transform .32s var(--ease);
}
.mbar.hidden { transform: translateY(120%); }
.mbar-login {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; flex: none; min-width: 64px; min-height: 48px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-2); padding: 4px 8px;
}
.mbar-login svg { width: 21px; height: 21px; color: var(--brand); }
.mbar-cta { flex: 1; min-height: 50px; padding: 15px 20px; }
@media (max-width: 640px){
  .mbar { display: flex; }
  /* leave room for the sticky bar (incl. Android/iOS home-indicator safe area)
     so the last section is never hidden behind it */
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; max-width: 860px; margin-inline: auto; }
[data-hero="centered"] .hero-art { display: none; }
[data-hero="centered"] .hero-cta, [data-hero="centered"] .hero-stats, [data-hero="centered"] .hero-note { justify-content: center; }
[data-hero="centered"] .hero-trust { justify-content: center; }
[data-hero="reverse"] .hero-grid { direction: rtl; }
[data-hero="reverse"] .hero-copy, [data-hero="reverse"] .hero-art { direction: ltr; }

.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .ln { display: block; }
.hero .lead { margin-top: 22px; max-width: 33ch; }
[data-hero="centered"] .hero .lead { max-width: 52ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
/* short helper line that replaces the long "로그인 없이 전체 기능 둘러보기" button copy */
.hero-cta-note { margin: 12px 2px 0; max-width: 42ch; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); word-break: keep-all; }
[data-hero="centered"] .hero-cta-note { margin-inline: auto; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero-note svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .ht { }
.hero-trust .ht b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.hero-trust .ht span { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.hero-trust .ht b .u { color: var(--brand); }

/* ---------- Phone mockup ---------- */
.hero-art { position: relative; z-index: 2; display: grid; place-items: center; }
.phone {
  position: relative; width: 318px; aspect-ratio: 318/650;
  background: #0d0f0e; border-radius: 46px; padding: 11px;
  box-shadow: 0 50px 80px -30px rgba(7,61,41,.5), 0 18px 40px rgba(20,33,27,.18), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone::after { /* notch */
  content:""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 27px; background: #0d0f0e; border-radius: 16px; z-index: 6;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column;
}
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.ps-status .sig { display: inline-flex; gap: 4px; align-items: center; }
.ps-status .sig svg { width: 15px; height: 15px; }
.ps-head { padding: 6px 18px 12px; }
.ps-head .loc { font-size: 12px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ps-head .loc svg { width: 13px; height: 13px; color: var(--brand); }
.ps-head h4 { font-size: 19px; font-weight: 800; margin-top: 5px; letter-spacing: -.03em; }
.ps-search {
  margin: 4px 18px 12px; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border-radius: 14px; padding: 11px 14px; box-shadow: var(--sh-sm); border: 1px solid var(--line);
}
.ps-search svg { width: 17px; height: 17px; color: var(--ink-3); }
.ps-search span { font-size: 13px; color: var(--ink-3); }
.ps-filters { display: flex; gap: 7px; padding: 0 18px 12px; overflow: hidden; }
.ps-filters .f { font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.ps-filters .f.on { background: var(--brand); color: #fff; }
.ps-filters .f.off { background: var(--surface-2); color: var(--ink-2); }
.ps-list { flex: 1; overflow: hidden; padding: 0 14px; display: flex; flex-direction: column; gap: 9px; }
.ac-card { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: var(--sh-sm); border: 1px solid var(--line); display: flex; gap: 11px; }
.ac-thumb { width: 52px; height: 52px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 22px; color: #fff; }
.ac-body { flex: 1; min-width: 0; }
.ac-top { display: flex; align-items: center; gap: 6px; }
.ac-top .vrf { font-size: 9.5px; font-weight: 800; color: var(--brand-700); background: var(--brand-tint); padding: 2px 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }
.ac-name { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.ac-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.ac-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ac-rate { font-size: 12px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 3px; }
.ac-rate svg { width: 13px; height: 13px; color: var(--accent); }
.ac-price { font-size: 13px; font-weight: 800; color: var(--brand-700); }
.ps-tabbar { display: flex; justify-content: space-around; padding: 10px 16px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.ps-tabbar .tb { display: grid; place-items: center; gap: 3px; font-size: 9.5px; font-weight: 600; color: var(--ink-3); }
.ps-tabbar .tb svg { width: 20px; height: 20px; }
.ps-tabbar .tb.on { color: var(--brand); }

/* floating accent cards behind/around phone */
.hero-float { position: absolute; z-index: 3; background: var(--surface); border-radius: 16px; box-shadow: var(--sh-lg); padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); }
.hero-float .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hero-float b { font-size: 14.5px; font-weight: 800; display: block; letter-spacing: -.02em; }
.hero-float span { font-size: 11.5px; color: var(--ink-3); }
.hf-1 { top: 16%; left: -6%; }
.hf-2 { bottom: 13%; right: -8%; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); z-index: 0; }

@media (max-width: 860px){
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { max-width: 52ch; margin-inline: auto; }
  .hero-cta, .hero-note, .hero-trust { justify-content: center; }
  .hero-cta-note { margin-inline: auto; text-align: center; }
  .hero-art { margin-top: 46px; }
  .hf-1 { left: 2%; } .hf-2 { right: 2%; }
}
/* Phones: never force two CTAs onto one row — stack them full-width so long
   Korean labels can't overflow or collide. 48px+ tap targets, ~10px gap. */
@media (max-width: 640px){
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; min-width: 0; min-height: 52px; }
  .hero-trust { gap: 18px 26px; }
  /* tighten hero title so 2 short lines don't sprawl into 3 heavy lines */
  .hero .h-display { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.16; }
  .hero .lead { font-size: 16.5px; line-height: 1.55; max-width: 30ch; }
}
/* Scale the phone mockup down so it never overflows narrow screens */
@media (max-width: 380px){
  .phone { width: min(290px, 84vw); }
  .hf-1 { left: -2%; } .hf-2 { right: -2%; }
  .hero-float b { font-size: 13px; } .hero-float span { font-size: 11px; }
  .hero .h-display { font-size: clamp(29px, 8.4vw, 33px); }
}

/* ---------- Logos / marquee strip ---------- */
.strip { padding: 26px 0; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.strip-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.strip .lbl { font-size: 13px; color: var(--ink-3); font-weight: 600; font-family: var(--font-mono); letter-spacing: .04em; }

/* ---------- Section header ---------- */
.sec-head { max-width: 720px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: 16px; }
.sec-head p { margin-top: 16px; }

/* ---------- Problem section ---------- */
.problem { background: var(--ink); color: var(--paper); border-radius: var(--r-xl); overflow: hidden; position: relative; }
[data-theme="dark"] .problem { background: #06120C; box-shadow: inset 0 0 0 1px var(--line); }
.problem .wrap { position: relative; z-index: 2; }
.problem .eyebrow { color: var(--accent); }
.problem h2 { color: #fff; }
.problem .lead { color: rgba(255,255,255,.74); }
.problem-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.myth-list { display: flex; flex-direction: column; gap: 14px; }
.myth {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-md);
}
.myth .x { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(232,150,74,.16); color: var(--accent); }
.myth .x svg { width: 16px; height: 16px; }
.myth b { font-size: 16.5px; font-weight: 750; color: #fff; }
.myth p { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 3px; }
.problem-after { background: linear-gradient(155deg, var(--brand) 0%, var(--brand-700) 100%); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-lg); }
.problem-after .tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.8); }
.problem-after h3 { color: #fff; font-size: clamp(22px,2.6vw,30px); margin-top: 10px; }
.problem-after ul { margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.problem-after li { display: flex; align-items: flex-start; gap: 11px; color: rgba(255,255,255,.94); font-size: 15.5px; font-weight: 550; }
.problem-after li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: #fff; }
@media (max-width: 800px){ .problem-grid { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--brand-300); }
.feat .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-700); margin-bottom: 22px; }
.feat .ic svg { width: 28px; height: 28px; }
.feat:nth-child(2) .ic { background: var(--accent-soft); color: var(--accent); }
.feat h3 { font-size: 21px; font-weight: 800; }
.feat p { margin-top: 11px; color: var(--ink-2); font-size: 15.5px; line-height: 1.62; }
.feat .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--line-2); }
.feat ul { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.feat ul li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.feat ul li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
@media (max-width: 800px){ .feat-grid { grid-template-columns: 1fr; } }

/* ---------- ERP connect diagram ---------- */
.erp { background: var(--brand-tint); border-radius: var(--r-xl); }
[data-theme="dark"] .erp { background: var(--surface-2); }
.erp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,64px); align-items: center; }
.erp-diagram { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.erp-node { background: var(--surface); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--sh-md); border: 1px solid var(--line); text-align: center; }
.erp-node .av { width: 50px; height: 50px; border-radius: 14px; margin: 0 auto 12px; display: grid; place-items: center; color: #fff; }
.erp-node h4 { font-size: 16px; font-weight: 800; }
.erp-node p { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.erp-node ul { margin-top: 13px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.erp-node ul li { font-size: 12px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.erp-node ul li::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: none; }
.erp-link { display: grid; place-items: center; }
.erp-link .sync { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-md); display: grid; place-items: center; color: var(--brand); border: 1px solid var(--line); }
.erp-link .sync svg { width: 22px; height: 22px; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.erp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.erp-feats .ef { display: flex; gap: 11px; align-items: flex-start; }
.erp-feats .ef .i { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--brand); flex: none; box-shadow: var(--sh-sm); }
.erp-feats .ef .i svg { width: 17px; height: 17px; }
.erp-feats .ef b { font-size: 14.5px; font-weight: 750; display: block; }
.erp-feats .ef span { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 800px){ .erp-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px){ .erp-diagram { grid-template-columns: 1fr; } .erp-link .sync svg { transform: rotate(90deg); } }

/* ---------- Stats / trust band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(34px,4.4vw,54px); font-weight: 850; letter-spacing: -.04em; color: var(--brand); font-family: var(--font-mono); }
.stat span { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
@media (max-width: 700px){ .stats-band { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.review .stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 14px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 15.5px; color: var(--ink); line-height: 1.62; font-weight: 500; flex: 1; }
.review .who { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
.review .who .pf { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.review .who b { font-size: 14px; font-weight: 750; display: block; }
.review .who span { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 860px){ .reviews { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.feature { border: 2px solid var(--brand); box-shadow: var(--sh-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 15px; border-radius: 999px; white-space: nowrap; }
.plan .pname { font-size: 17px; font-weight: 800; }
.plan .pdesc { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; min-height: 38px; }
.plan .pprice { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.plan .pprice .amt { font-size: 38px; font-weight: 850; letter-spacing: -.04em; }
.plan .pprice .per { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.plan ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); align-items: flex-start; }
.plan ul li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }
.price-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px){ .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* ---------- Forms / split CTA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,64px); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }

.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px,3vw,40px); box-shadow: var(--sh-lg); }
.formcard h3 { font-size: 23px; font-weight: 800; }
.formcard .fsub { color: var(--ink-3); font-size: 14.5px; margin-top: 6px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper);
  border: 1.5px solid var(--line-2); font-size: 15.5px; transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); background: var(--surface); }
.field.invalid input, .field.invalid select { border-color: #D6452F; box-shadow: 0 0 0 4px rgba(214,69,47,.12); }
.field .err { color: #D6452F; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.radio-row { display: flex; gap: 9px; flex-wrap: wrap; }
.radio-row label {
  flex: 1; min-width: 110px; display: flex; align-items: center; gap: 8px; cursor: pointer; margin: 0;
  padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--paper);
  font-weight: 600; font-size: 14px; transition: border-color .18s, background .18s; color: var(--ink-2);
}
.radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-700); }
.radio-row input { width: auto; accent-color: var(--brand); }
.form-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand-700); font-size: 14px; font-weight: 600; }
.form-msg.show { display: flex; align-items: center; gap: 9px; }
.form-msg svg { width: 18px; height: 18px; flex: none; }

/* multi-step (director) */
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.stepper .st { display: flex; align-items: center; gap: 8px; }
.stepper .st .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--surface-2); color: var(--ink-3); transition: background .2s, color .2s; }
.stepper .st.active .dot { background: var(--brand); color: #fff; }
.stepper .st.done .dot { background: var(--brand-tint); color: var(--brand-700); }
.stepper .st .lab { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.stepper .st.active .lab { color: var(--ink); }
.stepper .bar { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-nav { display: flex; gap: 11px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--sh-md); border-color: var(--brand-300); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; text-align: left; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.faq-q .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--brand-tint); color: var(--brand-700); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.66; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--brand) 0%, var(--brand-700) 60%, var(--brand-900) 100%); border-radius: var(--r-xl); color: #fff; text-align: center; padding: clamp(54px,7vw,96px) 28px; }
.final::before { content:""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 0%, rgba(255,255,255,.16), transparent 60%); }
.final-in { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.final .eyebrow { color: rgba(255,255,255,.85); justify-content: center; }
.final h2 { color: #fff; margin: 16px 0; font-size: clamp(30px,4.4vw,52px); }
.final p { color: rgba(255,255,255,.82); font-size: 18px; }
.final .store-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.final .store { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.final .store:hover { background: rgba(255,255,255,.2); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .brand { margin-bottom: 14px; }
.footer .biz { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.footer .biz b { color: var(--ink-2); font-weight: 650; }
.footer-col h5 { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--ink); margin-bottom: 14px; text-transform: uppercase; font-family: var(--font-mono); }
.footer-col a { display: block; font-size: 14px; color: var(--ink-2); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--ink-3); }
.footer-bot .links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col.first { grid-column: 1 / -1; } }
@media (max-width: 480px){
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 0 28px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px){
  .stepper { flex-wrap: wrap; gap: 6px; }
  .stepper .st .lab { display: none; }
  .step-nav { flex-direction: column; }
  .step-nav .btn { width: 100%; justify-content: center; }
  .faq-q { padding: 16px 18px; font-size: 15px; }
  .radio-row label { min-width: 100%; }
  .phone { width: min(300px, 88vw); }
}
