:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --container: 1120px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -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; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* === Header === */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-neutral-dark);
  border-radius: 2px;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; flex-basis: 100%; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  display: inline-block;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Hero (stacked) === */
.hero-stacked { padding-block: 3rem; background: var(--color-neutral-light); }
.hero-stacked--compact { padding-block: 2.5rem; }
.hero-stacked__inner { max-width: 780px; margin-inline: auto; }
.hero-stacked h1 { margin-bottom: 1.5rem; }
.hero-stacked__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-block: 2rem;
}
.hero-stacked__sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.hero-stacked__cta { margin-top: 1.5rem; }

/* === Buttons === */
.button {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button--primary { background: var(--color-primary); color: #ffffff; }
.button--primary:hover { background: var(--color-neutral-dark); }
.button--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.button--accent:hover { background: #f5b800; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: var(--color-neutral-light); }
.section__header { max-width: 720px; margin-bottom: 2rem; }
.section__sub { color: var(--color-muted); font-size: 1.0625rem; }

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.grid--cards { grid-template-columns: 1fr; }
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-muted); }
.card--linked { padding: 0; }
.card-link {
  display: block;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  height: 100%;
}
.card-link:hover { text-decoration: none; }
.card--linked:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(12, 74, 110, 0.3);
  border-color: var(--color-primary);
}

/* === Quote === */
.section--quote { padding-block: 4rem; }
.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border-left: none;
  padding: 0 1rem;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--color-neutral-dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

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

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article-detail__header { margin-bottom: 1.5rem; }
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-detail__sub {
  font-size: 1.25rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.article-detail__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-block: 2rem;
}
.article-detail p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article-detail__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.back-link { font-weight: 500; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-grid__info address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-muted); }
.contact-form {
  background: var(--color-neutral-light);
  padding: 1.75rem;
  border-radius: var(--radius);
}
.contact-form h2 { margin-bottom: 1.5rem; }
.field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.9375rem; }
.field input, .field textarea {
  font: inherit;
  color: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Contact band === */
.section--contact-band { text-align: center; background: var(--color-neutral-light); }
.contact-band__details { color: var(--color-muted); font-size: 0.9375rem; margin-block: 1rem 1.5rem; }

/* === FAQ === */
.faq details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  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;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer__heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}
.site-footer nav ul, .site-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__tagline { color: rgba(240, 249, 255, 0.85); }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer__copyright {
  text-align: center;
  color: rgba(240, 249, 255, 0.6);
  font-size: 0.875rem;
  border-top: 1px solid rgba(240, 249, 255, 0.14);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

/* === 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 40px -20px rgba(0, 0, 0, 0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.9375rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 249, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  border-color: var(--color-accent);
  font-weight: 600;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 249, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.35rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 600;
}

/* === Desktop (>= 768px) === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }
  .hero-stacked { padding-block: 5rem; }
  .hero-stacked__image { margin-block: 2.5rem; }
  .grid--cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grid--two { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
  .section { padding-block: 5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
}
