:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(19, 78, 74, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(19, 78, 74, 0.18);
}

/* === Reset & base === */
*, *::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: 16px;
}
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 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout — sidebar shell === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo { display: inline-block; flex-shrink: 0; }
.logo img { height: 72px; width: auto; display: block; }
.sidebar-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-neutral-light);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}
.sidebar-nav a:hover { background: rgba(240, 253, 250, 0.08); text-decoration: none; }
.sidebar-nav a.is-active { color: var(--color-accent); }
.sidebar-nav.is-open { display: flex; }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(240, 253, 250, 0.25);
  color: var(--color-neutral-light);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
}
.sidebar-foot { display: none; font-size: 0.8rem; opacity: 0.7; margin: 0; }
.content { padding: 0; min-width: 0; }

/* === Hero === */
.hero {
  padding: 3rem 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 55ch;
  color: #4b6461;
  margin: 0 0 1.5rem;
}
.hero-image {
  margin: 2rem 0 0;
}
.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

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

/* === Sections === */
.section {
  padding: 3rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section.narrow { max-width: 720px; }
.section-head { margin-bottom: 2rem; text-align: left; }
.section-head p { color: #4b6461; max-width: 60ch; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(19, 78, 74, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card .icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: #37504d; }
a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
a.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* === Testimonial === */
.testimonial {
  text-align: center;
  max-width: 780px;
}
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-neutral-dark);
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 500;
}

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

/* === Article detail === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}
.article-head { margin-bottom: 1.5rem; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; margin-bottom: 1rem; }
.article-sub { font-size: 1.15rem; color: #4b6461; margin: 0; }
.article-hero { margin: 2rem 0; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.article p { font-size: 1.075rem; line-height: 1.75; margin-block: 1.25rem; }
.back-link-wrap { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(19, 78, 74, 0.1); }
.back-link { color: var(--color-primary); font-weight: 500; }

/* === FAQ === */
.faq details {
  border: 1px solid rgba(19, 78, 74, 0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-neutral-light);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.075rem;
  color: var(--color-neutral-dark);
}
.faq details[open] summary { margin-bottom: 0.75rem; }
.faq p { margin: 0; color: #37504d; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  color: var(--color-neutral-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(19, 78, 74, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-top: 1rem;
  font-weight: 400;
  flex-wrap: wrap;
}
.contact-form .form-consent input { margin-top: 0.25rem; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: 1.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.25rem; }
.footer-grid a { color: var(--color-neutral-light); }
.footer-grid a:hover { color: var(--color-accent); }
.footer-nav, .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-legal { margin-top: 1rem; }
.copyright {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  font-size: 0.85rem;
  opacity: 0.75;
  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;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 253, 250, 0.25);
  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__prefs {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  border-color: var(--color-neutral-light);
  font-weight: 600;
}

/* === Desktop layout === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .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.4fr; }
  .copyright { text-align: left; }
}

@media (min-width: 900px) {
  body.has-sidebar .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    align-items: stretch;
  }
  .sidebar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    gap: 2rem;
  }
  .sidebar .logo img { height: 64px; }
  .sidebar-nav {
    display: flex !important;
    width: 100%;
    gap: 0.25rem;
  }
  .nav-toggle { display: none; }
  .sidebar-foot { display: block; margin-top: auto; }
  .content { padding: 0; }
  .hero, .section, .article { padding-left: 2rem; padding-right: 2rem; }
  .hero { padding-top: 4rem; padding-bottom: 3rem; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .cta-band { padding: 4rem 2rem; }
}
