/* ============================================
   ARQUETIPO - Estilos globales
   ============================================ */

/* --- Fuente principal: Clash Display ---
   Copiá los archivos ClashDisplay-*.woff2/.woff a wwwroot/fonts antes de usar. */
@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/ClashDisplay-Regular.woff2') format('woff2'),
       url('/fonts/ClashDisplay-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/ClashDisplay-Semibold.woff2') format('woff2'),
       url('/fonts/ClashDisplay-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/ClashDisplay-Bold.woff2') format('woff2'),
       url('/fonts/ClashDisplay-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Variables (paleta de colores) --- */
:root {
  /* Colores heredados / base */
  --primary-color: #4aacc4;
  --primary-dark: #354393;
  --primary-blue: #4aacc4;

  /* Shiny Shamrock */
  --shiny-shamrock: #67A580;
  --shiny-shamrock-tint: #40A090;
  --shiny-shamrock-shade: #245B55;

  /* Dark Coral */
  --dark-coral: #C45834;
  --dark-coral-tint: #F3A889;
  --dark-coral-shade: #D0947A;

  /* Vista Blue */
  --vista-blue: #80A8D9;
  --vista-blue-tint: #BBDBFC;
  --vista-blue-shade: #218EF9;

  /* Tiger's Eye */
  --tigers-eye: #E49844;
  --tigers-eye-tint: #F4E8D0;
  --tigers-eye-shade: #F9CE64;

  /* Neutros */
  --black: #0B0B0B;
  --white: #FFFFFF;
}

/* --- Base --- */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 0;
  font-family: 'Clash Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
}

.flex-grow-1 {
  background-color: var(--white);
}

/* === HOME / INICIO === */

.home-hero {
  position: relative;
  width: 100%;
  padding-bottom: 2.75rem;
}

.home-hero-video {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: visible;
}

.home-hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-hero-carousel .carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-hero-carousel.carousel-fade .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  float: none;
  margin-right: 0;
}

.home-hero-carousel.carousel-fade .carousel-item.active,
.home-hero-carousel.carousel-fade .carousel-item-next.carousel-item-start,
.home-hero-carousel.carousel-fade .carousel-item-prev.carousel-item-end {
  display: block;
  z-index: 1;
}

.home-hero-carousel-control,
.home-hero-carousel-indicators {
  z-index: 12;
}

.home-hero-carousel-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Encuadre individual por foto del carrusel (ajustar % según cada imagen) */
.home-hero-carousel-img--1 { object-position: center 20%; }
.home-hero-carousel-img--2 { object-position: center 100%; }
.home-hero-carousel-img--3 { object-position: center 80%; }
.home-hero-carousel-img--4 { object-position: center 50%; }
.home-hero-carousel-img--5 { object-position: center 80%; }
.home-hero-carousel-img--6 { object-position: center 35%; }
.home-hero-carousel-img--7 { object-position: center 65%; }
.home-hero-carousel-img--8 { object-position: center 70%; }
.home-hero-carousel-img--9 { object-position: center 50%; }

.home-hero-carousel-indicators {
  margin-bottom: 1rem;
}

.home-hero-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-color: transparent;
  opacity: 1;
}

.home-hero-carousel-indicators .active {
  background-color: rgba(255, 255, 255, 0.95);
}

.home-hero-carousel-control {
  width: 8%;
  opacity: 0.75;
}

.home-hero-carousel-control:hover {
  opacity: 1;
}

.home-main-nav {
  position: absolute;
  left: 50%;
  bottom: -2.5rem;
  transform: translateX(-50%);
  z-index: 30;
  background: var(--tigers-eye-tint);
  border-radius: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 0.9rem 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem; /* menos espacio entre logo y primer opción */
}

.home-hero-video .home-main-nav {
  width: min(1140px, calc(100% - 2rem));
  max-width: none;
}

.home-logo-pill {
  display: inline-flex;
  align-items: center;
}

.home-logo-img {
  max-height: 85px;
  height: auto;
  width: auto;
  display: block;
}

/* === Hover divertido del logo (turismo) === */
.home-logo-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
}
/* Destello que cruza el logo */
.home-logo-pill::after {
  content: '';
  position: absolute;
  inset: -15px; /* agranda el área para que el destello no corte */
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 65%
  );
  opacity: 0;
  transform: translateX(-70%);
}
.home-logo-img {
  transition: transform 220ms ease, filter 220ms ease;
}
/* Hover (solo con mouse) */
.home-logo-pill:hover .home-logo-img {
  transform: translateY(-4px) scale(1.05) rotate(-3deg);
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 18px rgba(228, 152, 68, 0.55));
}
.home-logo-pill:hover::after {
  opacity: 1;
  animation: logo-shine 650ms ease forwards;
}

@keyframes logo-shine {
  from { transform: translateX(-70%); }
  to   { transform: translateX(70%); }
}
/* Accesibilidad: si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .home-logo-img { transition: none; }
  .home-logo-pill::after { animation: none; }
  .home-logo-pill:hover .home-logo-img { transform: none; }
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem; /* más separación entre opciones */
  font-size: 1.32rem;
}

.home-nav-mobile-toggle {
  display: none;
  border: 1px solid rgba(36, 91, 85, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: var(--shiny-shamrock-shade);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.home-nav-link {
  color: var(--shiny-shamrock-shade);
  text-decoration: none;
  font-weight: 400; /* expresión más ligera de la fuente */
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 180ms ease, filter 180ms ease, text-shadow 180ms ease;
  will-change: transform;
}

.home-nav-link > i {
  font-size: 1rem;
  line-height: 1;
}

.home-nav-link-label {
  line-height: 1.15;
}

.home-nav-link.is-active {
  font-weight: 700;
}

.home-nav-link:hover{
  transform: translateY(-2px) rotate(-1deg);
  filter: drop-shadow(0 10px 18px rgba(103, 165, 128, 0.25));
  text-shadow: 0 0 18px rgba(103, 165, 128, 0.35);
  font-weight: 700;
}

.home-nav-more {
  position: relative;
}

.home-nav-more-toggle {
  list-style: none;
  color: var(--shiny-shamrock-shade);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-nav-more-toggle > i {
  font-size: 1rem;
}

.home-nav-more-toggle::-webkit-details-marker {
  display: none;
}

.home-nav-more-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 180px;
  border-radius: 14px;
  border: 1px solid rgba(36, 91, 85, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  z-index: 20;
}

.home-nav-more:not([open]) .home-nav-more-menu {
  display: none;
}

.home-nav-more-panel {
  display: contents;
}

.home-nav-more-backdrop {
  display: none;
}

.home-nav-more-menu-title {
  display: none;
}

.home-nav-more-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--shiny-shamrock-shade);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-nav-more-link > i {
  flex-shrink: 0;
  width: 1.15rem;
  text-align: center;
}

.home-nav-more-link:hover {
  background: rgba(244, 232, 208, 0.65);
  color: var(--shiny-shamrock-shade);
}

.home-nav-more-link:focus-visible {
  outline: 2px solid rgba(36, 91, 85, 0.35);
  outline-offset: 2px;
}

/* Accesibilidad: mismo efecto con teclado */
.home-nav-link:focus-visible{
  outline: none;
  transform: translateY(-2px) rotate(-1deg);
  filter: drop-shadow(0 10px 18px rgba(228, 152, 68, 0.25));
  text-shadow: 0 0 18px rgba(228, 152, 68, 0.30);
}

.home-nav-search-wrap {
  display: inline-flex;
  align-items: center;
}

.home-nav-search-trigger {
  display: none;
}

.home-nav-search-submit,
.home-nav-search-close {
  border: none;
  background: transparent;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shiny-shamrock-shade);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.home-nav-search-close {
  display: none;
}

.home-nav-search-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-nav-search-form {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(36, 91, 85, 0.2);
  border-radius: 999px;
  padding: 0.12rem 0.2rem 0.12rem 0.55rem;
  background: rgba(255, 255, 255, 0.75);
  transition: padding 160ms ease, gap 160ms ease;
}

.home-nav-search-input {
  border: none;
  background: transparent;
  width: 140px;
  max-width: 20vw;
  outline: none;
  color: var(--shiny-shamrock-shade);
  font-size: 0.92rem;
  transition: width 160ms ease, opacity 160ms ease;
}

.home-nav-search-input::placeholder {
  color: rgba(36, 91, 85, 0.62);
}

.home-nav-search-form:not(.is-open) {
  border-color: transparent;
  background: transparent;
  padding-left: 0.2rem;
  gap: 0;
}

.home-nav-search-form:not(.is-open) .home-nav-search-input {
  width: 0;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}

.home-nav-search-submit:hover {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.10));
}

