:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4B75;
  --color-border: rgba(49, 46, 129, 0.14);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(49, 46, 129, 0.25);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}
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); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--color-neutral-dark);
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-top: 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    width: auto;
    padding-top: 0;
  }
  .primary-nav a {
    padding: 0;
    border-bottom: none;
    font-size: 0.95rem;
  }
  .logo img { height: 96px; }
}

/* === Hero (stacked) === */
.hero { padding-block: 3rem; background: var(--color-neutral-light); }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-inner .eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  margin: 0;
  font-weight: 600;
}
.hero h1 { margin: 0; max-width: 22ch; }
.hero-figure { margin: 0; width: 100%; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin: 0; }
.hero-cta { margin: 0.5rem 0 0; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-inner { gap: 2rem; }
}

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p { color: var(--color-muted); margin: 0; }
.section-intro { padding-block: 3.5rem; }
.section-intro.alt { background: var(--color-neutral-light); }
.section-intro h2 { text-align: center; }
.section-intro p { font-size: 1.05rem; color: var(--color-muted); }
.section-quote { padding-block: 4rem; background: var(--color-neutral-light); }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; 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 var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { margin: 0.75rem 0 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
.card-icon { color: var(--color-primary); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial {
  margin: 0;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: #fff;
  border-radius: var(--radius);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .testimonial { text-align: left; padding: 2rem 2.5rem; }
  .testimonial p { font-size: 1.6rem; }
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }

/* === Section (contact band on about) === */
.section-contact-band { background: var(--color-neutral-light); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(238, 242, 255, 0.85);
  padding-block: 3rem 2rem;
  margin-top: 4rem;
}
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.logo-footer img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(238, 242, 255, 0.15); padding-top: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.copyright {
  border-top: 1px solid rgba(238, 242, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(238, 242, 255, 0.65);
}

/* === Eyebrow (reusable) === */
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* === 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: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  max-width: 720px;
  margin-inline: auto;
}
.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; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(238, 242, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 500;
}
.cookie-banner__actions button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a0a; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 242, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  padding: 0.55rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
