:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --border-soft: rgba(30, 27, 75, 0.12);
  --shadow-soft: 0 20px 50px -30px rgba(30, 27, 75, 0.35);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
}
img { max-width: 100%; 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;
  font-weight: 600;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.98rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-neutral-dark);
}
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  gap: 1rem;
  align-items: flex-start;
}

/* === Hero fullscreen === */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero--fullscreen {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem;
  color: var(--color-neutral-light);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.55), rgba(30, 27, 75, 0.75));
  z-index: -1;
}
.hero__content { max-width: 780px; margin: 0 auto; }
.hero--fullscreen h1 { color: var(--color-neutral-light); }
.hero__sub {
  font-size: 1.2rem;
  color: rgba(250, 245, 255, 0.9);
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero--simple {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  padding: 6rem 1.25rem 4rem;
  text-align: center;
}
.hero--simple .hero__sub { color: var(--color-neutral-dark); opacity: 0.75; }
.hero--simple h1 { color: var(--color-neutral-dark); }
.hero--simple .eyebrow { color: var(--color-primary); }

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

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}
.section--narrow {
  max-width: 720px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section--narrow h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}
.section--tinted {
  background: #efe6ff;
  max-width: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section__sub {
  color: rgba(30, 27, 75, 0.72);
  font-size: 1.08rem;
  margin: 0;
}

/* === Grid === */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: var(--color-neutral-dark);
  display: block;
}
.card .icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: rgba(30, 27, 75, 0.78); margin: 0; }
.card-link { text-decoration: none; }
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-secondary);
  text-decoration: none;
}

/* === Split section === */
.section--split {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.split__media img {
  border-radius: 16px;
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* === Quote === */
.quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.98rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  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: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.cta-band__meta { font-size: 0.95rem; }
.cta-band__meta a { color: var(--color-neutral-light); text-decoration: underline; }

/* === Contact grid === */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  background: var(--color-neutral-light);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
}
.contact-card address { font-style: normal; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.hours td { text-align: right; color: rgba(30, 27, 75, 0.72); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

/* === Form === */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-neutral-light);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.contact-form .field { margin-bottom: 1.15rem; }
.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--color-neutral-dark);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin: 0.5rem 0 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem 2rem;
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.site-footer h4 {
  color: var(--color-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.site-footer nav a {
  display: block;
  color: rgba(250, 245, 255, 0.85);
  padding: 0.25rem 0;
  font-size: 0.98rem;
}
.site-footer nav a:hover { color: var(--color-neutral-light); }
.site-footer address {
  font-style: normal;
  color: rgba(250, 245, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.75;
}
.site-footer address a { color: rgba(250, 245, 255, 0.85); }
.tagline { color: rgba(250, 245, 255, 0.75); font-style: italic; margin-top: 0.5rem; }
.legal-links {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(250, 245, 255, 0.7);
}
.legal-links a { color: rgba(250, 245, 255, 0.85); }
.logo--footer img { height: 60px; }
.copyright {
  max-width: 1200px;
  margin: 3rem auto 0;
  border-top: 1px solid rgba(250, 245, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(250, 245, 255, 0.6);
  text-align: center;
}

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

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section--split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
  h1 { font-size: clamp(2.75rem, 5vw, 4rem); }
}
@media (min-width: 1024px) {
  .section { padding: 6rem 1.5rem; }
  .hero--fullscreen { min-height: 92vh; }
}
