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


/* =========================================================
   BASE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: 'DM Sans', sans-serif;
    background: #f8f8f6;
    color: #1f2937;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.wtm-header {
    width: 100%;
    background: #123B4A;
    border-bottom: 3px solid #2563eb;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .10);
}

.wtm-header-inner {
    max-width: 1280px;
    height: 76px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* =====================================
   CONTACTO DEL HEADER
   ===================================== */



.wtm-contact span {
    opacity: 0.9;
}

.wtm-email {
    color: #ffffff;
    font-weight: 600;
}
.wtm-contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.wtm-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.wtm-whatsapp {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}

.wtm-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.08);
}
.wtm-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.wtm-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
    flex: 0 0 48px;
}

.wtm-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wtm-brand-name {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.wtm-brand-city {
    margin-top: 4px;
    color: #ffffff;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.wtm-language {
    display: flex;
    align-items: center;
    gap: 7px;
}

.wtm-language a {
    width: 38px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 20px;
    text-decoration: none;

    opacity: .55;
    transition: all .2s ease;
}

.wtm-language a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .10);
}

.wtm-language a.active {
    opacity: 1;
    background: rgba(255, 255, 255, .14);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: 18px;
    margin: 28px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 100%;
}

.hero-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.hero:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.hero-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.hero-content p {
    margin-top: 10px;
    font-size: 1.1rem;
}


/* =========================================================
   TARJETAS DE TOURS — INDEX
   ========================================================= */

.tour-card {
    display: flex;
    align-items: stretch;

    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;

    margin-bottom: 28px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: .25s;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.tour-image {
    flex: 0 0 36%;
    height: 220px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.tour-card:hover .tour-image img {
    transform: scale(1.06);
}

.tour-content {
    flex: 1;
    padding: 24px 28px;
}

.tour-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.tour-meta {
    margin-bottom: 14px;
    color: #6b7280;
    font-size: .92rem;
}

.tour-meta i {
    color: #2563eb;
    margin-right: 6px;
}

.tour-description {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 18px;
}

.tour-hours {
    margin-top: 8px;
}

.tour-times {
    font-size: .95rem;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 500;
}

.tour-side {
    flex: 0 0 210px;

    border-left: 1px solid #ececec;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 24px;
}

.price-label {
    font-size: .78rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 22px;
}

.btn-tour {
    display: block;
    width: 100%;
    text-align: center;

    background: #2563eb;
    color: #fff;

    padding: 14px 18px;
    border-radius: 10px;

    font-weight: 600;
    transition: all .25s ease;
}

.btn-tour:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .30);
}


/* =========================================================
   SELECTOR DE IDIOMA ANTIGUO
   ========================================================= */

.language-switcher {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 8px;

    max-width: 1280px;
    margin: 10px auto 0;
    padding: 0 10px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 30px;

    border-radius: 6px;

    font-size: 19px;
    text-decoration: none;

    opacity: .55;
    transition: all .2s ease;
}

.language-switcher a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.language-switcher a.active {
    opacity: 1;
    background: #eef4f7;
}


/* =========================================================
   GALERÍA DINÁMICA — INDEX
   ========================================================= */

.tour-gallery {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.tour-gallery-image {
    position: absolute;
    top: 0;
    left: 0;

    width: 100% !important;
    height: 220px !important;

    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.tour-gallery-image.active {
    opacity: 1;
}


/* =========================================================
   PÁGINA INDIVIDUAL DEL TOUR
   ========================================================= */

.tour-page {
    padding: 28px 0 70px;
}

.tour-detail {
    max-width: 1280px;
    margin: 0 auto;
}

.tour-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 18px;

    color: #172033;
    font-size: .9rem;
    font-weight: 600;
}

.tour-back:hover {
    color: #2563eb;
}


/* =========================================================
   ESTRUCTURA PRINCIPAL
   ========================================================= */

.tour-top {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 28px;
    align-items: start;
}


/*
   IMPORTANTE:
   tour-left contiene galería + información.
   NO separamos aquí galería e información en columnas.
*/

.tour-left {
    min-width: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .75fr);

    gap: 28px;

    align-items: start;
}


