/* styles.bundle.css — generated by deploy/build-css.mjs, do not edit */
/* ============================================================
   ЕГЦ BRICS — Design System
   ============================================================ */

:root {
  /* Color — core */
  --navy-900: #08182E;
  --navy-800: #0B1F3A;
  --navy-700: #13294A;
  --navy-600: #1C3556;
  --ivory:    #F7F5F0;
  --ivory-2:  #EFEBE1;
  --paper:    #FCFBF8;
  --slate:    #64748B;
  --slate-2:  #8A97A8;
  --ink:      #16202E;

  /* Accent — copper / bronze */
  --copper:    #C17F3A;
  --copper-2:  #D69A56;
  --copper-soft: rgba(193,127,58,0.12);

  /* Lines */
  --line:        rgba(11,31,58,0.10);
  --line-strong: rgba(11,31,58,0.18);
  --line-light:  rgba(247,245,240,0.14);

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Manrope", system-ui, -apple-system, sans-serif;

  /* Layout — 1280 было узко для шапки с 5 пунктами + телефон + CTA */
  --container: 1440px;
  --container-header: 1520px;
  --gutter: clamp(20px, 3.5vw, 52px);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(8,24,46,0.06), 0 2px 8px rgba(8,24,46,0.05);
  --shadow-md: 0 8px 28px rgba(8,24,46,0.10), 0 2px 8px rgba(8,24,46,0.06);
  --shadow-lg: 0 24px 60px rgba(8,24,46,0.16), 0 8px 20px rgba(8,24,46,0.08);
  --shadow-navy: 0 30px 70px rgba(8,24,46,0.45);

  --radius: 4px;
  --radius-lg: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ui);
  background: var(--ivory);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--copper); color: var(--ivory); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.site-header .container,
.footer .container {
  max-width: var(--container-header);
}

.section { padding-block: clamp(72px, 9vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--copper);
  display: inline-block;
}
.eyebrow--center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--copper);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
  max-width: 56ch;
  text-wrap: pretty;
}
.text-copper { color: var(--copper); }
.serif-em { font-family: var(--display); font-style: italic; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--copper);
  color: var(--ivory);
  box-shadow: 0 8px 24px rgba(193,127,58,0.28);
}
.btn--primary:hover { background: var(--copper-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(193,127,58,0.34); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--navy-800); transform: translateY(-2px); }

.btn--ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-light);
}
.btn--ghost-light:hover { border-color: rgba(247,245,240,0.5); background: rgba(247,245,240,0.06); transform: translateY(-2px); }

.btn--lg { padding: 18px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247,245,240,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(8,24,46,0.02);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ivory); transition: color .4s; }
.brand > span { display: flex; flex-direction: column; gap: 4px; }
.is-scrolled .brand { color: var(--navy-800); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; white-space: nowrap; }
.brand__sub { font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--copper); line-height: 1.2; }
.is-scrolled .brand__sub { color: var(--copper); }

.nav__links { display: flex; align-items: center; gap: clamp(22px, 2.2vw, 36px); flex-shrink: 0; }
.nav__link {
  font-size: 14.5px; font-weight: 500;
  color: rgba(247,245,240,0.82);
  transition: color .25s;
  position: relative;
}
.is-scrolled .nav__link { color: var(--slate); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--copper); transition: width .3s;
}
.nav__link:hover { color: var(--copper); }
.is-scrolled .nav__link:hover { color: var(--navy-800); }
.nav__link:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 22px); flex-shrink: 0; }
.nav__phone { font-size: 14.5px; font-weight: 600; color: var(--ivory); transition: color .4s; white-space: nowrap; }
.is-scrolled .nav__phone { color: var(--navy-800); }
.nav__phone:hover { color: var(--copper); }

.nav__toggle { display: none; background: none; border: none; padding: 8px; color: inherit; }
.nav__toggle svg { width: 26px; height: 26px; }

