:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 20px;
  --shadow-soft: 0 20px 60px -30px rgba(15, 23, 42, 0.25);
  --shadow-card: 0 30px 60px -30px rgba(30, 58, 138, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  -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 { font-family: var(--font-heading); letter-spacing: -0.02em; color: var(--color-ink); margin: 0 0 1rem; }
h1 { font-weight: 700; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; }
h2 { font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1rem; }

/* === Header === */
.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, 64, 175, 0.08);
}
.site-header__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: 1px solid rgba(30,64,175,0.15);
  border-radius: 10px; padding: 0.5rem;
  color: var(--color-primary); cursor: pointer;
}
.site-nav { display: none; gap: 1.5rem; }
.site-nav a {
  color: var(--color-ink); font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0;
}
.site-nav a[aria-current="page"] { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); }
.site-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(30,64,175,0.08);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; padding: 0; background: none; border: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms 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); box-shadow: var(--shadow-soft); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea6a0c; box-shadow: var(--shadow-soft); }

/* === Hero (hero-card) === */
.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.15), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(249,115,22,0.08), transparent 55%),
    var(--color-neutral-light);
  padding: 3rem 1.25rem 4rem;
}
.hero-card__card {
  max-width: 880px; margin: 0 auto;
  background: #ffffff;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.eyebrow {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-secondary); margin: 0 0 1rem;
}
.hero__sub {
  font-size: 1.1rem; color: var(--color-muted);
  max-width: 52ch; margin: 0 auto 1.5rem;
}
.hero__cta { margin: 1.5rem 0 0; }
.hero-card__img {
  margin: 2rem auto 0; border-radius: 14px;
  aspect-ratio: 16 / 9; object-fit: cover; width: 100%;
}

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

/* === Sections === */
.section {
  padding: 3.5rem 1.25rem;
  max-width: 1180px; margin: 0 auto;
}
.section--narrow { max-width: 780px; }
.section--narrow p { font-size: 1.08rem; }
.section--light {
  background: var(--color-neutral-light);
  max-width: none; margin: 0;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
.section--light > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); max-width: 55ch; margin: 0 auto; }

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

/* === Card grid === */
.card-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(30,64,175,0.10);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.card__icon { color: var(--color-secondary); margin-bottom: 0.75rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link {
  display: block; color: inherit; text-decoration: none; height: 100%;
}
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { text-align: center; max-width: 780px; }
.testimonial blockquote {
  margin: 0; padding: 2rem 0;
  position: relative;
}
.testimonial blockquote::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 5rem; line-height: 1;
  color: var(--color-secondary); opacity: 0.35;
  display: block; margin-bottom: -1rem;
}
.testimonial p {
  font-size: 1.25rem; font-weight: 500;
  color: var(--color-ink); line-height: 1.5;
  max-width: 60ch; margin: 0 auto 1.5rem;
}
.testimonial cite {
  font-style: normal; color: var(--color-muted);
  font-size: 0.95rem;
}

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

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split__img {
  border-radius: 16px;
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Article detail === */
.article {
  max-width: 65ch; margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.article__head { margin-bottom: 1.5rem; }
.article__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.article__sub {
  font-size: 1.2rem; color: var(--color-muted); line-height: 1.5;
}
.article__hero {
  aspect-ratio: 16/9; object-fit: cover; width: 100%;
  border-radius: 12px; margin: 2rem 0;
}
.article p {
  font-size: 1.1rem; line-height: 1.75;
  margin-block: 1.25rem;
}
.back-link { margin-top: 3rem; }
.back-link a { font-weight: 500; }

/* === Contact === */
.contact-band { text-align: center; }
.contact-list {
  list-style: none; padding: 0; margin: 1.5rem auto 0;
  max-width: 520px; text-align: left;
  border: 1px solid rgba(30,64,175,0.12);
  border-radius: 14px; background: #fff;
  overflow: hidden;
}
.contact-list li {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(30,64,175,0.08);
}
.contact-list li:last-child { border-bottom: none; }

/* === Contact form === */
.contact-form {
  display: grid; gap: 1.1rem;
  max-width: 640px; margin: 2rem auto 0;
}
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.95rem; font-weight: 500; }
.contact-form input,
.contact-form textarea {
  font: inherit; color: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(30,64,175,0.18);
  border-radius: 10px; background: #fff;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-secondary); outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex; flex-direction: row; align-items: flex-start;
  gap: 0.6rem; font-weight: 400; font-size: 0.9rem;
  color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form button[type="submit"] { justify-self: start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #dbeafe;
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.site-footer__grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}
.site-footer h3 {
  color: #fff; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.site-footer a { color: #dbeafe; }
.site-footer a:hover { color: #fff; }
.footer__tagline { color: #bfdbfe; margin-top: 0.75rem; }
.logo--footer img { height: 64px; }
.footer__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__contact address { font-style: normal; line-height: 1.7; color: #dbeafe; }
.footer__legal { margin-top: 1rem; font-size: 0.88rem; color: #bfdbfe; }
.footer__copy {
  max-width: 1180px; margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(219, 234, 254, 0.15);
  font-size: 0.85rem; color: #bfdbfe;
}

/* === 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.5rem;
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.55);
  max-width: 780px;
}
@media (min-width: 768px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
.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; gap: 0.5rem; flex-wrap: wrap;
}
.cookie-banner__actions button {
  font: inherit; cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: 999px; border: 1px solid rgba(239,246,255,0.35);
  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__actions button:hover { filter: brightness(1.08); }
.cookie-banner__prefs {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(239,246,255,0.2);
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: 0.5rem;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  border: none; background: var(--color-secondary); color: #fff;
  font-weight: 500; cursor: pointer;
}
