*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#f7f7f7;
  color:#111;
}

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

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

button{
  font-family:inherit;
}

/* NAVBAR */

.topbar{
  width:100%;
  height:86px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 7%;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
}

.brand img{
  width:160px;
}

.nav-menu{
  display:flex;
  gap:38px;
  align-items:center;
  font-weight:700;
}

.nav-menu a{
  position:relative;
}

.nav-menu a.active,
.nav-menu a:hover{
  color:#006847;
}

.nav-menu a.active::after{
  content:"";
  width:100%;
  height:3px;
  background:#006847;
  position:absolute;
  left:0;
  bottom:-10px;
}

.hello{
  color:#006847;
  font-weight:800;
}

.register-btn{
  background:#006847;
  color:white !important;
  padding:12px 22px;
  border-radius:30px;
}

.cart-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  background:#006847;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex-shrink:0;
}

.cart-icon svg{
  width:25px;
  height:25px;
  fill:white;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #c62828;
    color: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn{
  width:44px;
  height:44px;
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  background:none;
  border:0;
  cursor:pointer;
  flex-shrink:0;
}

.menu-btn span{
  width:28px;
  height:3px;
  background:#111;
  border-radius:5px;
  transition:.3s;
}

.menu-btn.active span:nth-child(1){
  transform:rotate(45deg) translate(6px,6px);
}

.menu-btn.active span:nth-child(2){
  opacity:0;
}

.menu-btn.active span:nth-child(3){
  transform:rotate(-45deg) translate(7px,-7px);
}

/* HERO */

.hero{
  min-height:560px;
  position:relative;
  background:
    url("../assets/img/hero-monterrey.png");
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  padding:70px 7%;
  color:white;
}

.Mex{
  color: #06734B;
}

.Way{
  color: #CD1225;
}

.hero-content{
  max-width:650px;
  position:relative;
  z-index:2;
}

.hero-script{
  font-size:35px;
  font-weight:900;
  font-style:italic;
  margin-bottom:10px;
}

.hero h1{
  font-size:100px;
  line-height:.9;
  color:white;
  text-transform:uppercase;
  letter-spacing:2px;
}

.hero h2{
  font-size:28px;
  max-width:520px;
  margin:25px 0;
}

.hero-features{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  margin-bottom:32px;
}

.hero-features span{
  background:rgba(255,255,255,.12);
  padding:12px 16px;
  border-radius:30px;
  backdrop-filter:blur(6px);
  margin: 10px;
}

.hero-btn{
  display:inline-block;
  background:#009246;
  color:white;
  padding:17px 36px;
  border-radius:40px;
  font-weight:900;
  text-transform:uppercase;
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}


/* SECTIONS */

.kits-section{
  padding:70px 7%;
  background:#fff;
}

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

.section-title p,
.eyebrow{
  color:#006847;
  font-weight:900;
  letter-spacing:2px;
}

.section-title h2{
  font-size:22px;
  margin-top:8px;
}

/* KITS */

.kits-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
}

.kit-card{
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 15px 35px rgba(0,0,0,.12);
  transition:.3s ease;
}

.kit-card:hover{
  transform:translateY(-8px);
}

.kit-img{
  height:210px;
  background:#eef8f2;
  overflow:hidden;
}

.kit-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.kit-body{
  padding:26px;
}

.kit-tag{
  display:inline-block;
  background:#f2f2f2;
  padding:7px 18px;
  border-radius:20px;
  font-weight:900;
  margin-bottom:12px;
}

.kit-card.green h3,
.kit-card.green .price{
  color:#006847;
}

.kit-card.red h3,
.kit-card.red .price{
  color:#ce1126;
}

.kit-card.black h3,
.kit-card.black .price{
  color:#111;
}

.kit-body h3{
  font-size:24px;
  margin-bottom:10px;
  text-transform:uppercase;
}

.kit-body p{
  line-height:1.5;
  margin-bottom:18px;
}