/* Menos movimiento si corresponde */
@media (prefers-reduced-motion: reduce) {
  .home-nav-link, .home-nav-search-submit { transition: none; }
  .home-nav-link:hover, .home-nav-link:focus-visible, .home-nav-search-submit:hover { 
    transform: none; 
    filter: none; 
    text-shadow: none;
  }
}

.home-main {
  padding-top: 7rem;
}

.home-main-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700; /* bold */
  color: var(--shiny-shamrock-shade);
  margin-bottom: 2.5rem;
}

.home-main-title-break {
  display: initial;
}

.home-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;      
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 5rem;     
  max-width: 820px; 
}

.home-full-card-img{
  width: 100%;
  aspect-ratio: 5 / 3; /* mismo ratio que tus cards anteriores */
  object-fit: contain; /* no recorta; mantiene todo el PNG */
  display: block;
  transition: transform 180ms ease, filter 180ms ease;
  filter: drop-shadow(0 16px 26px rgba(103, 165, 128, 0.25));
}

.home-cards-row > a .home-full-card-img:hover {
  transform: translateY(-6px) rotate(-0.5deg) scale(1.03);
  filter: drop-shadow(0 16px 26px rgba(103, 165, 128, 0.25));
}

.home-card-item {
  position: relative;
  display: block;
}

.home-card-item--soon {
  cursor: default;
  transition: transform 180ms ease;
}

.home-card-item--soon .home-full-card-img {
  opacity: 0.72;
  transition: filter 180ms ease;
}

.home-card-item--soon:hover {
  transform: translateY(-6px) rotate(-0.5deg) scale(1.03);
}

.home-card-item--soon:hover .home-full-card-img {
  filter: drop-shadow(0 16px 26px rgba(103, 165, 128, 0.25));
}

.home-card-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-4deg);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  background: var(--dark-coral);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(196, 88, 52, 0.35);
  pointer-events: none;
  white-space: nowrap;
}


.home-card-title {
  font-size: 1.1rem;
  font-weight: 600; /* Clash Display semibold */
  margin: 0;
}


.home-secondary-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  margin-bottom: 2.5rem;
}

.home-interest-wrapper {
  width: 100%;
  background: var(--tigers-eye-tint);        
  padding-top: 0.5rem;                        
  padding-bottom: 0.5rem;                     
  margin-bottom: 2.5rem;
}

.home-interest-strip {
  max-width: 900px;
  margin: 40px auto 1.5rem;                    
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.home-interest-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.home-interest-icon {
  position: relative;
  width: 250px;                               
  height: 130px; 
  align-items: center;
  justify-content: center;
  display: flex;
}

.home-interest-item--soon {
  cursor: default;
}

.home-interest-item--soon .home-interest-icon {
  transition: transform 180ms ease, filter 180ms ease;
}

.home-interest-item--soon .home-interest-img {
  opacity: 0.72;
  transition: filter 180ms ease;
}

.home-interest-item--soon:hover .home-interest-icon {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 12px 22px rgba(103, 165, 128, 0.25));
}

.home-interest-item--soon:hover .home-interest-img {
  filter: drop-shadow(0 0 18px rgba(228, 152, 68, 0.25));
}

.home-interest-img{
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
}

.home-interest-item:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 12px 22px rgba(103,165,128,.25));
}
.home-interest-item:hover .home-interest-img{
  transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(228, 152, 68, 0.25));
}
.home-interest-img{
  transition: transform 180ms ease, filter 180ms ease;
}


/* Móvil */
@media (max-width: 768px) {
  .home-interest-strip{
    flex-wrap: wrap;      /* clave: que los íconos bajen a otra fila */
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem;
    margin: 20px auto 1rem; /* baja el margen vertical */
  }
  .home-interest-icon{
    width: 160px;   /* ajustá a gusto */
    height: 90px;   /* ajustá a gusto */
  }
}

/* === SECCIÓN "DESCUBRÍ LA PROVINCIA MÁS LINDA" === */

.home-discover {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.home-discover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;       /* centra el bloque mapa + lista + carrusel */
}

.home-discover-map{
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 3 / 5;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.18));
}
.home-discover-map-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* o contain si querés que se vea todo sin recorte */
  display: block;
}

.home-discover-content {
  display: grid;
  grid-template-rows: auto auto;  /* fila 1: lista, fila 2: carrusel */
  row-gap: 2rem;
  align-content: center;          /* centra lista + carrusel dentro de la columna */
}

.home-discover-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;          /* la movemos un poco hacia abajo */
  font-size: 1.5rem;   /* lista más grande */
  text-align: left;     /* alineada a la izquierda */
  justify-self: center;
}

.home-discover-list li:nth-child(1) {
  color: var(--dark-coral-tint);
}

.home-discover-list li:nth-child(2) {
  color: var(--shiny-shamrock);
}
.home-discover-list li:nth-child(3) {
  color: var(--shiny-shamrock-shade);
}
.home-discover-list li:nth-child(4) {
  color: var(--dark-coral);
}

.home-discover-list li:nth-child(5) {
  color: var(--tigers-eye);
}
.home-discover-list li:nth-child(6) {
  color: var(--vista-blue-tint);
}
.home-discover-list li:nth-child(7) {
  color: var(--dark-coral-shade);
}
.home-discover-list li:nth-child(8) {
  color: var(--vista-blue);
}

.home-discover-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-discover-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 80%;
  aspect-ratio: 4 / 3;   /* o poné height si preferís */
  background: none;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.18))
}

.home-discover-frame{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* respeta la forma */
  pointer-events: none;
}
  

.home-discover-photo-img {
  position: absolute;
  inset: 22px;              /* ajustalo para que se vea el borde del marco */
  width: 100%;
  height: 100%;
  object-fit: cover;       /* que llene el área interna */
  border-radius: 24px;    /* opcional; ayuda a que siga el look del marco */
}

.home-discover-photo{
  overflow: hidden;
}
.home-discover-frame{
  transition: transform 180ms ease, filter 180ms ease;
}
.home-discover-photo:not(.home-discover-photo--soon):hover .home-discover-frame {
  transform: translateY(-2px) scale(1.03);
}

.home-discover-photo:not(.home-discover-photo--soon):hover {
  overflow: visible;
  z-index: 3;
}

.home-discover-photo--soon {
  cursor: default;
  transition: transform 180ms ease;
}

.home-discover-photo--soon .home-discover-frame {
  opacity: 0.72;
}

.home-discover-photo--soon:hover {
  transform: translateY(-2px) scale(1.03);
  overflow: visible;
  z-index: 3;
}
/* Opcional: mantené la transición */
.home-discover-frame{
  transition: transform 180ms ease, filter 180ms ease;
}

.home-discover-arrow{
  background: transparent;
  border: none;
  border-radius: 0;     /* no círculo */
  width: auto;
  height: auto;
  padding: 0;
  box-shadow: none;
  outline: none;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* agrandar la imagen pero sin recorte */
.home-discover-arrow img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
}
/* sacar el marco negro al click/foco */
.home-discover-arrow:focus,
.home-discover-arrow:focus-visible,
.home-discover-arrow:active{
  outline: none;
  box-shadow: none;
}

.home-discover-arrow-left{
  margin-right: -20px; /* ajustá: -10, -16, -24, -32... */
  z-index: 5;
}
.home-discover-arrow-right{
  margin-left: -20px; /* ajustá igual */
  z-index: 5;
}

.home-discover-arrow:hover img{
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.22));
}

/* Mapa base */
.home-discover-map{
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  aspect-ratio: 3 / 5;

  border-radius: 32px;
  background: transparent;
  box-shadow: none; /* si te vuelve “rectángulo raro”, dejalo en none */
}

.home-discover-map-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Overlay de mancha */
.map-spot{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none; /* JS hace el hover, no CSS */
}
/* manchas escaladas igual que el mapa */
.map-spot-static,
.map-spot-hover{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* igual que .home-discover-map-img */
  display: block;
  opacity: 0;
}

.map-spot.is-active{
  transform: translateY(-6px);
}
.map-spot.is-active .map-spot-hover{
  opacity: 1;
}
.map-spot.is-active .map-spot-static{
  opacity: 0;
}

