/* ============================================
   CA WORKS — Design Tokens
   ============================================ */
:root {
  /* Color */
  --navy-900: #0B2545;
  --navy-800: #11305C;
  --navy-700: #173E73;
  --gold-500: #C8932A;
  --gold-600: #B07F1F;
  --gold-100: #F6E8C9;
  --cream-50: #FAF8F4;
  --cream-100: #F2EEE5;
  --slate-900: #1F2937;
  --slate-600: #5B6472;
  --slate-400: #8A93A0;
  --line: #E2E0DA;
  --green-700: #1B7A4A;
  --green-100: #E5F3EA;
  --red-600: #B3261E;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(11,37,69,0.06), 0 8px 24px -8px rgba(11,37,69,0.10);
  --shadow-lift: 0 4px 6px rgba(11,37,69,0.05), 0 20px 40px -12px rgba(11,37,69,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--cream-50);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { color: var(--slate-600); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold-600);
}

.lede {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 60ch;
}

/* ============================================
   Top utility bar
   ============================================ */
.topbar {
  background: var(--navy-900);
  color: var(--cream-100);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a { display: flex; align-items: center; gap: 6px; color: var(--cream-100); opacity: 0.92; }
.topbar-links a:hover { opacity: 1; color: var(--gold-100); }
.topbar-links svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-note { color: var(--gold-100); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.02em; }

@media (max-width: 720px) {
  .topbar-note { display: none; }
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand-text .sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--slate-900);
  position: relative;
  padding: 8px 0;
}
.main-nav a:hover { color: var(--navy-800); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
}

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: -20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  width: 600px;
  padding: 20px;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 24px;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { display: grid; }
.nav-dropdown-panel a {
  font-size: 0.86rem;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  color: var(--slate-600);
}
.nav-dropdown-panel a:hover { background: var(--cream-100); color: var(--navy-900); }
.nav-dropdown-panel .cat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-600);
  padding: 8px 6px 2px;
  font-weight: 700;
}

.header-cta { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-600); }
.btn-outline {
  border-color: var(--line);
  color: var(--navy-900);
  background: transparent;
}
.btn-outline:hover { border-color: var(--navy-900); background: var(--cream-100); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1FBE5A; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.84rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta .btn-outline-text { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ============================================
   Mobile nav drawer
   ============================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,37,69,0.45);
}
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
}
.mobile-drawer-panel .close-btn {
  background: none; border: none; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-bottom: 12px;
}
.mobile-drawer-panel a {
  display: block;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
}
.mobile-drawer-panel .cat-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-600);
  padding: 18px 4px 4px;
  font-weight: 700;
}

/* ============================================
   Sticky mobile call bar
   ============================================ */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(11,37,69,0.08);
}
.mobile-call-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 0;
  font-weight: 600;
  font-size: 0.9rem;
}
.mobile-call-bar .call-link { background: var(--navy-900); color: var(--white); }
.mobile-call-bar .wa-link { background: #25D366; color: var(--white); }
.mobile-call-bar svg { width: 17px; height: 17px; }

@media (max-width: 720px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 56px; }
}

/* ============================================
   Floating WhatsApp button
   ============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 140;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.07); }
.float-whatsapp svg { width: 30px; height: 30px; fill: var(--white); }

@media (max-width: 720px) {
  .float-whatsapp { bottom: 72px; right: 16px; width: 50px; height: 50px; }
  .float-whatsapp svg { width: 26px; height: 26px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-ledger-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.hero h1 { color: var(--white); margin: 18px 0 18px; }
.hero h1 .accent { color: var(--gold-500); }
.hero .lede { color: rgba(255,255,255,0.78); margin-bottom: 30px; }
.hero .eyebrow { color: var(--gold-500); }
.hero .eyebrow::before { background: var(--gold-500); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust-item { display: flex; align-items: baseline; gap: 8px; }
.hero-trust-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
}
.hero-trust-item .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* Hero "ledger" card — signature element */
.ledger-card {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  position: relative;
  transform: rotate(0.6deg);
}
.ledger-card::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px; right: -10px; bottom: -10px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px dashed var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.ledger-head .title { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 1.05rem; }
.ledger-head .ref { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate-400); }
.ledger-stamp {
  border: 2px solid var(--green-700);
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 3px;
  transform: rotate(-8deg);
  text-transform: uppercase;
}
.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .step-name { display: flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 500; }
.ledger-row .step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ledger-row .step-dot svg { width: 11px; height: 11px; }
.ledger-row.pending .step-dot { background: var(--gold-100); color: var(--gold-600); }
.ledger-row .step-status { font-family: var(--font-mono); font-size: 0.68rem; color: var(--slate-400); text-transform: uppercase; }

/* ============================================
   Section scaffolding
   ============================================ */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 64px 0; }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin: 14px 0 14px; }
