/*
Theme Name: Cuyabeno Dolphin Lodge
Theme URI: https://cuyabenodolphinlodge.com
Author: Blue Nova Consulting
Author URI: https://bluenova.com.ec
Description: Tema a medida para Cuyabeno Dolphin Lodge (Reserva de Producción Faunística Cuyabeno, Amazonía ecuatoriana). Construido sobre la plantilla EpicTrips con paneles autoadministrables. Metodología Blue Nova.
Version: 0.1.0
Requires PHP: 7.4
Text Domain: cuyabeno-dolphin-lodge
*/

/*
 * Ajustes propios del tema. Los colores NUNCA van aquí en duro:
 * se inyectan como custom properties (--cdl-*) desde inc/enqueue.php
 * y aquí solo se usan con var(--cdl-primary), var(--cdl-accent), etc.
 */

/* ==========================================================================
   Correcciones de la revisión visual r1 (capturas 20-ago): header sólido,
   botones con fondo, galería de ficha, footer y contenido.
   ========================================================================== */

/* ==========================================================================
   Header "signature travel": barra selva con MENU a la izquierda, logo
   centrado y Book Now a la derecha; navegación en overlay a pantalla
   completa (referencia del cliente).
   ========================================================================== */
.cdl-header {
    position: sticky;
    top: 0;
    z-index: 995;
    background: rgba(11, 42, 23, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.cdl-header.cdl-scrolled {
    background: #0b2a17;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.cdl-header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 92px;
    gap: 24px;
}
.cdl-menu-toggle {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 8px 0;
}
.cdl-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}
.cdl-burger i {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.25s ease;
}
.cdl-burger i:nth-child(2) {
    width: 70%;
}
.cdl-menu-toggle:hover .cdl-burger i {
    width: 100%;
}
.cdl-menu-etiqueta {
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}
.cdl-header-logo {
    justify-self: center;
    display: block;
}
.cdl-header-logo img {
    max-height: 72px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.cdl-header-logo:hover img {
    transform: scale(1.05);
}
.cdl-header-right {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.cdl-header-social {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cdl-header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: all 0.25s ease;
}
.cdl-header-social a:hover {
    background: #fff;
    color: var(--cdl-secondary);
}
.cdl-header-cta {
    background: var(--cdl-accent);
    color: #3d1414;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}
.cdl-header-cta:hover {
    background: #f7b2b2;
    color: #3d1414;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
    .cdl-header-bar {
        min-height: 72px;
    }
    .cdl-header-logo img {
        max-height: 56px;
    }
    .cdl-menu-etiqueta,
    .cdl-header-social {
        display: none;
    }
    .cdl-header-cta {
        padding: 11px 18px;
        font-size: 12px;
    }
}

/* --- El overlay de navegación, con la voz del lodge: Fraunces editorial,
   miniaturas redondas, foto orgánica con marco rosado, ondas del río y la
   prueba social real al pie. --- */
.cdl-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: linear-gradient(150deg, rgba(12, 47, 26, 0.94) 0%, rgba(20, 83, 43, 0.94) 62%, rgba(14, 59, 32, 0.94) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    flex-direction: column;
}
/* Las curvas de nivel del territorio, en trazo casi imperceptible: el mapa
   de la reserva como textura (nada de patrones repetidos). */
.cdl-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.cdl-overlay-inner,
.cdl-overlay-pie {
    position: relative;
}
.cdl-overlay.abierto {
    opacity: 1;
    visibility: visible;
}
body.cdl-overlay-abierto {
    overflow: hidden;
}
.cdl-overlay-cerrar {
    position: absolute;
    top: 34px;
    right: 44px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 2;
}
.cdl-overlay-cerrar:hover {
    background: var(--cdl-accent);
    border-color: var(--cdl-accent);
    color: #3d1414;
    transform: rotate(90deg);
}
.cdl-overlay-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 44px 40px;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 72px;
    align-items: start;
    flex: 1;
}
/* Navegación principal: serif editorial, sin líneas — como los titulares
   del sitio, con el arco del delfín en el activo. */
.cdl-overlay-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cdl-overlay-nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Fraunces", Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.25s ease, padding-left 0.25s ease;
}
.cdl-overlay-nav a .flecha {
    font-family: "Barlow", sans-serif;
    font-size: 20px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    color: var(--cdl-accent);
}
.cdl-overlay-nav a:hover,
.cdl-overlay-nav .activo a {
    color: var(--cdl-accent);
    font-style: italic;
    padding-left: 8px;
}
.cdl-overlay-nav a:hover .flecha,
.cdl-overlay-nav .activo a .flecha {
    opacity: 1;
    transform: translateX(0);
}
.cdl-overlay-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cdl-accent);
    margin-bottom: 18px;
}
.cdl-overlay-etiqueta::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--cdl-accent);
    border-radius: 2px;
}
/* Tours con miniatura redonda: la lista tiene cara. */
.cdl-overlay-tours ul {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}
.cdl-overlay-tours ul a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.cdl-overlay-tours ul a .mini {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.25);
    flex: 0 0 auto;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.cdl-overlay-tours ul a:hover {
    color: #fff;
    padding-left: 6px;
}
.cdl-overlay-tours ul a:hover .mini {
    border-color: var(--cdl-accent);
    transform: scale(1.08);
}
.cdl-overlay-vertodos {
    display: inline-block;
    background: var(--cdl-accent);
    color: #3d1414;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 999px;
    transition: all 0.25s ease;
}
.cdl-overlay-vertodos:hover {
    background: #f7b2b2;
    color: #3d1414;
    transform: translateY(-2px);
}
/* La foto destacada: círculo orgánico con un anillo rosado fino
   desplazado (línea, no mancha) y el caption centrado con aire. */
