:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0f2a33;
  --color-muted: #476a75;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(8, 145, 178, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(22, 78, 99, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 254, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px -12px rgba(22, 78, 99, 0.18);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column; gap: 0.25rem;
  box-shadow: var(--shadow-sm);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a:last-child { border-bottom: none; }
.primary-nav a.is-active { color: var(--color-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff !important;
  border-radius: 999px;
  padding: 0.55rem 1.1rem !important;
  text-align: center;
  margin-top: 0.5rem;
}
.nav-cta:hover { text-decoration: none; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: transparent; border: none; box-shadow: none;
  }
  .primary-nav a { border: none; padding: 0.5rem 0; position: relative; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
    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.is-active::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(8, 145, 178, 0.55);
}
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(8, 145, 178, 0.7); }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-neutral-dark);
}
.btn--ghost:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--on-dark { color: #fff; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 3rem 2rem; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side at 30% 20%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(closest-side at 70% 10%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #fff 70%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero-centered h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch; margin: 1.25rem auto 1.75rem;
  font-size: 1.15rem; color: var(--color-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero__figure {
  margin: 3rem auto 0; max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Sections === */
.section { padding-block: 3.5rem; position: relative; }
.section--tint {
  background:
    radial-gradient(closest-side at 85% 0%, rgba(34, 211, 238, 0.10), transparent 55%),
    var(--color-neutral-light);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .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), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(34, 197, 94, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }
.stat {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

/* === Quote === */
.quote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), transparent);
  border-radius: var(--radius);
  text-align: center;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.5;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 20% 30%, rgba(34, 197, 94, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.contact-line { font-size: 0.98rem; }
.cta-band .contact-line a { color: #fff; text-decoration: underline; }

/* === Pricing === */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  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(34, 197, 94, 0.35);
}
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  letter-spacing: 0.04em;
}
.pricing-card__plan { margin-bottom: 0.5rem; font-size: 1.4rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.pricing-card__features {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  flex-grow: 1;
}
.pricing-card__features li {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.96rem; color: var(--color-text);
  padding-block: 0.15rem;
}
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.5rem; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: #fff;
  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;
  padding-right: 1.5rem;
  position: relative;
}
.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 details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 0.92rem;
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  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 3px rgba(8, 145, 178, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }
.form-success {
  background: rgba(34, 197, 94, 0.12);
  color: var(--color-neutral-dark);
  padding: 1rem 1.25rem; border-radius: 12px;
  font-family: var(--font-heading); font-weight: 600;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__tag { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-top: 0.5rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer h4 {
  font-family: var(--font-heading);
  color: #fff; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav ul li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: 0.94rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem; padding-top: 1.25rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

/* === 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: 0 20px 60px -10px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; color: rgba(236, 254, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--color-neutral-light);
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  font-size: 0.88rem;
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(255,255,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: #16a34a; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: 0.5rem;
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}

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