* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* ESTILOS MASCOTA */
.mascotafondo {
  position: absolute;
  left: -67px;
  top: -698px;
  width: 524px;
  z-index: 2;
}
/* NAVEGACIÓN - MODIFICADO RESPONSIVO */
nav {
  height: auto;
  min-height: 70px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  /* Padding más reducido por defecto */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  height: 45px;
  max-height: 70px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s;
}

@media (min-width: 360px) {
  .logo {
    width: 360px;
  }
}

/* Tablet - desde 768px */
@media (min-width: 768px) {
  nav {
    padding: 0 30px;
    min-height: 80px;
  }

  .logo {
    height: 55px;
    width: 500px;
  }
}

/* Desktop - desde 1024px */
@media (min-width: 1024px) {
  nav {
    padding: 0 50px;
    min-height: 90px;
    display: flex;
    align-items: flex-start;
  }

  .logo {
    height: 55px;
    margin-top: 18px;
  }
}

/* Pantallas muy grandes - desde 1440px */
@media (min-width: 1440px) {
  nav {
    padding: 0 80px;
  }
}

/* HERO SECTION - RESPONSIVO */
.hero {
  height: auto;
  min-height: 800px;
  /* Altura mínima para evitar que quede muy pequeño */
  /* background-image: url('../img/fondos/cerro_estrella.png'); */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 20px;
  /* Padding general para móviles */
  padding-bottom: 50px;
  /* Espacio inferior reducido para móviles */
}

.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  width: 100%;
  height: 84%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  color: white;
  gap: 20px;
}
.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}

/* DISFRUTA (más pequeño) */
.hero-disfruta {
  font-size: 2.2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
}

/* IZTAPALAPA (protagonista) */
.hero-iztapalapa {
  font-size: 4.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-top: 5px;
}

/* LINEA */
.hero-line {
  width: 90%;
  height: 2px;
  background-color: #ffffff;
  margin: 10px 0;
}

/* SUBTEXTO */
.hero-subtext {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
}
/* .hero-text-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
} */

.hero-disfruta {
  font-size: 2.5rem;
  /* Tamaño base para móviles */
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 0.9;
}

.hero-iztapalapa {
  font-size: 3.5rem;
  /* Tamaño base para móviles */
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 0.9;
  margin-bottom: 10px;
}

.hero-line {
  width: 100%;
  height: 3px;
  /* Un poco más delgado en móviles */
  background-color: white;
  margin-bottom: 15px;
}

.hero-subtext {
  font-size: 1.2rem;
  /* Tamaño base para móviles */
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-logo {
  height: 150px;
  /* Tamaño reducido para móviles */
  width: auto;
  transition: transform 0.3s;
  align-self: center;
  /* Centrado en móviles */
  margin-bottom: 0;
  order: 2;
  /* Posiciona el logo después del texto en móviles */
}
@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .contenedortitulo {
    width: 50%;
    position: relative;
  }

  .cont2 {
    width: 45%;
    align-items: flex-end;
  }
}
/* Tablet - desde 768px */
@media (min-width: 768px) {
  .hero {
    padding-bottom: 70px;
  }

  .hero-content {
    flex-direction: row;
    /* Fila en tablets/desktop */
    align-items: flex-end;
    padding: 0 40px;
  }

  .hero-disfruta {
    font-size: 3rem;
  }

  .hero-iztapalapa {
    font-size: 5.5rem;
  }

  .hero-subtext {
    font-size: 1.8rem;
  }

  .hero-logo {
    height: 200px;
    margin-bottom: -15px;
    order: initial;
    /* Orden normal (al lado del texto) */
  }

  .hero-line {
    width: 100%;
  }
}

/* Desktop - desde 1024px */
@media (min-width: 1024px) {
  .hero {
    padding-bottom: 100px;
  }

  .hero-content {
    padding: 0 50px;
  }

  .hero-disfruta {
    font-size: 3rem;
  }

  .hero-iztapalapa {
    font-size: 5rem;
  }

  .hero-subtext {
    font-size: 2rem;
  }

  .hero-logo {
    height: 150px;
    margin-bottom: -50px;
  }

  .hero-line {
    width: 60%;
  }
}

/* Pantallas muy grandes - desde 1440px */
@media (min-width: 1440px) {
  .hero-content {
    padding: 0 80px;
  }
}

