/* ==========================================================================
   Manuscript Wordsmiths — Modern Editorial Design System
   Palette: Crisp porcelain canvas, midnight slate, electric royal cobalt, 
            emerald verification accents, and subtle glassmorphic surfaces.
   ========================================================================== */

:root {
  /* Surfaces & Backgrounds */
  --canvas:         #FAF9F6;
  --surface:        #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-subtle: #F6F4ED;
  --surface-muted:  #ECE8DC;

  /* Inks & Typography */
  --ink:            #0B1B2B;
  --ink-secondary:  #203347;
  --ink-soft:       #384D63;
  --muted:          #5D738A;
  --muted-light:    #8FA3B5;

  /* Oxford Navy (from logo background: #123150) */
  --primary:        #123150;
  --primary-deep:   #0B1E32;
  --primary-dark:   #071422;
  --primary-hover:  #183F66;
  --primary-tint:   #F0F4F8;
  --primary-border: #CBD7E3;

  /* Antique Academic Gold (from logo emblem & quill: #D2BD84 / #C5A253) */
  --gold:           #C5A253;
  --gold-deep:      #9E7B28;
  --gold-dark:      #7E621E;
  --gold-light:     #E5CF92;
  --gold-hover:     #D4B365;
  --gold-tint:      #FAF6EC;
  --gold-border:    rgba(197, 162, 83, 0.38);

  /* Status & Accents */
  --emerald:        #1B6A52;
  --emerald-deep:   #124C3A;
  --emerald-tint:   #EEF7F3;
  --emerald-border: #BCE2D5;

  --amber:          #B46808;
  --amber-tint:     #FDF7E8;

  --rose:           #B91C1C;
  --rose-tint:      #FEF2F2;

  --line:           #E5E0D3;
  --line-strong:    #D2CBBC;
  --dark-navy:      #0B1D30;
  --dark-card:      #102842;

  /* Border Radii */
  --radius-xs:      6px;
  --radius-sm:      10px;
  --radius:         16px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  /* Shadows */
  --shadow-xs:      0 1px 2px rgba(18, 49, 80, 0.04);
  --shadow-sm:      0 2px 6px -1px rgba(18, 49, 80, 0.06), 0 2px 4px -2px rgba(18, 49, 80, 0.04);
  --shadow:         0 10px 25px -5px rgba(18, 49, 80, 0.07), 0 8px 10px -6px rgba(18, 49, 80, 0.03);
  --shadow-lg:      0 20px 35px -8px rgba(18, 49, 80, 0.10), 0 10px 15px -7px rgba(18, 49, 80, 0.04);
  --shadow-glow:    0 0 24px rgba(197, 162, 83, 0.25);

  /* Fonts */
  --display:        "Newsreader", Georgia, "Times New Roman", serif;
  --body:           "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(40px, 5.2vw, 62px); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 22px; font-weight: 600; font-family: var(--body); letter-spacing: -0.015em; }
h4 { font-size: 18px; font-weight: 600; font-family: var(--body); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  width: min(1140px, calc(100% - 44px));
  margin-inline: auto;
}

section { padding: 92px 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* -------------------------------------------------------------- Header --- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}

.nav {
  min-height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  cursor: pointer;
}

.brand-emblem {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(18, 49, 80, 0.22);
  border: 1.5px solid rgba(197, 162, 83, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.brand:hover .brand-emblem {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(18, 49, 80, 0.32);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-left: 2px;
}

.brand-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.015em;
}

.brand-sub {
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 15px; font-weight: 600;
}
.nav-links > a {
  color: var(--ink-soft);
  transition: color .18s ease;
  position: relative;
}
.nav-links > a:hover {
  color: var(--primary);
}
.nav-links > a.is-active {
  color: var(--primary);
  font-weight: 700;
}
.nav-links > a.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-links > a.btn-primary { color: #0B1B2B; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-xs);
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--ink); margin: 4px 0;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------- Typography --- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
  background: var(--gold-tint);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero p, .pagehero p {
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 620px;
  color: var(--ink-soft);
  margin-top: 16px;
}

.hero h1 { margin: 18px 0 16px; }
.lede { font-size: 18px; color: var(--muted); }
.meta { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* ------------------------------------------------------------- Buttons --- */

.actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, #C5A253 0%, #B8933E 100%);
  border-color: #A9842F;
  color: #071422;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 162, 83, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D4B365 0%, #C5A253 100%);
  border-color: #B8933E;
  color: #071422;
  box-shadow: 0 6px 20px rgba(197, 162, 83, 0.42);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--radius-xs);
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: var(--radius-sm);
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}
.btn-light:hover {
  background: var(--primary-tint);
  border-color: var(--primary-tint);
  color: var(--primary-deep);
}

.btn-whatsapp {
  background: var(--emerald-tint);
  border-color: var(--emerald-border);
  color: var(--emerald-deep);
}
.btn-whatsapp:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

/* ---------------------------------------------------------------- Hero --- */

.hero {
  padding: 84px 0 92px;
  background: radial-gradient(ellipse at 85% 15%, rgba(197, 162, 83, 0.08), transparent 70%), radial-gradient(ellipse at 15% 85%, rgba(18, 49, 80, 0.04), transparent 70%);
}

.hero-grid, .split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

/* Modern Editorial Benchmark Card (replacing fake paper skeleton) */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--primary));
}

