* =========================
   SLIDER
========================= */
.hero-slider {
  position: relative;
  overflow: visible; /* 🔑 CLAVE */
  min-height: clamp(420px, 65vh, 720px);
}

.slides {
  min-height: 520px;
  position: relative;
}

/* SLIDE */
.slide {
  position: absolute;
  inset: 0;
  padding: 6rem 2rem 6rem;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  color: #fff;
  z-index: 1;
}

/* OVERLAY */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.0),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

/* SLIDE ACTIVO */
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/*.slide-content {
  z-index: 3;
  padding: 0px 0px 0px 60px;
  position:absolute;
  top:50%;
  left:8%;
  transform:translateY(-50%);
  color:#fff;
  max-width:520px;
} */

.slide-content {
  z-index: 3;
  padding: 0px 0px 0px 0px;
  position: absolute;
  transform:translate(-50%, -50%);
  color: #fff;
  top:50%;
    left:50%;
width:100%;
  max-width: 550px;
  align-content: center;
  text-align: center;
  margin: 0 auto;
      display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.slide h1,
.slide h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.slide h1{
  font-size:48px;
  font-weight:800;
  line-height:1.1;
  margin-bottom:18px;
}

.slide p {
  font-size:18px;
  opacity:.95;
  margin-bottom:28px;
}

/* === ANIMACIONES TEXTO === */
.slide-content > * {
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .slide-content h1,
.slide.active .slide-content h2 {
  animation: fadeUp 0.7s ease forwards;
}

.slide.active .slide-content p {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.15s;
}

.slide.active .slide-content a {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BOTONES */


.btn-hero-primary {
  display:inline-block;
  background:#ffc107;
  color:#000;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transition:.3s ease;
}

.btn-hero-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.25);
}


/* =========================
   FLECHAS (OPCIÓN B — SIN CÍRCULO)
========================= */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;

  background: none;       /* ❌ sin círculo */
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;

  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Icono flecha */
.slider-arrow::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: solid #fff;          /* blanco limpio */
  border-width: 0 3px 3px 0;
}

/* Hover */
.slider-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

/* Izquierda */
.slider-arrow.prev {
  left: 40px;
}

.slider-arrow.prev::before {
  transform: rotate(135deg);
}

/* Derecha */
.slider-arrow.next {
  right: 24px;
}

.slider-arrow.next::before {
  transform: rotate(-45deg);
}

/* Hover solo al interactuar */
.hero-slider:hover .slider-arrow {
  opacity: 0.85;
}

.hero-slider:hover .slider-arrow.prev {
  transform: translate(-4px, -50%);
}

.hero-slider:hover .slider-arrow.next {
  transform: translate(4px, -50%);
}


/* =========================
   DOTS (FIX CLAVE)
========================= */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;          /* 🔑 CONTORNO */
  background: transparent;
  cursor: pointer;
}

.slider-dots button.active {
  background: #e6007d;              /* color marca */
  border-color: #e6007d;
}

/* IMÁGENES */
.slide-1 { background-image: url("../img/novedad-1.jpg"); }
.slide-2 { background-image: url("../img/novedad-2.jpg"); }
.slide-3 { background-image: url("../img/novedad-3.jpg"); }

/* =========================
   SECTIONS
========================= */
.section {
  padding: 3rem 1rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.section-divider{
  width:80px;
  height:3px;
  background:#e6007e;
  border-radius:3px;
  margin:0 auto 40px;
  opacity:.18;
}
/* =========================
   TRUST BAR
========================= */

.stats-section{
  position:relative;
  padding: 55px 20px;
  background: linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
  overflow:hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.stats-section::after{
  content:"";
  position:absolute;
  bottom:-25px;
  left:50%;
  transform:translateX(-50%);
  width:80%;
  height:40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.08), transparent 70%);
  filter: blur(10px);
}

.stats-grid{
  max-width:800px;
  margin:auto;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  align-items:center;
  text-align:center;
  gap:30px;
  position:relative;
}

