:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-lift: 0 20px 50px -20px rgba(30, 27, 75, 0.25);
  --shadow-hero: 0 30px 80px -30px rgba(124, 58, 237, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  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, h4 { font-family: var(--font-heading); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 24px -12px rgba(30, 27, 75, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; padding: .5rem .25rem;
  position: relative;
}
.primary-nav a:hover { text-decoration: none; color: var(--color-primary); }
.primary-nav a.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), #5B21B6);
  color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.6);
}
.primary-nav a.nav-cta:hover { color: #fff; transform: translateY(-1px); }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; border: 0; }
  .logo img { height: 96px; }
}

/* === Hero card === */
.hero-card-section {
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(6, 182, 212, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(167, 139, 250, 0.22), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #F1E9FF);
}
.hero-card {
  max-width: 900px; margin-inline: auto;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(10px);
  text-align: left;
}
.hero-card .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: .75rem; font-weight: 600; color: var(--color-primary);
  background: rgba(124, 58, 237, 0.08); padding: .35rem .75rem; border-radius: 999px;
  margin: 0 0 1.25rem;
}
.hero-card h1 { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card .lede { font-size: 1.15rem; color: rgba(30, 27, 75, 0.75); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.5rem 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-card__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 768px) { .hero-card { padding: 3.5rem 3rem; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #5B21B6);
  color: #fff; box-shadow: 0 12px 24px -12px rgba(124, 58, 237, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(124, 58, 237, 0.7); text-decoration: none; color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #0891B2);
  color: #fff; box-shadow: 0 12px 24px -12px rgba(6, 182, 212, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); text-decoration: none; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: linear-gradient(180deg, #F5EEFF, var(--color-neutral-light)); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(30, 27, 75, 0.7); }

/* === Grids / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card p { color: rgba(30, 27, 75, 0.72); font-size: .95rem; margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}

.wide-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.wide-figure img { aspect-ratio: 21 / 9; object-fit: cover; width: 100%; }

/* === Two-column === */
.two-col { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.two-col__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.two-col__figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(6, 182, 212, 0.05)); }
.quote { margin: 0; text-align: center; }
.quote p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  max-width: 60ch; margin: 0 auto 1.25rem;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-inline: auto; }
.cta-band__meta { font-size: .95rem; margin-bottom: 1.25rem; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: rgba(30, 27, 75, 0.75); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: rgba(30, 27, 75, 0.75); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Map block === */
.map-block {
  position: relative; background: linear-gradient(135deg, #E5E1F5, #F5EEFF);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  aspect-ratio: 16 / 6; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: var(--color-primary);
}
.map-block__pin { color: var(--color-primary); }
.map-block__label { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 3rem;
}
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1); opacity: .95; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav h4, .footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.footer-nav a { padding-block: .15rem; }
.footer-tag { color: rgba(250, 245, 255, 0.7); font-size: .95rem; margin-top: .75rem; }
.footer-legal { font-size: .9rem; margin-top: 1rem; }
.footer-copy { border-top: 1px solid rgba(250, 245, 255, 0.12); padding-top: 1.25rem; font-size: .85rem; color: rgba(250, 245, 255, 0.6); }

/* === 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);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
  max-width: 640px; margin-inline: auto;
  font-size: .9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent; color: var(--color-neutral-light); 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: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { justify-self: start; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
