:root {
    --primary: #fdb10b;
    --dark: #212123;
    --light: #f4f4f4;
    --text: #ffffff;
    --accent: #212123;
}

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background-color: #fdb10b;
    border-radius: 8px;
    border: 2px solid #f1f1f1;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #fdb10b #212123;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1rem;
    background-color: var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo a{
    color: #fdb10b;             /* Color base del texto */
    text-decoration: none;        /* Quitar subrayado si lo deseas */
    transition: color 0.3s ease;  /* Animación suave */

}

nav a {
    margin-left: 2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/*-----------------------------------------------------------------*/
/* CONTENEDOR DEL DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    color: (--text);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropbtn:hover {
    color: #fdb10b;
}

/* ESTILO DE SUBMENÚ */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #212123;
    backdrop-filter: blur(6px);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    animation: dropdownFade 0.25s ease-out;
    z-index: 100;
}

@keyframes dropdownFade {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ITEMS DEL SUBMENÚ */
.dropdown-content a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: (--text);
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
    background-color: #212123;
}

.dropdown-content a:hover {
    background-color: #414144;
    color: #ffffff;
    border-left: 3px solid #fdb10b;
}

/* ACTIVACIÓN AL HOVER */
.dropdown:hover .dropdown-content {
    display: block;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        backdrop-filter: none;
        background-color: #212123;
        border-radius: 0;
        padding: 0;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
    }

    .dropdown-content a {
        padding-left: 1rem;
        border-left: none;
    }
}

/* BOTÓN HAMBURGUESA */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    color: var(--primary);
    border: none;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
        .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--accent);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem 0;
        border-bottom: 1px solid #333;
    }

    .nav-links.show {
        display: flex;
    }
}

.contact-info {
    text-align: center;
    color: #ffffff;

    border-radius: 10px;
}

.contact-info a {
    color: #fdb10b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
}

.social-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer {
    background-color: #212123;
    color: #999;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
}

.footer-bottom a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fdb10f;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col p, .footer-col a {
    color: white;
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: left;
}

.footer-col a:hover {
    color: #fdb10b;
}

.footer-col.direccion {
    margin-right: 6rem;
}

.social-links a {
    margin-right: 0.75rem;
    font-size: 1.2rem;
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    border-top: 1px solid #2f3b3f;
    padding-top: 1rem;
}



.footer-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    padding: 0.5rem 0;
    font-weight: bold;
}

.footer-content {
  display: block; /* visible por defecto en escritorio */
}

@media (max-width: 1000px) {
    .footer-toggle {
        cursor: pointer;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        align-items: center
    }

    .footer-col.direccion {
        margin-right: 0;
    }

    .footer-content {
        display: none;
    }

    .footer-col.active .footer-content {
        display: block;
    }

    .footer-toggle {
        text-align: center;
        width: 100%;
    }

    .footer-col {
    flex: 0 1 auto;
    padding-bottom: 1rem;
    }
}


/* HERO para soluciones */
.soluciones-hero {
    background: linear-gradient(to right, #1e1e1e, #2e2e2e);
    color: #fdb10b;
    text-align: center;
    padding: 3em 1em;
}

.soluciones-hero p {
    color: #ffffff;
}

.titulo-grande {
    font-size: 2.5rem; /* más grande */
    font-weight: bold;
}

.titulo-normal {
    font-size: 1.5rem; /* más pequeño */
    font-weight: normal;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
    font-size: 2rem;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
}

/* Reset y base */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    margin: 0;
    background-color: #e5e7e9; /* Fondo gris claro */
    color: #2e2e2e; /* Texto gris oscuro */
    letter-spacing: 0.2px;
}


/* Tipografía jerárquica */
h2, h3 {
    font-weight: 400;
    line-height: 1.2;
    color: #212123; /* Títulos en gris muy oscuro */
}


h2 {
    border-left: 4px solid #aaa; /* Línea sutil en el título */
    padding-left: 0.5em;
    margin-bottom: 1em;
    margin-top: 1em;
}

h3 {
    border-left: 4px solid #aaa; /* Línea sutil en el título */
    padding-left: 0.5em;
    margin-bottom: 1em;
    margin-top: 1em;
}

