:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #059669;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0f2e3a;
  --color-muted: #4b6c78;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(15, 46, 58, 0.06);
  --shadow-md: 0 10px 40px -10px rgba(15, 46, 58, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 46, 58, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 .75em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

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

/* === Header === */
.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: background .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.site-header.scrolled { background: rgba(255,255,255,0.88); box-shadow: 0 4px 20px -12px rgba(15,46,58,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; max-width: 1280px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .35rem; border-radius: 8px; }
.nav-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); background: #fff; padding: .75rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .6rem .8rem; border-radius: 10px; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a:hover { background: var(--color-neutral-light); }
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav a.nav-cta { background: var(--color-primary); color: #fff; text-align: center; }
.primary-nav a.nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; flex-direction: row; align-items: center; background: transparent; box-shadow: none; padding: 0; border: 0; gap: .25rem; }
  .primary-nav a { padding: .5rem .85rem; position: relative; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a.is-current::after { transform: scaleX(1); }
  .primary-nav a.nav-cta { padding: .55rem 1rem; border-radius: 999px; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.18), transparent 55%),
  radial-gradient(ellipse at 80% 40%, rgba(5, 150, 105, 0.10), transparent 60%),
  linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 70%);
}
.hero-inner { text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-image { max-width: 960px; margin: 2rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); position: relative; }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === 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; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 28px -12px rgba(8, 145, 178, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(8, 145, 178, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(22, 78, 99, 0.25); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--color-neutral-light); border-color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid rgba(8, 145, 178, 0.45); outline-offset: 2px; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section.intro .container.narrow { text-align: left; }
.section.intro h2 { text-align: left; }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.grid-3, .grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.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(5,150,105,0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial .quote-mark { color: var(--color-secondary); opacity: .55; margin-bottom: 1rem; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; letter-spacing: .02em; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; border-radius: var(--radius-lg); margin: 3rem 1.25rem; padding: 3rem 1.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 20%, rgba(34,211,238,0.3), transparent 60%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(236, 254, 255, 0.85); max-width: 46ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); }
.cta-band .btn-primary:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
@media (min-width: 768px) { .cta-band { margin: 4rem auto; max-width: 1180px; padding: 4rem 2rem; } }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-neutral-light); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); background: #fff; }
.pricing-card__badge { position: absolute; top: -12px; right: 1.25rem; background: var(--color-accent); color: #fff; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.pricing-card__plan { margin-bottom: .35rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 1rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--color-text); font-size: .97rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1.1rem 0; }
.faq details[open] summary { color: var(--color-primary); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease-hover); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; } }
.contact-info p { color: var(--color-muted); }
.contact-info strong { display: block; color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 600; margin-bottom: .2rem; }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .92rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input, .contact-form textarea { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--color-border); background: #fff; color: var(--color-text); transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover); }
.contact-form input:focus, .contact-form 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; flex-direction: row; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; }
.form-success { background: rgba(5,150,105,0.12); color: var(--color-accent); padding: 1rem; border-radius: 10px; font-weight: 500; }

/* === Contact band (about page) === */
.contact-band { text-align: center; background: var(--color-neutral-light); border-radius: var(--radius-lg); padding: 3rem 1.5rem; }
.contact-band p { color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--color-secondary); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 64px; filter: brightness(1.6); }
.footer-tagline { margin-top: .75rem; color: rgba(236, 254, 255, 0.7); font-size: .95rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact p { color: rgba(236, 254, 255, 0.75); margin-bottom: .75rem; font-size: .95rem; }
.legal-links { font-size: .85rem; margin-top: 1rem; }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(236, 254, 255, 0.12); color: rgba(236, 254, 255, 0.6); font-size: .85rem; }

/* === 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-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; color: rgba(236, 254, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: .9rem; transition: transform .2s var(--ease-hover), background .2s var(--ease-hover); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions [data-cookie-accept]:hover { transform: translateY(-1px); }
.cookie-banner__actions [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236,254,255,0.35); }
.cookie-banner__actions [data-cookie-settings] { background: rgba(236,254,255,0.12); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .55rem; padding-top: 1rem; border-top: 1px solid rgba(236,254,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(236,254,255,0.9); }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 0; background: var(--color-primary); color: #fff; font-weight: 600; cursor: pointer; font-size: .9rem; }