.section-alt { background: var(--cream-100); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

/* ============================================
   Category / Service cards
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cat-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.cat-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
}
.cat-icon svg { width: 24px; height: 24px; stroke: var(--navy-800); }
.cat-card h4 { margin: 0; }
.cat-card p { font-size: 0.86rem; margin: 0; }
.cat-card .count { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.18s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card .tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-600);
  font-weight: 700;
}
.service-card h4 { margin: 0; }
.service-card p { font-size: 0.87rem; margin: 0; flex-grow: 1; }
.service-card .price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.service-card .price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.95rem;
}
.service-card .price .from { font-size: 0.66rem; color: var(--slate-400); font-weight: 500; text-transform: uppercase; display: block; }
.service-card .arrow-link { font-size: 0.84rem; font-weight: 600; color: var(--navy-800); display: flex; align-items: center; gap: 4px; }

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Process steps
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 20px;
}
.process-step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 26px; left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--line);
  z-index: 0;
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; }

@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-step:not(:first-child)::before { display: none; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Testimonials
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.testi-stars { color: var(--gold-500); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p.quote { color: var(--slate-900); font-size: 0.93rem; margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.testi-person .pname { font-weight: 600; font-size: 0.86rem; color: var(--navy-900); }
.testi-person .prole { font-size: 0.76rem; color: var(--slate-400); }

@media (max-width: 980px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: var(--navy-900);
  background-image: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
}
.cta-band h3 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }

@media (max-width: 780px) {
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-band-actions { flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-text .name { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.86rem; margin: 14px 0 18px; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-500);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col a { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.68); padding: 6px 0; }
.footer-col a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; padding: 7px 0; color: rgba(255,255,255,0.78); }
.footer-contact-item svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; stroke: var(--gold-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.footer-social a:hover svg { stroke: var(--navy-900); fill: var(--navy-900); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   Generic page header (non-home pages)
   ============================================ */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 0;
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-100);
  margin-bottom: 14px;
  display: flex; gap: 8px; align-items: center;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 60ch; }

/* ============================================
   Filter bar (services hub)
   ============================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--white);
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--navy-800); color: var(--navy-900); }
.filter-chip.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ============================================
   Service detail page
   ============================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.detail-main h2 { margin-top: 36px; margin-bottom: 14px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { margin-bottom: 14px; }
.detail-main ul.check-list { margin: 14px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--slate-900);
}
.check-list li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; stroke: var(--green-700); }

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 22px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--navy-900);
  font-weight: 500;
}
.doc-item svg { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--gold-600); }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.96rem;
}
.faq-q svg { width: 18px; height: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { font-size: 0.9rem; color: var(--slate-600); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 240px; padding-top: 12px; }

/* Sticky apply card */
.apply-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.apply-card .price-display {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 4px;
}
.apply-card .price-display .amount { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--navy-900); }
.apply-card .price-display .strike { text-decoration: line-through; color: var(--slate-400); font-size: 0.95rem; }
.apply-card .price-note { font-size: 0.78rem; color: var(--slate-400); margin-bottom: 18px; }
.apply-card .badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini-badge {
  font-size: 0.72rem;
  color: var(--slate-600);
  background: var(--cream-100);
  padding: 6px 10px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.mini-badge svg { width: 13px; height: 13px; stroke: var(--green-700); }

@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; }
  .apply-card { position: static; }
}

/* ============================================
   Multi-step Apply Form (modal)
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,37,69,0.55);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.modal-head {
  background: var(--navy-900);
  color: var(--white);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head .modal-service-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.modal-head .modal-step-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold-100); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.modal-close { background: none; border: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.modal-close svg { width: 18px; height: 18px; stroke: var(--white); }

.step-progress { display: flex; gap: 4px; padding: 14px 26px 0; }
.step-progress .seg { flex: 1; height: 3px; background: var(--line); border-radius: 2px; }
.step-progress .seg.done { background: var(--gold-500); }

.modal-body { padding: 26px; max-height: 60vh; overflow-y: auto; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.form-group .req { color: var(--red-600); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--slate-900);
  background: var(--cream-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 0.76rem; color: var(--slate-400); margin-top: 6px; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-tile {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-900);
  transition: all 0.15s ease;
  text-align: center;
}
.option-tile:hover { border-color: var(--gold-500); }
.option-tile.selected { border-color: var(--navy-900); background: var(--cream-100); font-weight: 600; }

.review-summary { background: var(--cream-100); border-radius: var(--radius-md); padding: 18px; margin-bottom: 18px; }
.review-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: none; }
.review-row .rlabel { color: var(--slate-600); }
.review-row .rval { font-weight: 600; color: var(--navy-900); text-align: right; }

.modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.success-state { text-align: center; padding: 20px 0; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 30px; height: 30px; stroke: var(--green-700); }
.success-ref { font-family: var(--font-mono); background: var(--cream-100); padding: 10px 16px; border-radius: var(--radius-sm); display: inline-block; margin: 14px 0; font-size: 0.88rem; color: var(--navy-900); font-weight: 600; }

@media (max-width: 560px) {
  .form-row-2, .option-grid { grid-template-columns: 1fr; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { max-width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; display: flex; flex-direction: column; }
  .modal-body { flex: 1; }
}

/* ============================================
   Simple lead form (contact page)
   ============================================ */
.lead-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

/* ============================================
   About page extras
   ============================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 24px; border-left: 3px solid var(--gold-500); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 780px) { .value-grid { grid-template-columns: 1fr; } }

.team-strip { display: flex; gap: 36px; flex-wrap: wrap; }
.team-stat { text-align: left; }
.team-stat .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold-500); }
.team-stat .lbl { font-size: 0.84rem; color: rgba(255,255,255,0.7); }

/* Contact page 2-col layout → 1-col on mobile */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Service detail process grid — variable columns */
.process-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 980px) {
  .process-grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-grid-5 { grid-template-columns: 1fr; }
}

/* Ledger step dot states */
.step-dot { font-size: 10px; line-height: 1; }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
