/* =========================================================
   BASE: altura completa para footer anclado
========================================================= */
/* =========================================================
   PALETA VERDE TURQUESA
   - Solo cambia colores, no estructura ni distribución
========================================================= */
:root {
  --color-primary: #007f73;
  --color-primary-dark: #005c53;
  --color-primary-deep: #004d40;
  --color-accent: #20c997;
  --color-accent-dark: #009e8e;
}

html, body {
    height: 100%;
    background-color: #f8f9fa;
}

/* =========================================================
   ESPACIADO: evita que el header fijo tape el contenido
========================================================= */
.content-padding {
  padding-top: 140px;
}

/* =========================================================
   HEADER: barra superior fija
========================================================= */
.top-bar {
  background-color: var(--color-primary);
  position: fixed;
  top: 0;
  width: 100%;
  height: 35px;
  z-index: 1040;
}

/* =========================================================
   NAVBAR PRINCIPAL: flotante debajo de la top-bar
========================================================= */
.custom-navbar {
  background-color: black;
  top: 35px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.navbar-nav {
  gap: 1.5rem;
}

.header-logo {
  height: 80px;
  width: 250px;
  display: block;
}

.btn-inscripcion {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.3);
  transition: all 0.3s ease;
}

.btn-inscripcion:hover {
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-primary-deep));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.6);
}

.navbar-nav .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.4em;
  font-size: 0.85em;
}

/* =========================================================
   FOOTER
========================================================= */
.custom-footer {
  background-color: #004686; /* Se mantiene el color azul original del footer */
  border-top: 1px solid #1f2937;
  z-index: 10;
  position: relative;
}

.footer-logo-img {
    height: auto;
    max-height: 150px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.03);
}

@media (max-width: 576px) {
    .footer-logo-img {
        max-height: 60px;
    }
}

/* =========================================================
   FONDO DECORATIVO A LA DERECHA
========================================================= */
.page-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
}

main.page-content {
    flex: 1 0 auto;
}

.bg-right {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  width: min(42vw, 560px);
  background-image: url("../img/fondo-congreso.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  opacity: 0.40;
  z-index: 0;
  pointer-events: none;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Banner tipo "Workshops"
========================================================= */
.hero-strip {
  left: 25px;
  right: 25px;
  display: flex;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  min-height: 190px;
  height: 300px;
  background: var(--color-primary);
  position: relative;
  z-index: 2;
}

.hero-strip__media {
  flex: 0 0 58%;
  min-height: 190px;
}

.hero-strip__media img,
.hero-strip__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-strip__panel {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 2.2rem 2.4rem;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.90) 0%,
    rgba(0,127,115,0.92) 55%,
    rgba(0,127,115,0.92) 100%
  );
}

.hero-strip__title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
}

@media (max-width: 991.98px) {
  .hero-strip {
    flex-direction: column;
    min-height: 0;
  }
  .hero-strip__media {
    flex-basis: auto;
    height: 210px;
  }
  .hero-strip__panel {
    align-items: center;
    padding: 1.4rem 1.4rem;
  }
}

/* =========================================================
   TARJETAS DE PONENCIAS
   - Hover: fondo negro, letras blancas, botón cyan
   - Botón fijo en esquina inferior derecha
========================================================= */
.row.g-4 {
  row-gap: 2.5rem !important;
}

/* --- Tarjeta base --- */
.workshop-card {
  display: flex !important;
  flex-direction: column !important;
  background-color: #ffffff;
  cursor: pointer;
  /* Transición suave en TODO: fondo, sombra, transformación */
  transition:
    transform      0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow     0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.45s ease;
}

/* --- Cuerpo de la tarjeta: flex para empujar botón abajo --- */
.workshop-card .card-body {
  transition: background-color 0.45s ease;
}

/* --- Título y texto: transición de color suave --- */
.workshop-card .card-title {
  color: #1a1a1a;
  transition: color 0.45s ease;
}

.workshop-card .card-text {
  color: #6c757d;
  transition: color 0.45s ease;
}

/* --- Botón: transición de colores suave --- */
.workshop-card .btn-outline-dark {
  transition:
    color            0.45s ease,
    border-color     0.45s ease,
    background-color 0.45s ease,
    box-shadow       0.45s ease;
}

.card.workshop-card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.card.workshop-card .card-body .card-text {
  flex-grow: 1 !important;
  margin-bottom: 0 !important;
}

