:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #059669;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A33;
  --color-muted: #4A6A74;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow-card-hover: 0 24px 60px -20px rgba(8, 145, 178, 0.28);
  --shadow-hero: 0 30px 80px -30px rgba(8, 145, 178, 0.35);
}

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

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Header / nav (glass) === */
.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 var(--color-border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(236, 254, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(15, 42, 51, 0.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.primary-nav { display: flex; align-items: center; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: none; }
.primary-nav__list.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  padding: 1rem 1.25rem; gap: .25rem;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav__list a { display: block; padding: .65rem .25rem; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.primary-nav__list a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav__list { display: flex; gap: 1.75rem; position: static; background: transparent; padding: 0; border: 0; }
  .primary-nav__list a { padding: .25rem 0; }
  .primary-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav__list a:hover::after, .primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === 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: .98rem; line-height: 1; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(8, 145, 178, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(8, 145, 178, 0.65); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1.05rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (split) === */
.hero {
  position: relative; overflow: hidden;
  padding-block: 3.5rem;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(50% 50% at 10% 85%, rgba(5, 150, 105, 0.10), transparent 70%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
}
@media (min-width: 768px) { .hero { padding-block: 6rem; } }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) { .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-split__grid--single { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; text-align: center; }
.hero-split__grid--single .hero__ctas { justify-content: center; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--color-primary); font-weight: 600; margin: 0 0 .85rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hero);
}
@media (min-width: 880px) { .hero-split__media img { aspect-ratio: 4/5; } }

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section--narrow .container { max-width: 760px; }
.section--tinted { background: linear-gradient(180deg, #fff, var(--color-neutral-light) 40%, #fff); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head__sub { color: var(--color-muted); font-size: 1.1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); }

/* === Cards grid === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--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-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin-bottom: 0; }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.45; color: var(--color-neutral-dark); max-width: 56ch; margin-inline: auto; font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding-block: 3.5rem;
}
.cta-band__inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
.cta-band .btn--primary:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 880px) { .pricing-grid--3 { 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-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pricing-card--featured { border: 2px solid var(--color-accent); }
.pricing-card__badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-size: .75rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: 999px; letter-spacing: .04em;
}
.pricing-card__plan { font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin-bottom: 1rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.5rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .65rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: .75rem;
  background: #fff;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; 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; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .85rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
@media (min-width: 600px) { .contact-form { padding: 2.5rem; } }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; color: var(--color-text);
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(8,145,178,.18); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h2.footer__heading { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.footer__tagline { color: rgba(236,254,255,.75); max-width: 28ch; }
.footer__nav, .footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: rgba(236,254,255,.7); }

/* === 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: 0 24px 60px -18px rgba(0,0,0,.45);
  max-width: 720px; 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 .btn { padding: .6rem 1rem; font-size: .9rem; }
.cookie-banner__actions .btn--primary { background: var(--color-accent); color: #fff; box-shadow: none; }
.cookie-banner__actions .btn--primary:hover { background: #047857; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,.25); background: transparent; }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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