.home-discover-list li.is-map-active{
  font-weight: 700;
  text-decoration: none;
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .home-discover-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

/* === SECCIÓN "DESTINO DE LA SEMANA" === */
.home-weekly {
  background: var(--tigers-eye-tint);
  border-radius: 0;
  padding-top: 1.3rem;
  padding-bottom: 2.2rem;
  margin-bottom: 0;
}

.home-weekly-title {
  text-align: center;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  margin-bottom: 0.9rem;
}

.home-weekly-title-icon {
  font-size: 1.45rem;
  margin-right: 0.35rem;
}

.home-weekly-card {
  max-width: 940px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 1.12fr) minmax(0, 1fr);
  align-items: stretch;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.home-weekly-image-wrap {
  aspect-ratio: 16 / 12;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-weekly-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.home-weekly-content {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-weekly-destination {
  font-size: 1.52rem;
  line-height: 1.08;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  margin: 0 0 0.25rem;
  text-wrap: balance;
}

.home-weekly-location {
  font-size: 0.92rem;
  color: var(--shiny-shamrock);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
}

.home-weekly-description {
  font-size: 0.9rem;
  line-height: 1.38;
  color: var(--shiny-shamrock-shade);
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-weekly-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.home-weekly-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--shiny-shamrock-shade);
  background: var(--tigers-eye-tint);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.home-weekly-tip {
  background: var(--dark-coral-tint);
  color: var(--dark-coral);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
}

.home-weekly-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.home-weekly-btn {
  text-decoration: none;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.home-weekly-btn-primary {
  background: var(--shiny-shamrock-shade);
  color: var(--white);
}

.home-weekly-btn-secondary {
  background: var(--tigers-eye-tint);
  border: 1px solid var(--dark-coral-shade);
  color: var(--shiny-shamrock-shade);
}

@media (max-width: 992px) {
  .home-weekly-card {
    grid-template-columns: 1fr;
  }

  .home-weekly-image-wrap {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .home-weekly-description {
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
}

@media (max-width: 768px) {
  .home-weekly-title {
    font-size: 1.5rem;
  }

  .home-weekly-content {
    padding: 1.15rem 1rem 1rem;
  }

  .home-weekly-destination {
    font-size: 1.2rem;
  }

  .home-weekly-description {
    font-size: 0.84rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .home-weekly-location,
  .home-weekly-tip,
  .home-weekly-btn {
    font-size: 0.82rem;
  }

  .home-weekly-actions {
    gap: 0.45rem;
  }

  .home-weekly-btn {
    width: 100%;
  }
}

/* === SECCIÓN "SEGUINOS EN REDES" === */

.home-social {
  padding: 4rem 0 5rem;
  background: var(--white);
}

.home-social-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  margin-bottom: 2.5rem;
}

.home-social-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-social-card {
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 340px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.home-social-card--embed {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  position: relative;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 360px;
}

.home-social-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
  display: block;
}

.home-social-card--custom {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 340px;
}

.home-social-card--custom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-social-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
}

.home-social-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-social-card--custom:hover .home-social-preview-img {
  transform: scale(1.02);
}

.home-social-preview-fallback {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  color: rgba(0, 0, 0, 0.55);
  background: linear-gradient(135deg, var(--white), var(--tigers-eye-tint));
}

.home-social-preview-fallback i {
  font-size: 1.8rem;
  margin: 0 auto;
}

.home-social-card-footer {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-social-provider {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shiny-shamrock-shade);
  text-transform: uppercase;
}

.home-social-card-link {
  margin-top: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--shiny-shamrock-shade);
}

.home-social-compare-label {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
}

.home-social-card:hover{
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.08);
}
/* Accesibilidad teclado */
.home-social-card:focus-visible{
  outline: none;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

@media (max-width: 992px) {
  .home-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .home-social {
    padding: 3rem 0 4rem;
  }

  .home-social-title {
    font-size: clamp(1.7rem, 7vw, 2rem);
    margin-bottom: 1.4rem;
    padding-inline: 0.75rem;
    text-wrap: balance;
  }

  .home-social-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 78vw);
    gap: 0.9rem;
    max-width: none;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .home-social-grid::-webkit-scrollbar {
    display: none;
  }

  .home-social-card,
  .home-social-card--custom,
  .home-social-card--embed {
    min-height: 280px;
    aspect-ratio: 4 / 4.75;
    border-radius: 20px;
    scroll-snap-align: start;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  }

  .home-social-card:hover,
  .home-social-card:focus-visible {
    transform: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
    background: var(--white);
  }

  .home-social-card--custom a {
    border-radius: inherit;
  }
}

@media (max-width: 992px) {
  :root {
    --home-nav-mobile-bar: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    --home-nav-more-sheet: 12.75rem;
    --home-nav-search-bar: 3.5rem;
  }

  body {
    padding-bottom: var(--home-nav-mobile-bar);
  }

  .home-main-nav,
  .actividades-header {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .home-main-nav {
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    justify-content: center;
    width: 100%;
  }

  .home-main-nav .home-logo-pill {
    margin-inline: auto;
    justify-content: center;
  }

  .home-main-nav .home-logo-img {
    margin-inline: auto;
  }

  .actividades-header {
    align-items: center;
    text-align: center;
    gap: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    justify-content: center;
    width: 100%;
  }

  .actividades-header .home-logo-link {
    flex: 0 0 auto;
    margin-inline: auto;
  }

  .home-nav-mobile-toggle {
    display: none;
  }

  .home-nav-links {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
    gap: 0;
    margin: 0;
    padding: 0.55rem 0.35rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(36, 91, 85, 0.14);
    box-shadow: 0 -8px 24px rgba(36, 91, 85, 0.1);
    backdrop-filter: blur(12px);
  }

  .home-nav-link {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: auto;
    min-height: 3rem;
    min-width: 3rem;
    padding: 0.45rem 0.25rem;
    text-align: center;
    white-space: normal;
    transform: none;
    filter: none;
    text-shadow: none;
    font-weight: 600;
    letter-spacing: 0;
  }

  .home-nav-link:hover,
  .home-nav-link:focus-visible {
    transform: none;
    filter: none;
    text-shadow: none;
  }

  .home-nav-link > i {
    font-size: 1.95rem;
    line-height: 1;
  }

  .home-nav-link-label,
  .home-nav-more-toggle .home-nav-link-label,
  .home-nav-search-trigger .home-nav-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .home-nav-link.is-active {
    color: var(--shiny-shamrock);
  }

  .home-nav-link.is-active > i {
    transform: scale(1.08);
  }

  .home-nav-more {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .home-nav-more-toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 3rem;
    min-width: 3rem;
    padding: 0.45rem 0.25rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .home-nav-more-toggle > i {
    font-size: 1.95rem;
    line-height: 1;
  }

  .home-nav-more[open] .home-nav-more-toggle {
    color: var(--shiny-shamrock);
    background: rgba(36, 91, 85, 0.08);
    border-radius: 12px;
  }

  .home-nav-more-panel {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1102;
    pointer-events: none;
  }

  .home-nav-more:not([open]) .home-nav-more-panel {
    display: none;
  }

  .home-nav-more[open] .home-nav-more-panel {
    pointer-events: auto;
  }

  .home-nav-more-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(20, 40, 36, 0.42);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .home-nav-more-menu {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(var(--home-nav-mobile-bar, 4.5rem) + 0.65rem);
    top: auto;
    transform: none;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(36, 91, 85, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -16px 42px rgba(36, 91, 85, 0.22);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    z-index: 1;
  }

  .home-nav-more-menu-title {
    display: block;
    grid-column: 1 / -1;
    margin: 0 0 0.15rem;
    padding: 0 0.15rem 0.35rem;
    border-bottom: 1px solid rgba(36, 91, 85, 0.1);
    color: var(--shiny-shamrock-shade);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
  }

  .home-nav-more-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 4.75rem;
    padding: 0.65rem 0.5rem;
    border-radius: 16px;
    background: rgba(244, 232, 208, 0.35);
    border: 1px solid rgba(36, 91, 85, 0.08);
    font-size: 0.86rem;
    text-align: center;
  }

  .home-nav-more-link > i {
    width: auto;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--shiny-shamrock);
  }

  .home-nav-more-link:active {
    transform: scale(0.98);
    background: rgba(244, 232, 208, 0.75);
  }

  .home-nav-search-wrap {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-nav-search-trigger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 3rem;
    min-width: 3rem;
    padding: 0.45rem 0.25rem;
    border: none;
    background: transparent;
    color: var(--shiny-shamrock-shade);
    font-weight: 600;
    cursor: pointer;
  }

  .home-nav-search-trigger > i {
    font-size: 1.95rem;
    line-height: 1;
  }

  .home-nav-search-trigger[aria-expanded="true"] {
    color: var(--shiny-shamrock);
    background: rgba(36, 91, 85, 0.08);
    border-radius: 12px;
  }

  .home-nav-search-form {
    display: contents;
    border: none;
    background: transparent;
    padding: 0;
  }

  .home-nav-search-form:not(.is-open) .home-nav-search-bar {
    display: none;
  }

  .home-nav-search-form.is-open .home-nav-search-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: var(--home-nav-mobile-bar);
    z-index: 1101;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid rgba(36, 91, 85, 0.18);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    padding: 0.35rem 0.45rem 0.35rem 0.65rem;
    gap: 0.35rem;
    box-shadow: 0 8px 28px rgba(36, 91, 85, 0.14);
  }

  .home-nav-search-form.is-open .home-nav-search-input {
    width: 100%;
    max-width: none;
    opacity: 1;
    pointer-events: auto;
    min-height: 38px;
    font-size: 0.95rem;
  }

  .home-nav-search-form.is-open .home-nav-search-close {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }

  .home-nav-search-form.is-open .home-nav-search-submit {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }

  .home-nav-search-trigger .home-nav-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 993px) {
  .home-nav-link > i,
  .home-nav-more-toggle > i,
  .home-nav-more-toggle .home-nav-link-label,
  .home-nav-search-trigger .home-nav-link-label {
    display: none;
  }

  .home-nav-search-wrap {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .home-nav-search-trigger {
    display: none;
  }

  .home-nav-search-form {
    display: inline-flex;
  }

  .home-nav-search-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .home-nav-more-toggle::before {
    content: "+";
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
  }
}

@media (max-width: 768px) {
  .home-hero-carousel {
    height: 260px;
  }

  .home-main {
    padding-top: 2rem;
  }

  .home-main-title {
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.08;
    margin-bottom: 1.75rem;
    padding-inline: 0.35rem;
    text-wrap: balance;
  }

  .home-main-title-break {
    display: none;
  }

  .home-secondary-title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
    line-height: 1.12;
    margin-bottom: 1.75rem;
    padding-inline: 0.35rem;
    text-wrap: balance;
  }

  .home-nav-search-input {
    width: 96px;
    max-width: none;
  }

  .home-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.8rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 340px;
    justify-items: center;
  }

  .home-cards-row > a,
  .home-cards-row > .home-card-item {
    width: 100%;
    max-width: 160px;
  }

  .home-cards-row > a:last-child {
    grid-column: 1 / -1;
  }

  .home-card-soon-badge {
    font-size: 0.72rem;
    padding: 0.28rem 0.7rem;
  }

  .home-full-card-img {
    aspect-ratio: 1 / 1.02;
  }

  .home-interest-wrapper {
    margin-bottom: 1.5rem;
  }

  .home-discover {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .home-discover-layout {
    gap: 1.5rem;
  }

  .home-discover-map {
    max-width: min(280px, 100%);
  }

  .home-discover-content {
    row-gap: 1.25rem;
  }

  .home-discover-list {
    margin-top: 0;
    font-size: 1.15rem;
    line-height: 1.3;
    text-align: center;
    justify-self: center;
  }

  .home-discover-list li.is-map-active {
    transform: none;
  }

  .home-discover-photo {
    max-width: min(320px, 100%);
  }
}

/* --- Formularios --- */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem var(--white), 0 0 0 0.25rem var(--vista-blue-shade);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* --- Footer --- */

.footer-main {
  background: var(--tigers-eye-tint);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-main-top {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: flex-start;
}

.footer-main-logo .footer-logo-img {
  max-width: 200px;
  height: auto;
}

.footer-main-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-main-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  margin-bottom: 0.75rem;
}

.footer-main-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-main-column li {
  color: var(--black);
}

.footer-main-column li:not(:has(a)) {
  color: #9a9a9a;
}

.footer-main-column li a {
  color: var(--black);
  text-decoration: none;
}

.footer-main-column li a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-main-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--shiny-shamrock);
}

@media (max-width: 992px) {
  .footer-main-top {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .footer-main-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main-logo {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-main-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    text-align: center;
  }
}

/* --- CTA WhatsApp turismo --- */
.turismo-whatsapp-section {
  padding: 2.5rem 0 3.5rem;
  background: var(--white);
}

.turismo-whatsapp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(36, 91, 85, 0.12);
  box-shadow: 0 14px 34px rgba(36, 91, 85, 0.1);
}

.turismo-whatsapp-art {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turismo-whatsapp-art-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.turismo-whatsapp-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.turismo-whatsapp-title {
  margin: 0 0 0.35rem;
  color: var(--shiny-shamrock-shade);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
}

.turismo-whatsapp-text {
  margin: 0;
  color: var(--shiny-shamrock);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.4;
}

.turismo-whatsapp-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: var(--shiny-shamrock-shade);
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  white-space: nowrap;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.turismo-whatsapp-btn:hover {
  background: var(--shiny-shamrock);
  color: var(--white);
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(36, 91, 85, 0.22));
}

.turismo-whatsapp-btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .turismo-whatsapp-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .turismo-whatsapp-copy {
    flex: 1 1 100%;
  }

  .turismo-whatsapp-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .turismo-whatsapp-section {
    padding: 2rem 0 3rem;
  }

  .turismo-whatsapp-art-img {
    width: 48px;
    height: 48px;
  }
}

