/* ===== Brand tokens — match src/social/brand.ts ===== */
:root {
  --navy: #1a2d52;
  --navy-dark: #0f1b36;
  --green: #7ab94a;
  --green-dark: #5e9436;
  --cream: #f0ead8;
  --cream-light: #f8f4e8;
  --white: #ffffff;
  --text: #2a3650;
  --text-muted: #6b7388;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;
  --border: rgba(26, 45, 82, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 27, 54, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 27, 54, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ===== Reset + base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.05rem;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green-dark); text-decoration: none; }
.nav-cta {
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--whatsapp-dark); text-decoration: none; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122, 185, 74, 0.18), transparent 60%),
    var(--cream-light);
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(122, 185, 74, 0.18);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--green-dark); }
.hero .lead { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn svg { width: 20px; height: 20px; }

/* ===== Sections ===== */
section { padding: 80px 0; }
section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* ===== Feature grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px;
  background: rgba(122, 185, 74, 0.15);
  color: var(--green-dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; }

section.alt .card { background: var(--cream-light); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.step { text-align: center; padding: 16px; counter-increment: step; }
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(26, 45, 82, 0.25);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); }

/* ===== Channels ===== */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.channel:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.channel .ch-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel.wa .ch-ico { background: var(--whatsapp); color: white; }
.channel.ig .ch-ico { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.channel svg { width: 28px; height: 28px; }
.channel strong { display: block; font-size: 1.05rem; color: var(--navy); }
.channel span { font-size: 0.92rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--green-dark);
  transition: transform 0.2s ease;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-muted); }

/* ===== Disclosure ===== */
.disclosure {
  background: var(--cream);
  border-left: 4px solid var(--green-dark);
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 32px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-grid a { color: rgba(255, 255, 255, 0.78); display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--green); text-decoration: none; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: rgba(255, 255, 255, 0.66); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Legal pages ===== */
.legal {
  padding: 64px 0 80px;
  background: var(--white);
}
.legal .container { max-width: 780px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h3 { font-size: 1.1rem; margin-top: 28px; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--green-dark); text-decoration: underline; }
.legal .address-img {
  margin: 12px 0 24px;
  max-width: 320px;
  user-select: none;
  pointer-events: none;
}
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 64px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