.stats-grid::before{
  content:"";
  position:absolute;
  inset:-20px -30px;
  background: radial-gradient(circle, rgba(230,0,126,0.04), transparent 70%);
  z-index:-1;
}

.stat-item{
  position:relative;
  transition: transform .35s ease, opacity .35s ease;
  transform:translateY(20px);
  animation: statFade .8s ease forwards;
}

.stat-item:nth-child(2){ animation-delay:.15s; }
.stat-item:nth-child(3){ animation-delay:.3s; }
.stat-item:nth-child(4){ animation-delay:.45s; }

@keyframes statFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.stat-item:hover{
  transform: translateY(-4px);
}

.stat-number{
  font-size:40px;
  font-weight:700;
  color:#e6007e;
  letter-spacing:1px;
  margin-bottom:6px;
  line-height:1;
}

.stat-label{
  font-size:14px;
  color:#777;
  letter-spacing:.3px;
}

/* línea separadora */
.stat-item:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-15px;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:38px;
  background: linear-gradient(to bottom, transparent, #e5e5e5, transparent);
}


/* CERTIFICADOS */
.stat-cert .stat-label{
  margin-top:8px;
}

.stat-cert{
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* rotador */
.cert-rotator{
  position:relative;
  width:80px;
  height:80px;
  margin-bottom:6px;
  margin:0 auto;
}

.cert-logo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:0;
  filter: grayscale(100%) contrast(110%) brightness(0.95);
  transition:opacity .6s ease, filter .4s ease;
}

.cert-logo.active{
  opacity:1;
  filter: grayscale(0%);
  transform: scale(1.03);
}

.stats-section{
  background:
    radial-gradient(circle at 20% 50%, rgba(230,0,126,0.03), transparent 60%);
}



/* =========================
   TÍTULO SECCIÓN PRODUCTOS
========================= */
.products-section{
	padding:10px 0px 30px 0px;
	background: #fff;
}

.products-intro{
  text-align:center;
  margin:25px 0px 20px 0px;
}

.products-intro h2{
  font-size:34px;
  font-weight:700;
  margin-bottom:10px;
}

.products-intro p{
  color:#666;
  font-size:16px;
}

/* =========================
   PRODUCTS GRID
========================= */

.products-grid {
  max-width: 1280px;
  margin: auto;
  padding: 20px 1.5rem 45px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

/* PRODUCT CARD */
.product-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  transition:.35s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.product-card img{
  width:100%;
  display:block;
  transition:transform .6s ease;
}

.product-card::after{
  content:"";
  position:absolute;
  inset:0;
}

.product-card span{
  position:absolute;
  bottom:16px;
  left:18px;
  color:#fff;
  font-weight:700;
  letter-spacing:.5px;
  font-size:15px;
}

.product-card img {
  height: auto;
  display: block;
}

.product-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  margin: 0;
  padding: 0.9rem 1rem;

  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
    color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.1)
  );

  backdrop-filter: blur(2px);
}

/* Hover */
.product-card:hover{
  transform:translateY(-8px);
  box-shadow:0 10px 20px rgba(0,0,0,0.18);
}

.product-card:hover img{
  transform:scale(1.08);
}

.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,.35), transparent 60%);
  opacity:0;
  transition:.5s;
}

.product-card:hover::before{
  opacity:1;
  animation: shine 1.2s ease;
}

@keyframes shine{
  from{transform:translateX(-100%);}
  to{transform:translateX(100%);}
}

.products-cta{
  text-align:center;
}

