@font-face {
    font-family: "NissanRegular";
    src: url('../fonts/nissanbrand_regular.otf') format("truetype"),
}

@font-face {
    font-family: "NissanBold";
    src: url('../fonts/nissanbrand_bold.otf') format("truetype"),
}

.div-popup#loader {
    display: none;
}

.div-popup#OkResponse {
    display: none;
}

/* Por defecto mostramos la versión de escritorio */
#main-image1 {
    display: block;
}

#main-image2 {
    display: none;
}

/* Cuando sea móvil (ej: menos de 768px de ancho) */
@media (max-width: 768px) {
    #main-image1 {
        display: none;
    }

    #main-image2 {
        display: block;
    }
}

/* --- NAVBAR --- */

.container-fluid .navbar {
    width: 100%;
    max-width: 1440px !important;
    background-color: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    position: relative;
}

/* --- LOGO --- */
.logo img {
    height: 40px;
}

/* --- LINKS --- */
.nav-links ul {
    font-family: 'NissanRegular';
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bfbfbf;
}

/* --- ICONO MENÚ (versión móvil) --- */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    height: 3px;
    width: 22px;
    background: white;
    border-radius: 2px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-links {
        display: block;
    }

    .container-fluid .navbar {
        padding: 5px 10px;
    }


    .nav-links ul {
        padding: 0;
        margin: 0;
        gap: 25px;
    }

    .nav-links a {
        font-size: 12px;
    }

    /* .menu-icon {
        display: flex;
    } */
}



.container-fluid {
    padding: 0 !important;
    max-width: 1440px;
    background-color: #ececec;
}

.container-fluid .header img {
    width: 100%;
}

/* .container-fluid .header #main-image1 {
    display: block !important;
}

.container-fluid .header #main-image2 {
    display: none !important;
} */

.container-fluid .content {
    background: #fff;
    /* padding: 60px 15px 0; */
}

.category {
    text-align: left !important;
}

.container-fluid .content h1.title {
    width: 90%;
    max-width: 700px;
    font-family: 'NissanBold';
    flex-grow: 0;
    font-size: 38px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 40px;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin: auto;
    padding-top: 30px;
}


.container-fluid .content h4.mandatoryText,
.subtitle {
    margin-top: 10px;
    font-family: 'NissanRegular';
    font-size: 24px;
    max-width: 625px;
    margin: 15px auto;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #222;
}

.subtitle {
    font-size: 18px;
}

.container-fluid .content .my-form {
    margin: 60px auto;
    width: 90%;
    max-width: 900px;
}

.container-fluid .content .my-form .my-input {
    margin: 15px 0;
    border-radius: 0px;
}

.container-fluid .content .my-form .my-input input[type="text"],
.container-fluid .content .my-form .my-input input[type="email"],
.container-fluid .content .my-form .my-input input[type="number"],
.container-fluid .content .my-form .my-input select {
    font-family: "NissanRegular";
    font-size: 18px;
    line-height: 20px;
    width: 100%;
    height: 45px;
    gap: 10px;
    padding: 10px;
    border: none;
    border-bottom: solid #888888 1px;
}

.container-fluid .content .my-form .my-input input[type="number"] {
    -moz-appearance: textfield;
}

.container-fluid .content .my-form .my-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.container-fluid .content .my-form .my-input .form-control {
    border-radius: 5px;
    border: 1px solid #000000 !important;
}

.container-fluid .content .my-form .my-input input.error__input,
.container-fluid .content .my-form .my-input select.error__input {
    border: 1px solid red !important;
}

.container-fluid .content .my-form .my-input input::placeholder {
    font-family: "NissanRegular";
    font-size: 18px;
    line-height: 20px;
}

.container-fluid .content .my-form .my-input .file {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px dashed #222;
    position: relative;
    overflow: hidden;
}

.container-fluid .content .my-form .my-input .file>img {
    width: 28px;
    margin: auto;
}