/* CARROUSEL SECTION */
.carousel-section {
  display: flex;
  padding-top: 65px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wrapper {
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.wrapper i {
  top: 50%;
  height: 200px;
  width: 60px;
  cursor: pointer;
  font-size: 3.25rem;
  position: absolute;
  text-align: center;
  line-height: 200px;
  color: #fff;
  background: #e6e6e6;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}

.wrapper i:active {
  transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
  left: -100px;
}

.wrapper i:last-child {
  right: -75px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 4) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  height: 420px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

.carousel :where(.card, .img) {
  display: flex;
  justify-content: center;
  text-align: left;
}

/* Carrusel */
.carousel .card {
  scroll-snap-align: start;
  list-style: none;
  background: #fff;
  cursor: pointer;
  position: relative;
  height: 420px;
  border-radius: 25px;
  overflow: hidden;
}

.carousel .card .img {
  height: 100%;
  width: 100%;
}

.card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.carousel .card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 25px 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  text-align: center;
  padding: 20px 10px 15px;
  margin: 0;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}
/* CARTAS DE NUEVO APARTADO DE Atractivos Culturales y Comunitarios */
/* Estilos para el grid de tarjetas */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: white;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #722f37;
  text-align: center;
}

.card-description {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

@media only screen and (max-width: 680px) {
  .cards-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Estilos para los dots indicadores */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 10px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #333;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 1) - 9px);
  }

  .wrapper i:first-child {
    display: none;
  }

  .wrapper i:last-child {
    display: none;
  }

  .carousel-section {
    padding: 20px;
  }

  .wrapper i {
    transition: transform 0.1s linear;
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }

  .wrapper i:first-child {
    display: none;
  }

  .wrapper i:last-child {
    display: none;
  }

  .carousel-section {
    padding: 20px;
  }
}

/* BOTONES CUADRADOS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px !important;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

/* SECCIÓN TRANSPORTE - MOBILE FIRST */
/* CONTENEDOR PRINCIPAL */
.transporte-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 40px; */
  padding: 40px 20px;
  position: relative;
  background-image: url("../img/fotos_semana_santa/fondotransporte.png");
  background-size: cover;
  max-height: 560px;
  background-position: center;
  overflow: hidden;
}

/* IZQUIERDA */
.transporte-left {
  width: 50%;
  display: flex;
  justify-content: center;
}

.transporte-left img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* DERECHA */
.transporte-right {
  width: 60%;
}
/* VIEJO TRANSPORTE */

/* IMAGEN DECORATIVA IZQUIERDA */
.transporte-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background-image: url("../img/fondos/tu-imagen-izquierda.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  opacity: 0.9; /* opcional */
  z-index: 0;
}

/* ASEGURA QUE EL CONTENIDO QUEDE ENCIMA */
.transporte-content {
  position: relative;
  z-index: 1;
}

/* HEADER CON LOGO Y TÍTULO */
.transporte-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.transporte-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.transporte-title {
  font-weight: 300;
  font-size: 1.8rem;
  color: #722f37;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* CONTENEDOR DE TRANSPORTES UNIFICADO */
.transporte-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.transporte-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s;
}

.transporte-item:hover {
  transform: translateY(-5px);
}

.transporte-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 375/180;
  object-fit: contain;
  margin-bottom: 15px;
}

.transporte-info {
  text-align: center;
  width: 100%;
}

.transporte-titulo {
  font-weight: 700;
  color: #722f37;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.transporte-link {
  font-weight: 400;
  color: #722f37;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  background: rgba(114, 47, 55, 0.1);
}

.transporte-link:hover {
  color: #8a3a44;
  background: rgba(114, 47, 55, 0.2);
}

/* HEADER */
.atractivos-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px; /* antes 15px */
  margin-bottom: 15px; /* antes 30px */
}

.atractivos-logo {
  width: 35px; /* antes 50px */
  height: 35px;
  object-fit: contain;
}

.atractivos-title {
  font-weight: 300;
  font-size: 2rem;
  color: #722f37;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* CONTENEDOR */
.atractivos-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px; /* antes 30px */
}

.atractivos-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px; /* antes 15px */
  padding: 12px; /* antes 20px */
  transition: transform 0.3s;
}

