/* ===== Paleta de Geros ===== */
:root {
  --azul: #0B2A6B;
  --azul-oscuro: #071d4b;
  --turquesa: #10C5BE;
  --coral: #FF5566;
  --violeta: #6B5BDB;
  --texto: #1B2540;
  --texto-suave: #5A6580;
  --fondo: #FFFFFF;
  --fondo-alt: #F4F7FB;
  --borde: #E3E8F0;
  --radio: 16px;
  --sombra: 0 10px 30px rgba(11, 42, 107, .08);
  --sombra-hover: 0 16px 36px rgba(11, 42, 107, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--azul);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-primary { background: var(--azul); color: #fff; box-shadow: 0 8px 20px rgba(11, 42, 107, .25); }
.btn-primary:hover { background: #0e3585; box-shadow: 0 12px 24px rgba(11, 42, 107, .3); }
.btn-ghost { background: #fff; color: var(--azul); border-color: var(--azul); }
.btn-ghost:hover { background: var(--fondo-alt); }
.btn-light { background: #fff; color: var(--azul); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand-logo { height: 44px; width: auto; }
.nav { display: flex; gap: 24px; font-weight: 500; font-size: .92rem; color: var(--texto-suave); }
.nav a { transition: color .15s ease; }
.nav a:hover { color: var(--azul); }
.mobile-menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--azul); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .96) 38%, rgba(255, 255, 255, .42) 64%, rgba(255, 255, 255, .08) 100%),
    #fff url('img/fondo.webp') no-repeat right center / cover;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-inner { padding-top: 76px; padding-bottom: 76px; }
.hero-text { max-width: 560px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--azul);
  background: rgba(16, 197, 190, .16);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1; color: var(--azul); font-weight: 700; letter-spacing: -.03em; }
.lead { margin-top: 22px; font-size: clamp(1.08rem, 2vw, 1.22rem); color: var(--texto); font-weight: 500; line-height: 1.55; }
.hero-text > p:not(.lead) { margin-top: 12px; color: var(--texto-suave); max-width: 520px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin-top: 24px; color: var(--texto-suave); font-size: .82rem; }
.hero-trust li::before { content: '✓'; color: var(--turquesa); font-weight: 700; margin-right: 6px; }

/* ===== Accesos principales ===== */
.access-section { padding: 28px 0 12px; background: #fff; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.access-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 28px; border-radius: var(--radio); border: 1px solid var(--borde); box-shadow: var(--sombra); }
.access-card-primary { background: linear-gradient(135deg, #eff8ff, #fff); border-color: rgba(11, 42, 107, .16); }
.access-card-secondary { background: linear-gradient(135deg, #f2fffd, #fff); border-color: rgba(16, 197, 190, .3); }
.access-card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--azul); color: #fff; font-size: 1.5rem; font-weight: 700; }
.access-card-secondary .access-card-icon { background: var(--turquesa); }
.access-kicker { color: var(--texto-suave); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 4px; }
.access-card h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.access-card > div:last-child > p:not(.access-kicker) { color: var(--texto-suave); font-size: .92rem; margin: 8px 0 18px; }
.access-card .btn { font-size: .9rem; padding: 11px 18px; }

/* ===== Secciones ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--fondo-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); color: var(--azul); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.section-head p { margin-top: 12px; color: var(--texto-suave); }
.trust-strip { padding: 48px 0 28px; }
.trust-strip .section-head { margin-bottom: 0; }
.benefit-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin-top: 24px; }
.benefit-pills li { padding: 8px 14px; border: 1px solid rgba(16, 197, 190, .35); border-radius: 999px; color: var(--azul); background: #f5fffe; font-size: .82rem; font-weight: 600; }

/* ===== Tarjetas ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  position: relative;
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 32px 26px; box-shadow: var(--sombra);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: rgba(16, 197, 190, .15); margin-bottom: 18px; }
.card-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; color: var(--azul); margin-bottom: 8px; }
.card p { color: var(--texto-suave); font-size: .95rem; }
.card-soon { border-style: dashed; border-color: var(--violeta); }
.card-soon .card-icon { background: rgba(107, 91, 219, .15); }
.badge { position: absolute; top: 16px; right: 16px; background: var(--violeta); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* ===== Pasos ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { text-align: center; padding: 0 12px; }
.step-num { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; font-weight: 700; font-size: 1.4rem; color: #fff; background: var(--turquesa); border-radius: 50%; box-shadow: 0 8px 18px rgba(16, 197, 190, .25); }
.steps h3 { color: var(--azul); font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--texto-suave); font-size: .95rem; }

/* ===== Capturas ===== */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.shot { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.shot img, .shot-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot-ph { display: grid; place-items: center; text-align: center; padding: 20px; color: var(--texto-suave); font-size: .9rem; background: linear-gradient(135deg, rgba(16, 197, 190, .12), rgba(107, 91, 219, .12)); }
.shot figcaption { padding: 14px 18px; font-weight: 600; color: var(--azul); font-size: .95rem; }

/* ===== Presentación visual del producto ===== */
.product-section { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.product-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 72px; margin-bottom: 88px; }
.product-feature:last-child { margin-bottom: 0; }
.product-feature-reverse { grid-template-columns: 1.15fr .85fr; }
.product-feature-reverse .product-copy { grid-column: 2; grid-row: 1; }
.product-feature-reverse .catalog-mockup { grid-column: 1; grid-row: 1; }
.product-copy h3 { color: var(--azul); font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.25; margin: 10px 0 14px; }
.product-copy > p { color: var(--texto-suave); max-width: 480px; }
.feature-label { display: inline-block; color: var(--azul); background: rgba(11, 42, 107, .09); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.feature-label-turquoise { color: #087d78; background: rgba(16, 197, 190, .15); }
.feature-list { list-style: none; margin-top: 22px; color: var(--texto-suave); font-size: .9rem; }
.feature-list li { margin-bottom: 8px; }
.feature-list li::before { content: '✓'; color: var(--turquesa); font-weight: 700; margin-right: 8px; }
.text-link { display: inline-block; margin-top: 22px; color: var(--azul); font-weight: 700; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .15s ease; }
.text-link:hover span { transform: translateX(4px); }
.dashboard-mockup, .catalog-mockup { min-height: 310px; border-radius: 18px; padding: 14px; background: linear-gradient(145deg, #0b2a6b, #123f96); box-shadow: 0 22px 46px rgba(11, 42, 107, .22); transform: rotate(1deg); }
.mockup-top { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: .7rem; padding: 4px 6px 12px; }
.mockup-top span { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.mockup-top span:nth-child(2) { background: #ffd166; }
.mockup-top span:nth-child(3) { background: var(--turquesa); }
.mockup-top b { margin-left: 10px; font-weight: 500; }
.mockup-body { display: grid; grid-template-columns: 48px 1fr; min-height: 245px; overflow: hidden; border-radius: 10px; background: #f8fbff; }
.mockup-sidebar { padding: 18px 13px; background: #edf3fb; }
.mockup-sidebar i { display: block; height: 9px; margin-bottom: 18px; border-radius: 4px; background: #c8d6e9; }
.mockup-sidebar i:first-child { background: var(--turquesa); }
.mockup-content { padding: 22px; }
.mockup-title { width: 42%; height: 13px; border-radius: 5px; background: var(--azul); opacity: .85; }
.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.mockup-stats i { height: 58px; border-radius: 8px; background: #e4edf8; border-top: 4px solid var(--turquesa); }
.mockup-stats i:nth-child(2) { border-top-color: var(--coral); }
.mockup-stats i:nth-child(3) { border-top-color: var(--violeta); }
.mockup-chart { display: flex; align-items: end; gap: 10px; height: 110px; margin-top: 20px; padding: 14px; border-radius: 8px; background: #eaf1fa; }
.mockup-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--turquesa), #8ce2dc); }
.mockup-chart span:nth-child(1) { height: 35%; }.mockup-chart span:nth-child(2) { height: 60%; }.mockup-chart span:nth-child(3) { height: 48%; }.mockup-chart span:nth-child(4) { height: 78%; }.mockup-chart span:nth-child(5) { height: 65%; }.mockup-chart span:nth-child(6) { height: 92%; }
.catalog-mockup { display: flex; align-items: center; justify-content: center; gap: 18px; background: linear-gradient(145deg, #10c5be, #087d78); transform: rotate(-1deg); }
.catalog-cover { width: 190px; min-height: 245px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 12px 24px rgba(5, 72, 71, .25); }
.catalog-logo { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; background: var(--azul); color: #fff; font-size: 1.6rem; font-weight: 700; }
.catalog-cover strong { color: var(--azul); font-size: 1.05rem; }.catalog-cover small { color: var(--texto-suave); margin-top: 4px; }
.catalog-products { display: grid; gap: 10px; }.catalog-products i { display: block; width: 96px; height: 68px; border-radius: 8px; background: linear-gradient(135deg, #fff, #dffaf7); box-shadow: 0 8px 16px rgba(5, 72, 71, .16); }

/* ===== Contacto rápido ===== */
.whatsapp-float { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); transition: transform .15s ease, box-shadow .15s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37, 211, 102, .42); }
.whatsapp-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Precios ===== */
.price-box { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--borde); border-radius: 24px; padding: 48px 32px; box-shadow: var(--sombra); }
.price-box p { margin: 14px 0 28px; color: var(--texto-suave); }

/* ===== FAQ ===== */
details { background: #fff; border: 1px solid var(--borde); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--azul); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; color: var(--turquesa); line-height: 1; }
details[open] summary::after { content: '–'; }
details p { padding: 0 22px 20px; color: var(--texto-suave); }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, var(--azul), #123a8f); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { color: #fff; }
.cta p { margin: 12px 0 28px; opacity: .88; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--borde); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 34px; width: auto; }
.footer p { color: var(--texto-suave); font-size: .85rem; }
.footer-contact { color: var(--azul); font-weight: 600; font-size: .85rem; }
.footer-contact:hover { text-decoration: underline; }

/* ===== Celular ===== */
@media (max-width: 820px) {
  .header-inner { gap: 12px; }
  .mobile-menu-toggle { display: block; order: 2; }
  .header .btn-sm { order: 3; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 14px 20px 20px; flex-direction: column; gap: 0; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--borde); box-shadow: 0 12px 20px rgba(11, 42, 107, .08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--borde); }
  .nav a:last-child { border-bottom: 0; }
  .header .btn-sm { padding: 9px 14px; font-size: .78rem; }
  .hero {
    min-height: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .9)),
      url('img/fondo.webp') center / cover;
  }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero-text { max-width: 620px; }
  .access-section { padding: 22px 0 4px; }
  .access-grid { grid-template-columns: 1fr; }
  .product-feature, .product-feature-reverse { grid-template-columns: 1fr; gap: 34px; margin-bottom: 64px; }
  .product-feature-reverse .product-copy, .product-feature-reverse .catalog-mockup { grid-column: auto; grid-row: auto; }
  .product-feature-reverse .product-copy { order: 2; }
  .product-feature-reverse .catalog-mockup { order: 1; }
  .dashboard-mockup, .catalog-mockup { min-height: 250px; }
  .mockup-body { min-height: 190px; }
  .mockup-chart { height: 80px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .section { padding: 64px 0; }
  .trust-strip { padding: 42px 0 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand-logo { height: 38px; }
  .header .btn-sm { max-width: 132px; text-align: center; line-height: 1.2; padding-left: 10px; padding-right: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-trust { display: block; }
  .hero-trust li { margin-bottom: 6px; }
  .access-card { padding: 22px 20px; grid-template-columns: 1fr; gap: 12px; }
  .benefit-pills { justify-content: flex-start; }
  .catalog-cover { width: 150px; min-height: 210px; }
  .catalog-products i { width: 72px; height: 54px; }
  .card, .price-box { padding: 26px 20px; }
  .price-box { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
