/* === Tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --border-soft: rgba(12, 74, 110, 0.12);
  --shadow-soft: 0 20px 40px -25px rgba(12, 74, 110, 0.35);
}

/* === Reset === */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* === Base typography === */
body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow, .narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section.alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .lede, .lede { color: rgba(12, 74, 110, 0.72); font-size: 1.05rem; }
.visually-centered { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-secondary); font-weight: 600; margin-bottom: 0.75rem; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--border-soft);
  background: #ffffff;
  position: sticky; top: 0; z-index: 100;
}
.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; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.98rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  width: 44px; height: 44px; gap: 5px;
  background: transparent; border: 1px solid var(--border-soft); border-radius: 8px;
  padding: 0 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-soft); gap: 1rem; }
@media (min-width: 860px) {
  .primary-nav { display: flex; position: static; padding: 0; border: 0; flex-direction: row; }
  .nav-toggle { display: none; }
}

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

/* === Hero (centered) === */
.hero { padding-block: 4rem 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); text-align: center; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .sub { max-width: 52ch; margin-inline: auto; color: rgba(12, 74, 110, 0.78); font-size: 1.1rem; margin-bottom: 1.75rem; }
.hero-figure { margin: 3rem 0 0; width: 100%; max-width: 960px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Intro sections === */
.intro h2 { text-align: center; }
.intro .lede { text-align: center; margin-bottom: 2rem; }
.inline-figure { margin: 1.5rem 0 2rem; border-radius: 12px; overflow: hidden; }
.inline-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Highlights grid === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 6px 18px -14px rgba(12, 74, 110, 0.35);
}
.card h3 { margin-top: 0.5rem; }
.card .icon { color: var(--color-secondary); margin-bottom: 0.25rem; }

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); }
.testimonial blockquote {
  margin: 0;
  padding: 2rem 0 0;
  text-align: center;
  position: relative;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  max-width: 44ch;
  margin: 0 auto 1.25rem;
}
.testimonial cite { font-style: normal; font-size: 0.95rem; color: rgba(12, 74, 110, 0.7); display: block; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #ffffff;
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 1.5rem; }

/* === Contact band === */
.contact-band { background: var(--color-neutral-light); text-align: center; }
.contact-band p { font-size: 1.05rem; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 500; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; font-weight: 400; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid nav { display: flex; flex-direction: column; gap: 0.5rem; }
.logo-footer img { height: 60px; width: auto; margin-bottom: 0.75rem; background: #fff; padding: 6px 10px; border-radius: 8px; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(240, 249, 255, 0.15); font-size: 0.85rem; color: rgba(240, 249, 255, 0.7); }
address { font-style: normal; line-height: 1.7; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }

/* === 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.25rem;
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 249, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  font-weight: 500;
  font-size: 0.9rem;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 500;
}
