html {
    background-color: #d4d4d4;
}

body {
    font-family: Arial, sans-serif;
    margin: 25px;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    background: url(../img/bg_gemelos.webp) no-repeat right center fixed;
    background-size: contain;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin:0px;
}

h1 {
    color: #333333;
    font-size: 40px;
    line-height: 45px;
    font-weight: 700;
    margin: 15px 0px 0px 0px;
    padding:15px 25px;
}

.contenedor {
    width: 100%;
    height: auto;
    min-height: 92dvh;
}

#contain_form {
    padding: 25px;
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content: start;
    align-items: start ;
}

h2 {
    color: #C31515;
    font-size: 35px;
    line-height: 40px;
    font-weight: 500;
    margin-top: 5px;
}

h4 {
    color: #C31515;
    font-size: 20px;
    margin: 0px 0px 5px 0px;
    font-weight: 600;
}

p {
    font-size: 18px;
    line-height: 25px;
    color: #333333;
}

label {
    color: #333333;
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    display: block;
    margin-top: 10px;
}

#multiStepForm {
    width: 50%;
    max-width: 700px;
}


.step {
    display: none;
}

.step.active {
    display: block;
}

.buttons {
    margin-top: 20px;
    text-align: right;
}

button {
    background-color: #333333;
    color: white;
    padding: 5px 30px;
    font-size: 17px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.result {
    width: 45%;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.65);
    margin: 0 auto;
    border-radius: 15px;
}

input[type="text"], input[type="number"] {
    padding: 5px;
    width: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 2px 4px 10px 0px rgba(0,0,0,0.29);
    -webkit-box-shadow: 2px 4px 10px 0px rgba(0,0,0,0.29);
    -moz-box-shadow: 2px 4px 10px 0px rgba(0,0,0,0.29);
    max-width: 700px;
}

footer {
    width: 100%;
    height: auto;
    padding:15px;
    background-color: #fff;
}

footer .logo {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: auto;
    display: block;
}


.modal-overlay {
    display: block; /* ya está visible al cargar */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 100px auto;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 1000;
}

.modal-video iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media screen and (max-width: 600px) {
    .modal-video iframe {
    height: 250px;
    }
}