.card.workshop-card .card-body .d-flex.justify-content-end {
  margin-top: auto !important;
  padding-top: 1rem; /* ← ajustá este valor a gusto: 0.5rem, 1rem, 1.5rem */
}

/* =============================================
   HOVER COMPLETO: toda la tarjeta se oscurece
============================================= */
.workshop-card:hover {
  transform: translateY(-10px) scale(1.02);
  background-color: #111111 !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

/* El card-body hereda el fondo negro */
.workshop-card:hover .card-body {
  background-color: #111111;
}

/* Título → blanco */
.workshop-card:hover .card-title {
  color: #ffffff;
}

/* Subtítulo (nombre del ponente) → gris claro */
.workshop-card:hover .card-text {
  color: rgba(255, 255, 255, 0.65);
}

/* Botón → borde y texto cyan */
.workshop-card:hover .btn-outline-dark {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: transparent;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.25);
}

/* Botón dentro del hover: al pasar sobre el propio botón */
.workshop-card:hover .btn-outline-dark:hover {
  background-color: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
  box-shadow: 0 0 16px rgba(0, 180, 216, 0.5);
}

/* =============================================
   IMAGEN PRINCIPAL DEL PONENTE
============================================= */
.workshop-img {
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

/* =============================================
   BADGE DE BANDERA QUE SOBRESALE
============================================= */
.speaker-badge {
  position: absolute;
  bottom: -25px;
  right: 20px;
  z-index: 10;
}

.speaker-badge img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.workshop-card:hover .speaker-badge img {
  transform: rotate(5deg) scale(1.1);
}

/* =========================================================
   SECCIÓN INFORMATIVA
========================================================= */
.section-info__block {
  max-width: 780px;
}

.section-info__heading {
  color: var(--color-primary);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.section-info__divider {
  width: 300px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.section-info__body {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
}

@media (max-width: 576px) {
  .section-info__heading {
    font-size: 1.2rem;
  }
  .section-info__divider {
    width: 55px;
  }
}

/* =========================================================
   HERO PRINCIPAL (index)
========================================================= */
.hero-main {
  left: 25px;
  right: 25px;
  display: flex;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  height: 420px;
  background: #000;
  position: relative;
  z-index: 2;
  margin-right: 40px;
}

.hero-main__media {
  flex: 0 0 55%;
  position: relative;
}

.hero-main__media video,
.hero-main__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.hero-main__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    135deg,
    #000000 0%,
    var(--color-primary-deep) 50%,
    var(--color-primary) 100%
  );
}

.hero-main__logo {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.hero-main__divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 1.2rem auto 1rem;
}

.hero-main__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}

/* =========================================================
   CARDS ACCESO RÁPIDO
========================================================= */
.quick-access {
  display: flex;
  margin: 0 25px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-primary);
  margin-bottom: 25px;
}

.quick-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}

.quick-card:last-child {
  border-right: none;
}

.quick-card:hover {
  background: rgba(32,201,151,0.25);
  color: #fff;
}

.quick-card__img {
  flex: 0 0 200px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}

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

.quick-card__title {
  font-weight: 1000;
  font-size: 1.5rem;
  margin: 0 0 0.15rem;
}

.quick-card__sub {
  font-size: 1rem;
  opacity: 0.75;
  margin: 0;
}

@media (max-width: 991.98px) {
  .hero-main {
    flex-direction: column;
    height: auto;
  }
  .hero-main__media {
    flex-basis: auto;
    height: 240px;
  }
  .hero-main__brand {
    padding: 2rem 1.5rem;
  }
  .quick-access {
    flex-direction: column;
    margin: 0 25px;
    margin-bottom: 1.5rem;
  }
  .quick-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .quick-card:last-child {
    border-bottom: none;
  }
  .quick-card__img {
    flex: 0 0 120px;
    height: 80px;
  }
  .quick-card__title {
    font-size: 1.1rem;
  }
  .quick-card__sub {
    font-size: 0.85rem;
  }
}

/* =========================================================
   PÁGINA: PONENCIAS
   - Estilos movidos desde ponencias.html
   - Todo queda centralizado en css/styles.css
   - Reglas scoped con .page-ponencias para no afectar header,
     footer ni otras páginas que heredan este mismo archivo
========================================================= */

