@charset "UTF-8";

/* Variables */
:root {
  --font-title: 'Frank Ruhl Libre', serif;
  --font-secondary: 'Hind Siliguri', sans-serif;
  --font-tertiary: 'Lustria', serif;
  
  --primary-color: #0D5940;
  --secondary-color: #C18D2F;
  --dark-color: #2C2F31;
  --light-color: #686D71;
  --gray-color: #686D71;
  --light-gray: #767676;
  --golden-color: #C18D2F;
  --background-color: #F9F7F7;
  --form-bg: #EFEEEE;
  
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 5px;
  
  --container-width: 1200px;
  --grid-gap: 30px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--background-color);
  color: var(--dark-color);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 54px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 32px;
}

.text-golden {
  color: var(--golden-color);
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--light-color);
  font-size: 18px;
  line-height: 1.57;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 50px;  /* Cambiado de 5px a 50px para hacerlos ovalados */
  color: #FFFFFF;
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.57;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 81, 58, 0.3);
}

.btn-primary {
  background: #0D5940;
  padding: 0.8rem 2rem;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: #003A2B;
  color: var(--golden-color);
  border: 1px solid var(--golden-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 81, 58, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 141, 47, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(180deg, #C6B5A4 0%, rgba(198, 181, 164, 0.4) 54.86%, rgba(198, 181, 164, 0) 100%);
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  min-height: 60px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  color: var(--background-color);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  color: var(--background-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Estilos para menú móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block !important;
    color: var(--background-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 10px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 100%; /* Ancho completo */
    height: auto;
    flex-direction: column;
    background: rgba(13, 89, 64, 0.95); /* Color primario con alta opacidad para mejor contraste */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    display: flex;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 15px 0; /* Aumentar margen para mejor separación */
    list-style: none;
    text-align: center; /* Centrar elementos */
  }

  .nav-menu a {
    color: var(--background-color); /* Color blanco para mejor contraste en fondo verde */
    font-size: 18px; /* Aumentar tamaño para mejor visibilidad */
    font-weight: 600; /* Aumentar peso para mejor visibilidad */
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .nav-menu a:hover {
    color: var(--golden-color); /* Color dorado al hacer hover */
    transform: translateX(5px); /* Efecto de movimiento al hover */
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 900px; /* Altura ampliada para mostrar más de la imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Divisor con degradado al final del hero - Expandido */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px; /* Altura del degradado aumentada */
  background: #ffffff; /* Color base */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 25%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 1) 100%); /* Degradado vertical más suave y expandido */
  z-index: 5;
  pointer-events: none; /* Permite que los clics pasen a través */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  color: var(--background-color);
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin-top: 100px; /* Ajustar para mostrar todo el contenido */
  z-index: 1;
}

.hero-title {
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 500; /* Medium weight como solicitado */
  font-family: var(--font-title); /* Asegurando que use Frank Ruhl Libre */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--background-color);
  font-family: var(--font-tertiary); /* Cambiando a Lustria como solicitado */
  font-weight: 400; /* Regular weight */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Why KUXNAH Section */
.why-kuxnah {
  background: var(--background-color);
}

.why-kuxnah-title {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.why-kuxnah-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  color: var(--light-color);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.57;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  margin-top: 60px;
}

.benefit-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark-color);
}

.benefit-description {
  font-size: 14px;
  color: var(--light-color);
}

/* Desarrollo Section */
.desarrollo {
  background: #fff;
}

.gallery-carousel-container {
  position: relative;
  margin-bottom: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 600px;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Posicionamiento de flechas a los lados como en la sección de progreso */
.carousel-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Permite que los clicks pasen a través */
}

.carousel-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--golden-color);
  color: var(--primary-color);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* Restaura la interacción con los botones */
  opacity: 1;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.carousel-nav .carousel-prev {
  left: 10px;
}

.carousel-nav .carousel-next {
  right: 10px;
}

.carousel-nav button:hover {
  background-color: var(--golden-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Ocultando los puntos de navegación */
.gallery-dots {
  display: none;
}

/* Estilos anteriores para referencia - ahora ocultos */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.development-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  font-weight: 400;
  color: var(--light-color);
}

.progress-grid-container {
  margin-top: 40px;
  padding: 20px 0;
}

/* Progress Grid Gallery */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.progress-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.progress-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.progress-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(13, 89, 64, 0.4), rgba(193, 141, 47, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-grid-item:hover .progress-grid-overlay {
  opacity: 1;
}

.progress-grid-overlay i {
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Progress Lightbox */
.progress-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  animation: progressFadeIn 0.3s ease;
}

.progress-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}

.progress-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.progress-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  user-select: none;
}

.progress-lightbox-close:hover {
  color: var(--golden-color);
}

/* Navigation Arrows */
.progress-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.progress-lightbox-nav:hover {
  background-color: rgba(13, 89, 64, 0.8);
  color: var(--golden-color);
}

.progress-lightbox-prev {
  left: -70px;
}

.progress-lightbox-next {
  right: -70px;
}

/* Caption */
.progress-lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 1.1rem;
  padding: 10px;
}

/* Counter */
.progress-lightbox-counter {
  position: absolute;
  top: -40px;
  left: 0;
  color: white;
  font-size: 1rem;
}

@keyframes progressFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Tipologías Section */
.tipologias {
  background: var(--background-color);
}

.tipologias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.tipologia-card {
  background: rgba(255, 255, 255, 0.56);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.tipologia-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.tipologia-content {
  padding: 24px;
}

.tipologia-title {
  font-size: 24px;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.tipologia-features {
  text-align: left;
  margin-bottom: 24px;
}

.tipologia-features p {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1.57;
  color: var(--gray-color);
  margin-bottom: 8px;
}

.torres-card .tipologia-title {
  color: var(--dark-color);
}

/* Formulario Section */
.contact-form {
  background: var(--background-color);
  padding: 80px;
}

.form-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.56);
  border-radius: 5px;
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 573px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--form-bg);
  border: none;
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--dark-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.form-disclaimer {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 12px;
  line-height: 1.26;
  color: #686D71;
  margin-bottom: 24px;
  text-align: center;
}

/* Form Error Styles */
.form-error {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 8px 12px;
  margin-top: 5px;
  font-size: 12px;
  display: block;
}

.form-error-general {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border: 2px solid #c33;
  background-color: #fef5f5;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--background-color);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-main {
  max-width: 405px;
}

.footer-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--golden-color);
}

