:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px -18px rgba(30, 58, 138, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; color: var(--color-secondary); margin: 0 0 1rem; }
.prose { max-width: 68ch; font-size: 1.05rem; }

/* === Layout / sidebar === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sidebar .logo img { height: 72px; width: auto; display: block; filter: brightness(1) invert(0); }
.sidebar__nav { flex: 1; display: none; }
.sidebar__nav.is-open { display: block; width: 100%; }
.sidebar__nav ul { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1rem; }
.sidebar__nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--color-neutral-light);
  border-radius: 6px;
  font-size: 0.98rem;
  opacity: 0.85;
}
.sidebar__nav a:hover, .sidebar__nav a.is-active { background: rgba(255,255,255,0.08); opacity: 1; text-decoration: none; }
.sidebar__toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-neutral-light);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-family: var(--font-body);
  cursor: pointer;
}
.sidebar__foot { display: none; font-size: 0.8rem; opacity: 0.6; margin: 0; }

.main { padding: 2rem 1.25rem 0; max-width: 1180px; margin: 0 auto; }

@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
  .sidebar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100vh;
    padding: 2rem 1.5rem;
  }
  .sidebar .logo img { height: 96px; }
  .sidebar__nav { display: block !important; margin-top: 2.5rem; flex: 1; }
  .sidebar__nav ul { margin-top: 0; }
  .sidebar__toggle { display: none; }
  .sidebar__foot { display: block; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
  .main { padding: 3rem 3rem 0; max-width: none; }
}

/* === Hero === */
.hero { padding: 1.5rem 0 3rem; }
.hero__sub { font-size: 1.15rem; color: #334155; max-width: 60ch; margin-bottom: 1.5rem; }
.hero__cta { margin-bottom: 2rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #d98a06; color: #fff; }

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid rgba(30, 58, 138, 0.08); }
.section__head { margin-bottom: 2rem; max-width: 60ch; }
.section__head p { color: #475569; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid rgba(30, 58, 138, 0.10);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card .icon { color: var(--color-secondary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #334155; margin: 0; font-size: 0.98rem; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--color-secondary); text-decoration: none; }

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.split__figure img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3rem; } }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { max-width: 60ch; margin: 0 auto; }
.testimonial p { font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; color: var(--color-neutral-dark); line-height: 1.4; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.95rem; color: var(--color-secondary); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  border-top: none;
  margin: 3rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-left: auto; margin-right: auto; }

/* === Stats === */
.stats__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat__num { display: block; font-family: var(--font-heading); font-size: clamp(2.25rem, 4vw, 3rem); color: var(--color-accent); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.stat__label { color: #475569; font-size: 0.98rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid rgba(30, 58, 138, 0.10); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.faq summary { font-family: var(--font-heading); font-size: 1.2rem; cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); }
.faq details[open] summary { margin-bottom: 0.75rem; }
.faq p { color: #334155; margin: 0; }

/* === Contact form === */
.contact-form { max-width: 620px; }
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-row label { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(30, 58, 138, 0.25);
  border-radius: 6px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: #475569; margin: 0.5rem 0 1.25rem; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.footer { border-top: 1px solid rgba(30,58,138,0.12); margin-top: 4rem; padding: 3rem 0 2rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 0.35rem; }
.footer nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer nav a { color: #334155; font-size: 0.95rem; }
.footer__legal { margin-top: 0.75rem; font-size: 0.9rem; }
.footer__copy { text-align: center; font-size: 0.85rem; color: #64748b; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(30,58,138,0.08); }

/* === 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.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 560px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  font-family: var(--font-body); font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3); background: transparent; color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 700; }
.cookie-banner__actions button:hover { opacity: 0.92; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: 0.5rem; font-family: var(--font-body);
  padding: 0.5rem 1rem; border-radius: 6px; border: none; background: var(--color-secondary); color: #fff; cursor: pointer;
}