.cdl-overlay-foto {
    margin: 0;
    position: relative;
    max-width: 340px;
    justify-self: center;
    text-align: center;
}
.cdl-overlay-foto .marco {
    position: relative;
    display: block;
}
.cdl-overlay-foto .marco::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(14px, 14px);
    border-radius: 54% 46% 48% 52% / 56% 54% 46% 44%;
    border: 2px solid rgba(240, 152, 152, 0.45);
}
.cdl-overlay-foto img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
    display: block;
    transition: opacity 0.3s ease;
}
.cdl-overlay-foto figcaption {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px auto 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
}
.cdl-overlay-foto .punto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cdl-accent);
    color: #3d1414;
    flex: 0 0 auto;
}
/* Franja inferior: la prueba social que la referencia no tiene. */
.cdl-overlay-pie {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 18px 44px 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.cdl-overlay-wa {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: color 0.2s ease;
}
.cdl-overlay-wa:hover {
    color: var(--cdl-accent);
}
@media (max-width: 991px) {
    .cdl-overlay-inner {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 104px 24px 40px;
    }
    .cdl-overlay-foto {
        display: none;
    }
    .cdl-overlay-cerrar {
        top: 18px;
        right: 20px;
    }
    .cdl-overlay-nav a {
        font-size: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cdl-overlay {
        transition: none;
    }
}

/* --- Botones: la base .tf-btn de la plantilla es solo texto; nuestros
   contextos necesitan botón de verdad. --- */
/* Un solo lenguaje de botón en todo el sitio: píldora. */
.tour-grid .tf-btn.style-small,
.wg-booking-content .tf-btn,
.cdl-form-fallback .tf-btn,
.section-default .tf-btn,
.section-about .tf-btn {
    background: var(--cdl-button);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}
.tour-grid .tf-btn.style-small:hover,
.wg-booking-content .tf-btn:hover,
.cdl-form-fallback .tf-btn:hover,
.section-about .tf-btn:hover {
    background: var(--cdl-button-hover);
    color: #fff;
}
.wg-booking-content .tf-btn.style-2 {
    background: #fff;
    color: var(--cdl-button);
    border: 1px solid var(--cdl-button);
}
.wg-booking-content .tf-btn.style-2:hover {
    background: var(--cdl-button);
    color: #fff;
}
.wg-booking-content .tf-btn.style-boder {
    background: #fff;
    color: var(--On-Surface);
    border: 1px solid var(--Line);
}
.section-cta .tf-btn {
    background: #fff;
    color: var(--cdl-secondary);
    padding: 12px 28px;
    border-radius: 999px;
    display: inline-block;
    font-weight: 600;
}
.tour-grid .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

/* Botón de Fluent Forms al verde de marca (viene azul del plugin). */
.fluentform .ff-btn-submit,
.fluentform .ff_btn_style {
    background-color: var(--cdl-button) !important;
    border-color: var(--cdl-button) !important;
    color: #fff !important;
    border-radius: 999px !important;
}
.fluentform .ff-btn-submit:hover {
    background-color: var(--cdl-button-hover) !important;
}

/* --- Galería de la ficha de tour: mosaico 1 grande + 2 apiladas, con las
   fotos llenando su celda (object-fit) y el botón como overlay. --- */
.wg-gallery.style-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-auto-rows: 280px;
    gap: 16px;
    margin-bottom: 32px;
}
.wg-gallery.style-2 .gallery-item-1 {
    grid-row: span 2;
}
.wg-gallery.style-2 .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.wg-gallery.style-2 .image,
.wg-gallery.style-2 .image a {
    display: block;
    width: 100%;
    height: 100%;
}
.wg-gallery.style-2 .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wg-gallery.style-2 .gallery-content {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wg-gallery.style-2 .btn-gallery .tf-btn {
    background: #fff;
    color: var(--On-Surface);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
}
@media (max-width: 767px) {
    .wg-gallery.style-2 {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .wg-gallery.style-2 .gallery-item-1 {
        grid-row: auto;
    }
}

/* --- Hero de la portada: puntos del slider centrados abajo. --- */
.page-title-home {
    position: relative;
}
.page-title-home .pagination-page-title-home {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

/* --- Precio de la cabecera de la ficha. --- */
.wg-price .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.wg-price .price h5 {
    margin: 0;
    color: var(--cdl-primary);
}

/* --- "Not Included": las X en rojo apagado, no en verde. --- */
.wg-not-included .services-item i {
    color: #b3403c;
}

/* --- Footer: la selva al final del río. --- */
.footer {
    background: var(--cdl-secondary);
    color: rgba(255, 255, 255, 0.72);
    padding: 40px 0 0;
}
.footer .tf-container {
    padding-left: 24px;
    padding-right: 24px;
}
.cdl-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 48px;
    padding-bottom: 44px;
}
@media (max-width: 991px) {
    .cdl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}
@media (max-width: 575px) {
    .cdl-footer-grid {
        grid-template-columns: 1fr;
    }
}
.cdl-footer-logo img {
    max-height: 96px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}
.cdl-footer-tagline {
    font-family: "Fraunces", Georgia, serif;
    font-size: 19px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}
.cdl-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.25s ease, border-color 0.25s ease;
}
.cdl-rating:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--cdl-accent);
    color: #fff;
}
.cdl-rating .estrella {
    color: #ffcf5c;
}
.cdl-rating strong {
    color: #fff;
}
.cdl-rating .detalle {
    font-size: 13px;
}
.cdl-footer-titulo {
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cdl-accent);
    margin-bottom: 18px;
}
.cdl-footer-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cdl-footer-lista li {
    margin-bottom: 11px;
}
.cdl-footer-lista a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.cdl-footer-lista a:hover {
    color: #fff;
    padding-left: 4px;
}
/* El ítem activo del pie, en blanco: el verde de marca no contrasta aquí
   (la plantilla lo fuerza con !important global). */
.cdl-footer-lista .current-menu-item > a,
.cdl-footer-lista .current_page_item > a {
    color: #fff !important;
    font-weight: 600;
}
.cdl-footer-contacto li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow-wrap: anywhere;
}
.cdl-footer-contacto i {
    color: var(--cdl-accent);
    font-size: 16px;
    margin-top: 3px;
}
.footer .social {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.footer .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}
.footer .social a:hover {
    background: var(--cdl-accent);
    border-color: var(--cdl-accent);
    color: #3d1414;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
}
.footer-bottom .caption-1 {
    color: rgba(255, 255, 255, 0.55);
}
/* La onda que precede al footer se apoya directo sobre él. */
.cdl-wave.into-selva + .footer {
    margin-top: -1px;
}
/* En la portada el CTA ya es selva: dos verdes con una franja blanca de
   onda entre medio se ven rotos — ahí la onda del footer no va. */
body.home .cdl-wave-footer {
    display: none;
}

/* --- Contenido de páginas interiores: viñetas y jerarquía legible. --- */
.section-default .content h2 {
    font-size: 30px;
    margin: 1.3em 0 0.4em;
    color: var(--cdl-secondary);
}
.section-default .content p {
    margin-bottom: 1em;
}
.section-default .content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin: 0 0 1.2em;
}
.section-default .content li {
    margin-bottom: 0.4em;
}

/* Cabecera de las páginas interiores (template-interior.php). */
.cdl-page-hero {
    padding: 60px 0 30px;
}
.cdl-page-hero.has-image {
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    position: relative;
}
.cdl-page-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.cdl-page-hero.has-image .tf-container {
    position: relative;
}
.cdl-page-hero.has-image .title,
.cdl-page-hero.has-image .sub-title {
    color: var(--White);
}

/* Botones a lo ancho en las tarjetas de reserva y el plan B del formulario. */
.wg-booking-content .tf-btn,
.cdl-form-fallback .tf-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

/* Tarifario por tamaño de grupo (sidebar de la ficha de tour). */
.cdl-tarifas {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.cdl-tarifas li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--Line);
}

/* Utilidades que la plantilla no trae. */
.pt-30 {
    padding-top: 30px;
}

/* Precio anterior tachado. */
.wg-price s,
.wg-booking-content s {
    color: var(--Secondary);
    margin-right: 6px;
}

/* ==========================================================================
   Capa de diseño r2 — "El río y el delfín".
   Verde selva disciplinado + el rosado del delfín como acento vivo (es SU
   marca: ningún otro lodge lo tiene). Fraunces para los titulares, ondas
   del río como separadores, movimiento sobrio al hacer scroll.
   ========================================================================== */

/* --- Tipografía display: Fraunces en los titulares. --- */
h1,
h2,
h3,
.heading-section .title,
.section-tours-details .heading-section .title,
.wg-info .title,
.wg-what-included .title,
.wg-not-included .title,
.wg-booking .title,
.details-content-2 > .title,
.cdl-page-hero .title,
.section-cta .title,
.testimonial-content .title,
.tour-grid-content .title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.page-title-home-content .title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.015em;
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.12;
}
.page-title-home-content .title em {
    font-style: italic;
    font-weight: 480;
    color: var(--cdl-accent);
}
/* Los titulares en su caja natural: fuera el Title Case forzado de la
   plantilla — Fraunces pide caja de oración editorial. */
.heading-section .title,
.section-cta .title,
.cdl-page-hero .title,
.testimonial-content .title {
    text-transform: none;
}
/* Párrafo de las franjas CTA (antes inline). */
.section-cta .cdl-cta-parrafo {
    color: var(--text-color-1);
}
/* Foto de la sección About (antes inline). */
.section-about .cdl-foto-organica img {
    max-width: 100%;
}
::selection {
    background: var(--cdl-accent);
    color: #3d1414;
}

/* --- Eyebrow: la etiqueta con el arco del delfín. --- */
.cdl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cdl-primary);
    margin-bottom: 14px;
}
.cdl-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--cdl-accent);
    border-radius: 2px;
}
.cdl-eyebrow.is-light {
    color: #fff;
}

/* --- Hero: capa de fondo con Ken Burns + velo selva + cue de scroll. --- */
.cdl-hero-slide {
    position: relative;
    overflow: hidden;
    /* Tope en px: en monitores muy altos (y capturas) el hero no se
       dispara; en laptops sigue siendo ~82vh. */
    min-height: clamp(540px, 82vh, 820px);
    display: flex;
    align-items: center;
}
.cdl-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: cdl-kenburns 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes cdl-kenburns {
    from { transform: scale(1) translateX(0); }
    to   { transform: scale(1.09) translateX(-1.5%); }
}
.cdl-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 32, 18, 0.78) 0%, rgba(8, 32, 18, 0.35) 52%, rgba(8, 32, 18, 0.06) 100%);
}
.cdl-hero-slide .tf-container {
    position: relative;
    z-index: 2;
}
/* El texto del hero siempre en blanco (fuera del wrapper de la plantilla
   pierde su color). */
.cdl-hero-slide .page-title-home-content .title {
    color: #fff;
}
.cdl-hero-slide .page-title-home-content .sub-title {
    color: rgba(255, 255, 255, 0.88);
}
.page-title-home-content .sub-title {
    max-width: 46ch;
}
.page-title-home-content .tf-btn {
    background: var(--cdl-accent);
    color: #3d1414;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.page-title-home-content .tf-btn:hover {
    background: #f7b2b2;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
/* (El indicador de scroll se retiró: elemento de kit sin identidad.) */

/* --- Hero con video de YouTube de fondo. --- */
.cdl-hero-video {
    min-height: clamp(560px, 88vh, 860px);
}
.cdl-hero-video .cdl-hero-poster {
    animation: none;
}
/* Video propio (mp4): cubre el hero sin matemática de iframes. */
.cdl-hero-mp4 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .cdl-hero-mp4 {
        display: none;
    }
}
.cdl-hero-iframe {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
}
/* El iframe 16:9 se sobredimensiona para cubrir el hero siempre.
   Unidades de contenedor (con respaldo en viewport para navegadores viejos). */
