/* ===== AGREGAR AL INICIO DEL ARCHIVO, DESPUÉS DE :root ===== */

/* Importar fuente Inter desde Google Fonts (ya agregado en HTML) */
/* En el HTML: <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet"> */

/* Actualizar variables de fuente */
:root {
    --color-deep: #00274D; /* Azul profundo */
    --color-electric: #004AAD; /* Azul eléctrico (primario) */
    --color-mid: #0077CC; /* Azul medio */
    --color-cyan: #00AEEF; /* Cian eléctrico */
    --color-light: #E6F7FF; /* Azul claro / acentos */
    --color-black: #000000;
    --color-grey: #777777;
    --color-muted: #f4f4f4;
    --font-sans: 'Inter', 'Open Sans', sans-serif; /* Inter como primaria */
    --font-display: 'Inter', 'Poppins', sans-serif; /* Inter para headings */
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* ===== ESTILOS GENERALES DE TIPOGRAFÍA ===== */

/* Aplicar Inter a todo el body */
body { 
    font-family: var(--font-sans);
    background: #fff; 
    font-weight: 400; 
    font-size: 16px; /* Body Regular por defecto */
    color: #000;
    line-height: 1.6; /* Line-height para body regular */
}

/* Headings con Inter */
h1, h2, h3, h4 { 
    font-family: var(--font-display);
    font-weight: 700; /* Peso base para headings */
    margin: 0;
    padding: 0;
    line-height: 1.4em;
}

/* Estilos específicos para H1 */
h1 {
    font-size: 44px;
    font-weight: 700; /* Puedes usar 700 u 800 según necesites */
    line-height: 1.2;
    letter-spacing: -0.02em; /* Opcional: para mejor kerning en Inter */
}

/* H2-H4 pueden mantener su tamaño actual o ajustarse */
h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 28px;
    font-weight: 600; /* Inter tiene pesos semibold (600) */
    line-height: 1.4;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* Clases para tamaños de body */
.body-large {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.body-regular {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.body-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* Aplicar body-regular a párrafos por defecto */
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1em;
}

a, a:hover, a:focus { 
    text-decoration: none; 
    color: #004AAD;
    border: none;
    outline: none;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
}
a.white, a.white:hover, a.white:focus {
    color: #fff;
}
.justificado {
    text-align: justify;
}
img { 
    max-width: 100%; 
}
.container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Container moderno para sections */
.modern-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section spacing */
main, section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.container-fluid > .row {
    margin-top: 18px;
    margin-bottom: 18px;
}

/* Small spacer used in templates */
.height5 { height: 8px; }
.height10 { height: 10px; }
.height15 { height: 15px; }
.height20 { height: 20px; }
.height30 { height: 30px; }
.height50 { height: 50px; }

/* Banners and news spacing */
.banner {
    margin: 38px 0;
    display: block;
    text-align: center;
}
.banner img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.news-article {
    margin-bottom: 32px;
}
.clear, .clearfix {
    display: block;
    clear: both;
}
.alert { 
    padding: 10px 15px; 
}
.bg-white { background: #fff; }
.bg-green { background: var(--color-electric); }
.bg-grey { background: #f4f4f4; }
.white { color: #fff; }
.green { color: var(--color-electric); }
.grey { color: #777; }
.black { color: #000; }

.boton {
    display: inline-block;
    background: var(--color-electric);
    color: #fff !important;
    text-transform: uppercase;
    padding: 10px 30px;
    border: none;
    white-space: nowrap;
    border-radius: 0;
    border: none;
    font-weight: normal;
    transition: all .2s;
    -webkit-transition: all .2s;
    opacity: 0.9;
    font-family: 'Open Sans', sans-serif; /* Mantener Open Sans para botones */
}
.boton:hover, .boton:focus{
    opacity: 1;
    border: none;
}
::-webkit-input-placeholder { /* Edge */
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 1;
}
::placeholder {
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 1;
}
.bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }

/*** LOGIN ***/
body.login {
    background: url(images/slide.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 0 !important;
    height: 100%;
}
body.login .content-login {
    display: block;
    position: relative;
    height: 100%;
}
body.login .bg-white {
    background: #fff;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    position: absolute;
}
body.login .col-sm-6 {
    background: #fff;
    padding-right: 50px;
}
.form-login input {
    -webkit-appearance: none;
    appearance: none;
    border-left: none;
    border-right: none;
    border-top: none;
    outline: none !important;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
    padding: 8px;
    width: 400px;
    max-width: 100%;
}
.form-login a {
    color: #555 !important;
}
#login-recordar {
    width: 600px;
    max-width: 100%;
}
.modal-dialog, .modal-content {
    border-radius: 0;
}
h4.modal-title {
    margin: 0 0 10px 0;
    font-family: var(--font-display);
}
.modal-body {
    position: relative;
}
.modal-body button.cerrarmodal {
    position: absolute;
    right: 12px;
    top: 7px;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: none;
    font-size: 32px;
    color: #000;
    opacity: 1;
    font-weight: 400;
}
.formcontacto input, .formcontacto textarea {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    padding: 9px;
    width: 100%;
    border: none;
    margin-bottom: 4px;
    border: 1px solid #e0e0e0;
    margin-bottom: 16px;
}
.formcontacto button {
    border: none;
    border-radius: 0;
    padding: 9px 40px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}
.modal {
    z-index: 99999;
}
.alert.alert-danger {
    background: #fff;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #DB5646;
    color: #DB5646;
    padding: 14px 15px;
    border-radius: 0;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}
.alert.alert-info, .alert.alert-success {
    background: #fff;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid var(--color-electric);
    color: var(--color-electric);
    padding: 14px 15px;
    border-radius: 0;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}
.alert .fa {
    font-size: 18px;
    margin-right: 10px;
}

/*** AREA DEALER ***/
body.page.sintop {
    padding-top: 44px;
}

header .top {
    display: block;
    padding: 4px 0;
    background: var(--color-electric);
}

body.home header .top {
    display: none !important;
}
.page header {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
}
.navbar-header {
    position: relative;
    z-index: 999;
    height: 28px;
}
.navbar-default {
    background-color: transparent !important;
    border-color: none;
    border: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
header .navbar-brand {
    padding: 0;
    min-height: none;
    height: auto !important;
    z-index: 9999 !important;
    position: relative;
}
header .navbar-brand img {
    height: 24px;
    margin: 0;
}
.page .navbar-default .navbar-nav li a,
.home .navbar-default .navbar-nav li a {
    color: #000;
    font-size: 12px;
    border-top: none;
    border-right: none;
    border-left: none;
    padding: 2px 6px;
    text-transform: uppercase;
    font-weight: normal;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    border: none;
}
.page .navbar-default .navbar-nav li.active a, .page .navbar-default .navbar-nav li a:hover,
.page .navbar-default .navbar-nav li a:focus {
    background:none !important;
    color: var(--color-electric);
    border: none;
}
.page .navbar-default .navbar-nav > .active > a, 
.page .navbar-default .navbar-nav > .active > a:focus, 
.page .navbar-default .navbar-nav > .active > a:hover {
    background:none !important;
    color: var(--color-electric);
    border: none;
}
.page .navbar-default .navbar-nav li.inventario a,
.home .navbar-default .navbar-nav li.inventario a {
    background: var(--color-electric) !important;
    color: #fff !important;
    border-radius: 4px;
}
.home .navbar-default .navbar-nav li, .page.contop .navbar-default .navbar-nav li {
    margin-right: 2px;
}
.home .navbar-default, .page.contop .navbar-default {
    margin-top: 0;
}
.home header .navbar-brand, .page.contop header .navbar-brand {
    padding-top: 0;
    margin-top: 0;
}
.page.contop header img.logoblanco {
    display: none;
}
.page.contop header .top {
    background: var(--color-electric);
}
.page.contop header .top a {
    color: #fff !important;
}
.page.contop .navbar-default .navbar-nav li a {
    padding: 2px 6px;
}
.page.contop header .navbar-brand {
    margin-top: 0px;
}
.page.contop header .navbar-brand img {
    height: 28px;
    margin: 0;
}

#carousel-home {
    height: 100%;
}
#carousel-home .carousel-inner {
    height: 100%;
}
#carousel-home .item {
    height: 100%;
    text-align: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: bold;
    line-height: 50px;
}
#carousel-home .item strong {
    color: var(--color-electric);
}
#carousel-home .content-carousel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 300px;
    padding-left: 20px;
    padding-right: 20px;
}
#carousel-home .carousel-indicators {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    bottom: 270px;
}
.carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: var(--color-electric);
}
.tipos-home {
    position: relative;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-display);
    margin-top: -118px;
    z-index: 100;
}
.tipos-home img {
    margin-bottom: 6px;
}
.tipos-home a {
    color: #fff !important;
}
.tipos-home .tipo {
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}
.tipos-home .tipo.cborde::after {
    content: '';
    width: 1px;
    height: 70px;
    background: #333;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 24px;
}
.slidevehicle {
    display: block;
    width: 100%;
    height: 400px;
    position: relative;
}
#carousel-id .controles {
    position: absolute;
    top: 8px;
    right: 8px;
}
#carousel-id .controles a {
    display: inline-block;
    background: rgba(255,255,255,0.8);
    text-align: center;
    width: 32px;
    height: 32px;
    line-height: 30px;
    color: #333;
    font-size: 18px;
}
#carousel-id .bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 18px;
    padding: 12px;
}
#carousel-id .bottom .col-sm-5 {
    font-weight: 600;
}
.nav-tabs {
    margin: 0;
    padding: 0;
    border: 0;    
}
.nav-tabs > li > a {
    text-align: center;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 0;
    background: #f9f9f9;
}
.nav-tabs > li > a img {
    margin-bottom: 0;
    height: 50px;
}
.nav.nav-tabs > li {
    width: 25%;
    float: left;
    margin-bottom: 0;
}
.nav.nav-tabs > li > a {
    position: relative;
    display: block;
    padding: 0 6px 5px 6px;
    height: 98px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}