/* =========================================================
   GALERÍA DEL TOUR
   ========================================================= */

.tour-gallery-page {
    width: 100%;
    min-width: 0;
}

.tour-gallery-main {
    width: 100%;
    height: 360px;

    overflow: hidden;
    border-radius: 14px;
}

.tour-gallery-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    opacity: 1;
    transition: opacity .4s ease;
}


/* MINIATURAS */

.tour-gallery-thumbnails {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 8px;

    width: 100%;
    margin-top: 10px;
}

.tour-thumbnail {
    display: block;

    width: 100%;
    height: 72px;

    padding: 0;
    margin: 0;

    border: 2px solid transparent;
    border-radius: 8px;

    background: transparent;

    overflow: hidden;
    cursor: pointer;
}

.tour-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.tour-thumbnail.active {
    border-color: #2563eb;
}
/* =========================================================
   INFORMACIÓN DEL TOUR
   ========================================================= */

.tour-main {
    min-width: 0;
    margin-top: 0;
}

.tour-main h1 {
    margin: 0 0 18px;

    color: #172033;

    font-size: 2.05rem;
    line-height: 1.12;
    font-weight: 700;
}

.tour-main .tour-description {
    color: #4b5563;

    font-size: .96rem;
    line-height: 1.65;

    margin-bottom: 25px;
}


/* =========================================================
   INFORMACIÓN BÁSICA
   ========================================================= */

.tour-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tour-info span {
    display: grid;

    grid-template-columns:
        25px
        auto
        1fr;

    column-gap: 8px;
    align-items: center;

    color: #4b5563;
    font-size: .9rem;
}

.tour-info span i {
    color: #2563eb;
    font-size: 1.1rem;
}

.tour-info strong {
    color: #172033;
}


/* =========================================================
   RESERVA — COLUMNA DERECHA
   ========================================================= */

.tour-booking {
    width: 100%;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    padding: 24px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .06);
}

.tour-booking h2 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 1.3rem;
    font-weight: 700;
}

.booking-subtitle {
    margin: 0 0 22px;

    color: #64748b;

    font-size: .85rem;
    line-height: 1.5;
}

.booking-placeholder {
    padding: 25px 15px;

    border: 1px dashed #cbd5e1;
    border-radius: 10px;

    text-align: center;

    color: #64748b;
    font-size: .85rem;
}


/* =========================================================
   FREE TOUR
   ========================================================= */

.free-tour-info {
    width: 100%;

    margin-top: 30px;
    margin-bottom: 30px;
}

.free-tour-info h2 {
    margin: 0 0 16px;

    color: #172033;

    font-size: 1.25rem;
    font-weight: 700;
}

.free-tour-info p {
    margin: 0;

    color: #4b5563;

    font-size: .92rem;
    line-height: 1.6;
}


/* =========================================================
   GUÍAS
   ========================================================= */

.tour-guides {
    width: 100%;
    margin-top: 30px;
}

.tour-guides > h2 {
    margin: 0 0 16px;

    color: #172033;

    font-size: 1.25rem;
    font-weight: 700;
}


/*
   UNA SOLA REGLA PARA LA CUADRÍCULA.

   5 guías:
   Diego       Ruvalcaba      Ramira
   Jakim       Max
*/

.guides-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
}


/* =========================================================
   TARJETA DEL GUÍA
   ========================================================= */

.guide-card {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    width: 100%;
    min-width: 0;

    padding: 12px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
}


/* =========================================================
   FOTO DEL GUÍA
   ========================================================= */

.guide-photo {
    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    overflow: hidden;

    border-radius: 50%;

    cursor: pointer;
}

.guide-photo img {
    display: block;

    width: 55px;
    height: 55px;

    object-fit: cover;

    transition:
        transform .2s ease;
}

.guide-photo:hover img {
    transform: scale(1.05);
}


/* =========================================================
   TEXTO DEL GUÍA
   ========================================================= */

.guide-content {
    flex: 1;

    min-width: 0;
}

