:root {
  --color-primary: #E3192B;
  --color-secondary: #164A86;
  --color-accent: #164A86;
  --color-neutral-dark: #123A68;
  --color-neutral-light: #F7F9FC;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --maxw: 1180px;
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 58, 104, 0.10);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 58px; width: auto; max-width: min(72vw, 350px); object-fit: contain; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(18, 58, 104, 0.16);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(18,58,104,.10); box-shadow: 0 10px 30px -20px rgba(18,58,104,.28); }
.primary-nav a { padding: .6rem .25rem; color: var(--color-neutral-dark); font-weight: 600; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 76px; max-width: 380px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.75rem; position: static; padding: 0; box-shadow: none; background: transparent; border: 0; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  text-decoration: none;
  font-size: 1rem;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(227,25,43,.35); }
.btn--accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #fff; text-decoration: none; }

/* === Hero (fullscreen) === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero--short { min-height: 60vh; }
.hero--plain { min-height: 40vh; color: var(--color-neutral-dark); background: linear-gradient(135deg, #F7F9FC, #EAF0F7); }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(18,58,104,0.42), rgba(18,58,104,0.72));
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; text-align: center; padding-block: 4rem; }
.hero__content h1 {
  color: inherit;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 52ch;
  margin: 0 auto 2rem;
  opacity: .95;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero--plain .eyebrow { color: var(--color-primary); }
.hero--plain h1 { color: var(--color-neutral-dark); }

/* === Sections === */
.section { padding-block: 4.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: #EAF0F7; }
.section--testimonial { background: linear-gradient(135deg, #EEF3F8, #F7F9FC); }
.section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .5rem; }
.section__sub { color: var(--color-neutral-dark); opacity: .75; margin-bottom: 2.5rem; max-width: 60ch; }
.lede { font-size: 1.1rem; line-height: 1.75; }

/* === Grids & cards === */
.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); }
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(18, 58, 104, 0.10);
  box-shadow: 0 4px 20px -10px rgba(18, 58, 104, .12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { margin: 0; color: rgba(18,58,104,.86); }
.card__icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(18,58,104,.22); text-decoration: none; }

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

/* === Testimonial === */
.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
  padding: 0;
}
.quote p { font-style: italic; margin-bottom: 1.25rem; }
.quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .95rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === 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; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .25rem; }
.cta-band p { margin: 0; opacity: .9; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact band === */
.contact-band__address { font-style: normal; margin-block: 1.25rem; line-height: 1.9; }
.contact-band__address a { color: var(--color-neutral-dark); }

/* === Article === */
.article { max-width: 65ch; margin-inline: auto; padding: 3rem 1.25rem 4rem; }
.article__header { margin-bottom: 2rem; }
.article__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.article__sub { font-size: 1.2rem; color: rgba(18,58,104,.76); }
.article__figure { margin-block: 2rem; }
.article__figure img { aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(18,58,104,.15); }
.back-link { font-weight: 600; color: var(--color-primary); }

/* === Contact form === */
.form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .95rem; }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid rgba(18,58,104,.2);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-form button[type="submit"] { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(247,249,252,.88);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(247,249,252,.88); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.site-footer__legal { margin-top: 1rem !important; font-size: .9rem; opacity: .85; }
.site-footer__tag { margin-top: 1rem; opacity: .85; }
.logo--footer img { height: 74px; max-width: 320px; filter: none; }
.site-footer__copy { border-top: 1px solid rgba(247,249,252,.16); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; opacity: .75; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* === 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.4rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.35);
  max-width: 520px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  background: rgba(247,249,252,.14);
  color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { filter: brightness(1.1); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; background: var(--color-accent); color: #fff; }

.article__meta{font-size:.93rem;color:rgba(18,58,104,.72);margin-top:-.25rem;margin-bottom:1.5rem}.article__sources{margin-top:2.5rem;padding:1.4rem 1.5rem;background:#EEF3F8;border-left:4px solid var(--color-primary);border-radius:8px}.article__sources h2{font-size:1.2rem;margin-bottom:.6rem}.article__sources ul{margin:.4rem 0 0;padding-left:1.2rem}.article__sources li{margin:.35rem 0}.article-date{display:block;font-size:.86rem;color:rgba(18,58,104,.68);margin-bottom:.55rem}.latest-grid{margin-top:1.5rem}
