/* ═══════════════════════════════════════════════
   PREANMEDICA · Productos page styles
   ═══════════════════════════════════════════════ */

body {
  background: #ffffff;
  color: var(--texto-oscuro);
  font-family: 'Poppins', sans-serif;
}

.showcase-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 100vh;
}

/* Left: Sticky Visuals */
.showcase-visuals {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #020d1f;
}

.showcase-image-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25,1,0.5,1), transform 0.9s cubic-bezier(0.25,1,0.5,1);
}

.showcase-image-wrapper.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.showcase-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.showcase-visuals-overlay {
  position: absolute;
  bottom: 40px; left: 40px; right: 40px;
  background: rgba(2,13,31,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  z-index: 10;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.25,1,0.5,1) 0.2s;
}

.showcase-image-wrapper.active .showcase-visuals-overlay {
  transform: translateY(0);
  opacity: 1;
}

.showcase-visuals-overlay h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #ffffff, var(--azul-cielo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-visuals-overlay p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
}

/* Right: Scrollable Details */
.showcase-details {
  padding: 0;
  background: #ffffff;
  border-left: 1px solid rgba(10,79,168,0.05);
}

.showcase-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 12% 80px;
  border-bottom: 1px solid rgba(10,79,168,0.03);
}

.showcase-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--texto-oscuro);
  margin-bottom: 20px;
}

.showcase-section h2 span {
  background: linear-gradient(90deg, var(--azul-principal), var(--azul-claro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-section p.lead {
  font-size: 1.05rem;
  color: var(--texto-medio);
  line-height: 1.7;
  margin-bottom: 30px;
}

.showcase-list { list-style: none; margin-bottom: 40px; }

.showcase-list li {
  font-size: 0.95rem;
  color: var(--texto-oscuro);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.showcase-list li::before {
  content: "✓";
  color: var(--acento);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 1px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--azul-principal), var(--azul-claro));
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(26,125,224,0.2);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.product-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26,125,224,0.3); }
.product-cta svg { width: 20px; height: 20px; }

/* Scroll progress dots */
.scroll-indicator-bar {
  position: fixed;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 100;
}

.scroll-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gris-medio);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.scroll-dot:hover { background: var(--azul-claro); }

.scroll-dot.active {
  background: var(--azul-principal);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(26,125,224,0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-container { grid-template-columns: 1fr; }
  .showcase-visuals { display: none; }
  .showcase-section { min-height: auto; padding: 80px 6% 60px; border-bottom: 1px solid var(--gris-claro); }
  .showcase-section h2 { font-size: 2rem; }
  .mobile-product-image { display: block; width: 100%; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; margin-bottom: 24px; box-shadow: var(--sombra); }
  .mobile-product-image img { width: 100%; height: 100%; object-fit: cover; }
  .scroll-indicator-bar { display: none; }
}

@media (max-width: 600px) {
  .showcase-section { padding: 60px 5% 40px; }
  .showcase-section h2 { font-size: 1.75rem; }
  .product-cta { width: 100%; justify-content: center; }
}

@media (min-width: 901px) {
  .mobile-product-image { display: none; }
}
