:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2,6,23,0.10);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(2,6,23,0.06);
  --shadow-md: 0 10px 40px -10px rgba(2,6,23,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2,6,23,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; 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); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === 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-quick), box-shadow .3s var(--ease-quick), border-color .3s var(--ease-quick);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -10px rgba(2,6,23,0.10);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .4rem;
  cursor: pointer;
  color: var(--color-primary);
}
.site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
  gap: .25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-primary);
  font-weight: 500;
  padding: .6rem 0;
  position: relative;
}
.site-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 1.75rem;
  }
  .site-nav a { padding: .25rem 0; }
  .site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-quick);
  }
  .site-nav a:hover { text-decoration: none; }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .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-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-quick), box-shadow .2s var(--ease-quick), background .2s var(--ease-quick);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #0284c7);
  box-shadow: 0 10px 30px -10px rgba(3,105,161,0.55);
}
.btn-primary:hover { box-shadow: 0 14px 40px -12px rgba(3,105,161,0.7); }
.btn-ghost {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-border);
}
.btn-ghost:hover { background: rgba(3,105,161,0.06); border-color: var(--color-accent); color: var(--color-accent); }
:focus-visible { outline: 3px solid rgba(3,105,161,0.45); outline-offset: 3px; border-radius: 6px; }

/* === Hero (split) === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem 3.5rem;
}
.hero-glow {
  position: absolute;
  inset: -20% 40% auto -20%;
  height: 480px;
  background: radial-gradient(circle at 30% 30%, rgba(3,105,161,0.16), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy .eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .78rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-grid.single { grid-template-columns: 1fr; max-width: 760px; text-align: left; }
}

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.section.narrow { max-width: 780px; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-sub { text-align: center; color: var(--color-secondary); margin-top: -1.5rem; margin-bottom: 2rem; }

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

.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-quick), box-shadow .25s var(--ease-quick);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(3,105,161,0.14), rgba(3,105,161,0.04));
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: var(--color-secondary); margin: 0; }

/* === Testimonial === */
.testimonial-section { max-width: 900px; }
.testimonial {
  margin: 0;
  padding: 2.5rem;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial .quote-mark { color: rgba(3,105,161,0.18); margin-bottom: 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--color-primary); line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-secondary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}
.cta-band-inner {
  background: linear-gradient(135deg, var(--color-primary), #1e293b);
  color: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band-inner::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto auto;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(3,105,161,0.5), transparent 60%);
  filter: blur(30px);
}
.cta-band-inner h2, .cta-band-inner p { position: relative; color: inherit; }
.cta-band-inner p { color: rgba(248,250,252,0.8); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band-inner .btn-primary { position: relative; }
@media (min-width: 700px) { .cta-band-inner { padding: 4rem 3rem; } }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-quick), box-shadow .25s var(--ease-quick);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--color-accent);
  color: var(--color-neutral-light);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  letter-spacing: .04em;
}
.pricing-card__plan { font-size: 1.35rem; margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin-bottom: .5rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-secondary); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .55rem; color: var(--color-secondary); font-size: .95rem; }
.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 details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-quick);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-primary);
  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-accent);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; max-width: 620px; margin: 0 auto; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; color: var(--color-primary); font-size: .95rem; }
.form-row input,
.form-row textarea {
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-primary);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3,105,161,0.15);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--color-secondary);
}
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(248,250,252,0.75);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer p { color: rgba(248,250,252,0.75); margin: 0 0 .5rem; }
.logo-footer img { height: 60px; }
.footer-tagline { margin-top: 1rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: rgba(248,250,252,0.75); }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: rgba(248,250,252,0.85); }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.legal-links a { color: rgba(248,250,252,0.7); }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,250,252,0.12);
  font-size: .85rem;
  color: rgba(248,250,252,0.55);
  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: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(248,250,252,0.9); font-size: .92rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner button {
  font: inherit;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(248,250,252,0.2);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-weight: 500;
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(248,250,252,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #0284c7; }
.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 [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-accent); border-color: var(--color-accent); }

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