
.sc-modal-backdrop.sc-modal-backdrop--open {
    opacity: 1;
    pointer-events: auto;
}

/* MODAL RESPONSIVE CENTRADO Y SCROLLEABLE */

.sc-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.35);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
}

/* Cuando se abre */
.sc-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* MODAL */
.sc-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 92%;
    max-width: 600px;

    /* LIMITE DE ALTURA REAL */
    max-height: 80vh;

    /* SCROLL INTERNO (oculto) */
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */

    position: relative;
    padding: 2rem;
}

/* OCULTAR SCROLLBAR EN CHROME/SAFARI */
.sc-modal::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* BOTÓN DE CIERRE */
.sc-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.sc-modal-close:hover {
    opacity: 1;
}

.sc-modal-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.sc-modal-intro {
    font-size: 0.94rem;
    color: #4b5563;
    margin-bottom: 0.9rem;
}

.sc-modal-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}


.sc-modal-note {
    font-size: 0.8rem;
    color: #6b7280;
}

.sc-modal-contact-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    font-size: 0.85rem;
}

.sc-modal-contact-card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0.8rem 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.sc-modal-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e0ebff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.sc-modal-contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4b5563;
    margin-bottom: 0.15rem;
}

.sc-modal-contact-link {
    font-size: 0.9rem;
    font-weight: 600;
}

.sc-modal-contact-text {
    font-size: 0.86rem;
    color: #4b5563;
}

.sc-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #4b5563;
}

/* === FIELDS === */

.sc-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sc-field label {
    font-size: 0.82rem;
    color: #4b5563;
}

.sc-field input,
.sc-field textarea {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    outline: none;
    background: #f9fafb;
}

.sc-field input:focus,
.sc-field textarea:focus {
    border-color: #4f8df6;
    background: #ffffff;
}


/* ESPACIADO INTERNO RESPONSIVE */
@media (max-width: 480px) {
    .sc-modal {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
}

@media (max-width: 960px) {

    .sc-modal-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .sc-modal {
        padding-inline: 1.4rem;
    }

    .sc-modal-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

}