/* ---------- Hero backgrounds (shared: homepage + page-hero) ---------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(247,245,240,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,245,240,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 760px; height: 760px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(193,127,58,0.22), transparent 62%);
  filter: blur(8px);
}

/* ---------- Generic section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h-section { margin-top: 18px; }
.section-head p { margin-top: 22px; }

/* ---------- Process timeline ---------- */
.proc-wrap { position: relative; }
.proc-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.proc-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px;
  height: 1px; background: var(--line-strong);
}
.proc-fill {
  position: absolute; left: 0; top: 27px; height: 1px; width: 0;
  background: var(--copper); transition: width 1.4s cubic-bezier(.4,0,.1,1);
}
.proc-step { position: relative; }
.proc-node {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--navy-800);
  position: relative; z-index: 2; margin-bottom: 28px;
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.proc-step.lit .proc-node { background: var(--navy-800); color: var(--ivory); border-color: var(--navy-800); box-shadow: 0 0 0 6px rgba(11,31,58,0.06); }
.proc-step h3 { font-size: 23px; margin-bottom: 12px; }
.proc-step p { font-size: 14.5px; color: var(--slate); line-height: 1.55; }
.proc-step .free { display:inline-block; margin-top:14px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--copper); }

/* ---------- Results / cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
a.case-card {
  color: inherit; text-decoration: none; display: flex; flex-direction: column;
}
a.case-card:hover { color: inherit; }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.case-card__media picture,
.case-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card__badge {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  background: rgba(8,24,46,0.82); color: var(--ivory); backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em; padding: 7px 13px; border-radius: 100px;
}
.case-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case-card__amt { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--navy-800); line-height: 1; }
.case-card__amt .unit { color: var(--copper); font-size: 0.55em; }
.case-card__title { font-size: 16.5px; font-weight: 600; color: var(--ink); margin-top: 16px; line-height: 1.4; flex: 1; }
.case-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--slate); }
.case-card__meta svg { width: 15px; height: 15px; color: var(--copper); }

/* ---------- Principles ---------- */
.principles { background: var(--ivory-2); }
.princ-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.princ-list { display: flex; flex-direction: column; gap: 4px; }
.princ-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.princ-item:last-child { border-bottom: none; }
.princ-item__n { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--copper); line-height: 1; flex: none; width: 40px; }
.princ-item h3 { font-size: 24px; margin-bottom: 10px; }
.princ-item p { font-size: 15px; color: var(--slate); line-height: 1.55; margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { }
.team-card__photo { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; position: relative; }
.team-card__photo picture,
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__photo::after { content:""; position:absolute; inset:0; box-shadow: inset 0 -60px 60px -40px rgba(8,24,46,0.4); }
.team-card h3 { font-size: 22px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper); }
.team-card .spec { font-size: 14px; color: var(--slate); margin-top: 10px; line-height: 1.5; }

/* ---------- Contact grid (shared) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 6vw, 88px); align-items: start; }

/* Form */
.lead-form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-navy);
}
.lead-form h3 { font-size: 28px; margin-bottom: 6px; }
.lead-form .sub { font-size: 14.5px; color: var(--slate); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .req { color: var(--copper); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--ui); font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft);
}
.field input.invalid, .field select.invalid { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.field .err { display: none; font-size: 12.5px; color: #C0392B; margin-top: 6px; }
.field.show-err .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 22px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--copper); }
.consent label { font-size: 12.5px; color: var(--slate); line-height: 1.5; }
.consent a { color: var(--copper); text-decoration: underline; text-underline-offset: 2px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success__ic { width: 60px; height: 60px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success__ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--slate); }

.quiz-success { display: none; text-align: center; padding: 30px 10px; }
.quiz-success.show { display: block; }

