/* Design tokens */
:root {
  --navy-900: #0b1f3a; --navy-800: #11294b; --navy-700: #1b3a66;
  --teal-600: #0a7f6c; --teal-500: #10b394; --teal-100: #d9f4ee;
  --ink: #14213d; --muted: #4a5873; --line: #dbe2ee; --bg: #ffffff; --tint: #f4f7fb;
  --danger: #b3261e; --danger-bg: #fdeceb; --info-bg: #e8f1fb;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 5rem;
  --radius: 14px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 3px rgba(11,31,58,.08);
  --shadow-md: 0 8px 24px rgba(11,31,58,.10);
  --bp-md: 768px; --bp-lg: 1024px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
img, svg { max-width: 100%; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.2; margin: 0 0 var(--s4); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3, .h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s4); }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: var(--s3) var(--s4); z-index: 100; }
.skip-link:focus { left: var(--s4); top: var(--s4); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: var(--s2); }
.placeholder { background: #fff3c4; color: #5c4600; padding: 0 .25em; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); text-decoration: none; }
.brand-light { color: #fff; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--navy-900); position: relative; display: inline-block; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 6px 6px; background: var(--teal-500); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.nav-menu { display: flex; align-items: center; gap: var(--s5); }
.nav-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-menu a:not(.btn):hover { color: var(--teal-600); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1.4rem; padding: var(--s2) var(--s3); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-menu { position: absolute; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s3) 1.25rem var(--s5); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: var(--s4); text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: .8rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #086b5b; color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--teal-100); color: var(--navy-900); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .95rem; }
.btn[disabled] { opacity: .7; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s4); margin: var(--s5) 0; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(16,179,148,.25), transparent 60%), var(--navy-900); color: #fff; padding: var(--s8) 0; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #d3deef; max-width: 40rem; }
.hero .fine { color: #aebcd4; font-size: .95rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: #fff; color: var(--navy-900); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.4fr 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--teal-500); margin-bottom: var(--s3); }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: var(--s6); }
.hero-card-title { font-weight: 700; font-size: 1.1rem; }
.hero-card ol { padding-left: 1.2rem; margin: 0 0 var(--s4); color: #d3deef; }
.hero-card li { margin-bottom: var(--s2); }
.hero-card-foot { color: var(--teal-500); font-weight: 600; margin: 0; }

/* Sections & cards */
.section { padding: var(--s8) 0; }
.section-tint { background: var(--tint); }
.section-intro { color: var(--muted); max-width: 46rem; }
.card-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: var(--s6) 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); font-weight: 800; margin-bottom: var(--s3); }
.steps { list-style: none; padding: 0; margin: var(--s6) 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; margin-bottom: var(--s3); }
.faq { border-bottom: 1px solid var(--line); padding: var(--s4) 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy-900); }
.faq p { margin: var(--s3) 0 0; color: var(--muted); }
.cta-band { background: var(--navy-800); color: #fff; padding: var(--s7) 0; }
.cta-band h2 { color: #fff; margin-bottom: var(--s2); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-inner p { margin: 0; color: #d3deef; }
.prose h2 { margin-top: var(--s6); font-size: 1.35rem; }
.notice { background: #fff3c4; border-radius: var(--radius-sm); padding: var(--s4); }

/* Footer */
.site-footer { background: var(--navy-900); color: #c4d0e4; padding: var(--s7) 0 var(--s5); font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-title { color: #fff; font-weight: 700; }
.footer-note { border-top: 1px solid rgba(255,255,255,.15); margin-top: var(--s6); padding-top: var(--s4); font-size: .9rem; }

/* Enquiry form */
.form-wrap { max-width: 720px; }
.enquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow-md); }
.progress { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 25%; background: var(--teal-500); transition: width .3s ease; }
.progress-label { color: var(--muted); font-size: .95rem; margin: var(--s3) 0 var(--s5); }
fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.step[hidden] { display: none; }
legend { font-size: 1.35rem; font-weight: 700; color: var(--navy-900); padding: 0; margin-bottom: var(--s5); }
.field { margin-bottom: var(--s5); }
label, .label { display: block; font-weight: 600; margin-bottom: var(--s2); }
input[type=text], input[type=tel], input[type=email], textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid #b8c4d8; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus, textarea:focus { border-color: var(--teal-600); outline: 3px solid rgba(16,179,148,.35); outline-offset: 0; }
.has-error input[type=text], .has-error input[type=tel], .has-error input[type=email], .has-error textarea { border-color: var(--danger); background: var(--danger-bg); }
.field-error { color: var(--danger); font-size: .93rem; margin: var(--s2) 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hint { color: var(--muted); margin-bottom: var(--s3); }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.choice { display: flex; align-items: center; gap: var(--s3); font-weight: 500; border: 1.5px solid #b8c4d8; border-radius: var(--radius-sm); padding: .75rem 1rem; cursor: pointer; margin: 0; background: #fff; }
.choice:hover { border-color: var(--teal-600); }
.choice:has(input:checked) { border-color: var(--teal-600); background: var(--teal-100); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--teal-600); flex: none; }
.check-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: var(--s3); }
.choice-consent { align-items: flex-start; }
.summary { background: var(--tint); border-radius: var(--radius-sm); padding: var(--s4) var(--s5); margin: 0 0 var(--s5); display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); }
.summary dt { font-weight: 600; color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.form-actions { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s6); }
.form-actions .btn-primary { margin-left: auto; }
.banner { border-radius: var(--radius-sm); padding: var(--s4); margin-bottom: var(--s5); }
.banner[hidden] { display: none; }
.banner-error { background: var(--danger-bg); color: #6b130e; border: 1px solid #f2b8b5; }
.banner-info { background: var(--info-bg); color: #123a66; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 1.1rem; height: 1.1rem; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { background: #fff; border: 1px solid var(--teal-500); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow-md); }
.success[hidden] { display: none; }
.ref { font-size: 1.4rem; letter-spacing: .06em; color: var(--teal-600); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
