/* =========================================================
   GOTANGO THEME
   CSS COMPLETO
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --gt-primary: #b58a4a;
    --gt-secondary: #333333;
    --gt-dark: #1f1f1f;
    --gt-light: #f7f5f1;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    color: var(--gt-secondary);
    background: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    background: #ffffff;

    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.header-inner {
    min-height: 95px;

    display: flex;
    align-items: center;

    position: relative;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-branding {
    flex: 0 0 auto;
}

.site-branding a {
    display: inline-block;

    text-decoration: none;
}

.site-branding img {
    display: block;

    width: 180px;
    height: auto;
}


/* =========================================================
   SELECTOR DE IDIOMAS
   ========================================================= */

.top-language-bar {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.top-language-bar > .container {
    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;
}

.wz-language-switcher {
    display: flex;
    align-items: center;

    gap: 12px;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   LINK DE CADA IDIOMA
   --------------------------------------------------------- */

.wz-language-switcher a {
    display: inline-flex !important;

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

    gap: 7px !important;

    width: auto !important;
    min-width: 50px !important;

    height: 30px !important;

    margin: 0 !important;
    padding: 4px 7px !important;

    color: var(--gt-secondary) !important;

    text-decoration: none !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    border-radius: 5px;

    background: transparent;

    transition:
        background-color .2s ease,
        opacity .2s ease;
}

.wz-language-switcher a:hover {
    background-color: #f5f5f5;
}


/* =========================================================
   BANDERAS
   ========================================================= */

.wz-language-switcher .flag {
    display: block !important;

    position: relative !important;

    flex: 0 0 25px !important;

    width: 25px !important;
    min-width: 25px !important;
    max-width: 25px !important;

    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    font-size: 0 !important;
    line-height: 0 !important;

    border-radius: 2px;

    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .15);

    background: none !important;

    transition: transform .2s ease;
}


/* =========================================================
   BANDERA ARGENTINA
   ========================================================= */

.wz-language-switcher a[href*="es.gotango.com.ar"] .flag {
    background:
        linear-gradient(
            to bottom,
            #74acdf 0%,
            #74acdf 33.33%,
            #ffffff 33.33%,
            #ffffff 66.66%,
            #74acdf 66.66%,
            #74acdf 100%
        ) !important;
}


/* Sol de Argentina */

.wz-language-switcher a[href*="es.gotango.com.ar"] .flag::after {
    content: "☀";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: #f6b800;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 8px;
    line-height: 1;
}


/* =========================================================
   BANDERA ESTADOS UNIDOS
   ========================================================= */

.wz-language-switcher a[href*="en.gotango.com.ar"] .flag {
    background:
        repeating-linear-gradient(
            to bottom,
            #b22234 0,
            #b22234 7.69%,
            #ffffff 7.69%,
            #ffffff 15.38%
        ) !important;
}


/* Cantón azul */

.wz-language-switcher a[href*="en.gotango.com.ar"] .flag::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 10px;
    height: 9px;

    background:
        radial-gradient(
            circle,
            #ffffff 0,
            #ffffff 0.7px,
            transparent 0.8px
        );

    background-size: 3px 3px;

    background-color: #3c3b6e;
}


/* =========================================================
   CÓDIGO ES / EN
   ========================================================= */

.wz-language-switcher .code {
    display: inline-block !important;

    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 18px !important;

    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--gt-secondary) !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 18px !important;

    letter-spacing: .3px;

    white-space: nowrap;
}


/* =========================================================
   IDIOMA ACTIVO
   ========================================================= */

.wz-language-switcher a.active {
    background-color: #f5f5f5;
}

.wz-language-switcher a.active .code {
    color: var(--gt-primary) !important;
}


/* =========================================================
   HOVER BANDERA
   ========================================================= */

