/* ==========================================================================
   Virtue Business School — virtuebusiness.education
   Editorial academic theme · ivory + ink navy + brass gold
   1. Tokens            6. Hero / credential     11. Steps / process
   2. Reset / base      7. Marquee               12. FAQ
   3. Typography        8. Stats                 13. Forms
   4. Buttons           9. Cards (program etc.)  14. Footer
   5. Header / nav      10. Quotes / faculty     15. Reveal / responsive
   ========================================================================== */

/* 1. Tokens ----------------------------------------------------------------- */
:root {
  --ink: #0F1D33;
  --ink-2: #16294a;
  --paper: #FBF8F1;
  --paper-2: #F3ECDD;
  --card: #FFFFFF;
  --gold: #B0833A;
  --gold-2: #C9A24E;
  --gold-soft: rgba(176, 131, 58, 0.12);

  --text: #14233D;
  --muted: #5C6577;
  --line: rgba(15, 29, 51, 0.12);
  --line-2: rgba(15, 29, 51, 0.20);
  --shadow: 0 24px 60px -28px rgba(15, 29, 51, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(15, 29, 51, 0.30);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 28px;
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.4s var(--ease);
}

/* Dark context (navy sections + footer) re-maps the surface tokens */
.section--ink, .site-footer {
  --text: #F4EFE4;
  --muted: #9DA8BC;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.22);
  --card: rgba(255, 255, 255, 0.04);
}

/* 2. Reset / base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(176, 131, 58, 0.25); color: var(--ink); }

/* 3. Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--text); font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; }

.display { font-size: clamp(2.7rem, 6vw, 4.7rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.018em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }

.serif-em { font-style: italic; color: var(--gold); }

p { color: var(--muted); }

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

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(54px, 7vw, 92px); }
.section--paper2 { background: var(--paper-2); }
.bordered-top { border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--text); background-image: radial-gradient(900px 500px at 85% -10%, rgba(176, 131, 58, 0.14), transparent 60%); }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--between { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; flex-wrap: wrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head--center .eyebrow { justify-content: center; }
.section--ink .eyebrow { color: var(--gold-2); }
.section--ink .eyebrow::before { background: var(--gold-2); }

.lead { font-family: var(--font-sans); font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); line-height: 1.6; }
.section-head .lead { margin-top: 20px; }

/* 4. Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: var(--r-pill); font-family: var(--font-sans); font-weight: 500; font-size: 0.97rem; letter-spacing: -0.005em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9a7230; color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: var(--gold-soft); color: var(--text); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-sans); font-weight: 600; font-size: 0.96rem; color: var(--gold); }
.text-link .arrow { transition: transform var(--t); }
.text-link:hover { color: var(--text); }
.text-link:hover .arrow { transform: translateX(4px); }

/* 5. Header / nav ----------------------------------------------------------- */
.topbar { background: var(--ink); color: #E7E1D4; font-size: 0.82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 7px; }
.topbar a { color: #E7E1D4; }
.topbar .tb-announce { display: inline-flex; align-items: center; gap: 10px; }
.topbar .tb-announce .pill { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: var(--gold-2); padding: 3px 9px; border-radius: var(--r-pill); }
.topbar .tb-announce a.tb-link { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }
.topbar .tb-announce a.tb-link:hover { border-color: var(--gold-2); }
.topbar .tb-meta { display: flex; gap: 22px; }
.topbar .tb-meta a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(251, 248, 241, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(15,29,51,0.4); }

.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 26px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--text); }
.brand-mark { width: 38px; height: 38px; color: var(--ink); flex-shrink: 0; }
.section--ink .brand-mark, .site-footer .brand-mark { color: var(--paper); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .bw-main { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-word .bw-sub { font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; padding: 9px 14px; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--muted); border-radius: var(--r-sm); }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 19px; height: 1.7px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. Hero / credential ------------------------------------------------------ */
.hero { padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(820px 480px at 88% 0%, var(--gold-soft), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 6vw, 80px); align-items: center; }

.hero .kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 8px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r-pill); font-size: 0.8rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.hero .kicker .stars { color: var(--gold); letter-spacing: 1px; }
.hero h1 { margin-bottom: 24px; }
.hero p.lead { max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 32px; display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--muted); }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.page-hero { padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 52px); position: relative; }
.page-hero .lead { max-width: 640px; }
.page-hero h1 { margin-bottom: 22px; }

