* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

body {
  font-family: "Playfair Display", "Georgia", serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

main {
  height: 100dvh;
}

.hero-section {
  position: relative;
  height: 60vh;
  overflow: hidden;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.8),
      rgba(212, 175, 55, 0.1)),
    url("https://images.unsplash.com/photo-1579952363873-27d3bfad9c0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #f5f5f5;
  z-index: 2;
  padding: 60px 40px;
  max-width: 800px;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.2;
  animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(245, 245, 245, 0.9);
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

/* Reviews Section */
.reviews-section {
  padding: 120px 40px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23d4af37" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 80px;
  text-align: center;
  color: #d4af37;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item {
  position: absolute;
  width: 350px;
  height: 480px;
  background: linear-gradient(145deg,
      rgba(245, 245, 245, 0.08),
      rgba(212, 175, 55, 0.02));
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 25px;
  padding: 50px 35px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-origin: center center;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0.3;
  z-index: 1;
}

.item.active {
  opacity: 1;
  z-index: 5;
  background: linear-gradient(145deg,
      rgba(245, 245, 245, 0.12),
      rgba(212, 175, 55, 0.05));
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) translateY(-50%) scale(1);
}

.item.next {
  transform: translateX(-25%) translateY(-50%) scale(0.85) rotateY(25deg);
  opacity: 0.7;
  z-index: 3;
}

.item.prev {
  transform: translateX(-75%) translateY(-50%) scale(0.85) rotateY(-25deg);
  opacity: 0.7;
  z-index: 3;
}

.item.next-2 {
  transform: translateX(0%) translateY(-50%) scale(0.7) rotateY(45deg);
  opacity: 0.4;
  z-index: 1;
}

.item.prev-2 {
  transform: translateX(-100%) translateY(-50%) scale(0.7) rotateY(-45deg);
  opacity: 0.4;
  z-index: 1;
}

.item.hidden {
  opacity: 0;
  z-index: 0;
}

.item h3 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.item p {
  color: #f5f5f5;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  font-weight: 300;
}

.item small {
  color: #d4af37;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg,
      rgba(212, 175, 55, 0.15),
      rgba(212, 175, 55, 0.05));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-nav.prev {
  left: 5%;
}

.carousel-nav.next {
  right: 5%;
}

.carousel-nav:hover {
  background: linear-gradient(145deg,
      rgba(212, 175, 55, 0.25),
      rgba(212, 175, 55, 0.1));
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scroll-fade {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .carousel-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .item {
    width: 300px;
    height: 400px;
    padding: 35px 25px;
  }

  .carousel-nav.prev {
    left: 2%;
  }

  .carousel-nav.next {
    right: 2%;
  }

  .reviews-section {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .item {
    width: 280px;
    height: 380px;
    padding: 30px 20px;
  }

  .carousel-nav.prev {
    left: 1%;
  }

  .carousel-nav.next {
    right: 1%;
  }

  .carousel-nav {
    display: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    user-select: none;
  }
}

/* Scrollbar para navegadores basados en Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffdb70, #d4af37);
}

/* Para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #d4af37 #0a0a0a;
}