.page-ponencias {
  --ponencias-accent: #1a5f3d;
  --ponencias-accent-2: #2d8a5f;
  --ponencias-accent-soft: #e8f4f0;
  --ponencias-text-main: #0f2438;
  --ponencias-text-muted: #5f6b7a;
  --ponencias-card-radius: 22px;
  --ponencias-shadow-soft: 0 16px 40px rgba(15, 36, 56, 0.10);
  --ponencias-shadow-featured: 0 20px 45px rgba(26, 95, 61, 0.16);
}

/* ---------- Encabezados internos ---------- */
.page-ponencias .section-intro {
  margin-bottom: 1.5rem;
}

.page-ponencias .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: var(--ponencias-text-main);
  margin-bottom: .5rem;
}

.page-ponencias .regular-section-title {
  margin-top: .5rem;
  margin-bottom: 1.8rem;
}

.page-ponencias .regular-section-title h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--ponencias-text-main);
  margin-bottom: .35rem;
}

/* ---------- Bloque de ponencias destacadas ---------- */
.page-ponencias .special-speakers-block {
  margin-bottom: 4rem;
  position: relative;
}

.page-ponencias .special-speakers-frame {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid rgba(26, 95, 61, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--ponencias-shadow-soft);
}

/* ---------- Hero de Ponencias ---------- */
.page-ponencias .hero-strip {
  display: flex;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  min-height: 190px;
  height: 300px;
  background: linear-gradient(135deg, var(--ponencias-accent), var(--ponencias-accent-2));
  position: relative;
  z-index: 2;
}

.page-ponencias .hero-strip__media {
  flex: 0 0 58%;
  min-height: 190px;
}

.page-ponencias .hero-strip__media video,
.page-ponencias .hero-strip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Se redefine el panel solo para Ponencias para evitar heredar el fondo global */
.page-ponencias .hero-strip__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.2rem 2.4rem;
  background: linear-gradient(
    90deg,
    rgba(26, 95, 61, 0.95) 0%,
    rgba(45, 138, 95, 0.95) 100%
  );
}

.page-ponencias .hero-strip__title {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
}

/* ---------- Tabs / Filtros ---------- */
.page-ponencias .date-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.page-ponencias .date-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 2rem;
  border-radius: 14px;
  border: 2px solid rgba(26, 95, 61, 0.2);
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: #374151;
  min-width: 130px;
}

.page-ponencias .date-tab:hover {
  border-color: var(--ponencias-accent);
  color: var(--ponencias-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 95, 61, 0.12);
}

.page-ponencias .date-tab.active {
  background: linear-gradient(135deg, var(--ponencias-accent), var(--ponencias-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px rgba(26, 95, 61, 0.3);
  transform: translateY(-3px);
}

.page-ponencias .date-tab__day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.page-ponencias .date-tab__month {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.2rem;
  text-align: center;
}

/* ---------- Tarjetas de ponencias ---------- */
.page-ponencias .workshop-card {
  border-radius: var(--ponencias-card-radius);
  overflow: hidden;
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.page-ponencias .workshop-card:hover {
  transform: translateY(-6px);
  background: #fff !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
}

.page-ponencias .workshop-card .card-body {
  padding-top: 1.5rem !important;
  background: transparent;
}

.page-ponencias .workshop-card:hover .card-body {
  background: transparent;
}

.page-ponencias .workshop-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  background: #edf2f7;
}

.page-ponencias .workshop-card .card-title {
  color: var(--ponencias-text-main);
  line-height: 1.35;
  min-height: 70px;
  font-size: 1rem;
  font-weight: 700;
}

.page-ponencias .workshop-card:hover .card-title {
  color: var(--ponencias-text-main);
}

.page-ponencias .workshop-card .card-text {
  color: var(--ponencias-text-muted);
  font-size: .95rem;
}

.page-ponencias .workshop-card:hover .card-text {
  color: var(--ponencias-text-muted);
}

.page-ponencias .speaker-subtitle {
  font-size: 0.9rem;
  color: var(--ponencias-text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-ponencias .workshop-card .btn {
  border-width: 1.5px;
  font-weight: 600;
  transition: all .25s ease;
  border-color: var(--ponencias-accent);
  color: var(--ponencias-accent);
  background: transparent;
}

.page-ponencias .workshop-card .btn:hover {
  transform: translateY(-1px);
  background: var(--ponencias-accent);
  border-color: var(--ponencias-accent);
  color: #fff;
}

/* ---------- Tarjetas destacadas ---------- */
.page-ponencias .workshop-card--featured {
  position: relative;
  border: 2px solid var(--ponencias-accent) !important;
  box-shadow: var(--ponencias-shadow-featured) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f0faf8 100%);
}

.page-ponencias .workshop-card--featured:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0faf8 100%) !important;
}

.page-ponencias .workshop-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--ponencias-card-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 138, 95, .35), rgba(26, 95, 61, .08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.page-ponencias .featured-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  background: linear-gradient(135deg, var(--ponencias-accent), var(--ponencias-accent-2));
  color: #fff;
  padding: .5rem .95rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(26, 95, 61, .28);
}

