:root {
  --green: #43a047;
  --green-dark: #2e7d32;
  --green-light: #66bb6a;
  --green-soft: #e8f5e9;
  --bg: #f6f8f6;
  --card: #ffffff;
  --text: #1f2a24;
  --muted: #5b6b62;
  --border: #e3e9e4;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(31, 42, 36, 0.08);
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.brand .logo-img { width: 34px; height: 34px; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green-dark); text-decoration: none; }
.nav .btn { color: #fff; }

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 15px; transition: transform .06s ease, background .15s ease;
}
.btn:hover { background: var(--green-dark); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--green-dark); border: 1px solid var(--border); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 400px at 70% -10%, rgba(102,187,106,.35), transparent),
              linear-gradient(160deg, var(--green-dark), var(--green));
  color: #fff; padding: 72px 0 84px;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.hero p.lead { font-size: 18px; opacity: .95; margin: 0 0 26px; max-width: 540px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--green-dark); }
.hero .btn:hover { background: #f0f0f0; }
.badges { display: flex; gap: 26px; margin-top: 30px; }
.badge b { display: block; font-size: 22px; font-weight: 800; }
.badge span { font-size: 13px; opacity: .9; }

/* captura del héroe (ya viene con marco de celular) */
.hero-shot {
  display: block; margin: 0 auto; height: 520px; width: auto; max-width: 100%;
  filter: drop-shadow(0 26px 55px rgba(0,0,0,.4));
}

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero .cta, .badges { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-shot { display: none; }
}

/* galería de capturas */
.shots { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.shots img {
  height: 500px; width: auto; max-width: 100%;
  filter: drop-shadow(0 16px 34px rgba(31,42,36,.18));
}
@media (max-width: 640px) { .shots img { height: auto; width: 78%; } }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 560px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--green-soft); }
.cta-strip .container { text-align: center; }
.cta-strip h2 { font-size: 26px; margin: 0 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #10241a; color: #cfe3d6; padding: 48px 0 28px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer a { color: #cfe3d6; display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); margin: 0; }
.socials a:hover { background: var(--green); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #9fb4a6; }
.disclaimer { font-size: 12.5px; color: #8aa093; margin-top: 8px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: 32px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 30px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: #33403a; }
.legal ul { padding-left: 20px; }
.legal .note {
  background: var(--green-soft); border-left: 4px solid var(--green);
  padding: 14px 18px; border-radius: 8px; margin: 22px 0; font-size: 15px;
}
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-weight: 600; }
