/* === Tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-ink: #0B1F2A;
  --color-muted: #4A6B7C;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-card: 0 10px 30px -18px rgba(12, 74, 110, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: #FFFFFF;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; color: var(--color-neutral-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--color-secondary); margin-bottom: 0.75rem; font-weight: 500; }
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 60ch; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding: 4rem 0; }
.section--alt { background: var(--color-neutral-light); }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__header .lede { margin-inline: auto; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.primary-nav a { text-decoration: none; color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0.75rem; border-radius: 6px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); background: var(--color-neutral-light); }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }

/* === Hero (fullscreen) === */
.hero--fullscreen { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 4rem 1.25rem; }
.hero--fullscreen .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--fullscreen .hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(3, 105, 161, 0.55), rgba(12, 74, 110, 0.7)); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 820px; color: var(--color-neutral-light); }
.hero__content h1 { color: #FFFFFF; margin-bottom: 1.25rem; }
.hero__sub { color: rgba(240, 249, 255, 0.92); font-size: 1.15rem; max-width: 42rem; margin: 0 auto 2rem; }
.hero--slim { min-height: 60vh; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid transparent; font-family: var(--font-body); font-size: 1rem; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease; }
.btn--primary { background: #FFFFFF; color: var(--color-primary); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,0.4); color: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #FFFFFF; }
.btn--accent:hover { background: #16A34A; color: #FFFFFF; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(255,255,255,0.4); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* === Intro section === */
.section--intro { padding: 4.5rem 0; }
.section--intro .container--narrow > p { font-size: 1.05rem; }
.section--intro .figure { margin: 2.5rem 0 0; }
.section--intro .figure img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }

/* === Cards === */
.card { background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-card); display: block; }
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card .icon { color: var(--color-secondary); margin-bottom: 0.25rem; }
a.card-link { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
a.card-link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(12, 74, 110, 0.35); border-color: var(--color-secondary); }
a.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.section--testimonial { background: var(--color-neutral-light); padding: 5rem 0; }
.section--testimonial blockquote { margin: 0; text-align: center; }
.section--testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1.5rem; }
.section--testimonial cite { font-style: normal; color: var(--color-muted); letter-spacing: 0.04em; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); text-align: center; padding: 4rem 1.25rem; }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: rgba(240,249,255,0.9); max-width: 46rem; margin: 0 auto 1.75rem; }

/* === Stats === */
.stats .stat { text-align: center; padding: 1rem; }
.stat__num { font-family: var(--font-heading); color: var(--color-accent); font-size: clamp(2.5rem, 5vw, 3.25rem); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.stat h3 { margin-bottom: 0.5rem; }
.stat p { color: var(--color-muted); font-size: 0.95rem; }

/* === Contact band (about page) === */
.section--contact-band { background: var(--color-neutral-light); }
.contact-card { max-width: 780px; margin: 0 auto; background: #FFFFFF; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-card); }
.contact-card p { color: var(--color-muted); margin-bottom: 1.5rem; }

/* === Form === */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: flex; flex-direction: column; gap: 0.35rem; }
.form label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form input, .form textarea { font-family: inherit; font-size: 1rem; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border); border-radius: 8px; background: #FFFFFF; color: var(--color-ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--color-neutral-dark); font-size: 1.05rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--color-secondary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #FFFFFF; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2rem; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; font-size: 0.9rem; }
.site-footer__base { border-top: 1px solid rgba(240,249,255,0.15); padding-top: 1.25rem; font-size: 0.85rem; color: rgba(240,249,255,0.7); }
.logo--footer img { height: 60px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }

/* === 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; border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner a { color: #FFFFFF; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 17px; }
  .logo img { height: 96px; }
  .section { padding: 5.5rem 0; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; border: 0; background: transparent; }
  .primary-nav ul { flex-direction: row; gap: 0.25rem; }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr; }
}
@media (min-width: 960px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
