/*
Theme Name: Leap Motors Theme
Theme URI: https://plugins.div-it.com.ar/leap-motors-theme
Author: Dex 360
Author URI: https://dex360.net/
Description: Theme Bootstrap 4 adaptado para LeapMotors, basado en Bootstrap Basic4 y maquetado según diseño aprobado de Home.
Version: 1.3.6
Requires PHP: 7.4
Requires at least: 5.8
Tested up to: 6.9
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: leap-motors-theme
Domain Path: /languages/
Tags: bootstrap, landing, automotive, responsive
*/

:root {
    --lm-green: #0f4f32;
    --lm-green-dark: #0a432b;
    --lm-green-deep: #093a26;
    --lm-lime: #d5e66b;
    --lm-gold: #c4b27c;
    --lm-text: #104c32;
    --lm-black: #090909;
    --lm-white: #ffffff;
    --lm-muted: #747474;
    --lm-soft: #f5f5f2;
    --lm-line: rgba(0, 0, 0, .12);
    --lm-radius: 28px;
    --lm-font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    font-family: var(--lm-font-family) !important;
}


/* INI: Header
-------------------------------------------------------------------------------------------- */
.lm-topbar {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 0 clamp(28px, 6vw, 80px);
    background: var(--lm-green);
}

.lm-topbar .lm-menu-toggle {
    grid-column: 1;
    justify-self: start;
}

.lm-topbar .logo-principal {
    grid-column: 2;
    justify-self: center;
    color: var(--lm-white);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.lm-topbar .logo-secundario {
    grid-column: 3;
    justify-self: end;
}

.lm-topbar .lm-menu-panel {
    grid-column: 1 / -1;
}

.lm-topbar .lm-menu-toggle {
    width: 42px;
}

.lm-topbar .lm-menu-toggle span {
    height: 2px;
}

.lm-topbar .header-logo {
    display: block;
    width: auto;
    max-height: 32px;
}

.lm-topbar .header-logo--leapmotor {
    max-width: 190px;
    max-height: 28px;
}

.lm-topbar .footer-logo {
    display: block;
    width: 100%;
    max-width: 190px;
    max-height: 28px;
}

.lm-menu-toggle {
    display: grid;
    gap: 8px;
    width: 45px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lm-menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--lm-white);
}

/* END: Header
---------------------------------------------- */

/*
Required WordPress CSS
*/
.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.bypostauthor {}


/* WordPress gallery */
.gallery-caption {}

.gallery {
    margin-bottom: 1.6em;
}

.gallery-item {
    display: inline-block;
    padding: 1.79104477%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
}

.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}


/*
Text meant only for screen readers.
copied from https://codex.wordpress.org/CSS
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


.sticky {}

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wpcf7-form .acceptance p {
    text-align: left;
    font-size: .8rem;
}

/* botones */
.lm-postventa-btn--green {
    background: var(--lm-green) !important;
    color: #ffffff !important;
}

.lm-postventa-btn--green:hover,
.lm-postventa-btn--green:focus {
    color: #ffffff;
}

/* INI: Footer
-------------------------------------------------------------------------------------------- */
.lm-footer__brand nav a .fab {
    font-size: 1.4rem;
    position: relative;
    top: -1px;
}

