/* =========================================================================
   Wealth Guard & Growth — An Tâm Tài Chính
   Design system: Deep navy, warm gold, soft ivory, white.
   Elegant, calm, trustworthy financial-education styling.
   Large, readable type for visitors age 50+.
   ========================================================================= */

:root {
  /* Brand palette */
  --navy:        #0f2540;   /* deep navy */
  --navy-800:    #16324f;
  --navy-700:    #1e3f63;
  --navy-600:    #274d76;
  --gold:        #c19a4b;   /* warm gold */
  --gold-600:    #a9863d;
  --gold-100:    #f2e8d2;
  --ivory:       #f8f4ec;   /* soft ivory */
  --ivory-200:   #efe8da;
  --white:       #ffffff;
  --ink:         #22303f;   /* body text */
  --ink-soft:    #4a5a6a;
  --line:        #e3dccd;
  --success:     #2f7d5b;
  --success-bg:  #e8f3ee;
  --info-bg:     #eaf0f6;
  --danger:      #9a3b3b;

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Sizing — generous for 50+ readers */
  --fs-base: 1.125rem;      /* 18px */
  --lh-base: 1.7;
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15,37,64,.08), 0 1px 2px rgba(15,37,64,.06);
  --shadow-md: 0 6px 20px rgba(15,37,64,.10);
  --shadow-lg: 0 18px 48px rgba(15,37,64,.16);
  --space: 1.25rem;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--navy-800); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--maxw-narrow); }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; color: var(--gold-600); margin: 0 0 .6rem;
}
.lead { font-size: 1.22rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.gold-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 1.1rem 0; border-radius: 3px; }
.text-center .gold-rule { margin-left: auto; margin-right: auto; }

