/* === Tokens === */
:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A34;
  --color-muted: #4A6C77;
  --color-border: rgba(22, 78, 99, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(22, 78, 99, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(22, 78, 99, 0.2);
  --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);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; 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.02em; line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--color-text); }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.center { text-align: center; }

/* === Accessibility helpers === */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-neutral-dark); color: #fff;
  padding: .75rem 1rem; z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 254, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(236, 254, 255, 0.92);
  box-shadow: 0 6px 20px -12px rgba(22, 78, 99, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease); }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff !important; padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.primary-nav.is-open {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
}
.primary-nav.is-open a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open a::after { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 20% auto 20%; height: 60%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(249, 115, 22, 0.14), transparent 70%),
              radial-gradient(80% 80% at 50% 50%, rgba(34, 211, 238, 0.22), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.hero-inner { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: .75rem; font-weight: 600; color: var(--color-primary);
  background: rgba(8, 145, 178, 0.08); padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 22ch; margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-neutral-dark) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--color-muted); max-width: 52ch; margin: 0 auto 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-image {
  margin-top: 1rem; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-compact { padding-block: 3rem 1rem; }

/* proof strip */
.proof-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border);
  color: var(--color-muted); font-size: .95rem;
}
.proof-strip strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.1rem; margin-right: .35rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(8, 145, 178, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(8, 145, 178, 0.6); color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249, 115, 22, 0.6); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.6); color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm); color: var(--color-neutral-dark); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

/* === Sections === */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); margin-top: .5rem; }
.section-title { text-align: center; margin-bottom: 2rem; }
.intro-section { padding-block: 3.5rem; }
.intro-section .lede { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.intro-section h2 { margin-bottom: 1rem; }
.intro-section p + p { margin-top: 1rem; }
.intro-section.split .split-grid { display: grid; gap: 2rem; align-items: center; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 800px) {
  .intro-section.split .split-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .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-hover), box-shadow .25s var(--ease-hover);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 44px; height: 44px; padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(34, 211, 238, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.step-num {
  display: inline-block; font-family: var(--font-heading); font-weight: 800;
  font-size: 1.5rem; color: var(--color-accent);
  margin-bottom: .75rem;
}

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(236, 254, 255, 0.6)); }
.quote-block {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md); position: relative; text-align: center;
}
.quote-mark { color: var(--color-accent); opacity: 0.6; margin-bottom: 1rem; }
.quote-block p { font-size: 1.15rem; line-height: 1.7; color: var(--color-text); font-style: italic; }
.quote-block cite { display: block; margin-top: 1.25rem; color: var(--color-muted); font-style: normal; font-size: .9rem; font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  margin-inline: 1.25rem; padding-block: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; max-width: 56ch; margin-inline: auto; }
@media (min-width: 900px) { .cta-band { margin-inline: 2rem; } }

/* === Contact === */
.contact-band { background: rgba(236, 254, 255, 0.5); }
.contact-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: .5rem; color: var(--color-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card address, .contact-card p { font-style: normal; color: var(--color-text); }

/* === Form === */
.form-section { background: linear-gradient(180deg, rgba(236, 254, 255, 0.4), transparent); }
.contact-form {
  display: grid; gap: 1.1rem;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-md); margin-top: 1.5rem;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select: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: .6rem; align-items: flex-start; flex-wrap: wrap;
  font-size: .875rem; color: var(--color-muted);
}
.form-consent input { margin-top: .2rem; accent-color: var(--color-primary); }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === FAQ === */
.faq-section { padding-block: 3.5rem; }
.faq-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-list details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: var(--shadow-md); }
.faq-list summary {
  font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark);
  cursor: pointer; list-style: none; padding-right: 2rem; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(236, 254, 255, 0.85);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(236, 254, 255, 0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid .logo img { height: 64px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: .75rem; color: rgba(236, 254, 255, 0.7); font-size: .95rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: .92rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 255, 0.15) !important; }
.footer-bottom { border-top: 1px solid rgba(236, 254, 255, 0.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(236, 254, 255, 0.6); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }

/* === 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;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--color-neutral-light); font-size: .9rem; margin-bottom: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 255, 0.2); display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }
@media (min-width: 640px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.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; }
}