.section--muted { background: var(--ivory-2); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(247,245,240,0.6); padding-block: 64px 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-light); }
.footer .brand { color: var(--ivory); margin-bottom: 20px; }
.footer__about { font-size: 14px; line-height: 1.6; max-width: 38ch; }
.footer__col h4 { font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,245,240,0.45); margin: 0 0 18px; }
.footer__col a, .footer__col p { display: block; font-size: 14.5px; color: rgba(247,245,240,0.7); margin-bottom: 12px; transition: color .25s; }
.footer__col a:hover { color: var(--copper-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal span { color: rgba(247,245,240,0.4); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: none; gap: 12px;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; justify-content: center; box-shadow: var(--shadow-lg); }

/* ---------- Placeholder media ---------- */
.ph {
  width: 100%; height: 100%; position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(11,31,58,0.05) 0 10px, rgba(11,31,58,0.02) 10px 20px),
    var(--ivory-2);
  display: flex; align-items: center; justify-content: center;
}
.ph--navy {
  background:
    repeating-linear-gradient(135deg, rgba(247,245,240,0.05) 0 10px, rgba(247,245,240,0.015) 10px 20px),
    var(--navy-700);
}
.ph__tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--slate);
  background: rgba(247,245,240,0.85); padding: 6px 11px; border-radius: 3px;
  border: 1px solid var(--line);
}
.ph--navy .ph__tag { color: rgba(247,245,240,0.7); background: rgba(8,24,46,0.5); border-color: var(--line-light); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .nav__links { gap: 20px; }
  .nav__phone { font-size: 13.5px; }
  .nav__link, .nav__drop-btn { font-size: 14px; }
  .site-header .btn--primary { padding: 13px 20px; font-size: 14px; }
}

@media (max-width: 1080px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .princ-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .proc-track { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .proc-track::before, .proc-fill { display: none; }
  .sticky-cta { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cases-grid, .team-grid, .field-row { grid-template-columns: 1fr; }
  .proc-track { grid-template-columns: 1fr; }
}

/* Mobile menu panel */
.m-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-800); color: var(--ivory);
  display: flex; flex-direction: column; padding: 28px var(--gutter);
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.4,0,.1,1); visibility: hidden;
}
.m-menu.open { transform: translateY(0); visibility: visible; }
.m-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.m-menu__close { background: none; border: none; color: var(--ivory); padding: 8px; }
.m-menu__close svg { width: 28px; height: 28px; }
.m-menu nav { display: flex; flex-direction: column; gap: 4px; }
.m-menu nav a { font-family: var(--display); font-size: 30px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.m-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.m-menu__phone { font-size: 20px; font-weight: 700; color: var(--copper-2); }



/* ============================================================
   Multi-page: nav dropdown, subpages, quiz
   ============================================================ */

.nav__drop { position: relative; }
.nav__drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0;
  font-size: 14.5px; font-weight: 500;
  color: rgba(247,245,240,0.82);
  cursor: pointer; font-family: inherit;
  position: relative;
}
.is-scrolled .nav__drop-btn { color: var(--slate); }
.nav__drop-btn:hover { color: var(--copper); }
.is-scrolled .nav__drop-btn:hover { color: var(--navy-800); }
.nav__drop-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__drop.open .nav__drop-btn svg { transform: rotate(180deg); }

.nav__drop-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  min-width: 280px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s, visibility .25s;
  transform: translateX(-50%) translateY(8px);
}
.nav__drop.open .nav__drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__drop-panel a {
  display: block; padding: 12px 14px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__drop-panel a:hover { background: var(--copper-soft); color: var(--navy-800); }
.nav__drop-panel a small { display: block; font-size: 12px; color: var(--slate); font-weight: 400; margin-top: 3px; }
.nav__drop-panel a.is-active { background: rgba(11,31,58,0.06); color: var(--navy-800); }

.nav__tg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-light); color: var(--ivory);
  transition: background .3s, border-color .3s, color .3s;
}
.is-scrolled .nav__tg { border-color: var(--line-strong); color: var(--navy-800); }
.nav__tg:hover { background: var(--copper); border-color: var(--copper); color: var(--ivory); }
.nav__tg svg { width: 18px; height: 18px; }

