/* ==========================================================================
   Reset y base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #fff;
}

/* ==========================================================================
   Banner
   ========================================================================== */
#banner {
    width: 100%;
    line-height: 0;
}

#banner picture {
    display: block;
    width: 100%;
}

#banner img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Fuentes personalizadas
   ========================================================================== */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Condensed.woff2') format('woff2'),
        url('../fonts/HelveticaNeue-Condensed.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-Regular.woff2') format('woff2'),
        url('../fonts/Agrandir-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-TextBold.woff2') format('woff2'),
        url('../fonts/Agrandir-TextBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeueBold.woff2') format('woff2'),
        url('../fonts/BebasNeueBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Contenedor principal
   ========================================================================== */
.container-soap {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 3%;
}

/* ==========================================================================
   Títulos
   ========================================================================== */
.titulo-secundario {
    text-align: center;
    color: #004990;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
}

/* ==========================================================================
   Formulario
   ========================================================================== */
.formulario-soap {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input {
	font-family: 'Helvetica Neue';
	font-weight: 700;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #004990;
    border-radius: 50px;
    font-size: 18px;
    color: #b7b7b7;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    border-color: #004990;
}

.form-group input.error {
    border-color: #e74c3c;
}

.form-group input.valid {
    border-color: #27ae60;
}

/* ==========================================================================
   Checkbox OncoControl
   ========================================================================== */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0;
    padding: 0 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #004990;
}

.checkbox-container label p {
    font-family: 'Agrandir', sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    cursor: pointer;
}

/* ==========================================================================
   Cards de vehículos
   ========================================================================== */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.card-vehiculo {
    background: #f7f7f7;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    width: 200px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-vehiculo:hover {
    border-color: #004990;
    box-shadow: 0 4px 15px rgba(0, 73, 144, 0.15);
}

.card-vehiculo img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.card-vehiculo .precio-soap {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 20px;
	font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.card-vehiculo .aporte {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 19px;
    color: #000000;
    margin-bottom: 5px;
}

.card-vehiculo .total {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 20px;
	font-weight: 600;
    color: #f5c300;
    margin-bottom: 15px;
	letter-spacing: 0.04em;
}

.btn-comprar {
    display: inline-block;
    background-color: #004990;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    padding: 9px 33px;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
	letter-spacing: 0.02em;
}

.btn-comprar:hover {
    background-color: #e0b000;
}

/* ==========================================================================
   Texto legal
   ========================================================================== */
.texto-legal p {
    font-size: 12px;
    font-family: 'Agrandir', sans-serif;
	line-height: 1.6;
    width: 91%;
    max-width: 990px;
    margin: 0 auto;
	padding: 0 30px 30px 30px;
    font-weight: 300;
    color: #000000;
	text-align: center;
}

.texto-legal a {
    color: #004990;
    text-decoration: none;
}

.texto-legal a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-soap {
    text-align: center;
    padding-bottom: 3%;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-logos img {
    height: auto;
    width: 17%;
}

.footer-texto {
    font-family: 'Agrandir', sans-serif;
    font-size: 13px;
    color: #000000;
	font-weight: 500;
}

.footer-texto span {
    color: #000000;
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.d-none {
    display: none !important;
}

/* ==========================================================================
   Modal de carga
   ========================================================================== */
.modalLoading {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('../images/ajaxLoaderBig.gif') 50% 50% no-repeat;
}

/* ==========================================================================
   Media Queries - 1000px (Tablet)
   ========================================================================== */
@media (max-width: 1000px) {
    .cards-container {
        gap: 15px;
    }
	
	.formulario-soap {
		max-width: 630px;
	}

    .card-vehiculo {
        width: 180px;
        padding: 20px 15px;
    }

    .titulo-secundario {
        font-size: 24px;
    }
}

/* ==========================================================================
   Media Queries - 768px (Tablet pequeña)
   ========================================================================== */
@media (max-width: 768px) {
    .cards-container {
        flex-wrap: wrap;
    }

    .card-vehiculo {
        width: calc(45% - 10px);
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }


    .titulo-secundario {
        font-size: 30px;
    }

    .footer-logos {
        flex-direction: row;
        gap: 20px;
    }
}

/* ==========================================================================
   Media Queries - 668px (Mobile)
   ========================================================================== */
@media (max-width: 668px) {
    .container-soap {
        padding: 20px 15px;
    }


    .titulo-secundario {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .form-group input {
        padding: 12px 18px;
        font-size: 14px;
    }

    .checkbox-container label {
        font-size: 11px;
    }

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

    .card-vehiculo {
        width: 100%;
        max-width: 280px;
    }

    .btn-comprar {
        width: 75%;
        padding: 11px;
    }

    .texto-legal {
        font-size: 11px;
    }

    .footer-logos img {
        width: 33%;
		height: auto;
    }

    .footer-texto {
        font-size: 10px;
    }
}