/* ===================================================== */
/* HOME.CSS — CUPISSA */
/* ===================================================== */

.home-section {
  padding: 80px 5%;
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
}

/* ========================= */
/* HERO PREMIUM COMPLETO */
/* ========================= */

.home-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  z-index: 1;
}

/* Fondo profundo */

.hero-bg {
  position: absolute;
  inset: 0;
  background:
  radial-gradient(circle at 20% 30%, rgba(219,19,122,0.25), transparent 40%),
  radial-gradient(circle at 80% 70%, rgba(219,19,122,0.15), transparent 40%),
  linear-gradient(145deg, #000000, #111111);
  z-index: 0;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1300px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 60px;
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-text span {
  color: var(--color-pink);
  font-weight: 600;
}

/* Imagen flotante */

.hero-visual {
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatProduct {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.mockup-rotator {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

.mockup-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.mockup-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: floatProduct 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}

.mockup-back {
  transform: rotateY(180deg);
}

.mockup-rotator.rotate {
  transform: rotateY(180deg);
}

/* ========================= */
/* HERO RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1; /* mockup arriba */
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

}

/* ========================= */
/* CINTAS CUPISSA */
/* ========================= */

.cupissa-ribbons {
  position: relative;
  height: 220px;
  margin: 80px 0 40px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ribbon {
  position: absolute;
  width: 160%;
  left: 50%;
  transform-origin: center;
  padding: 14px 0;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 15px;
  transform: translateX(-50%);
}

/* Blanca */
.ribbon-white {
  background: #ffffff;
  color: #000000;
  transform: translateX(-50%) rotate(-8deg);
}

/* Degradado */
.ribbon-gradient {
  background: var(--color-pink);
  color: #ffffff;
  transform: translateX(-50%) rotate(8deg);
}

.ribbon-track {
  display: inline-block;
  white-space: nowrap;
}

.ribbon-white .ribbon-track {
  animation: scrollLeft 30s linear infinite;
}

.ribbon-gradient .ribbon-track {
  animation: scrollRight 35s linear infinite;
}

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

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

/* ========================= */
/* MUNDOS */
/* ========================= */

.home-mundos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.home-mundo-card {
  padding: 60px 20px;
  border: 1px solid #333;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.home-mundo-card:hover {
  border-color: var(--color-pink);
  transform: translateY(-5px);
}

/* CATEGORÍAS */

.home-categorias-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.home-categoria-circle {
  min-width: 100px;
  height: 100px;
  border: 1px solid var(--color-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  padding: 10px;
}

.home-categoria-circle:hover {
  background: var(--color-pink);
  color: #000;
}

/* ========================= */
/* MUNDOS MEJORADOS */
/* ========================= */

.home-mundo-card {
  background: linear-gradient(145deg, #0e0e0e, #141414);
  border: 1px solid #222;
  border-radius: 20px;
  transition: 0.4s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.home-mundo-card:hover {
  border-color: var(--color-pink);
  box-shadow: 0 25px 60px rgba(219,19,122,0.25);
  transform: translateY(-6px);
}

/* ========================= */
/* CATEGORÍAS MEJORADAS */
/* ========================= */

.home-categoria-circle {
  background: #111;
  transition: 0.3s ease;
}

.home-categoria-circle:hover {
  box-shadow: 0 10px 30px rgba(219,19,122,0.4);
}

/* WHY */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.why-card {
  padding: 40px;
  border: 1px solid #333;
}

/* INSTAGRAM */

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

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .3s ease;
}

.instagram-grid img:hover {
  transform: scale(1.05);
}

.instagram-grid video {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
}
/* TEMPORADA */

.home-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
}

.home-producto-card {
  cursor: pointer;
}