@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #F5F3EF;
  color: #333;
}

/* =========================
   HEADER MOBILE
========================= */
.header-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: #fff;
  position: relative;
  z-index: 1000;
}

.logo-mobile img {
  height: 80px;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
}

/* =========================
   MENÚ LATERAL
========================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #47677C;
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  z-index: 1200;
}

.side-menu.open {
  right: 0;
}

.side-nav {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-nav a {
  color: #F5F3EF;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Botón cerrar */
.close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* =========================
   OVERLAY
========================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 768px) {
  .header-mobile,
  .side-menu,
  .menu-overlay {
    display: none;
  }
}
.nav-link {
  color: #333;
}

.nav-link:hover {
  color: rgb(177.7777777778, 73.4814814815, 14.2222222222);
}

/* MENÚ */
.menu-horizontal {
  display: flex;
  width: 100%;
}

/* ITEM BASE */
.menu-item {
  flex: 1;
  border: none;
  cursor: pointer;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* COLORES */
.menu-item.atractivos {
  background-color: #57601E;
}

.menu-item.gastronomia {
  background-color: #47677C;
}

.menu-item.hospedaje {
  background-color: #E15D12;
}

/* HOVER */
.menu-item:hover {
  filter: brightness(0.85);
}

/* ACTIVO */
.menu-item.active {
  filter: brightness(0.75);
}

/* CONTENIDO */
.menu-content .content {
  display: none;
}

.menu-content .content.active {
  display: block;
}

/* MOBILE */
@media (max-width: 767px) {
  .menu-horizontal {
    flex-direction: column;
  }
  .menu-item {
    font-size: 1.1rem;
  }
}
.lista-menuhori {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas en mobile */
  gap: 1rem;
  padding: 0;
  margin: 2rem 1rem;
  list-style: none;
}

.lista-menuhori li a {
  display: block;
  padding: 1rem;
  background: #f8f8f8;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.3s;
}

.lista-menuhori li a:hover {
  background: #e0f2ec;
}

@media (min-width: 768px) {
  .lista-menuhori {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    margin: 3rem auto;
  }
}
/* Banner principal: imagen a ancho completo con punto de foco configurable */
.bannerhome-1 {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.bannerhome-1 img {
  width: 100%;
  height: 60vh;
  max-height: 800px;
  display: block;
  object-fit: cover;
  /* 🔥 foco configurable por banner o imagen  
  📌 Primer valor → eje X horizontal
  📌 Segundo valor → eje Y vertical*/
  object-position: var(--img-focus, center center);
  z-index: 0;
}

/* Capa de overlay y texto encima de la imagen */
.bannerhome-1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
  pointer-events: none;
}

.bannerhome-1 .banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.bannerhome-1 .banner-text .content {
  max-width: 1100px;
  width: 100%;
}

.bannerhome-1 .banner-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bannerhome-1 .banner-text p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Contenedor general que limita el ancho */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Banner */
.quehacer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  margin: 3rem 0;
  /* Usar color de fondo en lugar de imagen; variable CSS por defecto para fácil ajuste */
  background-color: var(--quehacer-bg, #57601E);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* Overlay */
.quehacer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Texto */
.quehacer-text {
  position: relative;
  text-align: center;
  color: #fff;
}

.quehacer-text p {
  font-size: 1.8rem;
  margin: 0;
}

/* Desktop */
@media (min-width: 768px) {
  .quehacer {
    min-height: 100px;
  }
  .quehacer-text p {
    font-size: 3rem;
  }
}
/* Botón "Ver más" para la sección .cards-quehacer */
.btn-ver-mas-section {
  display: block;
}
.btn-ver-mas-section .btn-ver-mas {
  display: inline-block;
  background-color: #E15D12;
  color: #F5F3EF;
  padding: 0.75rem 1.5rem;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-ver-mas-section .btn-ver-mas:hover,
.btn-ver-mas-section .btn-ver-mas:focus {
  transform: translateY(-2px);
  filter: brightness(0.95);
  text-decoration: none;
}
.btn-ver-mas-section .btn-ver-mas:active {
  transform: translateY(0);
  filter: brightness(0.9);
}
@media (max-width: 768px) {
  .btn-ver-mas-section .btn-ver-mas {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }
}

/* GRID */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1.5rem;
}

/* Tablet */
@media (min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Desktop */
@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Card clickeable */
.card-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* CARD */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover general */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Imagen con texto encima */
.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* Imagen */
.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover imagen */
.card:hover .card-img-top {
  filter: blur(3px);
  transform: scale(1.05);
}

/* Texto sobre la imagen */
.card-img-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* CONTENIDO INFERIOR */
.card-body {
  padding: 1rem 1.2rem;
  flex-grow: 1; /* fuerza misma altura */
  display: flex;
  align-items: center; /* centra el texto */
}

/* TEXTO */
.card-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* máximo 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-card {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  margin-top: 1rem;
}
.activity-card:hover {
  transform: translateY(-6px);
}
.activity-card .activity-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.activity-card .activity-body {
  padding: 1.8rem;
}
.activity-card .activity-body h3 {
  color: #2c7a47;
  margin-bottom: 1rem;
}

/* =========================
   GRID GENERAL
========================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* MOBILE */
  gap: 2rem;
  align-items: stretch;
}

/* TABLET */
@media (min-width: 576px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* DESKTOP */
@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
/* =========================
   CARD
========================= */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* =========================
   IMAGEN
========================= */
.card-img-wrapper {
  position: relative;
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.06);
}

/* Texto sobre imagen */
.card-img-text {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
  white-space: normal; /* permite saltos */
  word-break: keep-all; /* evita cortar palabras */
  overflow-wrap: normal; /* no rompe palabras */
}

/* =========================
   CONTENIDO
========================= */
.card-body {
  flex: 1;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

/* Detalles (viñetas) */
.card-details {
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.card-details li {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.card-details strong {
  color: #2c7a47;
  font-weight: 600;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.txt-info {
  max-width: 1050px; /* ancho cómodo de lectura */
  margin: 4rem auto; /* centra y da aire arriba/abajo */
  padding: 0 1.5rem; /* aire lateral en mobile */
}

.txt-info p {
  font-size: 1.05rem;
  line-height: 1.75; /* clave para que se vea editorial */
  color: #222;
  margin-bottom: 1.4rem;
  text-align: justify;
  hyphens: auto; /* como en la imagen */
}

@media (min-width: 768px) {
  .txt-info {
    padding: 0; /* ya no hace falta padding lateral */
  }
  .txt-info p {
    font-size: 1.1rem;
  }
}
@media (max-width: 576px) {
  .text-section p {
    text-align: left;
  }
}
.activity-block {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Imagen grande */
.activity-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Contenido debajo */
.activity-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
}

/* Cada columna */
.activity-column h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c7a47;
  margin-bottom: 1rem;
}

.activity-column p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}

.activity-column ul {
  padding-left: 1.2rem;
  margin: 0;
}

.activity-column ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}

/* 🖥 Desktop */
@media (min-width: 768px) {
  .activity-content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 3rem;
  }
  .activity-image img {
    height: 480px;
  }
}
.activity-image {
  position: relative;
}

/* Imagen */
.activity-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Capa oscura para legibilidad */
.activity-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
}

/* Texto hero */
.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  color: #fff;
  max-width: 70%;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.95;
}

