:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'PT Serif', serif;
  --font-body: 'PT Sans', sans-serif;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(30, 58, 138, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; margin: 0 0 0.75em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding-block: 3.5rem; }
.section-alt { background: #EEF3FB; }
.section-quote { background: var(--color-primary); color: var(--color-neutral-light); }
.section-quote h2 { color: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.eyebrow { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; font-weight: 700; }

/* === Header === */
.site-header { background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-primary); cursor: pointer; padding: 0.5rem; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav.is-open { display: flex; }
.primary-nav a { text-decoration: none; color: var(--color-primary); padding: 0.6rem 0; font-weight: 700; border-bottom: 1px solid var(--color-border); }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; flex-direction: row; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 1.5rem; }
  .primary-nav a { border: 0; padding: 0.25rem 0; font-size: 0.95rem; }
  .primary-nav a:hover { color: var(--color-accent); }
  .logo img { height: 96px; }
}

/* === Hero (centered) === */
.hero { padding-block: 4rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #EEF3FB 100%); }
.hero h1 { margin-inline: auto; max-width: 28ch; }
.hero-sub { margin: 0 auto 1.75rem; max-width: 52ch; font-size: 1.15rem; color: var(--color-muted); }
.hero-figure { margin: 3rem auto 0; max-width: 100%; }
.hero-figure img { border-radius: 12px; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .hero { padding-block: 6rem; } }

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.75rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; font-family: var(--font-body); cursor: pointer; transition: transform 0.15s ease, background 0.2s ease; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { transform: translateY(-2px); }

/* === Cards / grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: var(--color-neutral-light); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.card .icon { color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
a.card-link { display: block; text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.2s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* === Stat cards === */
.stat-card { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 0.5rem; }

/* === Blockquote === */
blockquote { margin: 0; text-align: center; max-width: 720px; margin-inline: auto; }
blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; margin-bottom: 1.25rem; font-style: italic; }
blockquote cite { font-style: normal; font-size: 0.95rem; opacity: 0.85; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { max-width: 52ch; margin: 0 auto 1.75rem; }

/* === Gallery === */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 700; font-size: 0.95rem; color: var(--color-primary); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; color: var(--color-text); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: #0B1F52; color: #D6E1F5; padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer a { color: #D6E1F5; text-decoration: none; }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer h4 { color: var(--color-neutral-light); font-family: var(--font-heading); font-size: 1rem; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { height: 60px; width: auto; margin-bottom: 0.75rem; background: var(--color-neutral-light); padding: 0.5rem; border-radius: 4px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a { padding: 0.15rem 0; }
.footer-contact p { margin: 0.25rem 0; font-size: 0.95rem; }
.legal-links { margin-top: 1rem !important; font-size: 0.85rem; }
.copyright { text-align: center; margin: 1.5rem 0 0; font-size: 0.85rem; opacity: 0.7; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: #1E40AF; color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 640px; margin-left: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { border: 0; padding: 0.55rem 1rem; border-radius: 6px; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; cursor: pointer; background: rgba(255,255,255,0.12); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { margin-top: 0.5rem; align-self: flex-start; background: var(--color-accent); }