.guide-content h3 {
    margin: 0 0 4px;

    color: #172033;

    font-size: .9rem;
    line-height: 1.2;
    font-weight: 700;
}

.guide-content p {
    margin: 0;

    color: #5b6472;

    font-size: .82rem;
    line-height: 1.45;
}


/* =========================================================
   FOTO GRANDE DEL GUÍA
   ========================================================= */

.guide-photo-overlay {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, .78);

    cursor: pointer;
}

.guide-photo-modal {
    position: relative;

    width: auto;
    max-width: 90vw;
    max-height: 90vh;
}

.guide-photo-modal img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, .35);
}


/* =========================================================
   RESEÑAS
   ========================================================= */

.tour-reviews {
    width: 100%;
    max-width: 320px;

    margin-top: 18px;

    padding: 10px 12px;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    background: #fff;
}

.reviews-title {
    margin: 0 0 4px;

    color: #172033;

    font-size: .9rem;
    font-weight: 700;
}

.review-stars {
    margin-bottom: 4px;

    color: #198754;

    font-size: .72rem;

    letter-spacing: 1px;
}

.review-comment {
    margin: 0 0 5px;

    color: #4b5563;

    font-size: .9rem;
    line-height: 1.45;

    font-style: italic;
}

.review-author {
    color: #374151;

    font-size: .64rem;
    line-height: 1.25;

    font-weight: 600;
}

.review-navigation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 5px;
}

.review-navigation button {
    border: none;

    background: transparent;

    padding: 0 4px;

    color: #172033;

    font-size: .9rem;

    cursor: pointer;
}

.review-navigation button:hover {
    color: #2563eb;
}

#review-counter {
    color: #64748b;

    font-size: .6rem;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .tour-top {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 22px;
    }

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

}


/* =========================================================
   RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .tour-page {
        padding: 20px 0 50px;
    }


    .tour-detail {
        width: 100%;
        padding: 0 15px;
    }


    .tour-top {
        display: flex;

        flex-direction: column;

        gap: 25px;
    }


    .tour-gallery-main {
        height: 280px;
    }


    .tour-thumbnail {
        height: 60px;
    }


    .tour-main {
        margin-top: 20px;
    }


    .tour-main h1 {
        font-size: 1.8rem;
    }


    .tour-booking {
        width: 100%;
    }


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


    .free-tour-info,
    .tour-guides {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — TELÉFONOS PEQUEÑOS
   ========================================================= */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 1.2rem;
    }

}
@media (max-width: 480px) {

    .wtm-header-inner {
        height: 68px;
        padding: 0 16px;
    }

    .wtm-brand-name {
        font-size: .9rem;
        letter-spacing: 1px;
    }

    .wtm-brand-city {
        font-size: .55rem;
        letter-spacing: 2px;
    }

    .wtm-logo {
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        flex-basis: 42px;
    }


    .hero {
        height: 170px;
    }

    .hero-content h1 {
        font-size: 1rem;
    }


    .tour-gallery-thumbnails {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    .tour-reviews {
        max-width: 100%;
    }


    .guide-card {
        gap: 10px;
    }

}/* =========================================================
   AJUSTES FINALES
   ========================================================= */


/*
   Evita que elementos internos de las tarjetas
   desborden su columna.
*/

.tour-left,
.tour-gallery-page,
.tour-main,
.tour-guides,
.free-tour-info,
.guides-grid,
.guide-card,
.guide-content {
    min-width: 0;
}


/*
   Las imágenes de los guías siempre permanecen
   pequeñas dentro de la tarjeta.
*/

.guide-photo,
.guide-photo img {
    flex-shrink: 0;
}


/*
   El texto largo de un guía no puede empujar
   la tarjeta fuera de su columna.
*/

.guide-content {
    overflow-wrap: break-word;
    word-break: normal;
}


/*
   El modal de la foto grande está fuera del flujo
   normal de la página.
*/

.guide-photo-overlay {
    overflow: auto;
}


/*
   El cursor indica que la foto es ampliable.
*/

.guide-photo img {
    cursor: pointer;
}


/*
   Evita que los botones de thumbnails tengan
   apariencia de botón del navegador.
*/

.tour-thumbnail:focus {
    outline: none;
}

.tour-thumbnail:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}