.kit-body ul{
  list-style:none;
  margin-bottom:22px;
}

.kit-body li{
  margin:10px 0;
  padding-left:28px;
  position:relative;
}

.kit-body li::before{
  content:"✓";
  width:18px;
  height:18px;
  background:#006847;
  color:white;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:12px;
  position:absolute;
  left:0;
  top:0;
}

.price{
  display:block;
  font-size:24px;
  margin-bottom:18px;
}

.kit-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.kit-actions form{
  width:100%;
}

.cart-btn,
.buy-now-btn{
  width:100%;
  border:0;
  padding:14px 10px;
  border-radius:10px;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
  transition:.25s;
}

.cart-btn{
  background:#006847;
  color:white;
}

.buy-now-btn{
  background:#ce1126;
  color:white;
}

.cart-btn:hover,
.buy-now-btn:hover{
  transform:translateY(-2px);
  opacity:.92;
}

/* BENEFITS */

.benefits{
  width:86%;
  margin:0 auto 50px;
  background:#fff;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.1);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
}

.benefits div{
  padding:28px;
  border-right:1px solid #ddd;
}

.benefits div:last-child{
  border-right:0;
}

.benefits span{
  font-size:35px;
}

.benefits h3{
  font-size:16px;
  margin:12px 0 8px;
}

.benefits p{
  font-size:14px;
  line-height:1.5;
}

/* WHATSAPP */

.whatsapp{
  text-align:center;
  padding:70px 7%;
  background:#006847;
  color:white;
}

.whatsapp h2{
  font-size:36px;
  margin-bottom:10px;
}

.whatsapp a{
  display:inline-block;
  margin-top:25px;
  background:white;
  color:#006847;
  padding:15px 30px;
  border-radius:30px;
  font-weight:900;
}

/* FOOTER */

.footer{
  background:#004b34;
  color:white;
  padding:45px 7%;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:35px;
}

.footer img{
  width:150px;
  margin-bottom:15px;
}

.footer a{
  display:block;
  margin:8px 0;
  opacity:.9;
}

/* AI */

.ai-float-btn{
  position:fixed;
  right:28px;
  bottom:28px;
  width:65px;
  height:65px;
  border-radius:50%;
  border:0;
  background:#009246;
  color:white;
  font-size:28px;
  cursor:pointer;
  z-index:1100;
  box-shadow:0 15px 35px rgba(0,0,0,.3);
}

.ai-panel{
  position:fixed;
  right:28px;
  bottom:105px;
  width:360px;
  height:470px;
  background:white;
  border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  z-index:1100;
  display:none;
  overflow:hidden;
}

.ai-panel.show{
  display:flex;
  flex-direction:column;
}

.ai-header{
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #eee;
}

.ai-header span{
  display:block;
  color:#006847;
  font-size:13px;
  margin-top:4px;
}

.ai-header button{
  background:none;
  border:0;
  font-size:28px;
  cursor:pointer;
}

.ai-messages{
  flex:1;
  padding:18px;
  overflow-y:auto;
}

.ai-message{
  padding:13px 15px;
  border-radius:15px;
  margin-bottom:12px;
  font-size:14px;
  line-height:1.4;
}

.ai-message.bot{
  background:#f1f1f1;
}

.ai-message.user{
  background:#006847;
  color:white;
  margin-left:auto;
  max-width:80%;
}

.ai-suggestions{
  padding:0 18px 12px;
  display:grid;
  gap:8px;
}

.ai-suggestions button{
  background:white;
  border:1px solid #006847;
  color:#006847;
  padding:10px;
  border-radius:20px;
  cursor:pointer;
}

.ai-input{
  display:flex;
  gap:10px;
  padding:15px;
  border-top:1px solid #eee;
}

.ai-input input{
  flex:1;
  border:1px solid #ddd;
  border-radius:25px;
  padding:12px 15px;
}

.ai-input button{
  width:45px;
  height:45px;
  border:0;
  border-radius:50%;
  background:#009246;
  color:white;
  font-size:18px;
  cursor:pointer;
}