.wz-language-switcher a:hover .flag {
    transform: scale(1.08);
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.main-navigation {
    margin-left: 35px;
}

.main-navigation ul {
    display: flex;
    align-items: center;

    gap: 25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;

    color: var(--gt-secondary);

    font-size: 15px;

    text-decoration: none;

    transition: color .2s ease;
}

.main-navigation a:hover {
    color: var(--gt-primary);
}


/* =========================================================
   PORTADA
   ========================================================= */

.gotango-hero {
    min-height: calc(100vh - 160px);

    display: flex;
    align-items: center;

    padding: 70px 20px 90px;

    background: #ffffff;
}

.gotango-hero-inner {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.gotango-intro {
    text-align: center;

    margin-bottom: 45px;
}

.gotango-intro h1 {
    margin: 0 0 12px;

    color: var(--gt-dark);

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;
}

.gotango-intro p {
    margin: 0;

    color: var(--gt-secondary);

    font-size: 18px;

    line-height: 1.6;

    opacity: .75;
}


/* =========================================================
   OPCIONES PRINCIPALES
   ========================================================= */

.gotango-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;

    max-width: 1000px;

    margin: 0 auto;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.gotango-card {
    display: block;

    overflow: hidden;

    color: inherit;

    background: #ffffff;

    text-decoration: none;

    border-radius: 12px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.gotango-card:hover {
    color: inherit;

    text-decoration: none;

    transform: translateY(-7px);

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


/* =========================================================
   IMAGEN DE TARJETA
   ========================================================= */

.gotango-card-image {
    position: relative;

    width: 100%;
    height: 330px;

    overflow: hidden;
}

.gotango-card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(0, 0, 0, .20)
        );
}

.gotango-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.gotango-card:hover .gotango-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

.gotango-card-content {
    padding: 27px 30px 30px;
}

.gotango-card-content h2 {
    margin: 0 0 10px;

    color: var(--gt-dark);

    font-size: 26px;

    line-height: 1.2;
}

.gotango-card-content p {
    margin: 0 0 20px;

    color: var(--gt-secondary);

    font-size: 16px;

    line-height: 1.6;

    opacity: .75;
}

.gotango-card-link {
    display: inline-block;

    color: var(--gt-primary);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .3px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 45px 20px;

    background: var(--gt-dark);

    color: #ffffff;
}

.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Contenedor */

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* Cabecera */

    .header-inner {
        min-height: 75px;

        flex-wrap: wrap;

        padding-top: 10px;
        padding-bottom: 10px;
    }


    /* Logo */

    .site-branding img {
        width: 145px;
    }


    /* Idiomas */

    .top-language-bar {
        margin-left: auto;
    }

    .top-language-bar > .container {
        padding: 0;
    }

    .wz-language-switcher {
        gap: 7px;
    }

    .wz-language-switcher a {
        min-width: 45px !important;
        height: 28px !important;

        gap: 5px !important;

        padding: 3px 5px !important;
    }

    .wz-language-switcher .flag {
        flex: 0 0 22px !important;

        width: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;

        height: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
    }

    .wz-language-switcher .code {
        min-width: 17px !important;

        font-size: 11px !important;

        line-height: 16px !important;
    }


    /* Navegación */

    .main-navigation {
        width: 100%;

        margin: 12px 0 0;
    }

    .main-navigation ul {
        justify-content: center;

        gap: 18px;
    }


    /* Portada */

    .gotango-hero {
        min-height: auto;

        padding: 50px 16px 65px;
    }

    .gotango-intro {
        margin-bottom: 30px;
    }

    .gotango-intro h1 {
        font-size: 34px;
    }

    .gotango-intro p {
        font-size: 16px;
    }


    /* Tarjetas */

    .gotango-options {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .gotango-card-image {
        height: 260px;
    }

    .gotango-card-content {
        padding: 22px 22px 25px;
    }

    .gotango-card-content h2 {
        font-size: 23px;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 400px) {

    .site-branding img {
        width: 125px;
    }

    .wz-language-switcher {
        gap: 5px;
    }

    .wz-language-switcher a {
        min-width: 42px !important;

        gap: 4px !important;

        padding: 3px 4px !important;
    }

    .wz-language-switcher .flag {
        flex: 0 0 20px !important;

        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;

        height: 15px !important;
        min-height: 15px !important;
        max-height: 15px !important;
    }

    .wz-language-switcher .code {
        min-width: 16px !important;

        font-size: 10px !important;
    }

    .gotango-intro h1 {
        font-size: 30px;
    }
}