.nav-tabs > li.active > a::after {
    content: '';
    display: block;
    width: 100%;
    background: #fff;
    height: 1px;
    position: absolute;
    left: 0px;
    bottom: -2px;
}
.nav.nav-tabs > li > a .block {
    display: block;
    width: 100%;
    text-align: center;
}
.tab-content {
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #ddd;
}
.formsearch input, .formsearch select {
    width: 100%;
    border: 1px solid #e0e0e0;
    margin-bottom: 13px;
    padding: 10px 10px;
}
.formsearch textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    margin-bottom: 13px;
    padding: 10px 10px;
    height: 150px;
}
.formsearch select {
    appearance: -webkit-none;
    appearance: none;
    background-color: #fff;
    background-image: url(images/down.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    background-size: 12px;
}
.banner img {
    width: 100%;
}
.bullets span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    margin: -4px 3px 0 3px;
}
.rowfichas {
    margin-left: -6px;
    margin-right: -6px;
}
.rowfichas .col-sm-3, .rowfichas .col-sm-4 {
    padding: 0 6px;
}
.ficha {
    background: #fff;
    border: 1px solid #f2f2f2;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    padding: 6px;
    font-family: var(--font-display);
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    width: 100%;
    max-width: 100%;
}
.ficha:hover {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
}
.ficha .imgvehicle {
    display: block;
    width: 100%;
    height: 170px;
    margin-bottom: 9px;
    position: relative;
}
.bordeficha {
    height: 1px;
    width: 100%;
    background: #eee;
    margin-top: 9px;
    margin-bottom: 9px;
}
.ficha .bottom {
    padding-left: 3px;
    padding-right: 3px;
}
.ficha span {
    float: right;
}
.ficha span.precio {
    color: var(--color-electric);
    font-weight: bold;
}
.noticia {
    border: 1px solid #ddd;
    padding: 6px;
    background: #fff;
}
.imgnoticia {
    display: block;
    width: 100%;
    height: 272px;
    margin-bottom: 10px;
}
.noticia .bottom {
    padding-left: 4px;
    padding-right: 4px;
}
.fecha {
    color: #999;
}
.noticia a.title {
    color: #000;
    margin-top: 6px;
    margin-bottom: 6px;
    font-family: var(--font-display);
    display: inline-block;
}
.owl1 {
    padding-left: 20px;
    padding-right: 20px;
}
.owl1 .owl-nav.disabled, .owl1 .owl-nav {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
}
.owl1 .owl-nav .owl-prev span {
    position: absolute;
    left: 5px;
    top: 120px;
    font-size: 40px;
}
.owl1 .owl-nav .owl-next span {
    position: absolute;
    right: 5px;
    top: 120px;
    font-size: 40px;
}
footer {
    margin-top: 30px;
    background: #fff;
    padding-top: 30px;
}
footer img {
    width: 180px;
    max-width: 50%;
}
.social-footer {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 5px;
}
.social-footer a {
    color: #fff;
    background: #004AAD;
    display: inline-block;
    font-size: 18px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 34px;
}
.copyright {
    color: #333;
    margin-bottom: 15px;
}
.copyright a {
    color: #333;
}

header.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
    background: #fff !important;
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.15);
}
header.sticky .top {
    background: var(--color-electric);
}
header.sticky .logoblanco {
    display: none !important;
}
header.sticky .logoverde {
    display: block !important;
}
header.sticky .navbar-default .navbar-nav li a {
    color: #000;
}
header.sticky .navbar-default .navbar-nav li.active a, header.sticky .navbar-default .navbar-nav li a:hover,
header.sticky .navbar-default .navbar-nav li a:focus {
    color: var(--color-electric);
}
header.sticky .navbar-default .navbar-nav > .active > a, 
header.sticky .navbar-default .navbar-nav > .active > a:focus, 
header.sticky .navbar-default .navbar-nav > .active > a:hover {
    color: var(--color-electric);
}
header.sticky .navbar-brand {
    margin-top: 0;
}
header.sticky .navbar-brand img {
    height: 44px;
    margin: 0;
}
.navbar-toggle {
    padding: 0;
    margin-top: 8px;
    margin-right: 0;
    border: none;
    background: none !important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--color-electric);
    margin-bottom: 4px;
}
.tipos-responsive {
    display: none;
}
.topresponsive, .searchresponsive {
    display: none;
}
body.page.contop {
    padding-top: 100px;
}
.detallenoticia {
    background: #fff;
    border: 1px solid #f2f2f2;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    padding: 15px;
}
.titulonoticia {
    line-height: 1.2em;
    margin-bottom: 6px;
    font-family: var(--font-display);
}
.imgfull {
    width: 100%;
}
.mapa iframe {
    width: 100%;
    height: 324px;
    background: #fff;
    border: 7px solid #fff;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
}

.contactos p {
    position: relative;
    padding-left: 26px;
}
.contactos .fa {
    position: absolute;
    left: 0;
    color: var(--color-electric);
    width: 20px;
    display: inline-block;
    text-align: center;
    top: 3px;
    font-size: 16px;
}
.paginacion {
    text-align: right;
}
.paginacion a, .paginacion span {
    margin: 0 3px;
}
select#orden {
    appearance: -webkit-none;
    appearance: none;
    border: none;
    margin: 0;
    padding: 0 28px 0 0;
    background-color: transparent;
    background-image: url(images/hamburger.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
    display: inline-block;
}
.sidebar-search {
    background: #fff;
    padding: 10px;
}
.sidebar-search .header {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.sidebar-search img {
    width: 50px;
    margin-right: 6px;
}
.sidebar-search .col-sm-6, .sidebar-search .col-xs-6 {
    float: none;
    width: 100%;
}
.sidebar-search .col-sm-12.text-right {
    text-align: center;
}
.sidebar {
    margin-top: 42px;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.15);
    border: 1px solid #eee;
}
.sidebar a {
    display: block;
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 4px;
    padding-right: 4px;
    border-top: 1px solid #e6e6e6;
}
.sidebar a img {
    width: 50px;
    margin-right: 6px;
}
.sidebar .fa {
    display: none;
}
.ficha .solo-listado {
    display: none;
}
.listado .ficha .solo-listado {
    display: block;
}
.solo-listado, .colores {
    font-size: 14px;
    color: #555;
}
.solo-listado p, .colores p {
    margin: 2px 0;
    position: relative;
    padding-left: 22px;
}
.solo-listado p span, .colores p span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    position: absolute;
    left: 0;
    top: 3px;
}
.sidebar-barresponsive {
    display: none;
}
a.dealerlogin {
    font-size: 16px;
    margin-right: 16px;
    position: relative;
    top: -1px;
}
.detallevehiculo h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}
.detallevehiculo .titulonoticia span {
    
}
.detallevehiculo .borde {
    background: #dadada;
    width: 100%;
    height: 1px;
    margin: 10px 0;
}
.detallevehiculo .precio {
    font-family: var(--font-display);
    font-weight: 600;
}
.detallevehiculo .precio span {
    color: var(--color-electric);
    font-weight: bold;
    font-size: 17px;
    margin-left: 30px;
}
.detallevehiculo .description {
    margin-top: 10px;
    margin-bottom: 20px;
}
.caracteristicas h4 {
    color: var(--color-deep);
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 0;
}
.caracteristicas table {
    width: 100%;
}
.caracteristicas table td {
    padding-bottom: 4px;
}
.caracteristicas table td.blue {
    color: var(--color-deep);
    padding-right: 12px;
}
.caracteristicas .col-sm-6.conb {
    border-right: 4px solid #f0f0f0;
}
.caracteristicas .full498 p {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 4px;
    float: left;
    width: 50%;
}
.detallevehiculo .galerias {
    margin-left: -10px;
    margin-right: -10px;
}
.imggalerias, .imggalerias:hover {
    display: block;
    width: 25%;
    height: 200px;
    float: left;
    border: 8px solid #fff;
    position: relative;
}
.watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}
.watermark div {
    display: block;
    width: 100%;
    text-align: center;
    opacity: 0.3;
}
.watermark img {
    width: 140px;
    max-width: 50%;
}
.lb-container {
    position: relative;
}
.lb-container::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url(images/logo.png) no-repeat center center;
    background-size: 150px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;

}
.floatright {
    float: right;
}

