/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1233;
  --color-muted: #6B5B8A;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px -2px rgba(76,29,149,0.12);
  --shadow-md: 0 20px 50px -25px rgba(76,29,149,0.35);
  --maxw: 1180px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}
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); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,245,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76,29,149,0.08);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid rgba(76,29,149,0.2); color: var(--color-neutral-dark);
  padding: 0.4rem 0.5rem; border-radius: 8px; cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(76,29,149,0.1); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; position: static; padding: 0; gap: 2rem; background: transparent; border: 0; }
  .primary-nav a { padding: 0.25rem 0; }
}

/* === Hero fullscreen === */
.hero-full {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--color-neutral-dark);
}
.hero-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(76,29,149,0.72), rgba(31,18,51,0.7)); }
.hero-full__overlay--solid { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); }
.hero-full__content {
  position: relative; z-index: 2;
  max-width: 780px;
  padding: 5rem 1.5rem;
  text-align: center;
  color: var(--color-neutral-light);
}
.hero-full__content h1 { color: var(--color-neutral-light); }
.hero-full__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(250,245,255,0.9);
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.hero-full--compact { min-height: 60vh; }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.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: #a5720a; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(250,245,255,0.4); }
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* === Sections === */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section--narrow { max-width: 760px; }
.section--alt { background: #fff; max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--quote { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); max-width: none; padding-left: 1.25rem; padding-right: 1.25rem; }
.section--quote > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.lede { color: var(--color-muted); font-size: 1.1rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(76,29,149,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  color: var(--color-primary);
  background: rgba(124,58,237,0.08);
  padding: 0.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  width: 44px; height: 44px;
}
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--color-ink); font-size: 0.98rem; }

/* === Quote === */
.quote {
  max-width: 760px; margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
  border-left: 4px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1rem; }
.quote cite { display: block; font-style: normal; font-size: 0.95rem; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,245,255,0.9); font-size: 1.1rem; margin-bottom: 1.75rem; }
.cta-band__meta { font-size: 0.95rem !important; color: rgba(250,245,255,0.75) !important; margin-bottom: 2rem !important; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(76,29,149,0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.faq summary { font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; font-family: var(--font-heading); font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--color-ink); }

/* === Form === */
.contact-form { max-width: 640px; margin: 0 auto; background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(76,29,149,0.08); }
.field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field 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-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin: 1.25rem 0 1.5rem; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,245,255,0.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1.05rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(250,245,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.tagline { color: rgba(250,245,255,0.7); font-size: 0.95rem; }
.logo--footer img { height: 60px; }
.legal-links { display: flex; gap: 1rem; font-size: 0.9rem; margin-top: 1rem; }
.legal-links li { margin: 0; }
.copyright { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(250,245,255,0.15); font-size: 0.85rem; color: rgba(250,245,255,0.6); text-align: center; }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* === 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-lg);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 520px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