.container-fluid .content .my-form .my-input .file h2 {
    width: 100%;
    flex-grow: 0;
    font-family: "NissanBold";
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin: 0 auto !important;
}

.container-fluid .content .my-form .my-input .file p {
    width: auto;
    flex-grow: 0;
    font-family: "NissanRegular";
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin: 0 auto;
}

.container-fluid .content .my-form .my-input .file input[type="file"] {
    width: 100%;
    position: absolute;
    top: -30px;
    left: 0;
    height: 150px;
}

.container-fluid .content .my-form .my-input .input-checkbox {
    display: block;
    flex-grow: 0;
    font-family: "NissanRegular";
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 24px;
    letter-spacing: normal;
    text-align: left;
    color: #555 !important;
    height: auto;
    position: relative;
    padding: 0 10px 0 30px;
}

.container-fluid .content .my-form .my-input .input-checkbox input[type="checkbox"] {
    display: flex;
    width: 18px !important;
    height: 18px;
    position: absolute;
    left: 0;
}

.my-checkbox {
    margin-left: 15px !important;
}

.container-fluid .content .my-form .my-input label {
    font-family: "NissanRegular";
    font-size: 12px;
    line-height: 14px;
    display: none;
    color: red;
    width: 100%;
    text-align: left;
    margin: 5px 0 0 0;
}

.container-fluid .content .my-form .my-input label.warning {
    display: block !important;
}

.container-fluid .content .my-form h1.title {
    width: 100%;
    font-size: 24px;
}

.container-fluid .content .my-form h4.subtitle {
    width: 100%;
    max-width: 600px;
    font-size: 16px;
    margin: auto;
}

.container-fluid .content .my-form .my-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.empleados-number {
    margin-top: 60px;
}

.segmento-inputs {
    margin: 10px 0 35px 18px !important;
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px; */
}

input[type="radio"] {
    height: 18px;
    width: 18px;
}

.inputs-option {
    display: inline-flex;
    align-items: center;
    font-family: "NissanRegular";
    font-size: 16px;
    width: 49%;
}

.text-radio {
    margin-left: 5px;
    width: 100%;
}

.my-input textarea {
    width: 100%;
    font-family: "NissanRegular";
    font-size: 16px;
    resize: none;
    border: 1px solid #e7e7e7;
    border-radius: 0;
}

.container-fluid .content .my-form .my-button button {
    width: 90%;
    max-width: 400px;
    background: #c3002f !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    font-family: "NissanBold" !important;
    border-radius: 9px !important;
    -webkit-border-radius: 9px !important;
    -moz-border-radius: 9px !important;
    border: none !important;
    color: #fff;
    transition: .8s;
}

.container-fluid .content .my-form .my-button button:disabled {
    background: #888 !important;
    border: none !important;
    color: white;
    cursor: not-allowed;
}

.container-fluid .content .my-form .my-button button:enabled:hover {
    background: #c3002f !important;
    border: none !important;
    color: white;
}

.footer .my-legal {
    width: 90%;
    margin: auto;
    font-family: "NissanRegular";
    font-size: 12px;
    line-height: 14px;
    padding-bottom: 30px;
}