/** FAQS ****/
.panel-heading .accordion-toggle {
    position: relative;
    display: block;
    padding-right: 40px !important;
}
.panel-heading .accordion-toggle:after {
  font-family: "Glyphicons Halflings";
  content: "\2212";
  color: #666;
  font-size: 13px;
  position: absolute;
  right: 0;
  top: 0px;
}
.panel-heading .accordion-toggle.collapsed:after {
  content: "\2b";
  font-size: 13px;
  position: absolute;
  right: 0;
  top: 0px;
}
h4.cerrado, h4.abierto {
    position: relative;
    padding-right: 40px !important;
    display: block;
}
h4.cerrado:after {
  font-family: "Glyphicons Halflings";
  content: "\2b"; 
  color: #fff; 
  font-size: 13px;
  position: absolute;
  right: 15px;
  top: 10px;
}
h4.abierto:after {
    font-family: "Glyphicons Halflings";
    content: "\2212"; 
    float: right; 
    color: #fff; 
    font-size: 13px;
    position: absolute;
    right: 15px;
    top: 10px;
}

.panel-heading .accordion-toggle {
    color: #333;
    font-weight: normal;
    text-decoration: none !important;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
    padding-top: 3px;
    padding-bottom: 3px;
    font-family: var(--font-display);
}
.detallenot {
    width: 100%;
    height: 350px;
}

@media(max-width: 991px) {
    .imggalerias, .imggalerias:hover {
        width: 25%;
        height: 150px;
    }
    .full991 {
        width: 100%;
        float: none;
    }
    .imagenprincipalcar {
        margin-bottom: 30px;
    }
}

@media(max-width: 767px) {
    body.home, body.page.contop {
        padding-top: 108px;
        background: #f4f4f4;
    }
    header .top {
        background: #004AAD;
        color: #fff;
    }
    .top a .fa-twitter, .top a .fa-facebook .top a .fa-instagram {
        margin-right: 0;
    }
    .home header {
        background: #fff;
    }
    .home header img.logoblanco {
        display: none;
    }
    .home header img.logoverde {
        display: block;
    }
    .home header .navbar-brand, .page.contop header .navbar-brand {
        margin-top: 0;
    }
    .home header .navbar-brand img, .navbar-brand img {
        height: 44px;
        margin: 0 !important;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        float: none;
        clear: both;
    }
    .home .navbar-default .navbar-nav li.inventario a, .page.contop .navbar-default .navbar-nav li.inventario a {
        background: none !important;
        color: #333 !important;
    }
    .home .navbar-default .navbar-nav li.inventario a:hover, 
    .page.contop .navbar-default .navbar-nav li.inventario a:hover {
        background: none !important;
        color: var(--color-electric) !important;
    }
    .topresponsive, .searchresponsive {
        display: block;
    }
    .searchresponsive {
        background: #f0f0f0;
        background-size: cover;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .searchresponsive span {
        color: #333;
    }
    #carousel-home {
        height: auto;
    }
    #carousel-home .carousel-inner {
        height: auto;
    }    
    #carousel-home .item {
        font-size: 40px;
        line-height: 46px;
        height: 500px;
    }
    #carousel-home .content-carousel {
        bottom: 120px;
    }
    #carousel-home .carousel-indicators {
        bottom: 110px;
    }
    .tipos-home {
        background: #111;
        margin-top: 0;
        z-index: 100;
    }
    .tipos-home .tipo.cborde {
        border-bottom: 1px solid #222;
    }
    .tipos-home .tipo.cborde::after {
        content: none;
    }
    #carousel-id .bottom .col-sm-5 {
        text-align: left;
    }
    .hiddenphone {
        display: none;
    }
    .navbar-collapse {
        -webkit-box-shadow: none;
        box-shadow: none;
        background: #fff;
        margin-left: -15px;
        margin-right: -15px;
    }
    .navbar-default .navbar-nav li a {
        color: #000 !important;
    }
    .navbar-default .navbar-nav li.active a, .navbar-default .navbar-nav li a:hover,
    .navbar-default .navbar-nav li a:focus {    
        color: var(--color-electric) !important;
    }
    .navbar-default .navbar-nav > .active > a, 
    .navbar-default .navbar-nav > .active > a:focus, 
    .navbar-default .navbar-nav > .active > a:hover {
        color: var(--color-electric) !important;
    }
    .navbar-toggle {
        margin-top: 15px;
    }
    .tipos-responsive {
        display: block;
    }
    .tipos-responsive a {
        display: block;
        color: #fff;
        border-bottom: 1px solid #f8f8f8;
        padding: 8px 15px;
        font-weight: 600;
    }
    .tipos-responsive a img {
        width: 50px;
    }
    .tipos-responsive .fa {
        float: right;
        font-size: 17px;
        padding-top: 6px;
    }
    .listado .clearfix {
        display: none;
    }
    .sidebar {
        margin-top: 0;
        margin-left: -15px;
        margin-right: -15px;
        overflow: hidden;
    }
    .selectorden {
        white-space: nowrap;
    }
    select#orden {
        padding: 0;
        background-size: 20px;
    }
    .sidebar-search .header {
        display: none;
    }
    .sidebar-barresponsive {
        margin-top: -20px;
        display: block;
        color: #fff;
        margin-left: -15px;
        margin-right: -15px;
        position: relative;
        padding-left: 15px;
        padding-right: 20px;
    }
    .sidebar-barresponsive img {
        width: 52px;
        margin-right: 5px;
    }
    #togglesearch {
        display: block;
        color: #fff;
        position: relative;
        padding-left: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #togglesearch .fa {
        position: absolute;
        right: 12px;
        top: 14px;
        color: #fff;
        display: inline-block;
        font-size: 22px;
    }
    .sidebar-search {
        display: none;
    }
    .sidebar a {
        padding-left: 17px;
    }
    .sidebar a.puntoscarga {
        display: none;
    }
    .detallevehiculo .titulonoticia span {
        float: none;
    }
    .detallevehiculo img.imgfull {
        margin-bottom: 15px;
    } 
    .caracteristicas .full498 p {
        float: none; 
        width: 100%;
    }
    .detallevehiculo .accesorios {
        margin-top: 30px;
    }
    .detallevehiculo table td {
        width: 50%;
    }
    .imggalerias, .imggalerias:hover {
        width: 33.33%;
        height: 140px;
    }
    .bloquedealer .col-xs-6 {
        float: none;
        width: 100%;
    }
    .bloquedealer {
        margin-top: 30px;
        position: relative;
    }
    .bloquedealer .logodealer  {
        position: absolute;
        left: 0;
        top: 15px;
        width: 160px;
    }
    .bloquedealer .datosdealer {
        padding-left: 180px;
    }
}

@media(max-width: 498px) {
    .form-logo {
        position: relative;
        padding-left: 0;
    }
    .form-logo img {
        position: relative;
        left: inherit;
        top: inherit;
        margin-bottom: 12px;
        width: 200px;
        float: none;
    }
    .form-logo img::after {
        content: '';
        display: block;
        clear: both;
    }
    #carousel-home .item {
        font-size: 36px;
        line-height: 42px;
    }
    .full498 {
        width: 100%;
        float: none;
    }
    .nav-tabs > li > a {
        font-size: 11px;
    }
    .searchresponsive button {
        width: 100%;
        opacity: 1;
    }
    #carousel-id .bottom {
        color: #fff;
        font-size: 16px;
    }
    .owl1 {
        padding-left: 35px;
        padding-right: 35px;
    }
    .slidevehicle {
        height: 300px;
    }
    .mostrando .col-sm-7 {
        float: none;
        width: 100%;
        font-size: 14px;
        text-align: right;
    } 
    .mostrando .col-sm-5 {
        display: none;
    }
    select#orden {
        width: auto;
    }
    .imggalerias, .imggalerias:hover {
        width: 50%;
        height: 140px;
    }
    .bloquedealer .logodealer  {
        position: relative;
        left: inherit;
        top: inherit;
        width: 100%;
        text-align: center;
    }
    .bloquedealer .logodealer img {
        max-width: 70%;
        margin-bottom: 15px;
    }
    .bloquedealer .datosdealer {
        padding-left: 15px;
    }
    .detallenot {
        height: 280px;
    }
}