/*
   Ajuste para que el contenido de la columna
   izquierda no provoque desplazamiento horizontal.
*/

.tour-top {
    width: 100%;
}


/*
   La reserva permanece en la columna derecha
   en escritorio.
*/

@media (min-width: 769px) {

    .tour-top {
        grid-template-columns:
            minmax(0, 1fr)
            330px;
    }

    .tour-booking {
        position: relative;
        grid-column: 2;
    }

}


/*
   En móvil todo se apila.
*/

@media (max-width: 768px) {

    .tour-booking {
        order: 2;
    }

    .tour-left {
        order: 1;
    }

    .tour-guides {
        margin-top: 25px;
    }

    .free-tour-info {
        margin-top: 25px;
    }

}
@media (max-width: 600px){

    .tour-card,
    .tour-content,
    .tour-side{
        min-width:0;
        box-sizing:border-box;
    }

    .tour-content{
        width:100%;
    }

    .tour-side{
        width:100%;
        flex:0 0 auto;
    }

}

/* =========================================================
   BARRA INFERIOR DE BENEFICIOS Y WHATSAPP
   ========================================================= */

.wtm-benefits-bar {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.wtm-benefits-inner {
    min-height: 82px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.wtm-benefit {
    min-width: 0;
    min-height: 58px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #172033;
    text-decoration: none;
}

.wtm-benefit + .wtm-benefit {
    border-left: 1px solid #e5e7eb;
}

.wtm-benefit > i {
    flex: 0 0 auto;
    font-size: 27px;
    color: #172033;
}

.wtm-benefit strong {
    display: block;
    margin-bottom: 3px;
    color: #172033;
    font-size: .88rem;
    line-height: 1.25;
    font-weight: 700;
}

.wtm-benefit span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.35;
}

.wtm-benefit-whatsapp {
    cursor: pointer;
    transition: background .2s ease;
}

.wtm-benefit-whatsapp:hover {
    background: #f8fafc;
}

.wtm-benefit-whatsapp:hover > i {
    color: #198754;
}

@media (max-width: 900px) {
    .wtm-benefits-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wtm-benefit:nth-child(3) {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

    .wtm-benefit:nth-child(4) {
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 480px) {
    .wtm-benefits-bar {
        margin-bottom: 18px;
        border-radius: 8px;
    }

    .wtm-benefits-inner {
        padding: 4px;
    }

    .wtm-benefit {
        min-height: 62px;
        padding: 9px 7px;
        gap: 8px;
    }

    .wtm-benefit > i {
        font-size: 21px;
    }

    .wtm-benefit strong {
        font-size: .70rem;
    }

    .wtm-benefit span {
        font-size: .62rem;
    }
}
/* =========================================================
   TARJETAS DE TOURS — MÓVIL
   Información izquierda / imagen derecha
   ========================================================= */

@media (max-width: 768px) {

    .tour-card {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .tour-content {
        order: 1;
        flex: 0 0 64%;
        width: 64%;
        padding: 20px 18px;
    }

    .tour-image {
        order: 2;
        flex: 0 0 36%;
        width: 36%;
        height: auto;
        min-height: 220px;
    }

    .tour-side {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        border-left: none;
        border-top: 1px solid #ececec;
        padding: 18px;
    }

    .tour-gallery {
        height: 100%;
        min-height: 220px;
    }

    .tour-gallery-image {
        height: 100% !important;
    }
}


/* =========================================================
   HEADER — CONTACTO
   ========================================================= */

.wtm-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* Logo */

.wtm-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    color: inherit;
    text-decoration: none;
}

.wtm-brand:hover {
    color: inherit;
    text-decoration: none;
}


/* Contacto */

.wtm-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    gap: 3px;

    margin-left: auto;
    margin-right: 20px;

    min-width: 0;

    color: #ffffff;

    font-size: .72rem;
    line-height: 1.2;

    white-space: nowrap;
}

.wtm-contact span {
    color: #ffffff;
    opacity: .88;
}

.wtm-email {
    color: #ffffff;
    text-decoration: none;
    font-size: .70rem;
    font-weight: 500;
}

.wtm-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.wtm-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #ffffff;
    font-size: 18px;

    text-decoration: none;
}

.wtm-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.08);
}

