:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-card: 0 10px 30px -18px rgba(15, 23, 42, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-neutral-dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.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; } }
.logo--footer img { height: 64px; }

.nav-toggle {
  background: none; border: 0; padding: 0.5rem;
  display: inline-flex; flex-direction: column; gap: 4px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }

.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  flex-direction: column; gap: 0.5rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: 0.6rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.primary-nav a.is-current { color: var(--color-primary); text-decoration: underline; text-underline-offset: 6px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    background: transparent; border: 0; padding: 0; gap: 1.75rem;
  }
}

/* === Hero (fullscreen) === */
.hero-fullscreen {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: -2;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.72), rgba(15, 23, 42, 0.72));
  z-index: -1;
}
.hero-fullscreen--plain {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
}
.hero__inner {
  text-align: center;
  padding-block: 5rem 4rem;
  max-width: 820px;
}
.hero__inner h1 { color: #fff; }
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 56ch;
  margin: 0 auto 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}

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

/* === Sections === */
.section { padding-block: 4rem; }
.section--tint { background: #EEF2FB; }
.section--narrow .container { max-width: 780px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); }
.lede { font-size: 1.075rem; color: var(--color-text); line-height: 1.75; }

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .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 var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(15,23,42,0.28); }
.card .icon {
  width: 32px; height: 32px; color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  font-family: var(--font-heading);
}
.testimonial p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--color-neutral-dark);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
  font-family: var(--font-body);
}
.testimonial-block {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.testimonial-block__img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
}
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  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: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-row label { font-weight: 500; margin-bottom: 0.35rem; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-text);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted);
  margin: 0.5rem 0 1.25rem;
}
.form-consent input { margin-top: 4px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 3.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.85rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.footer__tag { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer__legal { margin-top: 1rem; }
.footer__legal li { font-size: 0.9rem; }
.footer__base {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.footer__base p { margin: 0; }
address { font-style: normal; line-height: 1.7; margin-bottom: 0.5rem; font-size: 0.95rem; }

/* === 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 -15px rgba(0,0,0,0.4);
  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 button {
  font: inherit;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.9rem;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: #1a1a1a; font-weight: 600; }
.cookie-banner button:hover { filter: brightness(1.08); }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: inline-flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