.headerbg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.headerbg .content-carousel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    height: 100%;
    z-index: 100;  
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}
.headerbg .content-carousel div {
    display: block; 
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: bold;
    line-height: 50px;
    padding-left: 30px;
    padding-right:  30px;
}
.headerbg .content-carousel div span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-electric);
    margin: 0 4px;
}
.headerbg .content-carousel strong {
    color: var(--color-electric);
}
#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}
.maincontents {
    background: #fff;
    padding: 12px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    border: 1px solid #f0f0f0;
}
.primera .col1 {
    padding-left: 15px;
    padding-right: 15px;
    width: 52%;
    float: left;
}
.primera .col2 {
    padding-left: 15px;
    padding-right: 15px;
    width: 48%;
    float: left;
}
.primera .imgnoticia, .segunda .imgnoticia, .tercera .imgnoticia {
    height: 310px;
}
.segunda .col1 {
    padding-left: 15px;
    padding-right: 15px;
    width: 56%;
    float: left;
}
.tercera .col1 {
    padding-left: 15px;
    padding-right: 15px;
    width: 44%;
    float: left;
}
.noticiassidebar .imgnoticia {
    height: 220px;
}
.bloquedealer {
    background: #f4f4f4;
    padding: 15px 10px;
    font-size: 14px;
}
.bloquedealer strong {
    font-weight: 600;
    color: #111;
}
.bloquedealer hr {
    border-top: 1px solid #ccc;
}
.bloquedealer a.boton {
    width: 100%;
    display: block;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
    margin-bottom: 6px;
}
.imagenprincipalcar .bgimg {
    display: block;
    width: 100%;
    height: 360px;
}

@media(max-width: 991px) {
    .primera .col1 {
        width: 100%;
        float: none;
    }
    .primera .col2 {
        width: 100%;
        float: none;
    }
}

@media(max-width: 767px) {
    #fullwidth-video {
        display: none;
    }
    .headerbg {
        background: url(images/slide.jpg) no-repeat center center;
        background-size: cover;
    }
    #myVideo {
      left: -50%;
    }
    .headerbg .content-carousel div {
        font-size: 34px;
        line-height: 40px;
    }
    .primera .imgnoticia, .segunda .imgnoticia, .tercera .imgnoticia {
        height: 280px;
    }
    .segunda .col1 {
        width: 100%;
        float: none;
    }
    .tercera .col1 {
        width: 100%;
        float: none;
    }
    .searchresponsive span {
        color: #333;
    }
}
@media(max-width: 498px) {
    #myVideo {
        left: -200%;
    }
    .imagenprincipalcar .bgimg {
        height: 320px;
    }
}

.mapapuntos iframe {
    width: 100% !important;
    height: 446px;
    border: none !important;
}
.instagram iframe {
    width: 100% !important;
    height: 200px;
    border: none !important;
    overflow: hidden;
}
.calculadora { 
    padding-top: 12px;
    padding-left: 30px;
    padding-right: 30px;
}
.resultgris {
    background: #f4f4f4;
    padding: 10px 12px;
    margin-bottom: 6px;
    color: #000;
}
.resultverde {
    background: var(--color-electric);
    padding: 10px 12px;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
}
.resultverde span, .resultgris span {
    float: right;
}
.calculadora .colizq {
    padding-right: 30px;
}
.calculadora .colder {
    padding-left: 30px;
    border-left: 3px solid #f4f4f4;
}
.nuevamarcamodelo {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media(max-width: 767px) {
    .calculadora {
        padding-left: 0;
        padding-right: 0;
    }
    .calculadora .colizq {
        padding-right: 15px;
    }
    .calculadora .colder {
        padding-left: 15px;
        border-left: none;
    }
}

.truncate {
    max-width: 130px;
}
.hiddendesktop {
    display: none;
}
.compartir {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    text-align: right;
    margin-bottom: 30px;
}
.compartir a {
    font-size: 22px;
    margin-left: 6px;
}
.compartir a .fa-facebook {
    font-size: 20px;
    color: #4867ab;
}
.compartir a .fa-twitter {
    color: #1b9beb;
}
.compartir a .fa-print {
    color: #555;
    margin-left: 20px;
}
.compartir a .fa-whatsapp {
    color: #01be24;
}
.compartir a .fa-file-pdf-o {
    color: #666;
    font-size: 20px;
}
.compartir a .fa-envelope-o {
    color: #555;
    font-size: 21px;
}

@media(max-width: 767px) {
    .truncate {
        max-width: 300px;
    }
    .hiddenresponsive {
        display: none;
    }
    .hiddendesktop {
        display: inline-block;
    }
}
@media(max-width: 498px) {
    .truncate {
        max-width: 200px;
    }
}

@media(min-width: 767px) {
    .page .navbar-default .navbar-nav li.pagedealer a {
        padding: 28px 15px;
    }
}

#DivIdToPrint {
    display: none;
}
.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    color: #333 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.dropdown-menu > li > a:hover {
    color: var(--color-electric) !important;
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:focus, 
.navbar-default .navbar-nav > .open > a:hover {
    background-color: transparent !important;
}
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.podcast-responsive iframe,
.podcast-responsive object,
.podcast-responsive embed {
    width: 100% !important;
    height: auto !important;
}

/* SECCIÓN DESTACADA */
.destacado-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    color: var(--color-deep);
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-electric);
    font-family: var(--font-display);
}

.destacado-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.destacado-item:hover {
    transform: translateY(-2px);
}

.destacado-link {
    display: flex;
    text-decoration: none;
    color: #333;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.destacado-image {
    width: 100px;
    height: 80px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.destacado-icon {
    width: 80px;
    height: 80px;
    background: var(--color-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.destacado-icon i {
    font-size: 2em;
    color: white;
}

.destacado-info {
    padding: 15px;
    flex-grow: 1;
}

.destacado-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-family: var(--font-display);
}

.destacado-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.destacado-desc {
    color: #7f8c8d;
    font-size: 0.9em;
    display: block;
}

.destacado-special .destacado-link {
    background: linear-gradient(135deg, var(--color-deep), var(--color-electric));
    color: white;
}

.destacado-special .destacado-info h4 {
    color: white;
}

.destacado-special .destacado-desc {
    color: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .destacado-image {
        width: 80px;
        height: 70px;
    }
    
    .destacado-icon {
        width: 70px;
        height: 70px;
    }
    
    .destacado-info {
        padding: 10px;
    }
    
    .destacado-info h4 {
        font-size: 1em;
    }
}

/* Informative section styles */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
}
.info-card {
    background: var(--color-light);
    border: 1px solid rgba(0,0,0,0.04);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.info-card .info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-electric);
    color: var(--color-light);
    font-size: 26px;
    margin-bottom: 12px;
    transition: background .18s ease, color .18s ease;
}
.info-card h3 {
    margin: 0 0 8px 0;
    color: var(--color-deep);
    font-size: 1.125rem;
    font-family: var(--font-display);
}
.info-card p {
    margin: 0;
    color: var(--color-black);
    line-height: 1.5;
}
.info-media img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 12px;
}
.info-card:hover, .info-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border-color: var(--color-electric);
}
.info-card:hover .info-icon {
    background: var(--color-deep);
    color: var(--color-light);
}
@media (min-width: 768px) {
    .info-grid { grid-template-columns: repeat(3, 1fr); }
}

/* News list modern card styles */
.news-list .news-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    background: var(--color-light);
    border: 1px solid rgba(0,0,0,0.03);
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.news-thumb .imgfull {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}
.news-body .titulonoticia {
    margin: 0 0 8px 0;
    color: var(--color-deep);
    font-family: var(--font-display);
}
.news-list .news-card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); border-color: var(--color-electric); }
.news-list .news-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.news-body .excerpt { color: var(--color-black); }
.news-list .news-card .boton { margin-top: 8px; }
@media (min-width: 768px) {
    .news-list .news-card { grid-template-columns: 360px 1fr; }
    .news-thumb .imgfull { height: 220px; }
}

/* ===== ESTILOS MODERNOS PARA EL HEADER ===== */

