:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4C4A80;
  --color-line: rgba(49, 46, 129, 0.12);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 45px -25px rgba(49, 46, 129, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1rem; }
.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav {
  display: none;
  gap: 1.5rem;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { text-decoration: none; border-bottom-color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.nav-toggle {
  background: transparent;
  border: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 40px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-line);
  gap: 0.75rem;
}

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover { background: #16A34A; text-decoration: none; transform: translateY(-1px); }

/* === Hero split === */
.hero { padding-block: 3rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.hero__text { order: 1; }
.hero__media { order: 2; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

@media (min-width: 860px) {
  .hero { padding-block: 5rem; }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--tinted { background: var(--color-neutral-light); }
.section--narrow .container,
.section--narrow-inner { max-width: 760px; margin-inline: auto; }
.section__lede {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 2rem;
}

@media (min-width: 860px) {
  .section { padding-block: 5rem; }
}

/* === Grid cards === */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote {
  margin: 0 auto;
  max-width: 720px;
  padding: 0 1rem;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.testimonial cite {
  color: var(--color-muted);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 780px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact card === */
.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  max-width: 640px;
}
.contact-card p { margin: 0.4rem 0; }

/* === Form === */
.form-wrapper { max-width: 720px; margin-inline: auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
}
.form-row input,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-muted);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.2rem; }
.contact-form .btn { align-self: flex-start; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  background: #fff;
  margin-bottom: 0.75rem;
}
.faq summary {
  font-weight: 600;
  color: var(--color-neutral-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details[open] { border-color: var(--color-primary); }
.faq p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #E5E4FA;
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.site-footer a { color: #E5E4FA; }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 780px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid ul li { margin-bottom: 0.5rem; }
.footer__grid address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-links li { margin: 0; }
.footer__base {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(229,228,250,0.8);
}
.logo--footer img { height: 64px; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 520px;
  margin-inline: auto;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem;
  border-radius: 14px;
  display: none;
  z-index: 9999;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner__actions button {
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.88rem;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button:hover { filter: brightness(1.1); }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
}
