:root {
  --color-primary: #0D9488;
  --color-secondary: #2DD4BF;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2px 20px rgba(19,78,74,0.06);
  --shadow-lift: 0 20px 60px -20px rgba(19,78,74,0.25);
  --radius: 16px;
}

/* === Base === */
* { 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;
}
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 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.band-tinted { background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: #4b6b68; font-size: 1.05rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240,253,250,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(19,78,74,0.08);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(240,253,250,0.95); box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-soft); border-bottom: 1px solid rgba(19,78,74,0.08); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem 0; position: relative; }
.primary-nav a:hover { text-decoration: none; color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { color: #fff !important; background: var(--color-primary); padding: .5rem 1rem !important; border-radius: 999px; text-align: center; }
.nav-cta:hover { background: var(--color-neutral-dark); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: .25rem; position: static; padding: 0; background: transparent; box-shadow: none; border: none; }
  .primary-nav a { padding: .5rem .8rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn { display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -12px rgba(13,148,136,0.6); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(13,148,136,0.8); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(249,115,22,0.6); }
.btn-accent:hover { background: #ea6a12; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -20% 20% 40% 20%; background: radial-gradient(closest-side, rgba(45,212,191,0.35), transparent 70%); z-index: -1; }
.hero::after { content: ""; position: absolute; right: -10%; top: 20%; width: 40vw; height: 40vw; background: radial-gradient(closest-side, rgba(249,115,22,0.14), transparent 70%); z-index: -1; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 1.75rem; font-size: 1.15rem; color: #3a5b58; }
.hero-actions { margin: 0 0 3rem; }
.hero-figure { margin: 0 auto; max-width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Content sections === */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
.two-col figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.two-col figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Cards grid === */
.cards-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-2, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid rgba(19,78,74,0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(45,212,191,0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: #3a5b58; margin: 0; font-size: .98rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem 1.5rem; text-align: center; border-left: 3px solid var(--color-accent); background: var(--color-neutral-light); border-radius: 12px; }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: .9rem; color: #4b6b68; font-weight: 600; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin-inline: auto; }

/* === Contact form === */
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 500; font-size: .95rem; }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid rgba(19,78,74,0.2); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); outline: none; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: #3a5b58; flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === FAQ === */
.faq { border-bottom: 1px solid rgba(19,78,74,0.12); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { margin-top: .75rem; color: #3a5b58; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-secondary); text-decoration: none; }
.site-footer address { font-style: normal; margin-bottom: .5rem; }
.tagline { color: rgba(255,255,255,0.75); font-size: .95rem; margin-top: .5rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.legal-links a { display: inline; padding: 0; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255,255,255,0.6); 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: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4); max-width: 640px; }
@media (min-width: 768px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(240,253,250,0.3); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: .9rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner__actions button:hover { background: rgba(240,253,250,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a12; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(240,253,250,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; font: inherit; padding: .5rem 1rem; border-radius: 999px; border: none; background: var(--color-secondary); color: var(--color-neutral-dark); cursor: pointer; font-weight: 600; }

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