/* Home por mundos (php/views/home-mundos.php). Simple, como el Nuxt: un fondo,
   cada mundo con su título, una fila de 3 y «Ver todas» abajo. */

.hmundos { background: var(--c-crema); padding: 8px 0 24px; font-family: Barlow, sans-serif; font-style: normal; color: var(--c-tinta); }
.hmundo { --m-acento: var(--c-naranja-txt); padding: 36px 0 8px; }
.hmundo + .hmundo > .container { border-top: 1px solid var(--c-borde); padding-top: 32px; }
.hmundo--avion { --m-acento: #1f5f8b; }
.hmundo--cruceros { --m-acento: #0f6e6a; }

.hmundo__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.hmundo__heading { min-width: 0; }
.hmundo__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m-acento); }
.hmundo__titulo { margin: 2px 0 0; font-size: 28px; line-height: 1.1; font-weight: 800; font-style: normal; text-transform: none; color: var(--c-tinta); }
.hmundo__sub { margin: 4px 0 0; font-size: 15px; color: var(--c-texto); }

.hmundo__fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hmundo__item { display: flex; min-width: 0; }
.hmundo__item .card.hcard { margin-bottom: 0; }
.hmundo__mas { display: none; }
.hmundo__pie { display: flex; justify-content: center; margin-top: 22px; }
.hmundo__todas { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--m-acento); background: #fff; color: var(--m-acento); font-size: 16px; font-weight: 700; text-decoration: none; }
.hmundo__todas:hover { background: var(--m-acento); color: #fff; text-decoration: none; }
/* En la compu, la fila de 3 (Diego, 01/11: «queda mejor en 3»); las otras son para deslizar en el celular.
   nth-of-type y no nth-child: home-card.php deja un <script> en la fila después de la primera tarjeta
   con WhatsApp, y con nth-child contaba como tarjeta (se veían 2 de 3). */
.hmundo__fila > .hmundo__item:nth-of-type(n+4) { display: none; }
.hmundo--avion .hcard__tipo, .hcard--avion .hcard__tipo { color: #1f5f8b; }
.hmundo--cruceros .hcard__tipo, .hcard--cruceros .hcard__tipo { color: #0f6e6a; }

.hmundo__relleno { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px; border-radius: 16px; border: 2px dashed var(--c-borde-2); background: #fff; }
.hmundo__relleno strong { font-size: 22px; font-weight: 800; line-height: 1.2; }
.hmundo__relleno p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--c-texto); max-width: 420px; }
.hmundo__wa { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #1b7a50; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.hmundo__wa:hover { background: #156440; color: #fff; text-decoration: none; }

/* Mundo sin ninguna salida: no se oculta, así se sabe que Ceará lo vende. */
.hmundo__vacio { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 20px 24px; border-radius: 14px; border: 2px dashed var(--c-borde-2); background: #fff; }
.hmundo__vacio p { flex: 1 1 260px; margin: 0; font-size: 15px; color: var(--c-texto); }

/* Celular y tablet: la fila se desliza con el dedo (hasta 6) y cierra con «Ver todas». */
@media (max-width: 991px) {
    .hmundo { padding-top: 28px; }
    .hmundo + .hmundo > .container { padding-top: 26px; }
    .hmundo__titulo { font-size: 24px; }
    .hmundo__pie { margin-top: 16px; }
    .hmundo__todas { width: 100%; justify-content: center; }
    .hmundo__fila { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; margin-right: -15px; padding-right: 15px; padding-bottom: 6px; scrollbar-width: none; }
    .hmundo__fila::-webkit-scrollbar { display: none; }
    .hmundo__item, .hmundo__fila > .hmundo__item:nth-of-type(n+4) { display: flex; flex: 0 0 300px; max-width: 84%; scroll-snap-align: start; }
    .hmundo__fila > .hmundo__item:nth-of-type(n+7) { display: none; }
    .hmundo__relleno { display: none; }
    .hmundo__mas { flex: 0 0 52%; max-width: 220px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px; border-radius: 16px; border: 2px dashed var(--c-borde-2); background: #fff; color: var(--m-acento); text-decoration: none; font-size: 15px; }
    .hmundo__mas strong { font-size: 20px; font-weight: 800; }
    .hmundo__mas:hover { color: var(--m-acento); text-decoration: none; }
}

/* ---------- Tarjeta «clara» (Claude Design, «Tarjetas y menú, más claros»; home-card.php con $cardClara) ----------
   Primero qué viaje es, después cuándo sale, después cuánto cuesta. Un solo acento en el cuerpo: el botón. */
.hcard--clara .hcard__img { height: 220px; aspect-ratio: auto; overflow: hidden; }
.hcard--clara .hcard__img > .card__cover { height: 100%; object-fit: cover; }
.hcard--clara .hcard__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
/* Título con lugar para dos renglones: el renglón de datos queda a la misma altura en toda la fila (Claude Design 11/11). */
.hcard--clara .hcard__title { min-height: 2.44em; font-size: 20px; line-height: 1.22; font-weight: 700; text-transform: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hcard--clara .hcard__title a { color: var(--c-tinta); text-decoration: none; }
.hcard--clara .hcard__cuando { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--c-tinta); }
.hcard--clara .hcard__cuando svg { flex: none; color: #7b6f66; }
.hcard--clara .hcard__datos-txt { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: #6b625b; }
/* «Grupal en bus», «Grupal en avión», «Crucero»: en negrita y del color del mundo (Diego, 4/11: que la tarjeta diga qué es). */
.hcard--clara .hcard__datos-txt .hcard__tipo { display: inline; font-weight: 700; color: var(--c-naranja-txt); }
.hcard--clara.hcard--avion .hcard__datos-txt .hcard__tipo { color: #1f5f8b; }
.hcard--clara.hcard--cruceros .hcard__datos-txt .hcard__tipo { color: #0f6e6a; }
.hcard--clara .hcard__detalle { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; min-width: 0; }
.hcard__serv { font-size: 13px; line-height: 1.4; color: #6b625b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard__hotel { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; color: #6b625b; }
.hcard__hotel svg { flex: none; color: #8a7a6a; }
.hcard__hotel > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Precio: siempre abajo de todo y a todo el ancho; el aire que sobra queda arriba de la línea.
   «Total para 2» y las cuotas van debajo, en .hcard__extras, que home-mundos.php empareja
   con la más alta de la fila: así el precio y «Ver viaje» quedan a la misma altura. */
.hcard--clara .hcard__pie { display: block; margin-top: auto; padding-top: 16px; border-top: 0; }
.hcard__caja { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid #f0e8e0; color: #6b625b; }
.hcard__desde-fila { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hcard__desde { font-size: 12px; font-weight: 500; }
/* El estado, solo cuando es noticia: «Últimos N lugares» (ámbar) o «Agotada» (gris). */
.hcard__estado-txt { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #b45309; white-space: nowrap; }
.hcard__estado-txt > span { flex: none; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.hcard__estado-txt--no { color: #7b6f66; }
.hcard__precio-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.hcard--clara .hcard__acciones { display: flex; align-items: center; gap: 8px; }
.hcard--clara .hcard__price { font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; color: var(--c-tinta); white-space: nowrap; }
.hcard--clara .hcard__price small { font-size: 15px; font-weight: 700; margin-right: 3px; }
.hcard__extras { display: flex; flex-direction: column; gap: 2px; }
.hcard__total { font-size: 13px; font-weight: 600; color: var(--c-texto); }
.hcard__cuotas-txt { font-size: 13px; }
.hcard--clara .hcard__ver { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid #c94f10; border-radius: 10px; background: #c94f10; color: #fff; font-size: 15px; font-weight: 700; }
.hcard--clara .hcard__ver:hover, .hcard--clara .hcard__ver:focus { background: #a83f0b; border-color: #a83f0b; color: #fff; }
/* Agotada: el botón pasa a borde y el precio y la foto se apagan. */
.hcard--agotada .card__cover { filter: grayscale(.7); }
.hcard--agotada .hcard__price { color: #6b625b; }
.hcard--agotada .hcard__ver { background: #fff; color: #c4470c; }
@media (max-width: 991px) {
    .hcard--clara .hcard__img { height: 176px; }
    .hcard--clara .hcard__body { padding: 14px 16px 16px; }
    .hcard--clara .hcard__title { min-height: 2.4em; font-size: 19px; line-height: 1.2; }
    .hcard--clara .hcard__datos-txt { margin-top: 5px; }
    .hcard--clara .hcard__detalle { margin-top: 8px; gap: 4px; }
    .hcard--clara .hcard__pie { padding-top: 14px; }
    .hcard__caja { padding-top: 10px; }
    .hcard--clara .hcard__price { font-size: 26px; }
    .hcard--clara .hcard__price small { font-size: 14px; }
    .hcard__estado-txt { font-size: 12px; }
    .hcard--clara .hcard__ver { padding: 0 14px; }
}

/* La fecha en banderín sobre la foto (promo_fecha_banderin): el del diseño «Home Ceara» de
   Claude Design, con sus valores. Arranca en el borde de la foto (el del 23/09 asomaba 8 px
   afuera y se pegaba a la tarjeta de al lado). Primera fecha con el calendario; las siguientes,
   eslabones encadenados; «+N» negro si hay más. El renglón «Sale el…» queda solo para el lector
   de pantalla (.hcard__cuando--oculto). */
.hcard__banderin { position: absolute; left: 0; right: 8px; bottom: 12px; z-index: 2; display: flex; flex-wrap: nowrap; align-items: flex-start; overflow: hidden; pointer-events: none; font-family: Barlow, sans-serif; line-height: 1; color: #241d15; filter: drop-shadow(0 3px 6px rgba(42,28,18,.3)); }
.hcard__banderin-fecha { display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 16px; background: #2cebe4; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); }
.hcard__banderin-fecha svg { flex: none; }
.hcard__banderin-dia { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.hcard__banderin-dia b { font-size: 18px; font-weight: 800; }
.hcard__banderin-dia i { font-style: normal; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.hcard__banderin-eslabon { display: flex; align-items: center; height: 34px; margin-left: -7px; padding: 0 14px 0 17px; background: #2cebe4; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 10px 100%, 0 50%); }
.hcard__banderin-eslabon .hcard__banderin-dia { gap: 4px; }
.hcard__banderin-eslabon .hcard__banderin-dia b { font-size: 16px; }
.hcard__banderin-eslabon .hcard__banderin-dia i { font-size: 12px; }
.hcard__banderin-mas { display: flex; align-items: center; height: 34px; margin-left: -7px; padding: 0 14px 0 17px; background: #241d15; color: #2cebe4; font-size: 13px; font-weight: 800; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.hcard__banderin-rotulo { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
/* El banderín del color del mundo: azul en avión, verde petróleo en cruceros (con «ZARPA»); turquesa, el del diseño, en bus. */
.hcard--avion .hcard__banderin, .hcard--cruceros .hcard__banderin { color: #fff; }
.hcard--avion .hcard__banderin-fecha, .hcard--avion .hcard__banderin-eslabon { background: #1f5f8b; }
.hcard--avion .hcard__banderin-mas { color: #1f5f8b; }
.hcard--cruceros .hcard__banderin-fecha, .hcard--cruceros .hcard__banderin-eslabon { background: #0f6e6a; }
.hcard--cruceros .hcard__banderin-mas { color: #0f6e6a; }
.hcard__cuando--oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Destacados (home_destacados): el mosaico del diseño «Home Ceara», con sus valores. Una grande
   que ocupa dos filas y dos chicas al lado; con 2, las dos altas; con 1, sola a todo el ancho. */
.hmundo--destacados { --m-acento: var(--c-naranja-txt); }
.hdest { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-auto-rows: 220px; gap: 16px; }
.hdest--n1 { grid-template-columns: minmax(0, 1fr); }
.hdest--n2 .hdest__item { grid-row: span 2; }
.hdest__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 16px; overflow: hidden; color: #fff; background-size: cover; background-position: center; text-decoration: none; }
.hdest__item:hover, .hdest__item:focus { color: #fff; text-decoration: none; }
.hdest__item--grande { grid-row: span 2; }
.hdest__tipo { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffd100; }
.hdest__titulo { margin-top: 4px; font-size: 26px; line-height: 1.05; font-weight: 900; font-style: italic; text-transform: uppercase; }
.hdest__precio { margin-top: 6px; font-size: 15px; }
@media (max-width: 991px) {
    .hdest { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
    .hdest__item--grande, .hdest--n2 .hdest__item { grid-row: auto; }
    .hdest__titulo { font-size: 22px; }
}

/* ---------- Final de la página (home.php, .hpasajeros; Claude Design 11/11) ----------
   Un solo bloque: título, de qué son, los videos y las fotos de pasajeros. Sin banda naranja ni hueco
   blanco: el pie oscuro arranca acá mismo. Compu: con videos, 8 fotos en 4×2 al lado; sin videos, 12 en
   6×2. Celular: los videos lado a lado y las fotos en una tira que se desliza. */
.hpasajeros { padding: 40px 0 44px; border-top: 1px solid var(--c-borde); background: var(--c-crema); font-family: Barlow, sans-serif; font-style: normal; color: var(--c-tinta); }
.hpasajeros + .site-footer { margin-top: 0; }
.hpasajeros__head { margin-bottom: 20px; }
.hpasajeros__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-naranja-txt); }
.hpasajeros__titulo { margin: 2px 0 0; font-size: 28px; line-height: 1.1; font-weight: 800; font-style: normal; text-transform: none; color: var(--c-tinta); }
.hpasajeros__sub { margin: 4px 0 0; font-size: 15px; color: var(--c-texto); }
.hpasajeros__cuerpo { display: flex; gap: 24px; align-items: stretch; }
.hpasajeros__videos { flex: none; display: flex; gap: 16px; }
.hpasajeros__video { position: relative; flex: none; display: block; width: 180px; height: 320px; border-radius: 14px; overflow: hidden; background: #2b231d; color: #fff; text-decoration: none; }
.hpasajeros__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpasajeros__video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,10,.6) 0%, rgba(20,14,10,0) 40%); }
.hpasajeros__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--c-tinta); }
.hpasajeros__red { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.hpasajeros__video:hover, .hpasajeros__video:focus { color: #fff; text-decoration: none; }
.hpasajeros__video:hover .hpasajeros__play { background: #fff; }
.hpasajeros__fotos { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hpasajeros--videos .hpasajeros__fotos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hpasajeros__fotos li { height: 126px; border-radius: 12px; overflow: hidden; background: #e6d9cb; }
.hpasajeros--videos .hpasajeros__fotos li { height: 152px; }
.hpasajeros--videos .hpasajeros__fotos li:nth-child(n+9) { display: none; }
.hpasajeros__fotos a { display: block; width: 100%; height: 100%; }
.hpasajeros__fotos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.hpasajeros__fotos a:hover img { transform: scale(1.04); }
@media (max-width: 991px) {
    .hpasajeros { padding: 28px 0; }
    .hpasajeros__head { margin-bottom: 16px; }
    .hpasajeros__titulo { font-size: 24px; }
    .hpasajeros__sub { font-size: 14px; }
    .hpasajeros__cuerpo { flex-direction: column; gap: 12px; }
    .hpasajeros__videos { gap: 12px; }
    .hpasajeros__video { flex: 1 1 0; width: auto; max-width: 240px; height: 230px; }
    .hpasajeros__fotos, .hpasajeros--videos .hpasajeros__fotos { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
    .hpasajeros__fotos::-webkit-scrollbar { display: none; }
    .hpasajeros__fotos li, .hpasajeros--videos .hpasajeros__fotos li, .hpasajeros--videos .hpasajeros__fotos li:nth-child(n+9) { display: block; flex: 0 0 120px; height: 90px; scroll-snap-align: start; }
}

/* Reels de Instagram con comentarios (home.php, .hpasajeros--reels; Claude Design 11/11, FinalPagina).
   Compu: fila de 4, todas las tarjetas del mismo alto. Celular: la fila se desliza, como las de viajes. */
.hreels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.hreel { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-borde); border-radius: 16px; overflow: hidden; }
.hreel__tapa { position: relative; display: block; aspect-ratio: 9 / 16; background: #2b231d; color: #fff; text-decoration: none; }
.hreel__tapa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hreel__tapa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,10,.55) 0%, rgba(20,14,10,0) 35%); }
.hreel__tapa:hover, .hreel__tapa:focus { color: #fff; text-decoration: none; }
.hreel__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--c-tinta); }
.hreel__tapa:hover .hreel__play { background: #fff; }
.hreel__chip { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(31,26,23,.55); font-size: 12px; font-weight: 700; }
.hreel__viaje { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; font-size: 14px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hreel__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.hreel__coms { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hreel__coms li { display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.35; }
.hreel__coms b { font-weight: 700; color: var(--c-tinta); }
.hreel__coms span { color: var(--c-texto); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hreel__ver { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--c-naranja-txt); text-decoration: none; }
.hreel__ver:hover { color: var(--c-naranja-txt); text-decoration: underline; }
@media (max-width: 991px) {
    .hreels { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
    .hreels::-webkit-scrollbar { display: none; }
    .hreel { flex: 0 0 220px; scroll-snap-align: start; }
}