.cdl-hero-iframe iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max(100vw, 177.78vh);
    height: max(100vh, 56.25vw);
    width: max(100cqw, 177.78cqh);
    height: max(100cqh, 56.25cqw);
    border: 0;
}
.cdl-hero-video::after {
    background: linear-gradient(100deg, rgba(8, 32, 18, 0.72) 0%, rgba(8, 32, 18, 0.32) 52%, rgba(8, 32, 18, 0.12) 100%);
}
@media (prefers-reduced-motion: reduce) {
    .cdl-hero-iframe {
        display: none;
    }
}

/* (Las ondas divisorias se retiraron: transiciones rectas y limpias; la
   textura de marca es la topográfica.) */
.cdl-wave {
    display: none;
}

/* --- Cifras reales de la reserva. --- */
.cdl-stats {
    background: var(--cdl-secondary);
    color: #fff;
    padding: 64px 0 72px;
}
.cdl-stats .row {
    row-gap: 36px;
}
.cdl-stat {
    text-align: center;
    padding: 0 18px;
}
.cdl-stat .numero {
    font-family: "Fraunces", Georgia, serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}
.cdl-stat .numero .sufijo {
    color: var(--cdl-accent);
    font-size: 0.6em;
    font-weight: 500;
    margin-left: 2px;
}
.cdl-stat .texto {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Tarjetas de tour: vida al pasar el cursor. --- */
.tour-grid {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(13, 40, 24, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 30px;
}
.tour-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(13, 40, 24, 0.16);
}
.tour-grid .image {
    overflow: hidden;
    position: relative;
}
.tour-grid .image img {
    transition: transform 0.6s ease;
    width: 100%;
    display: block;
}
.tour-grid:hover .image img {
    transform: scale(1.06);
}
.tour-grid .image .tf-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    backdrop-filter: blur(4px);
}
.tour-grid-content {
    padding: 20px 22px 22px;
}
.tour-grid-content .title {
    font-size: 22px;
    display: block;
    transition: color 0.25s ease;
}
.tour-grid-content .title:hover {
    color: var(--cdl-primary);
}
.tour-grid .tf-btn.style-small::after {
    content: " →";
    display: inline-block;
    transition: transform 0.25s ease;
}
.tour-grid:hover .tf-btn.style-small::after {
    transform: translateX(4px);
}

/* --- Texto enriquecido con aire: párrafos separados e interlineado
   cómodo en todas las zonas de lectura (la plantilla resetea los <p>). --- */
.main-content .section-about .text-body-2,
.main-content .cdl-lodge-intro .text-body-2,
.main-content .wg-info .text {
    font-size: 16px;
    line-height: 1.75;
}
.main-content .section-about .text-body-2 p,
.main-content .cdl-lodge-intro .text-body-2 p,
.main-content .wg-info .text p,
.main-content .toggle-content-inner p {
    margin-bottom: 1em;
}
.main-content .section-about .text-body-2 p:last-child,
.main-content .cdl-lodge-intro .text-body-2 p:last-child,
.main-content .wg-info .text p:last-child {
    margin-bottom: 0;
}
.main-content .section-about .heading-section {
    margin-bottom: 18px;
}
.main-content .section-about .tf-btn {
    margin-top: 26px;
}

/* --- Sección About: foto orgánica con marco rosado desplazado. --- */
.section-about .cdl-foto-organica {
    position: relative;
    display: inline-block;
}
.section-about .cdl-foto-organica img {
    border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
    position: relative;
    z-index: 1;
}
.section-about .cdl-foto-organica::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(16px, 16px);
    border-radius: 54% 46% 48% 52% / 56% 54% 46% 44%;
    border: 2px solid rgba(240, 152, 152, 0.5);
    z-index: 0;
}

/* --- CTA final sobre selva con las curvas de nivel del territorio. --- */
.section-cta {
    position: relative;
    background: var(--cdl-secondary) !important;
    padding: 84px 0;
    overflow: hidden;
}
.section-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.section-cta .tf-container {
    position: relative;
}
.section-cta .title {
    color: #fff;
    font-size: 42px;
}

/* --- Ficha de tour: acordeones y sidebar con vida. --- */
.tf-accordion .tf-accordion-item {
    border: 1px solid var(--Line);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.tf-accordion .tf-accordion-item:has(.btn-accordion:not(.collapsed)) {
    border-color: var(--cdl-primary);
    box-shadow: 0 8px 22px rgba(13, 40, 24, 0.08);
}
.tf-accordion .btn-accordion {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    font-weight: 600;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}
.tf-accordion .btn-accordion:not(.collapsed) {
    background: #f2faf4;
    color: var(--cdl-secondary);
}
.tf-accordion .btn-accordion:hover {
    color: var(--cdl-primary);
}
.tf-accordion .toggle-content-inner {
    padding: 4px 18px 18px;
}
.section-sidebar {
    position: sticky;
    top: 24px;
}
.wg-booking {
    border: 1px solid var(--Line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(13, 40, 24, 0.08);
}
.details-content .details-item .icon i {
    color: var(--cdl-primary);
    font-size: 22px;
}

/* --- Cabeceras interiores: overlay selva en vez de negro plano. --- */
.cdl-page-hero.has-image::before {
    background: linear-gradient(100deg, rgba(8, 32, 18, 0.78) 0%, rgba(8, 32, 18, 0.3) 70%);
}

/* ==========================================================================
   Páginas interiores con vida: The Lodge, Prepare y Contact.
   ========================================================================== */

/* --- The Lodge: bienvenida editorial. --- */
.cdl-intro-titulo {
    font-size: 44px;
    font-style: italic;
    font-weight: 500;
    color: var(--cdl-secondary);
    margin-bottom: 18px;
}
.cdl-lodge-intro .text-body-2 {
    font-size: 17px;
    line-height: 1.75;
}

/* --- Tipos de habitación en el lenguaje del template (services-list de
   las fichas de tour) y notas como línea discreta. --- */
.cdl-lista-tipos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin: 18px 0 14px;
}
.cdl-lista-tipos .services-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cdl-lista-tipos i {
    color: var(--cdl-primary);
    margin-top: 3px;
}
@media (max-width: 575px) {
    .cdl-lista-tipos {
        grid-template-columns: 1fr;
    }
}
.cdl-linea-discreta {
    font-size: 14px;
    color: var(--Secondary);
    margin-top: 14px;
}
.cdl-mosaico + .cdl-linea-discreta {
    margin-top: 22px;
}

/* --- Carruseles propios (habitaciones y fauna). --- */
.cdl-carrusel {
    overflow: hidden;
    position: relative;
}
.cdl-carrusel-habitaciones .swiper-slide img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}
.cdl-carrusel-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.cdl-carrusel-dots .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: var(--cdl-primary);
    opacity: 0.3;
}
.cdl-carrusel-dots .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--cdl-accent);
}

/* --- Mosaico de áreas del lodge. --- */
.cdl-mosaico {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}
.cdl-mosaico-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
}
.cdl-mosaico-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.cdl-mosaico-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.cdl-mosaico-item:hover img {
    transform: scale(1.06);
}
.cdl-mosaico-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(transparent, rgba(8, 32, 18, 0.78));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
}
.cdl-mosaico-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .cdl-mosaico {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .cdl-mosaico-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    .cdl-mosaico-item figcaption {
        opacity: 1;
        transform: none;
    }
}

/* --- La franja de fauna sobre selva. --- */
.cdl-lodge-fauna {
    background: var(--cdl-secondary);
    color: #fff;
    padding: 56px 0 64px;
}
.cdl-lodge-fauna .heading-section .title {
    color: #fff;
}
.cdl-lodge-fauna .heading-section .sub-title {
    color: rgba(255, 255, 255, 0.72);
    max-width: 60ch;
    margin: 8px auto 0;
}
.cdl-fauna-card {
    margin: 0;
}
.cdl-fauna-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.cdl-fauna-card figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.03em;
}
.cdl-lodge-fauna .cdl-carrusel {
    margin-top: 34px;
}


/* --- Contenido rico de páginas interiores (Prepare): listas como
   checklist con el check de icomoon. --- */
