:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1636;
  --color-muted: #5A4A78;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 60px -30px rgba(76, 29, 149, 0.35);
}

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

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

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-neutral-dark);
  display: block;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding-block: .5rem 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
  .primary-nav a { border: 0; padding: 0; }
}

/* === Hero === */
.hero { padding-block: 4rem 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light), #F2E8FF 100%); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }
.hero h1 { max-width: 24ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--color-muted);
}
.hero__cta { margin-bottom: 3rem; }
.hero__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero--slim { padding-block: 3.5rem 2rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s 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); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #0ea371; }

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head p { color: var(--color-muted); }
.section--intro { text-align: left; }
.section--intro .container.narrow > h2 { text-align: center; }
.section--intro p { font-size: 1.05rem; color: var(--color-text); }

/* === Cards === */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  color: var(--color-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card-link { text-decoration: none; }
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-secondary);
  text-decoration: none;
}

/* === Quote === */
.section--quote { background: #fff; border-block: 1px solid var(--color-border); }
.section--quote blockquote {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
}
.section--quote blockquote p {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.section--quote cite {
  font-style: normal;
  font-size: .95rem;
  color: var(--color-muted);
  font-family: var(--font-body);
}

/* === CTA Band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin-inline: auto; }
.cta-band .btn--accent { margin-top: 1.25rem; }

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

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem .9rem;
  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: transparent;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--color-muted);
}
.form-consent input { margin-top: .25rem; flex: none; }

.map-figure { margin: 0 0 1.5rem; border-radius: 12px; overflow: hidden; }
.map-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.lede { color: var(--color-muted); }

.section--contact-band { background: #fff; border-block: 1px solid var(--color-border); text-align: center; }
.section--contact-band .container { text-align: center; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #E9DDFF;
  padding-block: 3.5rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: #E9DDFF; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-tagline { color: #C4B5FD; margin-top: .75rem; }
.logo--footer img { height: 60px; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: .85rem;
  color: #C4B5FD;
}
address { font-style: normal; line-height: 1.7; }

/* === 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: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [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: .5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: .5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
