﻿@font-face {
    font-family: 'Inter_Regular';
    src: url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Whyte_Inktrap_Black';
    src: url('/fonts/WhyteInktrap-Black.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html, body {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html, body {
        scroll-behavior: smooth;
    }
}

body {
    font-family: 'Inter_Regular', Arial, sans-serif;
    background-color: black;
    margin: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    font-family: 'Whyte_Inktrap_Black';
    font-weight: bold;
}

h2 {
    font-family: 'Whyte_Inktrap_Black';
    font-weight: bold;
    color: #f73440;
    font-size: 40px;
    margin-bottom: 0;
    margin-top: -1em;
    letter-spacing: 6px;
}

h3 {
    font-family: 'Whyte_Inktrap_Black';
    font-weight: bold;
    color: #f73440;
    font-size: 28px;
    letter-spacing: 5px;
}


p {
    font-family: 'Inter_Regular';
}

.aviso-link {
    font-family: 'Inter_Regular';
    font-size: 12px;
    text-decoration: none;
    color: black;
    cursor: pointer;
    margin-left: 1em;
}

    .aviso-link:hover {
        color: #f73440;
        font-weight: bold;
    }

.tit-sub {
    margin-top: 0.5em;
    font-size: 14px;
}

.formulario {
    margin-top: 1em;
    max-width: 450px;
}

    .formulario div {
        margin-bottom: 10px;
    }

.mensaje {
    color: green;
    margin-bottom: 15px;
}

.caja-form {
    background-color: #f2f2f2;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    padding: 3em 0em 0.7em 0em;
    max-width: 1100px;
    margin-top: 4.5em;
}

.div-mitad-1 {
    width: 55%;
    text-align: center;
}

.div-mitad-2 {
    width: 45%;
    margin-top: 1.5em;
}

.logos-bajo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.logos-bajo2 {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
}

.log2-1 {
    max-width: 140px !important;
}

.log2-2 {
    max-width: 160px !important;
}

.log2-3 {
    max-width: 115px !important;
}

.logo-elektra-motos {
    position: fixed;
    left: 1em;
    top: 1em;
    max-width: 110px;
    width: 20%;
}

.logo-simm {
    position: absolute;
    right: 1em;
    top: 1em;
    max-width: 95px;
    width: 20%;
}

.logo-elektra-motos-b {
    display: none;
}

.logo-simm-b {
    display: none;
}

.img-moto {
    max-width: 100%;
    -webkit-mask-image: linear-gradient( to right, transparent 0%, black 5%, black 95%, transparent 100% );
    mask-image: linear-gradient( to right, transparent 0%, black 5%, black 95%, transparent 100% );
}

.txt-derechos {
    text-align-last: center;
    color: white;
    font-size: 12px;
}

.txtbox {
    font-family: 'Inter_Regular';
    width: 90%;
    height: 26px;
    border: none;
    border-bottom: 2px solid #f73440;
    background-color: transparent;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    font-size: 14px;
}

