﻿/* =========================================================
   HERO
========================================================= */

.sx-inquiry-hero {
    padding: 30px 20px 45px;
    background: linear-gradient(135deg,#07152b 0%,#16395f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sx-inquiry-hero-content {
    position: relative;
    z-index: 2;
}

.sx-inquiry-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
}

.sx-inquiry-hero h1 {
/*    max-width: 1100px;*/
    margin: 0px;
    font-size: 68px;
    line-height: 1;
/*    letter-spacing: -3px;*/
    color: #ffffff;
}

.sx-inquiry-hero p {
    max-width: 980px;
    margin: auto;
    font-size: 20px;
    line-height: 2;
    color: rgba(255,255,255,0.88);
}

/* =========================================================
   AUDIO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
/*    margin-top: 38px;*/
}

    .hero-buttons .btn-secondary {
        min-width: 150px;
        min-height: 54px;
        border: none;
        border-radius: 999px;
        background: #ffffff;
        color: #102a43;
        font-size: 15px;
        font-weight: 700;
        padding: 14px 24px;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.14);
    }

        .hero-buttons .btn-secondary:hover,
        .hero-buttons .btn-secondary:focus-visible {
            background: #0f62fe;
            color: #ffffff;
            transform: translateY(-2px);
        }

/* =========================================================
   SECTION
========================================================= */

.sx-inquiry-section {
    padding: 100px 20px;
    background: #f4f7fb;
}

/* =========================================================
   FORM BOX
========================================================= */

.sx-inquiry-box {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 60px;
    border: 1px solid #e5edf5;
    box-shadow: 0 20px 60px rgba(15,23,42,0.06);
}

/* =========================================================
   SUCCESS
========================================================= */

.sx-success-message {
    margin-bottom: 34px;
    padding: 18px 24px;
    border-radius: 16px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-weight: 700;
    line-height: 1.8;
}

/* =========================================================
   GRID
========================================================= */

.sx-form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 26px;
}

/* =========================================================
   GROUP
========================================================= */

.sx-form-group {
    margin-bottom: 28px;
}

    .sx-form-group label {
        display: block;
        margin-bottom: 12px;
        font-size: 15px;
        font-weight: 700;
        color: #102a43;
    }

/* =========================================================
   INPUTS
========================================================= */

.form-control {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid #d9e2ec;
    background: #ffffff;
    padding: 14px 18px;
    font-size: 16px;
    color: #243b53;
    transition: all 0.25s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #0f62fe;
        box-shadow: 0 0 0 4px rgba(15,98,254,0.10);
    }

textarea.form-control {
    min-height: 180px;
    resize: vertical;
    line-height: 1.9;
}

/* =========================================================
   CHECKBOX
========================================================= */

.sx-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 40px;
}

    .sx-checkbox-group input {
        margin-top: 5px;
        width: 18px;
        height: 18px;
    }

    .sx-checkbox-group label {
        font-size: 15px;
        line-height: 1.9;
        color: #486581;
    }

/* =========================================================
   BUTTON
========================================================= */

.sx-submit-btn {
    border: none;
    background: linear-gradient(135deg,#0f62fe,#0043ce);
    color: #ffffff;
    min-height: 60px;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 14px 34px rgba(15,98,254,0.22);
}

    .sx-submit-btn:hover,
    .sx-submit-btn:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(15,98,254,0.28);
    }

/* =========================================================
   VALIDATION
========================================================= */

.text-danger {
    display: block;
    margin-top: 8px;
    color: #dc2626;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   ADA
========================================================= */

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 3px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .sx-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sx-inquiry-box {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {

    .sx-inquiry-hero {
        padding: 35px 18px 35px;
    }

        .sx-inquiry-hero h1 {
            font-size: 42px;
            line-height: 1.1;
   /*         letter-spacing: -1px;*/
        }

        .sx-inquiry-hero p {
            font-size: 16px;
            line-height: 1.9;
        }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn-secondary {
            width: 100%;
            max-width: 320px;
        }

    .sx-inquiry-section {
        padding: 40px 16px;
    }

    .sx-inquiry-box {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .form-control {
        font-size: 15px;
    }

    .sx-submit-btn {
        width: 100%;
    }
}
