
/* ==========================================
   GOTAY - MODAL DE SOLICITUD
   ========================================== */

.gs-overlay,
.gs-overlay * {
    box-sizing: border-box;
}

.gs-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background: rgba(5, 16, 23, .82);
    backdrop-filter: blur(8px);
}

.gs-overlay.is-open {
    display: flex;
}

.gs-dialog {
    width: min(100%, 580px);
    max-height: min(90dvh, 850px);

    overflow-y: auto;
    overscroll-behavior: contain;

    border: 1px solid #38515F;
    border-radius: 22px;

    background: #172A35;
    color: #FFFFFF;

    box-shadow: 0 30px 90px rgba(0,0,0,.45);

    animation: gsEnter .3s ease;
}

@keyframes gsEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.gs-header {
    position: sticky;
    top: 0;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    gap: 15px;

    padding: 25px 28px 20px;

    background: #172A35;
    border-bottom: 1px solid #344B58;
}

.gs-eyebrow {
    color: #39C5ED;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gs-heading h2 {
    margin: 8px 0;
    color: #FFFFFF;
    font-size: 27px;
}

.gs-heading p {
    margin: 0;
    color: #B9CBD3;
    font-size: 13px;
    line-height: 1.5;
}

.gs-close {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;

    display: grid;
    place-items: center;

    border: 1px solid #405664;
    border-radius: 10px;

    background: #243B48;
    color: #FFFFFF;
    cursor: pointer;
}

.gs-close svg {
    width: 19px;
}

.gs-content {
    display: grid;
    gap: 23px;
    padding: 25px 28px 30px;
}

.gs-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.gs-field > label,
.gs-field > legend,
.gs-send-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.gs-field small {
    color: #A4A4A4;
    font-weight: 400;
}

.gs-step {
    display: inline-grid;
    place-items: center;

    width: 27px;
    height: 27px;
    flex: 0 0 27px;

    border-radius: 8px;
    background: rgba(243,110,34,.16);

    color: #FF985B;
    font-size: 11px;
    font-weight: 800;
}

.gs-input-icon {
    position: relative;
}

.gs-input-icon > svg {
    position: absolute;
    top: 50%;
    left: 15px;

    width: 19px;
    height: 19px;

    color: #39C5ED;
    transform: translateY(-50%);
    pointer-events: none;
}

.gs-input-icon input,
.gs-input-icon select,
.gs-field textarea {
    width: 100%;
    min-height: 49px;

    border: 1px solid #405766;
    border-radius: 11px;

    background: #213743;
    color: #FFFFFF;

    font: inherit;
    font-size: 14px;

    outline: none;
}

.gs-input-icon input,
.gs-input-icon select {
    padding: 12px 15px 12px 46px;
}

.gs-field textarea {
    display: block;
    min-height: 95px;
    padding: 14px;
    resize: vertical;
}

.gs-input-icon input::placeholder,
.gs-field textarea::placeholder {
    color: #A8BAC4;
}

.gs-input-icon input:focus,
.gs-input-icon select:focus,
.gs-field textarea:focus {
    border-color: #39C5ED;
    box-shadow: 0 0 0 3px rgba(57,197,237,.1);
}

.gs-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gs-option {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 53px;
    padding: 12px;

    border: 1px solid #405766;
    border-radius: 11px;

    background: #213743;
    color: #DCE7ED;

    font-size: 13px;
    cursor: pointer;
}

.gs-option:has(input:checked) {
    border-color: #F36E22;
    background: rgba(243,110,34,.12);
    color: #FFFFFF;
}

.gs-option input {
    accent-color: #F36E22;
}

.gs-option svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #39C5ED;
}

.gs-send-actions {
    display: grid;
    gap: 10px;
}

.gs-whatsapp,
.gs-email {
    width: 100%;
    min-height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px;

    border: 0;
    border-radius: 11px;

    font-size: 14px;
    font-weight: 800;
    cursor: pointer;

    transition: transform .2s, filter .2s;
}

.gs-whatsapp {
    background: #25D366;
    color: #073C20;
}

.gs-email {
    background: #F36E22;
    color: #FFFFFF;
}

.gs-whatsapp:hover,
.gs-email:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.gs-whatsapp svg,
.gs-email svg {
    width: 19px;
    height: 19px;
}

.gs-help {
    margin: 12px 0 0;
    color: #B8C9D2;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.gs-error {
    color: #FFC2B7;
    font-size: 12px;
}

body.gs-modal-open {
    overflow: hidden;
}

/* TELÉFONOS */

@media (max-width: 600px) {

    .gs-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .gs-dialog {
        width: 100%;
        max-height: 94dvh;

        border-radius: 20px 20px 0 0;
        border-bottom: 0;
    }

    .gs-header {
        padding: 20px;
    }

    .gs-content {
        padding: 20px;
        gap: 19px;
    }

    .gs-heading h2 {
        font-size: 23px;
    }

    .gs-option {
        font-size: 12px;
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-dialog {
        animation: none;
    }

    .gs-whatsapp,
    .gs-email {
        transition: none;
    }
}
