:root {
  --color-primary: #1E293B;
  --color-secondary: #334155;
  --color-accent: #DC2626;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-muted: rgba(15, 23, 42, 0.62);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 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 -30px rgba(15, 23, 42, 0.35);
}

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

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

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  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.92);
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35);
  border-bottom-color: var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding-block: .25rem;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: .55rem 1.1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: transparent; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; }

.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
  align-items: flex-start;
}

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.5); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(220, 38, 38, 0.5);
}
.btn-accent:hover { background: #b91c1c; }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); background: rgba(15,23,42,0.03); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -10% 10% auto 10%; height: 480px;
  background: radial-gradient(closest-side, rgba(220,38,38,0.14), transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-secondary);
  padding: .35rem .75rem; border: 1px solid var(--color-border); border-radius: 999px;
  margin-bottom: 1.25rem; background: rgba(255,255,255,0.6);
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 2rem; color: var(--color-secondary); font-size: 1.15rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__media { margin-top: 3rem; max-width: 960px; position: relative; z-index: 1; }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section--narrow .container { max-width: 760px; }
.section--narrow h2 { text-align: center; }
.section--narrow .lede { color: var(--color-secondary); font-size: 1.1rem; text-align: left; }
.section--tint { background: linear-gradient(180deg, rgba(15,23,42,0.03), rgba(15,23,42,0.01)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-secondary); }

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.75rem;
  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__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,41,59,0.08), rgba(220,38,38,0.12));
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card p { color: var(--color-secondary); margin: 0; }

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.split__media img { border-radius: var(--radius-md); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Testimonial === */
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--color-primary);
}
.testimonial p { margin-bottom: 1.25rem; font-weight: 500; }
.testimonial cite {
  font-family: var(--font-body); font-style: normal;
  font-size: .95rem; color: var(--color-secondary); font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -50% 30% auto auto;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(220,38,38,0.28), transparent 70%);
  filter: blur(20px);
}
.cta-band__inner { position: relative; text-align: center; }
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(248,250,252,0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band__meta { font-size: .95rem; color: rgba(248,250,252,0.7); margin-bottom: 1.5rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 50px -20px rgba(220,38,38,0.35);
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--color-accent); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .35rem .8rem; border-radius: 999px;
  font-family: var(--font-heading);
}
.pricing-card__plan { margin-bottom: .5rem; }
.pricing-card__price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-primary);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-secondary); margin-bottom: 1.25rem; font-size: .98rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li {
  display: flex; gap: .6rem; align-items: flex-start;
  padding-block: .55rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-secondary);
}
.pricing-card__features li:first-child { border-top: 0; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 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-primary); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--color-accent); line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--color-secondary); }

/* === Contact cards === */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-secondary); margin-bottom: .5rem; }
.contact-card p { margin: 0; color: var(--color-primary); font-weight: 500; }

/* === Form === */
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--color-secondary);
  margin: 1.25rem 0;
}
.form-consent input { margin-top: .25rem; }
.form-success { color: var(--color-primary); font-weight: 600; margin-top: 1rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.75); margin-top: 4rem; }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-block: 3.5rem 2rem;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(248,250,252,0.75); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer .legal { flex-direction: column; }
.site-footer .tagline { font-style: italic; margin-top: .5rem; }
.logo--footer img { height: 72px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__base {
  border-top: 1px solid rgba(248,250,252,0.1);
  padding-block: 1.25rem; text-align: center; font-size: .9rem;
}
.site-footer__base p { margin: 0; }

/* === 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: var(--radius-md);
  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: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(248,250,252,0.08); border-color: rgba(248,250,252,0.6); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }

/* === 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; }
  html { scroll-behavior: auto; }
}