.cdl-contenido-rico h2 {
    position: relative;
    padding-top: 6px;
}
.cdl-contenido-rico ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.cdl-contenido-rico ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
}
.cdl-contenido-rico ul li::before {
    content: "\e932";
    font-family: "icomoon";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cdl-primary);
}
@media (max-width: 575px) {
    .cdl-contenido-rico ul {
        grid-template-columns: 1fr;
    }
}

/* --- Contacto: el formulario como tarjeta. --- */
.cdl-form-card {
    background: #fff;
    border: 1px solid var(--Line);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(13, 40, 24, 0.08);
}

/* ==========================================================================
   Flotantes, popup de reserva por pasos y galería.
   ========================================================================== */

/* --- Hero: aire entre subtítulo y botón + latido que llama la atención. --- */
.page-title-home-content .sub-title {
    margin-bottom: 28px;
}
.page-title-home-content .tf-btn {
    animation: cdl-latido 2.6s ease-in-out infinite;
}
@keyframes cdl-latido {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 152, 152, 0.55); }
    55%      { box-shadow: 0 0 0 16px rgba(240, 152, 152, 0); }
}

/* --- Botones flotantes: WhatsApp + idiomas. --- */
.cdl-flotantes {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.cdl-flotante-wa {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease;
    animation: cdl-latido-wa 3s ease-in-out infinite;
}
.cdl-flotante-wa:hover {
    transform: scale(1.08);
    color: #fff;
}
@keyframes cdl-latido-wa {
    0%, 100% { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    55%      { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.cdl-flotante-tip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #25d366;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.cdl-flotante-wa:hover .cdl-flotante-tip {
    opacity: 1;
    visibility: visible;
}
.cdl-flotante-idiomas .gtranslate_wrapper,
.cdl-flotante-idiomas {
    display: flex;
    justify-content: center;
}
/* El selector de GTranslate como círculo gemelo del WhatsApp: solo la
   bandera; la lista de idiomas se abre hacia la izquierda. */
.cdl-flotante-idiomas .gt_float_switcher {
    position: relative;
    width: 58px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    overflow: visible;
    font-size: 0;
}
.cdl-flotante-idiomas .gt_float_switcher .gt-selected {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.cdl-flotante-idiomas .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cdl-flotante-idiomas .gt_float_switcher img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0;
}
.cdl-flotante-idiomas .gt_float_switcher .gt-selected span,
.cdl-flotante-idiomas .gt_float_switcher .gt-selected .gt_arrow,
.cdl-flotante-idiomas .gt_float_switcher .gt-lang-code {
    display: none !important;
}
.cdl-flotante-idiomas .gt_float_switcher .gt_options {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    min-width: 170px;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
}
.cdl-flotante-idiomas .gt_float_switcher .gt_options a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--On-Surface);
    padding: 9px 12px;
    border-radius: 9px;
    transition: background 0.2s ease;
}
.cdl-flotante-idiomas .gt_float_switcher .gt_options a:hover {
    background: #f2faf4;
    color: var(--cdl-primary);
}
.cdl-flotante-idiomas .gt_float_switcher .gt_options img {
    width: 22px !important;
    height: 22px !important;
}
@media (max-width: 767px) {
    .cdl-flotantes {
        right: 14px;
    }
    .cdl-flotante-wa,
    .cdl-flotante-idiomas .gt_float_switcher,
    .cdl-flotante-idiomas .gt_float_switcher .gt-selected {
        width: 50px;
        height: 50px;
    }
    .cdl-flotante-idiomas .gt_float_switcher {
        height: auto;
    }
}

/* --- Popup de reserva por pasos. --- */
.cdl-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cdl-modal.abierto {
    opacity: 1;
    visibility: visible;
}
.cdl-modal-fondo {
    position: absolute;
    inset: 0;
    background: rgba(8, 26, 15, 0.72);
    backdrop-filter: blur(4px);
}
.cdl-modal-caja {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: min(660px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 34px 34px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: translateY(14px);
    transition: transform 0.3s ease;
}
.cdl-modal.abierto .cdl-modal-caja {
    transform: translateY(0);
}
.cdl-modal-cerrar {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--Line);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--On-Surface);
    transition: all 0.25s ease;
    z-index: 2;
}
.cdl-modal-cerrar:hover {
    background: var(--cdl-accent);
    border-color: var(--cdl-accent);
    color: #3d1414;
    transform: rotate(90deg);
}
.cdl-book-progreso {
    height: 5px;
    border-radius: 999px;
    background: #eef2ee;
    margin-bottom: 26px;
    overflow: hidden;
}
.cdl-book-progreso span {
    display: block;
    height: 100%;
    width: 33%;
    border-radius: 999px;
    background: var(--cdl-primary);
    transition: width 0.4s ease;
}
.cdl-paso {
    display: none;
    animation: cdl-paso-entra 0.35s ease;
}
.cdl-paso.activo {
    display: block;
}
@keyframes cdl-paso-entra {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: translateX(0); }
}
.cdl-paso .titulo {
    font-size: 26px;
    margin: 6px 0 20px;
}
.cdl-book-tours {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.cdl-book-tour {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--Line);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}
.cdl-book-tour:hover {
    transform: translateY(-2px);
}
.cdl-book-tour input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cdl-book-tour img {
    width: 52px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}
