:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-white: #ffffff;
  --color-border: rgba(19, 78, 74, 0.12);
  --color-muted: rgba(19, 78, 74, 0.68);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(19, 78, 74, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(19, 78, 74, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -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); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1rem; }
ul { padding-inline-start: 1.2rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); font-weight: 600; margin: 0 0 .5rem; }
.lede { font-size: 1.0625rem; color: var(--color-muted); line-height: 1.7; }

/* === Header / nav (glass) === */
.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 var(--color-border);
  transition: background .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 4px 24px rgba(19, 78, 74, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .4rem .5rem; color: var(--color-neutral-dark); cursor: pointer;
}
.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 .9rem; border-radius: 8px;
  color: var(--color-neutral-dark); font-weight: 500; position: relative;
}
.primary-nav a::after {
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .35rem;
  height: 2px; background: var(--color-accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav.is-open { display: block; padding-bottom: 1rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { flex-direction: row; gap: .25rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === 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: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 10px 30px -12px rgba(13, 148, 136, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(13, 148, 136, 0.7); color: var(--color-white); }
.btn--accent { background: var(--color-accent); color: var(--color-white); box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { transform: translateY(-2px); color: var(--color-white); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(249, 115, 22, 0.10), transparent 60%),
    radial-gradient(50% 50% at 85% 80%, rgba(20, 184, 166, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #e0f7f3);
  overflow: hidden;
}
.hero-card__card {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.hero-card__card h1 { max-width: 24ch; margin-inline: auto; }
.hero-sub { font-size: 1.125rem; color: var(--color-muted); max-width: 52ch; margin: 1rem auto 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, #e6faf5, var(--color-neutral-light)); }
.section-head { max-width: 780px; margin: 0 auto 2.5rem; }
.section-head.center { text-align: center; }

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

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

.card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(19, 78, 74, 0.22); }
.card h3 { margin-top: 0; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Pull quote === */
.pull-quote {
  margin: 0;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.pull-quote p {
  font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5;
  color: var(--color-neutral-dark); margin-bottom: 1rem; font-weight: 500;
}
.pull-quote cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

@media (min-width: 768px) {
  .pull-quote { padding: 2.5rem 2.5rem; text-align: center; }
  .pull-quote p { font-size: 1.5rem; }
}

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 80% 20%, rgba(249, 115, 22, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(240, 253, 250, 0.85); max-width: 56ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); 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;
  font-size: 1.05rem; color: var(--color-neutral-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact grid === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 1rem; background: var(--color-white); padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: var(--color-neutral-light);
  color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { margin-top: .2rem; }

.contact-info h2 { margin-top: 0; }
.contact-info address { font-style: normal; line-height: 1.8; color: var(--color-muted); margin-bottom: 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { padding: .55rem .25rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours-table th { font-weight: 500; color: var(--color-neutral-dark); }
.hours-table td { color: var(--color-muted); text-align: right; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.82);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: .75rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: rgba(240, 253, 250, 0.82); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); opacity: .95; }
.tagline { color: rgba(240, 253, 250, 0.72); margin-top: .75rem; max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(240, 253, 250, 0.15); padding-top: 1rem; margin-top: 1rem !important; }
.copyright { border-top: 1px solid rgba(240, 253, 250, 0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(240, 253, 250, 0.6); }
.copyright p { margin: 0; }

/* === 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-md);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.4);
  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.55; color: rgba(240, 253, 250, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font: inherit; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(240, 253, 250, 0.25); background: transparent;
  color: var(--color-neutral-light); font-size: .85rem; font-weight: 500;
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(240, 253, 250, 0.1); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #ea580c; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 253, 250, 0.15); display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: .5rem;
  padding: .5rem 1rem; border-radius: 999px; border: none;
  background: var(--color-primary); color: var(--color-white); cursor: pointer; font: inherit; font-weight: 500;
}

/* === Scroll-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; }
  html { scroll-behavior: auto; }
}