/* --- Sección de contacto (arriba del footer) --- */
.contact-section {
  color: white;
  background: linear-gradient(90deg, var(--primary-dark) 26%, var(--primary-color) 69%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.contact-section-logo {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

.contact-section-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-section-title {
  color: white !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(74, 172, 196, 0.8);
  display: inline-block;
  letter-spacing: 0.02em;
}

.contact-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-section-info-col .contact-section-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-section-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-section-list li:last-child {
  margin-bottom: 0;
}

.contact-section-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-section-list li:hover .contact-section-icon {
  transform: scale(1.15);
  color: white;
}

.contact-section-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-section-link {
  color: white !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.contact-section-link:hover {
  opacity: 0.9;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .contact-section-info-col {
    align-items: center;
    text-align: center;
  }

  .contact-section-info-col .contact-section-list {
    align-items: center;
  }

  .contact-section-title {
    text-align: center;
    display: block;
  }

  .contact-section-logo {
    max-height: 150px;
  }
}

/* --- Página Contacto --- */
.contacto-page {
  padding: 3.5rem 0 4.5rem;
  background: var(--white);
}

.contacto-page-header {
  max-width: 720px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.contacto-page-title {
  margin-bottom: 0.85rem;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.contacto-page-lead {
  margin: 0;
  color: var(--shiny-shamrock);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
}

.contacto-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.contacto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  gap: 0.5rem;
  padding: 2rem 1.35rem 1.85rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(36, 91, 85, 0.1);
  box-shadow: 0 12px 28px rgba(36, 91, 85, 0.1);
}

.contacto-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--shiny-shamrock-shade);
  font-size: 1.65rem;
  margin-bottom: 0.25rem;
}

.contacto-card-icon-wrap--location,
.contacto-card-icon-wrap--whatsapp {
  background: rgba(103, 165, 128, 0.2);
}

.contacto-card-icon-wrap--email {
  background: var(--vista-blue-tint);
}

.contacto-card-whatsapp-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.contacto-card-title {
  margin: 0;
  color: var(--shiny-shamrock-shade);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-card-text {
  margin: 0;
  color: var(--shiny-shamrock);
  font-size: 1rem;
  line-height: 1.45;
  width: 100%;
  max-width: 30ch;
  min-height: 4.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-card-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 8.5rem;
  padding-top: 0.15rem;
}

.contacto-card-divider {
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--tigers-eye);
  margin: 0 0 0.15rem;
}

.contacto-card-detail {
  margin: 0;
  color: var(--shiny-shamrock-shade);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  width: 100%;
  max-width: 24ch;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-card-detail--empty {
  visibility: hidden;
}

.contacto-card-action {
  width: 100%;
  max-width: 320px;
}

.contacto-card-address {
  margin: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shiny-shamrock-shade);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
}

.contacto-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--vista-blue-tint);
  color: var(--shiny-shamrock-shade);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 50px;
  word-break: break-word;
  transition: background-color 180ms ease, color 180ms ease;
}

.contacto-card-link:hover {
  background: var(--vista-blue);
  color: var(--white);
}

.contacto-card-link i {
  flex-shrink: 0;
}

.contacto-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0;
  border-radius: 999px;
  background: var(--shiny-shamrock-shade);
  color: var(--white);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  min-height: 50px;
  padding: 0.7rem 1.35rem;
  white-space: nowrap;
  transition: transform 180ms ease, filter 180ms ease, background-color 180ms ease;
}

.contacto-card-btn:hover {
  background: var(--shiny-shamrock);
  color: var(--white);
}

.contacto-card-btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .contacto-page-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .contacto-page {
    padding: 2.5rem 0 3.5rem;
  }

  .contacto-page-header {
    margin-bottom: 2rem;
  }

  .contacto-card {
    padding: 1.65rem 1.25rem 1.5rem;
  }

  .contacto-card-footer {
    min-height: auto;
  }

  .contacto-card-text,
  .contacto-card-detail {
    min-height: auto;
  }

  .contacto-card-title {
    min-height: auto;
  }
}