.logos-bajo img {
    max-width: 70px;
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.logos-bajo2 img {
    max-width: 70px;
    margin-right: 0.5em;
    margin-left: 0.5em;
    width: 100%;
}

.hidden-check {
    display: none;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

    .custom-check .checkmark {
        height: 14px;
        width: 14px;
        border: 2px solid #ccc;
        border-radius: 50%;
        display: inline-block;
        transition: all 0.3s ease;
    }

.hidden-check:checked + .checkmark {
    background-color: #f73440;
    border-color: #f73440;
}

.btn-imagen-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    margin-top: 0.5em;
}


    .btn-imagen-container:hover {
        transform: translateY(-3px);
        filter: brightness(1.1);
    }

.btn-imagen {
    background: none;
    border: none;
    padding: 0;
    display: inline-block;
}

    .btn-imagen img {
        width: 140px;
        height: auto;
        display: block;
        cursor: pointer;
    }

.btn-texto {
    font-family: 'Inter_Regular';
    position: absolute;
    top: 45%;
    right: 15%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: bold;
    color: white;
    pointer-events: none;
    letter-spacing: 1px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow-y: scroll;
    height: 450px;
}

    .modal-content p, .modal-content li {
        font-size: 12px;
    }

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.text-danger {
    color: #f73440;
    display: block;
    font-size: 10px;
}

.checks {
    margin-top: 1em;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.logos-medio {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: -1em;
    margin-bottom: 1em;
}

    .logos-medio img {
        max-width: 60px;
        margin-right: 0.35em;
        margin-left: 0.35em;
    }

.checks {
    display: flex;
    align-items: center;
}

.txt-derechos {
    margin-top: 2em;
}

.txt-agencia {
    font-family: 'Inter_Regular';
    font-size: 14px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

#AbrirAgenciaSi, #AbrirAgenciaNo {
    height: 18px;
    width: 18px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    justify-content: center;
    margin-left: 10px;
}

    .radio-group input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        border: 2px solid #888;
        border-radius: 50%;
        outline: none;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
    }

        .radio-group input[type="radio"]:checked {
            border-color: #f73440;
            background-color: #f73440;
        }

    .radio-group label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: 500;
        color: #333;
        gap: 8px;
    }

    .radio-group input[type="radio"]:hover {
        border-color: #f73440;
    }

.form-group {
    display: flex;
    align-items: center;
    margin-top: 1em;
}

#videoBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.overlay-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
    text-shadow: 0 0 10px black;
    width: 58%;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.5); /* 0.5 = oscuridad media, puedes subirlo */
    z-index: 0;
}

/* Asegura el orden correcto */
#videoBackground {
    z-index: -1;
}

.overlay-texto {
    z-index: 1;
}

.btn-texto2 {
    right: 8%;
}

.img-home-c {
    width: 40%;
    max-width: 250px;
}

.animado {
    font-size: 2rem; /* ajusta */
    margin-top: 0.5em;
    margin-bottom: 2em;
    letter-spacing: 2px;
}

.dots {
    display: inline-block;
    margin-left: 6px;
}

    .dots span {
        display: inline-block;
        opacity: 0;
        transform: translateY(-4px);
        animation: dotsFade 1.2s infinite;
        /* ajuste visual */
        font-weight: bold;
        line-height: 1;
    }

        .dots span:nth-child(1) {
            animation-delay: 0s;
        }

        .dots span:nth-child(2) {
            animation-delay: 0.15s;
        }

        .dots span:nth-child(3) {
            animation-delay: 0.30s;
        }

@keyframes dotsFade {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    40% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        opacity: 0.25;
        transform: translateY(2px);
    }

    100% {
        opacity: 0;
        transform: translateY(4px);
    }
}

h1.animado {
    line-height: 1.3em;
    display: inline-block;
}

@media (max-width: 1560px) {
    .log2-1 {
        max-width: 120px !important;
    }

    .log2-2 {
        max-width: 140px !important;
    }

    .log2-3 {
        max-width: 100px !important;
    }
}

@media (max-width: 1200px) {
    .caja-form {
        max-width: 700px;
    }

    h2 {
        font-size: 24px;
    }

    .tit-sub {
        font-size: 9.5px;
    }

    .txtbox {
        font-size: 11px;
    }

    .formulario {
        max-width: 400px;
    }

    .form-group {
        display: flex;
        align-items: flex-start;
        margin-top: 1em;
        flex-direction: column;
    }

    .radio-group {
        margin-top: 0px;
        margin-left: 0px;
    }

    .tit-sub-home {
        font-size: 11px;
    }
}

.tit-sub-home {
    width: 70%;
    margin: auto;
    margin-bottom: 1em;
}

@media (max-width: 1000px) {
    h2 {
        font-size: 19px;
    }

    .tit-sub {
        font-size: 8px;
    }

    .tit-sub-home {
        font-size: 11px;
    }
}