.m-menu__group { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.m-menu__label { font-family: var(--ui); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,245,240,0.45); margin-bottom: 8px; }
.m-menu nav a.m-menu__sub { font-family: var(--ui); font-size: 17px; font-weight: 500; padding: 10px 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(247,245,240,0.55); margin-bottom: 24px;
}
.breadcrumb a { color: rgba(247,245,240,0.75); transition: color .25s; }
.breadcrumb a:hover { color: var(--copper-2); }
.breadcrumb span { color: rgba(247,245,240,0.35); }

/* Subpage hero (compact) */
.page-hero {
  position: relative; background: var(--navy-800); color: var(--ivory);
  padding-top: 148px; padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden;
}
.page-hero .hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 920px; }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 64px); margin-bottom: 22px; line-height: 1.06; }
.page-hero__lede { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; color: rgba(247,245,240,0.78); max-width: 62ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 100px;
  font-size: 13px; font-weight: 500; color: rgba(247,245,240,0.85);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

/* UTP grid */
.utp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.utp-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .4s, box-shadow .4s, border-color .4s;
}
.utp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.utp-card__n { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--copper); line-height: 1; margin-bottom: 16px; }
.utp-card h3 { font-size: 24px; margin-bottom: 10px; }
.utp-card p { font-size: 15px; color: var(--slate); line-height: 1.55; margin: 0; }

/* Icon grid (business plans) */
.icon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.icon-item {
  text-align: center; padding: 24px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s, border-color .35s;
}
.icon-item:hover { transform: translateY(-4px); border-color: var(--copper); }
.icon-item__ic {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--copper-soft); color: var(--copper);
}
.icon-item__ic svg { width: 24px; height: 24px; }
.icon-item span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* Deny list */
.deny-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.deny-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.deny-item__ic {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: rgba(192,57,43,0.1); color: #C0392B;
  display: flex; align-items: center; justify-content: center;
}
.deny-item__ic svg { width: 18px; height: 18px; }
.deny-item h4 { font-family: var(--ui); font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.deny-item p { font-size: 14px; color: var(--slate); margin: 0; line-height: 1.5; }

.section--dark { background: var(--navy-800); color: var(--ivory); }
.section--dark .h-section { color: var(--ivory); }
.section--dark .lede { color: rgba(247,245,240,0.72); }
.section--dark .eyebrow { color: var(--copper-2); }
.section--dark .eyebrow::before { background: var(--copper-2); }

/* Quiz calculator */
.quiz-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md);
}
.quiz-wrap h3 { font-size: 28px; margin-bottom: 8px; }
.quiz-wrap .sub { font-size: 15px; color: var(--slate); margin-bottom: 28px; }
.quiz-progress {
  display: flex; align-items: center; gap: 8px; margin-bottom: 28px;
}
.quiz-progress__bar {
  flex: 1; height: 4px; background: var(--ivory-2); border-radius: 2px; overflow: hidden;
}
.quiz-progress__fill { height: 100%; background: var(--copper); width: 0; transition: width .4s; border-radius: 2px; }
.quiz-progress__txt { font-size: 12px; font-weight: 600; color: var(--slate); white-space: nowrap; }

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizIn .35s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.quiz-q { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; margin-bottom: 20px; color: var(--navy-800); }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  display: block; width: 100%; text-align: left;
  padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: border-color .25s, background .25s, transform .2s;
}
.quiz-opt:hover { border-color: var(--copper); background: var(--copper-soft); }
.quiz-opt.selected { border-color: var(--copper); background: var(--copper-soft); box-shadow: 0 0 0 3px rgba(193,127,58,0.15); }

