:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #1a2340;
  --color-muted: #55618c;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --container-max: 1160px;
  --radius: 12px;
}

/* === 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: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
button { font-family: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }

/* === Header === */
.site-header { border-bottom: 1px solid var(--color-border); background: #fff; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.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; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.primary-nav a { text-decoration: none; color: var(--color-neutral-dark); font-weight: 400; font-size: 1rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.75rem; border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: 0.01em; transition: transform .15s ease, background-color .15s ease; border: 0; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #d95d0e; color: #fff; }

/* === Hero (centered) === */
.hero-centered { padding-block: 3.5rem 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light), #fff); }
.hero__title { max-width: 28ch; margin-inline: auto; margin-bottom: 1.25rem; }
.hero__sub { max-width: 52ch; margin-inline: auto; color: var(--color-muted); font-size: 1.125rem; }
.hero__cta { margin-block: 1.75rem 2.5rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 760px; }
.section--tinted { background: var(--color-neutral-light); }
.section__title { text-align: center; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 55ch; margin-inline: auto; }
.section__figure { margin: 1.5rem 0 2rem; }
.section__figure img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--color-text); }
.section--narrow .prose { text-align: left; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; }
.card .icon { color: var(--color-accent); margin-bottom: .75rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-text); margin: 0; }

/* === Quote === */
.quote { max-width: 720px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.quote p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.25rem, 2.5vw, 1.65rem); color: var(--color-neutral-dark); line-height: 1.45; margin-bottom: 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin-inline: auto; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 700; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 8px; 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: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-top: 3rem; padding-bottom: 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid h3 { color: #fff; font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .75rem; }
.footer__tagline { color: rgba(239, 246, 255, 0.75); font-style: italic; margin-top: .5rem; }
.logo--footer img { height: 60px; filter: brightness(1.1); }
.footer-nav, .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a, .footer-legal a, .site-footer address a { color: var(--color-neutral-light); text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover, .site-footer address a:hover { color: var(--color-accent); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; color: rgba(239, 246, 255, 0.85); }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(239, 246, 255, 0.15); font-size: .9rem; }
.footer__copy { border-top: 1px solid rgba(239, 246, 255, 0.15); padding-top: 1.25rem; color: rgba(239, 246, 255, 0.7); font-size: .875rem; text-align: center; }
.footer__copy p { margin: 0; }

/* === 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 40px -10px rgba(0, 0, 0, 0.3); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { border: 0; padding: .55rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 700; }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-reject] { background: rgba(239, 246, 255, 0.15); color: var(--color-neutral-light); }
.cookie-banner__actions [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(239, 246, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); color: #fff; border: 0; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; border: 0; background: transparent; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; align-items: center; }
  .hero-centered { padding-block: 5rem 4rem; }
  .section { padding-block: 5rem; }
  .cta-band { padding-block: 4.5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .hero-centered { padding-block: 6rem 4.5rem; }
}
