:root {
  --color-primary: #1E3A8A;
  --color-secondary: #1E40AF;
  --color-accent: #B45309;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Manrope', 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 20px 60px -20px rgba(15,23,42,0.25);
}

/* === Base === */
*, *::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%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.02em; line-height: 1.15; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }

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

.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: #334155; max-width: 52ch; }
.muted { color: #475569; font-size: .95rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin-inline: auto; padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(15,23,42,0.05); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-bottom: 1px solid rgba(15,23,42,0.06); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem 0; text-decoration: none; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-secondary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 1.5rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { padding: .35rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; 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; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(30,64,175,0.35); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 24px -12px rgba(30,64,175,0.6); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(30,64,175,0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(15,23,42,0.15); }
.btn-ghost:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(180,83,9,0.55); }
.btn-accent:hover { background: #92400E; }

/* === Hero (split) === */
.hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(30,64,175,0.10), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(180,83,9,0.08), transparent 50%),
    linear-gradient(180deg, #EEF2FF 0%, var(--color-neutral-light) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy { max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-media-decoration { position: relative; min-height: 260px; }
.decoration-glow { position: absolute; inset: 0; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, rgba(30,64,175,0.18), transparent 70%); }
.hero-slim { padding-bottom: 2rem; }

@media (min-width: 900px) {
  .hero { padding: 6rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-media img { aspect-ratio: 4/5; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-alt { background: #fff; border-block: 1px solid rgba(15,23,42,0.05); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: #475569; font-size: 1.05rem; }

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: 1fr; }
.cards-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid rgba(15,23,42,0.06);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p { color: #334155; 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(30,58,138,0.10), rgba(30,64,175,0.16)); color: var(--color-secondary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; max-width: 44ch; margin: 0 auto 1.25rem; }
.testimonial cite { font-style: normal; color: #475569; font-size: .95rem; }

/* === CTA band === */
.cta-band { position: relative; padding: 4.5rem 0; text-align: center; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(180,83,9,0.25), transparent 45%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 46ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.5rem; }

/* === FAQ === */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-secondary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: .75rem; color: #334155; }

/* === 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; padding: 2.25rem; border-radius: var(--radius); border: 1px solid rgba(15,23,42,0.12); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -14px; right: 20px; background: var(--color-accent); color: #fff; padding: .3rem .75rem; border-radius: 999px; font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.pricing-card__plan { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--color-secondary); margin: 0 0 .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 .75rem; color: var(--color-neutral-dark); }
.pricing-card__lede { color: #475569; font-size: .95rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; color: #334155; font-size: .97rem; }
.pricing-card__features li span { color: var(--color-secondary); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(15,23,42,0.06); }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid rgba(15,23,42,0.15); border-radius: 10px; background: #fff; color: var(--color-neutral-dark); 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-secondary); box-shadow: 0 0 0 4px rgba(30,64,175,0.12); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: #475569; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.85); padding: 4rem 0 1.5rem; margin-top: 2rem; }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248,250,252,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
.copyright { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(248,250,252,0.6); font-size: .9rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }

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

/* === 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);
  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; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248,250,252,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s var(--ease); }
.cookie-banner__actions button:hover { background: rgba(248,250,252,0.08); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #92400E; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 0; background: var(--color-neutral-light); color: var(--color-neutral-dark); cursor: pointer; justify-self: start; margin-top: .25rem; }
