:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #22C55E;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-bg: #F8FEFF;
  --color-text: #0F2A33;
  --color-muted: #4B6874;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(22, 78, 99, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(22, 78, 99, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(8, 145, 178, 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: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; display: block; height: auto; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 254, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease-hover), border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(248, 254, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -10px rgba(22, 78, 99, 0.15);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark);
  cursor: pointer;
}
.site-nav { display: none; gap: 0.25rem; align-items: center; }
.site-nav a {
  position: relative; padding: .5rem .85rem;
  font-weight: 500; color: var(--color-neutral-dark);
  border-radius: 8px;
}
.site-nav a::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);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: .55rem 1.1rem; border-radius: 999px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { color: var(--color-neutral-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.site-nav.is-open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light); padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  gap: .25rem;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; }
}

/* === 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: 1rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
}
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
}
.btn-primary:hover { color: var(--color-neutral-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--color-accent); color: #fff;
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); border-color: var(--color-primary); transform: translateY(-2px); }

/* === Hero card (archetype) === */
.hero-card-section {
  position: relative;
  padding: 3rem 1rem 2rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-bg) 100%);
  overflow: hidden;
}
.hero-card {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
@media (min-width: 768px) {
  .hero-card-section { padding: 5rem 1.5rem 3rem; }
  .hero-card { padding: 4rem; }
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading); font-size: .8rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary);
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(8, 145, 178, 0.08);
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.15rem; color: var(--color-muted); max-width: 60ch;
  margin-bottom: 1.75rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-image {
  margin-top: 1.5rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(22, 78, 99, 0.28);
}
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Section === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
@media (min-width: 768px) { .section { padding: 6rem 1.5rem; } }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.1rem; }
.intro { max-width: 780px; }
.intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.intro .prose { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); }

/* === Cards grid === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; padding: 1.75rem;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  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(34,211,238,0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .98rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { max-width: 900px; }
.testimonial {
  margin: 0;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.testimonial::before {
  content: "\201E";
  position: absolute; top: -.5rem; left: 1.5rem;
  font-family: var(--font-heading); font-size: 6rem; line-height: 1;
  color: var(--color-secondary); opacity: .35;
}
.testimonial p {
  font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5;
  color: var(--color-neutral-dark); font-weight: 500;
  margin-bottom: 1rem;
}
.testimonial cite { color: var(--color-muted); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(236, 254, 255, 0.85); font-size: 1.1rem; }
.cta-band__meta { font-size: .95rem; }
.cta-band__meta a { color: var(--color-neutral-light); text-decoration: underline; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === 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);
  border: 1px solid var(--color-border);
  background: #fff;
  display: flex; flex-direction: column;
  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--highlight { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .3rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.15rem; color: var(--color-primary); margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1; margin-bottom: 1rem; }
.pricing-card__lede { color: var(--color-muted); font-size: .98rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .55rem; font-size: .98rem; align-items: flex-start; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease-hover);
}
.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; position: relative;
  padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-size: 1.25rem; color: var(--color-primary); transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  max-width: 640px; margin: 0 auto;
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--color-border); background: var(--color-bg);
  color: var(--color-text); transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.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, 0.15);
}
.form-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }

/* === Contact band === */
.contact-band {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.contact-band__text { padding: 2rem; }
.contact-band__meta { color: var(--color-muted); font-size: .95rem; }
.contact-band__image img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
@media (min-width: 768px) {
  .contact-band { grid-template-columns: 1.2fr 1fr; }
  .contact-band__text { padding: 3rem; }
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 3.5rem 1.25rem 1.5rem; margin-top: 0;
}
.site-footer__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; } }
.site-footer .logo--footer img { filter: brightness(0) invert(1); }
.site-footer .tagline { color: rgba(236, 254, 255, 0.75); margin-top: .75rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(236, 254, 255, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(236, 254, 255, 0.85); margin-bottom: 1rem; }
.legal-links { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 1rem; margin-top: 1rem !important; font-size: .9rem; }
.copyright {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(236, 254, 255, 0.15);
  color: rgba(236, 254, 255, 0.6); font-size: .9rem; 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);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
  max-width: 640px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(236,254,255,0.35); }
.cookie-banner__actions button[data-cookie-settings] { background: transparent; color: var(--color-secondary); border-color: transparent; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: .5rem;
  background: var(--color-primary); color: #fff; border: 0;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}

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