.footer-description {
  font-size: 14px;
  line-height: 1.57;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--golden-color);
  transform: translateY(-5px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-links-title {
  font-size: 18px;
  color: var(--golden-color);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--background-color);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--golden-color);
  padding-left: 5px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  gap: 8px;
  text-align: center;
}

.footer-legal-links {
  margin-bottom: 8px;
}

.footer-copyright {
  margin: 0;
}

.footer-bottom a {
  color: var(--background-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--golden-color);
  text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tipologias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive for Progress Grid */
@media (max-width: 768px) {
  .progress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .progress-lightbox-nav {
    font-size: 1.6rem;
    padding: 12px;
    width: 48px;
    height: 48px;
  }

  .progress-lightbox-prev {
    left: -55px;
  }

  .progress-lightbox-next {
    right: -55px;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .header .container {
    padding: 12px 20px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(13, 89, 64, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    gap: 25px;
    backdrop-filter: blur(10px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu a {
    font-size: 20px;
    padding: 15px 20px;
    width: 90%;
    text-align: center;
    border-bottom: 1px solid rgba(193, 141, 47, 0.3);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
  }
  
  .nav-menu a:hover {
    background: rgba(193, 141, 47, 0.2);
    transform: translateX(5px);
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    padding: 0 15px;
    line-height: 1.3;
  }
  
  .section-description {
    font-size: 18px;
    margin-bottom: 40px;
    padding: 0 20px;
    line-height: 1.6;
  }
  
  .hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    padding: 0 10px;
    line-height: 1.6;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 16px;
    width: auto;
    min-width: 180px;
  }
  
  .gallery-carousel {
    height: 350px;
  }
  
  /* Mejoras para el carrusel de avances en móvil */
  .progress-carousel-container {
    padding: 30px 0 15px; /* Reducir padding vertical */
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    position: relative;
  }
  
  /* Gradiente lateral móvil */
  .progress-carousel-container::before,
  .progress-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 10;
    pointer-events: none;
  }
  
  .progress-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #958C82, transparent);
  }
  
  .progress-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #958C82, transparent);
  }
  
  .progress-carousel {
    display: flex;
    gap: 8px;
    padding: 0 15px;
    flex-wrap: nowrap;
    width: auto;
    justify-content: flex-start;
  }
  
  .progress-image-item {
    flex: 0 0 80%; /* Reducir para mejor ajuste */
    max-width: 80%;
    height: 300px; /* Reducir altura para menos espacio */
    margin: 0 4px;
    border-radius: 12px;
    border: 3px solid white; /* Reducir borde */
  }
  
  .progress-image-item img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .carousel-nav {
    margin-top: 15px; /* Reducir margen superior */
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }
  
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 18px;
    background-color: rgba(13, 89, 64, 0.9);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 15; /* Aumentar z-index para estar por encima del gradiente */
    border: none;
  }
  
  .development-carousel-container {
    padding: 20px 10px;
  }
  
  .development-image-item {
    height: 300px;
    margin: 0 auto;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }
  
  .benefit-card {
    padding: 30px 25px;
    text-align: center;
  }
  
  .benefit-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .benefit-card p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .tipologias-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }
  
  .tipologia-card {
    padding: 25px;
    text-align: center;
  }
  
  .tipologia-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .unit-image {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .amenidades-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .amenidad-card {
    padding: 30px 25px;
    text-align: center;
  }
  
  .amenidad-card i {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .amenidad-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .amenidad-card p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .location-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .location-info {
    flex: none;
    text-align: center;
  }
  
  .location-map {
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .contact-form {
    padding: 40px 25px;
    margin: 0 15px;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-control {
    padding: 18px 20px;
    font-size: 16px;
    border-radius: 8px;
  }
  
  .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(193, 141, 47, 0.1);
  }
  
  .whatsapp-float {
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    font-size: 28px;
  }
  
  .footer {
    padding: 50px 0 25px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .footer-section ul li {
    margin-bottom: 12px;
  }
  
  .footer-section ul li a {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 28px;
    padding: 0 10px;
  }
  
  .section-description {
    font-size: 16px;
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    padding: 0 15px;
  }
  
  .btn-primary {
    padding: 12px 24px;
    font-size: 15px;
    min-width: 160px;
  }
  
  /* Optimizaciones adicionales para móviles pequeños */
  .progress-carousel-container {
    padding: 20px 0 10px; /* Reducir aún más el padding */
  }
  
  .progress-carousel-container::before,
  .progress-carousel-container::after {
    width: 20px; /* Reducir ancho del gradiente en móviles pequeños */
  }
  
  .progress-image-item {
    flex: 0 0 85%;
    max-width: 85%;
    height: 260px; /* Reducir altura */
    margin: 0 3px;
  }
  
  .progress-carousel {
    gap: 6px;
    padding: 0 10px;
  }
  
  .development-image-item {
    height: 250px;
  }
  
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
    opacity: 0.9;
  }
  
  .benefit-card,
  .tipologia-card,
  .amenidad-card {
    padding: 25px 20px;
  }
  
  .benefit-card h3,
  .tipologia-card h3 {
    font-size: 22px;
  }
  
  .amenidad-card h3 {
    font-size: 20px;
  }
  
  .amenidad-card i {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .form-control {
    padding: 16px 18px;
    font-size: 16px;
  }
  
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .tipologias-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .progress-images-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

/* Amenidades Section */
.amenities {
  background: var(--background-color);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.amenity-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(13, 89, 64, 0.1);
}

.amenity-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(13, 89, 64, 0.1);
  border-radius: 50%;
}

.amenity-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.3;
  margin: 0;
}

/* Location Section */
.location {
  background: #fff;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-text {
  max-width: 100%;
}

.location-description {
  font-size: 18px;
  color: var(--light-color);
  margin-bottom: 40px;
  line-height: 1.6;
}

.location-features {
  margin-bottom: 40px;
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.location-feature i {
  font-size: 20px;
  color: var(--primary-color);
  width: 24px;
  text-align: center;
}

.location-feature span {
  font-size: 16px;
  color: var(--light-color);
}

.location-map {
  text-align: center;
}

.location-map img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

/* Section Image */
.section-image {
  margin-bottom: 0;
  padding-bottom: 0;
}

.full-width-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

/* Progress Section */
.progress-section {
  background: #958C82;
  padding: 80px 0 80px; /* Reducir drásticamente el padding inferior */
  margin-top: 0;
  margin-bottom: 0;
}

.progress-content {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto; /* Centrar el contenido */
}

.progress-title {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #FFFFFF;
  text-align: left;
}

.progress-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.57;
  color: #FFFFFF;
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
}

/* Progress Carousel Styles */
.progress-carousel-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 0;
  overflow: hidden; /* Ocultar el overflow para el efecto de gradiente */
  padding: 0 60px 20px; /* Reducir padding inferior */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px; /* Reducir padding superior */
}

/* Gradiente lateral para efecto de desvanecimiento */
.progress-carousel-container::before,
.progress-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.progress-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #958C82, transparent);
}

