/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #2DD4BF;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-white: #ffffff;
  --color-border: rgba(19, 78, 74, 0.12);
  --color-muted: #4b6461;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(19, 78, 74, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(19, 78, 74, 0.25);
  --max-w: 1160px;
}

/* === 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: var(--color-white);
  line-height: 1.6;
  -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); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .8rem; letter-spacing: -0.01em; }
h1 { font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* === Header (glass nav) === */
.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 transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 30px -20px rgba(19, 78, 74, 0.2);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 1px solid var(--color-border);
  background: transparent; border-radius: 10px;
}
.nav-toggle__bar { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .8rem; color: var(--color-neutral-dark); font-weight: 500;
  border-radius: 10px; position: relative;
}
.primary-nav a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .4rem; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: var(--color-white); padding: .55rem 1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

.primary-nav.is-open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-white); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-white); box-shadow: 0 8px 24px -8px rgba(13, 148, 136, .5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(13, 148, 136, .6); color: var(--color-white); }
.btn--accent {
  background: var(--color-accent); color: var(--color-white); box-shadow: 0 8px 24px -10px rgba(249, 115, 22, .55);
}
.btn--accent:hover { transform: translateY(-2px); color: var(--color-white); }
.btn--ghost {
  background: transparent; border-color: var(--color-border); color: var(--color-neutral-dark);
}
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (centered) === */
.hero { position: relative; padding: 3.5rem 0 2rem; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% 20% auto 20%; height: 400px; z-index: 0;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.35), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 1rem; padding: .35rem .8rem;
  background: rgba(13, 148, 136, .1); color: var(--color-primary);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 1.75rem; font-size: 1.125rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image {
  margin: 2rem auto 0; max-width: 960px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--color-neutral-light);
}
.hero__image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === Sections === */
.section { padding: 3.5rem 0; }
.section__head { text-align: center; margin-bottom: 2.5rem; max-width: 720px; margin-inline: auto; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.card {
  display: block; background: var(--color-white); padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  color: inherit; text-decoration: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link:hover { color: inherit; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(13,148,136,.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Prose === */
.prose-section { padding: 2.5rem 0; }
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1rem; }
.prose p { font-size: 1.08rem; color: var(--color-neutral-dark); }

/* === Testimonial === */
.testimonial-section { padding: 3rem 0; }
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg); background: var(--color-neutral-light);
  border: 1px solid var(--color-border); position: relative;
}
.testimonial p { font-size: 1.2rem; line-height: 1.6; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-size: .95rem; font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { padding: 3rem 0; }
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light); padding: 2.5rem 1.75rem; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
  box-shadow: var(--shadow-md);
}
.cta-band__inner h2, .cta-band__inner p { color: var(--color-neutral-light); }
.cta-band__inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.cta-band__inner p { margin: .5rem 0 0; opacity: .9; }

/* === Stats === */
.stats { background: var(--color-neutral-light); }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__number {
  font-family: var(--font-heading); font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: .5rem;
}
.stat p { color: var(--color-muted); margin: 0; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem;
  color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--color-primary); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-form-section { background: var(--color-neutral-light); }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-info h2 { font-size: 1.6rem; }
.contact-info address { font-style: normal; margin: 1rem 0; }
.hours { border-collapse: collapse; width: 100%; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }

.contact-form {
  background: var(--color-white); padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .7rem .9rem; border-radius: 10px;
  border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .18);
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 3rem 0 1.5rem; margin-top: 3rem;
}
.site-footer h3 { color: var(--color-neutral-light); font-size: 1.05rem; margin-bottom: .75rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer__tag { color: rgba(240, 253, 250, .75); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: rgba(240, 253, 250, .8); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer address { font-style: normal; color: rgba(240, 253, 250, .8); margin: 0 0 1rem; }
.footer__legal { margin-top: 1rem; }
.footer__copy { border-top: 1px solid rgba(240, 253, 250, .12); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; color: rgba(240, 253, 250, .65); }

/* === 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: 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(240, 253, 250, .9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }

/* === Reveal === */
.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; }
  * { animation: none !important; transition: none !important; }
}

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem 2.5rem; }
  .cta-band__inner .btn { flex-shrink: 0; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
  .hero { padding: 5rem 0 2rem; }
  .section { padding: 5rem 0; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: .25rem; }
  .primary-nav.is-open { position: static; background: transparent; padding: 0; border: 0; box-shadow: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero { padding: 6rem 0 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 4.5vw, 4rem); }
}
