:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 4px 12px -6px rgba(2, 6, 23, 0.15);
  --shadow-md: 0 20px 40px -20px rgba(2, 6, 23, 0.25);
  --max: 1200px;
}

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

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; font-weight: 600; margin: 0 0 1rem; 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; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); }
p { margin: 0 0 1rem; color: var(--color-secondary); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-primary); font-weight: 500; }

/* === Layout helpers === */
.container { max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 250, 252, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.site-nav { display: none; gap: 2rem; align-items: center; }
.site-nav a { color: var(--color-primary); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.site-nav a:hover { color: var(--color-accent); }
.site-nav a.is-active { color: var(--color-accent); }
.nav-toggle { background: none; border: 0; padding: 0.5rem; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-primary); transition: transform 0.2s; }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.5rem; border-bottom: 1px solid var(--color-border); gap: 1rem; }

/* === Hero (hero-split) === */
.hero { padding-block: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-grid.single { grid-template-columns: 1fr; }
.hero-copy h1 { margin-top: 0.5rem; }
.hero-copy .sub { font-size: 1.15rem; color: var(--color-secondary); max-width: 48ch; margin-bottom: 1.75rem; }
.hero-figure { margin: 0; }
.hero-figure img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: #EEF2F6; }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head .sub { color: var(--color-secondary); font-size: 1.05rem; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s, background 0.15s, color 0.15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn-primary:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.btn-accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn-accent:hover { background: #025282; color: var(--color-neutral-light); }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.card { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0.75rem; }
.card .icon { color: var(--color-accent); }

/* === Quote === */
.quote { margin: 0; padding: 2rem 1rem; text-align: center; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.quote p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-primary); font-style: italic; max-width: 60ch; margin-inline: auto; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 4rem; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 1.5rem; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--color-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-accent); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; }

/* === Contact card === */
.contact-card { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }

/* === Contact 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); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.9rem; color: var(--color-primary); }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-primary); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-secondary); flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }
.form-success { padding: 1rem; background: #DCFCE7; border-radius: 8px; color: #065F46; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; }
.site-footer p, .site-footer address, .site-footer a { color: rgba(248, 250, 252, 0.75); font-style: normal; }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer .logo img { height: 56px; }
.tagline { margin-top: 0.75rem; font-size: 0.95rem; }
.legal-links { margin-top: 1rem !important; font-size: 0.85rem; }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; }
.copyright 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; border-radius: var(--radius); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); margin-bottom: 1rem; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(248, 250, 252, 0.3); padding: 0.55rem 1rem; border-radius: 6px; font-size: 0.85rem; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.1); }
.cookie-banner button[data-cookie-accept]:hover { background: #025282; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .contact-card { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .site-footer .logo img { height: 64px; }
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-grid.single { grid-template-columns: 1fr; }
  .section { padding-block: 6rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  h1 { letter-spacing: -0.02em; }
}
