:root {
  --primary: #007bff;
  --secondary: #432c86;
  --accent: #00c853;
  --danger: #ff1744;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #eef5ff;
}

html {
  scroll-behavior: smooth;
}

.h1{
  font-size: 3rem !important;
}

.h2{
  font-size: 2rem !important;
}

.h3 {
  font-size: 1.5rem !important;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(90deg, #0047b3, #007bff);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* LOGO */
.nav-logo img {
  height: 50px;
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  position: relative;
}

/* hover */
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: #00c853;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 90vh;
  background: url('bg-hero-lanitapas-bela-mundialista.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.hero-content {
  position: relative;
  color: white;
  max-width: 600px;
}

.logo {
  width: 400px;
}

.hero h1 {
  
}

.hero p {
  font-size: 1.3rem;
  color: #FFF;
font-weight: 800;
 text-shadow:
    3px 1px 1px rgba(0, 0, 0, 0.7)

}

.hero-zona {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.9;
}

.main-section{
background-color: var(--primary);
}

.title-campaign {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: #fff;
  /*-webkit-text-stroke: 1px #ff2d55;*/
  text-shadow:
   4px 1px 3px #ff2d55,
     2px 1px 3px #ff2d55,
    2px  1px 3px #ff2d55,
     4px  1px 3px #ff2d55,

    /* sombra externa */
    0px 6px 12px rgba(0,0,0,0.4);

  text-align: center;
  line-height: 1.1;

}

.title-campaign-2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: #fff;
  /*-webkit-text-stroke: 1px #ff2d55;*/
  text-shadow:
   4px 1px 3px #002150,
     2px 1px 3px #002150,
    2px  1px 3px #002150,
     4px  1px 3px #002150,

    /* sombra externa */
    0px 6px 12px rgba(0,0,0,0.4);

  text-align: center;
  line-height: 1.1;

}

/* BOTONES */
a.btn-primary{
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, #ff5252, #ff1744);
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: bold;
}

/* SECCIONES */
.section {
  padding: 3rem 1rem;
  text-align: center;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

#coleccion {
  background: url('bg-lanitapas-bela-mundialista.webp') ; 
  background-size: cover;

  justify-content:center; 
  gap:2rem; 
  margin-top:2rem; 
  position:relative;}

.collection-grid {
 display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: auto;
}

.border-collection .card{
  border: 2px solid #432c86 ;
}

.card {
  position: relative;
  cursor: pointer;
}

.card::before {
    content: attr(data-number);
    position: absolute;
    top: 8px;
    right: 8px;
    background: #56A707;
    color: #fff;
    font-weight: 700;
    /* -webkit-text-stroke: 1px #0047b3; */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
}
}

.card.locked {
  opacity: 0.4;
  filter: grayscale(1);
}

.card.active {
  border: 3px solid #00c853;
}


/* CARDS */
.card, .item {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

.card:hover, .item:hover {
  transform: translateY(-8px);
}

.card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3; /* cuadrado perfecto */
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta sin deformar */
  display: block;
}



.country {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(237, 45, 131, 0.9);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  width: 100%;
}

.btn-check {
  margin-top: 0.5rem;
  background: transparent;
  color: #00c853;
  border: none;
  border: 2px solid #00c853;
  padding: 0.3rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.3rem;
}

.btn-check.active {
  background: #0047b3;
  color: #fff;
}

.btn-check {
  transition: 0.3s;
}

.btn-check.active {
  background: #0047b3;
}

.card.active {
  border: 3px solid #00c853;
  box-shadow: 0 0 15px rgba(0,200,83,0.6);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* BADGE */
.badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 800;
}

.btn-request {
  display: block;
  margin-top: 0.5rem;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  padding: 0.6rem;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.btn-request:hover {
  transform: scale(1.05);
}

.price {
  display: block;
  margin-top: 0.5rem;
  background: transparent;
  color: var(--secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 800;
  /*border:2px solid var(--secondary);*/
}

.logo-lanitapas{
  margin-bottom: -15px;
}

.price-lanitapas{
  font-size: 1.5rem;
}



.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 👈 IMPORTANTE aquí */
}

/* PROGRESO */
.progress {
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

/* PASOS */
.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  width: 120px;
}

.step span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

.zona-text {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.zona-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.zona-list span {
  background: #0047b3;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
}

/* CTA FINAL */
.cta-final {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

/* CAJA CENTRAL */
.cta-box {
  background: linear-gradient(135deg, #0047b3, #007bff);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 700px;
  text-align: center;
  color: white;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* TEXTO */
.cta-box h2 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* BOTÓN */
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width:768px){
  .hero h1 { font-size: 1.8rem; }
}

@media (max-width:768px){
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* TARJETA */
.step-card {
  background: linear-gradient(180deg, #ffe066, #ffc107);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.step-card {
  border: 3px solid white;
}

.step-card:hover {
  transform: translateY(-6px) scale(1.02);
}


/* IMAGEN */
.step-img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* TEXTO */
.step-card p {
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 2px 3px #002150;
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
}

.footer {
  background: linear-gradient(90deg, #0047b3, #007bff);
  color: white;
  padding: 1.5rem 1rem;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* TEXTO */
.footer-left p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

/* DERECHA */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ICONOS */
.social-icons a {
  color: white;
  font-size: 1.3rem;
  margin-right: 0.8rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00c853;
  transform: scale(1.2);
}

/* LOGO */
.footer-logo img {
  height: 50px;
}

.impacto-sub {
  max-width: 600px;
  margin: 0 auto 1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.impacto-text {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
  color: #fff;
  opacity: 0.9;
}

/* CARRUSEL */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}

.carousel-item {
  min-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item img {
  width: auto;
  max-height: 550px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 2px 0px 20px #000;
}

/* BOTONES */
.carousel-btn {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0CE4FF;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* RESPONSIVE */

@media (max-width: 768px) {

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0047b3;
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    padding: 1rem 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .steps-grid {
    grid-template-columns: 1fr;
}

.carousel-item img {
  width: 100%;
  height: stretch ;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 2px 0px 20px #000;
}


}