.btn-products{
  display:inline-flex;
  align-items:center;
  margin: 0 auto 20px;
  padding:14px 26px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff007a,#ff4da6);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  letter-spacing:.3px;
  transition:.35s ease;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.btn-products .arrow{
  transition:transform .3s ease;
}

.btn-products:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.btn-products:hover .arrow{
  transform:translateX(6px);
}

/* =========================
   QUALITY SECTION (HALAL / SIN ALÉRGENOS)
========================= */

.quality-section{
  text-align:center;
  padding:20px 20px 80px;
  background:#f7f7f7;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.03);
}

.quality-section::before{
  content:"";
  position:absolute;
  top:-60px;
  left:0;
  width:100%;
  height:60px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), #f7f7f7);
}

.quality-title{
  color:#e6007e;
  font-size:28px;
  margin-bottom:40px;
  font-weight:700;
}

.quality-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
  max-width:1100px;
  margin:auto;
}

.quality-card{
  background:#fff;
  border-radius:18px;
  padding:28px 22px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);
  transition:.35s ease;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
}

.quality-card img{
  height:46px;
  margin-bottom:14px;
}

.quality-card h3{
  font-size:16px;
  margin-bottom:8px;
  font-weight:600;
}

.quality-card p{
  font-size:14px;
  color:#666;
  line-height:1.4;
  margin-bottom:16px;
}

/* BOTÓN DESCARGA */

.quality-btn{
  display:inline-block;
  padding:8px 18px;
  border-radius:999px;
  background:#f3f3f3;
  color:#333;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  transition:.3s ease;
}

.quality-btn:hover{
  background:#e6007e;
  color:#fff;
}

/* HOVER TARJETA */

.quality-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 38px rgba(0,0,0,0.12);
}

  
/* ===== HOME NOVEDADES ===== */