.quiz-result { text-align: center; padding: 12px 0 8px; }
.quiz-result__pct {
  font-family: var(--display); font-size: clamp(56px, 8vw, 88px); font-weight: 600;
  color: var(--copper); line-height: 1;
}
.quiz-result__lbl { font-size: 16px; color: var(--slate); margin-top: 8px; margin-bottom: 24px; }
.quiz-result .lead-form { text-align: left; box-shadow: var(--shadow-sm); margin-top: 8px; }

.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz-nav .btn--ghost { padding: 12px 20px; }

/* Legal / text pages */
.legal-page { padding-top: 148px; padding-bottom: clamp(72px, 9vw, 120px); }
.legal-page h1 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: 24px; }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 28px; margin: 36px 0 14px; }
.legal-content p, .legal-content li { font-size: 16px; color: var(--slate); line-height: 1.65; }
.legal-content ul { padding-left: 1.2em; margin: 12px 0 20px; }
.legal-content li { margin-bottom: 8px; }

@media (max-width: 1080px) {
  .utp-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav__drop { display: none; }
  .nav__tg { display: none; }
  .utp-grid, .deny-grid { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .icon-grid { grid-template-columns: 1fr 1fr; }
}

.nav__link.is-active { color: var(--copper); }
.is-scrolled .nav__link.is-active { color: var(--copper); }

/* Filter tabs (cases) */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-tabs button {
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 100px;
  background: var(--paper); font-family: var(--ui); font-size: 14px; font-weight: 500;
  color: var(--slate); cursor: pointer; transition: all .25s;
}
.filter-tabs button.active, .filter-tabs button:hover {
  border-color: var(--copper); background: var(--copper-soft); color: var(--navy-800);
}

/* Earnings table */
.earn-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.earn-table th, .earn-table td {
  padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line);
}
.earn-table th { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.earn-table td:last-child { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--copper); }
.earn-table-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}

/* Loan calculator */
.calc-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.calc-row { margin-bottom: 24px; }
.calc-row label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.calc-row output { font-family: var(--display); font-size: 20px; color: var(--copper); }
.calc-row input[type=range] { width: 100%; accent-color: var(--copper); }
.calc-result {
  text-align: center; padding: 28px; margin-top: 8px;
  background: var(--navy-800); border-radius: var(--radius-lg); color: var(--ivory);
}
.calc-result__val { font-family: var(--display); font-size: clamp(40px, 5vw, 56px); font-weight: 600; color: var(--copper-2); }

/* Accordion (FRP programs) */
.acc-list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--display); font-size: clamp(20px, 2vw, 24px); font-weight: 500; color: var(--navy-800);
  cursor: pointer;
}
.acc-btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s; color: var(--copper); }
.acc-item.open .acc-btn svg { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.1,1); }
.acc-body__inner { padding: 0 24px 22px; font-size: 15px; color: var(--slate); line-height: 1.6; }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-page-map { display: flex; flex-direction: column; min-height: 100%; }
.map-embed-wrap {
  flex: 1; width: 100%; min-height: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-light); background: var(--navy-700);
}
.map-embed {
  display: block; width: 100%; height: 100%; min-height: 420px;
  object-fit: cover;
}
.page-hero__addr { display: block; margin-top: 10px; font-size: 0.92em; opacity: 0.85; }

.file-upload { display: flex; flex-direction: column; gap: 12px; }
.file-upload__input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.file-upload__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 20px;
  font-family: var(--ui); font-size: 15px; font-weight: 600;
  color: var(--navy-800); background: var(--ivory-2);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  cursor: pointer; transition: border-color .25s, background .25s, color .25s;
}
.file-upload__btn:hover { border-color: var(--copper); background: var(--copper-soft); color: var(--navy-800); }
.file-upload__btn:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-soft); }
.file-upload__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.file-upload__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: var(--ivory-2); border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14px; color: var(--ink);
}
.file-upload__name {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-upload__remove {
  flex: none; width: 28px; height: 28px; padding: 0;
  border: none; border-radius: 50%; background: transparent;
  color: var(--slate); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s;
}
.file-upload__remove:hover { background: rgba(192,57,43,0.1); color: #C0392B; }

/* Sticky page CTA */
.page-sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 85;
  display: none;
}
.page-sticky-cta.show { display: block; }
@media (max-width: 860px) { .page-sticky-cta { display: none !important; } }

/* Grant list */
.grant-list { display: flex; flex-direction: column; gap: 12px; }
.grant-item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); transition: border-color .25s, transform .25s;
}
.grant-item:hover { border-color: var(--copper); transform: translateX(4px); }
.grant-item h4 { font-family: var(--ui); font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.grant-item p { font-size: 13px; color: var(--slate); margin: 0; }
.grant-item__sum { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--copper); white-space: nowrap; }

