@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --color-tr-primario: #f8ea23;
    --color-tr-secundario: #2f3130;
}
html {
    scroll-behavior: smooth; 
}
body{
    font-family: "Poppins", sans-serif;
    padding-top: 50px;
}
.color-primario{
    color: var(--color-tr-primario);
}
.color-secundario{
    color: var(--color-tr-secundario);
}


.top-bar {
    background-color: #3c3c3c;
    height: 30px;
}

/* --- Barra de Navegación --- */
.navbar {
    background-color: #b3b4b3;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: #fff !important;
}

/* Espacio para el logo en la barra de navegación */
.navbar-brand .logo-placeholder {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ccc;
    margin-right: 10px;
    vertical-align: middle;
    /* Aquí puedes poner tu imagen de logo como background-image */
}

.nav-link {
    color: #1c1c1c !important;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 15px;
}

.nav-link:hover {
    color: var(--color-tr-primario) !important; /* Color amarillo al pasar el mouse */
}

/* --- Sección Hero --- */
.hero-section {
    margin-top: -170px;
    position: relative;
    padding: 12rem 0;
    color: white;
    background: url(../images/web/fondo-banner-inicial.png) no-repeat bottom center;
    background-size: cover;
    min-height: 104vmin;
}

/* Overlay oscuro para mejorar la legibilidad del texto */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 8rem;
}
.logonav{
    width: 170px;
}
.hero-content .logo-placeholder-hero {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: #fff;
    margin-right: 20px;
    float: left;
    /* Placeholder para el logo grande */
}

.hero-title {
    font-weight: 900;
    font-size: 3.5rem;
    display: inline-block;
}

