:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5F82;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 20px 40px -24px rgba(76, 29, 149, 0.25);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #ffffff;
  -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; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

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

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

.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; padding: 0.4rem 0; }
.primary-nav a.is-current { color: var(--color-primary); border-bottom: 2px solid var(--color-accent); }
.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #ffffff; padding: 1.25rem 1.5rem; gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.nav-toggle {
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--color-neutral-dark); margin-inline: auto; transition: transform 0.2s; }

@media (min-width: 860px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
  font-family: var(--font-heading);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 2px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--color-primary); color: #ffffff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); }
.btn--accent { background: var(--color-accent); color: #ffffff; }
.btn--accent:hover { background: #a56f00; text-decoration: none; transform: translateY(-1px); }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem 2rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 1.5rem; color: var(--color-muted); font-size: 1.15rem; }
.hero__cta { margin: 0 0 3rem; }
.hero__image { margin: 2.5rem auto 0; max-width: 1000px; }
.hero__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 768px) { .hero { padding-block: 6rem 3rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 720px; }
.section--narrow { text-align: center; }
.section--tinted { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Grid & Cards === */
.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); }
}
.card {
  background: #ffffff; padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; max-width: 640px; margin-inline: auto; padding: 2rem 0; }
.testimonial p { font-size: 1.25rem; line-height: 1.55; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1rem; }
.testimonial cite { color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

/* === CTA Band === */
.cta-band { background: var(--color-primary); color: #ffffff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; margin-inline: auto; }
.cta-band__meta { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1.15rem 0;
}
.faq summary {
  font-weight: 600; color: var(--color-neutral-dark);
  cursor: pointer; font-size: 1.05rem;
  list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.5rem; color: var(--color-accent); font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info address { font-style: normal; line-height: 1.8; }
.contact-form { background: #ffffff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--color-text);
  background: #ffffff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h3 { color: #ffffff; font-size: 1rem; margin: 0 0 0.85rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #ffffff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.45rem; }
.site-footer__tag { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-top: 0.6rem; }
.site-footer__legal { margin-top: 1rem; font-size: 0.88rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255, 255, 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 1.4rem; border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  background: var(--color-accent); color: #ffffff; border: 0;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
}
.cookie-banner button[data-cookie-reject], .cookie-banner button[data-cookie-settings] {
  background: transparent; color: var(--color-neutral-light);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; }
