:root{
  --pink:#e91e63;
  --dark:#111827;
  --muted:#64748b;
  --bg:#f8fafc;
  --border:#e5e7eb;
  --r-sm:4px;
  --r-md:8px;
  --r-lg:12px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--dark);
  overflow-x:hidden;
}

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

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

.container{
  width:min(1180px,92%);
  margin:auto;
}

/* HEADER */

header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,231,235,.8);
}

.nav{
  height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:20px;
  font-weight:900;
}

.logo img{
  width:40px;
  height:40px;
  border-radius:var(--r-sm);
  object-fit:cover;
}

.menu{
  display:flex;
  gap:22px;
  align-items:center;
  font-weight:700;
  color:#475569;
}

.menu a.active,
.menu a:hover{
  color:var(--pink);
}

.menu-toggle{
  display:none;
  background:white;
  border:1px solid var(--border);
  width:42px;
  height:42px;
  border-radius:var(--r-sm);
  font-size:20px;
  color:#111827;
  cursor:pointer;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:var(--r-sm);
  padding:13px 20px;
  cursor:pointer;
  font-weight:800;
  transition:.2s ease;
}

.btn-primary{
  background:linear-gradient(135deg,#ff4d88,var(--pink));
  color:white;
  box-shadow:0 10px 25px rgba(233,30,99,.16);
}

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

.btn-outline{
  background:white;
  color:var(--dark);
  border:1px solid var(--border);
}

.btn-outline:hover{
  border-color:var(--pink);
  color:var(--pink);
}

.btn-whatsapp{
  background:#128c4a;
  color:white;
}

.btn-whatsapp:hover{
  background:#0f7a40;
}

/* PAGE HERO (páginas internas) */

.page-hero{
  padding:52px 0 10px;
  background:
    radial-gradient(circle at 85% 20%, rgba(233,30,99,.10), transparent 30%),
    linear-gradient(180deg,#fff 0%,#fff5fa 100%);
}

.page-hero .badge{
  margin-bottom:16px;
}

.page-hero h1{
  font-size:clamp(30px,4.2vw,46px);
  letter-spacing:-1px;
  margin-bottom:14px;
}

.page-hero p{
  color:var(--muted);
  line-height:1.7;
  font-size:17px;
  max-width:680px;
}

.breadcrumb{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
  margin-bottom:16px;
}

.breadcrumb a{
  color:var(--muted);
}

.breadcrumb a:hover{
  color:var(--pink);
}

/* HERO (home) */

.hero{
  position:relative;
  overflow:hidden;
  padding:42px 0 20px;
  background:
    radial-gradient(circle at 85% 20%, rgba(233,30,99,.10), transparent 30%),
    linear-gradient(180deg,#fff 0%,#fff5fa 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:#ffe4ef;
  color:var(--pink);
  border-radius:var(--r-sm);
  font-weight:800;
  margin-bottom:18px;
  font-size:14px;
}

.hero h1{
  font-size:clamp(38px,5vw,60px);
  line-height:1.05;
  letter-spacing:-2px;
  margin-bottom:18px;
}

.hero h1 span{
  color:var(--pink);
}

.hero p{
  color:var(--muted);
  line-height:1.7;
  font-size:18px;
  margin-bottom:24px;
  max-width:560px;
}

.store-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.store-btn{
  min-width:180px;
  border-radius:var(--r-sm);
  background:#111827;
  color:white;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 10px 25px rgba(15,23,42,.10);
}

.store-btn.disabled{
  background:white;
  color:#111827;
  border:1px solid var(--border);
}

.store-icon{
  font-size:26px;
}

.store-small{
  display:block;
  font-size:10px;
  opacity:.7;
  font-weight:700;
}

.store-title{
  display:block;
  font-size:15px;
  font-weight:900;
}

.checks{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:#475569;
  font-size:14px;
  font-weight:700;
}

.checks span{
  display:flex;
  align-items:center;
  gap:6px;
}

.checks span::before{
  content:"✓";
  color:var(--pink);
  font-weight:900;
}

/* PHONE */

.hero-visual{
  position:relative;
  min-height:520px;
  display:grid;
  place-items:center;
}

.phone-mockup{
  position:relative;
  z-index:2;
  width:min(320px,78vw);
  aspect-ratio:430 / 900;
  border-radius:var(--r-lg);
  padding:10px;
  background:linear-gradient(135deg,#222,#020617 45%,#444);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.08),
    0 25px 50px rgba(15,23,42,.20);
  transform:rotate(5deg);
}

.phone-mockup::before{
  content:"";
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:120px;
  height:28px;
  background:#020617;
  border-radius:var(--r-sm);
  z-index:3;
}

.phone-screen{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:var(--r-md);
}

/* SECTIONS */

section{
  padding:72px 0;
  scroll-margin-top:90px;
}

.section-title{
  text-align:center;
  margin-bottom:42px;
}

.section-title h2{
  font-size:clamp(30px,4vw,42px);
  margin-bottom:14px;
  letter-spacing:-1px;
}

.section-title p{
  color:var(--muted);
  max-width:720px;
  margin:auto;
  line-height:1.7;
  font-size:17px;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.features-grid.cols-2{
  grid-template-columns:repeat(2,1fr);
}

/* CARDS */

.card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:22px;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.feature-icon{
  width:52px;
  height:52px;
  border-radius:var(--r-sm);
  background:#fff0f6;
  color:var(--pink);
  display:grid;
  place-items:center;
  font-size:24px;
  margin-bottom:16px;
}

.card h3{
  margin-bottom:10px;
  font-size:20px;
}

.card p{
  color:var(--muted);
  line-height:1.6;
}

.card .tag-new{
  display:inline-block;
  background:var(--pink);
  color:white;
  font-size:11px;
  font-weight:800;
  padding:3px 8px;
  border-radius:var(--r-sm);
  margin-bottom:10px;
}

/* BUSINESS */

.business-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:40px;
  align-items:center;
}

/* TABLET */

.panel-preview{
  position:relative;
  border-radius:var(--r-md);
  background:linear-gradient(145deg,#1e293b,#0f172a);
  padding:12px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(15,23,42,.16);
}

.panel-preview img{
  width:100%;
  display:block;
  border-radius:var(--r-sm);
  object-fit:cover;
}

/* LIST */

.list{
  display:grid;
  gap:12px;
  margin-top:22px;
}

.list div{
  display:flex;
  gap:12px;
  align-items:center;
  font-weight:700;
  color:#334155;
}

.list div::before{
  content:"✓";
  width:22px;
  height:22px;
  border-radius:var(--r-sm);
  background:var(--pink);
  color:white;
  display:grid;
  place-items:center;
  font-size:12px;
  flex-shrink:0;
}

/* STATS */

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:28px;
}

.stat{
  background:white;
  border-radius:var(--r-sm);
  padding:22px;
  text-align:center;
  border:1px solid var(--border);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.stat strong{
  display:block;
  font-size:28px;
}

.stat span{
  color:var(--muted);
  font-weight:700;
}

/* REVIEWS */

.reviews{
  background:#fff5fa;
  overflow:hidden;
}

.reviews .container{
  overflow:visible;
}

.reviews-track{
  display:flex;
  gap:18px;
  width:max-content;
  animation:reviewsScroll 42s linear infinite;
  will-change:transform;
}

.reviews-track:hover{
  animation-play-state:paused;
}

.review{
  flex:0 0 310px;
  width:310px;
  background:white;
  border-radius:var(--r-sm);
  padding:22px;
  border:1px solid var(--border);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.stars{
  color:#f59e0b;
  margin-bottom:10px;
  font-weight:900;
}

.review p{
  color:#334155;
  line-height:1.6;
  margin-bottom:12px;
}

.review strong{
  color:var(--dark);
}

@keyframes reviewsScroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

/* CONTACT */

.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

/* PRIVACY & TERMS */

.privacy-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:30px;
  line-height:1.7;
  color:#334155;
}

.privacy-box h3{
  margin:22px 0 10px;
  color:var(--dark);
}

.privacy-box ul{
  padding-left:22px;
}

/* ROUTE STEPS (rutas de entrega) */

.route-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:6px;
}

.route-step{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:20px;
  position:relative;
}

.route-step .num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  background:var(--dark);
  color:white;
  font-weight:800;
  font-size:13px;
  border-radius:var(--r-sm);
  margin-bottom:12px;
}

.route-step h4{
  font-size:16px;
  margin-bottom:6px;
}

.route-step p{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* VARIANT TABLE (venta por variantes) */

.variant-table{
  width:100%;
  border-collapse:collapse;
  background:white;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  overflow:hidden;
}

.variant-table th,
.variant-table td{
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  font-size:14px;
}

.variant-table th{
  background:#f8fafc;
  color:#475569;
  font-weight:800;
  text-transform:none;
}

.variant-table tr:last-child td{
  border-bottom:none;
}

.variant-table td strong{
  color:var(--dark);
}

/* ROLES (multiempleados) */

.roles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:16px;
  margin-top:6px;
}

.role-card{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:20px;
}

.role-card h4{
  font-size:16px;
  margin-bottom:8px;
}

.role-card ul{
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

/* PAGE NAV CARDS (footer de sección: ir a otra página) */

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

.next-page-card{
  display:block;
  background:white;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:20px;
  transition:.2s ease;
}

.next-page-card:hover{
  border-color:var(--pink);
}

.next-page-card span{
  color:var(--pink);
  font-weight:800;
  font-size:13px;
}

.next-page-card h4{
  margin-top:6px;
  font-size:17px;
}

/* FOOTER */

footer{
  background:#111827;
  color:white;
  padding:38px 0;
  text-align:center;
}

footer p{
  opacity:.9;
  margin:4px 0;
}

.footer-social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin:22px 0 14px;
  flex-wrap:wrap;
}

.footer-social a{
  width:42px;
  height:42px;
  border-radius:var(--r-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-size:20px;
  transition:.2s ease;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
}

.footer-social a:hover{
  transform:translateY(-3px);
  background:var(--pink);
}

.footer-social .whatsapp:hover{
  background:#25D366;
}

.footer-social .instagram:hover{
  background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.footer-social .youtube:hover{
  background:#ff0000;
}

.footer-social .tiktok:hover{
  background:#000;
  border-color:rgba(255,255,255,.25);
}

.footer-social .facebook:hover{
  background:#1877f2;
}

.footer-note{
  color:rgba(255,255,255,.65);
  font-size:13px;
  margin-top:10px;
}

footer .footer-links{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-top:14px;
  flex-wrap:wrap;
}

footer .footer-links a{
  color:rgba(255,255,255,.65);
  font-size:13px;
  font-weight:600;
  text-decoration:underline;
  transition:.2s;
}

footer .footer-links a:hover{
  color:white;
}

/* WHATSAPP FLOAT */

.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:56px;
  height:56px;
  border-radius:var(--r-md);
  background:#128c4a;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  z-index:100;
  box-shadow:0 14px 30px rgba(18,140,74,.28);
}

/* RESPONSIVE */

@media (max-width:920px){

  .menu{
    position:absolute;
    top:68px;
    left:0;
    width:100%;
    background:white;
    border:1px solid var(--border);
    border-radius:0 0 var(--r-sm) var(--r-sm);
    flex-direction:column;
    align-items:flex-start;
    padding:18px;
    gap:16px;
    display:none;
    box-shadow:0 12px 30px rgba(15,23,42,.08);
  }

  .menu.active{
    display:flex;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .header-download{
    display:none;
  }

  .hero-grid,
  .business-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .features-grid,
  .features-grid.cols-2,
  .route-steps,
  .roles-grid,
  .next-pages{
    grid-template-columns:repeat(2,1fr);
  }

}

@media (max-width:620px){

  .features-grid,
  .features-grid.cols-2,
  .route-steps,
  .roles-grid,
  .next-pages{
    grid-template-columns:1fr;
  }

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

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

  .hero h1{
    font-size:40px;
  }

  .phone-mockup{
    width:min(250px,72vw);
  }

  .variant-table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }

}