.page-ponencias .workshop-card--featured .card-title,
.page-ponencias .workshop-card--featured:hover .card-title {
  color: var(--ponencias-accent);
  font-size: 1.08rem;
  min-height: 62px;
  font-weight: 700;
}

.page-ponencias .workshop-card--featured .card-text,
.page-ponencias .workshop-card--featured:hover .card-text {
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- Modal de ponente ---------- */
.page-ponencias .speaker-modal-content {
  border-radius: 24px;
  overflow: hidden;
}

.page-ponencias .speaker-modal__img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  background: #edf2f7;
}

.page-ponencias .speaker-modal__name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ponencias-text-main);
  margin-bottom: .35rem;
}

.page-ponencias .speaker-modal__title {
  color: var(--ponencias-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .8rem;
}

.page-ponencias .speaker-modal__meta {
  color: var(--ponencias-text-muted);
  margin-bottom: 1rem;
}

.page-ponencias .speaker-schedule-card {
  border: 1px solid rgba(26, 95, 61, .08);
  border-radius: 16px;
  padding: 1rem;
  background: #f8fbff;
  margin-bottom: .9rem;
}

.page-ponencias .speaker-schedule-card:last-child {
  margin-bottom: 0;
}

.page-ponencias .speaker-schedule-card__day {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ponencias-accent);
  background: var(--ponencias-accent-soft);
  border-radius: 999px;
  padding: .35rem .7rem;
  margin-bottom: .65rem;
}

.page-ponencias .speaker-schedule-card__time {
  font-weight: 700;
  color: var(--ponencias-text-main);
  margin-bottom: .3rem;
}

.page-ponencias .speaker-schedule-card__topic {
  color: var(--ponencias-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.page-ponencias .modal-close-x {
  border: 0;
  background: transparent;
  color: var(--ponencias-text-main);
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.page-ponencias .modal-close-x:hover {
  background: rgba(26, 95, 61, 0.08);
  transform: scale(1.05);
}

.page-ponencias .modal-close-x:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(26, 95, 61, 0.18);
}

/* ---------- Utilidades de la página ---------- */
.page-ponencias .hidden-by-filter {
  display: none !important;
}

/* ---------- Responsive Ponencias ---------- */
@media (max-width: 991.98px) {
  .page-ponencias .special-speakers-frame {
    padding: 1.25rem;
  }

  .page-ponencias .workshop-img {
    height: 280px;
  }

  .page-ponencias .hero-strip {
    flex-direction: column;
    min-height: 0;
  }

  .page-ponencias .hero-strip__media {
    flex-basis: auto;
    height: 210px;
  }

  .page-ponencias .hero-strip__panel {
    padding: 1.4rem;
  }

  .page-ponencias .date-tab {
    min-width: 110px;
    padding: 0.8rem 1.4rem;
  }
}

@media (max-width: 575.98px) {
  .page-ponencias .workshop-img {
    height: 260px;
  }

  .page-ponencias .workshop-card .card-body {
    padding-top: 1.5rem !important;
  }
}


/* =========================================================
   PÁGINA: LUGAR
   - Estilos movidos desde lugar.html
   - Reglas scoped con .page-lugar para no afectar header,
     footer ni otras páginas que heredan este mismo archivo
========================================================= */

.page-lugar {
  --lugar-accent: var(--color-primary);
  --lugar-accent-2: var(--color-accent-dark);
  --lugar-accent-soft: rgba(32, 201, 151, 0.12);
  --lugar-text-main: #0f2438;
  --lugar-text-muted: #5f6b7a;
  --lugar-radius: 22px;
  --lugar-shadow-soft: 0 16px 40px rgba(15, 36, 56, 0.10);
  --lugar-shadow-dark: 0 18px 45px rgba(0, 77, 64, 0.20);
}

/* ---------- Hero de Lugar ---------- */
.page-lugar .hero-strip {
  display: flex;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  min-height: 190px;
  height: 300px;
  background: linear-gradient(135deg, var(--lugar-accent), var(--lugar-accent-2));
  position: relative;
  z-index: 2;
}

.page-lugar .hero-strip__media {
  flex: 0 0 58%;
  min-height: 190px;
}

.page-lugar .hero-strip__media video,
.page-lugar .hero-strip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-lugar .hero-strip__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.2rem 2.4rem;
  background: linear-gradient(
    90deg,
    rgba(0, 77, 64, 0.95) 0%,
    rgba(0, 127, 115, 0.94) 100%
  );
}

.page-lugar .hero-strip__title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
}

