:root {
  --ink: #0f1d2e;
  --ink-2: #33445a;
  --muted: #64748b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --navy: #0d2a4a;
  --navy-2: #12385f;
  --accent: #c8102e;
  --accent-ink: #9e0c24;
  --gold: #e8b04b;
  --ok: #157f54;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 29, 46, .06), 0 8px 24px rgba(15, 29, 46, .08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfe0f3; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .hide-sm { opacity: .9; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-weight: 800; font-size: 1rem;
}
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--bg-soft); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--accent); }
.nav a.btn-primary:hover { background: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(200, 16, 46, .25); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(232, 176, 75, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(200, 16, 46, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0a2140 60%, #081a33 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: #d6e2f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c4d4e8; font-size: .93rem; padding: 0; margin: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--gold); flex: none; }

.hero-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-card h3 { font-size: 1.25rem; }
.hero-card p.small { color: var(--muted); font-size: .9rem; }

/* Forms */
.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { font-size: .82rem; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 11px 12px; border: 1px solid #cfd7e2; border-radius: 9px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(18, 56, 95, .15); border-color: var(--navy-2); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; }
.form .fine { font-size: .78rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin-bottom: 12px; }
.notice.ok { background: #e7f6ee; color: var(--ok); }
.notice.err { background: #fdecef; color: var(--accent-ink); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 29, 46, .12); }
.card p { color: var(--ink-2); }
.card .more { font-weight: 700; color: var(--accent); font-size: .93rem; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: #eef3f9; color: var(--navy-2);
}
.icon.red { background: #fdecef; color: var(--accent); }
.icon.gold { background: #fdf4e3; color: #a8741a; }

.section-head { margin-bottom: 44px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; }
.step p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: #e7f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157f54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 18px; padding: 36px; }
.panel h3 { color: #fff; }
.panel .checks li { color: #dbe7f5; }
.panel .checks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8b04b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E"); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.stat { text-align: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.6rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 18px 28px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { color: var(--ink-2); margin-top: 0; }
.faq details > :last-child { padding-bottom: 18px; }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--accent) 0%, #a30d26 100%); color: #fff; border-radius: 20px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #ffe1e6; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #0a2140 100%); color: #fff; padding: 72px 0 64px; }
.page-hero .lead { color: #d6e2f0; }
.page-hero .wrap.has-form { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* Notice band */
.disclaimer { background: #fff8e8; border: 1px solid #f3dfb2; color: #6b4e12; border-radius: 12px; padding: 16px 18px; font-size: .92rem; }

/* Footer */
.footer { background: #0a1a2e; color: #a9b8ca; padding: 64px 0 28px; font-size: .93rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.footer a { color: #cfdbea; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-name small { color: #8ea2ba; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7f93ab; }

/* Prose (legal pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap, .split, .page-hero .wrap.has-form { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 16px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .form .row, .steps, .grid-4, .stats, .footer .cols { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-card, .card, .panel { padding: 22px; }
}

/* ---------- Original-style layout (logo, language switch, photo hero) ---------- */
:root { --navy: #1d3557; --navy-2: #24467a; --green: #4f7f5a; --green-ink: #3e6748; }
.topbar .wrap { align-items: center; }
.topbar .talk { font-weight: 700; letter-spacing: .02em; color: #fff; }
.topbar .talk a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; color: var(--gold); }
.topbar .lang a { color: #cfe0f3; font-weight: 600; }
.topbar .lang a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.header .wrap { height: 84px; }
.brand img { height: 54px; width: auto; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(79, 127, 90, .3); }
.btn-green:hover { background: var(--green-ink); }

.photo-hero {
  position: relative; color: #fff; text-align: center;
  background: url("/assets/hero.webp") center 30% / cover no-repeat;
}
.photo-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 48, .72) 0%, rgba(13, 27, 48, .62) 55%, rgba(13, 27, 48, .82) 100%);
}
.photo-hero .wrap { position: relative; padding-top: 130px; padding-bottom: 130px; max-width: 900px; }
.photo-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.photo-hero h1 span { display: block; color: #fff; }
.photo-hero .lead { color: #e8eef6; margin: 18px auto 34px; font-size: 1.18rem; }
.photo-hero .hero-actions { justify-content: center; margin: 0 0 28px; }
.photo-hero .btn { min-width: 190px; padding: 15px 26px; font-size: 1.02rem; }
.photo-hero .trust-row { justify-content: center; }

.service-img { width: 92px; height: 92px; object-fit: contain; border-radius: 14px; margin-bottom: 18px; background: #fff; }
.card.service { text-align: center; }
.card.service .more { display: inline-block; margin-top: 4px; }

.assess-band { background: var(--bg-soft); }
.assess-band .split { align-items: start; }
.assess-band .hero-card { box-shadow: var(--shadow); border: 1px solid var(--line); }

.form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 0; display: grid; gap: 12px; }
.form legend { font-weight: 700; padding: 0 6px; color: var(--navy); }
.form .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form .checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.form .checkline input { width: auto; margin-top: 4px; }

/* Printable form */
.print-sheet { max-width: 820px; margin: 0 auto; background: #fff; }
.print-sheet .line { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #c9d2de; }
.print-sheet .line span:first-child { font-weight: 600; color: var(--ink-2); }
.print-sheet h2 { font-size: 1.15rem; margin-top: 28px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.print-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
@media print {
  .topbar, .header, .footer, .print-actions, .page-hero { display: none !important; }
  .section { padding: 0; }
  body { font-size: 12pt; }
}
@media (max-width: 560px) {
  .photo-hero .wrap { padding-top: 84px; padding-bottom: 84px; }
  .photo-hero .btn { width: 100%; }
  .topbar .talk { font-size: .8rem; }
  .brand img { height: 42px; }
  .form .row-3 { grid-template-columns: 1fr; }
  .print-sheet .line { grid-template-columns: 1fr; gap: 2px; }
}