@media (max-width: 992px) {
  .home-hero {
    background: transparent;
    padding-bottom: 0;
  }

  .home-hero-video {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    overflow: visible;
    border-bottom: none;
  }

  .home-hero-carousel {
    position: relative;
    inset: auto;
    width: 100%;
    height: 420px;
    flex-shrink: 0;
    border-bottom: none;
  }

  .home-hero-video .home-main-nav,
  .home-hero-video .home-main-nav.container {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: auto;
    margin: 1rem auto 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 1rem;
  }

  .home-hero-video .home-main-nav .home-logo-pill {
    display: flex;
    justify-content: center;
    width: 100%;
    background: var(--tigers-eye-tint);
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1.25rem;
  }

  .home-main {
    padding-top: 2.5rem;
  }
}

/* Home + admin: el hero y la píldora igual que siempre; bajamos solo la barra admin para que no quede debajo de la píldora */
@media (min-width: 993px) {
  .home-hero-video {
    height: calc(420px + 5.5rem);
  }

  .home-hero-carousel-img {
    width: 100%;
    object-fit: cover;
  }

  .home-main {
    padding-top: calc(7rem - 5.5rem);
  }

  .home-hero + .admin-navbar-wrap {
    margin-top: 6rem;
  }
}

/* --- Admin navbar --- */
.admin-navbar-wrap {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(36, 91, 85, 0.12);
}

.admin-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.admin-navbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-navbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 91, 85, 0.16);
  text-decoration: none;
  color: var(--shiny-shamrock-shade);
  background: rgba(244, 232, 208, 0.35);
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-navbar-link:hover {
  color: var(--shiny-shamrock-shade);
  background: rgba(244, 232, 208, 0.6);
}

.admin-navbar-logout-form {
  margin: 0;
}

.admin-navbar-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 88, 52, 0.24);
  background: rgba(196, 88, 52, 0.08);
  color: var(--dark-coral);
  font-weight: 700;
}

@media (max-width: 768px) {
  .admin-navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-navbar-links {
    justify-content: center;
  }

  .admin-navbar-logout-form {
    display: flex;
    justify-content: center;
  }
}

/* --- Chatbot global --- */
.chatbot-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.chatbot-launcher {
  width: 108px;
  height: 108px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 180ms ease, filter 180ms ease;
}

.chatbot-launcher img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.chatbot-launcher:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.2));
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(440px, calc(100vw - 2rem));
  min-height: 320px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.chatbot-widget.is-open .chatbot-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatbot-panel-header {
  min-height: 58px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--shiny-shamrock);
  color: var(--white);
}

.chatbot-panel-header h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.chatbot-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbot-restart,
.chatbot-close {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.chatbot-restart:hover,
.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.chatbot-msg--multiline {
  white-space: pre-line;
  line-height: 1.65;
  letter-spacing: 0.015em;
  word-break: break-word;
}

.chatbot-actions--secondary {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(36, 91, 85, 0.18);
}

.chatbot-chip--highlight {
  border-color: var(--shiny-shamrock);
  background: rgba(244, 232, 208, 0.65);
}

.chatbot-panel-body {
  padding: 1.1rem;
  color: var(--shiny-shamrock-shade);
  font-size: 1rem;
  line-height: 1.55;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 91, 85, 0.28) transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(36, 91, 85, 0.28);
}

.chatbot-msg {
  max-width: 92%;
  border-radius: 12px;
  padding: 0.62rem 0.82rem;
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  animation: chatbot-message-enter 180ms ease-out;
}

.chatbot-msg--bot {
  align-self: flex-start;
  background: var(--tigers-eye-tint);
  color: var(--shiny-shamrock-shade);
  font-weight: 500;
}

.chatbot-msg--user {
  align-self: flex-end;
  background: var(--shiny-shamrock);
  color: var(--white);
  font-weight: 600;
}

.chatbot-msg--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 3.2rem;
}

.chatbot-msg--typing span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(36, 91, 85, 0.6);
  animation: chatbot-typing-bounce 1s infinite ease-in-out;
}

.chatbot-msg--typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.chatbot-msg--typing span:nth-child(3) {
  animation-delay: 0.32s;
}

.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.chatbot-actions--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chatbot-actions--grid .chatbot-chip {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  hyphens: auto;
}

.chatbot-chip {
  border: 1px solid rgba(36, 91, 85, 0.2);
  background: var(--white);
  color: var(--shiny-shamrock-shade);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatbot-chip:hover {
  transform: translateY(-1px);
  background: rgba(244, 232, 208, 0.5);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.chatbot-chip:active {
  transform: scale(0.98);
}

.chatbot-msg--bot[data-chatbot-results] {
  align-self: stretch;
  max-width: 100%;
  background: transparent;
  padding: 0.35rem 0 0;
}

.chatbot-results {
  margin-top: 0.35rem;
  border: 1px solid rgba(36, 91, 85, 0.14);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.7);
}

.chatbot-results-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--shiny-shamrock-shade);
}

.chatbot-results-empty {
  margin: 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  background: var(--tigers-eye-tint);
  border-radius: 12px;
}

.chatbot-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chatbot-result-item {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(36, 91, 85, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chatbot-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(36, 91, 85, 0.14);
}

.chatbot-result-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: stretch;
  min-height: 92px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid rgba(36, 91, 85, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.chatbot-result-media {
  position: relative;
  min-height: 92px;
  background: linear-gradient(145deg, rgba(244, 232, 208, 0.95), rgba(103, 165, 128, 0.22));
}

.chatbot-result-image {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
  display: block;
}

.chatbot-result-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-result-media--placeholder::before {
  content: "\f03e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.35rem;
  color: rgba(36, 91, 85, 0.38);
}

.chatbot-result-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.62rem 0.72rem;
  min-width: 0;
}

.chatbot-result-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--shiny-shamrock-shade);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chatbot-result-location {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(36, 91, 85, 0.78);
  letter-spacing: 0.01em;
}

.chatbot-result-location i {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--shiny-shamrock);
}

.chatbot-result-location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--dark-coral);
  transition: gap 160ms ease, color 160ms ease;
}

.chatbot-result-card:hover .chatbot-result-cta {
  gap: 0.5rem;
  color: var(--dark-coral-shade);
}

.chatbot-result-link,
.chatbot-result-full-link {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--dark-coral);
  text-decoration: none;
}

.chatbot-result-link:hover,
.chatbot-result-full-link:hover {
  text-decoration: underline;
}

.chatbot-result-full-link {
  display: inline-block;
  margin-top: 0.45rem;
}

.chatbot-input {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.45rem;
}

.chatbot-input-control {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(36, 91, 85, 0.25);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--shiny-shamrock-shade);
}

.chatbot-input-control::placeholder {
  color: rgba(36, 91, 85, 0.52);
  opacity: 1;
}

.chatbot-input-send {
  border: none;
  border-radius: 999px;
  background: var(--shiny-shamrock);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

@media (max-width: 520px) {
  .chatbot-actions--grid {
    grid-template-columns: 1fr;
  }
}

@keyframes chatbot-message-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatbot-typing-bounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-msg {
    animation: none;
  }

  .chatbot-msg--typing span {
    animation: none;
  }

  .chatbot-result-item,
  .chatbot-result-item:hover,
  .chatbot-result-cta,
  .chatbot-result-card:hover .chatbot-result-cta {
    transform: none;
    transition: none;
  }
}

