/* ---------- Theme tokens ---------- */
:root {
  --bg: #fbfaf7;
  --bg-alt: #f2efe8;
  --surface: #ffffff;
  --ink: #1b2330;
  --muted: #566173;
  --line: #dfe3ea;
  --heading: #14233c;
  --accent: #b8913f;        /* decorative gold */
  --accent-text: #8a6a24;   /* gold dark enough for text on light */
  --btn-bg: #14233c;
  --btn-bg-hover: #1d3253;
  --btn-ink: #ffffff;
  --header-bg: rgba(251, 250, 247, .92);
  --band: #14233c;          /* contact section */
  --band-surface: #1d3253;
  --band-ink: #dfe6f1;
  --band-muted: #a9b6cb;
  --footer: #0e1a2e;
  --seal-bg: #14233c;
  --seal-gold: #c9a24f;
  --shadow: 0 20px 45px rgba(20, 35, 60, .12);
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-underline-offset: 3px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--heading); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .9rem; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lede { font-size: 1.1rem; color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-ink); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-ghost:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.btn-gold { background: #c9a24f; border-color: #c9a24f; color: #14233c; }
.btn-gold:hover { background: #dcb96e; border-color: #dcb96e; color: #14233c; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; }

/* ---------- Header & logo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--heading); }
.seal { width: 56px; height: 56px; flex-shrink: 0; }
.seal-edge { fill: none; stroke: var(--seal-gold); }
.seal-bg { fill: var(--seal-bg); }
.seal-ring { fill: none; stroke: var(--seal-gold); }
.seal-text { fill: var(--seal-gold); font: 600 19px var(--serif); letter-spacing: .5px; }
.brand-words strong { display: block; font: 600 1.55rem/1.05 var(--serif); letter-spacing: -.005em; }
.brand-words small { display: block; margin-top: 4px; font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent-text); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .nav { gap: 10px; } }
@media (max-width: 480px) {
  .seal { width: 46px; height: 46px; }
  .brand { gap: 10px; }
  .brand-words strong { font-size: 1.25rem; }
  .brand-words small { font-size: .6rem; letter-spacing: .12em; }
  .nav .btn-small { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 96px) 0 clamp(52px, 7vw, 100px); background: radial-gradient(900px 380px at 90% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: center; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 48ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.8rem; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .97rem; }
.trust span { color: var(--accent); font-weight: 700; margin-right: 6px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Credentials card */
.id-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 861px) { .id-card { max-width: 420px; } }
.id-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.id-head img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); flex-shrink: 0; }
.id-name { font: 600 1.15rem/1.3 var(--serif); color: var(--heading); margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.id-role { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.id-facts { margin: 0 0 16px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.id-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.id-facts dt { color: var(--muted); }
.id-facts dd { margin: 0; font-weight: 600; text-align: right; }
.id-hint { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.li-link { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--heading); flex-shrink: 0; transition: color .15s; }
.li-link svg { width: 18px; height: 18px; fill: currentColor; }
.li-link:hover { color: var(--accent-text); }
.li-link-lg { width: 28px; height: 28px; vertical-align: middle; margin-left: 6px; }
.li-link-lg svg { width: 24px; height: 24px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--accent); }
.card p { color: var(--muted); margin: 0; }
.card-note { background: transparent; border-top-color: var(--line); border-style: dashed; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 56px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); color: var(--heading); font: 600 1.2rem/38px var(--serif); text-align: center; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.price-card { background: #14233c; color: #dfe6f1; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.price-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 12px dotted rgba(217,181,106,.22); pointer-events: none; }
.price { font: 600 clamp(5rem, 13vw, 8.5rem)/.9 var(--serif); color: #fff; margin: 0; display: grid; grid-template-columns: auto auto; align-items: start; justify-content: start; letter-spacing: -.02em; }
.price .cur { font-size: .3em; color: #d9b56a; margin-top: .35em; margin-right: 6px; letter-spacing: 0; }
.price .per { grid-column: 1 / -1; font: 500 1.05rem var(--sans); color: #a9b6cb; margin-top: 14px; letter-spacing: .02em; }
.price-body { position: relative; z-index: 1; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: 1.08rem; }
.price-list li { padding-left: 30px; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: #d9b56a; font-weight: 700; }
.price-fine { margin: 18px 0 0; font-size: .82rem; color: #a9b6cb; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.compare-col ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.compare-col li { margin-bottom: 6px; }
.compare-col-accent { border: 2px solid var(--accent); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 180px 1fr; gap: 44px; align-items: start; }
.about-photo { width: 180px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--accent); }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } .about-photo { width: 120px; } }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--heading); }
.link-arrow::after { content: " →"; color: var(--accent); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 28px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2314233c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- FAQ ---------- */
#faq details { border-bottom: 1px solid var(--line); }
#faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; color: var(--heading); list-style: none; position: relative; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--accent); }
#faq details[open] summary::after { content: "\2212"; }
#faq details p { color: var(--muted); }

/* ---------- Contact (always dark band) ---------- */
.section-dark { background: var(--band); color: var(--band-ink); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #d9b56a; }
.section-dark .small, .light { color: var(--band-muted); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 14px; }
.contact-list span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #d9b56a; }
.contact-list small { color: var(--band-muted); }
.contact-list a { color: #fff; font-weight: 600; }
.contact-form { background: var(--band-surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.contact-form label { font-size: .9rem; font-weight: 500; color: var(--band-ink); }
.opt { font-weight: 400; color: var(--band-muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 400 1rem var(--sans); color: #1b2330; background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 12px 14px; min-height: 48px; color-scheme: light; }
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: #e07a6a; box-shadow: 0 0 0 2px rgba(224,122,106,.35); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem !important; color: #c8d2e2 !important; }
.consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #9fe0b5; }
.form-status.err { color: #ffb4a6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #a9b6cb; padding: 40px 0 110px; font-size: .92rem; }
.site-footer strong { color: #fff; }
.site-footer a { color: #d9b56a; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.footer-grid > div:last-child { position: relative; }
.footer-grid > div:last-child::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; border-left: 1px solid #2a4266; }
.site-footer .small { color: #a9b6cb; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer-grid > div:last-child { padding-top: 24px; } .footer-grid > div:last-child::before { left: 0; right: 0; bottom: auto; border-left: 0; border-top: 1px solid #2a4266; } }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #14233c; border-top: 2px solid #c9a24f; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { color: #fff; text-align: center; text-decoration: none; font-weight: 600; padding: 15px 0; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
}
