
/* Paginas Adicionales------------------------------------------------------------ */
/* RESET Y FUENTES */ 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Century Gothic', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #f8f7f9;
  color: #333;
  min-height: 200vh;
}

/* NAV GENERAL */
nav.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #f8f7f9;
  border-bottom: 5px solid #cfa52f;
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* SCROLL EFFECT */
nav.menu.scrolled {
  background: rgba(98, 98, 31, 0.9);
  padding: 0.75rem 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav.menu.scrolled .nav-link {
  color: #fff;
}

nav.menu.scrolled .nav-link:hover {
  color: #cfa52f;
}

/* LOGO */
nav.menu .logo img {
  height: 45px;
  transition: transform 0.3s ease-in-out;
}

nav.menu .logo img:hover {
  transform: scale(1.1);
}

/* HAMBURGER */
nav.menu .hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfa52f;
  cursor: pointer;
  padding: 6px 10px;
  transition: transform 0.3s ease-in-out, color 0.3s ease;
}

nav.menu .hamburger:hover {
  transform: scale(1.1) rotate(90deg);
}

nav.menu .hamburger.active {
  color: #cfa52f;
}

/* NAV LINKS */
nav.menu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s ease-in-out;
}

nav.menu .nav-link {
  text-decoration: none;
  color: #2c2c2c;
  font-size: 0.95rem;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease-in-out;
}

nav.menu .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #cfa52f;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

nav.menu .nav-link:hover {
  color: #cfa52f;
}

nav.menu .nav-link:hover::after {
  transform: scaleX(1);
}

/* SUBMENÚ DESKTOP */
nav.menu .dropdown {
  position: relative;
}

nav.menu .submenu {
  display: none !important;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(207, 165, 47, 0.3);
  border-radius: 14px;
  padding: 12px 0;
  min-width: 200px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

nav.menu .dropdown.open .submenu {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

nav.menu .submenu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav.menu .submenu li a:hover {
  background-color: rgba(207, 165, 47, 0.15);
  color: #cfa52f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav.menu {
    flex-wrap: wrap;
  }

  nav.menu .hamburger {
    display: block;
  }

  nav.menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
    width: 100%;
    padding: 40px 30px;
    text-align: left;
    border-bottom: 5px solid #cfa52f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease-in-out;
    z-index: 999;
  }

  nav.menu ul.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  nav.menu ul li {
    margin-bottom: 30px;
    animation: fadeInItem 0.5s ease forwards;
    opacity: 0;
  }

  nav.menu ul.show li {
    opacity: 1;
  }

  nav.menu ul li:last-child {
    margin-bottom: 0;
  }

  nav.menu .nav-link {
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }

  nav.menu .nav-link:hover {
    color: #cfa52f;
  }

  nav.menu .logo img {
    width: 110px;
  }

  /* MOSTRAR SUBMENÚ EN MÓVIL */
  nav.menu .dropdown.open > .nav-link {
    color: #cfa52f;
  }

  nav.menu .submenu {
    display: none;
    flex-direction: column;
    position: static;
    background: none;
    padding: 10px 0 10px 20px;
    border: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: all 0.3s ease;
  }

  nav.menu .dropdown.open .submenu {
    display: flex !important;
  }

  nav.menu .submenu li {
    margin: 10px 0;
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
  }

  nav.menu .dropdown.open .submenu li {
    opacity: 1;
  }

  nav.menu .submenu li a {
    color: #2c2c2c;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  nav.menu .submenu li a:hover {
    color: #cfa52f;
  }
}
/* COLOR DE TEXTO EN MÓVIL CUANDO SE ABRE EL MENÚ */
@media (max-width: 768px) {
  nav.menu ul.show .nav-link {
    color: #2c2c2c !important;
  }

  nav.menu ul.show .nav-link:hover {
    color: #cfa52f;
  }
}

