:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --radius: 10px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }

/* === Header === */
.site-header {
  border-bottom: 1px solid rgba(19, 78, 74, 0.08);
  background: var(--color-neutral-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(19, 78, 74, 0.2);
  border-radius: 8px;
  padding: .4rem .5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding: .5rem 0 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  text-decoration: none;
  color: var(--color-neutral-dark);
  padding: .6rem .25rem;
  border-bottom: 1px solid rgba(19, 78, 74, 0.06);
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
@media (min-width: 820px) {
  .header-inner { padding-block: 1.1rem; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
  .primary-nav a { border: 0; padding: .25rem 0; }
  .primary-nav a:hover { color: var(--color-primary); }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #ffffff; }
.btn-accent { background: var(--color-accent); color: #ffffff; }
.btn-accent:hover { background: #ea6a10; color: #ffffff; }

/* === Hero (stacked) === */
.hero {
  padding-block: 3rem 2.5rem;
  background: var(--color-neutral-light);
}
.hero .container.narrow, .hero .container { text-align: left; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.hero h1 { max-width: 22ch; }
.hero-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(19, 78, 74, .4);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
  max-width: 55ch;
  margin-bottom: 1.5rem;
}
.hero-cta { margin: 0; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 4rem; }
  .hero-figure { margin: 2.5rem 0; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-header { margin-bottom: 2rem; max-width: 640px; }
.section-intro .lede,
.section-header .lede,
.section-form .lede { color: var(--color-primary); font-weight: 500; font-size: 1.1rem; }
.section-intro p { font-size: 1.05rem; }
@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grids & 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: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid rgba(19, 78, 74, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(19, 78, 74, .35);
  border-color: rgba(13, 148, 136, 0.35);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; font-size: .98rem; }

/* === Quote === */
.section-quote { background: var(--color-neutral-light); }
.quote {
  margin: 0;
  text-align: center;
  border-left: 4px solid var(--color-accent);
  padding: 1rem 0 1rem 1.5rem;
  text-align: left;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1rem;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #ffffff;
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2 { color: #ffffff; margin-bottom: .75rem; }
.cta-band p { color: rgba(240, 253, 250, 0.92); max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band p:last-child { margin-bottom: 0; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid rgba(19, 78, 74, 0.12);
  padding: 1.15rem 0;
}
.faq details:first-child { border-top: 1px solid rgba(19, 78, 74, 0.12); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 400;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .8rem; margin-bottom: 0; color: rgba(19, 78, 74, .85); }

/* === Contact-band section (about page) === */
.section-contact-band {
  background: var(--color-neutral-light);
}

/* === Form === */
.section-form { background: var(--color-neutral-light); }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(19, 78, 74, 0.22);
  border-radius: 8px;
  font: inherit;
  color: var(--color-neutral-dark);
  background: #ffffff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(19, 78, 74, .85);
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.88);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}
.footer-logo img { height: 60px; }
.footer-tagline { font-family: var(--font-heading); font-size: 1.05rem; color: rgba(240, 253, 250, 0.9); margin-top: .75rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-list a { color: rgba(240, 253, 250, 0.85); text-decoration: none; }
.footer-list a:hover { color: #ffffff; text-decoration: underline; }
.footer-address { font-style: normal; margin-bottom: 1rem; color: rgba(240, 253, 250, 0.85); }
.footer-address a { color: rgba(240, 253, 250, 0.85); text-decoration: none; }
.footer-address a:hover { color: #ffffff; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 253, 250, 0.15); display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(240, 253, 250, 0.12); }
.footer-copy p { margin: 0; font-size: .85rem; color: rgba(240, 253, 250, 0.7); }

/* === 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: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .5);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  border: 1px solid rgba(240, 253, 250, 0.35);
  background: transparent;
  color: var(--color-neutral-light);
  padding: .55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .88rem;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}
.cookie-banner button:hover { background: rgba(240, 253, 250, 0.1); }
.cookie-banner button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button {
  margin-top: .5rem;
  justify-self: start;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* === Utilities === */
[hidden] { display: none !important; }