.cdl-book-tour .interrogante {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 40px;
    border-radius: 8px;
    background: #eef7f0;
    color: var(--cdl-primary);
    font-size: 20px;
    font-weight: 700;
    flex: 0 0 auto;
}
.cdl-book-tour:has(input:checked) {
    border-color: var(--cdl-primary);
    background: #f2faf4;
}
.cdl-paso-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
}
.cdl-paso-ant {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--Secondary);
    font-weight: 600;
    padding: 10px 0;
}
.cdl-paso-ant:hover {
    color: var(--cdl-primary);
}
.cdl-paso-nav .tf-btn {
    background: var(--cdl-button);
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.cdl-paso-nav .tf-btn:hover {
    background: var(--cdl-button-hover);
}
.cdl-book-campos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cdl-book-campos label,
.cdl-book-mensaje {
    display: block;
}
.cdl-book-campos .etiqueta,
.cdl-book-mensaje .etiqueta {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--cdl-secondary);
}
.cdl-book-campos input,
.cdl-book-mensaje textarea {
    width: 100%;
    border: 1.5px solid var(--Line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}
.cdl-book-campos input:focus,
.cdl-book-mensaje textarea:focus {
    outline: none;
    border-color: var(--cdl-primary);
}
.cdl-book-mensaje {
    margin-top: 16px;
}
.cdl-stepper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--Line);
    border-radius: 10px;
    overflow: hidden;
}
.cdl-stepper button {
    width: 44px;
    border: none;
    background: #f2faf4;
    color: var(--cdl-primary);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
.cdl-stepper button:hover {
    background: var(--cdl-primary);
    color: #fff;
}
.cdl-stepper input {
    border: none !important;
    border-radius: 0 !important;
    text-align: center;
    -moz-appearance: textfield;
}
.cdl-stepper input::-webkit-outer-spin-button,
.cdl-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.cdl-book-error {
    color: #b3403c;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 0;
}
.cdl-paso-exito {
    text-align: center;
    padding: 20px 0 10px;
}
.cdl-paso-exito .circulo {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f2faf4;
    color: var(--cdl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.cdl-paso-exito .tf-btn {
    margin-top: 14px;
    background: #25d366;
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    display: inline-block;
    font-weight: 700;
}
.cdl-book-enviar[disabled] {
    opacity: 0.6;
    cursor: wait;
}
body.cdl-modal-abierto {
    overflow: hidden;
}
@media (max-width: 575px) {
    .cdl-book-tours,
    .cdl-book-campos {
        grid-template-columns: 1fr;
    }
    .cdl-modal-caja {
        padding: 26px 20px;
    }
}

/* --- Galería masonry con lupa. --- */
.cdl-galeria-masonry {
    columns: 3 320px;
    column-gap: 16px;
}
.cdl-galeria-item {
    position: relative;
    display: block;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    break-inside: avoid;
}
.cdl-galeria-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.cdl-galeria-item:hover img {
    transform: scale(1.05);
}
.cdl-galeria-item .pie {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 14px 12px;
    background: linear-gradient(transparent, rgba(8, 32, 18, 0.75));
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cdl-galeria-item:hover .pie {
    opacity: 1;
}

/* --- Trustindex: aire alrededor del widget. --- */
.cdl-trustindex .ti-widget {
    margin-top: 10px;
}

/* --- Movimiento con juicio. --- */
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    .cdl-hero-bg,
    .cdl-scroll-cue::after,
    .page-title-home-content .tf-btn,
    .cdl-flotante-wa {
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .tour-grid,
    .tour-grid .image img {
        transition: none;
    }
}

/* ==========================================================================
   Sistema tipográfico — normalización final.
   Dos familias en todo el sitio: Fraunces (display) y Barlow (cuerpo y UI,
   la base de la plantilla). Botones: Barlow 700, 15px (14px dentro de
   tarjetas, 13px uppercase en el header).
   ========================================================================== */

/* GTranslate trae Arial de fábrica: a la tipografía del sitio. */
.cdl-flotante-idiomas .gt_float_switcher,
.cdl-flotante-idiomas .gt_float_switcher .gt-selected,
.cdl-flotante-idiomas .gt_float_switcher .gt_options,
.cdl-flotante-idiomas .gt_float_switcher .gt_options a {
    font-family: "Barlow", sans-serif !important;
}

/* Fluent Forms hereda el sistema (blindaje explícito). */
.fluentform,
.fluentform label,
.fluentform input,
.fluentform textarea,
.fluentform select,
.fluentform .ff-btn-submit {
    font-family: "Barlow", sans-serif !important;
}

/* Botones propios: mismo peso y escala en todo el sitio. */
.page-title-home-content .tf-btn,
.section-cta .tf-btn,
.wg-booking-content .tf-btn,
.cdl-form-fallback .tf-btn,
.section-default .tf-btn,
.section-about .tf-btn,
.cdl-paso-nav .tf-btn,
.cdl-paso-exito .tf-btn,
.fluentform .ff-btn-submit {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 15px;
}
.tour-grid .tf-btn.style-small {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 14px;
}
.cdl-flotante-tip {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
}
.cdl-overlay-wa {
    font-family: "Barlow", sans-serif;
}

/* Marca de dato pendiente: visible solo para editores (ver cdl_value_or_pending). */
.cdl-pending {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #fff3cd;
    color: #7a5b00;
    font-size: 0.8em;
    font-weight: 600;
}

/* --- Blog: rejilla de historias y entrada individual (r35). --- */
.cdl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.cdl-blog-grid.dos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .cdl-blog-grid,
    .cdl-blog-grid.dos {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cdl-blog-grid,
    .cdl-blog-grid.dos {
        grid-template-columns: 1fr;
    }
}
.cdl-post-card .cdl-post-extracto {
    color: var(--Secondary);
    margin: 8px 0 0;
}
.cdl-post-card .cdl-post-fecha {
    color: var(--Secondary);
}
/* Los títulos de tarjeta en su caja natural (sin Title Case forzado). */
.tour-grid-content .title {
    text-transform: none;
}

/* Meta de la entrada (fecha · lectura) sobre la foto de cabecera. */
.cdl-post-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.cdl-post-meta .punto {
    opacity: 0.6;
}
.cdl-page-hero .cdl-post-titulo {
    max-width: 820px;
}

/* Cuerpo editorial: fotos con el radio de la casa y aire entre bloques. */
.cdl-post-cuerpo img {
    border-radius: 16px;
    height: auto;
    margin: 8px 0 4px;
}
.cdl-post-cuerpo figure {
    margin: 28px 0;
}
.cdl-post-cuerpo figcaption {
    font-size: 13px;
    color: var(--Secondary);
    margin-top: 8px;
}
.cdl-post-cuerpo h2 {
    margin-top: 36px;
}
.cdl-post-cuerpo h3 {
    font-size: 20px;
    margin: 28px 0 10px;
}
.cdl-post-cuerpo a {
    color: var(--cdl-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Separación antes del bloque "más historias". */
.cdl-blog-mas {
    padding-bottom: 40px;
}
.cdl-blog-mas .heading-section {
    margin-bottom: 34px;
}

/* Paginación del blog en el lenguaje de píldoras de la casa. */
.cdl-blog-grid + .navigation.pagination {
    margin-top: 44px;
}
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--Line);
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--Primary);
}
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
    background: var(--cdl-primary);
    border-color: var(--cdl-primary);
    color: #fff;
}

/* --- r36: semántica real en la ficha de tour sin cambiar la apariencia.
   El título pasa a h1 y las secciones a h2/h3 (Yoast solo cuenta H2/H3);
   estos pines conservan los tamaños que tenían como div/h5. --- */
.tour-details .main-content-detail h1.title {
    font-size: 36px;
    line-height: 44px;
    margin: 0;
}
.details-content-2 h2.title {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}
h3.title-accordion {
    margin: 0;
    font-family: "Barlow", sans-serif;
}

/* Intros editoriales de blog, galería y la guía del contacto (r36). */
.cdl-blog-intro,
.cdl-galeria-intro {
    padding: 34px 0 0;
}
.cdl-blog-intro h2,
.cdl-galeria-intro h2,
.cdl-contacto-guia h2 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
}
.cdl-blog-intro p,
.cdl-galeria-intro p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--Secondary);
}
.cdl-galeria-intro {
    padding-bottom: 26px;
}
.cdl-blog-intro a,
.cdl-contacto-guia a {
    color: var(--cdl-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cdl-contacto-guia h3 {
    font-size: 18px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    margin: 20px 0 6px;
}
.cdl-contacto-guia p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 10px;
    color: var(--Secondary);
}

/* Lead del contacto y foto de la guía (r36). */
.cdl-contacto-lead {
    max-width: 640px;
    margin: 10px auto 0;
    color: var(--Secondary);
}
.cdl-contacto-foto {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 16px;
    margin: 6px 0 14px;
}

/* El título del sidebar de reserva también pasó a h2: mismo pin. */
.wg-booking h2.title,
.section-sidebar h2.title {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}
/* Caja natural en los títulos de sección de la ficha (sin capitalize). */
.details-content-2 h2.title,
.wg-booking h2.title {
    text-transform: none;
}

/* Mapa ilustrado de la reserva (The Lodge y blog) — r38. */
.cdl-mapa-reserva {
    margin: 26px auto 6px;
    max-width: 640px;
}
.cdl-mapa-reserva img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.cdl-mapa-reserva figcaption {
    font-size: 13px;
    color: var(--Secondary);
    margin-top: 8px;
    text-align: center;
}

/* ==========================================================================
   Prepare Your Trip (template-prepare.php) — r39.
   La guia de preparacion con la voz de la casa: banda de clima con las
   cifras reales y la tira de temporadas, filas alternadas con foto
   organica, y el checklist con los checks del template.
   ========================================================================== */
.pt-0 {
    padding-top: 0 !important;
}
.cdl-prep-intro {
    padding: 42px 0 14px;
}
.cdl-prep-intro .text-body-2 {
    font-size: 16px;
    line-height: 1.75;
    color: var(--Secondary);
}

/* --- Banda de clima: la misma banda oscura de las cifras del home. --- */
.cdl-prep-clima {
    position: relative;
    background: var(--cdl-secondary);
    color: #fff;
    padding: 74px 0 78px;
    margin-top: 34px;
    overflow: hidden;
}
.cdl-prep-clima::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.cdl-prep-clima .tf-container {
    position: relative;
}
.cdl-prep-clima .title {
    color: #fff;
    font-size: clamp(30px, 3.4vw, 44px);
    margin-bottom: 14px;
}
.cdl-prep-clima-texto {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.75;
}
.cdl-prep-cifras {
    margin-top: 38px;
    row-gap: 30px;
}
.cdl-prep-cifras .cdl-stat .numero {
    font-size: clamp(34px, 3.6vw, 52px);
}

/* --- Tira de temporadas: 12 meses, dato real del lodge. --- */
.cdl-prep-temporadas {
    max-width: 760px;
    margin: 46px auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cdl-prep-meses {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
}
.cdl-prep-meses .mes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}
.cdl-prep-meses .mes i {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}
.cdl-prep-meses .mes.seca {
    color: #fff;
}
.cdl-prep-meses .mes.seca i {
    background: var(--cdl-accent);
}
.cdl-prep-meses .mes.humeda {
    color: #fff;
}
.cdl-prep-meses .mes.humeda i {
    background: rgba(255, 255, 255, 0.9);
}
.cdl-prep-leyenda {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 32px;
    margin-top: 20px;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}
.cdl-prep-leyenda span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cdl-prep-leyenda i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.cdl-prep-leyenda .seca i {
    background: var(--cdl-accent);
}
.cdl-prep-leyenda .humeda i {
    background: rgba(255, 255, 255, 0.9);
}

/* --- Filas de salud y ropa: texto + foto con anillo organico. --- */
.cdl-prep-fila {
    padding-top: 70px;
}
.cdl-prep-fila .row {
    row-gap: 34px;
}
.cdl-prep-fila h2.title {
    font-size: clamp(26px, 2.8vw, 36px);
    margin-bottom: 16px;
}
.cdl-prep-fila .text-body-2 {
    font-size: 16px;
    line-height: 1.75;
}
.cdl-prep-fila .text-body-2 p {
    margin-bottom: 1em;
}
.cdl-prep-fila .text-body-2 p:last-child {
    margin-bottom: 0;
}
.cdl-prep-foto {
    position: relative;
    display: inline-block;
    max-width: 470px;
}
.cdl-prep-foto img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
}
.cdl-prep-foto::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(16px, 16px);
    border-radius: 54% 46% 48% 52% / 56% 54% 46% 44%;
    border: 2px solid rgba(240, 152, 152, 0.5);
    z-index: 0;
}
.cdl-prep-foto.rosa::before {
    transform: translate(-16px, 16px);
    border-radius: 48% 52% 54% 46% / 46% 56% 44% 54%;
}