/* ---------- Títulos de sección ---------- */
.page-lugar .section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lugar-accent);
  margin-bottom: 0.4rem;
}

.page-lugar .section-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--lugar-accent);
  margin-bottom: 0;
}

.page-lugar .section-line {
  width: min(65%, 520px);
  height: 3px;
  background: linear-gradient(90deg, var(--lugar-accent), var(--color-accent));
  border-radius: 2px;
  margin-top: 0.7rem;
  margin-bottom: 2rem;
}

/* ---------- Bloques de lugar ---------- */
.page-lugar .venue-block {
  border-radius: var(--lugar-radius);
  overflow: hidden;
  display: flex;
  min-height: 280px;
  border: 1px solid rgba(0, 127, 115, 0.14);
  box-shadow: var(--lugar-shadow-soft);
  background: #ffffff;
}

.page-lugar .venue-block--dark {
  background: linear-gradient(135deg, #071f1d 0%, var(--color-primary-deep) 52%, var(--color-primary) 100%);
  border-color: rgba(32, 201, 151, 0.24);
  box-shadow: var(--lugar-shadow-dark);
}

.page-lugar .venue-block__img {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background: var(--color-primary-deep);
}

.page-lugar .venue-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-lugar .venue-block--dark .venue-block__img img {
  opacity: 0.88;
}

.page-lugar .venue-block__info {
  flex: 1;
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-lugar .venue-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, var(--lugar-accent), var(--color-accent));
  box-shadow: 0 10px 22px rgba(0, 127, 115, 0.22);
}

.page-lugar .venue-block--dark .venue-badge {
  border: 1px solid rgba(32, 201, 151, 0.45);
  background: rgba(32, 201, 151, 0.12);
  color: var(--color-accent);
  box-shadow: none;
}

.page-lugar .venue-block__name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lugar-text-main);
  margin-bottom: 0.25rem;
}

.page-lugar .venue-block--dark .venue-block__name {
  color: #ffffff;
}

.page-lugar .venue-block__sub {
  color: var(--lugar-accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-lugar .venue-block--dark .venue-block__sub {
  color: var(--color-accent);
}

.page-lugar .venue-block__desc {
  color: #374151;
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.page-lugar .venue-block--dark .venue-block__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Datos rápidos ---------- */
.page-lugar .info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.page-lugar .info-chip {
  background: #ffffff;
  border: 1px solid rgba(0, 127, 115, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-lugar .info-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 127, 115, 0.10);
}

.page-lugar .info-chip__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lugar-accent), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-lugar .info-chip__label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lugar-accent);
  margin-bottom: 0.1rem;
}

.page-lugar .info-chip__value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lugar-text-main);
  margin: 0;
  line-height: 1.35;
}

/* ---------- Mapa ---------- */
.page-lugar .map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 127, 115, 0.12);
  height: 360px;
  position: relative;
}

.page-lugar .map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-lugar .map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--lugar-accent), var(--color-accent-dark));
  color: #ffffff;
  border-radius: 10px;
  padding: 0.75rem 1.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 127, 115, 0.20);
}

.page-lugar .map-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 127, 115, 0.28);
}

/* ---------- Responsive Lugar ---------- */
@media (max-width: 991.98px) {
  .page-lugar .hero-strip {
    flex-direction: column;
    min-height: 0;
  }

  .page-lugar .hero-strip__media {
    flex-basis: auto;
    height: 210px;
  }

  .page-lugar .hero-strip__panel {
    padding: 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .page-lugar .venue-block {
    flex-direction: column;
  }

  .page-lugar .venue-block__img {
    flex-basis: auto;
    height: 210px;
  }

  .page-lugar .venue-block__info {
    padding: 1.6rem;
  }

  .page-lugar .section-line {
    width: 100%;
  }
}
