* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Fira Sans", sans-serif;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo-section {
    width: 60%;
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    left: -10%;
}

.logo-letra-c {
    width: 480px;
    max-width: 100%;
    user-select: none;
}

.logo-bolita {
    position: absolute;
    /* width: 330px; */
    top: 57%;
    right: -30%;
    transform: translateY(-50%);
    max-width: 65%;
    user-select: none;
}

.form-section {
    width: 40%;
    padding: 40px 0px;
}

.description {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-title {
    color: #00A75D;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-input {
    margin-bottom: 15px;
    border: 1px solid #999C9D;
    font-size: 13px;
    padding: 13px 10px;
}

.form-input::placeholder {
    color: #999C9D;
}

.form-input:focus {
    border: 2px solid #00A75D;
    outline: none;
}

textarea.form-input {
    min-height: 100px;
    resize: none;
}

.select-input {
    margin-bottom: 15px;
    border: 1px solid #999C9D;
    background-color: white;
    color: hsl(195, 2%, 61%);
    display: flex;
    position: relative;
    align-items: center;
    padding: 7px 10px;
}

.select-input-label {
    font-size: 13px;
    width: 50%;
}

.dropdown-container {
    width: 50%;
    position: relative;
}

.dropdown-header {
    background-color: #D9D9D9;
    color: #697A80;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    position: relative;
    font-weight: 400;
}

.dropdown-header.active {
    background-color: #93a3ab;
    color: #ffff00;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: -1px;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-container.active .dropdown-options {
    display: block;
}

.option-item {
    padding: 5px;
    cursor: pointer;
    text-align: center;
    color: #666;
    background-color: #D9D9D9;
    margin: 5px 0;
    border-radius: 5px;
    font-weight: 400;
    font-size: 12px;
}

.option-item:hover {
    background-color: #e5e5e5;
}

.option-item.active {
    background-color: #93a3ab;
    color: #ffff00;
}

/* .option-item.highlighted {
    background-color: #93a3ab;
    color: #ffff00;
} */

.submit-btn,
.modal-btn {
    padding: 12px 30px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.submit-btn:hover,
.modal-btn:hover {
    background-color: #00A75D;
}

.submit-btn:active,
.modal-btn:active {
    background-color: #00A75D;
}

.footer {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.footer-group {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #444;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background-color: #34393B;
}

.footer-logo {
    width: 100px;
    position: relative;
    top: -5px;
}

.input-error {
    border: 2px solid #EF776E !important;
}

/* Loader general */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Oculto por defecto */
.hidden {
    display: none;
}

/* Spinner circular */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #00A75D;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

body.modal-open {
    overflow: hidden;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 50px 20px;
    border-radius: 10px;
    width: 40%;
    text-align: center;
    position: relative;
}

.modal-gracias {
    width: 45%;
    margin-left: -15%;
}

.modal-message {
    font-size: 16px;
    margin-bottom: 20px;
    color: #7B7B7B;
}

.modal-bolita {
    width: 20%;
    position: absolute;
    top: 15%;
    margin-left: -1.5%;
    margin-top: 2%;
}

.modal-btn {
    margin: auto;
    margin-top: 30px;
    display: block;
}

.modal-ventana {
    width: 30%;
    display: block;
    margin: auto;
    margin-top: 30px;
}


/* Estilos para dispositivos móviles */
@media (max-width: 768px) {

    .container {
        flex-direction: column;
        padding: 30px;
    }

    .logo-section,
    .form-section {
        width: 100%;
        padding: 20px 10px;
        justify-content: center;
    }

    .logo {
        width: 200px;
    }

    .logo-bolita {
        max-width: 75%;
        right: -40%;
    }

    .select-input-label {
        display: none;
    }

    .dropdown-container {
        width: 100%;
    }

    textarea.form-input {
        min-height: 140px;
    }

    .footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: start;
        flex-wrap: wrap;
    }

    .footer-group {
        justify-content: space-between;
    }

    .footer-text {
        font-size: 11px;
    }

    .footer-logo {
        width: 90px;
    }

    .modal-content {
        width: 90%;
        margin-top: 50%;
    }

    .modal-gracias {
        width: 50%;
    }

    .modal-message {
        font-size: 16px;
    }

    .modal-bolita {
        margin-left: -1.5%;
        margin-top: 5%;
    }

    .modal-ventana {
        width: 50%;
    }
}