.custom-header {
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.home-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.inner-header {
    position: relative;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Top Bar */
.top-bar {
    background: var(--color-electric);
    color: #fff;
    padding: 6px 0 !important;
    font-size: 12px !important;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.top-social, .top-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px !important;
}

.top-bar a:hover {
    color: var(--color-cyan);
}

.top-social i {
    font-size: 16px;
}

/* Main Navigation */
.main-navigation {
    padding: 8px 0 !important;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

.header-sticky .logo-img {
    height: 32px !important;
}

/* Desktop Menu */
.desktop-menu {
    display: flex !important;
    align-items: center;
    gap: 4px !important;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 8px 12px !important;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px !important;
    white-space: nowrap;
    margin: 0 !important;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    font-family: var(--font-sans);
}

/* Homepage styles */
.home-header .nav-link,
.home-header .nav-dropdown-toggle {
    color: #fff !important;
    background: transparent;
}

.home-header .nav-link:hover,
.home-header .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--color-electric) !important;
    transform: none;
}

/* Inner pages styles */
.inner-header .nav-link,
.inner-header .nav-dropdown-toggle {
    color: #333;
    background: transparent;
}

.inner-header .nav-link:hover,
.inner-header .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--color-electric) !important;
    transform: none;
}

.nav-link-active {
    background: var(--color-electric) !important;
    color: #fff !important;
}

/* Botón de inventario */
.nav-link-inventario {
    background: var(--color-electric) !important;
    color: #fff !important;
    margin-left: 8px !important;
    padding: 8px 16px !important;
    font-weight: 700;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-link-inventario:hover {
    background: var(--color-deep) !important;
    color: #fff !important;
    transform: none;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 12px !important;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px !important;
    white-space: nowrap;
    margin: 0;
    font-family: var(--font-sans);
    line-height: 1.2;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
    border: none;
    font-family: var(--font-sans);
}

.nav-dropdown-link:hover {
    background: var(--color-electric) !important;
    color: #fff !important;
}

.nav-dropdown-link-active {
    background: var(--color-electric) !important;
    color: #fff !important;
}

/* Header sticky adjustments */
.header-sticky .nav-link,
.header-sticky .nav-dropdown-toggle {
    font-size: 13px !important;
    padding: 6px 10px !important;
}

.header-sticky .nav-link-inventario {
    padding: 6px 14px !important;
}

.header-sticky .nav-link:hover,
.header-sticky .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--color-electric) !important;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-electric);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.home-header .menu-icon-bar {
    background: #fff;
}

.home-header.header-sticky .menu-icon-bar {
    background: var(--color-electric);
}

.mobile-menu-button-active .menu-icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button-active .menu-icon-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button-active .menu-icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-menu-open {
    display: block;
}

.mobile-menu-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    padding: 10px 12px !important;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-sans);
}

.mobile-nav-link:hover {
    background: var(--color-electric) !important;
    color: #fff !important;
}

.mobile-nav-link-active {
    background: var(--color-electric) !important;
    color: #fff !important;
}

.mobile-nav-link-inventario {
    background: var(--color-electric) !important;
    color: #fff !important;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .desktop-menu {
        gap: 3px !important;
    }
    
    .nav-link,
    .nav-dropdown-toggle {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    
    .nav-link-inventario {
        padding: 6px 12px !important;
        margin-left: 6px !important;
    }
}

@media (max-width: 900px) {
    .desktop-menu {
        gap: 2px !important;
    }
    
    .nav-link,
    .nav-dropdown-toggle {
        padding: 6px 8px !important;
        font-size: 12px !important;
    }
    
    .nav-link-inventario {
        padding: 6px 10px !important;
        margin-left: 4px !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .desktop-menu {
        display: none !important;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .main-navigation {
        padding: 10px 0 !important;
    }
    
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        padding: 15px;
    }
    
    .mobile-nav-link {
        padding: 10px 12px !important;
        font-size: 14px;
    }
    
    .logo-img {
        height: 30px;
    }
}

/* Asegurar que el contenido no quede detrás del header */
body.page.sintop {
    padding-top: 80px;
}

.header-sticky + * {
    margin-top: 80px;
}

/* Eliminar transformaciones problemáticas */
.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link-inventario:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Override de estilos conflictivos */
.navbar-default .navbar-nav li a {
    padding: 6px 10px !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-family: var(--font-sans);
}

.navbar-default .navbar-nav li {
    margin-right: 0 !important;
}

/* Asegurar visibilidad */
.nav-link-inventario,
a[href*="vehiculos.php"].nav-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.desktop-menu > * {
    display: flex !important;
    visibility: visible !important;
}

/* ===== ESTILOS PARA HERO SECTION ===== */

.hero-video-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 39, 77, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 80px;
}

.hero-content-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(0);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 40px;
    line-height: 1.1;
}

.hero-line-1,
.hero-line-2,
.hero-line-3 {
    display: block;
    margin-bottom: 8px;
}

.hero-line-1 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.hero-line-2 {
    font-size: 4rem;
    font-weight: 700;
    margin: 5px 0;
}

.hero-line-3 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: var(--color-electric);
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    border-radius: 2px;
}

.hero-cta-container {
    margin-top: 50px;
    position: relative;
}

.hero-cta {
    font-size: 18px !important;
    padding: 18px 45px !important;
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-mid) 100%) !important;
    border: 2px solid transparent !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3) !important;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover {
    background: linear-gradient(135deg, var(--color-mid) 0%, var(--color-electric) 100%) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(0, 74, 173, 0.4) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover .cta-icon {
    transform: translateX(5px);
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Efectos de animación suave */
.hero-content-wrapper {
    animation: fadeInUp 1s ease-out;
}

.hero-cta-container {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes específicos para el menú sticky */
.home header {
    background: transparent !important;
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.home header.sticky {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Design Mejorado */
@media (max-width: 1200px) {
    .hero-line-1,
    .hero-line-3 {
        font-size: 2.8rem;
    }
    
    .hero-line-2 {
        font-size: 3.4rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 60px;
    }
    
    .hero-content-wrapper {
        padding: 0 15px;
    }
    
    .hero-title {
        margin-bottom: 30px;
    }
    
    .hero-line-1,
    .hero-line-3 {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
    }
    
    .hero-line-2 {
        font-size: 2.6rem;
        margin: 8px 0;
    }
    
    .hero-cta-container {
        margin-top: 35px;
    }
    
    .hero-cta {
        font-size: 16px !important;
        padding: 16px 35px !important;
    }
    
    .hero-highlight::after {
        bottom: -3px;
        height: 2px;
    }
    
    .home header {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        margin-top: 50px;
        padding: 0 15px;
    }
    
    .hero-content-wrapper {
        padding: 0 10px;
    }
    
    .hero-line-1,
    .hero-line-3 {
        font-size: 1.8rem;
    }
    
    .hero-line-2 {
        font-size: 2.1rem;
    }
    
    .hero-cta {
        font-size: 15px !important;
        padding: 14px 30px !important;
        gap: 8px;
    }
    
    .hero-title {
        margin-bottom: 25px;
    }
    
    .hero-cta-container {
        margin-top: 30px;
    }
    
    .home header {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        margin-top: 40px;
    }
    
    .hero-line-1,
    .hero-line-3 {
        font-size: 1.6rem;
    }
    
    .hero-line-2 {
        font-size: 1.9rem;
    }
    
    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        display: inline;
        margin-bottom: 0;
    }
    
    .hero-line-1::after,
    .hero-line-2::after {
        content: ' ';
        display: block;
        height: 4px;
    }
    
    .hero-highlight::after {
        display: none;
    }
}

/* ===== ESTILOS PARA SECCIÓN DE BÚSQUEDA ===== */

.search-section {
    background: white;
    padding: 80px 0;
    position: relative;
}

.search-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.search-title {
    color: var(--color-deep);
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
    font-family: var(--font-display);
}

.search-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    border-radius: 2px;
}

.search-form {
    background: var(--color-light);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,74,173,0.1);
}

.modern-search-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 10px;
}

.modern-search-form .form-group {
    text-align: left;
}

.modern-search-form .full-width {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.modern-search-form label {
    display: block;
    margin-bottom: 12px;
    color: var(--color-deep);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-display);
}

.modern-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8f4ff;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    color: var(--color-deep);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23004AAD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.modern-select:focus {
    outline: none;
    border-color: var(--color-electric);
    box-shadow: 0 0 0 3px rgba(0,74,173,0.1);
}

/* Sliders modernos */
.slider-group {
    position: relative;
}

.slider-container {
    position: relative;
    height: 60px;
    margin: 15px 0 10px 0;
}

.slider-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-grey);
    font-weight: 500;
}

.slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 3;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--color-electric);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,74,173,0.3);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,74,173,0.4);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--color-electric);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,74,173,0.3);
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    z-index: 1;
}

.slider-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.selected-range {
    margin-top: 15px;
    text-align: center;
}

.range-display {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-electric);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,74,173,0.2);
}

/* Botón de búsqueda moderno */
.btn-search-modern {
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-mid) 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0,74,173,0.3);
    position: relative;
    overflow: hidden;
}

.btn-search-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-search-modern:hover {
    background: linear-gradient(135deg, var(--color-mid) 0%, var(--color-electric) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,74,173,0.4);
}

.btn-search-modern:hover::before {
    left: 100%;
}

.btn-search-modern:active {
    transform: translateY(-1px);
}

/* Responsive para búsqueda */
@media (max-width: 768px) {
    .search-section {
        padding: 60px 0;
    }
    
    .search-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .search-form {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    .modern-search-form .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .btn-search-modern {
        padding: 16px 35px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
    
    .slider-container {
        height: 50px;
    }
    
    .slider::-webkit-slider-thumb {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .search-section {
        padding: 40px 0;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
    
    .search-form {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .modern-search-form .form-row {
        gap: 20px;
    }
    
    .modern-select {
        padding: 12px 16px;
    }
    
    .btn-search-modern {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .range-display {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Animaciones para la sección de búsqueda */
.search-container {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== CORRECCIÓN HOVER HOMEPAGE - AZUL EN LUGAR DE BLANCO ===== */

/* Homepage - hovers deben ser azules */
.home-header .nav-link:hover,
.home-header .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--color-electric) !important;
    transform: none;
}

/* Homepage - enlaces activos */
.home-header .nav-link-active {
    background: var(--color-electric) !important;
    color: #fff !important;
}

/* Homepage - dropdown hover */
.home-header .nav-dropdown-link:hover {
    background: var(--color-electric) !important;
    color: #fff !important;
}

/* Homepage - botón de inventario */
.home-header .nav-link-inventario {
    background: var(--color-electric) !important;
    color: #fff !important;
}

.home-header .nav-link-inventario:hover {
    background: var(--color-deep) !important;
    color: #fff !important;
}

/* Homepage - cuando está sticky, los enlaces deben ser oscuros */
.home-header.header-sticky .nav-link,
.home-header.header-sticky .nav-dropdown-toggle {
    color: #333 !important;
}

.home-header.header-sticky .nav-link:hover,
.home-header.header-sticky .nav-dropdown-toggle:hover {
    color: var(--color-electric) !important;
}

/* Homepage - botón de inventario en sticky */
.home-header.header-sticky .nav-link-inventario {
    background: var(--color-electric) !important;
    color: #fff !important;
}

.home-header.header-sticky .nav-link-inventario:hover {
    background: var(--color-deep) !important;
    color: #fff !important;
}

/* Corrección específica para homepage usando body class */
body.home .home-header .nav-link:hover,
body.home .home-header .nav-dropdown-toggle:hover {
    background: transparent !important;
    color: var(--color-electric) !important;
}

body.home .home-header .nav-link,
body.home .home-header .nav-dropdown-toggle {
    color: #fff !important;
}

/* Cuando el header se hace sticky en homepage */
body.home .home-header.header-sticky .nav-link,
body.home .home-header.header-sticky .nav-dropdown-toggle {
    color: #333 !important;
}

body.home .home-header.header-sticky .nav-link:hover,
body.home .home-header.header-sticky .nav-dropdown-toggle:hover {
    color: var(--color-electric) !important;
}

/* EN style.css - ELIMINAR ESTILOS CONFLICTIVOS */

/* Eliminar estos estilos problemáticos si existen */
.header-sticky .logo-img {
    /* Eliminar cualquier height diferente */
}

.header-sticky .nav-link,
.header-sticky .nav-dropdown-toggle {
    /* Eliminar cualquier font-size o padding diferente */
}

.header-sticky .nav-link-inventario {
    /* Eliminar cualquier padding diferente */
}

.header-sticky .main-navigation {
    /* Eliminar cualquier padding diferente */
}

/* Asegurar que el header sticky no cambie tamaños */
.home header.sticky,
.page.contop header.sticky {
    height: auto !important;
}

.home header.sticky .navbar-brand img,
.page.contop header.sticky .navbar-brand img {
    height: 45px !important; /* Tamaño consistente */
}

/* ===== MEJORAS RESPONSIVE GENERALES ===== */

/* Desktop grande */
@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-title-modern {
        font-size: 3rem !important;
    }
    
    .section-title-modern {
        font-size: 2.2rem !important;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .vehicles-grid-modern {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero section mobile */
    .hero-modern-section {
        min-height: 80vh !important;
    }
    
    .hero-content-modern {
        padding: 100px 0 60px !important;
    }
    
    .hero-title-modern {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-line-modern {
        display: block !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px !important;
        padding: 0 20px;
    }
    
    .btn-hero-primary, 
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 25px !important;
        margin: 0 auto;
    }
    
    /* Grid adjustments */
    .categories-grid-modern,
    .benefits-grid,
    .vehicles-grid-modern,
    .news-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .highlight-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .evergo-section-modern {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Form adjustments */
    .search-form-modern {
        padding: 30px 20px !important;
        margin: 0 10px;
        border-radius: 16px !important;
    }
    
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Text sizes mobile */
    .section-title-modern {
        font-size: 1.8rem !important;
        padding: 0 10px;
    }
    
    .section-subtitle-modern {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }
    
    /* Card adjustments */
    .category-card-modern,
    .benefit-card,
    .vehicle-card-modern,
    .news-card-modern {
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Section spacing mobile */
    .search-modern-section,
    .categories-modern-section,
    .benefits-modern-section,
    .featured-vehicles-modern,
    .highlight-modern-section,
    .charging-modern-section,
    .news-modern-section,
    .instagram-modern-section {
        padding: 60px 0 !important;
    }
    
    /* Header mobile */
    .home header, 
    .page.contop header {
        padding: 0 15px;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    /* Benefits grid responsive */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    /* Highlight grid responsive */
    .highlight-link-modern {
        flex-direction: column;
    }
    
    .highlight-image-modern {
        width: 100% !important;
        height: 150px !important;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-modern-section {
        min-height: 70vh !important;
    }
    
    .hero-title-modern {
        font-size: 1.8rem !important;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    
    .section-title-modern {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle-modern {
        font-size: 1rem !important;
    }
    
    /* Button adjustments */
    .btn-modern-primary,
    .btn-modern-secondary,
    .btn-evergo-primary,
    .btn-evergo-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px !important;
        margin: 0 auto;
    }
    
    /* Evergo stats */
    .evergo-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    /* Search form mobile */
    .search-form-modern {
        padding: 25px 15px !important;
        margin: 0 5px;
    }
    
    /* Category cards mobile */
    .category-card-modern {
        padding: 25px 20px !important;
    }
    
    /* Benefits grid mobile */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title-modern {
        font-size: 1.6rem !important;
    }
    
    .hero-content-modern {
        padding: 80px 0 40px !important;
    }
    
    .search-form-modern {
        padding: 20px 12px !important;
    }
    
    .category-card-modern,
    .benefit-card,
    .vehicle-card-modern {
        padding: 20px 15px !important;
    }
    
    /* Asegurar que las imágenes no desborden */
    .ficha-image-modern img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .news-image-modern {
        height: 200px !important;
    }
    
    .highlight-image-modern {
        width: 100% !important;
        height: 120px !important;
    }
}

/* ===== CORRECCIONES ESPECÍFICAS PARA ELEMENTOS ===== */

/* Asegurar que los videos sean responsive */
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mejoras para iframes */
.evergo-map iframe,
.instagram-modern iframe {
    width: 100%;
    min-height: 300px;
    border-radius: 12px !important;
}

/* Prevenir desbordamiento de texto */
.hero-title-modern,
.section-title-modern,
.ficha-title,
.news-title-modern {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Touch improvements para móviles */
@media (max-width: 768px) {
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-modern-primary,
    .btn-modern-secondary,
    .ficha-btn-modern,
    .category-link-modern {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Mejorar espaciado táctil */
    .nav-link,
    .category-link-modern,
    .news-link-modern {
        padding: 10px 15px;
    }
}

/* Prevenir zoom en inputs en iOS */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px;
    }
}

/* Loading optimizado para mobile */
@media (max-width: 768px) {
    .hero-video-bg video {
        display: block;
    }
}

/* ===== ESTILOS ELÉCTRICOS ULTRA MODERNOS ===== */

/* Variables adicionales para efectos */
:root {
    --electric-glow: 0 0 20px rgba(0, 74, 173, 0.3);
    --electric-glow-strong: 0 0 30px rgba(0, 74, 173, 0.5);
    --electric-glow-cyan: 0 0 25px rgba(0, 174, 239, 0.4);
    --neon-border: 1px solid rgba(0, 174, 239, 0.3);
    --gradient-electric: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    --gradient-deep: linear-gradient(135deg, var(--color-deep) 0%, var(--color-electric) 100%);
    --gradient-cyan: linear-gradient(135deg, var(--color-cyan) 0%, #00D4FF 100%);
}

/* Fondo eléctrico general */
.bg-electric-light {
    background: linear-gradient(135deg, var(--color-light) 0%, #f0f8ff 100%);
    min-height: 100vh;
}

/* Contenedor principal eléctrico */
.electric-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header eléctrico con efectos */
.electric-header {
    position: relative;
    height: 300px;
    margin-bottom: 60px;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.electric-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-deep);
}

.electric-gradient-1 {
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,174,239,0.2) 0%, transparent 70%);
    animation: electricPulse 8s infinite alternate;
}

.electric-gradient-2 {
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,74,173,0.15) 0%, transparent 70%);
    animation: electricPulse 12s infinite alternate-reverse;
}

.electric-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.electric-header-text {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.electric-main-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1;
    margin: 0;
    background: linear-gradient(to right, #fff 30%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.electric-title-line {
    display: block;
}

.electric-subtitle {
    margin: 20px 0 30px;
}

.electric-subtitle-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.electric-header-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.electric-badge-icon {
    color: var(--color-cyan);
    animation: electricBeat 2s infinite;
}

/* Main grid layout */
.electric-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

.electric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    align-content: start;
}

/* Tarjeta principal destacada */
.electric-card-large {
    grid-column: 1 / -1;
    position: relative;
}

.electric-card-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-electric);
    border-radius: 25px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s ease;
    z-index: 1;
}

.electric-card-large:hover .electric-card-glow {
    opacity: 0.3;
}

.electric-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-electric), var(--color-cyan)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.electric-card-large:hover .electric-card-border {
    opacity: 1;
}

.electric-card-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.electric-card-large:hover .electric-card-content {
    transform: translateY(-5px);
}

.electric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.electric-date-badge {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    min-width: 60px;
}

.electric-date-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cyan);
}

.electric-date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.electric-card-tag {
    background: var(--color-cyan);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,174,239,0.3);
}

.electric-card-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.electric-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,39,77,0.8) 100%);
    z-index: 1;
}

.electric-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.electric-card-link:hover .electric-main-image {
    transform: scale(1.05);
}

.electric-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.electric-card-link:hover .electric-image-overlay {
    transform: translateY(0);
}

.electric-overlay-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.electric-overlay-icon {
    color: var(--color-cyan);
    font-size: 16px;
}

.electric-card-body {
    padding: 30px;
}

.electric-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.electric-card-category {
    background: var(--gradient-electric);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.electric-card-time {
    color: var(--color-grey);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.electric-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-deep);
}

.electric-title-link {
    text-decoration: none;
    background: linear-gradient(to right, var(--color-deep) 0%, var(--color-electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.electric-title-link:hover {
    background: linear-gradient(to right, var(--color-electric) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.electric-card-excerpt {
    color: var(--color-grey);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.electric-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.electric-action-button {
    background: var(--gradient-electric);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,74,173,0.3);
}

.electric-action-button:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,74,173,0.4);
}

.electric-button-icon {
    background: rgba(255,255,255,0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.electric-action-button:hover .electric-button-icon {
    transform: translateX(5px);
}

.electric-social-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.electric-share-label {
    color: var(--color-grey);
    font-size: 14px;
}

.electric-social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-deep);
    text-decoration: none;
    transition: all 0.3s ease;
}

.electric-social-icon:hover {
    background: var(--color-electric);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,74,173,0.3);
}

/* Tarjetas de noticias regulares */
.electric-news-card {
    position: relative;
}

.electric-news-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-electric);
    border-radius: 15px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.electric-news-card:hover .electric-news-glow {
    opacity: 0.2;
}

.electric-news-content {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.electric-news-card:hover .electric-news-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.electric-card-highlight .electric-news-content {
    border-top: 3px solid var(--color-electric);
}

.electric-news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    position: relative;
    z-index: 2;
}

.electric-news-date {
    background: var(--color-deep);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.electric-news-day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.electric-news-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-cyan);
}

.electric-news-tag {
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.electric-news-image-link {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.electric-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.electric-news-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,39,77,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 24px;
}

.electric-news-image-link:hover .electric-news-hover {
    opacity: 1;
}

.electric-news-image-link:hover img {
    transform: scale(1.1);
}

.electric-news-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.electric-news-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--color-deep);
}

