:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 6px 20px -12px rgba(76, 29, 149, 0.25);
  --shadow-md: 0 20px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
  -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 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem 0; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: 1180px;
  margin-inline: auto;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-neutral-dark);
  display: block;
}
.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-neutral-dark);
  padding: 0.5rem 0;
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
  overflow: hidden;
  color: var(--color-neutral-light);
  isolation: isolate;
}
.hero-fullscreen__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(76, 29, 149, 0.55), rgba(76, 29, 149, 0.75));
  z-index: -1;
}
.hero-fullscreen--plain { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); }
.hero-fullscreen--plain .hero-fullscreen__overlay { background: transparent; }
.hero-fullscreen__content {
  max-width: 780px;
  text-align: center;
}
.hero-fullscreen__content h1 { color: var(--color-neutral-light); max-width: 28ch; margin-inline: auto; }
.hero-fullscreen__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(250, 245, 255, 0.9);
  max-width: 52ch;
  margin: 0 auto 2rem auto;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn--primary:hover { box-shadow: var(--shadow-md); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { background: #a8720a; }

/* === Section base === */
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem auto; }
.section-header--left { text-align: left; margin-inline: 0; }
.section-header p { color: var(--color-neutral-dark); opacity: 0.75; }

/* === Intro === */
.intro { background: var(--color-neutral-light); }
.intro--alt { background: #f2ebfb; }
.intro .container--narrow { text-align: left; }
.inline-image {
  margin-top: 2rem;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* === Cards / highlights === */
.highlights { background: #fff; }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
  color: var(--color-neutral-dark);
}
.card h3 { margin: 0.75rem 0 0.5rem 0; }
.card p { margin: 0; font-size: 0.98rem; }
.card .icon { color: var(--color-primary); }
.card-link { display: block; text-decoration: none; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); text-align: center; }
.testimonial blockquote { margin: 0; }
.testimonial p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin: 0 auto 1.25rem auto;
  max-width: 40ch;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.88); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Contact form === */
.contact-form-section { background: #fff; }
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
}
.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.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.6rem;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  opacity: 0.9;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; background: var(--color-primary); color: var(--color-neutral-light); }
.contact-form .btn:hover { background: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3.5rem 0 2rem 0;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer__copy {
  border-top: 1px solid rgba(250, 245, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}
.site-footer__copy p { margin: 0; }

/* === 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;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.45);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem 0; font-size: 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 245, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.cookie-banner__prefs {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}