.div-popup {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

.div-popup .popup-bg {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
}

.div-popup .popup-content {
    width: 90%;
    max-width: 712px;
    height: auto;
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    /* border: 2px solid #000; */
    background-color: #FFFFFF;
    padding: 30px;
    z-index: 1;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.div-popup .popup-content img {
    width: 250px;
    margin-bottom: 15px;
}

.div-popup .popup-content h1 {
    width: 100%;
    font-family: 'NissanBold';
    font-size: 38px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 30px;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin: auto;
}

.div-popup .popup-content p {
    width: 100%;
    font-family: 'NissanRegular';
    font-size: 24px;
    font-stretch: normal;
    font-style: normal;
    line-height: 30px;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    margin: auto;
}

.ButonClose {
    width: 310px;
    height: 61px;
    margin: 27px 162px 0 161px;
    padding: 13px 25px 13px 26px;
    border-radius: 7.2px;
    border: none;
    color: #fff;
    background-color: #c3002f;
}

@media (max-width: 780px) {
    .div-popup .popup-content img {
        width: 150px;
        margin-bottom: 15px;
    }

    .div-popup .popup-content h1 {
        width: 100%;
        font-family: 'NissanBold';
        font-size: 28px;

    }

    .div-popup .popup-content p {
        width: 100%;
        font-family: 'NissanRegular';
        font-size: 16px;
    }
}

@media (min-width: 278px) and (max-width: 378px) {
    .container-fluid {
        overflow: hidden;
    }

    .container-fluid .content {
        background: #fff;
        /* padding: 30px 15px 0; */
    }

    .container-fluid .content .my-form {
        margin: 30px 15px 0;
    }

    .container-fluid .content .my-form .my-input input::placeholder,
    .interesesTitle,
    .text-radio {
        font-size: 16px;
    }

    .container-fluid .content h1.title {
        font-size: 21px !important;
        line-height: 22px;
        padding-top: 20px;
    }

    .container-fluid .content h4.mandatoryText,
    .subtitle {
        font-size: 13px !important;
        line-height: 22px;
    }

    .last-part {
        width: 100%;
    }

    .privacy {
        font-size: 14px;
        line-height: 1.15;
    }

    .privacy a {
        word-break: break-all;
    }

    #captcha {
        scale: 0.73;
    }

    .inputs-option {
        display: block !important;
        width: 100% !important;
    }
}

@media (min-width: 378px) and (max-width: 478px) {
    .container-fluid .content h1.title {
        font-size: 20px !important;
        line-height: 22px;
    }

    .container-fluid .content {
        background: #fff;
        padding: 30px 15px 0;
    }

    .container-fluid .content .my-form {
        margin: 30px 15px 0;
    }

    .container-fluid .content .my-form .my-input input::placeholder,
    .interesesTitle,
    .text-radio {
        font-size: 16px;
    }

    .container-fluid .content h1.title {
        font-size: 21px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.mandatoryText,
    .subtitle {
        font-size: 13px !important;
        line-height: 22px;
    }

    .privacy,
    .auth_communications {
        font-size: 14px;
        line-height: 1.15;
    }

    .inputs-option {
        display: block !important;
        width: 100% !important;
    }
}

@media (min-width: 478px) and (max-width: 576px) {
    .container-fluid .header #main-image1 {
        display: none !important;
    }

    .container-fluid .header #main-image2 {
        display: block !important;
    }

    .container-fluid .content h1.title {
        font-size: 20px;
        line-height: 22px;
    }

    .container-fluid .content {
        background: #fff;
        padding: 30px 15px 0;
    }

    .container-fluid .content .my-form {
        margin: 30px 15px 0;
    }

    .container-fluid .content .my-form .my-input input::placeholder,
    .interesesTitle,
    .text-radio {
        font-size: 16px;
    }

    .container-fluid .content h1.title {
        font-size: 21px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.mandatoryText,
    .subtitle {
        font-size: 13px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.subtitle {
        font-size: 14px;
    }

    .container-fluid .content .my-form {
        margin: 40px auto;
    }

    .container-fluid .content .my-form .my-input .input-checkbox {
        font-size: 14px;
        line-height: 16px;
        padding-top: 4px;
    }

    .div-popup .popup-content h1 {
        font-size: 20px;
        line-height: 22px;
    }

    .inputs-option {
        display: block !important;
        width: 100% !important;
    }
}

@media (min-width: 675px) and (max-width: 767.98px) {
    .container-fluid .content h1.title {
        font-size: 24px;
        line-height: 26px;
    }

    .container-fluid .content h4.subtitle {
        font-size: 16px;
    }

    .container-fluid .content {
        background: #fff;
        padding: 30px 15px 0;
    }

    .container-fluid .content .my-form {
        margin: 30px 15px 0;
    }

    .container-fluid .content .my-form .my-input input::placeholder,
    .interesesTitle,
    .text-radio {
        font-size: 16px;
    }

    .container-fluid .content h1.title {
        font-size: 21px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.mandatoryText,
    .subtitle {
        font-size: 16px !important;
        line-height: 22px;
    }

    .container-fluid .content .my-form {
        margin: 40px auto;
    }

    .div-popup .popup-content h1 {
        font-size: 24px;
        line-height: 26px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid .content h1.title {
        font-size: 28px;
        line-height: 30px;
    }

    .container-fluid .content {
        background: #fff;
        padding: 30px 15px 0;
    }

    .container-fluid .content .my-form {
        margin: 30px 15px 0;
    }

    .container-fluid .content .my-form .my-input input::placeholder,
    .interesesTitle,
    .text-radio {
        font-size: 16px;
    }

    .container-fluid .content h1.title {
        font-size: 21px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.mandatoryText,
    .subtitle {
        font-size: 16px !important;
        line-height: 22px;
    }

    .container-fluid .content h4.subtitle {
        font-size: 16px;
    }

    .container-fluid .content .my-form {
        margin: 60px auto;
    }
}

input[type="text"] {
    border-radius: 0;
    font-size: 15px !important;
}

input[type="email"] {
    border-radius: 0;
    font-size: 15px !important;
}

input::placeholder {
    font-size: 11px;
    font-family: "NissanRegular";
}

.footer-superior {
    width: 100%;
    max-width: 1440px;
    background-color: #1a1a1a;
    color: #fff;
}

@media screen and (max-width:780px) {
    .footer-superior {
        display: none;
    }
}

.footer-superior .footer-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    padding: 30px 0px;
    justify-content: space-between;
}

.container-seccion {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 262px;
}

.footer-superior .footer-container a {
    color: #6a7168;
    font-size: 12px;
    text-decoration: none;
    font-family: 'NissanRegular';
}

.footer-superior .footer-container a:hover {
    text-decoration: underline;
}

.title-footer {
    font-family: 'NissanBold';
    font-size: 15px;
    text-transform: uppercase;
}

.Nissan-Social a {
    margin-right: 5px;
}

.footer {
    margin: 0;
    background-color: #000000;
    padding: 20px 10px;
    display: flex;
}

.footer .content-general {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width:780px) {
    .footer .content-general {
        display: contents;
    }
}

.footer .content-general .content-uno,
.content-dos {
    display: flex;
    flex-direction: row;
    width: 50%;
    align-items: center;
}

.footer {
    max-width: 1440px;
    width: 100%;
    margin: 0;
    background-color: #000000;
    padding: 20px 10px;
    display: flex;
}

.footer p {
    margin: 0;
    color: #ffffff;
    font-family: 'NissanRegular';
}

.container-seccion p {
    font-family: 'NissanRegular';
}

.footer a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    font-family: 'NissanRegular';
    margin-right: 20px;
}

.footer a:hover {
    text-decoration: underline;
}

/*Version Mobile*/

.footer-superior-mobile {
    display: none;
    background-color: #111;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
}

@media screen and (max-width:780px) {
    .footer-superior-mobile {
        display: block;
    }
}

.footer-container-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-seccion-mobile {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.accordion-mobile {
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.accordion-mobile:hover {
    color: #e60000;
    /* rojo Nissan */
}

.panel-mobile {
    display: none;
    flex-direction: column;
    padding: 0 15px;
    margin-top: 5px;
}

.panel-mobile a,
.panel-mobile p {
    color: #ccc;
    font-size: 14px;
    margin: 3px 0;
    text-decoration: none;
}

.panel-mobile a:hover {
    color: #fff;
}

.Nissan-Social-mobile {
    text-align: center;
    margin-top: 15px;
}

.Nissan-Social-mobile .social-icons-mobile {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.Nissan-Social-mobile img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.Nissan-Social-mobile img:hover {
    filter: brightness(1);
}