.hero-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.card-status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--emerald-tint);
  color: var(--emerald-deep);
  border: 1px solid var(--emerald-border);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
}
.card-status-pill .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
}
.card-ref {
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface-subtle);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-card-title {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--ink);
}
.hero-card-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-criteria-list {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 22px;
}
.criterion-row {
  display: flex; gap: 14px; align-items: flex-start;
}
.criterion-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0; margin-top: 2px;
}
.criterion-body strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.criterion-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.hero-card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-pill {
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
}
.stat-val {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--body);
}
.stat-tag {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  margin-top: 2px;
}

/* ------------------------------------------------------- Section Heads --- */

.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 40px; margin-bottom: 48px;
}
.section-head p { max-width: 480px; color: var(--muted); margin: 0; font-size: 17px; }
.section-head h2 { margin-top: 14px; }

/* --------------------------------------------------------------- Cards --- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: var(--radius-xs);
  background: var(--primary-tint);
  color: var(--primary-deep);
  font-size: 12px; font-weight: 800;
  letter-spacing: .08em;
}

.card h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.card .meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-subtle);
  color: var(--primary-deep);
  font-size: 13px;
}

.empty-state {
  background: var(--surface-subtle);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 48px; text-align: center; color: var(--muted);
}
.empty-state h3 { margin-bottom: 8px; color: var(--ink); }

/* -------------------------------------------------------- How It Works --- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--ink); color: #fff;
  font-family: var(--body); font-weight: 700; font-size: 14px;
  margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* --------------------------------------------------------------- Bands --- */

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checklist { display: grid; gap: 14px; }
.check {
  display: flex; align-items: center; gap: 14px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.check::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 28px; height: 28px;
  border-radius: 50%;
  background: var(--emerald-tint);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
  font-size: 14px; font-weight: 800;
}

/* ------------------------------------------------------------ CTA Panel --- */

.cta {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #153456 100%);
  color: #E2E8F0;
  border: 1px solid rgba(210, 189, 132, 0.25);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(197, 162, 83, 0.18), transparent 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0 auto 32px; max-width: 520px; color: #CBD5E1; font-size: 18px; }

/* ------------------------------------------------------------ Page Hero --- */

.pagehero {
  background: var(--surface);
  padding: 68px 0 72px;
  border-bottom: 1px solid var(--line);
}
.pagehero h1 { margin-top: 16px; margin-bottom: 12px; }
.pagehero p { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 680px; }

/* -------------------------------------------------------------- About --- */

.pipeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.pipeline-header { margin-bottom: 22px; }
.pipeline-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.pipeline-steps { display: grid; gap: 18px; }
.pipeline-step {
  display: flex; gap: 16px; align-items: flex-start;
}
.step-badge {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--radius-xs);
  background: var(--primary-tint); color: var(--primary-deep);
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}
.pipeline-step strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.pipeline-step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------ Service --- */

.service-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.meta-pill {
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 14px;
}
.meta-pill strong { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; font-weight: 700; }

