/* =========================================================
   italyschengenvisa.co.uk — main stylesheet
   ========================================================= */
:root {
  --green: #0b6b46;
  --green-dark: #08523a;
  --green-soft: #e9f4ef;
  --red: #c8202f;
  --red-dark: #a41a26;
  --navy: #10213f;
  --navy-2: #182d55;
  --ink: #1d2433;
  --muted: #566173;
  --line: #e2e7ec;
  --bg-soft: #f5f7f6;
  --white: #ffffff;
  --gold: #f2b632;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 33, 63, .06), 0 4px 16px rgba(16, 33, 63, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #f2b632; outline-offset: 2px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icons ---------- */
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  text-decoration: none !important; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: .9em 1.6em; font-size: 1.02rem; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-dark); color: #dcefe6; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar-note, .topbar-mail { display: inline-flex; align-items: center; gap: 6px; }
.topbar-mail { color: #fff; font-weight: 500; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(16,33,63,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-badge { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { line-height: 1.02; }
.brand-main { display: block; font-size: 1.55rem; font-weight: 800; color: var(--green); letter-spacing: .06em; }
.brand-sub { display: block; font-size: .92rem; font-weight: 700; font-style: italic; color: var(--red); text-align: right; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.site-nav a:hover { background: var(--bg-soft); color: var(--green); }
.site-nav a.active { color: var(--green); background: var(--green-soft); }
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a { color: #fff; background: var(--red); padding: 9px 16px; }
.site-nav .nav-cta a:hover, .site-nav .nav-cta a.active { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 22px; color: var(--navy); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-block; }

/* ---------- Home hero ---------- */
.hero { padding: 22px 0 8px; }
.hero-banner { position: relative; display: flex; min-height: 380px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-radius: var(--radius); overflow: hidden; }
.hero-left { position: relative; z-index: 2; width: 50%; padding: 48px 36px 48px 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; }
.hero-left h1 { color: #fff; text-transform: uppercase; font-size: clamp(1.7rem, 3.3vw, 2.5rem); line-height: 1.12; letter-spacing: .01em; margin-bottom: 14px; }
.hero-highlight { display: inline-block; align-self: flex-start; background: var(--green); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; padding: 7px 14px; margin-bottom: 14px; border-radius: 3px; }
.hero-sub { color: #dbe4f5; font-size: 1.05rem; max-width: 34em; margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right { position: absolute; inset: 0 0 0 auto; width: 50%; background: #f6d9a6 url('/assets/img/hero-italy.svg') center/cover no-repeat; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero-stripe { position: absolute; top: 0; right: 0; width: 50%; height: 100%; overflow: visible; z-index: 3; pointer-events: none; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 8px; }
.trust-item { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.trust-item .i { font-size: 1.35rem; color: var(--green); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-soft), #fff); border-bottom: 1px solid var(--line); padding: 38px 0 30px; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 46em; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-sm { padding: 30px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-head p { color: var(--muted); }
.section-bar { background: var(--green); color: #fff; text-align: center; padding: 12px 16px; font-size: 1.15rem; font-weight: 700; border-radius: var(--radius-sm); margin: 0 0 20px; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.step { position: relative; background: #eef1ef; border-radius: var(--radius-sm); padding: 40px 16px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
a.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-badge { position: absolute; top: 0; left: 0; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm) 0 var(--radius-sm) 0; display: inline-flex; align-items: center; gap: 5px; letter-spacing: .05em; }
.step-badge b { background: #fff; color: var(--green); width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.step .i { font-size: 2.3rem; color: var(--red); margin-bottom: 12px; stroke-width: 1.7; }
.step p { margin: 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.4; color: var(--navy); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 6px; }
a.card { color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: #bfd9cc; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; }

/* ---------- Prose (content & legal pages) ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: #343c4b; }
.prose li { margin-bottom: .35em; }
.prose table { margin: 0 0 1.2em; }
.updated { font-size: .9rem; color: var(--muted); }

/* ---------- Layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h3 { font-size: 1.05rem; }
.side-card.dark { background: var(--navy); color: #dbe4f5; border-color: var(--navy); }
.side-card.dark h3 { color: #fff; }
.side-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.side-steps li { counter-increment: s; position: relative; padding-left: 36px; margin-bottom: 12px; font-size: .94rem; }
.side-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; background: #fff8e6; border: 1px solid #f1d98f; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .93rem; color: #4d3d10; margin: 0 0 1.2em; }
.notice .i { font-size: 1.25rem; margin-top: 2px; color: #a57900; }
.notice p:last-child { margin-bottom: 0; }
.notice.info { background: #eef5ff; border-color: #c9dcf6; color: #1c3557; }
.notice.info .i { color: #2864b4; }
.notice.success { background: var(--green-soft); border-color: #bfdccd; color: #10442f; }
.notice.success .i { color: var(--green); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.2em; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--green); color: #fff; font-weight: 600; font-size: .9rem; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) td { background: #fafbfb; }

/* ---------- Appointment slot widget ---------- */
.slot-widget { border: 1px solid #d9dfe4; border-radius: var(--radius); overflow: hidden; background: #fff; }
.slot-head { background: var(--green); color: #fff; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.slot-nav { display: flex; gap: 8px; }
.slot-nav button { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 4px 10px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.slot-nav button:hover:not([disabled]) { background: rgba(255,255,255,.25); }
.slot-nav button[disabled] { opacity: .45; cursor: default; }
.slot-body { padding: 14px 16px 16px; }
.slot-grid { display: grid; grid-template-columns: repeat(var(--cols, 9), minmax(0, 1fr)); gap: 8px; }
.slot-day { text-align: center; }
.slot-day-head { font-size: .78rem; font-weight: 700; color: var(--navy); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); line-height: 1.3; }
.slot-day-head span { display: block; font-weight: 600; color: var(--muted); }
.slot-btn { display: block; width: 100%; background: #f7e7e8; border: 1px solid #efd3d5; color: #3a2a2c; font-size: .82rem; font-weight: 600; padding: 7px 4px; margin-bottom: 6px; border-radius: 4px; cursor: pointer; transition: background-color .12s; }
.slot-btn:hover { background: #f0d5d7; }
.slot-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.slot-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); background: #fafbfb; font-size: .88rem; }
.slot-selected { font-weight: 600; color: var(--navy); }
.slot-note { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-section { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.form-section > legend { font-size: 1.08rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; width: 100%; }
.form-section > legend .num { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cdd5dd; border-radius: var(--radius-sm); font: inherit; font-size: .97rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,107,70,.15); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid .field-error { display: block; }

.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-body { display: block; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; transition: border-color .15s, background-color .15s; height: 100%; }
.choice-body strong { display: block; color: var(--navy); }
.choice-body span { display: block; font-size: .86rem; color: var(--muted); }
.choice input:checked + .choice-body { border-color: var(--green); background: var(--green-soft); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--gold); outline-offset: 2px; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.consent { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: .9rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; font-size: .93rem; }
.form-msg.show { display: block; }
.form-msg.error { background: #fdecee; border: 1px solid #f3c3c8; color: #7d1420; }
.form-msg.ok { background: var(--green-soft); border: 1px solid #bfdccd; color: #10442f; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-list summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 14px 18px 4px; color: #343c4b; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dbe4f5; border-radius: var(--radius); padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #009246 33%, #fff 33% 66%, #ce2b37 66%); }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1b33; color: #b9c4d8; margin-top: 56px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.footer-brand p { margin: 12px 0; }
.logo-footer .brand-main { color: #fff; }
.logo-footer .brand-sub { color: #ff8a93; }
.footer-mail { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links a, .footer-links .link-btn { color: #b9c4d8; font-size: .93rem; }
.footer-links a:hover, .footer-links .link-btn:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; margin: 0; font-size: .84rem; line-height: 1.6; color: #9aa7bf; }
.footer-disclaimer strong { color: #fff; }
.footer-bottom { background: #0a1427; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom a { color: #b9c4d8; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(16,33,63,.18); border-radius: var(--radius); padding: 16px 18px; max-width: 760px; width: 100%; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner p { margin: 0; font-size: .9rem; flex: 1 1 360px; }
.cookie-actions { display: flex; gap: 8px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); color: #fff; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
body.has-cookie-banner .to-top { bottom: 110px; }

/* ---------- Thank-you & 404 ---------- */
.result-box { max-width: 640px; margin: 0 auto; text-align: center; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 2.3rem; margin-bottom: 16px; }
.ref-box { display: inline-block; background: var(--bg-soft); border: 1px dashed #b7c4bd; border-radius: var(--radius-sm); padding: 10px 18px; font-weight: 700; font-size: 1.1rem; color: var(--navy); letter-spacing: .04em; margin: 6px 0 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .site-nav a { padding: 8px 9px; font-size: .92rem; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(16,33,63,.1); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 16px; gap: 2px; }
  .site-nav a { padding: 11px 12px; font-size: 1rem; }
  .site-nav .nav-cta { margin: 8px 0 0; }
  .site-nav .nav-cta a { text-align: center; }
  .hero-banner { min-height: 0; flex-direction: column; }
  .hero-left { width: 100%; padding: 34px 26px; background: rgba(16,33,63,.86); }
  .hero-right { width: 100%; clip-path: none; opacity: .35; }
  .hero-stripe { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .section { padding: 36px 0; }
  .steps, .cards, .cards-2, .cards-4, .trust-row { grid-template-columns: 1fr; }
  .form-grid, .choice-cards, .check-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .cta-band { padding: 26px 22px; }
  .brand-main { font-size: 1.35rem; }
  .logo-badge { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .cookie-banner, .to-top { display: none !important; }
}