/* Case detail page */
.case-hero__badge {
  display: inline-block; margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper); padding: 8px 14px; border: 1px solid var(--copper-soft);
  border-radius: 100px; background: rgba(193,127,58,0.08);
}
.case-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.case-stat {
  padding: 28px 24px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-align: center;
}
.case-stat__val { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; color: var(--navy-800); line-height: 1.1; }
.case-stat__lbl { font-size: 13px; color: var(--slate); margin-top: 10px; line-height: 1.45; }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.case-detail-grid--docs { align-items: stretch; }
.case-block__text { font-size: 16px; color: var(--slate); line-height: 1.65; margin-top: 18px; }
.case-list { margin: 22px 0 0; padding-left: 20px; color: var(--slate); line-height: 1.65; }
.case-list li { margin-bottom: 10px; }
.case-timeline { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-strong); }
.case-timeline__item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.case-timeline__n {
  font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--copper); line-height: 1;
}
.case-timeline__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.case-timeline__head h3 { font-size: 22px; margin: 0; }
.case-timeline__dur { font-size: 13px; font-weight: 600; color: var(--copper); letter-spacing: 0.04em; }
.case-timeline__body p { font-size: 15px; color: var(--slate); line-height: 1.6; margin: 0; }
.case-docs { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.case-docs__item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14.5px; color: var(--ink); line-height: 1.45;
}
.case-docs__item svg { width: 20px; height: 20px; flex: none; color: var(--copper); margin-top: 2px; }
.case-meta { margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.case-meta div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-meta dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.case-meta dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--navy-800); }
.case-meta a { color: var(--copper); }
.case-media { aspect-ratio: 16/10; border-radius: var(--radius-lg); margin-top: 28px; min-height: 200px; overflow: hidden; }
.case-media .case-picture,
.case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-picture { display: block; width: 100%; height: 100%; }
.case-picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card__media .case-picture { position: absolute; inset: 0; }
.case-card__media .case-picture img { width: 100%; height: 100%; object-fit: cover; }
.case-hero-media { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); max-width: 920px; }
.case-hero-media__pic { display: block; aspect-ratio: 16/9; }
.case-hero-media__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-quote {
  margin: 0; padding: clamp(36px, 5vw, 56px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  border-left: 4px solid var(--copper); max-width: 880px; margin-inline: auto;
}
.case-quote p { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--navy-800); margin: 0; }
.case-quote footer { margin-top: 22px; font-size: 14px; color: var(--slate); font-style: normal; }
.case-cta { text-align: center; margin-top: clamp(48px, 6vw, 72px); max-width: 640px; margin-inline: auto; }

@media (max-width: 860px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .case-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-meta div { grid-template-columns: 1fr; gap: 4px; }
  .case-timeline__item { grid-template-columns: 48px 1fr; gap: 16px; }
  .earn-table { font-size: 14px; }
  .earn-table td:last-child { font-size: 18px; }
}

@media (max-width: 560px) {
  .case-stats__grid { grid-template-columns: 1fr; }
}


.sticky-cta__call { background: var(--ivory); flex: 0 0 auto; }
.sticky-cta__call svg { width: 18px; height: 18px; }
