:root {
  --color-primary: #0D9488;
  --color-secondary: #2DD4BF;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0F2A28;
  --color-muted: #4B6B68;
  --color-border: rgba(19, 78, 74, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 50px -30px rgba(19, 78, 74, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-neutral-light); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* === Layout: sidebar + content === */
.layout { display: block; min-height: 100vh; }

.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar a { color: var(--color-neutral-light); }
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.sidebar-foot { margin-top: auto; font-size: .8rem; color: rgba(240,253,250,.7); }

.nav-toggle {
  align-self: flex-start;
  background: transparent;
  color: var(--color-neutral-light);
  border: 1px solid rgba(240,253,250,.4);
  padding: .5rem .9rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block;
  padding: .65rem .75rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
}
.primary-nav a:hover { background: rgba(240,253,250,.08); text-decoration: none; }
.primary-nav a[aria-current="page"] { background: var(--color-primary); color: #fff; }

.content { padding: 2rem 1.25rem 3rem; }
.page-header { min-height: 0; }

/* === Hero === */
.hero { padding: 1rem 0 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--color-primary); font-weight: 600; margin-bottom: .75rem; }
.hero h1 { max-width: 22ch; }
.hero .sub { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; }
.hero-cta { margin-top: 1.5rem; }
.hero-figure { margin: 2rem 0 0; }
.hero-figure img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

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

/* === Sections === */
.section { padding: 3rem 0; border-top: 1px solid var(--color-border); }
.section.narrow { max-width: 68ch; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head .sub { color: var(--color-muted); font-size: 1.05rem; max-width: 55ch; }

/* === Grids and cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-soft); }
.card h3 { margin-top: .5rem; }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.18);
  color: var(--color-primary);
}

/* === Testimonial === */
.testimonial-section { border-top: 1px solid var(--color-border); }
.testimonial { margin: 0 auto; max-width: 60ch; text-align: center; padding: 1rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: var(--color-neutral-dark); line-height: 1.4; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 3rem 0 0;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240,253,250,.9); max-width: 55ch; margin-inline: auto; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .5rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .2rem; }

/* === Contact band === */
.contact-band p { max-width: 65ch; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: .95rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-neutral-dark); margin: 0 0 .25rem; }
.site-footer nav ul, .legal-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.legal-links { margin-top: 1rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: var(--color-neutral-dark); }
.copy { margin-top: 2rem; font-size: .85rem; color: var(--color-muted); }

/* === 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;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.45);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(240,253,250,.35);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #ea580c; }
.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: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }

/* === Responsive: sidebar layout at large screens === */
@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .logo img { height: 96px; }
  .content { padding: 3rem 3rem 4rem; max-width: 1080px; }
  .hero { padding-block: 2rem 3rem; }
  .hero-figure img { aspect-ratio: 16 / 8; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 4rem 2rem; }
}

@media (min-width: 1200px) {
  .layout { grid-template-columns: 280px 1fr; }
  .content { padding: 4rem 4rem 5rem; }
}
