/* === Design tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #CA8A04;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-surface: #FFFFFF;
  --color-text: #0C1B2A;
  --color-muted: #4A5B6D;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 60px -30px rgba(3, 105, 161, 0.35);
  --shadow-soft: 0 8px 24px -12px rgba(12, 74, 110, 0.18);
  --measure: 65ch;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 3.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding-block: 5rem; }
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(240, 249, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.85rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.logo--footer img { height: 64px; }

.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 0.5rem 0.6rem;
  display: inline-flex; flex-direction: column; gap: 4px;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }

.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.primary-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 1.25rem 1rem;
}
.primary-nav a {
  display: block; padding: 0.75rem 0; color: var(--color-neutral-dark);
  text-decoration: none; border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important; position: static; flex-direction: row;
    gap: 1.75rem; padding: 0; background: transparent; border-bottom: 0;
  }
  .primary-nav a { padding: 0; border-bottom: 0; }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Hero card === */
.hero { padding-block: 2.5rem; background:
  radial-gradient(1200px 400px at 10% 0%, rgba(14,165,233,0.14), transparent 60%),
  radial-gradient(900px 400px at 90% 20%, rgba(202,138,4,0.09), transparent 60%),
  var(--color-neutral-light);
}
@media (min-width: 900px) {
  .hero { padding-block: 4.5rem; }
}
.hero-card__card {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
@media (min-width: 720px) {
  .hero-card__card { padding: 3.25rem 3rem; }
}
@media (min-width: 1024px) {
  .hero-card__card { padding: 4rem; }
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 600;
  color: var(--color-primary); margin: 0 0 1rem;
}
.hero-card__sub {
  font-size: 1.15rem; color: var(--color-muted);
  max-width: 55ch; margin-bottom: 1.75rem;
}
.hero-card__cta { margin-bottom: 2rem; }
.hero-card__figure { margin: 0; }
.hero-card__figure img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-md);
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #a5710a; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(240,249,255,0.4); }
.btn--ghost:hover { background: rgba(240,249,255,0.12); color: var(--color-neutral-light); }

/* === Intro / sections === */
.intro { background: var(--color-neutral-light); }
.intro h2 { margin-bottom: 1rem; }
.intro--alt { background: var(--color-surface); border-block: 1px solid var(--color-border); }

.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

/* === Cards === */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(3,105,161,0.28); }
.card h3 { margin-bottom: 0.5rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.icon { width: 32px; height: 32px; color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { background: var(--color-surface); }
.testimonial blockquote {
  margin: 0; text-align: center; position: relative;
  padding: 2rem 1rem;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  font-style: italic; margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal; font-weight: 600;
  color: var(--color-primary); font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(240,249,255,0.9); margin: 0; }
@media (min-width: 720px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details {
  border-top: 1px solid var(--color-border);
  padding: 1.1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--color-border); }
.faq summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); font-size: 1.1rem;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-body); color: var(--color-primary);
  font-size: 1.5rem; line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 0.8rem; color: var(--color-muted); }

/* === Contact === */
.contact-card__body {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.contact-meta { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(3,105,161,0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: 4px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem; margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid { gap: 2rem; }
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem; margin: 0 0 0.85rem;
  color: #fff; letter-spacing: 0.02em;
}
.site-footer__list, .site-footer__legal {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0.4rem;
}
.site-footer__legal { margin-top: 1.1rem; font-size: 0.9rem; }
.site-footer__tagline { color: rgba(240,249,255,0.72); margin-top: 0.5rem; }
.site-footer__address { font-style: normal; color: rgba(240,249,255,0.85); line-height: 1.7; }
.site-footer__base {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(240,249,255,0.15);
  font-size: 0.85rem; color: rgba(240,249,255,0.65);
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.cookie-banner__prefs {
  margin-top: 1rem; display: grid; gap: 0.6rem;
  padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15);
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.92rem;
}
@media (min-width: 720px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