@media (max-width: 992px) {
  .chatbot-widget {
    right: 0.5rem;
    bottom: calc(var(--home-nav-mobile-bar, 4.5rem) + 0.65rem);
    transition: bottom 220ms ease;
  }

  .chatbot-widget.is-open {
    z-index: 1300;
  }

  body.has-nav-more-open .chatbot-widget {
    bottom: calc(var(--home-nav-mobile-bar, 4.5rem) + var(--home-nav-more-sheet, 12.75rem) + 0.5rem);
  }

  body.has-nav-search-open .chatbot-widget {
    bottom: calc(var(--home-nav-mobile-bar, 4.5rem) + var(--home-nav-search-bar, 3.5rem) + 0.5rem);
  }

  .chatbot-launcher {
    width: 112px;
    height: 112px;
  }

  .chatbot-widget.is-open .chatbot-panel {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 0.65rem);
    width: min(440px, calc(100vw - 1rem));
    min-height: min(26rem, 58vh);
    max-height: min(78vh, calc(100dvh - var(--home-nav-mobile-bar, 4.5rem) - 9rem));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    touch-action: manipulation;
  }

  .chatbot-widget.is-open .chatbot-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
    font-size: 1rem;
  }

  .chatbot-widget.is-open .chatbot-messages {
    flex: 1 1 auto;
    min-height: 9rem;
    max-height: min(44vh, 400px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .chatbot-widget.is-open .chatbot-actions {
    flex: 0 0 auto;
    max-height: min(38vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .chatbot-widget.is-open .chatbot-input {
    flex: 0 0 auto;
  }

  .chatbot-widget.is-open .chatbot-panel-header {
    flex: 0 0 auto;
    min-height: 56px;
    padding: 0.85rem 1.1rem;
  }

  .chatbot-widget.is-open .chatbot-panel-header h3 {
    font-size: 1.12rem;
  }

  .chatbot-widget.is-open .chatbot-restart,
  .chatbot-widget.is-open .chatbot-close {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .chatbot-widget.is-open .chatbot-msg {
    font-size: 1rem;
    line-height: 1.58;
    padding: 0.65rem 0.85rem;
  }

  .chatbot-widget.is-open .chatbot-msg--multiline {
    line-height: 1.68;
  }

  .chatbot-widget.is-open .chatbot-chip {
    font-size: 0.94rem;
    line-height: 1.38;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.85rem;
    min-height: 44px;
  }

  .chatbot-widget.is-open .chatbot-input-control {
    min-height: 44px;
    font-size: 1rem;
    padding: 0.55rem 0.85rem;
  }

  .chatbot-widget.is-open .chatbot-input-send {
    min-height: 44px;
    font-size: 0.92rem;
    padding: 0.55rem 1rem;
  }

  .chatbot-result-card {
    grid-template-columns: 84px 1fr;
    min-height: 84px;
  }

  .chatbot-result-media,
  .chatbot-result-image {
    min-height: 84px;
  }

  .chatbot-result-name {
    font-size: 0.96rem;
  }

  .chatbot-result-cta {
    font-size: 0.84rem;
  }
}

/* === PÁGINA MAPAS === */
.mapas-page {
  padding: 3.2rem 0 5rem;
  background-color: var(--white);
}

.mapas-page-inner {
  max-width: 1140px;
}

.mapas-header {
  text-align: center;
  margin-bottom: 2.3rem;
}

.mapas-kicker {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(36, 91, 85, 0.2);
  padding: 0.25rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
  background: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.65rem;
}

.mapas-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--shiny-shamrock-shade);
}

.mapas-subtitle {
  margin: 0.75rem auto 0;
  max-width: 700px;
  color: var(--shiny-shamrock);
  font-size: 1rem;
}

.mapas-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}

.mapas-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 38px;
  padding: 0.42rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 140ms ease, opacity 140ms ease;
}

.mapas-btn:hover {
  transform: translateY(-1px);
}

.mapas-btn--primary {
  background: var(--shiny-shamrock-shade);
  color: var(--white);
}

.mapas-btn--primary:hover {
  color: var(--white);
}

.mapas-count {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(36, 91, 85, 0.17);
  background: rgba(255, 255, 255, 0.8);
  color: var(--shiny-shamrock-shade);
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 38px;
  align-items: center;
  padding: 0.38rem 0.76rem;
}

.mapas-tools {
  margin-bottom: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.mapas-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 91, 85, 0.2);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.78rem;
  max-width: 580px;
  margin: 0 auto;
}

.mapas-search-wrap i {
  color: var(--shiny-shamrock);
}

.mapas-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  color: var(--shiny-shamrock-shade);
}

.mapas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.mapa-chip {
  --chip-accent: var(--shiny-shamrock-shade);
  --chip-soft: rgba(36, 91, 85, 0.18);
  border: 1px solid var(--chip-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--chip-accent);
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0.34rem 0.7rem;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.mapa-chip:hover {
  transform: translateY(-1px);
}

.mapa-chip.is-active {
  background: var(--chip-accent);
  color: var(--white);
  border-color: var(--chip-accent);
}

.mapas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.mapa-card {
  --mapa-accent: var(--shiny-shamrock-shade);
  --mapa-accent-soft: rgba(36, 91, 85, 0.14);
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--mapa-accent-soft);
  border-top: 4px solid var(--mapa-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mapa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.mapa-card-image-wrap {
  aspect-ratio: 16 / 10;
  background: var(--tigers-eye-tint);
  padding: 0.6rem;
}

.mapa-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.mapa-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  transition: transform 180ms ease;
}

.mapa-card-image-link:hover .mapa-card-image {
  transform: scale(1.02);
}

.mapa-card-body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mapa-card-region {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  background: var(--mapa-accent-soft);
  color: var(--mapa-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.58rem;
}

.mapa-card-title {
  margin: 0;
  font-size: 1rem;
  color: var(--mapa-accent);
  font-weight: 700;
}

.mapa-card-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.mapa-card-download {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: none;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 140ms ease, opacity 140ms ease;
}

.mapa-card-download {
  background: var(--mapa-accent);
  color: var(--white);
}

.mapa-card-download:hover {
  color: var(--white);
  opacity: 0.95;
  transform: translateY(-1px);
}

.mapas-empty {
  text-align: center;
  color: var(--shiny-shamrock);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Modal */
.mapas-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
}

.mapas-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mapas-modal-panel {
  position: relative;
  width: min(980px, calc(100vw - 1.2rem));
  margin: 1.2rem auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mapas-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mapas-modal-region {
  margin: 0;
  font-size: 0.8rem;
  color: var(--shiny-shamrock);
  font-weight: 700;
}

.mapas-modal-title {
  margin: 0.2rem 0 0;
  font-size: 1.18rem;
  color: var(--shiny-shamrock-shade);
}

.mapas-modal-close {
  border: none;
  background: transparent;
  color: var(--shiny-shamrock-shade);
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.mapas-modal-close:hover {
  background: rgba(36, 91, 85, 0.08);
}

.mapas-modal-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
}

.mapas-modal-image {
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  display: block;
}

.mapas-modal-nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(36, 91, 85, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--shiny-shamrock-shade);
}

.mapas-modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem 0.95rem;
  display: flex;
  justify-content: flex-end;
}

/* Colores por región (alineados al mapa del Home) */
.mapa-card--sierras,
.mapa-chip--sierras {
  --mapa-accent: var(--dark-coral-tint);
  --mapa-accent-soft: rgba(243, 168, 137, 0.35);
  --chip-accent: var(--dark-coral-tint);
  --chip-soft: rgba(243, 168, 137, 0.35);
}

.mapa-card--termas,
.mapa-chip--termas {
  --mapa-accent: var(--vista-blue);
  --mapa-accent-soft: rgba(128, 168, 217, 0.35);
  --chip-accent: var(--vista-blue);
  --chip-soft: rgba(128, 168, 217, 0.35);
}

.mapa-card--costa,
.mapa-chip--costa {
  --mapa-accent: var(--shiny-shamrock-shade);
  --mapa-accent-soft: rgba(36, 91, 85, 0.3);
  --chip-accent: var(--shiny-shamrock-shade);
  --chip-soft: rgba(36, 91, 85, 0.3);
}

.mapa-card--conlara,
.mapa-chip--conlara {
  --mapa-accent: var(--dark-coral);
  --mapa-accent-soft: rgba(196, 88, 52, 0.3);
  --chip-accent: var(--dark-coral);
  --chip-soft: rgba(196, 88, 52, 0.3);
}

.mapa-card--mercedes,
.mapa-chip--mercedes {
  --mapa-accent: var(--tigers-eye);
  --mapa-accent-soft: rgba(228, 152, 68, 0.32);
  --chip-accent: var(--tigers-eye);
  --chip-soft: rgba(228, 152, 68, 0.32);
}

.mapa-card--llanura,
.mapa-chip--llanura {
  --mapa-accent: var(--vista-blue-tint);
  --mapa-accent-soft: rgba(187, 219, 252, 0.45);
  --chip-accent: var(--vista-blue);
  --chip-soft: rgba(187, 219, 252, 0.6);
}

.mapa-card--huellas,
.mapa-chip--huellas {
  --mapa-accent: var(--dark-coral-shade);
  --mapa-accent-soft: rgba(208, 148, 122, 0.35);
  --chip-accent: var(--dark-coral-shade);
  --chip-soft: rgba(208, 148, 122, 0.35);
}

@media (max-width: 992px) {
  .mapas-page {
    padding-top: 2.5rem;
  }

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

  .mapas-modal-panel {
    width: calc(100vw - 0.7rem);
    margin-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  .mapas-modal-body {
    grid-template-columns: 1fr;
    padding-top: 0.3rem;
  }

  .mapas-modal-nav {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .mapas-modal-nav--prev {
    left: 0.35rem;
  }

  .mapas-modal-nav--next {
    right: 0.35rem;
  }

  .mapas-modal-image {
    max-height: 62vh;
  }
}

/* === PAGINA PROMOCIONES === */
.promociones-page {
  padding: 0 0 2.2rem;
  background: linear-gradient(180deg, rgba(244, 232, 208, 0.35) 0%, rgba(255, 255, 255, 0) 38%);
  overflow-x: hidden;
}

.promociones-inner {
  max-width: 1100px;
  padding-top: 1.25rem;
}

/* Hero (sin foto de fondo: degradado + overlay + formas overlay-colored) */
.promociones-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  min-height: min(42vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.promociones-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(128, 168, 217, 0.35) 0%, transparent 55%),
    radial-gradient(90% 60% at 15% 40%, rgba(228, 152, 68, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #1a2f2c 0%, var(--shiny-shamrock-shade) 38%, #3d6b62 62%, #5a8a7e 100%);
}

.promociones-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.35) 0%, rgba(11, 11, 11, 0.55) 100%);
  pointer-events: none;
}

.promociones-hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem 6.25rem;
  width: 100%;
}

