:root {
  --ink: #17231f;
  --muted: #5f6f68;
  --paper: #f7f8f3;
  --white: #ffffff;
  --brand: #176b52;
  --brand-dark: #0c4937;
  --mint: #dceee5;
  --lime: #d7ef8d;
  --line: #dce3dd;
  --shadow: 0 20px 60px rgba(23, 54, 43, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .7rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { top: 1rem; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 243, .92);
  border-bottom: 1px solid rgba(220, 227, 221, .8);
  backdrop-filter: blur(14px);
}

.nav { min-height: 72px; display: flex; align-items: center; gap: 1.4rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand);
  color: var(--white);
  box-shadow: inset 0 -5px 12px rgba(0, 0, 0, .12);
}

.brand-mark svg { width: 21px; height: 21px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--brand-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(23, 107, 82, .2);
}

.button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; border-color: var(--line); color: var(--ink) !important; box-shadow: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0 5rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(215, 239, 141, .65), transparent 24rem),
    radial-gradient(circle at 5% 70%, rgba(220, 238, 229, .9), transparent 27rem);
}

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.eyebrow { margin: 0 0 1rem; color: var(--brand); font-size: .8rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.65rem, 7vw, 5.7rem); }
.hero-copy { max-width: 650px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .88rem; }

.schedule-card {
  position: relative;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.schedule-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.schedule-top strong { font-size: 1.05rem; }
.live-pill { padding: .3rem .6rem; border-radius: 999px; background: var(--mint); color: var(--brand-dark); font-size: .75rem; font-weight: 750; }
.appointment { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; padding: .9rem; margin-top: .65rem; border-radius: 16px; background: var(--paper); }
.appointment time { color: var(--brand); font-weight: 850; }
.appointment span { color: var(--muted); font-size: .86rem; }
.appointment strong, .appointment span { display: block; }
.whatsapp-note { margin: 1rem -.2rem -.2rem 1.8rem; padding: 1rem; border-radius: 18px 18px 4px 18px; background: var(--brand-dark); color: white; font-size: .9rem; box-shadow: var(--shadow); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.alt { background: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 2.3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 240px; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-card .number { color: var(--brand); font-size: .8rem; font-weight: 850; letter-spacing: .08em; }
.feature-card h3 { margin: 2.6rem 0 .6rem; font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 4.2rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; color: var(--brand); font-size: 2.2rem; font-weight: 850; }
.step h3 { margin: 0 0 .5rem; }
.step p { color: var(--muted); }

.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; padding: clamp(2rem, 5vw, 4rem); border-radius: 30px; background: var(--brand-dark); color: var(--white); }
.trust h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
.trust p { color: #cfe3db; }
.trust-list { display: grid; gap: .8rem; }
.trust-item { padding: 1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); }

.legal-hero { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line); background: var(--white); }
.legal-hero h1 { max-width: 880px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.legal-hero p { max-width: 760px; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 3.5rem; align-items: start; padding: 3.5rem 0 6rem; }
.toc { position: sticky; top: 100px; display: grid; gap: .55rem; }
.toc strong { margin-bottom: .35rem; }
.toc a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.legal-copy h2 { margin: 2.8rem 0 .8rem; font-size: 1.55rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin-top: 1.6rem; font-size: 1.08rem; }
.legal-copy p, .legal-copy li { color: #44534d; }
.legal-copy li + li { margin-top: .45rem; }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--mint); }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th, .data-table td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--brand-dark); }

.cta { text-align: center; }
.cta h2 { margin: 0 auto 1rem; max-width: 760px; font-size: clamp(2rem, 5vw, 3.7rem); }
.cta p { color: var(--muted); }

.join-section { background: var(--mint); }
.join-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.join-copy { position: sticky; top: 110px; }
.join-copy h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
.join-copy > p { color: var(--muted); }
.join-benefits { padding: 0; margin: 2rem 0; list-style: none; }
.join-benefits li { position: relative; margin: .7rem 0; padding-left: 1.7rem; }
.join-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.join-form { padding: clamp(1.3rem, 4vw, 2.2rem); border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.join-form label:not(.consent):not(.honeypot) { display: grid; gap: .4rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 720; }
.join-form input, .join-form textarea { width: 100%; border: 1px solid #cbd6cf; border-radius: 12px; padding: .8rem .9rem; background: #fbfcfa; color: var(--ink); font: inherit; outline: none; }
.join-form input:focus, .join-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,107,82,.12); }
.join-form textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .86rem; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--brand); }
.consent a { color: var(--brand-dark); font-weight: 700; }
.submit-button { width: 100%; margin-top: 1.2rem; border: 0; cursor: pointer; }
.submit-button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 1.5rem; margin: .8rem 0 0; font-size: .9rem; font-weight: 650; }
.form-status.success { color: var(--brand-dark); }
.form-status.error { color: #a32323; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: flex; align-items: center; gap: 1.2rem; }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.copyright { color: var(--muted); font-size: .85rem; }

@media (max-width: 800px) {
  .nav-links a:not(.button) { display: none; }
  .hero-grid, .trust, .legal-layout, .join-layout { grid-template-columns: 1fr; }
  .schedule-card { max-width: 520px; transform: none; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 1.5rem; }
  .toc { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
  .join-copy { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