.progress-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #958C82, transparent);
}

.progress-carousel {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0; /* Eliminar espacio entre elementos */
  width: 100%;
}

.progress-image-item {
  flex: 0 0 calc(25% - 16px); /* Ajustar para mejor aprovechamiento del espacio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  margin: 0 8px; /* Reducir margen para mejor aprovechamiento */
  box-sizing: border-box;
  height: 380px; /* Reducir altura para menos espacio vertical */
  border: 4px solid white;
  max-width: calc(25% - 16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.progress-image-item img {
  width: 100%;
  height: 100%; /* Usar toda la altura del contenedor */
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block; /* Eliminar espacios en blanco debajo de la imagen */
}

.progress-image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.progress-image-item:hover img {
  transform: scale(1.05);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; /* Botones un poco más grandes */
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9); /* Fondo más opaco */
  border: 2px solid var(--golden-color); /* Añadir borde dorado */
  color: var(--primary-color);
  font-size: 1.3rem; /* Íconos más grandes */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1; /* Siempre visibles */
  transition: background-color 0.3s, transform 0.3s;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.carousel-prev {
  left: 10px; /* Ajustar posición de la flecha izquierda */
}

.carousel-next {
  right: 10px; /* Ajustar posición de la flecha derecha */
}

.carousel-arrow:hover {
  background-color: var(--golden-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
  display: none; /* Ocultar los puntos de navegación como se solicitó */
}

.carousel-indicator {
  width: 14px; /* Hacer más grande */
  height: 14px; /* Hacer más grande */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6); /* Cambiar a blanco semi-transparente */
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.9); /* Aumentar grosor y opacidad del borde blanco */
}

.carousel-indicator.active {
  background-color: var(--golden-color);
  transform: scale(1.3); /* Hacer más grande el indicador activo */
  box-shadow: 0 0 8px var(--golden-color); /* Aumentar efecto de brillo */
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: 30px;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--golden-color);
}