/* MOBILE */

@media(max-width:900px){

  .topbar{
    height:74px;
    padding:0 18px;
    justify-content:space-between;
  }

  .brand{
    margin-right:auto;
  }

  .brand img{
    width:125px;
  }

  .cart-icon{
    order:2;
    width:42px;
    height:42px;
    margin-left:auto;
  }

  .cart-icon svg{
    width:22px;
    height:22px;
  }

  .menu-btn{
    display:flex;
    order:3;
    margin-left:10px;
  }

  .nav-menu{
  position:fixed;
  top:74px;
  left:0;
  width:100%;
  height:calc(100vh - 74px);
  background:white;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:22px;
  padding:30px 24px;
  z-index:999;
  overflow-y:auto;

  transform:translateX(100%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.3s ease;
}

.nav-menu.show{
  transform:translateX(0);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

  .nav-menu a,
  .hello{
    font-size:20px;
  }

  .nav-menu a.active::after{
    display:none;
  }

  .register-btn{
    width:100%;
    text-align:center;
  }

  .hero{
    min-height:100vh;
    padding:0 20px;
    display:flex;
    align-items:center;
    background:url("../assets/img/hero-monterrey.png");
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
  }

  .hero-content{
    width:100%;
    max-width:500px;
  }

  .hero-script{
    font-size:24px;
  }

  .hero h1{
    font-size:58px;
    line-height:.95;
    margin-bottom:10px;
  }

  .hero h2{
    font-size:18px;
    line-height:1.5;
    margin:20px 0;
  }

  .hero-features{
    gap:10px;
  }

  .hero-features span{
    font-size:13px;
    padding:10px 14px;
  }

  .hero-btn{
    width:100%;
    text-align:center;
    padding:16px;
  }

  .kits-section{
    padding:45px 18px;
  }

  .section-title h2{
    font-size:20px;
  }

  .kits-grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .kit-img{
    height:230px;
  }

  .kit-actions{
    grid-template-columns:1fr;
  }

  .cart-btn,
  .buy-now-btn{
    padding:15px;
  }

  .benefits{
    width:90%;
    grid-template-columns:1fr;
  }

  .benefits div{
    border-right:0;
    border-bottom:1px solid #ddd;
  }

  .benefits div:last-child{
    border-bottom:0;
  }

  .whatsapp{
    padding:55px 18px;
  }

  .whatsapp h2{
    font-size:28px;
  }

  .footer{
    grid-template-columns:1fr;
    padding:40px 18px;
  }

  /* IA ASSISTANT */

  .ai-float-btn{
    position:fixed;
    right:18px;
    bottom:18px;
    width:58px;
    height:58px;
    z-index:99999;
  }

  .ai-panel{
    position:fixed;
    left:12px;
    right:12px;
    bottom:88px;
    width:auto;
    height:500px;
    max-height:75vh;
    z-index:99998;
    border-radius:18px;
  }
}


/* SMALL MOBILE */

@media(max-width:430px){

  .hero{
    min-height:90vh;
    background-position:60% center;
  }

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

  .hero-script{
    font-size:20px;
  }

  .hero h2{
    font-size:16px;
  }

  .kit-body{
    padding:22px;
  }

  .price{
    font-size:22px;
  }

  .ai-panel{
    left:10px;
    right:10px;
    bottom:50px;
    height:450px;
    max-height:85vh;
  }
}

.stock-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin: 10px 0 14px;
}
.stock-ok { background: #e7f7ed; color: #006847; }
.stock-low { background: #fff4cc; color: #8a6500; }
.stock-out { background: #ffe1e1; color: #b00020; }
button:disabled,
.disabled-pay {
  opacity: .55;
  cursor: not-allowed !important;
  pointer-events: none;
}
.stock-alert {
  background: #fff4cc;
  color: #5f4500;
  border-radius: 16px;
  padding: 14px;
  margin: 15px 0;
  font-weight: 700;
}
