:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1240;
  --color-muted: #5B4A8A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px -18px rgba(76, 29, 149, 0.35);
  --shadow-card: 0 18px 40px -28px rgba(76, 29, 149, 0.4);
}

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

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #0e9d70; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 245, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-size: 0.95rem;
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; color: var(--color-neutral-dark);
  cursor: pointer;
}

/* === Hero (centered) === */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero h1 {
  max-width: 28ch;
  margin: 0 auto 1.25rem;
}
.hero-sub {
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  color: var(--color-muted);
  font-size: 1.125rem;
}
.hero-cta { margin-bottom: 2.5rem; }
.hero-figure {
  margin: 0 auto;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* === Sections === */
.section { padding: 3.5rem 0; }
.section-narrow { padding: 3.5rem 0; }
.section-narrow .container { max-width: 760px; }
.section-alt { background: #fff; border-block: 1px solid var(--color-border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); margin: 0; }
.split figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease;
  color: var(--color-text);
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; text-decoration: none; color: var(--color-text); }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--color-secondary); }

.card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
  margin-bottom: .5rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 .5rem;
}

/* === Testimonial === */
.testimonial-section blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.testimonial-section blockquote p {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 1rem;
}
.testimonial-section cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-info address { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours td { padding: .45rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child { text-align: right; color: var(--color-muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.contact-form h2 { margin-top: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  background: #fff;
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 1rem 0 1.25rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .2rem; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--color-neutral-dark);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--color-primary);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.tagline { color: var(--color-secondary); font-style: italic; margin-top: .5rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  z-index: 9999;
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(255,255,255,0.35);
  padding: .5rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner button:hover { opacity: 0.9; }
.cookie-banner__prefs { margin-top: .9rem; display: grid; gap: .4rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: 0.88rem; }
.cookie-banner__prefs button[data-cookie-save] {
  justify-self: start;
  margin-top: .4rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* === Responsive === */
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .logo-footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; background: transparent; padding: 0; box-shadow: none; flex-direction: row; }
  .hero { padding: 5rem 0 4rem; }
  .section { padding: 5rem 0; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
}

@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
