:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-ink: #0C1B26;
  --color-muted: #4A6A80;
  --color-hairline: rgba(12, 74, 110, 0.14);
  --color-page: #FBFDFF;
  --color-card: #FFFFFF;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 30px 60px -30px rgba(12, 74, 110, 0.25);
  --shadow-soft: 0 8px 24px -12px rgba(12, 74, 110, 0.18);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); line-height: 1.2; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--form { max-width: 720px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}

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

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; align-items: center; }
  .primary-nav a { padding: 0.25rem 0; border-bottom: 0; font-size: 0.98rem; }
  .primary-nav a[aria-current="page"] { border-bottom: 2px solid var(--color-secondary); }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; box-shadow: var(--shadow-soft); }
.btn-accent { background: var(--color-accent); color: #052E16; }
.btn-accent:hover { background: #16A34A; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-hairline); }
.btn-ghost:hover { border-color: var(--color-neutral-dark); }

/* === Hero card === */
.hero { padding-block: 2.5rem 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-page) 100%); }
.hero-card__inner {
  max-width: 880px; margin-inline: auto;
  padding: 2.5rem 1.5rem;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.hero-card__inner .sub {
  font-size: 1.1rem; color: var(--color-muted);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero-card__cta { margin: 0 0 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 4rem 4.5rem; }
  .hero-card__inner { padding: 3.5rem 3.5rem 3rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 720px; }
.section--tinted { background: var(--color-neutral-light); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.section__lede { color: var(--color-muted); font-size: 1.05rem; }
.section__h-alone { margin-bottom: 1.75rem; }

.section--split .grid { align-items: center; }
.figure-round { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.figure-round img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.align-center { align-items: center; }

/* === Cards === */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(12, 74, 110, 0.22); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }

/* === Quote === */
.section--quote { background: var(--color-neutral-light); padding-block: 4rem; }
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.4vw + 0.8rem, 1.55rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3rem;
}
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-band a { color: #fff; text-decoration: underline; }
.cta-band__meta { font-size: 0.95rem; margin-top: 0.75rem; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
  .cta-band__inner > div { max-width: 60ch; }
}

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

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq details {
  background: var(--color-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 1rem;
  font-size: 1.4rem; color: var(--color-secondary); transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--color-muted); padding-bottom: 1.1rem; margin: 0; }

/* === Contact form === */
.form-lede { color: var(--color-muted); margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; color: var(--color-ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}
.logo--footer img { filter: brightness(0) invert(1); height: 64px; }
.site-footer__tagline { color: rgba(255,255,255,0.7); margin-top: 0.75rem; max-width: 30ch; }
.site-footer__h {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1rem;
  font-weight: 600;
}
.site-footer nav ul, .site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__legal { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer__copy {
  text-align: center;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* === 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-md);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.88rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner__actions .btn-ghost:hover { border-color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs .btn { margin-top: 0.5rem; align-self: flex-start; }
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
