/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5B8E;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 20px;
  --shadow-card: 0 30px 60px -30px rgba(76, 29, 149, 0.25);
}

/* === Reset === */
*, *::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.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
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);
  line-height: 1.2;
  margin: 0 0 .75rem;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 1.25rem;
}
.narrow { max-width: 720px; margin-inline: auto; }
.section { padding-block: 3.5rem; }
.section-quiet { background: #F3EBFB; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-sub { color: var(--color-muted); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: .75rem;
}

/* === 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;
  padding-block: .9rem;
  gap: 1rem;
}
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.site-nav { position: relative; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  padding: .5rem .9rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  min-width: 220px;
  box-shadow: var(--shadow-card);
  padding: .5rem;
}
.nav-list.is-open { display: block; }
.nav-list li a {
  display: block;
  padding: .55rem .75rem;
  border-radius: 8px;
  color: var(--color-neutral-dark);
}
.nav-list li a:hover { background: #F3EBFB; text-decoration: none; }
.nav-list li a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: .25rem;
    min-width: 0;
  }
  .nav-list li a { padding: .5rem .85rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(124, 58, 237, 0.55);
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(249, 115, 22, 0.55);
}

/* === Hero card === */
.hero-card-section {
  padding-block: 3rem 3.5rem;
  background:
    radial-gradient(circle at 15% 10%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(249, 115, 22, 0.12), transparent 55%),
  var(--color-neutral-light);
}
.hero-card {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  text-align: left;
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .hero-card { padding: 3.5rem 3.25rem; }
}
.hero-card .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 52ch;
}
.hero-card__cta { margin-top: 1.25rem; margin-bottom: 1.75rem; }
.hero-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 1.5rem;
}

/* === Grid & cards === */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px -22px rgba(76, 29, 149, 0.35);
}
.card h3 { margin-top: .5rem; }
.icon {
  color: var(--color-primary);
  width: 28px;
  height: 28px;
}

/* === Split === */
.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.split__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

/* === Quote === */
.quote {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
  font-family: var(--font-heading);
  border-left: 3px solid var(--color-accent);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px -30px rgba(76, 29, 149, 0.35);
}
.quote p {
  font-size: 1.2rem;
  color: var(--color-neutral-dark);
  line-height: 1.5;
}
.quote cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--color-muted);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 2.75rem;
}
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-grid > div {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.contact-grid h3 { margin-top: 0; color: var(--color-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-grid address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .35rem 0; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* === Form === */
.contact-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}
.contact-form label { display: grid; gap: .35rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  background: #fff;
}
.form-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
  font-size: .9rem;
  color: var(--color-muted);
}
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #E4D7F5;
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer h2.footer-heading {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 .75rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-list a { color: #E4D7F5; }
.footer-list a:hover { color: #fff; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-tag { color: rgba(228, 215, 245, 0.8); font-style: italic; }
.footer-address { font-style: normal; line-height: 1.7; }
.footer-address a { color: #E4D7F5; }
.logo--footer img { height: 64px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: .85rem;
  color: rgba(228, 215, 245, 0.7);
  text-align: center;
}
.footer-bottom 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);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .8rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  display: grid;
  gap: .5rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: .9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  justify-self: start;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