/* --- Checklist de equipaje: los checks del template en tres columnas. --- */
.cdl-prep-llevar .heading-section {
    margin-bottom: 30px;
}
.cdl-prep-llevar .heading-section .title {
    font-size: clamp(26px, 2.8vw, 36px);
}
.cdl-prep-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 34px;
    max-width: 1020px;
    margin: 0 auto;
}
.cdl-prep-nota {
    margin: 26px auto 0;
    max-width: 640px;
    color: var(--Secondary);
}
@media (max-width: 991px) {
    .cdl-prep-lista {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cdl-prep-lista {
        grid-template-columns: 1fr;
    }
    .cdl-prep-meses .mes {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cdl-prep-clima,
    .cdl-prep-fila,
    .cdl-prep-llevar {
        scroll-behavior: auto;
    }
}

/* Checks verdes en el checklist (como en las fichas de tour). */
.cdl-prep-lista .services-item i {
    color: var(--cdl-primary);
}

/* ==========================================================================
   r40 — comparador de tours, banda de resenas y 404 con personalidad.
   ========================================================================== */

/* --- Comparador: la tabla se lee como una ficha, no como Excel. --- */
.cdl-comparador-seccion .heading-section {
    margin-bottom: 30px;
}
.cdl-comparador {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--Line);
    border-radius: 16px;
}
.cdl-comparador table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-family: "Barlow", sans-serif;
    font-size: 15px;
}
.cdl-comparador thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--Secondary);
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--Line);
    background: #fafaf8;
}
.cdl-comparador tbody th,
.cdl-comparador tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--Line);
    vertical-align: middle;
}
.cdl-comparador tbody tr:last-child th,
.cdl-comparador tbody tr:last-child td {
    border-bottom: 0;
}
.cdl-comparador tbody tr {
    transition: background 0.2s ease;
}
.cdl-comparador tbody tr:hover {
    background: #f6faf7;
}
.cdl-comparador tbody th a {
    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--On-Surface);
    letter-spacing: -0.01em;
}
.cdl-comparador tbody th a:hover {
    color: var(--cdl-primary);
}
.cdl-comparador .precio {
    font-weight: 700;
    color: var(--cdl-primary);
    white-space: nowrap;
}
.cdl-comparador .esencia {
    color: var(--Secondary);
    max-width: 330px;
    line-height: 1.5;
}
.cdl-comparador .accion {
    text-align: right;
    white-space: nowrap;
}

/* --- Banda de resenas: el 4.9 real, grande y con salida a Tripadvisor. --- */
.cdl-resenas .heading-section {
    margin-bottom: 26px;
}
.cdl-resenas-banda {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px 46px;
    padding: 30px 34px;
    border: 1px solid var(--Line);
    border-radius: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.cdl-resenas-banda .nota {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
}
.cdl-resenas-banda .numero {
    font-family: "Fraunces", Georgia, serif;
    font-size: 58px;
    font-weight: 600;
    line-height: 1;
    color: var(--On-Surface);
}
.cdl-resenas-banda .estrellas i {
    color: #f0a04b;
    font-size: 18px;
    margin-right: 2px;
}
.cdl-resenas-banda .detalle {
    color: var(--Secondary);
    max-width: 240px;
    text-align: left;
    line-height: 1.5;
}
.cdl-resenas .cdl-trustindex {
    margin-top: 34px;
}
@media (max-width: 600px) {
    .cdl-resenas-banda .detalle {
        text-align: center;
    }
}

/* --- 404: mensaje breve y tres senderos reales. --- */
.cdl-404 {
    padding: 90px 0 44px;
}
.cdl-404 .title {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 12px;
}
.cdl-404 .text-body-2 {
    color: var(--Secondary);
    max-width: 560px;
    margin: 0 auto;
}
.cdl-404-acciones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}
.cdl-404-tours .row {
    row-gap: 30px;
}

/* El boton del comparador con su pildora (el CSS de tabla lo despeinaba). */
.cdl-comparador .accion .tf-btn {
    display: inline-flex;
    align-items: center;
    background: var(--cdl-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}
.cdl-comparador .accion .tf-btn:hover {
    background: var(--cdl-secondary);
    color: #fff;
}

/* Un solo lenguaje de boton tambien fuera de las tarjetas: pildoras. */
.cdl-404-acciones .tf-btn,
.cdl-resenas-banda > .tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 14px;
}
.cdl-404-acciones .tf-btn:first-child {
    background: var(--cdl-primary);
    color: #fff;
}
.cdl-404-acciones .tf-btn:first-child:hover {
    background: var(--cdl-secondary);
}
.cdl-404-acciones .tf-btn.style-boder,
.cdl-resenas-banda > .tf-btn {
    background: none;
    border: 1.5px solid var(--cdl-primary);
    color: var(--cdl-primary);
}
.cdl-404-acciones .tf-btn.style-boder:hover,
.cdl-resenas-banda > .tf-btn:hover {
    background: var(--cdl-primary);
    color: #fff;
}

/* Guia del contacto en dos columnas; la foto con el anillo de la casa. */
.cdl-contacto-guia-fila {
    row-gap: 30px;
}
.cdl-contacto-anillo {
    max-width: 390px;
}
.cdl-contacto-anillo img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Big 7 Cuyabeno (template-big7.php) — r43. Guia de campo: mundos con foto
   organica y tarjetas de especie tipograficas.
   ========================================================================== */
.cdl-b7-mundo {
    padding-top: 64px;
}
.cdl-b7-mundo .row {
    row-gap: 34px;
}
.cdl-b7-mundo h2.title {
    font-size: clamp(26px, 2.8vw, 36px);
    margin-bottom: 22px;
}
.cdl-b7-especies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}
.cdl-b7-especie {
    border: 1px solid var(--Line);
    border-radius: 16px;
    padding: 20px 22px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.cdl-b7-especie:hover {
    border-color: var(--cdl-accent);
    transform: translateY(-2px);
}
.cdl-b7-especie .nombre {
    font-family: "Fraunces", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.cdl-b7-especie .cientifico {
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--cdl-primary);
    margin-top: 3px;
}
.cdl-b7-especie .texto {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--Secondary);
}

/* El mensaje de conservacion en la banda oscura de la casa. */
.cdl-b7-mensaje {
    position: relative;
    background: var(--cdl-secondary);
    color: #fff;
    padding: 74px 0;
    overflow: hidden;
}
.cdl-b7-mensaje::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.cdl-b7-mensaje .tf-container {
    position: relative;
}
.cdl-b7-mensaje .title {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 14px;
}
.cdl-b7-mensaje-texto {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.75;
}

/* --- Big 7 v2 (r44): tarjetas con foto, reel de binoculares y minis. --- */
.cdl-b7-especie.con-foto {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.cdl-b7-especie .foto img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}
.cdl-b7-especie.con-foto .cuerpo {
    padding: 18px 22px 20px;
}
.cdl-b7-especie .donde {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--Line);
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cdl-primary);
}
.cdl-b7-especie .donde i {
    margin-top: 2px;
    flex: none;
}
.cdl-b7-reel .heading-section,
.cdl-b7-mapa .heading-section,
.cdl-b7-vecinos .heading-section {
    margin-bottom: 28px;
}
.cdl-b7-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    background: #0b2a17;
}
.cdl-b7-reel-pie {
    margin-top: 14px;
    color: var(--Secondary);
}
.cdl-b7-minis {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto 26px;
}
.cdl-b7-minis .mini {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cdl-b7-minis .mini:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}
.cdl-b7-minis .mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cdl-b7-btn-galeria {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1.5px solid var(--cdl-primary);
    color: var(--cdl-primary);
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 14px;
}
.cdl-b7-btn-galeria:hover {
    background: var(--cdl-primary);
    color: #fff;
}