.atractivos-item:hover {
  transform: translateY(-3px); /* más sutil */
}

/* IMAGEN */
.atractivos-img {
  width: 100%;
  max-width: 220px; /* antes 300px */
  height: auto;
  aspect-ratio: 375/180;
  object-fit: contain;
  margin-bottom: 10px;
}

/* INFO */
.atractivos-info {
  text-align: center;
  width: 100%;
}

.atractivos-titulo {
  font-weight: 700;
  color: #722f37;
  font-size: 2.8rem; /* antes 1.4rem */
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.atractivos-link {
  font-weight: 400;
  color: #722f37;
  text-decoration: none;
  font-size: 0.95rem; /* antes 1.2rem */
  transition: all 0.3s;
  display: inline-block;
  padding: 5px 10px; /* antes 8px 15px */
  border-radius: 5px;
  background: rgba(114, 47, 55, 0.1);
}

.atractivos-link:hover {
  color: #8a3a44;
  background: rgba(114, 47, 55, 0.2);
}
/* TABLET - desde 600px */
@media (min-width: 600px) {
  .transporte-section {
    padding: 40px 20px;
    margin: 10px 0;
  }

  .transporte-header {
    margin-bottom: 40px;
    gap: 25px;
  }

  .transporte-logo {
    width: 60px;
    height: 60px;
  }

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

  .transporte-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* DESKTOP - desde 1024px */
@media (min-width: 1024px) {
  .transporte-section {
    padding: 50px 20px;
    margin: 10px 0;
  }

  .transporte-title {
    font-size: 3rem;
  }

  .transporte-items {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .transporte-titulo {
    font-size: 1.7rem;
  }

  .transporte-link {
    font-size: 1.4rem;
  }
}

/* EMERGENCIAS SECTION */

/* EMERGENCIAS SECTION - MOBILE FIRST */
.emergencias-section {
  padding: 30px 15px;
  /* background: white; */
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

/* CONTENEDOR DEL TÍTULO + LOGO */
.emergencias-header-container {
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

.emergencias-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 10px;
}

.emergencias-logo {
  width: 50px;
  height: 50px;
  margin-right: 0;
  margin-bottom: 15px;
  object-fit: contain;
}

.emergencias-title {
  font-weight: 300;
  font-size: 1.8rem;
  color: #722f37;
  margin: 0;
  white-space: normal;
  line-height: 1.2;
}

/* PLECA CON ANCHO EXACTO AL CONTENIDO */
.emergencias-pleca {
  height: 35px;
  background: url("../img/Plecas/cenefa2.png");
  background-size: cover;
  margin: 15px auto 30px;
  width: calc(73% - 40px);
  max-width: 100%;
}

/* IMÁGENES */
.emergencias-imagenes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.emergencia-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 12px;
  padding: 15px;
}

/* TEXTO INFERIOR */
.emergencias-texto {
  font-weight: 700;
  color: #333;
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 20px;
  padding: 0 10%;
  line-height: 1.6;
}

/* TABLET - desde 600px */
@media (min-width: 600px) {
  .emergencias-section {
    padding: 40px 20px;
  }

  .emergencias-header {
    flex-direction: row;
    padding: 0 20px;
  }

  .emergencias-logo {
    width: 40px;
    height: 70px;
    /* margin-right: 0px; */
    margin-bottom: 0;
  }

  .emergencias-title {
    font-size: 3rem;
    white-space: nowrap;
  }

  .emergencias-pleca {
    width: calc(100% - 40px);
    margin: 15px auto 40px;
  }

  .emergencias-imagenes {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .emergencia-img {
    max-width: 250px;
    padding: 20px;
  }

  .emergencias-texto {
    font-size: 1.2rem;
    padding: 0 15%;
  }
}

/* DESKTOP - desde 900px */
@media (min-width: 900px) {
  .emergencias-title {
    font-size: 4rem;
  }

  .emergencias-imagenes {
    flex-wrap: nowrap;
    gap: 60px;
  }

  .emergencia-img {
    height: 255px;
    padding: 27px;
  }

  .emergencias-texto {
    font-size: 1.3rem;
    margin-top: 30px;
  }
}

/* DESKTOP GRANDE - desde 1200px */
@media (min-width: 1200px) {
  .emergencias-section {
    padding: 50px 40px;
  }

  .emergencias-pleca {
    margin-bottom: 15px;
    width: 70%;
  }
}

/* FOOTER */
/* Estilo del footer nuevo */

ul {
  list-style: none;
  padding-left: 0;
}

footer {
  background-color: rgb(105, 28, 51);
  color: #bbb;
  line-height: 1.5;
}

footer a {
  text-decoration: none;
  color: #eee;
}

a:hover {
  text-decoration: underline;
}

.ft-title {
  color: #fff;
  font-family: "Merriweather", serif;
  font-size: 1.375rem;
  padding-bottom: 0.625rem;
}

.ft-text {
  color: #ddc8a1;
  width: 300px;
  font-size: 1.05rem;
  margin-top: 35px;
}

.footer-img {
  max-width: 100%;
  width: 300px;
  margin-top: 35px;
}

.footer-img-logo {
  max-width: 100%;
  width: 200px;
}

/* Footer main */

.ft-main {
  padding: 1px 2px;
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (min-width: 230px) {
  .ft-main {
    justify-content: space-evenly;
  }
}

@media only screen and (min-width: 430px) {
  .ft-main {
    justify-content: space-evenly;
  }
}

@media only screen and (min-width: 1240px) {
  .ft-main {
    justify-content: space-evenly;
  }
}

.ft-main-item {
  padding: 1.25rem;
  min-width: 12.5rem;
}

.ft-main-item > p:first-child {
  border-left: 3px solid #ddc8a1;
  padding-left: 15px;
}

/* Footer social */

.ft-social {
  padding: 0 1.875rem 1.25rem;
}

.ft-social-list {
  display: flex;
  justify-content: center;
  padding-top: 3.25rem;
}

.ft-social-list li {
  margin: 0.5rem;
  font-size: 1.25rem;
}

.ft-social-pie {
  max-width: 100%;
  width: 100%;
}

.ft-social-list li a img {
  max-width: 100%;
  width: 60px;
}

@media (max-width: 768px) {
  .ft-social-pie {
    width: 100%;
    content: url("../img/Plecas/cenefa2.png");
    height: auto;
  }

  .mascotafondo {
    top: -165px;
    width: 165px;
    left: 0px;
    display: none;
  }
}

.ft-social img {
  max-width: 100%;
  width: 100%;
}

/* Pueblos originarios */
.pueblos-section {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background-image: url("../img/fondos/background.png");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* LADO IZQUIERDO */
.pueblos-left {
  flex: 1;
  padding-right: 0;
  margin-bottom: 30px;
}

.pueblos-titulo {
  margin-bottom: 20px;
  text-align: center;
}

.pueblos-subtitulo {
  font-size: 1.5rem;
  color: #722f37;
  font-weight: 400;
  margin-bottom: 5px;
}

.pueblos-titulo-principal {
  font-size: 2rem;
  color: #722f37;
  font-weight: 700;
}

.pueblos-imagen {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* LADO DERECHO */
.pueblos-right {
  flex: 1;
  padding-left: 0;
  margin: auto;
}

/* BOTONES DORADOS */
.pueblos-boton {
  background: #ddc9a2;
  color: #333;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s;
  width: 100%;
  color: #691d33;
  font-weight: 600;
}

.pueblos-boton i {
  margin-left: 10px;
  transition: transform 0.3s;
  color: #f2f2f2;
}

.pueblos-boton.active i {
  transform: rotate(180deg);
}

/*BOTÓN DE MAPA*/

.btn_mapa {
  background: #691d33;
  /* color: #333; */
  border: none;
  padding: 10px 0px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s;
  width: 42%;
  color: #ddc9a2;
  font-weight: 600;
  margin-left: 62px;
  margin: 0 auto;
}

.btn_mapa a {
  color: #ddc9a2;
  text-decoration: none;
  padding: 0px 59px 0px;
}

.btn_mapa:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(105, 29, 51, 0.4);
}

.pueblos-boton:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* CONTENIDO DESPLEGABLE */
.pueblos-contenido {
  background: white;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: none;
}

.pueblos-contenido p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.lista li {
  padding: 3px;
  list-style-position: inside;
}

.lista a {
  cursor: pointer;
  color: #691d33;
}

.lista a:hover {
  transform: translateY(-10px);
}

/* Media Queries para tablets */
@media (min-width: 768px) {
  .pueblos-section {
    padding: 60px 40px;
    flex-direction: row;
  }

  .pueblos-left {
    padding-right: 30px;
    margin-bottom: 0;
  }

  .pueblos-right {
    padding-left: 30px;
  }

  .pueblos-titulo {
    text-align: left;
  }

  .pueblos-subtitulo {
    font-size: 1.8rem;
  }

  .pueblos-titulo-principal {
    font-size: 2.5rem;
  }

  .pueblos-imagen {
    max-height: 500px;
  }

  .pueblos-boton {
    padding: 15px 25px;
    font-size: 1.2rem;
  }
}

/* Media Queries para desktop */
@media (min-width: 1024px) {
  .pueblos-section {
    padding: 70px 50px;
  }

  .pueblos-left {
    flex: 1.5;
    padding-right: 40px;
  }

  .pueblos-right {
    flex: 1;
    padding-left: 40px;
    margin-top: 110px;
  }
}

/* Estilos adicionales para la sección 360 */
.panorama-section {
  padding: 40px 20px;
  text-align: center;
}

.panorama-viewer {
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.panorama-description {
  max-width: 800px;
  margin: 20px auto;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.panorama-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.panorama-controls button {
  padding: 8px 16px;
  background-color: #691d33;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.panorama-controls button:hover {
  background-color: #722f37c7;
}

@media (max-width: 768px) {
  .panorama-viewer {
    height: 300px;
  }
}

/* Estilos para el selector de imágenes */
.image-selector {
  margin: 15px auto;
  text-align: center;
}

.panorama-select {
  padding: 8px 15px;
  border-radius: 20px;
  border: 2px solid #4a6baf;
  background-color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

/* Estilos para las miniaturas */
.thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px auto;
  flex-wrap: wrap;
}

.thumbnail {
  width: 120px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 5px;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: #4a6baf;
  background-color: #f0f4ff;
}

.thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.thumbnail span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

/*FIN Estilos camara 360*/

/*VIDEO*/
video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}
.cont2 {
  padding: 20px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .video-element {
  width: 100%;
  max-width: 800px;
  border: 8px solid #ffffff;
  border-radius: 0;
  box-sizing: border-box;
} */
.video-element {
  width: 120%;
  max-width: 580px;
  border: 10px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  margin-top: 15px;
  max-width: 200px;
}

@media (max-width: 768px) {
  video {
    width: 100%;
    height: auto;
  }
}

/* Triángulo atractivos */
.atractivos-section {
  padding: 40px 20px;
  text-align: center;
}

/* GRID EN TRIÁNGULO */
.triangulo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 680px;
  width: 100%;
}
.card3 {
  grid-column: span 2;
  display: flex;
  justify-content: center;
}
.tri-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}
.tri-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.card3 img {
  max-width: 280px;
}
.textoimgatrac {
  font-weight: 600;
}
/* IZQUIERDA */
.atractivos-left {
  width: 55%;
  flex: 0 0 65%;
  display: flex;
  justify-content: flex-start; /* antes center */
  /* justify-content: center; */
}

.atractivos-right {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.atractivos-right img {
  width: 110%;
  max-width: 530px;
  height: auto;
  border-radius: 20px;
  /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); */
}

@media (max-width: 768px) {
  .atractivos-wrapper {
    flex-direction: column;
  }

  .atractivos-left,
  .atractivos-right {
    width: 50%;
  }

  .atractivos-right img {
    max-width: 300px;
  }
}
.atractivos-wrapper {
  display: flex;
  align-items: center;
  /* gap: 20px; */
  padding: 15px 5px;
  /* justify-content: space-between;*/
}

.atractivos-left {
  width: 50%;
  display: flex;
  justify-content: center;
}

.atractivos-right {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/fondos/fondotlacomi_camara.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px;
  border-radius: 20px;
}

.atractivos-right img {
  width: 100%;
  max-width: 450px;
  height: auto;
}
@media (max-width: 768px) {
  .atractivos-wrapper {
    flex-direction: column;
  }

  .atractivos-left,
  .atractivos-right {
    width: 100%;
  }

  .atractivos-right img {
    max-width: 300px;
  }
}