.service-guarantee-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.guarantee-header { margin-bottom: 22px; }
.guarantee-badge {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 8px;
}
.guarantee-list { display: grid; gap: 18px; }
.guarantee-item { display: flex; gap: 14px; align-items: flex-start; }
.g-icon {
  width: 28px; height: 28px; border-radius: var(--radius-xs);
  background: var(--emerald-tint); color: var(--emerald);
  display: grid; place-items: center; font-size: 14px;
  flex-shrink: 0; margin-top: 2px;
}
.guarantee-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.guarantee-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ------------------------------------------------------------- Prose --- */

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  line-height: 1.7;
}
.prose p { margin: 0 0 1.25em; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- FAQs --- */

.faq-list {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-xs);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.faq-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.faq-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.faq-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------- Forms --- */

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 720px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 22px; }
.field label {
  display: block; font-weight: 600; font-size: 14.5px;
  color: var(--ink); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  font: inherit; font-size: 15px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-help {
  display: block; margin-top: 7px;
  font-size: 13px; line-height: 1.45;
  color: var(--muted);
}
.hp { position: absolute; left: -9999px; }

.notice {
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 24px;
  font-weight: 600; font-size: 14.5px;
}
.notice-success { background: var(--emerald-tint); color: var(--emerald-deep); border: 1px solid var(--emerald-border); }
.notice-error   { background: var(--rose-tint); color: var(--rose); border: 1px solid #FECDD3; }

/* ------------------------------------------------------- Quote Experience --- */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
  gap: 36px;
  align-items: start;
}
.quote-form { max-width: none; }
.form-section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type { margin-bottom: 24px; }
.form-kicker {
  display: inline-block;
  color: var(--primary-deep);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.field-wide { grid-column: 1 / -1; }
.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 620px;
  margin: 18px 0 0;
}
.quote-aside { position: sticky; top: 104px; }

.form-progress {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form-progress span {
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface);
}
.form-progress span.active {
  color: var(--primary-deep);
  background: var(--primary-tint);
  border-color: var(--primary-border);
}

.quote-preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.quote-preview-card h3 {
  font-size: 20px;
  margin: 12px 0 20px;
  color: var(--ink);
}
.quote-preview-lines {
  display: grid; gap: 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-preview-lines > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--surface-subtle);
}
.quote-preview-lines > div:last-child { border-bottom: 0; }
.quote-preview-lines span { color: var(--muted); font-size: 14px; }
.quote-preview-lines strong { color: var(--ink); font-size: 14px; text-align: right; }

.quote-lock {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.quote-lock > span {
  width: 38px; height: 38px; border-radius: var(--radius-xs);
  display: grid; place-items: center;
  background: var(--primary-tint); color: var(--primary);
  font-weight: 800; font-size: 17px;
}
.quote-lock strong { font-size: 15px; color: var(--ink); }
.quote-lock small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }

.quote-trust {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--emerald-tint);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-deep);
  font-size: 13.5px;
}
.quote-trust strong { color: var(--emerald-deep); }

.check-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .18s ease;
}
.check-card:hover { border-color: var(--primary-border); }
.check-card input { margin-top: 4px; width: auto; }
.check-card strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14.5px; }
.check-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }

.hidden-field { display: none !important; }

/* ---------- Quotation Result Sheet ---------- */

.quote-result-hero { padding-bottom: 38px; }
.quote-result-wrap { max-width: 900px; }

.quotation-sheet {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 56px);
  position: relative;
}
.quotation-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.quotation-head img { width: 210px; height: auto; }
.quotation-meta { text-align: right; }
.quotation-meta span, .quotation-meta small { display: block; color: var(--muted); font-size: 13px; }
.quotation-meta strong {
  display: block;
  font-family: var(--body);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin: 3px 0;
}

.quotation-intro { padding: 30px 0 22px; }
.quotation-intro h2 { font-size: 28px; margin: 6px 0 4px; }
.quotation-intro p { margin: 0; color: var(--muted); font-size: 15px; }

