/* Carousel desktop - pura (c) alma */
.carousel-desktop {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: transparent;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
  position: relative;
}
.carousel-slide {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blanco);
  box-shadow: var(--shadow-sm);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.carousel-slide.center {
  width: 68%;
  max-width: 760px;
  height: auto;
  z-index: 10;
  transform: translateX(-50%) scale(1);
  left: 50%;
  box-shadow: 0 12px 30px rgba(58, 85, 93, 0.18);
  border: 1px solid rgba(201, 222, 221, 0.6);
  cursor: zoom-in;
}
.carousel-slide.center:hover img { transform: scale(1.03); }
.carousel-slide.left {
  width: 25%;
  height: auto;
  z-index: 5;
  transform: translateX(-50%);
  left: 13%;
  opacity: 0.65;
  filter: brightness(0.92);
}
.carousel-slide.right {
  width: 25%;
  height: auto;
  z-index: 5;
  transform: translateX(-50%);
  left: 87%;
  opacity: 0.65;
  filter: brightness(0.92);
}
.carousel-slide.far {
  opacity: 0;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(58,85,93,0.85));
  color: white;
  padding: 2rem 1.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.carousel-slide.center:hover .carousel-overlay { opacity: 1; }

.zoom-badge {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-style: normal;
  backdrop-filter: blur(4px);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: #FFFFFF;
  color: var(--color-texto-verde);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(201,222,221,0.8);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.carousel-arrow:hover {
  background: var(--color-verde);
  color: white;
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow--prev { left: 0.5rem; }
.carousel-arrow--next { right: 0.5rem; }

.carousel-counter {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-texto-rosa);
  letter-spacing: 0.08em;
}

/* Carousel móvil */
.carousel-mobile {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(201, 222, 221, 0.6);
}
.carousel-mobile-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}
.carousel-mobile-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--color-blanco);
  cursor: zoom-in;
}
.carousel-mobile-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.carousel-mobile-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(58,85,93,0.85));
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.carousel-mobile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(201,222,221,0.25);
}
.carousel-mobile-nav button {
  background: var(--color-verde);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.carousel-mobile-nav span {
  font-size: 0.85rem;
  color: var(--color-texto-rosa);
}