:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #F5F3FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4A7A;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --shadow-soft: 0 20px 50px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  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, 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;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.prose { font-size: 1.05rem; color: var(--color-muted); max-width: 62ch; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
  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; }

.primary-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: none;
  gap: 1.75rem;
}
.nav-list a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover, .nav-list a[aria-current="page"] {
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--color-neutral-dark); display: block;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; }
}
.nav-list.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem; gap: 0.5rem;
}

/* === Hero (split) === */
.hero { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.hero-split__grid { display: grid; gap: 2rem; align-items: center; }
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 16px; box-shadow: var(--shadow-soft);
}
.hero-split__text .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.9rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { box-shadow: 0 15px 30px -12px rgba(99, 102, 241, 0.6); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 15px 30px -12px rgba(16, 185, 129, 0.55); }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow { padding-block: 3rem; }
.section--narrow h2 { text-align: center; }
.section--tinted { background: var(--color-neutral-light); }
.section-head { max-width: 62ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--color-muted); }
@media (min-width: 900px) { .section { padding-block: 5rem; } }

/* === Grid + cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(99, 102, 241, 0.1); color: var(--color-primary);
}
.card-link {
  color: inherit; text-decoration: none; display: block;
}
.card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(99, 102, 241, 0.35);
}

/* === Quote === */
.section--quote { background: var(--color-neutral-light); }
.quote {
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
}
.quote p {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  margin-bottom: 1.25rem; font-style: italic;
}
.quote cite { font-family: var(--font-body); font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary); color: #fff;
  padding-block: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact === */
.contact-band {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 2rem; max-width: 820px; margin-inline: auto; text-align: center;
}
.contact-band p { color: var(--color-muted); margin-bottom: 1.25rem; }

/* === Form === */
.contact-form {
  max-width: 640px; margin-inline: auto;
  display: flex; flex-direction: column; gap: 1rem;
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-text);
}
.form-row input:focus, .form-row 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.55rem;
  font-size: 0.85rem; color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; flex: none; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(245, 243, 255, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(245, 243, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem; padding-top: 1.25rem;
  font-size: 0.85rem; color: rgba(245, 243, 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);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit; cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 243, 255, 0.25);
  background: transparent; color: var(--color-neutral-light);
  font-size: 0.85rem;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600;
}
.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 button[data-cookie-save] {
  align-self: flex-start; margin-top: 0.5rem;
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}
