
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .logo-link {
  font-family: 'Playfair Display', serif !important;
}

/* Ensure that all cards scale uniformly to fill the container */
.tarjeta-unificada {
  width: 100%;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}

/* Keep activities cards and features cards consistent */
.card {
  border-radius: 20px !important;
}

:root {
  --vino: #9A1014;
  --blanco: #FFFDFD;
  --verde: #529164;
  --crema: #FBEED7;
  --negro: #000000;
  --cafe: #A07756;
  --sombra: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radio: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #FBEED7, #FBEED7);
  color: #2c2c2c;
  line-height: 1.7;
}

/* TIPOGRAFÍA GLOBAL */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--vino);
}

h1 {
  font-family: verdana;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

h2 {
  font-family: verdana;
  font-size: 2.3rem;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  font-family: 'Poppins', sans-serif;
}


/* HERO */
.hero {
  min-height: auto;
 background: #f3e496;
  color: var(--blanco);
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-home {
  min-height: 100vh;
  background:
    url("../images/navbar.png") center/cover no-repeat;
  padding: 1.5rem 3rem 4rem;
}

.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 253, 253, 0.10);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 253, 253, 0.16);
  border-radius: 20px;
  padding: 0.75rem 1.25rem;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.bloque-logo {
  background: var(--blanco) !important;
  min-height: 350px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.bloque-logo img {
  object-fit: contain !important;
  max-height: 250px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--crema);
  border-radius: 999px;
  transition: 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.banner-imagen {
  max-width: 750px;
  margin: 0 auto;
  display: block;
}

.banner-imagen img {
  width: 100%;
  height: auto;
}

.row.g-0 {
  --bs-gutter-x: 0;
}

.seccion-doble {
  background-color: #fff;
  transition: transform 0.3s ease;
}

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

.seccion-doble img {
  display: block;
}

.noticia-principal {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-texto {
  max-width: min(720px, 90vw);
  margin-top: clamp(2rem, 6vh, 7.5rem);
  transform: none;
  padding-right: 1rem;
}

.badge {
  display: inline-block;
  background: var(--crema);
  color: var(--vino);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}


.hero p {
  font-size: 1.2rem;
  max-width: 650px;
}

.hero-botones {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;

}

.btn {
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-principal {
  background: var(--blanco);
  color: var(--vino);
}

.btn-principal:hover {
  transform: translateY(-2px);
}

.btn-secundario {
  border: 2px solid var(--blanco);
  color: var(--blanco);
}

.btn-secundario:hover {
  background: rgba(255, 255, 255, 0.12);
}



.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* MAIN */
.contenedor-principal {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 5rem 0;
}

section {
  margin-bottom: 5rem;
}

.encabezado-seccion {
  max-width: 760px;
  margin-bottom: 2rem;
}

.subtitulo {
  color: var(--verde);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}


.descripcion-seccion {
  color: var(--negro);
}

/* DOBLE */
.seccion-doble {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.seccion-doble.invertida {
  grid-template-columns: 1fr 1.2fr;
}

.bloque-texto {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
}

.bloque-imagen {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.bloque-texto {
  padding: 2rem;
  border: 1px solid rgba(160, 119, 86, 0.16);
}

.bloque-imagen img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.seccion-doble-compacta {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
}


/* MAPA */
.seccion-mapa {
  background: rgb(0, 0, 0);
  border-radius: 100px;
  padding: 3rem;
  box-shadow: var(--sombra);
}

.mapa-video-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.panel-mapa,
.panel-video {
  background: var(--blanco);
  padding: 1rem;
  border-radius: 22px;
  box-shadow: var(--sombra);
}

#map {
  width: 100%;
  height: 620px;
  border-radius: 18px;
}

.panel-video iframe {
  width: 100%;
  height: 620px;
  border: none;
  border-radius: 18px;
}

/* GALERÍA */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.galeria-card {
  background: var(--blanco);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.galeria-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.galeria-info {
  padding: 1.3rem;
}

.galeria-info h3 {
  color: var(--vino);
  margin-bottom: 0.5rem;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card-lugar {
  background: #FFFDFD;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.card-lugar:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.card-imagen {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.card-lugar:hover .card-imagen img {
  transform: scale(1.08);
}

.card-imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02));
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #FFFDFD;
  color: #9A1014;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.card-contenido {
  padding: 1.2rem 1.2rem 1.4rem;
}

.card-contenido h3 {
  color: #9A1014;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.card-contenido p {
  color: #4a4038;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  text-decoration: none;
  color: #529164;
  font-weight: 700;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #A07756;
}

/* APOYO / NOTICIAS */
.apoyo-box,
.noticia-principal {
  background: var(--blanco);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: var(--sombra);
}

.apoyo-box ul {
  padding-left: 1.2rem;
}

.apoyo-box a {
  color: var(--verde);
  text-decoration: none;
  font-weight: 700;
}

.apoyo-box a:hover {
  text-decoration: underline;
}

/* POPUPS MAPA */
.leaflet-popup-content {
  line-height: 1.5;
  font-size: 14px;
}

.leaflet-popup-content b {
  color: var(--vino);
}

.leaflet-popup-content a {
  color: var(--verde);
  text-decoration: none;
  font-weight: 700;
}

.leaflet-popup-content a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, var(--vino), var(--cafe));
  color: var(--blanco);
  text-align: center;
  padding: 1.2rem;
  margin-top: 3rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {

  .hero-content,
  .seccion-doble,
  .seccion-doble.invertida,
  .mapa-video-grid,
  .galeria-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem 1rem 3rem;
  }

 .navbar {
  flex-direction: row;
  align-items: center;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
  gap: 1rem;
}

  .menu {
    gap: 0.8rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .contenedor-principal {
    width: 94%;
    padding: 3rem 0;
  }

  #map,
  .panel-video iframe {
    height: 420px;
  }

  h2 {
    font-size: 2rem;
  }
}




#map {
  height: 600px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Marcador personalizado */
.custom-marker {
  background: transparent;
  border: none;
}

.marker-pin {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.marker-bounce {
  animation: bounceMarker 0.6s ease;
}

@keyframes bounceMarker {
  0% {
    transform: translateY(0) scale(1);
  }

  30% {
    transform: translateY(-12px) scale(1.08);
  }

  60% {
    transform: translateY(0) scale(0.95);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Popup */
.popup-estilizado .leaflet-popup-content-wrapper {
  border-radius: 16px;
  padding: 6px;
}

.popup-estilizado .leaflet-popup-content {
  margin: 10px 12px;
  font-family: Arial, sans-serif;
}

.popup-card h3 {
  margin: 0 0 10px;
  color: #1d3557;
  font-size: 20px;
}

.popup-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333333;
}

.popup-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn-popup {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  transition: 0.25s ease;
  display: inline-block;
}

.btn-popup:hover {
  transform: translateY(-2px);
}

.oficial {
  background: #1565c0;
  color: white;
}

.wiki {
  background: #A07756;
  color: white;
}

.ruta {
  background: #529164;
  color: white;
}

/* Tooltip */
.leaflet-tooltip {
  background: #222;
  color: white;
  border-radius: 8px;
  padding: 6px 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-popup {
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  transition: 0.25s ease;
  display: inline-block;
  color: white !important;
}

.btn-popup:visited,
.btn-popup:focus,
.btn-popup:active,
.btn-popup:hover {
  color: white !important;
  text-decoration: none !important;
}







.galeria-section {
  padding: 60px 20px;
  background: #f7f9fc;
}

.galeria-contenedor {
  max-width: 1350px;
  margin: 0 auto;
}

.galeria-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1d3557;
}

.galeria-subtitulo {
  text-align: center;
  color: #555;
  max-width: 760px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.galeria-item {
  display: block;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.galeria-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.galeria-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.galeria-info {
  padding: 14px;
}

.galeria-info h3 {
  margin: 0 0 6px;
  color: #1d3557;
  font-size: 1.05rem;
}

.galeria-info p {
  margin: 0;
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* VISOR */
.visor {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.visor.activo {
  display: flex;
}

.visor-img {
  max-width: 90%;
  max-height: 75vh;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: zoomEntrada 0.25s ease;
}

@keyframes zoomEntrada {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#visor-texto {
  color: white;
  margin-top: 18px;
  font-size: 1.05rem;
  text-align: center;
  max-width: 1350px; width: 100%;
  line-height: 1.5;
}

.cerrar {
  position: absolute;
  top: 18px;
  right: 28px;
  color: white;
  font-size: 42px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cerrar:hover {
  transform: scale(1.1);
}

.visor-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.visor-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.visor-anterior {
  left: 20px;
}

.visor-siguiente {
  right: 20px;
}

@media (max-width: 768px) {
  .visor-img {
    max-width: 95%;
    max-height: 60vh;
  }

  .visor-btn {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .cerrar {
    top: 12px;
    right: 18px;
    font-size: 36px;
  }

  #visor-texto {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}

.presentacion-cafe {
  width: 100%;
  background: #fbeed7;
  padding: 2rem 0 4rem;
}

.imagen-presentacion {
  width: min(1200px, 94%);
  margin: 0 auto 2.5rem;
  background: #fffdfd;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.imagen-presentacion img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.credito-video {
  font-size: 0.85rem;
  color: #555;
  margin-top: 8px;
  text-align: center;
}

.proceso-cafe {
  margin-top: 4rem;
  background: linear-gradient(135deg, #fffdfd, #fbeed7);
  padding: 3rem 2rem;
  border-radius: 28px;
  box-shadow: var(--sombra);
}

.slider-proceso {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide-proceso {
  min-width: 100%;
  background: var(--blanco);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(160, 119, 86, 0.14);
}

.slide-imagen {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.slide-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.slide-proceso:hover .slide-imagen img {
  transform: scale(1.03);
}

.slide-texto {
  padding: 1.8rem 2rem 2rem;
  background: #fffdfd;
}

.slide-texto h3 {
  color: var(--vino);
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.slide-texto p {
  color: #4a4038;
  font-size: 1.05rem;
  line-height: 1.7;
}

.btn-slider {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--vino);
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  flex-shrink: 0;
}

.btn-slider:hover {
  background: var(--cafe);
  transform: scale(1.08);
}

.indicadores-proceso {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(154, 16, 20, 0.25);
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.activo {
  background: var(--vino);
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .slide-imagen {
    height: 360px;
  }

  .slide-texto h3 {
    font-size: 1.6rem;
  }

  .slide-texto p {
    font-size: 1rem;
  }

  .btn-slider {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .slider-proceso {
    gap: 0.5rem;
  }

  .slide-imagen {
    height: 280px;
  }

  .slide-texto {
    padding: 1.2rem;
  }

  .slide-texto h3 {
    font-size: 1.35rem;
  }

  .slide-texto p {
    font-size: 0.95rem;
  }

  .btn-slider {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

.timeline-premium {
  background: linear-gradient(135deg, #fffdfd, #fbeed7);
  padding: 3.5rem 2rem;
  border-radius: 30px;
  box-shadow: var(--sombra);
}

.timeline-premium-wrap {
  position: relative;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1rem 0;
}

.timeline-premium-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--vino), var(--cafe), var(--verde));
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.timeline-premium-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem;
  margin-bottom: 2.5rem;
}

.timeline-premium-item.left {
  left: 0;
}

.timeline-premium-item.right {
  left: 50%;
}

.timeline-premium-dot {
  position: absolute;
  top: 28px;
  width: 22px;
  height: 22px;
  background: var(--vino);
  border: 4px solid var(--blanco);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.timeline-premium-item.left .timeline-premium-dot {
  right: -11px;
}

.timeline-premium-item.right .timeline-premium-dot {
  left: -11px;
}

.timeline-premium-card {
  background: rgba(255, 253, 253, 0.95);
  border: 1px solid rgba(160, 119, 86, 0.15);
  border-radius: 24px;
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.timeline-premium-card h3 {
  color: var(--vino);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.timeline-premium-card p {
  color: #4a4038;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.timeline-etapa {
  display: inline-block;
  background: var(--crema);
  color: var(--vino);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.timeline-premium-item.left .timeline-premium-card::after,
.timeline-premium-item.right .timeline-premium-card::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 18px;
  height: 18px;
  background: rgba(255, 253, 253, 0.95);
  border-top: 1px solid rgba(160, 119, 86, 0.15);
  border-right: 1px solid rgba(160, 119, 86, 0.15);
  transform: rotate(45deg);
}

.timeline-premium-item.left .timeline-premium-card::after {
  right: -9px;
}

.timeline-premium-item.right .timeline-premium-card::after {
  left: -9px;
  transform: rotate(225deg);
}

@media (max-width: 900px) {
  .timeline-premium-wrap::before {
    left: 22px;
    transform: none;
  }

  .timeline-premium-item,
  .timeline-premium-item.left,
  .timeline-premium-item.right {
    width: 100%;
    left: 0;
    padding-left: 4rem;
    padding-right: 0;
  }

  .timeline-premium-dot,
  .timeline-premium-item.left .timeline-premium-dot,
  .timeline-premium-item.right .timeline-premium-dot {
    left: 11px;
    right: auto;
  }

  .timeline-premium-card::after,
  .timeline-premium-item.left .timeline-premium-card::after,
  .timeline-premium-item.right .timeline-premium-card::after {
    left: -9px;
    right: auto;
    transform: rotate(225deg);
  }
}

#historia-cafe {
  scroll-margin-top: 100px;
}

.presentacion-cafe .encabezado-seccion {
  text-align: center;
  margin: 0 auto;
}

.presentacion-cafe h2 {
  text-align: center;
}

.presentacion-cafe .descripcion-seccion {
  text-align: center;
  margin: 0 auto;
  max-width: 700px;
  /* 🔥 esto lo centra bonito y no deja el texto muy largo */
}

.oculto {
  opacity: 0;
  transform: translateY(80px);
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s ease;
}

.mostrar {
  opacity: 1;
  transform: translateY(0);
  max-height: 2000px;
}

.btn-origen {
  background: transparent;
  border: 2px solid var(--blanco);
  color: var(--blanco);
  cursor: pointer;
}

.btn-origen:hover {
  background: rgba(255, 255, 255, 0.12);
}

.panel-origen {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 1.5rem;
  transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(-10px);
}

.panel-origen.activo {
  max-height: 900px;
  opacity: 1;
  transform: translateY(0);
}

.panel-origen-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  background: rgba(255, 253, 253, 0.14);
  border: 1px solid rgba(255, 253, 253, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.panel-origen-texto {
  color: var(--blanco);
}

.panel-origen-texto .subtitulo {
  color: var(--crema);
  margin-bottom: 0.5rem;
}

.panel-origen-texto h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.panel-origen-texto p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.panel-origen-imagen {
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.panel-origen-imagen img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .panel-origen-grid {
    grid-template-columns: 1fr;
  }

  .panel-origen-imagen {
    min-height: 240px;
  }

  .panel-origen-imagen img {
    min-height: 240px;
  }
}

.panel-proyecto {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin-top: 1.5rem;
}

.panel-proyecto.activo {
  max-height: 800px;
  opacity: 1;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
}

.panel-texto {
  color: white;
}

.panel-texto h3 {
  margin-bottom: 1rem;
}

.panel-imagen {
  border-radius: 15px;
  overflow: hidden;
}

.panel-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: block;
  background-color: var(--crema);
  padding: 3rem;
  border-radius: var(--radio);
  margin: 2rem auto;
  max-width: 1350px;
  width: 90%;
}

.hero-texto {
  max-width: min(720px, 90vw);
  margin-top: clamp(2rem, 6vh, 7.5rem);
  transform: none;
  padding-right: 1rem;
}

.hero {
  position: relative;
}

.hero-card-fijo {
  position: static;
  width: 100%;
  max-width: 760px;
  margin: 2rem auto 0;
  background: rgba(255, 253, 253, 0.16);
  border: 1px solid rgba(255, 253, 253, 0.18);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  color: var(--negro);
  z-index: 1;
}

.hero-card-fijo h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-card-fijo p {
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .panel-grid {
    padding: 1.25rem;
  }

  .hero-card-fijo {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
  }
}

@media (max-width: 1100px) {

  .seccion-doble,
  .seccion-doble.invertida,
  .mapa-video-grid,
  .galeria-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-card-fijo {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .panel-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .panel-texto {
    font-size: 0.96rem;
  }

  .hero-texto {
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .hero-card-fijo {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .hero-card-fijo h3 {
    font-size: 1.35rem;
  }

  .hero-card-fijo p {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .panel-grid {
    gap: 1rem;
  }

  .hero-card-fijo {
    padding: 1.25rem;
  }

  .hero-card-fijo h3 {
    font-size: 1.2rem;
  }
}


.popup-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.popup-text {
  font-size: 14px;
  line-height: 1.6;
}

/* ACTIVIDADES */
.actividades-header {
  margin-bottom: 2.5rem;
}

.actividades-encabezado {
  text-align: center;
  margin: 0 auto;
}

.actividades-descripcion {
  max-width: 760px;
  margin: 0 auto;
}

.actividades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.actividad-card {
  background: var(--blanco);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--sombra);
  border: 1px solid rgba(160, 119, 86, 0.14);
}

.actividad-card-top {
  margin-bottom: 1.5rem;
}

.actividad-card-top h2 {
  margin-bottom: 0.8rem;
}

.quiz-box {
  display: grid;
  gap: 1rem;
}

.pregunta {
  background: #fff8ec;
  border: 1px solid rgba(160, 119, 86, 0.14);
  border-radius: 18px;
  padding: 1rem;
}

.pregunta p {
  font-weight: 700;
  color: var(--vino);
  margin-bottom: 0.9rem;
}

.opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.opcion-btn {
  border: none;
  background: #f3e4ca;
  color: #4a4038;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.opcion-btn:hover {
  transform: translateY(-2px);
  background: #ead4ab;
}

.opcion-btn.activa {
  background: var(--vino);
  color: var(--blanco);
}

.acciones-actividad {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-actividad {
  border: none;
  padding: 0.95rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-actividad:hover {
  transform: translateY(-2px);
}

.btn-ver {
  background: var(--vino);
  color: var(--blanco);
}

.btn-reiniciar {
  background: var(--verde);
  color: var(--blanco);
}

.resultado-box {
  margin-top: 1rem;
  background: #fbeed7;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  color: #4a4038;
  display: none;
}

.resultado-box.mostrar {
  display: block;
}

.memoria-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: #4a4038;
  font-weight: 600;
}

.tablero-memoria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.carta-memoria {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--vino), var(--cafe));
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: transform 0.25s ease, background 0.25s ease;
  user-select: none;
}

.carta-memoria:hover {
  transform: translateY(-3px);
}

.carta-memoria.volteada,
.carta-memoria.completada {
  background: #fff8ec;
  color: var(--vino);
  border: 2px solid var(--vino);
}

.carta-memoria.completada {
  background: #e3f2e7;
  color: #2f6e42;
  border-color: var(--verde);
}

@media (max-width: 1000px) {
  .actividades-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tablero-memoria {
    grid-template-columns: repeat(2, 1fr);
  }

  .opciones {
    flex-direction: column;
  }

  .opcion-btn {
    width: 100%;
  }
}

.juego-embed {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra);
  background: black;
}

.juego-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .juego-embed {
    height: 350px;
  }
}

.video-container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.video-encabezado {
  text-align: center;
  margin: 0 auto;
}

.video-encabezado .descripcion-seccion {
  text-align: center;
  margin: 0 auto;
}

/* =========================
   BARRA SUPERIOR NUEVA - INICIO
   PÉGALO AL FINAL DEL CSS
========================= */

.hero {
  min-height: auto;
  background: #f3e496;
  color: var(--blanco);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.barra-superior {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.2rem;
  background: #1f1f1f;
  padding: 0.9rem 2rem;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  width: 90px;
  height: 46px;
  overflow: hidden;
}

.logo-nav {
  height: 140%;
  width: auto;
  display: block;
  object-fit: contain;
transform: scale(1.3);
  transform-origin: left center;
}

.barra-superior .menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.barra-superior .menu li {
  display: flex;
  align-items: center;
}

.barra-superior .menu a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: 0.25s ease;
}

.barra-superior .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: #f97316;
  border-radius: 999px;
  transition: 0.3s ease;
}

.barra-superior .menu a:hover {
  color: #ffffff;
}

.barra-superior .menu a:hover::after {
  width: 100%;
}

.banner-imagen {
  max-width: 980px;
  margin: 2rem auto 2.5rem;
  display: block;
  padding: 0 1rem;
}

.banner-imagen img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive solo para la barra nueva */
@media (max-width: 900px) {
  .barra-superior {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }

  .logo-nav {
    height: 40px;
  }

  .barra-superior .menu {
    gap: 1rem;
  }

  .barra-superior .menu a {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .barra-superior .menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .barra-superior .menu li {
    width: 100%;
  }

  .barra-superior .menu a {
    width: 100%;
    padding: 0.2rem 0;
  }

  .banner-imagen {
    max-width: 100%;
    margin: 1.5rem auto 2rem;
    padding: 0 0.8rem;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .hero-video .barra-superior {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }

  .hero-video .menu {
    gap: 1rem;
  }

  .hero-contenido-video {
    padding: 2rem 0 3rem;
    min-height: auto;
  }

  .hero-logo-video {
    width: min(420px, 90vw);
  }
}

@media (max-width: 600px) {
  .hero-video .menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-video .menu li {
    width: 100%;
  }

  .hero-video .menu a {
    width: 100%;
    padding: 0.2rem 0;
  }

  .hero-descripcion {
    font-size: 1rem;
  }

  .hero-botones-video {
    flex-direction: column;
    width: 100%;
  }

  .btn-video {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   INICIO - SECCIONES DE ABAJO
   MÁS WEB, MENOS PRESENTACIÓN
========================= */

.home-main {
  width: min(1700px, 96%);
  margin: 3.5rem auto 0;
}

.home-main section {
  margin-bottom: 5rem;
}

/* tarjetas del inicio */
.seccion-doble-compacta {
  background: #fffdfd;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  border: 1px solid rgba(160, 119, 86, 0.10);
}

/* evita el efecto de “lámina gigante” */
.seccion-doble-compacta .bloque-texto {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2.2rem;
}

/* que las imágenes llenen mejor el espacio */
.seccion-doble-compacta img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* noticia más integrada al diseño */
.noticia-principal {
  background: #fffdfd;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(160, 119, 86, 0.10);
  padding: 2rem !important;
}

/* títulos del home más firmes */
.home-main h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
}

/* subtítulos del home */
.home-main .subtitulo {
  font-size: 0.82rem;
  letter-spacing: 1.3px;
}

/* tarjetas internas más elegantes */
.home-main .card-lugar {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* en vez de tanto espacio vertical */
@media (max-width: 992px) {
  .home-main {
    width: min(96%, 100%);
    margin-top: 1.5rem;
  }

  .seccion-doble-compacta .bloque-texto {
    padding: 1.5rem;
  }

  .home-main section {
    margin-bottom: 1.5rem;
  }
}

/* =========================
   HOME MÁS PROFESIONAL
========================= */

.home-main {
  width: min(1400px, 94%);
  margin: 3rem auto 0;
}

.inicio-editorial {
  margin-bottom: 3rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 0;
  align-items: stretch;
  background: #f7f4ef;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.editorial-imagen-principal {
  grid-row: 1 / 3;
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.editorial-imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
}

.editorial-overlay {
  position: absolute;
  left: 40px;
  bottom: 40px;
  max-width: 70%;
  color: white;
}

.editorial-etiqueta {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.editorial-overlay h2 {
  color: white;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.editorial-texto {
  background: #f7f4ef;
  padding: 3rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-texto h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.editorial-texto p {
  color: #4f443b;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  margin-top: 0.8rem;
  background: var(--vino);
  color: white;
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-editorial:hover {
  transform: translateY(-2px);
  background: #7f0d11;
  color: white;
}

.editorial-imagen-secundaria {
  min-height: 360px;
  overflow: hidden;
  background: #ece6dc;
}

.editorial-imagen-secundaria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SEGUNDA PARTE */
.resumen-grid-section {
  margin-bottom: 3rem;
}

.encabezado-premium {
  max-width: 760px;
  margin-bottom: 2rem;
}

.resumen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resumen-card {
  background: #fffdfd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resumen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.resumen-card-img {
  height: 220px;
  overflow: hidden;
}

.resumen-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resumen-card-body {
  padding: 1.3rem;
}

.resumen-tag {
  display: inline-block;
  background: #fbeed7;
  color: var(--vino);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.resumen-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--vino);
}

.resumen-card-body p {
  color: #5b4e44;
  line-height: 1.7;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .editorial-imagen-principal {
    grid-row: auto;
    min-height: 520px;
  }

  .editorial-overlay {
    max-width: 80%;
  }

  .resumen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-main {
    width: min(96%, 100%);
    margin-top: 1.8rem;
  }

  .editorial-texto {
    padding: 1.8rem 1.4rem;
  }

  .editorial-imagen-principal {
    min-height: 400px;
  }

  .editorial-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
    max-width: none;
  }

  .editorial-overlay h2 {
    font-size: 2.1rem;
  }

  .editorial-imagen-secundaria {
    min-height: 260px;
  }
}
/* =========================
   HOME EDITORIAL NUEVO
========================= */

.home-main {
  width: min(1400px, 94%);
  margin: 3rem auto 0;
}

.inicio-editorial {
  margin-bottom: 3rem;
}

.editorial-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 0;
  background: #c4862100;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.editorial-img-grande {
  grid-row: 1 / 3;
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.editorial-img-grande img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
}

.editorial-overlay {
  position: absolute;
  left: 40px;
bottom: 320px;
  max-width: 72%;
}

.editorial-overlay h2 {
  color: white;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
}

.editorial-texto-superior {
  background: #f5f2ed00;
  padding: 3rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-texto-superior p {
  color: #4f443b;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.8rem;
  background: var(--vino);
  color: white;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-editorial:hover {
  transform: translateY(-2px);
  background: #7f0d11;
  color: white;
}

.editorial-img-pequena {
  position: relative;
  margin-top: -20px;
  margin-left: -140px;
  z-index: 2;
  min-height: 500px;
  max-width: 88%;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  background: #ddd;
}

.editorial-img-pequena img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resumen-grid-section {
  margin-bottom: 3rem;
}

.encabezado-premium {
  max-width: 760px;
  margin-bottom: 2rem;
}

.resumen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resumen-card {
  background: #fffdfd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resumen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.resumen-card-img {
  height: 220px;
  overflow: hidden;
}

.resumen-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resumen-card-body {
  padding: 1.3rem;
}

.resumen-tag {
  display: inline-block;
  background: #fbeed7;
  color: var(--vino);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.resumen-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--vino);
}

.resumen-card-body p {
  color: #5b4e44;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1100px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .editorial-img-grande {
    grid-row: auto;
    min-height: 430px;
  }

  .editorial-texto-superior {
    padding: 2rem 1.5rem;
  }

  .editorial-img-pequena {
    margin-top: 0;
    margin-left: 0;
    max-width: 100%;
    min-height: 320px;
    box-shadow: none;
  }

  .editorial-overlay {
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: none;
  }

  .resumen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-main {
    width: min(96%, 100%);
    margin-top: 2rem;
  }

  .editorial-overlay h2 {
    font-size: 2rem;
  }

  .editorial-texto-superior p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

.btn-resumen {
  display: inline-block;
  margin-top: 1rem;
  background: var(--vino);
  color: var(--blanco);
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-resumen:hover {
  background: var(--cafe);
  color: var(--blanco);
  transform: translateY(-2px);
}




/* =========================
   HERO CON VIDEO DE FONDO
========================= */

.hero-video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 2;
}

.hero-video .barra-superior {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.2rem;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(6px);
  padding: 0.9rem 2rem;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.hero-video .logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  width: 90px;
  height: 46px;
  overflow: hidden;
}

.hero-video .logo-nav {
  height: 140%;
  width: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.3);
  transform-origin: left center;
}

.hero-video .menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hero-video .menu li {
  display: flex;
  align-items: center;
}

.hero-video .menu a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: 0.25s ease;
}

.hero-video .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: #f97316;
  border-radius: 999px;
  transition: 0.3s ease;
}

.hero-video .menu a:hover {
  color: #ffffff;
}

.hero-video .menu a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .hero-video .barra-superior {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }

  .hero-video .menu {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-video .menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-video .menu li {
    width: 100%;
  }

  .hero-video .menu a {
    width: 100%;
    padding: 0.2rem 0;
  }
}

/* Imagen de portada que se desvanece sobre el video */
.poster-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
    url("../images/keeeeee.png") center/cover no-repeat;
  z-index: 2;
  animation: desvanecerPoster 7.8s ease forwards;
}

@keyframes desvanecerPoster {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }

  70% {
    opacity: 0.35;
    transform: scale(1.03);
    filter: blur(1px);
  }

  100% {
    opacity: 0;
    transform: scale(1.05);
    filter: blur(2px);
    visibility: hidden;
  }
}

/* SCROLLBAR MÁS DELGADA */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #dcdcdc;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0a0a0a 0%, #0a0a0a 82%, #5a0a1f 100%);
  border: 1px solid #dcdcdc;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #000000 0%, #000000 82%, #7a0f2a 100%);
}

.home-proceso {
  width: min(1400px, 94%);
  margin: 3rem auto;
  background: linear-gradient(135deg, #fffdf800, #f5ead8);
  border-radius: 28px;
  padding: 2.4rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.08);
}

.proceso-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.proceso-head h2 {
  margin-bottom: 0.8rem;
}



.proceso-cards article:hover {
  transform: translateY(-6px);
}


.home-mapa {
  width: min(1400px, 94%);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
}

.mapa-texto {
  background: #1f1a17;
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mapa-texto h2 {
  color: white;
  margin: 0.7rem 0 1rem;
}

.mapa-texto p {
  color: rgba(255,255,255,0.88);
}

.mapa-visual {
  min-height: 560px;
}

.mapa-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-tag.claro {
  color: #f8d77b;
}

.btn-home-seccion.btn-claro {
  background: white;
  color: #1f1a17;
}

.home-galeria {
  width: min(1400px, 94%);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
}

.galeria-info-home {
  background: #fffaf100;
  padding: 2.4rem;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.galeria-mosaico {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.galeria-mosaico img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.galeria-mosaico img:nth-child(1) {
  height: 300px;
}

.galeria-mosaico img:nth-child(4) {
  height: 300px;
}

.home-nosotros,
.home-actividades {
  width: min(1400px, 94%);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.nosotros-caja,
.actividades-texto-home {
  background: #fffdf800;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nosotros-logo,
.actividades-img-home {
  background: #f5efe2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.nosotros-logo img,
.actividades-img-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-tag {
  display: inline-block;
  color: var(--verde);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
}

.btn-home-seccion {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.9rem 1.3rem;
  background: var(--vino);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-home-seccion:hover {
  background: #7f0d11;
  color: var(--blanco);
  transform: translateY(-2px);
}



@media (max-width: 1000px) {
  .home-historia,
  .home-proceso .proceso-cards,
  .home-mapa,
  .home-galeria,
  .home-nosotros,
  .home-actividades {
    grid-template-columns: 1fr;
  }

  .historia-img {
    min-height: 420px;
  }

  .mapa-visual {
    min-height: 320px;
  }

  .galeria-mosaico img,
  .galeria-mosaico img:nth-child(1),
  .galeria-mosaico img:nth-child(4) {
    height: 220px;
  }
}


/* MÁS DISPERSIÓN ENTRE BLOQUES */
.home-historia,
.home-proceso,
.home-mapa,
.home-galeria,
.home-nosotros,
.home-actividades {
  position: relative;
}

/* historia un poco hacia la izquierda */
.home-historia {
  width: min(1550px, 94%);
  margin: 3rem 0 5rem 4%;
}

/* proceso más abierto */
.home-proceso {
  width: min(1450px, 90%);
  margin: 0 auto 5rem 10%;
}

/* mapa hacia la derecha */
.home-mapa {
  width: min(1500px, 92%);
  margin: 0 4% 5rem auto;
}

/* galería más ancha y desplazada */
.home-galeria {
  width: min(1500px, 92%);
  margin: 0 auto 5rem 6%;
}

/* nosotros hacia la izquierda */
.home-nosotros {
  width: min(1450px, 90%);
  margin: 0 auto 5rem 3%;
}

/* actividades hacia la derecha */
.home-actividades {
  width: min(1450px, 90%);
  margin: 0 5% 5rem auto;
}


.proceso-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.galeria-mosaico {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .home-historia,
  .home-proceso,
  .home-mapa,
  .home-galeria,
  .home-nosotros,
  .home-actividades {
    width: min(96%, 100%);
    margin: 0 auto 2.5rem;
  }
}


.proceso-video-box {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.proceso-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(3.4);
  transform-origin: center center;
  pointer-events: none;
  display: block;
}


















.contenedor-historia-premium {
  width: min(1450px, 90%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.historia-hero-premium {
  background: linear-gradient(135deg, var(--blanco));
  border-radius: 30px;
  padding: 4rem 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.historia-hero-contenido {
  max-width: 900px;
}

.historia-hero-premium h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  margin-bottom: 1rem;
  color: var(--vino);
}

.hero-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #4c4138;
  max-width: 760px;
}

.historia-bloque {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.historia-bloque--invertido {
  grid-template-columns: 0.75fr 1.2fr;
}

.historia-bloque--invertido .historia-bloque__texto {
  order: 2;
}

.historia-bloque--invertido .historia-bloque__apoyo {
  order: 1;
}

.historia-bloque__texto {
  background: #ffffff00;
  border-radius: 26px;
  padding: 2.2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.historia-bloque__texto h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.historia-bloque__texto p {
  color: #4b4038;
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.historia-bloque__apoyo {
  display: grid;
  gap: 1.2rem;
}

.media-card {
  background: #fffdf900;
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(160,119,86,0.12);
}

.media-card h3 {
  margin-bottom: 0.8rem;
  color: var(--vino);
}

.media-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.media-card li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.media-card--grande {
  padding: 0;
  overflow: hidden;
}

.media-card--grande img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.media-card--video,
.media-card--pdf {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.media-boton {
  display: inline-block;
  text-decoration: none;
  background: var(--vino);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
  text-align: center;
}

.media-boton:hover {
  background: #7f0d11;
  color: #fff;
  transform: translateY(-2px);
}

.historia-info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fffaf200, #f5ead7);
  border-radius: 26px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.info-col h3 {
  color: var(--vino);
  margin-bottom: 1rem;
}

.info-col ul {
  padding-left: 1.2rem;
}

.info-col li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

.historia-tabs-cultura {
  margin-top: 4rem;
}

.cultura-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cultura-card {
  background: var(--blanco);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
  border: 1px solid rgba(160,119,86,0.12);
}

.cultura-card h3 {
  color: var(--vino);
  margin-bottom: 1rem;
}

.cultura-card p {
  color: #4b4038;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.cultura-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .historia-bloque,
  .historia-bloque--invertido,
  .historia-info-box,
  .cultura-grid {
    grid-template-columns: 1fr;
  }

  .historia-bloque--invertido .historia-bloque__texto,
  .historia-bloque--invertido .historia-bloque__apoyo {
    order: unset;
  }
}

@media (max-width: 768px) {
  .contenedor-historia-premium {
    width: min(96%, 100%);
  }

  .historia-hero-premium {
    padding: 2rem 1.3rem;
  }

  .historia-bloque__texto,
  .media-card,
  .cultura-card {
    padding: 1.3rem;
  }
}

.media-youtube {
  width: 90%;
  height: 500px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  background: #000;
}

.media-youtube iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
}


/* =========================
   PROCESO PREMIUM
========================= */

.proceso-premium-main {
  width: min(1450px, 94%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.proceso-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.proceso-hero__texto {
  background: linear-gradient(135deg, var(--blanco));
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proceso-hero__texto h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.proceso-hero__intro {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #4d4239;
  max-width: 720px;
}

.proceso-hero__media {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.10);
}

.proceso-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.proceso-bloque {
  margin-bottom: 3rem;
}

.proceso-bloque--doble {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: stretch;
}

.proceso-bloque--doble.invertido {
  grid-template-columns: 0.85fr 1.15fr;
}

.proceso-card {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
  background: #fffdf9;
}

.proceso-card--texto {
  padding: 2.2rem;
}

.proceso-card--texto h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.proceso-card--texto p {
  line-height: 1.9;
  color: #4d4239;
  margin-bottom: 1rem;
}

.proceso-card--imagen img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.proceso-bloque--franja {
  background: linear-gradient(135deg, #fffdf8, #f5ebdb);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  margin-bottom: 3rem;
}

.franja-contenido {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.franja-texto h2 {
  margin-bottom: 1rem;
}

.franja-texto p {
  line-height: 1.9;
  color: #4d4239;
  margin-bottom: 1rem;
}

.franja-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.09);
}

.franja-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.proceso-grid-etapas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.proceso-grid-etapas--dos {
  grid-template-columns: repeat(2, 1fr);
}

.etapa-card {
  background: #fffdf9;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
  border: 1px solid rgba(160,119,86,0.12);
}

.etapa-numero {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vino);
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
}

.etapa-card h3 {
  color: var(--vino);
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.etapa-card p {
  color: #4d4239;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.proceso-video-premium {
  margin-bottom: 3rem;
}

.proceso-video-premium__box {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
  background: #000;
}

.proceso-video-premium__box iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
}

.proceso-conclusion {
  background: linear-gradient(135deg, #f8f1e4, #efe0c5);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.proceso-conclusion h2 {
  margin-bottom: 1rem;
}

.proceso-conclusion p {
  color: #4d4239;
  line-height: 1.9;
  max-width: 900px;
}

@media (max-width: 1100px) {
  .proceso-hero,
  .proceso-bloque--doble,
  .proceso-bloque--doble.invertido,
  .franja-contenido,
  .proceso-grid-etapas,
  .proceso-grid-etapas--dos {
    grid-template-columns: 1fr;
  }

  .proceso-video-premium__box iframe {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .proceso-premium-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .proceso-hero__texto,
  .proceso-card--texto,
  .proceso-bloque--franja,
  .etapa-card,
  .proceso-conclusion {
    padding: 1.4rem;
  }

  .proceso-hero__media img,
  .proceso-card--imagen img,
  .franja-media img {
    min-height: 260px;
  }

  .proceso-video-premium__box iframe {
    height: 260px;
  }
}

/* =========================
   JUEGO FINAL EN PROCESO
========================= */

.proceso-juego-final {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.proceso-juego-final__head {
  max-width: 860px;
  margin-bottom: 1.8rem;
}

.proceso-juego-final__marco {
  background: linear-gradient(135deg, #fffaf2, #f3e3cb);
  border-radius: 30px;
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(160, 119, 86, 0.16);
}

.proceso-juego-final__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.proceso-juego-final__info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.proceso-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fffdf9;
  color: var(--vino);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(154, 16, 20, 0.12);
}

.proceso-juego-final__nota {
  margin: 0;
  color: #5b4e44;
  font-size: 0.95rem;
}

.juego-embed {
  width: 100%;
height: 1650px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  background: #000;
}

.juego-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1100px) {
  .juego-embed--proceso {
    height: 1050px;
  }
}

@media (max-width: 768px) {
  .proceso-juego-final__marco {
    padding: 1rem;
  }

  .juego-embed--proceso {
    height: 850px;
    border-radius: 20px;
  }
}

/* =========================
   GALERÍA PREMIUM
========================= */

.galeria-premium-main {
  width: min(1450px, 94%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.galeria-hero-premium {
  background: linear-gradient(135deg, #fffaf2, #f3e4cb);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.galeria-hero-premium__texto {
  max-width: 850px;
}

.galeria-hero-premium h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.galeria-hero-premium__intro {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
}

.galeria-destacada {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.galeria-destacada__grande,
.galeria-card-mini,
.mosaico-item {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.galeria-destacada__grande {
  min-height: 620px;
}

.galeria-destacada__grande img,
.galeria-card-mini img,
.mosaico-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.galeria-destacada__grande:hover img,
.galeria-card-mini:hover img,
.mosaico-item:hover img {
  transform: scale(1.05);
}

.galeria-overlay {
  position: absolute;
  left: 30px;
  bottom: 30px;
  max-width: 70%;
  color: white;
}

.galeria-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.galeria-overlay h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.galeria-destacada__lado {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.5rem;
}

.galeria-card-mini {
  min-height: 300px;
}

.galeria-card-texto {
  background: #fffdf9;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.galeria-card-texto h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.galeria-card-texto p {
  color: #56493f;
  line-height: 1.85;
  margin: 0;
}

.galeria-mosaico {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.mosaico-item {
  min-height: 280px;
}

.mosaico-item.alto {
  min-height: 420px;
}

.mosaico-item.ancho {
  grid-column: span 2;
  min-height: 320px;
}

.mosaico-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: white;
  z-index: 2;
}

.mosaico-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.46), rgba(0,0,0,0.06));
  z-index: 1;
}

.mosaico-info span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.mosaico-info h3 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
}

.galeria-frase-final__box {
  background: linear-gradient(135deg, #f7f0e3, #efe0c3);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.galeria-frase-final__box h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
  max-width: 980px;
  margin: 0;
}

@media (max-width: 1100px) {
  .galeria-destacada,
  .galeria-destacada__lado,
  .galeria-mosaico {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .mosaico-item.ancho {
    grid-column: span 1;
  }

  .galeria-destacada__grande {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .galeria-premium-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .galeria-hero-premium,
  .galeria-card-texto,
  .galeria-frase-final__box {
    padding: 1.5rem;
  }

  .galeria-overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .galeria-overlay h2 {
    font-size: 2rem;
  }
}


.galeria-mosaico-grande {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.galeria-mosaico-grande .mosaico-item {
  min-height: 280px;
}

.galeria-mosaico-grande .mosaico-item.alto {
  min-height: 430px;
}

.galeria-mosaico-grande .mosaico-item.ancho {
  grid-column: span 2;
  min-height: 320px;
}

@media (max-width: 1200px) {
  .galeria-mosaico-grande {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-mosaico-grande .mosaico-item.ancho {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .galeria-mosaico-grande {
    grid-template-columns: 1fr;
  }

  .galeria-mosaico-grande .mosaico-item.ancho {
    grid-column: span 1;
  }
}



/* =========================
   BLOQUE GALERÍA HOME
========================= */

.home-galeria {
  width: min(1200px, 92%);
  margin: 4rem auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: center;
}

.galeria-info-home {
  background: #f3e7d2;
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.galeria-info-home .mini-tag {
  display: inline-block;
  color: #4f8b63;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.galeria-info-home h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  color: #9A1014;
  margin-bottom: 1rem;
}

.galeria-info-home p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3f342d;
  margin-bottom: 1.6rem;
}

.galeria-mosaico {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  grid-template-areas:
    "foto1 foto2 foto3"
    "foto1 foto4 foto4";
  gap: 16px;
  align-items: stretch;
}

.galeria-mosaico .foto {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #ddd;
}

.galeria-mosaico .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.galeria-mosaico .foto:hover img {
  transform: scale(1.05);
}

.foto-1 {
  grid-area: foto1;
}

.foto-2 {
  grid-area: foto2;
}

.foto-3 {
  grid-area: foto3;
}

.foto-4 {
  grid-area: foto4;
}

/* Botón */
.btn-home-seccion {
  display: inline-block;
  background: #9A1014;
  color: #fff;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-home-seccion:hover {
  background: #7d0d10;
  transform: translateY(-2px);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .home-galeria {
    grid-template-columns: 1fr;
  }

  .galeria-mosaico {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    grid-template-areas:
      "foto1 foto1"
      "foto2 foto3"
      "foto4 foto4";
  }
}

@media (max-width: 576px) {
  .galeria-info-home {
    padding: 2rem 1.4rem;
  }

  .galeria-mosaico {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
    grid-template-areas:
      "foto1"
      "foto2"
      "foto3"
      "foto4";
  }
}


/* =========================
   ACTIVIDADES PREMIUM
========================= */

.actividades-premium-main {
  width: min(1400px, 94%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.actividades-hero {
  background: linear-gradient(135deg, #fffaf2, #f3e4cb);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.actividades-hero__texto {
  max-width: 860px;
}

.actividades-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.actividades-hero__intro {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
}

.actividades-destacada {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.actividad-destacada__texto {
  background: #fffdf9;
  border-radius: 26px;
  padding: 2.2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.actividad-destacada__texto h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.9rem;
}

.actividad-destacada__texto p {
  color: #55483e;
  line-height: 1.85;
  margin: 0;
}

.actividad-destacada__visual {
  background: #fffdf9;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.actividad-destacada__visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.actividades-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.actividad-card-premium {
  background: #fffdf9;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
}

.actividad-pill {
  display: inline-block;
  background: #f3e7d2;
  color: #9A1014;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.actividad-card-premium h3 {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}

.actividad-card-premium p {
  color: #574b41;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.actividades-frase-final__box {
  background: linear-gradient(135deg, #f7f0e3, #efe0c3);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.actividades-frase-final__box h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
  max-width: 980px;
  margin: 0;
}

@media (max-width: 1100px) {
  .actividades-destacada,
  .actividades-grid-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .actividades-premium-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .actividades-hero,
  .actividad-destacada__texto,
  .actividad-card-premium,
  .actividades-frase-final__box {
    padding: 1.5rem;
  }
}


/* =========================
   FORMULARIO / AUTOEVALUACIÓN
========================= */

.formulario-main {
  width: min(1100px, 94%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.formulario-hero {
  background: linear-gradient(135deg, var(--blanco));
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.formulario-hero__texto {
  max-width: 860px;
}

.formulario-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.formulario-hero__intro {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
}

.formulario-wrap {
  display: flex;
  justify-content: center;
}

.formulario-card {
  width: 100%;
  background: var(--blanco);
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.question {
  margin-bottom: 1.8rem;
  padding: 1.2rem 1.2rem 1rem;
  background: #f9f2e6;
  border-radius: 18px;
  border: 1px solid rgba(160, 119, 86, 0.10);
}

.question > label {
  display: block;
  font-weight: 700;
  color: #4a2e24;
  margin-bottom: 0.9rem;
  font-size: 1.02rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.options label {
  color: #5b4e44;
  cursor: pointer;
  font-weight: 500;
}

.options input[type="radio"] {
  margin-right: 0.6rem;
  accent-color: #9A1014;
}

.btn-formulario-evaluar {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--vino);
  color: white;
  border: none;
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-formulario-evaluar:hover {
  transform: translateY(-2px);
  background: #7f0d11;
}

.resultado-formulario {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: #f8f3ea;
  border-left: 5px solid #9A1014;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.resultado-formulario.show {
  opacity: 1;
  transform: translateY(0);
}

.resultado-formulario.high {
  color: #2f7d45;
}

.resultado-formulario.medium {
  color: #b97810;
}

.resultado-formulario.low {
  color: #b03a2e;
}

@media (max-width: 768px) {
  .formulario-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .formulario-hero,
  .formulario-card {
    padding: 1.5rem;
  }

  .question {
    padding: 1rem;
  }
}


/* =========================
   MAPA DEL TESORO CAFETERO
========================= */

.mapa-tesoro-main {
  width: min(1350px, 90%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.mapa-tesoro-head {
  background: linear-gradient(135deg, #fffaf2, #f3e4cb);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.mapa-tesoro-head h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.mapa-tesoro-intro {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;
}

.experiencia-interactiva {
  position: relative;
  min-height: 760px;
  background: var(--blanco);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,0.08);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
}

.screen.active {
  display: block;
}

.tesoro-panel {
  width: min(700px, 88%);
  background: var(--blanco);
  border-radius: 24px;
  padding: 2.4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.tesoro-panel-intro {
  position: absolute;
  inset: 0;
  margin: auto;
  height: fit-content;
  text-align: center;
}

.tesoro-panel-intro h2 {
  margin-bottom: 1rem;
}

.tesoro-panel-intro p {
  color: #574b41;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.mapa-full {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.interfaz-juego {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.4rem;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.info-mision {
  width: min(860px, 100%);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border: 1px solid rgba(160, 119, 86, 0.12);
  text-align: center;
}

.info-mision h3 {
  color: #6F1D1B;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.info-mision p {
  color: #4f443b;
  margin: 0;
  font-size: 1.02rem;
}

.feedback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.feedback-card {
  width: min(720px, 92%);
  background: #fffdf9;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  text-align: center;
}

.feedback-card h2 {
  margin-bottom: 0.8rem;
}

.feedback-card p {
  color: #574b41;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.status-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.acciones-tesoro {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-game,
.btn-game-secondary {
  border: none;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-game {
  background: var(--vino);
  color: white;
}

.btn-game:hover {
  background: #7f0d11;
  transform: translateY(-2px);
}

.btn-game-secondary {
  background: #f0e1c7;
  color: #5a3b2d;
}

.btn-game-secondary:hover {
  background: #e3cfab;
  transform: translateY(-2px);
}

/* hotspots del juego */
.hotspot {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid white;
  background: rgba(154, 16, 20, 0.88);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.20);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 6;
}

.hotspot:hover {
  transform: scale(1.08);
  background: #c62024;
}

@media (max-width: 768px) {
  .mapa-tesoro-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .mapa-tesoro-head,
  .tesoro-panel,
  .feedback-card {
    padding: 1.5rem;
  }

  .experiencia-interactiva {
    min-height: 620px;
  }

  .info-mision {
    padding: 1rem;
  }

  .hotspot {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
}


/* =========================
   CATA SENSORIAL
========================= */

.cata-main {
  width: min(1350px, 90%);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.cata-head {
  background: linear-gradient(135deg, #fffaf2, #f3e4cb);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.cata-head h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.cata-intro {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;
}

.cata-container {
  width: 100%;
  min-height: 760px;
  background: linear-gradient(135deg, #FBEED7 0%, #ecd0a4 100%);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.cata-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.45s ease;
}

.cata-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cata-badge {
  background: #d4a373;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.cata-title {
  color: #4A1513;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cata-text {
  color: #555;
  font-size: 1.15rem;
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-cata {
  background: #6F1D1B;
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 15px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 0 #4A1513, 0 15px 20px rgba(0,0,0,0.18);
  transition: all 0.2s;
}

.btn-cata:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 #4A1513, 0 0 0 rgba(0,0,0,0.18);
}

.slider-container {
  width: 100%;
  max-width: 430px;
  background: white;
  padding: 2rem;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  margin: 1.5rem 0 2rem;
}

.cup-visualization {
  width: 130px;
  height: 130px;
  background: #eee;
  border-radius: 50%;
  margin: 0 auto 2rem;
  position: relative;
  border: 8px solid white;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.18), 0 10px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

.coffee-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: #c39a6b;
  transition: background-color 0.3s ease;
}

.slider-container input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

.slider-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #6F1D1B;
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 4px 10px rgba(111,29,27,0.4);
}

.slider-container input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #e2c79f;
  border-radius: 999px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  color: #6b5a4d;
  font-weight: 600;
}

.answers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(860px, 100%);
}

.answer-btn {
  border: none;
  background: #fffaf2;
  color: #5c3a2a;
  padding: 1rem;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.answer-btn:hover {
  transform: translateY(-3px);
  background: #f3e4cb;
}

.modal-cata.hidden {
  display: none;
}

.modal-cata {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.36);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-cata-card {
  width: min(620px, 92%);
  background: #fffdf9;
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.fb-icon {
  font-size: 3rem;
  margin-bottom: 0.7rem;
}

.modal-cata-card h3 {
  margin-bottom: 0.8rem;
  color: #4A1513;
}

.modal-cata-card p {
  color: #5a4d43;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

@media (max-width: 900px) {
  .answers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cata-main {
    width: min(96%, 100%);
    padding-top: 2rem;
  }

  .cata-head,
  .slider-container,
  .modal-cata-card {
    padding: 1.5rem;
  }

  .cata-container {
    min-height: 680px;
  }

  .cata-text {
    font-size: 1rem;
  }
}


/* =========================
   GALERÍA NUEVA SIN CHOQUES
========================= */

.cg-hero {
  background: linear-gradient(135deg, #fffaf2, #f3e4cb);
  border-radius: 30px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.cg-hero__text {
  max-width: 850px;
}

.cg-kicker {
  color: #529164;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.cg-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 1rem;
  color: #9A1014;
}

.cg-lead {
  color: #52463d;
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 760px;
}

.cg-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.6rem;
  margin-bottom: 2.6rem;
}

.cg-feature__main,
.cg-side-card,
.cg-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.cg-feature__main {
  min-height: 620px;
}

.cg-feature__main img,
.cg-side-card--image img,
.cg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.cg-feature__main:hover img,
.cg-side-card--image:hover img,
.cg-card:hover img {
  transform: scale(1.04);
}

.cg-feature__overlay {
  position: absolute;
  left: 30px;
  bottom: 30px;
  max-width: 70%;
  color: white;
  z-index: 2;
}

.cg-chip {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cg-feature__overlay h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.cg-feature__side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.6rem;
}

.cg-side-card--image {
  min-height: 300px;
}

.cg-side-card--text {
  background: #fffdf9;
  padding: 2rem;
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.cg-side-card--text h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #9A1014;
}

.cg-side-card--text p {
  color: #56493f;
  line-height: 1.85;
  margin: 0;
}

.cg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 1.6rem;
}

.cg-card {
  background: #ddd;
}

.cg-card--tall {
  grid-row: span 2;
}

.cg-card--wide {
  grid-column: span 2;
}

.cg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.50), rgba(0,0,0,0.08));
  z-index: 1;
}

.cg-card__info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: white;
}

.cg-card__info span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.cg-card__info h3 {
  color: white;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

@media (max-width: 1100px) {
  .cg-feature {
    grid-template-columns: 1fr;
  }

  .cg-feature__side {
    grid-template-rows: auto;
  }

  .cg-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }

  .cg-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .cg-hero,
  .cg-side-card--text {
    padding: 1.5rem;
  }

  .cg-feature__main {
    min-height: 400px;
  }

  .cg-feature__overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .cg-feature__overlay h2 {
    font-size: 2rem;
  }

  .cg-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .cg-card--wide,
  .cg-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}


/* =========================
   TIPOGRAFÍA GLOBAL
========================= */

/* Todo el texto normal */
body,
p,
span,
a,
li,
ul,
ol,
label,
button,
input,
textarea,
select,
small,
strong,
em,
div {
  font-family: 'Poppins', sans-serif;
}

/* Todos los títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}


/* =========================
   CONOCIMIENTOS PREVIOS
========================= */

.previos-cafe {
  width: min(1400px, 90%);
  margin: 2.5rem auto 2rem;
  background: linear-gradient(135deg, var(--blanco));
  border-radius: 28px;
  padding: 2.4rem 2rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(160, 119, 86, 0.12);
}

.previos-cafe__contenido {
  max-width: 900px;
}

.previos-cafe h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--vino);
}

.previos-cafe__texto {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #56493f;
  margin-bottom: 1.4rem;
}

.previos-cafe__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-previos {
  display: inline-block;
  background: var(--vino);
  color: white;
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-previos:hover {
  background: #7f0d11;
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 768px) {
  .previos-cafe {
    width: min(96%, 100%);
    padding: 1.5rem;
    margin-top: 1.5rem;
  }

  .previos-cafe h2 {
    font-size: 2rem;
  }

  .previos-cafe__texto {
    font-size: 1rem;
  }
}


.btn-ruta-superior {
  display: inline-block;
  background: var(--vino);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.btn-ruta-superior:hover {
  background: #7f0d11;
  color: #fff;
  transform: translateY(-2px);
}

.ruta-superior-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

/* BOTÓN SUBIR ARRIBA */
.btn-subir-arriba {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: var(--vino);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
  z-index: 999;
}

.btn-subir-arriba.mostrar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-subir-arriba:hover {
  background: #7f0d11;
  transform: translateY(-3px);
}
/* ---- NUEVOS ESTILOS KATURRO ---- */

/* Colores de Subtítulos */
.subtitulo-verde {
  color: var(--verde) !important;
}
.subtitulo-amarillo {
  color: #F0C05A !important; /* Amarillo cálido */
}

/* Estilos Dropdown (Igual al Navbar) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 253, 253, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 253, 253, 0.16);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 220px;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  margin-top: 10px;
}

.nav-item-dropdown.active .dropdown-submenu {
  display: block;
  animation: fadeInDropdown 0.3s ease;
}

.dropdown-submenu li a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--vino) !important;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.dropdown-submenu li a::after {
  display: none;
}

.dropdown-submenu li a:hover {
  background: rgba(154, 16, 20, 0.08);
  color: var(--vino) !important;
  transform: translateX(5px);
}

@keyframes fadeInDropdown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intercalado de tarjetas de dos columnas (Ajuste para móviles y layout) */
.historia-bloque--editorial,
.historia-bloque--invertido {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}
.historia-bloque--editorial {
    grid-template-columns: 1.2fr 1fr;
}
.historia-bloque--invertido {
    grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 900px) {
    .historia-bloque--editorial,
    .historia-bloque--invertido {
        grid-template-columns: 1fr;
    }
}

/* Estilos para el botón de ir a actividad */
.btn-ir-actividad {
  display: inline-block;
  background-color: var(--vino);
  color: white !important;
  padding: 15px 35px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(154, 16, 20, 0.4);
  text-align: center;
}

.btn-ir-actividad:hover {
  background-color: transparent;
  color: var(--vino) !important;
  border: 2px solid var(--vino);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(154, 16, 20, 0.6);
}

.contenedor-btn-actividad {
  text-align: center;
  width: 100%;
}


/* --- OVERRIDES PARA REFINAMIENTO DE KATURRO --- */

/* 1. Ajustes en inicio-editorial para evitar superposición y tamaños gigantes */
.inicio-editorial {
  padding: 4rem 2rem;
  background-color: var(--crema);
}

.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1350px;
  margin: 0 auto;
  align-items: center;
}

.editorial-img-grande {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.editorial-img-grande img {
  width: 100%;
  height: auto;
  display: block;
}

.editorial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.editorial-overlay h2 {
  color: white !important;
  margin: 0;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.editorial-texto-superior {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-texto-superior p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.editorial-img-pequena {
  display: none; /* Hide the small image to clean up the layout */
}

@media (max-width: 900px) {
  .editorial-layout {
    grid-template-columns: 1fr;
  }
}

/* 2. Ajustes en botones de ruta (separarlos de la esquina y más padding) */
.ruta-superior-wrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
  margin-bottom: 1rem;
  background: transparent !important;
}

.btn-ruta-superior {
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  transition: transform 0.3s ease !important;
  margin-top: 2rem;
}

.btn-ruta-superior:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important;
}

/* 3. Ajustes de mapa (quitar fondo negro, ocupar ancho completo) */
.seccion-mapa {
  background-color: var(--blanco);
  padding: 2rem 0 !important;
}

.mapa-video-grid {
  display: flex !important;
  flex-direction: column !important;
}

.panel-mapa {
  width: 100% !important;
  max-width: 100% !important;
  height: 600px !important;
}

.panel-video {
  display: none !important; /* Esconder el video de El Xokas */
}

/* 4. Mejoras de legibilidad en Proceso */
.proceso-card--texto {
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}





/* --- TARJETA UNIFICADA (FILA INTERCALADA) --- */
.tarjeta-unificada {
  background: white !important;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 3rem;
  max-width: 1350px; width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.tarjeta-unificada.tarjeta-invertida {
  flex-direction: row-reverse;
}

.tarjeta-unificada__img {
  width: 50%;
  object-fit: cover;
  min-height: 400px;
}

.tarjeta-unificada__contenido {
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tarjeta-unificada__contenido h2 {
  color: var(--vino);
  margin-bottom: 1rem;
  font-weight: 700;
}

.tarjeta-unificada__contenido p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* El apoyo ahora va debajo de todo si hay videos */
.tarjeta-unificada__apoyo {
  width: 100%;
  background: #fdfdfd;
  padding: 2rem;
  border-top: 1px solid #eaeaea;
}

/* Envolver imagen y contenido juntos para que el aside (apoyo) caiga debajo */
/* Necesitamos un pequeño ajuste: flex-wrap: wrap */
.tarjeta-unificada {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .tarjeta-unificada, .tarjeta-unificada.tarjeta-invertida {
    flex-direction: column;
  }
  .tarjeta-unificada__img, .tarjeta-unificada__contenido {
    width: 100%;
  }
}

/* --- REFINAMIENTO DEL NAVBAR Y DESPLEGABLE --- */
.nav-link-icon {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.nav-link-icon i {
  font-size: 1.1rem;
  color: var(--vino);
}

.dropdown-submenu {
  text-align: left !important;
  padding: 1rem 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border: 1px solid #eee !important;
}

.dropdown-submenu li a {
  text-align: left !important;
  padding: 0.8rem 1.5rem !important;
  display: block;
}

.dropdown-submenu li a:hover {
  background-color: var(--crema) !important;
  color: var(--vino) !important;
  padding-left: 1.8rem !important; /* Animación sutil */
}

/* --- AJUSTES EN INTRODUCCION --- */
/* Hacer mapa legible */
.home-mapa {
  background-color: #d7ccc8 !important; /* Marrón más claro y suave */
}

.home-mapa .mapa-texto h2, .home-mapa .mapa-texto p {
  color: #2b1b17 !important; /* Texto oscuro para mejor contraste */
}

/* Arreglar Saberes Cafeteros grid images */
.resumen-card-img img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* En lugar de cover para no deformar Código Cafetero si aún está (o las nuevas) */
  background: #fff;
  padding: 1rem;
}

/* Fix for the interactive map section alignment and text color */
.seccion-mapa .descripcion-seccion {
  color: #555 !important;
}

.mapa-video-grid {
  align-items: center !important;
}

.panel-mapa {
  margin: 0 auto !important;
}