.hero-subtitle {
    background-color: transparent;
    color: white;
    font-weight: 400;
    padding: 0;
    display: inline-block;
    font-size: 1.2rem;
    margin: 10px 0 0px 0;
}
.logodvb img{
    width: 390px;
}
.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.btn-custom-yellow {
    background-color: var(--color-tr-primario);
    color: #212121;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-custom-yellow:hover {
    background-color: var(--color-tr-primario);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Sección de Características --- */
.features-section-wrapper {
    position: absolute;
    bottom: -115px;
    left: 0;
    width: 100%;
}

.features-container {
    background-color: #2f3130;
    border-radius: 160px;
    padding: 25px 4em 15px 4em;
    margin-top: -80px;
    position: relative;
    z-index: 3;
    border-top: 12px solid var(--color-tr-primario);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-item {
    color: #fff;
    text-align: center;
}

.feature-icon {
    /* width: 70px; */
    /* height: 70px; */
    /* background-color: #424242; */
    /* border-radius: 50%; */
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fdd835;
}
.feature-icon img{
    width: 70px;
}
.feature-item h3 {
    font-weight: 400;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.feature-item p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* --- Sección de Marcas --- */
.brands-section {
    padding: 260px 0 20px 0;
    background-color: #e0e0e0;
    background-image: url(../images/web/fondo-marcas.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.section-title {
    font-weight: 900;
    font-size: 2rem;
    color: #212121;
    text-transform: uppercase;
}

.btn-small-yellow {
    background-color: #fdd835;
    color: #212121;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-small-yellow:hover {
    background-color: #fbc02d;
    color: #212121;
    text-decoration: none;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas en escritorio */
    gap: 1.5rem;
}

.brand-logo-item {
    background-color: transparent;
    padding: 0.5rem 1.2rem;
    /* border-radius: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-item:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 25px rgba(0,0,0,0.1); */
}

.brand-logo-item img {
    max-width: 100%;
    height: auto;
}

/* --- Sección de Cotizaciones --- */
.quotes-section {
    padding-top: 5rem;
    background-color: #e0e0e0;
    background-image: url(../images/web/fondo-cotizaciones.png);
}

.form-area-background {
    padding: 4rem 0 5rem 0;
    background-color: #4a4a4a;
    background-image: url(../images/web/fondo-cotizaciones.png);
    background-size: contain;
    background-repeat: repeat;
}
.backformc {
    padding-top: 7rem;
    background-color: transparent;
    background-image: url(../images/web/fondo-form-cotizaciones.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 6rem;
    width: 90%;
    margin: 0 5% 0 5%;
}
/* Esta es la mancha amarilla. Es mejor implementarla como una imagen de fondo. */
.quotes-form-wrapper {
    background-color: transparent;
    /* background-image: url(tu-imagen-de-mancha-amarilla.svg); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 4rem 1rem;
    text-align: center;
    color: #212121;
}

.quotes-form-wrapper h3 {
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.quotes-section .form-control {
    border-radius: 2px;
    border: 1px solid #212121;
    background-color: #fff;
    padding: 1.5rem 1rem;
    font-weight: 700;
}

.quotes-section .form-control::placeholder {
    color: #212121;
    font-weight: 700;
}

.quotes-section .form-control:focus {
    box-shadow: none;
    border-color: #000;
}

.quotes-section .form-check-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
}

.quotes-section .form-check-input {
    margin-top: 0.4rem;
}

.btn-black {
    background-color: #212121;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 60px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-black:hover {
    background-color: #000;
    color: #fdd835;
}

/* --- Sección Síguenos --- */
.social-section {
    padding-top: 5rem;
    background-color: #b3b4b3;
    /* background-image: url(../images/web/fondo-redes.png); */
}
.social-content-wrapper {
    padding: 5rem 0;
    background-color: #424242;
    background-image: url(../images/web/fondo-redes.png);
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.social-title {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 3px 3px #212121;
}
.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-icon-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon-item:hover img {
    transform: scale(1.1);
}

.contact-info-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-info-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-info-text {
    text-align: left;
}

.contact-icon-placeholder img {
    width: 140px;
}

.contact-help-text {
    font-weight: 900;
    color: var(--color-tr-primario);
    font-size: 2.5rem;
    margin-bottom: 0;
    text-shadow: 3px 3px #212121;
}

.contact-phone {
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 3px 3px #212121;
}

.contact-email {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 3px 3px #212121;
}


/* --- Nuevo Footer --- */
.new-footer {
    background-color: #b3b4b3;
    padding: 6rem 0 0 0;
    font-size: 0.9rem;
    color: #212121;
}

.footer-splash-content {
    background-image: url(../images/web/fondo-footer.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10rem 0 8rem 0;
    width: 94%;
    margin: 0 3% -47px 3%;
}
.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fleyend{
    font-size: 11px;
    margin: 5px 0 0 0;
    font-weight: 700;
}
.footer-logo {
    max-width: 100%;
    width: 230px;
}

.footer-description {
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 100%;
}

.footer-columns h5 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-columns .list-unstyled li,
.footer-columns address {
    line-height: 1.6;
    font-size: 0.85rem;
}

.footer-columns address {
    margin-bottom: 0;
    font-style: normal;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.payment-methods img {
    height: 34px;
    padding-right: 12px;
}

.payment-methods-icons {
    display: flex;
    gap: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}
.payment-methods-icons div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.payment-methods-icons img {
    height: 30px;
}

/* --- Copyright Bar --- */
.copyright-bar {
    background-color: #212121;
    color: #bdbdbd;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}
.navbar-toggler {
    border-color: rgb(248, 234, 35) !important;
    margin: 0 15px 0 0px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(248,234,35, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
 }

/* --- Estilos para Móviles (Adaptable) --- */
@media (max-width: 1100px) {
    .backformc {
        background-size: cover;
    }
}
@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columnas en tablets */
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0px;
    }
    .logonav {
        margin: 0 0 0 25px;
    }
    .hero-section {
        margin-top: 0;
        min-height: 100vmin;
    }
    .brands-section {
        padding: 60px 0 20px 0;
    }
    .features-section-wrapper {
        position: relative;
        bottom: 0;
        margin-top: 40px;
    }
    .features-container {
        margin-top: 0px;
    }
    .hero-section {
        padding: 6rem 0;
        text-align: center;
    }

    .hero-content .logo-placeholder-hero {
        float: none;
        margin: 0 auto 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-container {
        border-radius: 40px;
        padding: 2rem 1rem;
    }

    .feature-item {
        margin-bottom: 2rem;
    }

    .feature-item:last-child {
        margin-bottom: 0;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets pequeñas */
    }
    .section-title {
        font-size: 1.5rem;
    }

    .quotes-form-wrapper h3 {
        font-size: 1.2rem;
    }

    .quotes-form-wrapper {
        padding: 3rem 2rem;
    }
    .social-title {
        font-size: 1.8rem;
    }

    .contact-phone {
        font-size: 2.5rem;
    }

    .contact-help-text {
        font-size: 1.5rem;
    }
    .footer-splash-content {
        padding: 2rem;
    }
    .footer-columns .col-md-4 {
        margin-bottom: 2rem;
    }
     .footer-columns .col-md-4:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
        gap: 1rem;
    }
    .brand-logo-item {
        padding: 1rem;
    }
    .quotes-form-wrapper {
        padding: 2.5rem 1.5rem;
    }
    .quotes-section .form-group.col-md-6 {
        margin-bottom: 1rem;
    }
    .form-row > .col-md-6:last-child {
        margin-bottom: 0;
    }
    .social-title {
        font-size: 1.5rem;
    }

    .social-icons-container {
        gap: 1rem;
    }
    
    .social-icon-item img {
        width: 60px;
        height: 60px;
    }

    .contact-info-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-info-text {
        text-align: center;
    }

    .contact-phone {
        font-size: 1.8rem;
    }
    
    .contact-email {
        font-size: 1rem;
    }
    .footer-description {
        font-size: 0.9rem;
    }
    .new-footer {
        padding: 3rem 0;
    }
     .footer-splash-content {
        text-align: center;
    }
    .footer-columns {
        text-align: center;
    }
    .payment-methods, .payment-methods-icons {
        justify-content: center;
    }
}