.quotation-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 32px;
}
.quotation-grid > div { background: #FFFFFF; padding: 16px 20px; }
.quotation-grid span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.quotation-grid strong { font-size: 15px; color: var(--ink); }

.quotation-breakdown { border-top: 1px solid var(--line); margin-top: 10px; }
.quotation-breakdown-head, .quotation-row, .quotation-total {
  display: flex; justify-content: space-between; gap: 24px; padding: 15px 0;
}
.quotation-breakdown-head {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border-bottom: 1px solid var(--line);
}
.quotation-row { border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.quotation-total { padding-top: 22px; font-size: 16px; font-weight: 700; color: var(--ink); }
.quotation-total strong { font-family: var(--body); font-size: 26px; font-weight: 800; color: var(--primary); }

.quotation-note {
  margin-top: 26px; padding: 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.quotation-note strong { color: var(--ink); font-size: 14.5px; }
.quotation-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.quotation-footer-note {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
}

.quotation-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin: 28px 0 10px;
}

/* -------------------------------------------------------------- Footer --- */

.site-footer {
  background: var(--dark-navy);
  color: #94A7B8;
  padding: 68px 0 32px;
  border-top: 1px solid rgba(210, 189, 132, 0.15);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
}
.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-emblem {
  border-color: rgba(210, 189, 132, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.footer-brand-text {
  margin-left: 2px;
}
.footer-brand-text .brand-title {
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.footer-brand-text .brand-sub {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.footer-affiliation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(210, 189, 132, 0.08);
  border: 1px solid rgba(210, 189, 132, 0.24);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  margin-top: 2px;
  margin-bottom: 22px;
}
.footer-affiliation-label {
  color: #A3B5C7;
  font-size: 12.5px;
  text-transform: lowercase;
  font-style: italic;
  letter-spacing: 0;
  font-weight: 500;
}
.footer-affiliation-name {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: -0.01em;
}

.site-footer p { margin: 0; max-width: 360px; font-size: 15px; color: #94A7B8; }
.footer-grid h4 {
  color: var(--gold-light); font-size: 13.5px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
}
.footer-grid a {
  display: block; margin: 10px 0; font-size: 15px; color: #CBD5E1;
  transition: color .18s ease;
}
.footer-grid a:hover { color: var(--gold-light); }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px; padding-top: 24px;
}
.copyright-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.copyright-content p {
  margin: 0;
  font-size: 13.5px;
  color: #94A3B8;
}
.copyright-content strong {
  color: #FFFFFF;
}
.copyright-legal {
  font-size: 12px !important;
  color: #64748B !important;
}

/* ---------------------------------------------------- Infographics & Images --- */

.infographic-band {
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.roadmap-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.roadmap-header h2 { margin-top: 12px; }
.roadmap-header p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}
.roadmap-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.roadmap-step:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(18, 49, 80, 0.08);
}
.roadmap-step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid var(--gold-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.roadmap-step-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--gold-light);
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(18, 49, 80, 0.18);
}
.roadmap-step h4 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 700;
}
.roadmap-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.roadmap-connector {
  font-size: 24px;
  color: var(--gold);
  font-weight: bold;
  user-select: none;
  align-self: center;
}

/* Image Card Showcase */
.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--line);
  background: var(--surface);
}
.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.image-card:hover img {
  transform: scale(1.02);
}
.image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(11, 29, 48, 0.94) 0%, rgba(11, 29, 48, 0.7) 75%, transparent 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}
.caption-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(197, 162, 83, 0.9);
}

/* --------------------------------------------------------------- Admin --- */

.admin-body { background: var(--canvas); }
.admin-shell { padding: 56px 0; }
.admin-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.stat .num { background: var(--primary-tint); color: var(--primary-deep); }
.stat h3 { font-size: 38px; margin: 16px 0 2px; font-family: var(--body); font-weight: 800; color: var(--ink); }
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.login-wrap .form { max-width: 420px; width: 100%; border-radius: var(--radius); }
.login-wrap h2 { margin-bottom: 24px; font-family: var(--body); font-weight: 700; font-size: 24px; }

/* ---------------------------------------------------------- Responsive --- */

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; gap: 20px; }
  .roadmap-connector { display: none; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 52px 0 60px; }
  .nav { min-height: 72px; }
  .brand { gap: 14px; }
  .footer-brand { gap: 16px; margin-bottom: 18px; }
  .brand-emblem { width: 40px; height: 40px; }
  .brand-title { font-size: 19px; }
  .brand-sub { font-size: 9.5px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + 12px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 12px 16px; border-radius: var(--radius-xs); }
  .nav-links > a.btn { justify-content: center; margin-top: 8px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .cta { padding: 44px 26px; }
  .prose, .form, .hero-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .quotation-grid { grid-template-columns: 1fr; }
  .quotation-head { flex-direction: column; }
  .quotation-meta { text-align: left; }
  .quotation-head img { width: 180px; }
  .quotation-row, .quotation-total { gap: 14px; }
  .quotation-row span { max-width: 68%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .btn:hover, a.card:hover { transform: none; }
}
