:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-white: #FFFFFF;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 30px 60px -30px rgba(3, 105, 161, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(3, 105, 161, 0.25);
  --measure: 65ch;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -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; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-weight: 700; }
h2 { font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { width: 26px; height: 2px; background: var(--color-neutral-dark); display: block; }

.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a { display: block; padding: .6rem .25rem; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; background: transparent; border: 0; box-shadow: none; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: .25rem; }
  .primary-nav a { padding: .5rem .9rem; border-radius: 999px; }
  .primary-nav a:hover { background: var(--color-neutral-light); text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-neutral-dark); box-shadow: var(--shadow-soft); }
.btn-accent { background: var(--color-accent); color: var(--color-white); }
.btn-accent:hover { background: #16A34A; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(240, 249, 255, 0.4); }
.btn-ghost:hover { background: rgba(240, 249, 255, 0.12); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* === Hero card === */
.hero { padding-block: 2.5rem 3rem; background: linear-gradient(160deg, var(--color-neutral-light) 0%, #E0F2FE 100%); }
.hero-card__card {
  max-width: 880px; margin-inline: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary); font-weight: 600; margin: 0 0 .75rem; }
.hero-card__title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin-bottom: 1rem; max-width: 28ch; }
.hero-card__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.hero-card__cta { margin: 0 0 2rem; }
.hero-card__figure { margin: 0; }
.hero-card__figure img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 3rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: var(--color-neutral-light); }
.section--quote { background: var(--color-neutral-light); }
.section__header { margin-bottom: 2rem; text-align: center; max-width: 640px; margin-inline: auto; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section__lede { color: var(--color-muted); font-size: 1.05rem; }
.section__body { font-size: 1.05rem; color: var(--color-text); max-width: var(--measure); }
.section--narrow .section__body, .section--narrow .section__title { margin-inline: auto; }

@media (min-width: 768px) {
  .section { padding-block: 4.5rem; }
}

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card__icon { color: var(--color-primary); margin-bottom: .4rem; }
.card__title { margin: 0 0 .25rem; }
.card__body { color: var(--color-muted); font-size: .98rem; margin: 0; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); text-decoration: none; }
a.card-link .card__title { color: var(--color-primary); }

/* === Quote === */
.quote {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem; line-height: 1.55;
  color: var(--color-neutral-dark);
  position: relative;
  padding: 1rem;
}
.quote p { margin-bottom: 1rem; }
.quote cite { display: block; font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band__title { color: var(--color-neutral-light); font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: .4rem; }
.cta-band__sub { color: rgba(240, 249, 255, 0.85); margin: 0; }
.cta-band__cta { margin: 0; }
.cta-band__address { font-style: normal; color: rgba(240, 249, 255, 0.9); }
.cta-band__address a { color: var(--color-neutral-light); }
.cta-band--inline { border-radius: var(--radius-md); margin-block: 2.5rem; padding: 2rem; }
.cta-band--inline .cta-band__inner { padding: 0; }

@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Split (text + image) === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split__figure { margin: 0; }
.split__figure img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }

/* === Article detail === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article__header { margin-bottom: 2rem; }
.article__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.2rem; color: var(--color-muted); }
.article__figure { margin: 0 0 2rem; }
.article__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-sm); }
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 600; }

/* === Contact === */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.contact-grid h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-secondary); margin: 0 0 .4rem; }
.contact-grid p { margin: 0; color: var(--color-text); }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }

/* === Form === */
.contact-form { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.faq summary { font-weight: 600; cursor: pointer; color: var(--color-neutral-dark); font-family: var(--font-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--color-secondary); font-weight: 400; margin-left: 1rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; margin-bottom: 0; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding-top: 3rem; margin-top: 3rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer__heading { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer__list, .site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer__address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__tagline { color: rgba(240, 249, 255, 0.7); margin-top: .5rem; }
.logo--footer img { height: 60px; }
.site-footer__legal { margin-top: 1rem; font-size: .9rem; }
.site-footer__base { padding-block: 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(240, 249, 255, 0.14); font-size: .9rem; }
.site-footer__base p { margin: 0; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }

/* === 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 50px -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: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .95rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