/* Desktop */
@media (min-width: 768px) {
  .activity-image img {
    height: 480px;
  }
  .hero-text h1 {
    font-size: 2.6rem;
  }
  .hero-text p {
    font-size: 1.25rem;
  }
}
/* Mobile */
@media (max-width: 576px) {
  .hero-text {
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 90%;
  }
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}
.gallery-img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}

.modal-content img {
  max-height: 90vh;
  object-fit: contain;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2c7a47;
}

/* BOTÓN VOLVER ARRIBA */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: #57601E; /* verde del sitio */
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Visible */
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover (desktop) */
#backToTop:hover {
  background-color: #25643b;
  transform: translateY(-3px);
}

/* Mobile ajuste */
@media (max-width: 576px) {
  #backToTop {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}
/* GRID UBICACION */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* Desktop */
@media (min-width: 992px) {
  .ubicacion-grid {
    grid-template-columns: 1.2fr 0.8fr; /* mapa respira más */
    align-items: stretch;
  }
}
/* MAPA */
.mapa-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* CARD CONTENEDOR */
.info-card-wrapper {
  display: flex;
  align-items: center;
}

/* Ajuste card dentro de esta sección */
.info-card {
  width: 100%;
}

/* Card body texto */
.info-card .card-body {
  padding: 1.5rem;
}

.info-card .card-details li {
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer {
  background: #57601E; /* verde institucional */
  color: #e6efe9;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

/* Logo */
.footer-logo img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1); /* si el logo es oscuro */
  opacity: 0.9;
}

/* Redes */
.footer-social {
  display: flex;
  gap: 1.4rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e6efe9;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #2c7a47; /* verde acento */
  transform: translateY(-3px);
}

/* Texto legal */
.footer-copy p {
  font-size: 0.85rem;
  color: #cfe0d6;
  line-height: 1.5;
  margin: 0;
}

/* =========================
   CARDS ARTESANOS
========================= */
.artesano-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.artesano-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.artesano-card .card-body {
  text-align: center;
}

.artesano-card .card-subtitle {
  font-size: 0.9rem;
  color: #2c7a47;
}

.ver-mas {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #2c7a47;
}

/* =========================
   FIX CARRUSEL – DOS FILAS
========================= */
#artesanosCarousel .carousel-item {
  padding: 1rem 0;
}

#artesanosCarousel .row {
  align-items: stretch;
}

/* =========================
   FLECHAS DE NAVEGACIÓN
========================= */
#artesanosCarousel .carousel-control-prev-icon,
#artesanosCarousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-size: 50% 50%;
  background-color: #57601E;
  border-radius: 50%;
  filter: invert(32%) sepia(90%) saturate(900%) hue-rotate(5deg);
  transition: transform 0.2s ease;
}

#artesanosCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#artesanosCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.15);
}

/* =========================
   ARTESANOS – 2 FILAS EN DESKTOP
========================= */
@media (min-width: 992px) {
  #artesanosCarousel .carousel-item .row {
    display: flex;
    flex-wrap: wrap;
  }
  #artesanosCarousel .carousel-item .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* =========================
   ÚLTIMO SLIDE CENTRADO
========================= */
#artesanosCarousel .carousel-item:last-child .row {
  justify-content: center;
}

#artesanosCarousel .carousel-item:last-child .col-lg-4 {
  flex: 0 0 45%;
  max-width: 45%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

p, span, li, a, .text-muted {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400;
}

.card.draft {
  display: none;
}

/*# sourceMappingURL=main.css.map */