.wtm-contact span {
    color: #ffffff;
    opacity: .88;
}

.wtm-email {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.wtm-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.wtm-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    color: #ffffff;
    font-size: 19px;

    text-decoration: none;

    transition: transform .15s ease;
}

.wtm-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.08);
}


/* =========================================================
   HEADER — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .wtm-contact {
        font-size: .68rem;
        gap: 6px;
        margin-right: 12px;
    }

}


/* =========================================================
   HEADER — MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .wtm-header-inner {
        height: auto;
        min-height: 68px;

        padding: 8px 14px;

        row-gap: 5px;
    }

    /*
       Primera fila:
       logo a la izquierda
       banderas a la derecha
    */

    .wtm-brand {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .wtm-language {
        order: 2;
        flex: 0 0 auto;
        margin-left: 8px;
    }

    /*
       Segunda fila:
       contacto completo
    */

    .wtm-contact {
        order: 3;

        flex: 0 0 100%;
        width: 100%;

        justify-content: center;

        margin: 4px 0 2px;

        padding-top: 6px;
        padding-bottom: 7px;

        border-top: 1px solid rgba(255,255,255,.12);

        font-size: .67rem;

        white-space: normal;

        text-align: center;
    }

    .wtm-contact span {
        display: inline;
    }

    .wtm-email {
        font-size: .67rem;
    }

    .wtm-whatsapp {
        width: 25px;
        height: 25px;
        flex-basis: 25px;

        font-size: 18px;
    }

}


/* =========================================================
   HEADER — TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .wtm-header-inner {
        padding: 7px 12px;
    }

    .wtm-contact {
        font-size: .62rem;
        gap: 6px;
    }

    .wtm-email {
        font-size: .62rem;
    }

    .wtm-whatsapp {
        font-size: 17px;
    }

}
/* =========================================================
   CONTACTO DEL HEADER — AJUSTE FINAL
   ========================================================= */

.wtm-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;

    margin-left: auto;
    margin-right: 20px;

    min-width: 0;

    color: #ffffff;
    font-size: .72rem;
    line-height: 1.2;
}

.wtm-contact span {
    color: #ffffff;
    opacity: .88;
}

.wtm-contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.wtm-email {
    color: #ffffff;
    text-decoration: none;
    font-size: .70rem;
    font-weight: 500;
}

.wtm-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.wtm-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

.wtm-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.08);
}


/* MÓVIL */

@media (max-width: 768px) {

    .wtm-header-inner {
        height: auto;
        min-height: 68px;
        padding: 8px 14px;
        row-gap: 5px;
    }

    .wtm-contact {
        order: 3;

        flex: 0 0 100%;
        width: 100%;

        align-items: center;

        margin: 4px 0 2px;
        padding-top: 6px;

        border-top: 1px solid rgba(255,255,255,.12);

        font-size: .67rem;

        white-space: normal;
        text-align: center;
    }

    .wtm-contact-row {
        justify-content: center;
    }

    .wtm-email {
        font-size: .67rem;
    }

    .wtm-whatsapp {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }

}


/* TELÉFONOS PEQUEÑOS */

@media (max-width: 480px) {

    .wtm-contact {
        font-size: .62rem;
    }

    .wtm-email {
        font-size: .62rem;
    }

    .wtm-whatsapp {
        font-size: 17px;
    }

}
/* =========================================================
   HEADER — DISTRIBUCIÓN FINAL
   ========================================================= */

/* COMPUTADORA */

.wtm-header-inner {
    display: grid !important;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    column-gap: 30px;
}


/* Logo */

.wtm-brand {
    grid-column: 1;
    justify-self: start;

    display: flex;
    align-items: center;

    min-width: 0;

    color: inherit;
    text-decoration: none;
}

