/* ==========================================================================
   Berean Financial — site styles
   ========================================================================== */

:root {
  --navy: #172540;
  --navy-2: #1f3156;
  --navy-3: #2c4170;
  --gold: #b98a3e;
  --gold-2: #d2ac68;
  --gold-soft: #f4ead6;
  --cream: #faf7f1;
  --cream-2: #f3eee4;
  --paper: #ffffff;
  --ink: #18203a;
  --text: #414a5e;
  --muted: #6c7487;
  --line: #e6dfd1;
  --line-2: #d9d0be;
  --success: #2f7a55;
  --danger: #b2433a;

  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 37, 64, .06), 0 2px 8px rgba(23, 37, 64, .05);
  --shadow: 0 2px 6px rgba(23, 37, 64, .05), 0 18px 40px -12px rgba(23, 37, 64, .18);
  --shadow-lg: 0 30px 70px -20px rgba(23, 37, 64, .35);
  --wrap: 1180px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  animation: page-in .5s ease both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: var(--navy-3); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.28rem; }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 16px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--paper); }
.section-navy { background: var(--navy); color: #c9d1e3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .card { color: var(--text); }
.section-navy .card h3 { color: var(--ink); }
.section-navy .card .btn-link { color: var(--navy); }
.center { text-align: center; }
.lede { font-size: 1.12rem; color: var(--text); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  line-height: 1.2;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(23,37,64,.6); }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -10px rgba(185,138,62,.7); }
.btn-gold:hover { background: #a87b33; color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-link { font-weight: 500; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s; }
.btn-link:hover svg { transform: translateX(4px); }
.btn-sm { padding: 11px 20px; font-size: .74rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.btn-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.nav.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(23,37,64,.25); height: 66px; }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 11px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.45rem; line-height: 1;
}
.brand-logo { height: 52px; width: auto; flex: none; transition: height .3s; }
.nav.scrolled .brand-logo { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 1.38rem; letter-spacing: .16em; color: var(--navy); margin-right: -.16em; }
.brand-sub { font-family: var(--sans); font-weight: 600; font-size: .64rem; letter-spacing: .3em; color: var(--gold); margin-top: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-dd-btn {
  font-size: .86rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-dd-btn:hover { color: var(--gold); }
.nav-links > a.active { color: var(--gold); }
.nav-dd { position: relative; }
.nav-dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 250px; background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { display: flex; flex-direction: column; padding: 11px 14px; border-radius: 10px; text-decoration: none; }
.nav-dd-menu a strong { font-size: .9rem; font-weight: 600; color: var(--ink); }
.nav-dd-menu a span { font-size: .78rem; color: var(--muted); }
.nav-dd-menu a:hover { background: var(--cream); }
.nav-dd-menu a:hover strong { color: var(--gold); }
.nav-cta { flex: none; }
.hamburger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 120; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.hamburger span:nth-child(1) { top: 15px; } .hamburger span:nth-child(2) { top: 21px; } .hamburger span:nth-child(3) { top: 27px; }
.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--cream); padding: calc(var(--nav-h) + 16px) 24px 32px;
  display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .nav { background: var(--cream); box-shadow: none; z-index: 130; }
.mobile-menu a.mobile-nav-link { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.mobile-nav-link:hover { color: var(--gold); }
.mobile-menu .mobile-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 26px 0 4px; }
.mobile-menu .btn { margin-top: 28px; }
.mobile-menu .mobile-phone { margin-top: 16px; text-align: center; color: var(--muted); font-size: .92rem; }

@media (max-width: 1120px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 70px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 420px at 85% -10%, rgba(185,138,62,.14), transparent 60%),
              radial-gradient(700px 400px at -10% 110%, rgba(23,37,64,.07), transparent 60%);
}
.page-hero .lede { font-size: 1.15rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--nav-h) + 70px) 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1000px 520px at 90% 0%, rgba(185,138,62,.16), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(23,37,64,.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero p { font-size: 1.06rem; max-width: 560px; }
.hero .btn-row { margin-top: 34px; }

.profile-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); max-width: 440px; justify-self: end; width: 100%; }
.profile-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--navy); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile-photo .tag {
  position: absolute; left: 16px; bottom: 16px; background: rgba(23,37,64,.88); color: #fff; border-radius: 999px;
  padding: 8px 14px 8px 10px; font-size: .74rem; font-weight: 500; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(6px);
}
.profile-photo .tag img { width: 24px; height: 24px; }
.profile-body { padding: 26px 28px 28px; }
/* Small round headshot variant (remove "profile-card--small" in index.html for the large photo) */
.profile-card--small { max-width: 380px; text-align: center; }
.profile-card--small .profile-photo { width: 168px; height: 168px; aspect-ratio: auto; margin: 32px auto 0; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 12px 28px -10px rgba(23,37,64,.45); }
.profile-card--small .profile-photo img { object-position: 50% 22%; }
.profile-card--small .profile-body { padding-top: 22px; }
.profile-card--small .contact-list { display: inline-grid; text-align: left; }
.profile-body h3 { font-size: 1.45rem; margin: 0 0 2px; }
.profile-role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .93rem; }
.contact-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.contact-list a { color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold); }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 22px; font-size: .9rem; color: var(--ink); font-weight: 500; line-height: 1.35; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.section-head { margin-bottom: 54px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-badge { width: 54px; height: 54px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.icon-badge svg { width: 26px; height: 26px; }
.card-navy .icon-badge { background: rgba(185,138,62,.18); }

.link-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 44px; text-decoration: none; color: inherit; position: relative; overflow: hidden; }
.link-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.link-card .btn-link { margin-top: 28px; }
.link-card.navy { background: var(--navy); border-color: var(--navy); color: #c9d1e3; }
.link-card.navy h2 { color: #fff; }
.link-card.navy .btn-link { color: var(--gold-2); }
.link-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(185,138,62,.12); }

.service-card .points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .9rem; }
.points li, .check-list li { position: relative; padding-left: 28px; }
.points li::before, .check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98a3e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.section-navy .check-list li { color: #d5dbea; }

.specialty { margin-top: 44px; text-align: center; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.specialty em { color: var(--gold); }

blockquote.pull {
  margin: 0; padding: 34px 38px; border-radius: var(--radius); background: var(--gold-soft); border-left: 4px solid var(--gold);
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-style: italic;
}
blockquote.pull cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: relative; }
.step-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); opacity: .9; margin-bottom: 18px; display: block; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- No-judgment band ---------- */
.empathy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.empathy-box { background: var(--navy); color: #c9d1e3; border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.empathy-box h3 { color: #fff; font-size: 1.7rem; font-style: italic; }
.empathy-box::before { content: "\201C"; position: absolute; right: 26px; top: -20px; font-family: var(--serif); font-size: 9rem; color: rgba(185,138,62,.25); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  padding: 22px 26px; background: none; border: 0; cursor: pointer; font-family: var(--serif); font-size: 1.08rem; color: var(--ink);
}
.faq-q:hover { color: var(--gold); }
.faq-icon { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: .3s; }
.faq-icon svg { width: 14px; height: 14px; transition: transform .3s; }
.faq-item.open .faq-icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a-inner { padding: 0 26px 24px; font-size: .96rem; }
.faq-a-inner ul { margin: 0 0 1em; padding-left: 20px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 100px; }
.cta-box {
  background: var(--navy); border-radius: 30px; padding: 70px 60px; text-align: center; color: #c9d1e3; position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; border: 50px solid rgba(185,138,62,.1); }
.cta-box::before { width: 360px; height: 360px; left: -150px; top: -170px; }
.cta-box::after { width: 300px; height: 300px; right: -110px; bottom: -150px; }
.cta-box h2 { color: #fff; position: relative; }
.cta-box h2 em { color: var(--gold-2); }
.cta-box p { max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-box .btn, .cta-box .btn-note { position: relative; }
.cta-box .btn-note { color: #9aa6c2; }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.area-nation {
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
}
.area-nation .big { font-family: var(--serif); font-size: 2.25rem; line-height: 1.05; margin-bottom: 8px; }
.area-nation .big em { color: var(--gold-2); }
.area-nation p { color: #c9d1e3; margin: 0; }
.area-nation svg.us { position: absolute; right: -30px; bottom: -40px; width: 260px; opacity: .12; color: #fff; }
.area-group { margin-top: 26px; }
.area-group h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink); }
.chip svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9b3cb; padding: 80px 0 30px; font-size: .92rem; }
.footer a { color: #d5dbea; text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand-logo { background: #fff; border-radius: 12px; padding: 5px; height: 58px; }
.footer-tagline { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin: 18px 0 14px; font-weight: 600; }
.footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .contact-list svg { color: var(--gold-2); }
.footer .contact-list a { color: #d5dbea; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-legal { margin-top: 18px; font-size: .76rem; color: #7d88a3; line-height: 1.6; }
.footer-legal p { margin: 0 0 4px; }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #8590ab; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.about-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 110px; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.about-photo figcaption { background: var(--navy); color: #fff; padding: 20px 24px; }
.about-photo figcaption strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 400; display: block; }
.about-photo figcaption span { font-size: .78rem; color: var(--gold-2); letter-spacing: .12em; text-transform: uppercase; }
.about-photo .about-tagline { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(210, 172, 104, .35); font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; color: var(--gold-2); }
.about-copy p { font-size: 1.05rem; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 34px 0; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.value strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.08rem; margin-bottom: 4px; }
.value p { font-size: .9rem; margin: 0; }

.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.badge-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 18px; text-align: center; text-decoration: none; color: inherit; transition: .25s; display: flex; flex-direction: column; align-items: center; }
a.badge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.badge-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.badge-card strong { font-size: .9rem; line-height: 1.35; display: block; }
.badge-card span { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.badge-card .verify { margin-top: 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: none; }
a.badge-card .verify { display: block; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-tile { display: flex; gap: 20px; align-items: flex-start; }
.contact-tile .icon-badge { margin: 0; flex: none; }
.contact-tile h3 { margin-bottom: 4px; font-size: 1.2rem; }
.contact-tile a { font-size: 1.05rem; color: var(--ink); text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-tile a:hover { color: var(--gold); }

/* ---------- Statistics page ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.stat-value { font-family: var(--serif); font-size: 2.55rem; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.stat-value .unit { color: var(--gold); font-size: .6em; margin-left: 2px; }
.stat p { font-size: .9rem; margin: 0 0 10px; color: var(--ink); }
.stat small { font-size: .8rem; color: var(--gold); font-weight: 600; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); }
.chart-card h3 { margin-bottom: 4px; }
.chart-card .sub { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.chart-box { position: relative; height: 320px; }
.chart-box.tall { height: 380px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cost-table td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.cost-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.cost-table tr.total td { border-bottom: 0; border-top: 2px solid var(--navy); font-family: var(--serif); font-size: 1.2rem; color: var(--navy); padding-top: 16px; }
.penalty-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.penalty { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px; }
.penalty .pct { font-family: var(--serif); font-size: 1.95rem; color: var(--gold-2); line-height: 1; margin-bottom: 8px; }
.penalty p { margin: 0; font-size: .92rem; color: #c9d1e3; }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.calc-inputs { padding: 40px; }
.calc-out { background: var(--navy); color: #c9d1e3; padding: 40px; display: flex; flex-direction: column; }
.calc-out h3 { color: #fff; }
.range-field { margin-bottom: 26px; }
.range-field label { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.range-field output { color: var(--gold); font-weight: 600; white-space: nowrap; }
input[type=range] { width: 100%; accent-color: var(--gold); height: 6px; }
.calc-results { display: grid; gap: 14px; margin: 10px 0 24px; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .93rem; }
.calc-row span:last-child { color: #fff; font-weight: 600; }
.calc-big { margin-top: auto; padding: 26px; border-radius: 18px; background: rgba(185,138,62,.15); border: 1px solid rgba(185,138,62,.35); }
.calc-big .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.calc-big .num { font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1.1; }
.calc-big .meta { font-size: .88rem; }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 18px; }

.download-card { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--gold-soft); border: 1px solid #e8d6b3; border-radius: 22px; padding: 34px 38px; }
.download-card h3 { margin: 0 0 4px; }
.download-card p { margin: 0; }

/* ---------- Forms ---------- */
.form-shell { max-width: 900px; margin: 0 auto; }
.save-banner { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 18px; font-size: .88rem; margin-bottom: 26px; }
.save-banner svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.progress-wrap { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 26px; margin-bottom: 26px; position: sticky; top: 74px; z-index: 20; box-shadow: var(--shadow-sm); }
.progress-top { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: 10px; color: var(--muted); }
.progress-top strong { font-weight: 600; color: var(--ink); }
.progress-bar { height: 6px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 20%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 999px; transition: width .4s ease; }
.steps-nav { display: flex; justify-content: space-between; gap: 6px; margin-top: 16px; }
.steps-nav button { flex: 1; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; }
.steps-nav .dot { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 600; font-size: .8rem; background: #fff; transition: .25s; }
.steps-nav button.active { color: var(--ink); font-weight: 600; }
.steps-nav button.active .dot { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps-nav button.done .dot { background: var(--gold); border-color: var(--gold); color: #fff; }

.form-step { display: none; animation: step-in .35s ease; }
.form-step.active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p.intro { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.form-card h3 { font-size: 1.2rem; margin: 30px 0 4px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-card h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 10px; }
.form-card h3 + p.help { margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fields-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .84rem; font-weight: 500; color: var(--ink); }
.field .req { color: var(--danger); }
.help { font-size: .82rem; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7487' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(185,138,62,.15); }
input:invalid.touched, select:invalid.touched { border-color: var(--danger); }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid.cols-1 { grid-template-columns: 1fr; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--cream); transition: .2s; }
.choice:hover { border-color: var(--line-2); background: #fff; }
.choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.choice strong { display: block; font-size: .93rem; font-weight: 600; }
.choice span.d { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(23,37,64,.08); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; cursor: pointer; background: var(--cream); transition: .2s; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }

.doc-item { border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--cream); display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; }
.doc-item + .doc-item { margin-top: 12px; }
.doc-item strong { font-size: .95rem; }
.doc-item p { grid-column: 1; margin: 0; font-size: .83rem; color: var(--muted); }
.doc-item .pill-row { grid-column: 2; grid-row: 1 / span 2; gap: 6px; }
.doc-item .pill span { padding: 7px 13px; font-size: .78rem; background: #fff; }

.portal-box { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #c9d1e3; border-radius: 18px; padding: 26px 28px; margin: 6px 0 24px; }
.portal-box strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 2px; }
.portal-box p { margin: 0; font-size: .88rem; max-width: 470px; }
.portal-box .portal-pending { font-size: .85rem; color: var(--gold-2); max-width: 260px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--gold-soft); font-size: .88rem; color: var(--ink); margin: 16px 0; }
.notice svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.notice.secure { background: #eaf3ee; }
.notice.secure svg { color: var(--success); }

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .right { display: flex; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.save-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: .88rem; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; box-shadow: var(--shadow-lg); }
.save-toast.show { opacity: 1; transform: translate(-50%, 0); }

.review { display: grid; gap: 18px; }
.review-group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.review-group h4 { margin: 0; padding: 12px 18px; background: var(--cream-2); font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.review-group h4 button { background: none; border: 0; color: var(--gold); font: inherit; font-size: .74rem; cursor: pointer; letter-spacing: .1em; }
.review-group dl { margin: 0; padding: 6px 18px 12px; display: grid; grid-template-columns: minmax(140px, .9fr) 1.1fr; gap: 0 18px; font-size: .88rem; }
.review-group dt, .review-group dd { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.review-group dt { color: var(--muted); }
.review-group dd { color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.review-empty { padding: 14px 18px; font-size: .86rem; color: var(--muted); }

.gate-card { max-width: 760px; margin: 0 auto; }
.gate-error { color: var(--danger); font-size: .88rem; margin-top: 12px; display: none; }
.complete-card { display: none; max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 60px 44px; box-shadow: var(--shadow); }
.complete-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin: 0 auto 26px; }
.complete-icon svg { width: 38px; height: 38px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-cover { aspect-ratio: 16 / 7; background: var(--navy); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 22px 26px; }
.post-cover::before { content: ""; position: absolute; width: 240px; height: 240px; right: -70px; top: -90px; border-radius: 50%; border: 36px solid rgba(185,138,62,.18); }
.post-cover.alt { background: linear-gradient(135deg, var(--navy-3), var(--navy)); }
.post-cover.gold { background: linear-gradient(135deg, #8d6527, var(--gold)); }
.post-cover.gold::before { border-color: rgba(255,255,255,.15); }
.post-cover svg { width: 46px; height: 46px; color: var(--gold-2); position: relative; }
.post-cover.gold svg { color: #fff; }
.post-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.post-body h2 { font-size: 1.45rem; margin-bottom: 10px; }
.post-body p { font-size: .94rem; flex: 1; }
.post-body .btn-link { margin-top: 6px; }

.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: calc(var(--nav-h) + 70px) 0 30px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article-head .post-meta { margin-bottom: 18px; }
.article-body { font-size: 1.07rem; line-height: 1.85; }
.article-body h2 { font-size: 1.75rem; margin: 46px 0 14px; }
.article-body h3 { margin: 30px 0 10px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 30px 0; padding: 22px 28px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.article-author { display: flex; gap: 18px; align-items: center; margin: 50px 0 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.article-author img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.article-author strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 400; }
.article-author p { margin: 2px 0 0; font-size: .9rem; }
.more-posts { margin-top: 70px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

[hidden], .cfg-hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .empathy, .area, .about-grid, .faq-layout, .calc { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .profile-card { justify-self: start; }
  .faq-layout .section-head, .about-photo { position: static; }
  .about-photo { max-width: 460px; width: 100%; margin-left: auto !important; margin-right: auto !important; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .faq-layout { gap: 30px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 68px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .grid-2, .grid-3, .steps, .contact-grid, .post-grid, .fields, .fields-3, .choice-grid, .values, .penalty-list { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .step, .form-card, .chart-card { padding: 26px 22px; }
  .link-card { padding: 32px 26px; min-height: 0; }
  .cta-box { padding: 54px 24px; border-radius: 24px; }
  .calc-inputs, .calc-out { padding: 28px 22px; }
  .chart-box { height: 280px; }
  .doc-item { grid-template-columns: 1fr; }
  .doc-item .pill-row { grid-column: 1; grid-row: auto; }
  .steps-nav button .lbl { display: none; }
  .progress-wrap { top: 64px; padding: 16px 18px; }
  .review-group dl { grid-template-columns: 1fr; }
  .review-group dt { border-bottom: 0; padding-bottom: 0; }
  .stat-value { font-size: 2.2rem; }
  .btn-row .btn { width: 100%; }
  .area-nation .big { font-size: 1.9rem; }
  .download-card { padding: 28px 24px; }
}
@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
  .badges { gap: 12px; }
  .badge-card { padding: 18px 10px; }
  .badge-card strong { font-size: .82rem; }
  .brand-name { font-size: 1.08rem; }
}

@media print {
  .nav, .mobile-menu, .footer, .cta-band, .progress-wrap, .save-banner { display: none !important; }
  body { background: #fff; }
}