.promociones-hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

.promociones-hero-logo {
  display: block;
  height: auto;
}

.promociones-hero-logo--conexion {
  width: auto;
  height: 50px;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.promociones-hero-logo--bna {
  width: auto;
  height: 50px;
  max-width: min(132px, 30vw);
  object-fit: contain;
}

.promociones-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.05;
}

.promociones-hero-title-accent {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--tigers-eye);
  letter-spacing: 0.02em;
}

.promociones-hero-title-light {
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
}

.promociones-intro {
  margin: 0 auto 1.2rem;
  text-align: center;
  font-size: 2rem;
}

.promociones-intro-tagline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.promociones-intro-tagline-line {
  display: block;
  font-size: clamp(1.3rem, 2.9vw, 1.85rem);
  font-weight: 600;
  color: var(--shiny-shamrock-shade);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.promociones-intro-subtagline {
  margin: 0.55rem 0 0;
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  font-weight: 500;
  color: var(--shiny-shamrock);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.promociones-hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.promociones-hero-waves-img {
  width: 100%;
  height: auto;
  min-height: 100px;
  display: block;
  object-fit: cover;
  object-position: bottom center;
}

.promociones-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.promocion-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(36, 91, 85, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
  height: 100%;
}

.promocion-card--naranja {
  --promo-bg: #da9143;
}

.promocion-card--verde {
  --promo-bg: #58a882;
}

.promocion-card--ladrillo {
  --promo-bg: #bf5d36;
}

.promocion-card-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 3.25;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.promocion-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.promocion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.promocion-card-content {
  background: var(--promo-bg, var(--shiny-shamrock));
  color: var(--white);
  text-align: center;
  padding: 1rem 0.88rem 1.05rem;
  display: grid;
  grid-template-rows: minmax(46px, auto) minmax(72px, auto) minmax(28px, auto) minmax(34px, auto) minmax(48px, auto) auto;
  gap: 0.38rem;
  align-items: start;
}

.promocion-card-periodo,
.promocion-card-destacado,
.promocion-card-detalle,
.promocion-card-tope {
  margin: 0;
}

.promocion-card-periodo {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.promocion-card-destacado {
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
}

.promocion-card-detalle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
}

.promocion-card-tope {
  font-size: 0.92rem;
  line-height: 1.3;
}

.promocion-card-payments {
  width: min(180px, 100%);
  height: auto;
  display: block;
  margin: 0.1rem auto 0;
}

.promocion-card-btn {
  margin: 0.15rem auto 0;
  text-decoration: none;
  color: #142a2a;
  background: var(--white);
  border-radius: 999px;
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 550;
}

.promocion-card-btn:hover {
  color: #142a2a;
}

.promociones-mas-wrap {
  text-align: center;
  margin-top: 1.85rem;
}

.promociones-mas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.85rem;
  border-radius: 999px;
  background: var(--shiny-shamrock-shade);
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 6px 16px rgba(36, 91, 85, 0.25);
}

.promociones-mas-btn:hover {
  color: var(--white);
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(36, 91, 85, 0.28);
}

.promociones-legal {
  margin: 1.65rem auto 0;
  max-width: 980px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(36, 91, 85, 0.16);
  border-radius: 12px;
  scroll-margin-top: 1.25rem;
}

.promociones-legal-heading {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shiny-shamrock-shade);
  text-align: center;
}

.promociones-legal-sub {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--shiny-shamrock);
  text-align: center;
}

.promociones-legal-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(20, 42, 42, 0.95);
  letter-spacing: 0.01em;
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 992px) {
  .promociones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promociones-hero {
    min-height: 280px;
    max-height: none;
  }

  .promociones-hero-inner {
    padding: 1.6rem 1rem 5.5rem;
  }

  .promocion-card-content {
    grid-template-rows: auto auto auto auto auto auto;
  }

  .promocion-card-destacado {
    font-size: 1.7rem;
  }

  .promocion-card-detalle {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .promociones-page {
    padding-top: 2.3rem;
  }

  .promociones-hero-inner {
    padding: 1.35rem 0.85rem 5rem;
  }

  .promociones-hero-logo--conexion,
  .promociones-hero-logo--bna {
    height: 46px;
  }

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

/* === PAGINA DATOS UTILES === */
.datos-utiles-page {
  padding: 2rem 0 2.4rem;
  background: linear-gradient(180deg, rgba(128, 168, 217, 0.18) 0%, rgba(255, 255, 255, 0) 38%);
}

.datos-utiles-container {
  max-width: 1100px;
}

.datos-utiles-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.datos-utiles-title {
  margin: 0;
  color: var(--shiny-shamrock-shade);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.datos-utiles-subtitle {
  margin: 0.5rem auto 0;
  max-width: 700px;
  color: rgba(20, 42, 42, 0.92);
  line-height: 1.45;
  font-size: 1rem;
}

.datos-utiles-block {
  background: var(--white);
  border: 1px solid rgba(36, 91, 85, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.datos-utiles-block + .datos-utiles-block {
  margin-top: 1rem;
}

.datos-utiles-block-title {
  margin: 0 0 0.85rem;
  color: var(--shiny-shamrock-shade);
  font-size: 1.2rem;
  font-weight: 650;
}

.datos-utiles-emergencias {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.datos-utiles-emergencia-item {
  background: rgba(103, 165, 128, 0.12);
  border: 1px solid rgba(103, 165, 128, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.datos-utiles-emergencia-item h3 {
  margin: 0;
  color: #1f4d47;
  font-size: 0.95rem;
  font-weight: 600;
}

.datos-utiles-emergencia-item p {
  margin: 0.35rem 0 0;
  color: #153331;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Explorador lista + mapa (oficinas de turismo) */
.oficinas-explorador {
  margin-top: 1.25rem;
  background: #f3f5f4;
  border-top: 1px solid rgba(36, 91, 85, 0.1);
}

.oficinas-explorador-toolbar {
  background: var(--white);
  border-bottom: 1px solid rgba(36, 91, 85, 0.12);
  padding: 0.65rem 1rem;
}

.oficinas-explorador-toolbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.oficinas-explorador-search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(36, 91, 85, 0.18);
  border-radius: 10px;
  padding: 0.35rem 0.65rem;
  background: #fafcfb;
  color: var(--shiny-shamrock-shade);
}

.oficinas-explorador-search-input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  outline: none;
}

.oficinas-explorador-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.oficinas-explorador-select {
  border: 1px solid rgba(36, 91, 85, 0.18);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  color: #1f4d47;
  background: var(--white);
  min-width: 150px;
}

.oficinas-explorador-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  user-select: none;
  margin-left: auto;
}

.oficinas-explorador-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.oficinas-explorador-toggle-ui {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(36, 91, 85, 0.22);
  position: relative;
  transition: background 160ms ease;
}

.oficinas-explorador-toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 160ms ease;
}

.oficinas-explorador-toggle input:checked + .oficinas-explorador-toggle-ui {
  background: var(--shiny-shamrock);
}

.oficinas-explorador-toggle input:checked + .oficinas-explorador-toggle-ui::after {
  transform: translateX(18px);
}

.oficinas-explorador-toggle-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1f4d47;
}

.oficinas-explorador-nearby {
  border: 1px solid rgba(36, 91, 85, 0.22);
  background: var(--white);
  color: var(--shiny-shamrock-shade);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 160ms ease, border-color 160ms ease;
}

.oficinas-explorador-nearby:hover:not(:disabled) {
  background: rgba(103, 165, 128, 0.12);
  border-color: var(--shiny-shamrock);
}

.oficinas-explorador-nearby:disabled {
  opacity: 0.65;
}

.oficinas-explorador-split {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  align-items: stretch;
}

.oficinas-explorador-list-panel {
  background: #e8eceb;
  border-right: 1px solid rgba(36, 91, 85, 0.12);
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.85rem 1rem;
  min-height: 0;
}

.oficinas-explorador-count {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: rgba(20, 42, 42, 0.88);
}

.oficinas-explorador-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.15rem;
}

.oficinas-explorador-pagination {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.oficinas-explorador-page-btn {
  border: 1px solid rgba(36, 91, 85, 0.18);
  background: var(--white);
  color: #1f4d47;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.oficinas-explorador-page-btn:disabled {
  opacity: 0.5;
}

.oficinas-explorador-page-info {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(20, 42, 42, 0.8);
}

.oficinas-explorador-see-all {
  margin-top: 0.75rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.65rem;
  font-weight: 600;
  background: var(--shiny-shamrock-shade);
  color: var(--white);
}

.oficinas-explorador-see-all:hover {
  opacity: 0.95;
}

.oficinas-explorador-map-panel {
  position: relative;
  background: #dfe6e4;
  min-height: 0;
}

.oficinas-explorador-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 1;
}

.oficinas-explorador-map-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(36, 91, 85, 0.14);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #1f4d47;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: min(280px, calc(100% - 1.5rem));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

/* Tarjetas de oficina */
.oficina-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(36, 91, 85, 0.12);
  padding: 0.78rem 0.82rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.oficina-card:hover {
  border-color: rgba(103, 165, 128, 0.45);
}

.oficina-card.is-active {
  border-color: var(--shiny-shamrock);
  box-shadow: 0 6px 18px rgba(36, 91, 85, 0.18);
}

.oficina-card-main {
  display: grid;
  grid-template-columns: auto 1fr 72px;
  gap: 0.5rem;
  align-items: start;
}

.oficina-card-pin {
  width: 28px;
  height: 34px;
  border-radius: 10px 10px 10px 4px;
  background: linear-gradient(165deg, #5aaf7a 0%, var(--shiny-shamrock-shade) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: rotate(-4deg);
}

.oficina-card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  color: #142a2a;
  line-height: 1.3;
}

.oficina-card-meta {
  margin: 0.26rem 0 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(20, 42, 42, 0.72);
}

.oficina-card-status {
  margin: 0.42rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.2;
}

.oficina-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.oficina-status-dot.is-open {
  background: #2e9f5e;
}

.oficina-status-dot.is-closed {
  background: #c45834;
}

.oficina-card-status:has(.oficina-status-dot.is-open) {
  background: rgba(46, 159, 94, 0.12);
  border-color: rgba(46, 159, 94, 0.26);
  color: #1f4d47;
}

.oficina-card-status:has(.oficina-status-dot.is-closed) {
  background: rgba(196, 88, 52, 0.12);
  border-color: rgba(196, 88, 52, 0.25);
  color: #5e2c18;
}

.oficina-card-hours {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.3;
  color: rgba(20, 42, 42, 0.78);
}

.oficina-card-phone {
  margin: 0.45rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1f4d47;
  text-decoration: none;
  padding: 0.34rem 0.56rem;
  border-radius: 8px;
  background: rgba(36, 91, 85, 0.08);
  border: 1px solid rgba(36, 91, 85, 0.15);
}

.oficina-card-phone:hover {
  text-decoration: underline;
}

.oficina-card-thumb-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(128, 168, 217, 0.2);
  aspect-ratio: 4 / 3;
}

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

.oficina-card-thumb-wrap--zoomable,
.oficina-card-thumb--zoomable {
  cursor: zoom-in;
}

.oficina-foto-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.oficina-foto-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.oficina-foto-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 35, 0.82);
  cursor: pointer;
}