.lightbox-caption {
  color: white;
  padding: 10px;
  font-size: 18px;
  font-weight: 300;
  margin-top: 10px;
}

/* Responsive Amenidades */
@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .progress-image-item {
    flex: 0 0 33.33%; /* Cada item ocupa un tercio del contenedor */
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .location-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .location-map {
    order: -1;
  }
  
  .progress-image-item {
    flex: 0 0 50%; /* Cada item ocupa la mitad del contenedor */
    margin-right: 6px;
  }
  
  .progress-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .amenity-item {
    padding: 20px 15px;
  }
  
  .amenity-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
  }
  
  .amenity-title {
    font-size: 14px;
  }
  
  /* Progress Grid Mobile */
  .progress-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .progress-grid-item {
    aspect-ratio: 16/9;
  }

  .progress-lightbox-nav {
    position: fixed;
    top: 50%;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    padding: 12px;
  }

  .progress-lightbox-prev {
    left: 15px;
  }

  .progress-lightbox-next {
    right: 15px;
  }

  .progress-lightbox-close {
    top: -35px;
    font-size: 2rem;
  }

  .progress-lightbox-counter {
    top: -35px;
    font-size: 0.9rem;
  }
  
  .progress-images-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  
  .progress-image-item {
    flex: 0 0 100%;
    margin-right: 0;
  }
  
  .progress-image-item img {
    height: 200px;
  }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #FFF;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
  margin-top: 2px;
}