:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --maxw: 1160px;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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;
}
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 .75em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--color-secondary); margin: 0 0 1rem; }
.eyebrow--light { color: var(--color-neutral-light); opacity: .85; }

/* === 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(30, 27, 75, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 0; padding: .5rem; color: var(--color-neutral-dark);
  cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav a {
  display: block; padding: .9rem 1.25rem;
  color: var(--color-neutral-dark); font-weight: 500;
  border-top: 1px solid rgba(30,27,75,.06);
}
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav.is-open { display: block; width: 100%; }

@media (min-width: 900px) {
  .header-inner { padding: 1rem 1.5rem; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; }
  .primary-nav a { padding: 0; border: 0; font-size: .95rem; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .95rem 1.5rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: #6d28d9; box-shadow: 0 10px 30px -12px rgba(124,58,237,.6); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #0891b2; color: var(--color-neutral-light); box-shadow: 0 10px 30px -12px rgba(6,182,212,.6); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(30,27,75,.08); }
.btn--sm { padding: .6rem 1rem; font-size: .85rem; }

/* === Hero fullscreen === */
.hero-full {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  color: var(--color-neutral-light);
}
.hero-full--short { min-height: 60vh; background: var(--color-neutral-dark); }
.hero-full__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-full__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(30,27,75,0.72), rgba(124,58,237,0.55));
}
.hero-full__overlay--solid { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); }
.hero-full__inner { position: relative; z-index: 2; padding: 6rem 1.25rem 5rem; max-width: 900px; }
.hero-full__title { color: var(--color-neutral-light); max-width: 22ch; margin-bottom: 1rem; letter-spacing: -0.01em; }
.hero-full__sub { color: rgba(250,245,255,.9); font-size: 1.2rem; max-width: 52ch; margin-bottom: 1.75rem; }

@media (min-width: 900px) {
  .hero-full__inner { padding: 8rem 1.5rem 7rem; }
  .hero-full__sub { font-size: 1.35rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--muted { background: #f3ebff; }
.section-head { max-width: 720px; margin: 0 0 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-sub { color: #4a4568; font-size: 1.05rem; margin: 0; }

@media (min-width: 900px) {
  .section { padding: 6rem 0; }
}

/* === Cards grid === */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(30,27,75,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(30,27,75,.25); }
.card h3 { margin: .5rem 0 .5rem; }
.card p { margin: 0; color: #3d3a5e; font-size: .97rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(6,182,212,.12); color: var(--color-accent);
  margin-bottom: .5rem;
}

/* === Testimonial === */
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 2rem 1rem;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.4; font-style: italic;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  display: block; font-family: var(--font-body);
  font-style: normal; font-weight: 600;
  color: var(--color-secondary); font-size: .95rem;
  letter-spacing: .05em; text-transform: uppercase;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 3.5rem 0;
}
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: var(--color-neutral-light); margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: rgba(250,245,255,.88); }
.cta-band__meta { font-size: .9rem; margin-top: .75rem !important; }
@media (min-width: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
  .cta-band__inner > div { flex: 1; }
}

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid rgba(30,27,75,.08);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: .75rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--color-neutral-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--color-primary); flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: #3d3a5e; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid rgba(30,27,75,.18);
  background: #fff; color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent;
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: #3d3a5e; line-height: 1.5;
}
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 3.5rem 0 1.5rem; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,245,255,.12);
}
.footer-h { font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-secondary); margin: 0 0 1rem; }
.footer-tagline { color: rgba(250,245,255,.75); font-size: .95rem; margin: .75rem 0 0; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: rgba(250,245,255,.85); }
.footer-list a:hover { color: var(--color-accent); text-decoration: none; }
.footer-list--legal { margin-top: 1.25rem; font-size: .88rem; }
.footer-address { font-style: normal; color: rgba(250,245,255,.85); font-size: .95rem; line-height: 1.7; }
.footer-address a { color: rgba(250,245,255,.9); }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.footer-copy { padding-top: 1.5rem; font-size: .85rem; color: rgba(250,245,255,.6); }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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: var(--radius); padding: 1.25rem;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  max-width: 520px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
