:root {
  --color-primary: #4F46E5;
  --color-secondary: #6366F1;
  --color-accent: #F97316;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4880;
  --color-border: rgba(49, 46, 129, 0.14);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(31, 27, 90, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(31, 27, 90, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(31, 27, 90, 0.32);
}

/* === 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-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

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

/* === Header / nav (glass) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 242, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: flex; align-items: center; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; border: 1px solid var(--color-border);
  background: #fff; border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.nav-menu { display: none; list-style: none; margin: 0; padding: 0; }
.nav-menu.is-open { display: flex; }

@media (max-width: 767px) {
  .nav-menu.is-open {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
  }
  .nav-menu li { padding: .5rem 0; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; gap: 1.75rem; align-items: center; }
  .nav-menu a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: .25rem 0; }
  .nav-menu a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta {
    background: var(--color-primary); color: #fff !important; padding: .55rem 1.1rem !important; border-radius: 999px;
  }
  .nav-cta::after { display: none; }
  .nav-cta:hover { background: var(--color-neutral-dark); }
}

/* === Hero card === */
.hero-card-section {
  position: relative;
  padding-block: 3rem;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(249, 115, 22, 0.08), transparent 60%),
    radial-gradient(60% 60% at 10% 80%, rgba(99, 102, 241, 0.12), transparent 60%),
    var(--color-neutral-light);
}
@media (min-width: 768px) { .hero-card-section { padding-block: 5rem; } }

.hero-card {
  max-width: 880px;
  margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(249, 115, 22, 0.10));
  z-index: 0;
  pointer-events: none;
}
.hero-card > * { position: relative; z-index: 1; }
@media (min-width: 768px) { .hero-card { padding: 4rem 3.5rem; } }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.1);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 56ch;
  margin: 1rem auto 1.5rem;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-figure { margin: 2rem 0 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px -8px rgba(79, 70, 229, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--color-neutral-dark); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.6);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; background: #ea6a10; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-head { text-align: center; margin-bottom: 2.5rem; max-width: 60ch; margin-inline: auto; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

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

.card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  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 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(249, 115, 22, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Intro paragraph === */
.intro-section p { font-size: 1.05rem; color: var(--color-text); line-height: 1.75; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  position: relative;
  padding: 1rem 0;
}
.testimonial p { margin-bottom: 1.25rem; }
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 60ch; }
.cta-band .contact-line { margin-top: .5rem; font-size: .95rem; }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  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); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card address { font-style: normal; color: var(--color-muted); }

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .75rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); margin-bottom: .75rem; }
.tagline { color: rgba(255, 255, 255, 0.7); font-size: .95rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: .85rem;
}
address { font-style: normal; }

/* === 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: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; color: rgba(238, 242, 255, 0.9); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 242, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); }

/* === Reveal motion === */
.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; } }