/* --- r45: legales en el pie, aviso de cookies e icono TikTok. --- */
.cdl-footer-legal {
    margin-top: 6px;
}
.cdl-footer-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cdl-footer-legal span {
    margin: 0 8px;
    opacity: 0.6;
}
.cdl-cookies {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: min(640px, calc(100vw - 32px));
    background: #0b2a17;
    color: #fff;
    padding: 14px 16px 14px 22px;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.cdl-cookies .texto {
    margin: 0;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}
.cdl-cookies .texto a {
    color: var(--cdl-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cdl-cookies .cdl-cookies-ok {
    flex: none;
    background: var(--cdl-accent);
    color: #3d1414;
    border: 0;
    border-radius: 999px;
    padding: 9px 20px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.cdl-cookies .cdl-cookies-ok:hover {
    background: #f7b2b2;
}
@media (max-width: 600px) {
    .cdl-cookies {
        flex-direction: column;
        gap: 10px;
        border-radius: 18px;
        text-align: center;
    }
}
/* Glifo TikTok (el icomoon del template no lo trae). */
.cdl-icono-tiktok::before {
    content: "";
    display: block;
    width: 14px;
    height: 15px;
    background: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.53.02C13.84 0 15.14.01 16.44 0c.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>') center / contain no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.53.02C13.84 0 15.14.01 16.44 0c.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>') center / contain no-repeat;
}

/* ==========================================================================
   r46 — About Us (equipo), secciones de galeria, mensaje del Big 7.
   ========================================================================== */
.cdl-about-historia .row {
    row-gap: 34px;
}
.cdl-about-texto {
    font-size: 16px;
    line-height: 1.75;
}
.cdl-about-texto p {
    margin-bottom: 1em;
}
.cdl-about-texto p:last-child {
    margin-bottom: 0;
}
.cdl-about-equipo .heading-section {
    margin-bottom: 30px;
}
.cdl-equipo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px;
    max-width: 900px;
    margin: 0 auto 20px;
}
.cdl-persona {
    width: 220px;
}
.cdl-persona .foto {
    width: 168px;
    height: 168px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    position: relative;
}
.cdl-persona .foto::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(240, 152, 152, 0.5);
}
.cdl-persona .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cdl-persona .nombre {
    font-family: "Fraunces", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.cdl-persona .rol {
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cdl-primary);
    margin-top: 3px;
}
.cdl-equipo-nota {
    color: var(--Secondary);
}

/* Titulos de seccion dentro de la galeria por categorias. */
.cdl-galeria-seccion {
    margin-top: 44px;
}
.cdl-galeria-titulo {
    font-size: clamp(22px, 2.4vw, 30px);
    margin-bottom: 18px;
}

/* La frase de conservacion en la tarjeta de especie del Big 7. */
.cdl-b7-especie .mensaje {
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-size: 14.5px;
    color: var(--cdl-primary);
    margin-top: 10px;
    line-height: 1.45;
}

/* ==========================================================================
   r47 — comparador v2, precios promo en tarjetas, nomadas y nota de pago.
   ========================================================================== */
.cdl-comparador .precio s {
    color: var(--Secondary);
    font-weight: 500;
    margin-right: 6px;
}
.cdl-comparador .precio .ahora {
    color: var(--cdl-primary);
    font-weight: 700;
}
.cdl-comparador .salidas {
    font-weight: 600;
    min-width: 120px;
}
.cdl-comparador-nota {
    margin-top: 16px;
    color: var(--Secondary);
}
.tour-grid-content .price .caption-1 s {
    color: var(--Secondary);
}
.cdl-precio-promo {
    color: var(--cdl-primary);
}
.cdl-nota-pago {
    margin-top: 14px;
    color: var(--Secondary);
    line-height: 1.55;
}
.cdl-nomadas {
    position: relative;
    background: var(--cdl-secondary);
    color: #fff;
    padding: 58px 0;
    overflow: hidden;
}
.cdl-nomadas::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.cdl-nomadas .tf-container {
    position: relative;
}
.cdl-nomadas .title {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 10px;
}
.cdl-nomadas .text-body-2 {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
}
.cdl-nomadas .row {
    row-gap: 22px;
}
.cdl-nomadas .tf-btn {
    display: inline-flex;
    padding: 14px 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--cdl-secondary);
    font-family: "Barlow", sans-serif;
    font-weight: 700;
}
.cdl-nomadas .tf-btn:hover {
    background: var(--cdl-accent);
    color: #3d1414;
}

/* r48b — comparador: filos uniformes y sombra flotante (feedback Mateo). */
.cdl-comparador {
    border: none;
    background: #fff;
    box-shadow: 0 6px 16px rgba(11, 42, 23, 0.06), 0 22px 48px rgba(11, 42, 23, 0.12);
}
.cdl-comparador thead th {
    border-bottom: 1px solid #e8e6e0;
    background: #fafaf8;
}
.cdl-comparador tbody th,
.cdl-comparador tbody td {
    border-bottom: 1px solid #e8e6e0;
}
.cdl-comparador tbody th,
.cdl-comparador thead th:first-child {
    border-right: 1px solid #e8e6e0;
}
.cdl-comparador thead th:not(:first-child),
.cdl-comparador tbody td {
    border-left: 1px solid #e8e6e0;
}
.cdl-comparador thead th:first-child {
    border-left: none;
}
.cdl-comparador tbody td:first-of-type {
    border-left: none;
}

/* r48c — comparador: UN solo color de filo, sin herencias del template. */
.cdl-comparador table,
.cdl-comparador table th,
.cdl-comparador table td {
    border: 0;
}
.cdl-comparador table {
    border-collapse: separate;
    border-spacing: 0;
}
.cdl-comparador table thead th {
    border-bottom: 1px solid #e8e6e0;
}
.cdl-comparador table tbody tr + tr th,
.cdl-comparador table tbody tr + tr td {
    border-top: 1px solid #e8e6e0;
}
.cdl-comparador table tr > *:not(:first-child) {
    border-left: 1px solid #e8e6e0;
}

/* ==========================================================================
   r49 — Digital Nomads con la voz de la casa (pilares, dia tipo, espacios).
   ========================================================================== */
.cdl-dn-pilares .row {
    row-gap: 30px;
}
.cdl-dn-pilar {
    border: 1px solid var(--Line);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.cdl-dn-pilar:hover {
    border-color: var(--cdl-accent);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(11, 42, 23, 0.12);
}
.cdl-dn-pilar .foto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.cdl-dn-pilar .cuerpo {
    padding: 20px 24px 24px;
}
.cdl-dn-pilar .nombre {
    font-family: "Fraunces", Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.cdl-dn-pilar .texto {
    color: var(--Secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* El dia tipo: banda oscura topografica con la linea de momentos. */
.cdl-dn-dia {
    position: relative;
    background: var(--cdl-secondary);
    color: #fff;
    padding: 74px 0 78px;
    overflow: hidden;
}
.cdl-dn-dia::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/image/topografico.svg") center / 1100px auto repeat;
    opacity: 0.05;
    pointer-events: none;
}
.cdl-dn-dia .tf-container {
    position: relative;
}
.cdl-dn-dia .title {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 10px;
}
.cdl-dn-dia-sub {
    color: rgba(255, 255, 255, 0.8);
}
.cdl-dn-linea {
    max-width: 680px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 8px;
}
.cdl-dn-linea::before {
    content: "";
    position: absolute;
    left: 121px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 2px;
}
.cdl-dn-linea .momento {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: 13px 0;
    position: relative;
}
.cdl-dn-linea .hora {
    width: 92px;
    flex: none;
    text-align: right;
    font-family: "Fraunces", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--cdl-accent);
}
.cdl-dn-linea .punto {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cdl-accent);
    border: 2px solid var(--cdl-secondary);
    position: relative;
    top: 1px;
}
.cdl-dn-linea .texto {
    font-family: "Barlow", sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
}

/* Mosaico de espacios: tres fotos redondeadas. */
.cdl-dn-mosaico {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.cdl-dn-mosaico a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}
.cdl-dn-mosaico img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.cdl-dn-mosaico a:hover img {
    transform: scale(1.04);
}
@media (max-width: 767px) {
    .cdl-dn-mosaico {
        grid-template-columns: 1fr;
    }
    .cdl-dn-linea::before {
        left: 86px;
    }
    .cdl-dn-linea .hora {
        width: 64px;
        font-size: 16px;
    }
}


/* ==========================================================================
   r50 — banderitas en tarjetas, galeria con pestañas, emergencia, nomads.
   ========================================================================== */
.cdl-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 2px;
}
.cdl-card-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(40, 152, 80, 0.1);
    color: var(--cdl-primary);
    font-family: "Barlow", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cdl-card-chips .chip.dias {
    background: rgba(240, 152, 152, 0.16);
    color: #b4575c;
}
.cdl-card-chips .chip i {
    font-size: 12px;
}

