:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-text: #0f172a;
  --color-muted: #475569;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 60px -30px rgba(30, 58, 138, 0.28);
  --shadow-soft: 0 10px 30px -18px rgba(30, 58, 138, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-secondary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow    { max-width: 760px; margin-inline: auto; }
.center    { text-align: center; }
.muted     { color: var(--color-muted); }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-secondary);
  margin: 0 0 1rem;
  font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-secondary); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #ea6a0e; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-soft); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30,58,138,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(30,58,138,0.15); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px;
}
.primary-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(30,58,138,0.08);
  flex-direction: column; gap: 0.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  color: var(--color-primary); text-decoration: none;
  padding: 0.6rem 0.4rem; border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-secondary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    padding: 0; background: transparent; border: 0; gap: 0.5rem;
  }
  .primary-nav a { padding: 0.5rem 0.85rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 2.25rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { color: var(--color-muted); }

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

/* === Hero card === */
.hero { padding-block: 2.5rem; background:
  radial-gradient(ellipse at top, rgba(59,130,246,0.10), transparent 60%),
  var(--color-neutral-light);
}
.hero-card__card {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.hero-card__card h1 { max-width: 22ch; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; }
.hero-cta-row { margin-top: 1.5rem; }
.hero-card__figure { margin: 2rem 0 0; }
.hero-card__figure img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 768px) {
  .hero { padding-block: 4rem; }
  .hero-card__card { padding: 3.5rem; }
}

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(30,58,138,0.10);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-top: 0.25rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: rgba(59,130,246,0.35); }
.card-icon {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--color-secondary); background: var(--color-neutral-light); border-radius: 12px;
  margin-bottom: 0.6rem;
}

/* === Two column === */
.two-col { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.two-col__figure img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--color-primary);
  position: relative;
  padding: 0 1rem;
}
.testimonial blockquote p { margin-bottom: 1rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  padding-block: 3.5rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }

/* === Contact card + form === */
.contact-card {
  background: #fff;
  border: 1px solid rgba(30,58,138,0.10);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 760px;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
}
.contact-form {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30,58,138,0.10);
  box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-weight: 600; margin-bottom: 0.35rem; font-family: var(--font-heading); font-size: 0.95rem; color: var(--color-primary); }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.7rem 0.85rem;
  border-radius: 10px; border: 1px solid rgba(30,58,138,0.20);
  background: #fff; color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary);
}
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted);
  margin: 0.5rem 0 1.25rem;
}
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.legal-links li { list-style: none; }
.logo-footer img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.copyright {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
}
@media (min-width: 800px) {
  .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.15rem 1.25rem; border-radius: 14px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.95rem; color: var(--color-neutral-light); }
.cookie-banner a { color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent; color: #fff; cursor: pointer;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff;
}
.cookie-banner button:hover { filter: brightness(1.05); }
.cookie-banner__prefs {
  margin-top: 0.9rem; display: grid; gap: 0.5rem;
  padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.18);
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem;
}
.cookie-banner__prefs button[data-cookie-save] {
  justify-self: start; margin-top: 0.35rem;
  background: var(--color-neutral-light); color: var(--color-primary); border-color: var(--color-neutral-light);
}
