:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --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(22,78,99,0.35);
}

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

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.text-center { text-align: center; }
.section { padding-block: 4rem; }
.section--tint { background: var(--color-neutral-light); }
.section__head { margin-bottom: 2.5rem; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: rgba(22,78,99,0.78); max-width: 56ch; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
  .container { padding-inline: 2rem; }
}

/* === 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, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px -8px rgba(22,78,99,0.15);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }
.site-nav { display: none; flex-direction: column; gap: .75rem; }
.site-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.25rem; border-bottom: 1px solid rgba(22,78,99,0.08); box-shadow: var(--shadow-md); }
.site-nav a {
  font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark);
  position: relative; padding: .35rem 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.btn::after { display: none; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  line-height: 1;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -10px rgba(8,145,178,0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(8,145,178,0.6); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(249,115,22,0.55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(249,115,22,0.65); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(22,78,99,0.2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero card === */
.hero { position: relative; padding-block: 3rem; overflow: hidden; }
.hero-card__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(249,115,22,0.10), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(34,211,238,0.18), transparent 70%),
    var(--color-neutral-light);
  z-index: -1;
}
.hero-card__card {
  max-width: 900px; margin-inline: auto;
  background: #ffffff; border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(22,78,99,0.06);
}
.hero-card__card h1 { margin-bottom: 1.25rem; }
.hero-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; margin-bottom: 2rem; }
.hero-card__img { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

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

.card {
  background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius-md);
  border: 1px solid rgba(22,78,99,0.08);
  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: 48px; height: 48px; 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;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2rem 1.5rem;
  background: #fff; border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; line-height: 1.7; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 100% at 100% 0%, rgba(249,115,22,0.25), transparent 60%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 60ch; margin-inline: auto; opacity: .92; }
.cta-band .btn { margin-top: 1rem; }

/* === FAQ === */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border-radius: var(--radius-sm);
  border: 1px solid rgba(22,78,99,0.1);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(8,145,178,0.35); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; cursor: pointer;
  list-style: none; padding-right: 2rem; position: relative;
  color: var(--color-neutral-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--color-primary); font-size: 1.5rem; font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: rgba(22,78,99,0.85); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; color: inherit;
  padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(22,78,99,0.15); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(8,145,178,0.15);
}
.form-row textarea { resize: vertical; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: rgba(22,78,99,0.85); line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-form .btn { align-self: flex-start; margin-top: .5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236,254,255,0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(236,254,255,0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .tagline { color: rgba(236,254,255,0.7); margin-top: .75rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.legal-links { display: flex; flex-direction: column; margin-top: 1rem; }
.legal-links a { font-size: .85rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer__base { border-top: 1px solid rgba(236,254,255,0.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(236,254,255,0.6); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.35);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(236,254,255,0.15); }
.cookie-banner__prefs label { display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; flex-basis: 100%; }

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