section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.bg-navy { background: var(--navy); color: #dbe4ee; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-ivory-200 { background: var(--ivory-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .06s ease, background .2s, color .2s, border-color .2s;
  min-height: 52px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #23180a; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: #23180a; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); color:#fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn-lg { font-size: 1.12rem; padding: 1.05rem 1.9rem; min-height: 58px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(248,244,236,.94);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 86px;
}
.nav-menu { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { height: 78px; width: auto; max-width: 270px; object-fit: contain; display: block; }
.brand-fallback { display: flex; align-items: center; gap: .7rem; }
.footer-logo { height: 84px; width: auto; margin-bottom: .8rem; display: block; }
@media (max-width: 520px){ .brand-logo { height: 58px; max-width: 200px; } }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px;
  background: var(--navy); color: var(--gold); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  border: 1.5px solid var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-en { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.brand-vi { font-size: .72rem; letter-spacing: .04em; color: var(--gold-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .55rem .7rem; border-radius: 8px; text-decoration: none;
  color: var(--navy-800); font-weight: 600; font-size: .98rem; white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ivory-200); color: var(--navy); }
.nav-links .nav-business a {
  border: 1.5px solid var(--gold); color: var(--navy); background: rgba(193,154,75,.06);
  padding: .48rem .72rem; white-space: nowrap;
}
.nav-links .nav-business a:hover,
.nav-links .nav-business a[aria-current="page"] {
  background: var(--gold); color: #23180a; border-color: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; font-weight: 600; }
.lang-switch a { padding: .35rem .5rem; border-radius: 7px; text-decoration: none; color: var(--ink-soft); }
.lang-switch a.active { background: var(--navy); color: #fff; }
.lang-switch .sep { color: var(--line); }

.nav-toggle {
  display: none; background: var(--navy); color:#fff; border: 0; border-radius: 9px;
  width: 48px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 86px 0 auto 0; background: var(--ivory);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none; flex-direction: column; padding: 1rem 1.25rem 1.5rem; gap: .25rem;
    max-height: calc(100vh - 86px); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-links a { padding: .8rem .7rem; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links .nav-business a { border: 1.5px solid var(--gold); border-radius: 9px; margin-top: .55rem; padding: .8rem .9rem; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: .9rem; gap: .8rem; }
  .lang-switch { justify-content: center; padding: .4rem 0; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%); color: #e7edf5; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -12%; top: -20%; width: 46%; height: 140%;
  background: radial-gradient(closest-side, rgba(193,154,75,.20), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #cdd8e6; }
.hero-photo {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.card.pad-lg { padding: 2rem; }
.card h3 { margin-top: .2rem; }
.card .icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }

/* Selectable concern cards */
.concern-card {
  display: flex; align-items: flex-start; gap: .85rem; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem; text-decoration: none; color: var(--navy-800);
  box-shadow: var(--shadow-sm); transition: border-color .18s, transform .06s, box-shadow .18s;
  font-weight: 600;
}
.concern-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--navy); }
.concern-card .tick { color: var(--gold-600); flex: 0 0 auto; margin-top: .1rem; }

/* Promises */
.promise { display: flex; gap: 1rem; align-items: flex-start; }
.promise .num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
  color: var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.bg-navy .promise .num { background: var(--gold); color: var(--navy); }

/* ---------- Workshop feature ---------- */
.workshop-feature {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #e7edf5; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(193,154,75,.35);
}
.workshop-feature h2, .workshop-feature h3 { color: #fff; }
.wf-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem 1.4rem; margin: 1.2rem 0; }
.wf-meta .row { display: flex; gap: .6rem; align-items: baseline; }
.wf-meta .k { color: var(--gold); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; min-width: 92px; }
@media (max-width: 620px){ .wf-meta { grid-template-columns: 1fr; } }

/* ---------- Callouts / notes ---------- */
.note {
  border-left: 4px solid var(--gold); background: var(--gold-100);
  padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0;
}
.note.info { border-color: var(--navy-600); background: var(--info-bg); }
.note.success { border-color: var(--success); background: var(--success-bg); }
.qualify-badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--gold-100);
  color: var(--navy); border: 1px solid var(--gold); border-radius: 999px;
  padding: .4rem .9rem; font-weight: 700; font-size: .92rem;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; color: var(--navy-800); margin-bottom: .4rem; }
.field .hint { font-size: .9rem; color: var(--ink-soft); margin-top: .3rem; }
.field .req { color: var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 1.05rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,75,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px){ .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .98rem; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--navy); }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem 1.2rem; margin: 0 0 1.15rem; }
fieldset legend { font-weight: 700; color: var(--navy-800); padding: 0 .4rem; }
.radio-list label, .choice {
  display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: .6rem; cursor: pointer; font-weight: 600; color: var(--navy-800);
  background: var(--white); transition: border-color .15s, background .15s;
}
.radio-list label:hover, .choice:hover { border-color: var(--gold); }
.radio-list input, .choice input { width: 22px; height: 22px; accent-color: var(--navy); flex: 0 0 auto; }
.radio-list input:checked + span { color: var(--navy); }
.form-error { color: var(--danger); font-size: .92rem; margin-top: .3rem; display: none; }
.form-error.show { display: block; }

/* ---------- Tools / calculators ---------- */
.tool-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2.4rem); }
.progress { height: 8px; background: var(--ivory-200); border-radius: 99px; overflow: hidden; margin-bottom: 1.6rem; }
.progress > span { display: block; height: 100%; background: var(--gold); width: 0; transition: width .3s ease; }
.step { display: none; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.result-score { font-family: var(--font-head); font-size: 3.4rem; color: var(--navy); line-height: 1; }
.result-band { display:inline-block; padding:.4rem 1rem; border-radius:999px; font-weight:700; }
.meter { height: 14px; border-radius: 99px; background: var(--ivory-200); overflow: hidden; margin: 1rem 0; }
.meter > span { display:block; height:100%; background: linear-gradient(90deg,#c9a25a,#8fae8a,#2f7d5b); }
.calc-grid { display: grid; grid-template-columns: 1fr auto; gap: .8rem 1.2rem; align-items: center; }
.calc-grid input { max-width: 220px; }
.calc-total { background: var(--navy); color:#fff; border-radius: var(--radius); padding: 1.4rem 1.6rem; text-align:center; }
.calc-total .big { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); }
.range-row { display:grid; grid-template-columns: 1fr; gap:.4rem; margin-bottom:1.1rem; }
.range-row .val { font-weight:700; color: var(--navy); }
input[type=range]{ width:100%; accent-color: var(--gold-600); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  background: rgba(15,37,64,.97); padding: .6rem .8rem; box-shadow: 0 -4px 18px rgba(0,0,0,.22);
  gap: .5rem;
}
.sticky-cta .btn { flex: 1; padding: .8rem .6rem; font-size: .95rem; min-height: 48px; }
@media (max-width: 760px){ .sticky-cta { display: flex; } body { padding-bottom: 72px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d6; padding: 3rem 0 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a { color: #b9c6d6; text-decoration: none; font-size: .96rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand-en { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-vi { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.4rem; font-size: .86rem; color: #8ea0b4; }
.footer-bottom a { color: #9fb2c6; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Disclosure block ---------- */
.disclosure { font-size: .86rem; color: var(--ink-soft); background: var(--ivory-200); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-top: 1.5rem; }
.disclosure strong { color: var(--navy-800); }

/* ---------- Placeholder media ---------- */
.ph {
  display: grid; place-items: center; text-align: center; color: var(--navy-600);
  background: repeating-linear-gradient(45deg, #eef3f8, #eef3f8 12px, #e6edf5 12px, #e6edf5 24px);
  border: 1px dashed var(--navy-600); border-radius: 14px; padding: 2rem; font-weight: 600; min-height: 260px;
}
.ph small { display:block; font-weight: 500; color: var(--ink-soft); margin-top:.4rem; }
.editable {
  background: #fff7e0; border: 1px dashed var(--gold-600); color: #6a5320;
  padding: .15rem .45rem; border-radius: 6px; font-weight: 600; font-size: .95em;
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .9rem; color: var(--ink-soft); padding: 1rem 0 0; }
.crumbs a { color: var(--navy-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--line); margin: 0 .3rem; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 2.2rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .5rem; }
.answer-box { background: var(--info-bg); border: 1px solid #cddaea; border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.2rem 0 1.8rem; }
.answer-box .eyebrow { margin-bottom: .3rem; }

/* Utility */
.stack > * + * { margin-top: 1rem; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.hide { display: none !important; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.pill-list { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:.6rem 0 0; }
.pill-list li { background: var(--ivory-200); border:1px solid var(--line); border-radius:999px; padding:.35rem .8rem; font-size:.92rem; font-weight:600; color: var(--navy-800); }

/* ---------- Business opportunity ---------- */
.business-hero { padding: clamp(3.4rem, 7vw, 5.8rem) 0; }
.business-photo { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow-lg); background: var(--navy-800); }
.business-photo img { width:100%; aspect-ratio: 4 / 5; object-fit:cover; object-position:center 28%; }
.business-photo figcaption { padding:.75rem 1rem; color:#dbe4ee; font-size:.9rem; text-align:center; }
.business-hero-note { margin:1.1rem 0 0; color:var(--gold); font-size:.92rem; font-weight:700; letter-spacing:.02em; }
.business-truth-bar { background:var(--gold-100); border-bottom:1px solid var(--line); }
.business-truth-bar .grid { gap:1rem; }
.business-truth-bar .grid > div { display:flex; flex-direction:column; gap:.25rem; padding:.8rem 1rem; border-left:3px solid var(--gold); }
.business-truth-bar strong { font-family:var(--font-head); font-size:1.12rem; }
.business-truth-bar span { color:var(--ink-soft); font-size:.94rem; }
.business-icon { display:inline-grid; place-items:center; width:46px; height:46px; border-radius:50%; background:var(--navy); color:var(--gold); font-family:var(--font-head); font-weight:700; margin-bottom:1rem; }
.fit-card { border-top:5px solid var(--success); }
.not-fit-card { border-top:5px solid var(--gold); }
.check-list, .plain-list { list-style:none; padding:0; margin:1rem 0 0; }
.check-list li, .plain-list li { position:relative; padding:0 0 .8rem 1.8rem; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--success); font-weight:800; }
.plain-list li::before { content:"•"; position:absolute; left:.35rem; top:0; color:var(--gold-600); font-weight:800; }
.check-list.compact li { padding-bottom:.45rem; }
.check-list-light li { color:#dbe4ee; }
.check-list-light li::before { color:var(--gold); }
.business-step-list { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; }
.business-step-list article { display:flex; gap:1rem; padding:1.35rem; border:1px solid rgba(255,255,255,.15); border-radius:var(--radius); background:rgba(255,255,255,.055); }
.business-step-list article > span { flex:0 0 46px; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:var(--gold); color:var(--navy); font-family:var(--font-head); font-weight:700; }
.business-step-list h3 { margin:.1rem 0 .35rem; color:#fff; }
.business-step-list p { margin:0; color:#cdd8e6; }
.timeline-cards .card { border-top:4px solid var(--gold); }
.timeline-cards ul { padding-left:1.2rem; margin-bottom:0; }
.timeline-cards li { margin-bottom:.45rem; }
.comp-card { display:flex; gap:1rem; padding:1.1rem 0; border-top:1px solid var(--line); }
.comp-card > span { flex:0 0 42px; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--gold-100); color:var(--navy); font-family:var(--font-head); font-weight:700; }
.comp-card h3 { margin:.1rem 0 .25rem; }
.comp-card p { margin:0; }
.faq-stack { display:grid; gap:.75rem; margin-top:2rem; }
.faq-stack details { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--shadow-sm); }
.faq-stack summary { cursor:pointer; padding:1rem 1.2rem; color:var(--navy); font-weight:700; }
.faq-stack details p { padding:0 1.2rem 1.1rem; margin:0; color:var(--ink-soft); }
.business-interest-grid { gap:2.8rem; align-items:start; }
.business-form-shell { color:var(--ink); }
.review-form-banner { background:var(--gold-100); color:var(--navy); border:1px solid var(--gold); border-radius:var(--radius-sm); padding:.8rem 1rem; margin-bottom:1.2rem; font-size:.9rem; font-weight:700; }
.business-disclosure { border-left:4px solid var(--gold); }
.business-home-callout { border:1px solid var(--gold); background:linear-gradient(135deg,var(--white),var(--gold-100)); box-shadow:var(--shadow-md); }
.business-alliance {
  background:
    radial-gradient(circle at 50% 0%, rgba(193,154,75,.13), transparent 40%),
    var(--ivory);
  color:var(--ink);
}
.business-alliance h2, .business-alliance h3 { color:var(--navy); }
.alliance-heading { max-width:1120px; }
.alliance-pillars { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.25rem .72rem; font-size:clamp(1.45rem,2.4vw,2.2rem); }
.alliance-pillars span:not(.alliance-bullet) { white-space:nowrap; }
.alliance-bullet { color:#e65721; font-family:var(--font-body); font-size:.72em; line-height:1; }
.alliance-showcase { max-width:1120px; margin:2.1rem auto 0; padding:clamp(1.5rem,4vw,2.7rem); border:1px solid rgba(193,154,75,.55); border-radius:22px; background:#fff; box-shadow:var(--shadow-lg); }
.alliance-lockup {
  display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr); align-items:center;
  gap:clamp(1.6rem,4vw,3.5rem); max-width:760px; margin:0 auto;
}
.alliance-divider { width:1px; height:120px; background:linear-gradient(transparent,var(--gold),transparent); }
.alliance-brand { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-width:0; }
.alliance-wgg-logo { width:min(100%,205px); max-height:150px; object-fit:contain; }
.alliance-iaa-logo { width:min(100%,225px); max-height:84px; object-fit:contain; }
.alliance-tagline { margin:1.55rem 0 1.7rem; color:#e65721; text-align:center; font-family:var(--font-head); font-size:clamp(1.45rem,2.6vw,2rem); font-weight:700; }
.alliance-link { display:inline-block; margin-top:.55rem; color:var(--gold-600); font-size:.8rem; font-weight:700; text-decoration:none; }
.alliance-link:hover { color:#e65721; text-decoration:underline; }
.alliance-partners { padding-top:1.8rem; border-top:1px solid var(--gold); }
.alliance-partners h3 { margin:0 0 1.5rem; text-align:center; font-size:clamp(1.4rem,2.5vw,2rem); }
.partner-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; }
.partner-card { flex:0 1 calc(25% - .75rem); min-width:190px; min-height:145px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.55rem; padding:1rem .75rem .8rem; border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--ink-soft); text-align:center; text-decoration:none; box-shadow:var(--shadow-sm); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.partner-card:hover { transform:translateY(-2px); border-color:var(--gold); box-shadow:var(--shadow-md); }
.partner-card:focus-visible { outline:3px solid rgba(230,87,33,.35); outline-offset:3px; }
.partner-card img { width:100%; max-width:205px; height:74px; object-fit:contain; }
.partner-card span { font-size:.75rem; font-weight:700; overflow-wrap:anywhere; }
@media (max-width: 700px) {
  .alliance-pillars { display:block; }
  .alliance-pillars span:not(.alliance-bullet) { display:block; white-space:normal; }
  .alliance-bullet { display:block; margin:.4rem 0; }
  .alliance-lockup { grid-template-columns:1fr; gap:1.2rem; }
  .alliance-divider { width:min(260px,75%); height:1px; margin:0 auto; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
  .alliance-wgg-logo { width:min(100%,190px); max-height:138px; }
  .alliance-iaa-logo { width:min(100%,205px); max-height:78px; }
  .partner-card { flex-basis:calc(50% - .5rem); min-width:0; }
}
@media (max-width: 430px) {
  .alliance-showcase { padding:1.25rem .9rem; }
  .partner-card { flex-basis:100%; }
}
@media (max-width: 760px) {
  .business-step-list { grid-template-columns:1fr; }
  .business-photo img { aspect-ratio: 5 / 4; object-position:center 30%; }
}

/* ---------- Consultation popup (Fillout embed) ---------- */
.wgg-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.wgg-modal.open { display: block; }
.wgg-modal__overlay { position: absolute; inset: 0; background: rgba(15,37,64,.62); backdrop-filter: blur(2px); }
.wgg-modal__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(920px, 94vw); height: min(88vh, 860px);
  background: var(--ivory); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; border: 1px solid var(--gold);
}
.wgg-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1.1rem; background: var(--navy); color: #fff; flex: 0 0 auto; }
.wgg-modal__head .t { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.wgg-modal__close { background: transparent; border: 0; color: #fff; cursor: pointer; width: 42px; height: 42px;
  border-radius: 8px; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.wgg-modal__close:hover { background: rgba(255,255,255,.14); }
.wgg-modal__body { flex: 1 1 auto; position: relative; background: var(--ivory); }
.wgg-modal__body iframe { width: 100%; height: 100%; border: 0; display: block; }
.wgg-modal__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-weight: 600; }
.wgg-modal__msg { padding: 2.5rem 1.5rem; text-align: center; max-width: 460px; margin: 0 auto; }
.wgg-modal__msg h3 { margin-top: 0; }
@media (max-width: 640px) {
  .wgg-modal__card { width: 100vw; height: 100vh; height: 100dvh; max-width: none; left: 0; top: 0; transform: none; border-radius: 0; border: 0; }
}
body.wgg-noscroll { overflow: hidden; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