.electric-news-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.electric-news-title-link:hover {
    color: var(--color-electric);
}

.electric-news-excerpt {
    color: var(--color-grey);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.electric-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.electric-read-more {
    color: var(--color-electric);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.electric-read-more:hover {
    color: var(--color-cyan);
    gap: 12px;
}

.electric-read-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.electric-read-more:hover .electric-read-icon {
    transform: translateX(5px);
}

.electric-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.electric-news-time {
    color: var(--color-grey);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Banners eléctricos */
.electric-banner-main {
    grid-column: 1 / -1;
    margin: 20px 0;
}

.electric-banner-link {
    display: block;
    text-decoration: none;
}

.electric-banner-content {
    background: white;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.electric-banner-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--color-electric), var(--color-cyan));
    border-radius: 20px;
    opacity: 0.05;
    filter: blur(20px);
    z-index: 1;
}

.electric-banner-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.electric-banner-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.electric-banner-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.electric-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,39,77,0.8), transparent);
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.electric-banner-content:hover .electric-banner-overlay {
    opacity: 1;
}

.electric-banner-text {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.electric-banner-side {
    grid-column: 1 / -1;
}

.electric-banner-side-content {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.electric-banner-side-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.electric-banner-side-label {
    color: var(--color-electric);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.electric-banner-side-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.electric-banner-side-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,39,77,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.electric-banner-side-content:hover .electric-banner-side-hover {
    opacity: 1;
}

/* Sidebar eléctrico */
.electric-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.electric-widget {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.electric-widget-header {
    background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-electric) 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.electric-widget-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.electric-widget-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    position: relative;
    z-index: 2;
}

.electric-widget-icon {
    font-size: 20px;
    color: var(--color-cyan);
}

.electric-widget-title h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.electric-widget-content {
    padding: 20px;
}

/* Widget de tendencias */
.electric-trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.electric-trending-item:last-child {
    border-bottom: none;
}

.electric-trending-item:hover {
    background: var(--color-light);
    margin: 0 -20px;
    padding: 15px 20px;
    border-radius: 8px;
}

.electric-trending-rank {
    position: relative;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.electric-rank-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-electric);
    border-radius: 10px;
    opacity: 0.1;
}

.electric-rank-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-deep);
    position: relative;
    z-index: 2;
}

.electric-trending-content {
    flex-grow: 1;
}

.electric-trending-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-deep);
    margin-bottom: 5px;
}

.electric-trending-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.electric-trending-date {
    color: var(--color-grey);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.electric-trending-arrow {
    color: var(--color-electric);
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.electric-trending-item:hover .electric-trending-arrow {
    opacity: 1;
}

/* Widget de categorías */
.electric-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.electric-category {
    background: var(--color-light);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.electric-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cat-color);
    transition: width 0.3s ease;
}

.electric-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.electric-category:hover::before {
    width: 100%;
    opacity: 0.1;
}

.electric-category-icon {
    width: 35px;
    height: 35px;
    background: var(--cat-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.electric-category:hover .electric-category-icon {
    transform: scale(1.1);
}

.electric-category-name {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-deep);
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.electric-category-count {
    background: white;
    color: var(--cat-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.electric-category:hover .electric-category-count {
    background: var(--cat-color);
    color: white;
}

/* Widget de newsletter */
.electric-widget-newsletter {
    position: relative;
    overflow: hidden;
}

.electric-newsletter-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,174,239,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: electricRotate 20s linear infinite;
}

.electric-newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0,174,239,0.3);
}

.electric-newsletter-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-deep);
    margin-bottom: 10px;
}

.electric-newsletter-desc {
    text-align: center;
    color: var(--color-grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.electric-newsletter-form {
    position: relative;
    z-index: 2;
}

.electric-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.electric-form-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid var(--color-light);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-deep);
    transition: all 0.3s ease;
    background: white;
}

.electric-form-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(0,174,239,0.1);
}