.home-novedades {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.home-novedades {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 30px;
}

.home-novedades-text h2 {
  color: #e6007e;
  font-size: 32px;
  margin-bottom: 12px;
}

.home-novedades-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.home-novedades-text a {
  color: #0066ff;
  font-weight: 600;
}
.home-novedades-text a:hover {
  color: #e6007e;
}

.ver-novedades {
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* BOTÓN LINK */

.novedades-link{

display:inline-flex;
align-items:center;
gap:8px;

color:#0066ff;
font-weight:600;
font-size:16px;

text-decoration:none;

position:relative;

transition:.25s ease;

}

/* línea animada */

.novedades-link::after{

content:"";

position:absolute;
left:0;
bottom:-4px;

width:0;
height:2px;

background:#e6007e;

transition:.35s ease;

}

/* flecha */

.novedades-link .arrow{

font-size:18px;

transition:.3s ease;

}

/* hover */

.novedades-link:hover{

color:#e6007e;

}

.novedades-link:hover::after{

width:100%;

}

.novedades-link:hover .arrow{

transform:translateX(6px);

}


/* GRID DERECHA */

.home-novedades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-content: center; /* evita que se estiren */
  max-width: 1200px;
  margin: 0 auto;
}

/* CARD */
.novedad-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.novedad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* IMAGEN */
.novedad-image {
  position: relative;
}

.novedad-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.novedad-content {
  padding: 20px;
}

.novedad-content h3 {
  font-size: 16px;
  line-height: 1.4;
  color: #3b3b8f;
}

.novedad-date{
  position:absolute;
  bottom:12px;
  left:12px;
  background:rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color:#fff;
  font-size:12px;
  padding:6px 12px;
  border-radius:30px;
  font-weight:600;
  letter-spacing:.3px;
}

/* BADGE BASE */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

/* NOTICIAS */
.badge-noticias {
  background: #009fe3;
}

/* FERIAS Y EVENTOS */
.badge-ferias-y-eventos {
  background: #e6007e; /* morado */
}

/* LANZAMIENTO */
.badge-lanzamientos {
  background: #ff9800; /* naranja */
}

/* COLABORACIONES */
.badge-colaboraciones {
  background: #6a1b9a; /* verde */
}

/* Responsive */

@media (max-width: 900px) {
  .home-novedades {
    grid-template-columns: 1fr;
  }

  .home-novedades-grid {
    grid-template-columns: 1fr;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp .6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fecha {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 6px;
}


/* =========================
   RESPONSIVE FINO MÓVIL
========================= */
@media (max-width: 480px) {

  .slides {
    min-height: 400px;
  }

  .slide {
    padding: 3rem 1.5rem 5.5rem;
  }

  .slide-content {
	  padding: 1.5rem;
  }

  .slide h1,
  .slide h2 {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  
  .products-section{
    padding: 0px 20px ;
  }
  
.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

  .slide p {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Flechas más interiores */
  /*.slider-arrow.prev { left: 0.6rem; }*/
  .slider-arrow.next { right: 0.6rem; }

  /* Dots ligeramente más arriba */
  .slider-dots {
    bottom: 1.2rem;
  }
}

@media(max-width:900px){
  .trust-grid{
    grid-template-columns: repeat(2,1fr);
    row-gap:30px;
  }
}

@media(max-width:480px){
  .trust-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width:768px){

  .trust-grid{
    grid-template-columns: repeat(2,1fr);
    gap:25px;
  }

  .trust-item::after{
    display:none;
  }

  .trust-number{
    font-size:28px;
  }
 
  .quality-title{
    font-size: 25px;
    margin: 20px 0px;
    font-weight: 700;
}

.quality-section {
    padding: 20px 20px 60px;
}

}

@media (max-width:768px){

  .stats-section{
	padding: 20px;
  }
  
  .stats-grid{
    grid-template-columns: 1fr 1fr;
    gap:25px;
    text-align:center;
  }


  .stat-number{
    font-size:25px;
  }

  .stat-label{
    font-size:10px;
  }


}

@media (max-width:900px){

  .slide-content{
    max-width:420px;
  }

  .slide h1,
  .slide h2{
    font-size:36px;
  }

}

@media (max-width:600px){

  .slide-content{
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    text-align:center;
    margin:auto;
  }

  .slide h1,
  .slide h2{
    font-size:28px;
  }

  .slide p{
    font-size:15px;
  }
}

@media(max-width:900px){

  .stats-grid{
    grid-template-columns:repeat(4,1fr);
    gap:12px;
  }

  .stat-item::after{
    display:none;
  }

}

@media (max-width:1100px){
  .products-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width:800px){
  .products-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .products-intro {
	padding: 0 20px;  
  }
}

@media (max-width:480px){
  .products-grid{
    grid-template-columns:repeat(2,1fr);
    gap: 15px;
    padding: 10px 10px 30px 10px;
  }
  
  .product-card h3{
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
  }
}

@media(max-width:900px){

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

}

@media(max-width:500px){

  .quality-grid{
    grid-template-columns:1fr;
	padding: 0px 20px;
  }
  .home-novedades{
   padding: 40px 20px;
    }
}

@media(max-width:1000px){

  .home-novedades{
    grid-template-columns:1fr;
    gap:40px;
  }

  .home-novedades-text{
    text-align:center;
  }

}

@media(max-width:900px){

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

}

@media(max-width:700px){

  .home-novedades-grid{
    grid-template-columns:1fr;
  }
  
  .products-intro h2{
  font-size:24px;
  font-weight:700;
  margin-bottom:10px;
  line-height: normal;
}

.products-intro p {
    color: #666;
    font-weight:400;
    font-size: 16px;
}

.section-divider {
    margin: 0 auto 20px;
}

}

/* =========================
   SCROLL REVEAL
========================= */

.reveal{
  opacity:0;
  transform:translateY(50px);
  transition:all .8s cubic-bezier(.16,.84,.44,1);
}

.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* --- FIX MOBILE: DISABLE HOME ANIMATIONS --- */
@media (max-width: 1024px) {
  .slide-content > *, .stat-item, .product-card, .novedad-card, .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  /* Quitamos el efecto brillo de las cards */
  .product-card:hover, .product-card::before, .novedad-card:hover {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 768px){

.floating-social{
    display:none !important;
}

}