:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4A7A;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-neutral-dark); margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(76, 29, 149, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.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; color: var(--color-neutral-dark); cursor: pointer; padding: 0.5rem; }
.primary-nav { display: none; flex-direction: column; gap: 0.5rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(76, 29, 149, 0.08); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

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

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 28px -12px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.75); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(249, 115, 22, 0.5); }
.btn-accent:hover { background: #ea6a13; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76, 29, 149, 0.22); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* === Hero (centered, modern-saas) === */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(249, 115, 22, 0.1), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.22), transparent 60%),
    linear-gradient(180deg, #F3ECFF 0%, var(--color-neutral-light) 100%);
}
.hero .eyebrow { margin-inline: auto; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-image { max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tinted { background: linear-gradient(180deg, #F3ECFF, #EDE4FF); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }

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

/* === Grids === */
.grid { display: grid; gap: 1.5rem; 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); }
}

/* === Cards === */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(249, 115, 22, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }

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

/* === Testimonial === */
.testimonial { border-left: 3px solid var(--color-accent); padding: 1rem 0 1rem 1.75rem; margin: 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.35), transparent 55%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === FAQ === */
.faq details { border: 1px solid rgba(76, 29, 149, 0.12); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #fff; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-card { text-align: center; background: #fff; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 640px; margin: 0 auto; }
.contact-block p { margin-bottom: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid rgba(76, 29, 149, 0.1); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field { 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: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(76, 29, 149, 0.2); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 4rem 0 2rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1.25rem; }
.tagline { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; }
.copyright { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) { .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 1.5rem; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: 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 button { font: inherit; padding: 0.55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer; font-size: 0.88rem; font-weight: 500; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255,255,255,0.1); color: #fff; }
.cookie-banner [data-cookie-settings] { background: transparent; color: rgba(255,255,255,0.8); text-decoration: underline; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner [data-cookie-save] { margin-top: 0.5rem; align-self: flex-start; background: 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; } }
