:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4A6B;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(49, 46, 129, 0.35);
}

/* === 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: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -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 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }

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

/* === Header === */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--color-neutral-dark);
  transition: transform 0.2s ease;
}
.primary-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #16a34a; text-decoration: none; }

/* === Hero (hero-split) === */
.hero { padding-block: 3rem; background: var(--color-neutral-light); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  max-width: 46ch;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-intro { background: #fff; }
.section-intro.alt { background: var(--color-neutral-light); }
.section-intro h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 1.25rem; }
.section-intro p { font-size: 1.05rem; color: var(--color-muted); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
.section-sub { color: var(--color-muted); max-width: 52ch; margin-inline: auto; }

.split-block { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* === Card grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card .icon { color: var(--color-primary); margin-bottom: 0.9rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); text-decoration: none; }

/* === Testimonial === */
.section-testimonial { background: var(--color-neutral-light); }
.section-testimonial blockquote {
  margin: 0;
  text-align: center;
  padding: 1rem 0;
}
.section-testimonial blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.section-testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(238, 242, 255, 0.85); margin: 0; }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }

/* === Contact form === */
.section-form { background: #fff; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.45;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 2rem;
}
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.tagline { color: rgba(238, 242, 255, 0.75); font-size: 0.95rem; margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(238, 242, 255, 0.85); font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }
.footer-links.legal { flex-direction: row; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.85rem; }
.site-footer address { font-style: normal; color: rgba(238, 242, 255, 0.85); font-size: 0.95rem; line-height: 1.7; }
.site-footer address a { color: rgba(238, 242, 255, 0.85); }
.copyright {
  border-top: 1px solid rgba(238, 242, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(238, 242, 255, 0.65);
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(238, 242, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.88rem;
}
.cookie-banner button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; border-color: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* === Responsive === */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .footer-logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
  }
  .primary-nav ul { flex-direction: row; gap: 1.75rem; align-items: center; }
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .section { padding-block: 5rem; }
  .card-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cards-2 { grid-template-columns: repeat(2, 1fr); }
  .split-block { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .hero-copy h1 { font-size: 3.75rem; }
}
