:root {
  --cream: #f3fbf5;
  --cream-2: #e9f6ee;
  --mint: #20c77a;
  --mint-soft: #d8f7e8;
  --leaf: #0b6b4a;
  --forest: #064832;
  --ink: #18372c;
  --muted: #60766d;
  --line: rgba(11, 107, 74, .14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 72, 50, .16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* El fondo se resuelve solo con degradados: la captura que estaba
   aquí se transparentaba detrás del titular y se leía como texto fantasma. */
.site-shell {
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(32, 199, 122, .16), transparent 62%),
    radial-gradient(760px 520px at 6% 10%, rgba(11, 107, 74, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 46%, #f8fcf8 100%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 251, 245, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-inner,
.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--forest);
  letter-spacing: .02em;
  font-size: 1.06rem;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(6, 72, 50, .13);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 2;
  margin-left: auto;
}

.nav-cta {
  order: 3;
}

.nav-links a {
  color: var(--forest);
  font-weight: 800;
  padding: 10px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--mint-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--mint));
  box-shadow: 0 18px 34px rgba(11, 107, 74, .22);
}

.btn-secondary {
  color: var(--leaf);
  background: rgba(255, 255, 255, .78);
  border-color: var(--line);
}

.hero {
  display: grid;
  align-items: center;
  padding: 46px 0 64px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf);
  background: rgba(216, 247, 232, .92);
  border: 1px solid rgba(32,199,122,.18);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(32,199,122,.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--forest);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  max-width: 16ch;
  font-weight: 900;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.3vw, 1.16rem);
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-pill {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 800;
  padding: 10px 14px;
}

/* Las capturas ya traen su propio marco de teléfono: se muestran
   completas (height auto), sin recorte ni marco blanco encima. */
.phone-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding-bottom: 76px;
}

.phone-shot {
  width: min(46%, 236px);
  filter: drop-shadow(0 26px 46px rgba(6, 72, 50, .18));
}

.phone-shot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.phone-main {
  z-index: 3;
  transform: rotate(2.5deg) translateY(-22px);
}

.phone-side {
  z-index: 2;
  transform: rotate(-4deg);
}

.float-note {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 4;
  width: min(330px, 94%);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(6, 72, 50, .14);
  backdrop-filter: blur(6px);
  text-align: center;
}

.float-note strong {
  display: block;
  color: var(--forest);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.float-note span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

section {
  padding: 92px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  color: var(--leaf);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: .82rem;
}

h2 {
  color: var(--forest);
  font-size: clamp(1.95rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-head p,
.feature p,
.text-block p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 248px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 40px rgba(6, 72, 50, .08);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--mint-soft);
  color: var(--leaf);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

h3 {
  color: var(--forest);
  font-size: 1.3rem;
  line-height: 1.18;
  font-weight: 900;
  margin-bottom: 10px;
}

.showcase {
  background: linear-gradient(180deg, #f8fcf8, var(--cream-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 48px;
  align-items: center;
}

.video-frame {
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(11,107,74,.18), rgba(255,255,255,.78));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}

/* La proporción real del video es 1170x2532: con 9/16 y "cover"
   el póster y el video salían recortados arriba y abajo. */
.video-frame video {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  background: #0d2b20;
}

.text-block {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--forest);
  font-weight: 800;
  font-size: 1.05rem;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--leaf), var(--mint));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.42);
}

.screens {
  background: #fbfefb;
}

.screen-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  align-items: start;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screen-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(6, 72, 50, .09);
  overflow: hidden;
  scroll-snap-align: start;
}

/* Capturas completas: antes se cortaban por object-fit: cover. */
.screen-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-caption {
  padding: 14px 16px;
  color: var(--forest);
  font-weight: 900;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f7fcf9);
}

.cta {
  padding-top: 34px;
  padding-bottom: 104px;
}

/* Sin imagen de fondo: la captura se transparentaba y ensuciaba el banner. */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(720px 420px at 88% 12%, rgba(32,199,122,.34), transparent 66%),
    linear-gradient(135deg, #064832 0%, #0b6b4a 100%);
  color: var(--white);
  padding: clamp(34px, 6vw, 68px);
  box-shadow: var(--shadow);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.cta .section-kicker {
  color: #9df0c6;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--leaf);
  box-shadow: 0 18px 38px rgba(0,0,0,.16);
}

.footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer p {
  margin: 0;
  font-size: .96rem;
}

.footer-links {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--leaf);
  font-weight: 900;
  font-size: .96rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding-bottom: 8px;
    gap: 12px;
  }

  /* En vez de esconder el menú en móvil, pasa a una fila propia. */
  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 2px;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: .95rem;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-layout,
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .phone-stage {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .showcase-layout .text-block {
    order: -1;
    max-width: none;
  }

  .text-block {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: .95rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav .btn {
    min-height: 42px;
    padding-inline: 16px;
    font-size: .9rem;
  }

  /* En pantallas chicas los enlaces se acomodan en dos filas
     en vez de quedar cortados por el scroll horizontal. */
  .nav-links {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: flex-start;
    gap: 0 2px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: .86rem;
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 2.9rem);
  }

  section {
    padding: 64px 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    margin-top: 22px;
  }

  .phone-stage {
    gap: 10px;
    padding-bottom: 64px;
  }

  .phone-shot {
    width: min(47%, 190px);
  }

  .float-note {
    width: min(300px, 96%);
    padding: 14px 16px;
  }

  .video-frame {
    border-radius: 24px;
    padding: 8px;
    max-width: 320px;
  }

  .screen-grid {
    grid-auto-columns: 74vw;
  }

  .cta-band {
    border-radius: 26px;
  }

  .footer-inner {
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------
   Páginas internas (contacto, privacidad, términos)
   --------------------------------------------------------------- */

.page-hero {
  padding: 56px 0 44px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 20ch;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
}

.page-meta {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}

.page-body {
  padding: 0 0 92px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(6, 72, 50, .08);
  padding: clamp(24px, 4vw, 44px);
}

.page-body .card {
  max-width: 900px;
}

.prose {
  max-width: 74ch;
}

.prose h1,
.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  margin: 34px 0 12px;
}

.prose > h1:first-child,
.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.18rem;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--forest);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-top: 22px;
}

.lang-switch a {
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--leaf);
  font-size: .92rem;
}

.lang-switch a[aria-current="page"] {
  background: linear-gradient(135deg, var(--leaf), var(--mint));
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 900;
  color: var(--forest);
  font-size: .95rem;
}

.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fbfefb;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  width: 100%;
  resize: vertical;
}

.field textarea {
  min-height: 150px;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(32, 199, 122, .25);
  border-color: var(--mint);
}

.form-note {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(6, 72, 50, .07);
}

.contact-item .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  margin: 0;
  flex: 0 0 auto;
}

.contact-item .feature-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item strong {
  display: block;
  color: var(--forest);
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.contact-item span,
.contact-item a {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  font-size: .98rem;
}

.contact-item a {
  color: var(--leaf);
  font-weight: 900;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 40px 0 32px;
  }

  .page-body {
    padding-bottom: 64px;
  }
}

/* Pasos de eliminación de datos */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(6, 72, 50, .08);
  padding: clamp(24px, 3vw, 34px);
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--leaf), var(--mint));
  color: var(--white);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.step-card h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.step-tag {
  background: var(--mint-soft);
  color: var(--leaf);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.step-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.step-list {
  margin: 0 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.step-list li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.step-list strong {
  color: var(--forest);
}

.step-card a:not(.btn) {
  color: var(--leaf);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