.lm-footer-menu {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.leapmotors-datos-contacto {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.leapmotors-datos-contacto__btn {
    width: 100%;
    display: inline-block;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 0;
}

.leapmotors-datos-contacto__btn i {
    transition: .3s ease;
    margin-left: 15px;
}

.leapmotors-datos-contacto__btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.leapmotors-datos-contacto li {
    margin-bottom: 5px;
    list-style-type: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
}

.leapmotors-datos-contacto div li {
    margin-left: 25px;
    width: 80%;
}

.leapmotors-datos-contacto div li i {
    margin: 5px 10px 0px -25px;
}

.lm-footer__contact a,
.lm-footer__contact a:hover {
    color: white !important;
    text-decoration: none !important;
}

.lm-footer__contact .card,
.lm-footer__contact .card-header {
    border: none !important;
    background-color: transparent;
    padding: 0 !important;
}

.lm-footer {
    position: relative;
    min-height: 344px;
    padding: 74px 30px 58px;
    color: var(--lm-white);
    background: var(--lm-green);
}

.lm-footer::before {
    display: none;
}

.lm-footer__hex {
    display: none;
}

.lm-footer h2 {
    margin: 0 0 27px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.lm-footer__contact button {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--lm-white);
    background: transparent;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
}

.lm-footer__contact li p {
    max-width: 275px;
    margin-bottom: 0px;
}

.lm-footer__contact i,
.lm-footer__brand i {
    font-size: 16px;
    margin: 4px 14px 0 0;
}

.lm-footer__links a,
.lm-footer__links a:hover {
    display: block;
    color: var(--lm-white);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.78;
    text-decoration: none;
}

.sucursal-title {
    font-size: 15px;
}

.lm-footer__brand {
    text-align: center;
}

.lm-footer__brand .header-logo {
    max-height: 35px;
    width: auto;
}

.logos-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.logos-container a {
    display: inline-flex;
    align-items: center;
}

.logos-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lm-footer .logos-container {
    transform: scale(.7);
    margin-top: -15px;
}

.lm-footer__brand .lm-carone {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 11px 5px;
    border-width: 2px;
    font-size: 29px;
    font-weight: 400;
    line-height: .95;
}

.lm-footer__brand .lm-wordmark {
    display: block;
    margin-bottom: 23px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 4px;
    justify-self: center;
}

.lm-footer__brand nav {
    display: flex;
    justify-content: center;
    gap: 13px;
}

.lm-footer__brand nav a {
    color: var(--lm-white);
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.lm-footer__brand h2 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.lm-footer__brand .lm-carone img {
    max-width: 186px;
    max-height: 45px;
}

.lm-footer__brand .lm-wordmark img {
    max-width: 180px;
    max-height: 25px;
    margin: 0 auto;
}

.icons-positions {
    text-align: end;
}

.dvt-terminos-condiciones {
    display: none !important;
}

.leapmotors-postventa-page section[id] {
    scroll-margin-top: 70px;
}


/* END: Footer
---------------------------------------------- */


/* Small devices (landscape phones, 600px and up) */
@media (min-width: 600px) {
    .lm-topbar {
        align-items: center;
    }

    .lm-menu-toggle {
        position: relative;
    }

    .logo-principal {
        justify-self: center;
    }

    .logo-secundario {
        justify-self: end;
    }

    .lm-footer__contact p {
        text-align: left !important;
    }

}

/* Extra small devices (phones, 600px and below) */
@media(max-width: 768px) {

    .lm-topbar {
        min-height: 72px;
        padding: 0 24px;
        grid-template-columns: none !important;
    }

    .icons-positions {
        text-align: center;
    }

    .icons-positions img {
        width: 16rem !important;
        margin: 5% 0;
    }

    /* Botón de menú arriba a la derecha */
    .lm-menu-toggle {
        position: relative;
    }

    /* Logo principal centrado o left */
    .logo-principal {
        text-align: center;
    }

    /* Logo secundario abajo */
    .logo-secundario {
        margin: 0 0 0 0px;
        text-align: center;
    }

    .logo-principal img {
        max-width: auto;
        height: auto;
    }

    .logo-secundario img {
        max-width: 114px;
        height: auto;
    }

    .lm-footer-menu,
    .lm-footer-menu li a {
        text-align: center !important;
    }

    .leapmotors-datos-contacto__btn {
        text-align: center !important;
    }

    /* header */

    .lm-topbar {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) minmax(98px, auto);
        align-items: center;
        min-height: 70px;
        padding: 0 36px 0 0px;
        gap: 14px;
        width: 100%;
        position: relative;
    }

    .lm-topbar .lm-menu-toggle {
        width: 36px;
        gap: 6px;
        position: absolute;
        right: 20px;
        transform: scale(.7);
    }

    .lm-topbar .lm-menu-panel {
        grid-column: 1 / -1;
    }

    .lm-topbar .logo-principal {
        justify-self: center;
    }

    .lm-topbar .logo-secundario {
        justify-self: end;
    }

    .logos-container {
        transform: scale(.7);
    }

}

/* Hover effect for quick cards */
.lm-plan-quick-card {
    transition: background-color .3s ease, color .3s ease;
}

.lm-plan-quick-card:hover {
    background-color: #12472D;
    color: #ffffff;
}