.electric-form-button {
    background: var(--gradient-cyan);
    color: white;
    border: none;
    border-radius: 10px;
    width: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.electric-form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,174,239,0.3);
}

.electric-form-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-grey);
    font-size: 12px;
    justify-content: center;
}

.electric-form-info i {
    color: var(--color-cyan);
}

/* Paginación eléctrica */
.electric-pagination {
    margin: 50px 0;
}

.electric-pagination-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.electric-pagination-nav {
    position: relative;
}

.electric-pagination-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(0,74,173,0.05), rgba(0,174,239,0.05));
    border-radius: 20px;
    filter: blur(20px);
    z-index: 1;
}

.electric-pagination-info {
    margin-bottom: 20px;
    text-align: center;
}

.electric-pagination-stats {
    display: inline-block;
    background: var(--color-light);
    padding: 8px 20px;
    border-radius: 50px;
}

.electric-stats-text {
    color: var(--color-deep);
    font-weight: 600;
    font-size: 14px;
}

/* Paginación existente - estilos mejorados */
.paginacion {
    position: relative;
    z-index: 2;
}

.paginacion a, 
.paginacion span {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.paginacion a {
    background: white;
    color: var(--color-deep);
    border-color: var(--color-light);
}

.paginacion a:hover {
    background: var(--gradient-electric);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,74,173,0.3);
}

.paginacion span.current {
    background: var(--gradient-electric);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0,74,173,0.2);
}

/* Animaciones eléctricas */
@keyframes electricPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

@keyframes electricBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes electricRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1200px) {
    .electric-main {
        grid-template-columns: 1fr;
    }
    
    .electric-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .electric-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 992px) {
    .electric-main-title {
        font-size: 4rem;
    }
    
    .electric-header {
        height: 250px;
    }
    
    .electric-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .electric-container {
        padding: 0 15px;
    }
    
    .electric-main-title {
        font-size: 3rem;
    }
    
    .electric-header {
        height: 200px;
        margin-bottom: 40px;
    }
    
    .electric-subtitle-text {
        font-size: 1rem;
    }
    
    .electric-card-image {
        height: 300px;
    }
    
    .electric-card-title {
        font-size: 1.6rem;
    }
    
    .electric-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .electric-social-preview {
        width: 100%;
        justify-content: flex-start;
    }
    
    .electric-categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .electric-main-title {
        font-size: 2.5rem;
    }
    
    .electric-header {
        height: 180px;
    }
    
    .electric-header-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .electric-grid {
        grid-template-columns: 1fr;
    }
    
    .electric-card-image {
        height: 250px;
    }
    
    .electric-card-body {
        padding: 20px;
    }
    
    .electric-card-title {
        font-size: 1.4rem;
    }
    
    .electric-pagination-container {
        padding: 20px;
    }
    
    .paginacion a, 
    .paginacion span {
        padding: 8px 14px;
        margin: 0 3px;
        font-size: 14px;
    }
}

/* ===== PAGINACIÓN ELÉCTRICA FUNCIONAL ===== */

.electric-pagination {
    margin: 60px 0 40px;
    position: relative;
}

.electric-pagination-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(0, 74, 173, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.electric-pagination-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-electric) 0%, 
        var(--color-cyan) 50%, 
        var(--color-electric) 100%);
    border-radius: 3px 3px 0 0;
}

.electric-pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 15px;
}

.electric-pagination-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--color-light);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.electric-stats-icon {
    color: var(--color-electric);
    font-size: 18px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.1);
}

.electric-stats-text {
    color: var(--color-deep);
    font-weight: 500;
    font-size: 14px;
}

.electric-stats-highlight {
    color: var(--color-electric);
    font-weight: 700;
    background: rgba(0, 74, 173, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    margin: 0 3px;
}

.electric-pagination-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-electric) 100%);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 74, 173, 0.2);
}

.electric-meta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.electric-meta-current {
    background: white;
    color: var(--color-deep);
    min-width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.electric-meta-divider {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.electric-meta-total {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.electric-pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.electric-pagination-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(0, 174, 239, 0.05) 0%, 
        transparent 50%);
    z-index: -1;
    opacity: 0.5;
}

.electric-pagination-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-deep);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 74, 173, 0.1);
    min-width: 130px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.electric-pagination-btn:hover:not(.electric-pagination-disabled) {
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-mid) 100%);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.electric-pagination-btn:hover:not(.electric-pagination-disabled) .electric-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.electric-pagination-btn:hover:not(.electric-pagination-disabled) .electric-btn-text {
    color: white;
}

.electric-pagination-prev {
    justify-content: flex-start;
}

.electric-pagination-next {
    justify-content: flex-end;
}

.electric-pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.electric-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-electric);
    transition: all 0.3s ease;
}

.electric-btn-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-deep);
    transition: color 0.3s ease;
}

.electric-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
}

.electric-pagination-number {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-deep);
    background: white;
    border: 2px solid rgba(0, 74, 173, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.electric-pagination-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.electric-pagination-number span {
    position: relative;
    z-index: 2;
}

.electric-pagination-number:hover:not(.electric-pagination-active) {
    transform: translateY(-3px);
    border-color: var(--color-electric);
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.2);
}

.electric-pagination-number:hover:not(.electric-pagination-active)::before {
    opacity: 1;
}

.electric-pagination-number:hover:not(.electric-pagination-active) span {
    color: white;
}

.electric-pagination-active {
    background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 
        0 6px 20px rgba(0, 74, 173, 0.3),
        0 0 0 3px rgba(0, 74, 173, 0.1);
    transform: scale(1.1);
}

.electric-pagination-active span {
    color: white;
}

.electric-pagination-dots {
    color: var(--color-grey);
    font-weight: 700;
    font-size: 14px;
    padding: 0 5px;
    user-select: none;
}

/* Efectos de carga para paginación */
@keyframes paginationPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 74, 173, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0); }
}

.electric-pagination-active {
    animation: paginationPulse 2s infinite;
}

/* Responsive para paginación */
@media (max-width: 992px) {
    .electric-pagination-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .electric-pagination-stats,
    .electric-pagination-meta {
        justify-content: center;
    }
    
    .electric-pagination-nav {
        flex-wrap: wrap;
    }
    
    .electric-pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .electric-pagination-btn {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .electric-pagination-container {
        padding: 20px;
    }
    
    .electric-pagination-numbers {
        gap: 5px;
    }
    
    .electric-pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .electric-pagination-btn {
        padding: 10px 20px;
        min-width: 110px;
        font-size: 13px;
    }
    
    .electric-stats-text {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .electric-pagination-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .electric-pagination-btn {
        width: 100%;
        justify-content: center;
        order: 1;
    }
    
    .electric-pagination-next {
        order: 2;
    }
    
    .electric-pagination-numbers {
        order: 3;
        margin-top: 15px;
    }
    
    .electric-pagination-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .electric-pagination-dots {
        font-size: 12px;
    }
}

/* Eliminar la paginación antigua del CSS si existe */
.paginacion {
    display: none !important;
}

/* ===== CLASES UTILITARIAS ADICIONALES PARA INTER ===== */

.font-inter {
    font-family: 'Inter', sans-serif !important;
}

.font-weight-400 { font-weight: 400 !important; }
.font-weight-500 { font-weight: 500 !important; }
.font-weight-600 { font-weight: 600 !important; }
.font-weight-700 { font-weight: 700 !important; }
.font-weight-800 { font-weight: 800 !important; }

.text-large { 
    font-size: 18px !important; 
    line-height: 1.6 !important;
}

.text-regular { 
    font-size: 16px !important; 
    line-height: 1.6 !important;
}

.text-small { 
    font-size: 14px !important; 
    line-height: 1.5 !important;
}

/* ===== RESPONSIVE PARA TIPOGRAFÍA ===== */

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 22px;
        line-height: 1.4;
    }
    
    h4 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .body-large {
        font-size: 16px;
    }
    
    .body-regular {
        font-size: 15px;
    }
    
    .body-small {
        font-size: 13px;
    }
    
    .electric-main-title {
        font-size: 3rem;
    }
    
    .hero-title .hero-line-1,
    .hero-title .hero-line-3 {
        font-size: 2.2rem;
    }
    
    .hero-title .hero-line-2 {
        font-size: 2.6rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .body-large {
        font-size: 15px;
    }
    
    .body-regular {
        font-size: 14px;
    }
    
    .body-small {
        font-size: 13px;
    }
    
    .electric-main-title {
        font-size: 2.5rem;
    }
    
    .hero-title .hero-line-1,
    .hero-title .hero-line-3 {
        font-size: 1.8rem;
    }
    
    .hero-title .hero-line-2 {
        font-size: 2.1rem;
    }
}