/* Pestañas de la galeria */
.cdl-galeria-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 6px 0 30px;
}
.cdl-galeria-tab {
    border: 1.5px solid var(--Line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--Secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}
.cdl-galeria-tab:hover {
    border-color: var(--cdl-primary);
    color: var(--cdl-primary);
}
.cdl-galeria-tab.activa {
    background: var(--cdl-primary);
    border-color: var(--cdl-primary);
    color: #fff;
}
.cdl-galeria-seccion.oculta {
    display: none;
}
.cdl-galeria-swiper {
    overflow: hidden;
    position: relative;
    padding-bottom: 34px;
}
.cdl-galeria-slide {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.cdl-galeria-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.cdl-galeria-slide:hover img {
    transform: scale(1.04);
}
.cdl-galeria-slide .pie {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 16px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    line-height: 1.4;
}
.cdl-galeria-swiper .cdl-carrusel-dots {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    text-align: center;
}
.cdl-galeria-swiper .swiper-pagination-bullet {
    background: var(--cdl-primary);
}

/* Linea de emergencia y nota de idiomas en el pie */
.cdl-footer-contacto .cdl-emergencia a {
    color: var(--cdl-accent);
    font-weight: 700;
}
.cdl-idiomas-nota {
    opacity: 0.75;
    padding-top: 4px;
}
.cdl-book-idiomas {
    color: var(--Secondary);
    margin: 8px 0 0;
}

/* Enlace del Big 7 en el comparador */
.cdl-comparador .cdl-b7-link {
    color: var(--cdl-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================================
   r53 — ratings del Big 7, logos de plataformas, desglose de tarifas.
   ========================================================================== */
.cdl-b7r-nota {
    color: var(--Secondary);
    margin: -6px 0 14px;
}
.cdl-b7r-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 36px;
    max-width: 640px;
}
.cdl-b7r-fila {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--Line);
}
.cdl-b7r-fila .animal {
    flex: 1;
    font-family: "Barlow", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
}
.cdl-b7r-fila .dots i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(40, 152, 80, 0.16);
    margin-right: 4px;
}
.cdl-b7r-fila .dots i.lleno {
    background: var(--cdl-primary);
}
.cdl-b7r-fila .num {
    color: var(--Secondary);
    min-width: 30px;
    text-align: right;
}
.cdl-b7r-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--cdl-primary);
    font-weight: 700;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
}
@media (max-width: 600px) {
    .cdl-b7r-grid {
        grid-template-columns: 1fr;
    }
}

/* Celda compacta de ratings en el comparador */
.cdl-comparador .cdl-b7-mini {
    max-width: 300px;
    line-height: 1.7;
}
.cdl-comparador .cdl-b7-mini .par {
    display: inline-block;
    font-size: 12.5px;
    color: var(--Secondary);
    margin-right: 8px;
    white-space: nowrap;
}
.cdl-comparador .cdl-b7-mini .par b {
    color: var(--cdl-primary);
}
.cdl-comparador .precio .desglose {
    display: block;
    color: var(--Secondary);
    font-weight: 500;
    margin-top: 3px;
    white-space: nowrap;
}
.cdl-comparador .rating-celda {
    font-weight: 700;
    color: var(--cdl-primary);
}
.cdl-b7-tabla .heading-section {
    margin-bottom: 26px;
}

/* Banda de logos del pie */
.cdl-footer-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding: 22px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 8px;
}
.cdl-footer-logos .etiqueta {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.7;
}
.cdl-footer-logos .logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cdl-footer-logos .logo-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 6px 12px;
    height: 44px;
    overflow: hidden;
}
.cdl-footer-logos .logo-chip img {
    height: 100%;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}
/* Insignias con texto apilado (Reserva Cuyabeno) necesitan mas alto. */
.cdl-footer-logos .logo-chip.grande {
    height: 54px;
}

/* El logo de Tripadvisor trae su propio fondo verde: se muestra sin chip blanco. */
.cdl-footer-logos .logo-chip.sin-fondo {
    background: none;
    padding: 0;
}
.cdl-footer-logos .logo-chip.sin-fondo img {
    border-radius: 10px;
}


/* --- r54: comparación de transporte en Prepare (doc cambios 4) --- */
.cdl-prep-trans-cols {
    margin-top: 8px;
    row-gap: 24px;
}
.cdl-prep-trans-col {
    height: 100%;
    border: 1px solid #e8e6e0;
    border-radius: 16px;
    padding: 28px 30px 22px;
    background: #fff;
}
.cdl-prep-trans-col h3 {
    font-size: 20px;
    line-height: 28px;
    padding-bottom: 14px;
}
.cdl-prep-trans-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cdl-prep-trans-col ul li {
    position: relative;
    padding: 7px 0 7px 22px;
}
.cdl-prep-trans-col ul li + li {
    border-top: 1px solid #f1efe9;
}
.cdl-prep-trans-col ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cdl-button);
}
.cdl-prep-trans-nota {
    max-width: 760px;
    margin: 26px auto 22px;
    text-align: center;
}
.cdl-prep-transporte .tf-btn {
    background: var(--cdl-button);
    color: #fff;
    padding: 11px 22px;
    border-radius: 999px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}
.cdl-prep-transporte .tf-btn:hover {
    background: var(--cdl-button-hover);
    color: #fff;
}


/* --- r55: puntos en el comparador y la tabla Big 7 (pedido de Juan Carlos) --- */
/* El reset de la plantilla pone table-layout: fixed a TODAS las tablas: las
   columnas no crecen con su contenido y las celdas se montan unas sobre otras
   en pantallas angostas (la captura de JC). Auto + min-width + scroll lateral. */
.cdl-comparador table {
    table-layout: auto;
}
.cdl-comparador .cdl-b7r-celda {
    min-width: 195px;
}
.cdl-comparador .cdl-b7r-celda .fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
}
.cdl-comparador .cdl-b7r-celda .animal {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--Secondary);
    white-space: nowrap;
}
.cdl-comparador .cdl-b7r-celda .dots i,
.cdl-comparador .rating-celda .dots i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(40, 152, 80, 0.16);
    margin-left: 3px;
}
.cdl-comparador .cdl-b7r-celda .dots i.lleno,
.cdl-comparador .rating-celda .dots i.lleno {
    background: var(--cdl-primary);
}
.cdl-comparador .rating-celda .dots {
    white-space: nowrap;
}

/* --- r56: blindaje responsive ---
   Las columnas flex heredan el min-content de sus filas internas
   (min-width: auto): con fuentes de respaldo la fila de datos de la ficha
   empuja la columna a ~600px y el título sale recortado en 375px. El arreglo
   canónico: min-width 0 en las columnas + dejar envolver las filas de datos. */
.row > [class*="col-"] {
    min-width: 0;
}
@media (max-width: 767px) {
    .wg-price .price-left,
    .wg-price .content-price {
        flex-wrap: wrap;
        row-gap: 6px;
    }
}


/* --- r58: selector de líneas de WhatsApp en el flotante --- */
.cdl-flotante-wa-grupo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.cdl-flotante-wa-grupo .cdl-flotante-wa {
    border: 0;
    cursor: pointer;
}
.cdl-wa-opciones {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 5;
}
.cdl-flotante-wa-grupo:hover .cdl-wa-opciones,
.cdl-flotante-wa-grupo:focus-within .cdl-wa-opciones,
.cdl-flotante-wa-grupo.abierto .cdl-wa-opciones {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.cdl-wa-opciones a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    background: #fff;
    border: 1px solid #e8e6e0;
    border-radius: 14px;
    padding: 9px 16px;
    box-shadow: 0 6px 18px rgba(11, 42, 23, 0.14);
    white-space: nowrap;
    line-height: 1.35;
}
.cdl-wa-opciones a strong {
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--On-Surface);
}
.cdl-wa-opciones a .caption-1 {
    color: var(--Secondary);
}
.cdl-wa-opciones a:hover {
    border-color: var(--cdl-primary);
}
.cdl-wa-opciones a:hover strong {
    color: var(--cdl-primary);
}