/* ANIMACIONES */
@keyframes fadeInItem {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Sección de viviendas */
body {
  font-family: 'Century Gothic', sans-serif;
}

.intro-section {
  padding: 7rem 1rem;
  background-color: rgba(98, 98, 31, 0.9);
  border-bottom: 3px solid var(--primary);
}

.intro-content {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  color: #cfa52f;
  background-color: #f4f6fc;
  padding: 3rem;
  border-left: 1rem solid #62621f;
  border-radius: 2rem;
}

.intro-content h2 {
  font-size: 3rem;
}

.intro-carrusel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
img {
  border-radius: 20px;
}

iframe{
  border-radius: 20px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: flex;
  border-radius: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #cfa52f;
}

.quote-box {
  background-color: rgba(207, 165, 47, 0.1);
  font-family: 'Baskerville Old Face', serif;
  font-size: 1.5rem;
  color: black;
  line-height: 1.6;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-carrusel {
    height: 320px;
  }

  .intro-content h2 {
    font-size: 2rem;
  }

  .quote-box {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .intro-carrusel {
    height: 260px;
  }

  .intro-content {
    padding: 2rem 1rem;
    border-left: 0;
  }

  .intro-content h2 {
    font-size: 1.5rem;
  }

  .quote-box {
    font-size: 1rem;
    padding: 1rem;
  }
}


.lead-text {
  font-size: 1.25rem;
  color: black;
  margin-bottom: 1.5rem;
}

.quote-box blockquote {
  font-family: 'Baskerville Old Face', serif;
  font-size: 1.5rem;
  color: black;
  line-height: 1.6;
}

/* Sección de viviendas destacadas */
.featured-homes {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.homes-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.home-card {
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
  border-radius: 2rem;
  font-family: 'Baskerville Old Face', serif;
  
}

.home-image {
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center; 
  overflow: hidden;
}

.home-image img {
  width: 80%;
  height: 80%;
  object-fit: fill;
  transition: transform 0.5s ease;
}

.home-card:hover .home-image img {
  transform: scale(1.05);
}

.home-content {
  padding: 2rem;
}

/* Beneficios */
.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(207, 165, 47, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 1.75rem;
  color: var(--primary);
}

.benefit-card p {
  opacity: 0.9;
}



.quote-icon {
  position: absolute;
  top: -1.5rem;
  left: 3rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}



/* Responsive Styles para viviendas/locales */
@media (min-width: 768px) {
  .home-card {
    background-color: #1d1d1d;
    flex-direction: row;
    align-items: stretch;
    padding: 2rem;
    border-radius: 2rem;
    font-family: 'Baskerville Old Face', serif;
  }

  .home-image {
    display: grid;
    place-items: center; 
    width: 50%;
    height: auto;
  }
  .home-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-card.reverse {
    flex-direction: row-reverse;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

/* Animación de elementos */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-content,
.home-card,
.benefit-card {
  animation: fadeInUp 0.8s ease-out forwards;
}

.home-card:nth-child(2) {
  animation-delay: 0.2s;
}

.home-card:nth-child(3) {
  animation-delay: 0.4s;
}

.benefit-card:nth-child(2) {
  animation-delay: 0.1s;
}

.benefit-card:nth-child(3) {
  animation-delay: 0.2s;
}

.benefit-card:nth-child(4) {
  animation-delay: 0.3s;
}

.benefit-card:nth-child(5) {
  animation-delay: 0.4s;
}

.benefit-card:nth-child(6) {
  animation-delay: 0.5s;
}

/* === ESTILOS RESPONSIVOS PARA DESARROLLO INDUSTRIAL === */
@media (max-width: 768px) {
  .home-card {
    flex-direction: column !important;
    background-color: #1d1d1d;
    border: 4px solid var(--secondary);
    border-radius: var(--radius);
    color: var(--white);
    font-family: 'Baskerville Old Face', serif;
  }
  .home-content {
    width: 100%;
    padding: 1.5rem;
    color: var(--white);
  }
  .home-image {
    display: grid;
    place-items: center; 
    width: 100%;
    height: auto;
  }
  .benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
  }
  .benefit-icon {
    background-color: rgba(255, 255, 255, 0.2);
  }
  .benefit-icon i {
    color: var(--primary);
  }
  .intro-section {
    background-color: #62621f;
    color: black;
    padding: 5rem 0rem 5rem 0rem;
  }
  .quote-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    color: white;
    font-family: 'Baskerville Old Face', serif;
    font-size: 1.5rem;
  }

  .quote-icon {
    background-color: var(--primary);
    color: white;
  }
}

@media (max-width: 480px) {
  .home-card {
    padding: 1rem;
    font-family: 'Baskerville Old Face', serif;
  }
  .home-content {
    padding: 1rem;
  }
  .benefit-card h3 {
    font-size: 1.2rem;
  }
  .benefit-card p {
    font-size: 0.95rem;
  }
  .intro-content {
    padding: 2rem 1rem;
    border-left: 0rem;
    
  }
  .intro-content h2{
    font-size: 1.5rem ;
  }
  .intro-content blockquote{
    font-size: 1rem ;
  }
}


/* Estilos del mapa */

.map-section {
  padding: 3rem 1rem;
  background-color: #1d1d1d;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 2rem;
  
}

.map-section h2{
  font-size: 3rem;
  text-align: center;
  margin: 1rem;
  color: #62621f;
}

.map-section p{
  font-size: 2rem;
  text-align: center;
  margin: 1rem;
  color: #f4f6fc;
}

.map-card {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #1d1d1d;
}

.map-card iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .map-card iframe {
    height: 300px;
  }

  .map-section h2{
    font-size: 3rem;
    text-align: center;
    margin: 1rem;
    color: #62621f;
    border-radius: 2rem;
  }
  .map-section p{
    font-size: 2rem;
    text-align: center;
    margin: 1rem;
    color: #f4f6fc;
  }
}

@media (max-width: 480px) {
  .map-card iframe {
    height: 220px;
    border-radius: 1rem;
  }
  .map-section h2{
    font-size: 3rem;
    text-align: center;
    margin: 1rem;
    color: #62621f;
    
  }

  .map-section p{
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem;
    color: #f4f6fc;
  }
}