@media (max-width: 700px) {

    h2 {
        font-size: 36px;
    }

    .tit-sub {
        font-size: 12.6px;
    }

    .caja-form {
        flex-direction: column;
        position: relative;
        margin-top: 1.5em;
    }

    .div-mitad-1 {
        width: 100%;
    }

    .div-mitad-2 {
        width: 90%;
        text-align: center;
    }

    .logo-elektra-motos {
        display: none;
    }

    .logo-simm {
        display: none;
    }

    .logo-elektra-motos-b {
        display: block;
        position: absolute;
        left: 1em;
        top: 1em;
        max-width: 110px;
        width: 23%;
    }

    .logo-simm-b {
        display: block;
        position: absolute;
        right: 1em;
        top: 1em;
        max-width: 110px;
        width: 21%;
    }

    .logos-medio {
        display: flex;
    }

    .logos-bajo {
        display: none;
    }

    .checks {
        margin-left: 10%
    }

    .formulario {
        max-width: 420px;
        margin: auto;
    }

    .modal-content {
        width: 80%;
        height: 500px;
    }

    h3 {
        font-size: 20px;
    }

    .custom-check .checkmark {
        height: 18px;
        width: 18px;
    }

    .btn-imagen img {
        width: 170px;
    }

    .btn-texto {
        top: 45%;
        right: 18%;
        font-size: 15px;
    }

    .txt-derechos {
        margin-top: 1em;
    }

    .form-group {
        display: flex;
        align-items: center;
        margin-top: 1em;
        flex-direction: column;
    }

    .overlay-texto {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-60%);
        text-align: center;
        color: white;
        text-shadow: 0 0 10px black;
        width: 80%;
    }

    .img-home-c {
        width: 60%;
    }

    .btn-imagen-home img {
        width: 210px;
    }

    .btn-texto2 {
        right: 10%;
    }
}

@media (max-width: 580px) {
    .caja-form {
        flex-direction: column;
    }

    h2 {
        font-size: 28px;
        letter-spacing: 5px;
    }

    .tit-sub {
        font-size: 10.4px;
    }

    .div-mitad-1 {
        width: 100%;
    }

    .div-mitad-2 {
        width: 90%;
    }

    .formulario {
        max-width: 400px;
    }

    .custom-check .checkmark {
        height: 20px;
        width: 20px;
    }

    .animado {
        font-size: 1.4rem;
    }

    .tit-sub-home {
        font-size: 12px !important;
    }

    .btn-imagen-home img {
        width: 170px !important;
    }

    .btn-texto2 {
        right: 6% !important;
    }

    .logos-bajo2 {
        width: 95%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        position: absolute;
        margin-top: 0em;
        bottom: -40%;
        right: 2.5%;
        flex-wrap: wrap;
    }

        .logos-bajo2 a {
            width: 50%;
            margin-top: 2em;
        }

    .log2-1 {
        max-width: 105px !important;
    }

    .log2-2 {
        max-width: 120px !important;
    }

    .log2-3 {
        max-width: 90px !important;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 23px;
    }

    .tit-sub {
        font-size: 8.8px;
    }

    .formulario {
        max-width: 90%;
    }

    .btn-imagen img {
        width: 150px;
    }

    .btn-texto {
        top: 45%;
        right: 16%;
        font-size: 13px;
    }

    .txt-agencia {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .caja-form {
        flex-direction: column;
        width: 95%;
    }

    h2 {
        font-size: 20px;
    }

    .tit-sub {
        font-size: 8px;
    }

    .div-mitad-1 {
        width: 100%;
    }

    .div-mitad-2 {
        width: 90%;
    }

    .custom-check .checkmark {
        height: 18px;
        width: 18px;
    }
}

@media (max-width: 350px) {
    .caja-form {
        flex-direction: column;
    }

    h2 {
        font-size: 18px;
    }

    .tit-sub {
        font-size: 7.8px;
    }

    .div-mitad-1 {
        width: 100%;
    }

    .div-mitad-2 {
        width: 90%;
    }

    .formulario {
        max-width: 100%;
    }
}

@media (max-width: 300px) {
    .caja-form {
        flex-direction: column;
    }

    h2 {
        font-size: 16px;
    }

    .tit-sub {
        font-size: 6.8px;
    }

    .div-mitad-1 {
        width: 100%;
    }

    .div-mitad-2 {
        width: 90%;
    }
}