/* Estilo de las listas */
ul, ol {
    list-style-type: none; /* Eliminar los puntos por defecto */
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    background-color: #f9f9f9; /* Fondo claro para cada ítem */
    border-left: 5px solid #fdb10b; /* Línea azul a la izquierda */
    padding: 0.75em 1.5em;
    margin-bottom: 0.75em;
    border-radius: 8px;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

ul li::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('media/icono_carro.png');
    background-size: cover;
    margin-right: 0.5em;
}

ol li::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('media/icono_camioneta.png');
    background-size: cover;
    margin-right: 0.5em;
}


/* SECCIONES */
.section {
    padding: 3em 1em;
    background-color: #fafafa; /* Fondo gris muy claro */
}

.section.img {
    padding: 1em;
    background-color: #fafafa; /* Fondo gris muy claro */
}

.section img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.2s ease-out;
}


.section.light {
    background-color: #ebebeb; /* Alternativa para secciones claras */
}

/* GRID DE TARJETAS */
.grid {
    display: grid;
    gap: 1.5em;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 1.5em;
}

/* TARJETAS CON ANIMACIÓN */
.card {
    background: #f0f0f0; /* Fondo gris claro para tarjetas */
    padding: 1.5em;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    border: 1px solid #d6d6d6;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #e6e6e6; /* Fondo más oscuro al hacer hover */
}


.button {
    --black: #000000;
    --ch-black: #141414;
    --eer-black: #1b1b1b;
    --night-rider: #2e2e2e;
    --white: #ffffff;
    --af-white: #f3f3f3;
    --ch-white: #e1e1e1;
    position: relative;
    padding: 24px 64px;
    border-radius: 5px;
    color: var(--night-rider);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0px;
    background-color: var(--white);
    border: solid 1px var(--ch-white);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
}




.button .button-text {
    position: relative;
    z-index: 2;
}

.button .fill-container {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    padding-bottom: 100%;
    transform: translateY(-50%) rotate(180deg);
}

.button .fill-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--af-white);
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(-100%);
}

.button:hover {
    transform: translateY(-4px);
    color: var(--black);
}

.button:hover .fill-container {
    transform: translateY(-50%) rotate(0);
}

.button:hover .fill-container::after {
    transform: translateY(0);
}


/* BOTONES / CTA */
.cta {

color: #666;
text-align: center;
padding: 3em 1em;
}

.cta h2 {
font-size: 1.8rem;
margin-bottom: 1em;
text-transform: uppercase;
letter-spacing: 1px;
color: #666;
}

.cta p {
font-weight: 300;
font-size: 1.1rem;
opacity: 0.8;
color: #666;
}


/* RESPONSIVO */
@media (min-width: 768px) {
.hero, .section, .cta {
    padding-left: 4em;
    padding-right: 4em;
}
}

.videos-section {
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}




.instrucciones-copy {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f0f0f0;
    border-left: 3px solid #fdb10b;
    border-radius: 12px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.instrucciones-copy h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.pasos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.paso {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.paso .numero {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fdb10b;
    min-width: 2rem;
}

.advertencia {
    background: #ffe5e5;
    border-left: 4px solid red;
    padding: 0.75rem;
    border-radius: 8px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.tag-item {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    height: 350px;
}
.tag-item img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    height: 50%;
}
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.benefit {
    background: #fff;
    padding: 1rem;
    border-left: 5px solid #fdb10b;
    border-radius: 6px;
}



.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.product-info .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.product-info .tag {
    background-color: #fdb10b;
    color: #111;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

.product-info a {
    display: inline-block;
    margin-top: 1rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.product-info a:hover {
    background: #333;
}

.nav {
    background: #fff;
    padding: 1rem;
    border-top: 2px solid #fdb10b;
    border-bottom: 2px solid #fdb10b;
    text-align: center;
}

.nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.nav a:hover {
    background-color: #fdb10b;
    color: #111;
}

.kit-section {
    background-color: #fff;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.kit-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.kit-content img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
}

.kit-description {
    flex: 1;
}

.tag {
    display: inline-block;
    background-color: #fdb10b;
    color: #111;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    margin: 0.25rem;
    min-width: 80px;
    text-align: center;
}

.hero.soluciones-hero.porton {
    background: url("img/fondo/f11.webp") no-repeat center /cover;
    color: #fdb10b;
    text-align: center;
    padding: 3em 1em;
    height: 50vh;

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