:root {
  --ink: #1b261f;
  --ink-soft: #3a463e;
  --sage: #3f5c4a;
  --sage-deep: #2a3f33;
  --sage-mid: #5d7a68;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --sand: #e8dfd0;
  --terracotta: #c24d32;
  --terracotta-deep: #9a351f;
  --gold: #b08948;
  --whatsapp: #128c4b;
  --whatsapp-deep: #0d6e3a;
  --line: rgba(27, 38, 31, 0.12);
  --shadow: 0 18px 50px rgba(27, 38, 31, 0.12);
  --radius: 18px;
  --header-h: 76px;
  --max: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  padding-bottom: 88px;
}
img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--sage-deep);
  margin: 0 0 0.6em;
}
h1, h2, h3 { overflow-wrap: break-word; }
h1 { font-size: clamp(1.75rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.92rem; }
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.7rem;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font: 700 1rem var(--sans);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff !important; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-sage { background: var(--sage); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--sage-deep) !important;
  border: 1.5px solid var(--sage);
}
.btn-wa { background: var(--whatsapp); color: #fff !important; }
.btn-wa:hover { background: var(--whatsapp-deep); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.ribbon {
  background: var(--sage-deep);
  color: #f4efe6;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.45;
}
.ribbon a { color: #f0d9a8; text-decoration: underline; }

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sage-deep) !important;
  font-weight: 700;
  min-width: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: grid;
  place-items: center;
}
.brand-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-mid); font-weight: 700; margin-top: 3px; }
.nav-links { display: none; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a.active { color: var(--terracotta); }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: #efe6d6;
  border: 1.5px solid var(--sage);
  min-width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 5;
  border-radius: 12px;
  color: var(--sage-deep);
  font-size: 26px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 22, 0.18) 10%, rgba(20, 28, 22, 0.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 8px 88px 0;
  max-width: min(760px, 100%);
}
.hero .btn-outline {
  border-color: #fff;
  color: #fff !important;
}
.hero h1, .hero .kicker { color: #fff; }
.hero p { font-size: 1.18rem; color: #f3eee6; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

section { padding: 84px 0; }
.band-cream { background: var(--cream); }
.band-sage { background: var(--sage-deep); color: #f4efe6; }
.band-sage h2, .band-sage h3 { color: #fff; }
.band-sage .muted { color: #d7ddd8; }

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.caption {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.stat b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--terracotta); }
.stat span { font-size: 0.92rem; color: var(--ink-soft); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(27,38,31,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; }
.card p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.card .more { margin-top: auto; font-weight: 700; color: var(--terracotta); }

.quote {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 22px 24px;
  border-radius: 0 16px 16px 0;
}
.quote p { font-family: var(--serif); font-size: 1.12rem; font-style: italic; }
.quote cite { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.checklist li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 6px; }
label { display: block; font-size: 0.86rem; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
  font: 1rem var(--sans);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sage);
  border-color: var(--sage);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; }
.consent input { width: auto; margin-top: 4px; }
.error { color: #a1261d; font-size: 0.86rem; display: none; }
.form.invalid .error { display: block; }

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--terracotta);
  transform: translateY(-8px);
}
.price { font-family: var(--serif); font-size: 2rem; color: var(--sage-deep); }
.price small { font-size: 0.95rem; color: var(--ink-soft); }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

.page-hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #efe6d6 0%, var(--paper) 100%);
}
.page-hero p { max-width: 62ch; font-size: 1.12rem; }

.lesson {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
}
.num {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

footer.site {
  background: #172019;
  color: #d7ddd8;
  padding: 56px 0 28px;
  font-size: 0.95rem;
}
footer.site h4 { color: #fff; font-size: 1.05rem; }
footer.site a { color: #e8dfd0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 18px; font-size: 0.8rem; color: #aeb6b0; }

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(18,140,75,0.4);
}
.wa-fab:hover { color: #fff; background: var(--whatsapp-deep); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(23, 32, 25, 0.55);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 20px;
}
.modal.open { display: grid; }
.modal-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.disclaimer {
  background: #efe6d6;
  border: 1px solid #d9cbb3;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.byline {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1.4em;
}
.breadcrumb {
  font-size: 0.86rem;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--sage); }
.article-wrap { max-width: 760px; }
.article-wrap h2 { margin-top: 1.4em; }
.sources {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 32px;
}
.sources h2 { font-size: 1.15rem; }
.sources ul { margin: 0; padding-left: 1.15em; }
.sources li { margin-bottom: 8px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.4em; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 52px;
}
.steps > li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--sage-deep) !important;
  font-weight: 700;
}
.related a span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; margin-top: 4px; }
.nap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
@media (max-width: 980px) {
  .related { grid-template-columns: 1fr; }
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--cream); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }

.split-photo { height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius); }

@media (min-width: 981px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4, .stat-row, .foot-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
    z-index: 30;
  }
  header.site.open .nav-links { display: flex; }
  .price-card.featured { transform: none; }
  .row-2 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { min-height: 86vh; }
  .hero-copy { padding-bottom: 110px; }
  .hero-actions .btn { width: 100%; }
  .ribbon { font-size: 0.72rem; padding: 8px 12px; }
  .sticky-cta .btn { display: none; }
  .nav-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .brand { padding-right: 52px; }
}
