:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #476580;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-card: 0 30px 60px -30px rgba(12, 74, 110, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(12, 74, 110, 0.35); }
.btn--primary { background: var(--color-primary); color: #ffffff; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }

/* === Hero card === */
.hero { padding: 2.5rem 1rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.25rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: left;
}
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 55ch;
  margin: 0 0 1.75rem;
}
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* === Sections === */
.section { padding: 3.5rem 1rem; }
.section--narrow > * { max-width: 65ch; margin-inline: auto; }
.section--tint { background: var(--color-neutral-light); }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin: 0; }

/* === Grid cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; max-width: 1120px; margin-inline: auto; }
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(12, 74, 110, 0.04);
}
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }

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

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

/* === Contact band === */
.contact-band { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 1rem; }
.contact-band--flat { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.contact-band__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.contact-band h2 { color: inherit; }
.contact-band__sub { color: rgba(240, 249, 255, 0.85); }
.contact-band--flat .contact-band__sub { color: var(--color-muted); }
.contact-band__details { font-size: 0.98rem; margin-bottom: 1.5rem; }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  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: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { max-width: 720px; margin: 0 auto; display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.4;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 1.25rem 2rem; }
.site-footer__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.site-footer h3 { color: #ffffff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.logo--footer img { height: 60px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.copyright {
  max-width: 1120px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 249, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(240, 249, 255, 0.7);
}

/* === 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-md);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(240, 249, 255, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-banner__actions button[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; display: grid; gap: 0.6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button[data-cookie-save] { justify-self: start; background: var(--color-primary); border-color: var(--color-primary); }

/* === Desktop === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    position: static;
    padding: 0;
    border-bottom: none;
    background: transparent;
  }
  .primary-nav a { border-bottom: none; padding: 0; }
  .hero { padding: 5rem 1.5rem; }
  .hero-card__inner { padding: 4rem; }
  .section { padding: 5rem 1.5rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
  .cta-band, .contact-band { padding: 5rem 1.5rem; }
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