.oficina-foto-modal-panel {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 960px);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #0d1f1d;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.oficina-foto-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.oficina-foto-modal-close:hover {
  background: rgba(0, 0, 0, 0.62);
}

.oficina-foto-modal-close:focus-visible {
  outline: 2px solid #7ec8a8;
  outline-offset: 2px;
}

.oficina-foto-modal-title {
  margin: 0;
  padding: 0.65rem 3rem 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  flex-shrink: 0;
}

.oficina-foto-modal-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem 0.75rem;
  background: #000;
}

.oficina-foto-modal-img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.oficina-card-actions {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(36, 91, 85, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.oficina-card-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shiny-shamrock-shade);
  text-decoration: none;
  cursor: pointer;
}

.oficina-card-link:hover {
  text-decoration: underline;
}

/* Marcadores Leaflet numerados */
.oficinas-leaflet-pin {
  background: transparent !important;
  border: none !important;
}

.oficinas-leaflet-pin-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 36px;
  border-radius: 10px 10px 10px 4px;
  background: linear-gradient(165deg, #5aaf7a 0%, var(--shiny-shamrock-shade) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.oficinas-leaflet-pin.is-hover .oficinas-leaflet-pin-num {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px rgba(36, 91, 85, 0.32);
}

.oficinas-leaflet-pin.is-active .oficinas-leaflet-pin-num {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 18px rgba(36, 91, 85, 0.4);
  filter: saturate(1.15);
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  border: 1px solid rgba(36, 91, 85, 0.14);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.leaflet-popup-content {
  margin: 4px 6px;
}

.oficina-map-popup-card {
  color: #153331;
  cursor: pointer;
  min-width: 150px;
  max-width: 178px;
}

.oficina-map-popup-card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  color: #142a2a;
}

.oficina-map-popup-card-meta {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1;
  color: rgba(20, 42, 42, 0.78);
}

.oficina-map-popup-card-status {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  color: #153331;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.oficina-map-popup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.oficina-map-popup-card-status.is-open {
  color: #1f4d47;
  background: rgba(46, 159, 94, 0.12);
  border-color: rgba(46, 159, 94, 0.26);
}

.oficina-map-popup-dot.is-open {
  background: #2e9f5e;
}

.oficina-map-popup-card-status.is-closed {
  color: #5e2c18;
  background: rgba(196, 88, 52, 0.12);
  border-color: rgba(196, 88, 52, 0.25);
}

.oficina-map-popup-dot.is-closed {
  background: #c45834;
}

.oficina-map-popup-card-status.is-unknown {
  color: #4f4f4f;
  background: rgba(123, 123, 123, 0.12);
  border-color: rgba(123, 123, 123, 0.2);
}

.oficina-map-popup-dot.is-unknown {
  background: #7b7b7b;
}

.oficina-map-popup-card-hours {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1;
}

.oficina-map-popup-card-phone {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  color: #1f4d47;
  text-decoration: none;
  border: 0;
  background: rgba(36, 91, 85, 0.08);
  border: 1px solid rgba(36, 91, 85, 0.15);
  border-radius: 8px;
  padding: 0.2rem 0.36rem;
  cursor: pointer;
}

.oficina-map-popup-card-phone.is-muted {
  color: rgba(20, 42, 42, 0.6);
  background: rgba(20, 42, 42, 0.04);
  border-style: dashed;
}

.oficina-map-popup-card-phone:hover {
  text-decoration: underline;
}

.phone-copy-main {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.phone-copy-action {
  opacity: 0.82;
  flex-shrink: 0;
  font-size: 0.88em;
  color: rgba(20, 42, 42, 0.72);
}

.oficina-map-popup-card-actions {
  margin-top: 0.12rem;
  display: flex;
  gap: 0.2rem;
  justify-content: flex-end;
  padding-top: 0;
}

.oficina-map-popup-card-link {
  border: 0;
  border-radius: 6px;
  padding: 0.18rem 0.34rem;
  font-size: 0.74rem;
  font-weight: 650;
  background: rgba(36, 91, 85, 0.1);
  color: var(--shiny-shamrock-shade);
  text-decoration: none;
  cursor: pointer;
}

.oficina-map-popup-card-link:hover {
  background: rgba(36, 91, 85, 0.18);
}

@media (max-width: 992px) {
  .datos-utiles-emergencias {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oficinas-explorador-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .oficinas-explorador-list-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(36, 91, 85, 0.12);
    max-height: 48vh;
  }

  .oficinas-explorador-map-panel {
    min-height: 42vh;
  }

  .oficinas-explorador-map {
    min-height: 42vh;
  }

  .oficinas-explorador-toggle {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .datos-utiles-page {
    padding-top: 2.2rem;
  }

  .datos-utiles-emergencias {
    grid-template-columns: 1fr;
  }

  .oficinas-explorador-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .oficinas-explorador-nearby {
    width: 100%;
    justify-content: center;
  }
}

