:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: rgba(30, 41, 59, 0.68);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

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

/* === Header (glass nav) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom-color: var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .875rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-neutral-dark);
  padding: .5rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(16px);
  padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  padding: .625rem .5rem;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
}
.primary-nav a:hover { background: rgba(37, 99, 235, 0.06); color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff !important;
  margin-top: .5rem;
  text-align: center;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
.nav-cta:hover { background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: 0;
    gap: .25rem;
    align-items: center;
  }
  .primary-nav a { padding: .5rem .875rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: .875rem;
    right: .875rem;
    bottom: .25rem;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; margin-left: .5rem; padding: .625rem 1.25rem; border-radius: 999px; }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(248, 250, 252, 0) 60%);
}
.hero--inner { padding-block: 3rem 2rem; }
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  height: 700px;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: .375rem .875rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 56ch;
  margin: 1.25rem auto 0;
  font-size: 1.125rem;
  color: var(--color-muted);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.hero__visual {
  margin: 3rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  pointer-events: none;
}
.hero__visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.7); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover { background: rgba(30, 41, 59, 0.04); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.55);
}
.btn--accent:hover { background: #ea6a10; transform: translateY(-2px); color: #fff; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; border-radius: 8px; }

/* === Sections === */
section { padding-block: 3.5rem; }
@media (min-width: 768px) { section { padding-block: 5rem; } }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.section__lede { text-align: center; max-width: 60ch; margin: -1rem auto 2.5rem; color: var(--color-muted); font-size: 1.0625rem; }

/* === Intro === */
.intro__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.intro__inner p { font-size: 1.0625rem; color: var(--color-muted); }

/* === Grids === */
.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: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: var(--color-neutral-dark);
}
.card p { color: var(--color-muted); margin: 0; }
.card h3 { margin: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.25); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
  color: var(--color-primary);
  margin-bottom: .25rem;
}
.card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  margin-bottom: .25rem;
}

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent); }
.testimonial blockquote {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.quote-mark { color: var(--color-accent); opacity: .5; margin-bottom: .5rem; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-muted);
  font-size: .9375rem;
}

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

/* === Contact band === */
.contact-band { background: rgba(37, 99, 235, 0.04); }

/* === Contact form === */
.contact-form__wrap { max-width: 720px; margin: 0 auto; }
.contact-form__wrap h2 { text-align: center; }
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: flex; flex-direction: column; gap: .375rem; }
.form-row label { font-weight: 500; font-size: .9375rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit;
  padding: .75rem .875rem;
  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, background .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex-wrap: wrap;
}
.form-consent input { margin-top: .25rem; flex: none; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.72);
  padding-block: 3.5rem 1.5rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.footer__tagline { color: rgba(255,255,255,0.6); margin: 1rem 0 0; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h3 {
  color: #fff;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 1rem;
}
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a, .footer__contact a { color: rgba(255,255,255,0.72); }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact address { font-style: normal; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; }
.footer__copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(255,255,255,0.85); font-size: .9375rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font: inherit;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions button[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(255,255,255,0.1); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.cookie-banner__prefs button {
  font: inherit;
  align-self: flex-start;
  margin-top: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
}

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