/* Landing Recicora: identidad de marca (verde profundo y blanco, Poppins y Pacifico autoalojadas).
   Sin JavaScript y sin recursos de terceros: carga rápida y CSP estricta. */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Pacifico'; font-weight: 400; font-display: swap; src: url(/fonts/pacifico-latin-400-normal.woff2) format('woff2'); }

:root {
  --bg: #f8f7f3;
  --alt: #eef3ec;
  --text: #13281d;
  --muted: #4f6155;
  --brand: #0f4d24;
  --brand-deep: #0c401e;
  --primary: #1b8f3a;
  --primary-dark: #157030;
  --leaf: #3dbe5a;
  --love: #e11d2e;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --script: 'Pacifico', 'Brush Script MT', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.sprite, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; justify-content: center; }
.script { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--primary); }

/* Botones */
.btn { display: inline-block; padding: .85em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .45em 1.1em; font-size: .9rem; }
.btn-light { background: #fff; color: var(--brand); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-primary { background: var(--primary); color: #fff; margin-top: .5rem; }
.btn-primary:hover { background: var(--primary-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }

/* Logo */
.logo { display: inline-flex; align-items: flex-start; text-decoration: none; color: #fff; line-height: 1; }
.logo-word { font-family: var(--script); font-size: 2rem; padding-top: .3em; }
.logo-heart { width: 2.7rem; height: 2.4rem; margin-left: -.5rem; color: var(--leaf); }
.logo-sm .logo-word { font-size: 1.5rem; }
.logo-sm .logo-heart { width: 2rem; height: 1.8rem; }

/* Encabezado */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 85% 0%, #17652f 0%, var(--brand) 50%, var(--brand-deep) 100%); border-radius: 0 0 48px 48px; }
.hero-wm, .band-wm { position: absolute; color: rgba(255, 255, 255, .06); pointer-events: none; }
.hero-wm { width: 720px; height: 648px; right: -180px; top: -60px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; position: relative; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a.btn-light { color: var(--brand); }
.hero-body { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 36px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 600; color: var(--leaf); margin-bottom: .8rem; }
.eyebrow-dark { color: var(--primary); }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 36em; }
.lead strong { color: #fff; }
.tagline { font-family: var(--script); font-size: 1.3rem; color: rgba(255, 255, 255, .9); margin: 0; }
.hero-phone { margin: 0; display: flex; justify-content: center; }
.hero-phone .phone { width: min(300px, 70vw); transform: rotate(3deg); }

/* Mockups */
.phone { width: 230px; border-radius: 34px; background: #0d1a12; padding: 9px; box-shadow: 0 30px 60px rgba(8, 30, 15, .28); overflow: hidden; flex-shrink: 0; }
.phone img { width: 100%; height: auto; border-radius: 26px; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone:nth-child(2) { margin-top: 48px; }
.laptop { background: #0d1a12; border-radius: 14px 14px 6px 6px; padding: 10px 10px 14px; box-shadow: 0 24px 50px rgba(8, 30, 15, .22); }
.laptop img { border-radius: 4px; width: 100%; aspect-ratio: 1100 / 500; object-fit: cover; object-position: top left; }

/* Secciones */
.section { padding: 88px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--alt); }
.section-green { background: radial-gradient(120% 140% at 15% 100%, #17652f 0%, var(--brand) 55%, var(--brand-deep) 100%); color: #fff; }
.section-green .script { color: var(--leaf); }
.band-wm { width: 620px; height: 558px; left: -160px; bottom: -180px; }
.band-light { padding: 0; margin-top: -44px; position: relative; z-index: 1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 14px 40px rgba(15, 77, 36, .1); }
.pillar p { color: var(--muted); margin: 0; }
.pillar-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e5f4e9; margin-bottom: 14px; }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; counter-reset: paso; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.steps li { counter-increment: paso; position: relative; padding-left: 64px; }
.steps li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.4rem 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .8rem; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.note { font-size: .88rem; color: var(--muted); margin-top: .8rem; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; position: relative; }
.trust article { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 22px; }
.trust p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .95rem; }

details { background: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(15, 77, 36, .06); }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: .8rem 0 0; }

.cta-final p { color: rgba(255, 255, 255, .85); }
.footer { background: var(--brand-deep); color: rgba(255, 255, 255, .8); padding: 28px 0; font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer a:not(.logo) { color: #fff; }

@media (max-width: 900px) {
  .hero-body, .split { grid-template-columns: 1fr; }
  .hero-body { padding-bottom: 80px; }
  .split-rev .phones { order: 2; }
  .steps, .trust { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .steps, .trust { grid-template-columns: 1fr; }
  .phone { width: 42vw; border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; }
  .phones { gap: 12px; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.hero-404 { padding: 80px 0 100px; }