.wtm-brand:hover {
    color: inherit;
    text-decoration: none;
}


/* Contacto: AHORA ocupa la zona central */

.wtm-contact {
    grid-column: 2;

    justify-self: center;

    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    width: 100%;
    max-width: 520px;

    margin: 0 !important;
    padding: 0;

    color: #ffffff;

    font-size: 14px !important;
    line-height: 1.2;

    white-space: nowrap;
}


/* Primera línea */

.wtm-contact > span {
    display: block;

    color: #ffffff;

    font-size: 13px !important;
    font-weight: 500;

    opacity: .9;
}


/* Segunda línea: correo + WhatsApp */

.wtm-contact-row {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
}


.wtm-email {
    display: inline-block;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    line-height: 1.2 !important;

    text-decoration: none;

    white-space: nowrap;
}


.wtm-email:hover {
    color: #ffffff !important;
    text-decoration: underline;
}


/* WhatsApp */

.wtm-whatsapp {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    color: #ffffff !important;

    font-size: 18px !important;

    text-decoration: none;
}


.wtm-whatsapp:hover {
    color: #ffffff !important;
    transform: scale(1.08);
}


/* Banderas */

.wtm-language {
    grid-column: 3;

    justify-self: end;

    display: flex;

    align-items: center;

    flex: 0 0 auto;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .wtm-header-inner {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        grid-template-rows:
            auto
            auto;

        column-gap: 10px;
        row-gap: 5px;

        height: auto !important;
        min-height: 68px;

        padding: 8px 14px;
    }


    /* Logo */

    .wtm-brand {
        grid-column: 1;
        grid-row: 1;

        min-width: 0;
    }


    /* Banderas */

    .wtm-language {
        grid-column: 2;
        grid-row: 1;

        justify-self: end;
    }


    /* Contacto debajo */

    .wtm-contact {
        grid-column: 1 / -1;
        grid-row: 2;

        justify-self: stretch;

        width: 100%;
        max-width: none;

        margin: 3px 0 0 !important;
        padding-top: 6px;

        border-top: 1px solid rgba(255,255,255,.12);

        font-size: 12px !important;

        white-space: normal;
    }


    .wtm-contact > span {
        font-size: 12px !important;
    }


    .wtm-contact-row {
        width: 100%;

        justify-content: center;

        gap: 7px;
    }


    .wtm-email {
        font-size: 12px !important;
    }


    .wtm-whatsapp {
        width: 23px;
        height: 23px;

        flex-basis: 23px;

        font-size: 17px !important;
    }

}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .wtm-contact > span {
        font-size: 11px !important;
    }

    .wtm-email {
        font-size: 11px !important;
    }

}
/* =========================================================
   HEADER — CORREO Y WHATSAPP
   ========================================================= */

.wtm-header-inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 30px;
}


/* Logo */

.wtm-brand {
    grid-column: 1;
}


/* Contacto centrado */

.wtm-contact {
    grid-column: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 !important;
    padding: 0;

    white-space: nowrap;
}


/* Correo + WhatsApp */

.wtm-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}


.wtm-email {
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    line-height: 1.2 !important;

    text-decoration: none;
    white-space: nowrap;
}

.wtm-email:hover {
    text-decoration: underline;
}


.wtm-whatsapp {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: #ffffff !important;

    font-size: 20px !important;

    text-decoration: none;
}

.wtm-whatsapp:hover {
    transform: scale(1.08);
}


/* Banderas */

.wtm-language {
    grid-column: 3;
    justify-self: end;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .wtm-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;

        column-gap: 10px;
        row-gap: 6px;

        height: auto !important;
        padding: 8px 14px;
    }

    .wtm-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .wtm-language {
        grid-column: 2;
        grid-row: 1;
    }

    .wtm-contact {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;

        padding-top: 6px;

        border-top: 1px solid rgba(255,255,255,.12);
    }

    .wtm-contact-row {
        justify-content: center;
    }

    .wtm-email {
        font-size: 12px !important;
    }

    .wtm-whatsapp {
        width: 24px;
        height: 24px;
        font-size: 18px !important;
    }
}