/* Credential card visual */
.credential-wrap { position: relative; padding: 18px; }
.credential-wrap::after { content: ""; position: absolute; inset: 36px 6px 6px 36px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); transform: rotate(3deg); z-index: 0; }
.credential { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 34px 32px; text-align: center; }
.credential .cred-frame { border: 1px solid var(--gold); border-radius: var(--r); padding: 30px 26px 26px; position: relative; }
.cred-emblem { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--ink); }
.cred-kick { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.cred-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin: 10px 0 18px; color: var(--ink); }
.cred-sub { font-size: 0.82rem; color: var(--muted); }
.cred-name { font-family: var(--font-serif); font-size: 1.6rem; font-style: italic; color: var(--ink); margin: 6px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cred-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.cred-sign { text-align: left; }
.cred-sign .sig { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--ink); }
.cred-sign small { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cred-seal { width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--gold-2), var(--gold)); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px rgba(176,131,58,0.7); flex-shrink: 0; }
.cred-seal svg { width: 26px; height: 26px; }
.cred-badge { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 500; padding: 9px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cred-badge .g { color: var(--gold-2); font-weight: 700; }

/* 7. Marquee (disciplines) -------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 500; color: var(--text); white-space: nowrap; }
.marquee-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 8. Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 6px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; }
.stat .num .g { color: var(--gold-2); }
.stat .label { font-size: 0.94rem; color: var(--muted); }

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

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; height: 100%; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }

/* program card */
.program { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.program .p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.program .p-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.program .p-level { font-size: 0.78rem; color: var(--muted); padding: 4px 11px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.program h3 { margin-bottom: 10px; color: var(--ink); }
.section--ink .program h3 { color: var(--text); }
.program p { font-size: 0.96rem; flex: 1; }
.program .p-meta { display: flex; gap: 18px; margin: 22px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); flex-wrap: wrap; }
.program .p-meta span { display: inline-flex; align-items: center; gap: 7px; }
.program .p-meta .ic { color: var(--gold); }
.program .p-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.section--ink .program .p-link { color: var(--text); }
.program .p-link .arrow { transition: transform var(--t); color: var(--gold); }
.program:hover .p-link .arrow { transform: translateX(4px); }

/* value / pillar */
.pillar .p-ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; }
.pillar .p-ico svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.section--ink .pillar h3 { color: var(--text); }
.pillar p { font-size: 0.96rem; }

/* feature list */
.feature-list { display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft); }
.feature-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.statement { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.22; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.statement .g { color: var(--gold); font-style: italic; }

/* 10. Quotes / faculty ------------------------------------------------------ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.quote .qm { font-family: var(--font-serif); font-size: 2.6rem; line-height: 0.5; color: var(--gold); }
.quote blockquote { font-size: 1.04rem; line-height: 1.55; color: var(--text); flex: 1; }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.q-author { display: flex; align-items: center; gap: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; color: var(--ink); background: var(--paper-2); border: 1px solid var(--gold); }
.section--ink .avatar { background: rgba(255,255,255,0.06); color: var(--paper); }
.q-author .who { font-weight: 600; font-size: 0.93rem; color: var(--text); }
.q-author .role { font-size: 0.83rem; color: var(--muted); }

.faculty { text-align: left; }
.faculty .f-photo { aspect-ratio: 1; border-radius: var(--r); background: linear-gradient(150deg, var(--ink), var(--ink-2)); display: grid; place-items: center; margin-bottom: 18px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.faculty .f-photo .mono { font-family: var(--font-serif); font-size: 3.4rem; color: var(--gold-2); opacity: 0.9; }
.faculty .f-photo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.faculty h3 { font-size: 1.16rem; margin-bottom: 4px; color: var(--ink); }
.section--ink .faculty h3 { color: var(--text); }
.faculty .f-role { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.faculty .f-prev { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }

/* 11. Steps ----------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--paper); padding: 32px 24px; transition: background-color var(--t); }
.section--paper2 .step { background: var(--paper-2); }
.section--ink .steps { background: var(--line); }
.section--ink .step { background: var(--ink); }
.step:hover { background: var(--card); }
.section--ink .step:hover { background: var(--ink-2); }
.step .s-num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); margin-bottom: 18px; line-height: 1; }
.step h3 { font-size: 1.14rem; margin-bottom: 9px; color: var(--text); }
.step p { font-size: 0.9rem; line-height: 1.5; }

/* 12. FAQ ------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-serif); font-size: 1.18rem; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform var(--t); }
.faq summary .chev::before, .faq summary .chev::after { content: ""; position: absolute; top: 10px; width: 11px; height: 2px; background: var(--gold); border-radius: 2px; }
.faq summary .chev::before { left: 0; }
.faq summary .chev::after { right: 0; transform: rotate(90deg); transition: transform var(--t); }
.faq details[open] summary .chev::after { transform: rotate(0deg); }
.faq details > p { padding: 0 4px 26px; color: var(--muted); font-size: 0.98rem; max-width: 90%; }

/* 13. Forms ----------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.info-stack { display: grid; gap: 16px; align-content: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color var(--t), box-shadow var(--t); }
.info-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.info-card .i-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.info-card .i-ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.info-card a { color: var(--gold); font-weight: 600; }
.info-card a:hover { color: var(--ink); }
.info-card p { font-size: 0.93rem; }

.form { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.87rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper); color: var(--text); font-size: 0.97rem; transition: border-color var(--t), box-shadow var(--t), background-color var(--t); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B0833A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); background: #fff; }
.field .error-msg { font-size: 0.79rem; color: #c0392b; min-height: 1em; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.field.has-error .error-msg { display: block; }
.form-note { margin-top: 8px; font-size: 0.82rem; color: var(--muted); text-align: center; }

.form-success { display: none; text-align: center; padding: clamp(28px, 5vw, 46px) 12px; }
.form-success.is-visible { display: block; animation: pop 0.5s var(--ease) both; }
.form.is-submitted .form-body { display: none; }
.success-icon { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); }
.success-icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--ink); }
.form-success p { max-width: 420px; margin: 0 auto 22px; }

/* 14. CTA band -------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; margin-bottom: 18px; }
.cta-band p { max-width: 540px; margin: 0 auto 32px; font-size: 1.1rem; color: var(--muted); }
.cta-band .hero-actions { justify-content: center; }

/* 15. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text); padding-block: clamp(56px, 7vw, 86px) 30px; background-image: radial-gradient(700px 360px at 90% 0%, rgba(176,131,58,0.12), transparent 60%); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 0.94rem; max-width: 300px; color: var(--muted); }
.footer-contact { margin-top: 22px; display: grid; gap: 8px; font-size: 0.92rem; color: var(--muted); }
.footer-contact a { color: var(--text); }
.footer-contact a:hover { color: var(--gold-2); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-2); color: var(--muted); transition: color var(--t), border-color var(--t); }
.footer-social a:hover { color: var(--paper); border-color: var(--gold-2); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.94rem; color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.newsletter { margin-top: 6px; }
.newsletter form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); color: var(--text); font-size: 0.92rem; }
.newsletter input::placeholder { color: var(--muted); }
.newsletter input:focus { outline: none; border-color: var(--gold-2); }
.newsletter .nl-ok { font-size: 0.88rem; color: var(--gold-2); margin-top: 10px; display: none; }
.newsletter.done .nl-ok { display: block; }
.newsletter.done form { display: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }
.footer-meta { display: flex; gap: 22px; }
.footer-meta a { font-size: 0.85rem; color: var(--muted); }
.footer-meta a:hover { color: var(--text); }

/* 16. Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* 17. Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .credential-wrap { max-width: 460px; margin-inline: auto; order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-col.newsletter { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar .tb-meta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t), transform var(--t), visibility var(--t); }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1.04rem; border-radius: var(--r-sm); }
  .nav-links a:hover { background: var(--paper-2); }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { background: var(--paper-2); }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .topbar .tb-announce .pill { display: none; }
}

/* 18. Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
