/* =========================================================
   KONTAK - SORAI BOUQUETE
   RESPONSIVE: STRUKTUR MOBILE TETAP SAMA SEPERTI DESKTOP
========================================================= */

.contact-page {
    background: #ffffff;
}

.contact-container {
    width: calc(100% - 80px);
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    padding: 28px 0 18px;
}

.contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--sorai-muted);
    font-size: 12px;
    line-height: 1.5;
}

.contact-breadcrumb a {
    color: var(--sorai-muted);
}

.contact-breadcrumb strong {
    color: var(--sorai-primary);
}

.contact-hero-box {
    padding: 43px 46px;
    border: 1px solid rgba(189, 74, 60, .10);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 88% 5%,
            rgba(242, 198, 190, .75),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fffdfc,
            #fff3ef
        );
}

.contact-label,
.contact-section-label {
    display: block;
    color: var(--sorai-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero-box h1 {
    margin: 8px 0 12px;
    color: var(--sorai-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
}

.contact-hero-box p {
    max-width: 720px;
    margin: 0;
    color: var(--sorai-muted);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   MAIN - DESKTOP
========================================================= */

.contact-main-section {
    padding: 42px 0 65px;
}

.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);
    gap: 35px;
    align-items: start;
}

.contact-info > h2,
.contact-form-card > h2 {
    margin: 8px 0 10px;
    color: var(--sorai-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.contact-intro,
.contact-form-card > p {
    margin: 0;
    color: var(--sorai-muted);
    font-size: 14px;
    line-height: 1.75;
}

.contact-info-list {
    display: grid;
    gap: 13px;
    margin-top: 24px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 19px;
    border: 1px solid var(--sorai-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--sorai-shadow-sm);
}

.contact-info-icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--sorai-primary);
    background: var(--sorai-pink-soft);
    font-size: 18px;
}

.contact-info-card > div:last-child {
    min-width: 0;
}

.contact-info-card span {
    display: block;
    color: var(--sorai-muted);
    font-size: 12px;
    line-height: 1.45;
}

.contact-info-card strong {
    display: block;
    margin-top: 4px;
    color: var(--sorai-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-info-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--sorai-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-info-card a span {
    color: inherit;
    font-size: inherit;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--sorai-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(75, 47, 40, .08);
}

#soraiContactForm {
    margin-top: 24px;
}

.contact-form-group {
    margin-bottom: 17px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--sorai-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    border: 1px solid var(--sorai-border);
    border-radius: 9px;
    outline: none;
    color: var(--sorai-text);
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-form-group input,
.contact-form-group select {
    min-height: 46px;
    padding: 10px 12px;
}

.contact-form-group textarea {
    min-height: 135px;
    padding: 12px;
    resize: vertical;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #9b8b86;
    opacity: 1;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: rgba(189, 74, 60, .55);
    box-shadow: 0 0 0 3px rgba(189, 74, 60, .07);
}


/* =========================================================
   PILIHAN KEPERLUAN
========================================================= */

.contact-topic-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.contact-topic-option {
    position: relative;
    margin: 0 !important;
    cursor: pointer;
}

.contact-topic-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-topic-option span {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border: 1px solid var(--sorai-border);
    border-radius: 9px;
    color: var(--sorai-text);
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.contact-topic-option:hover span {
    border-color: rgba(189, 74, 60, .45);
    color: var(--sorai-primary);
    background: #fff9f7;
}

.contact-topic-option input:checked + span {
    border-color: var(--sorai-primary);
    color: var(--sorai-primary);
    background: var(--sorai-pink-soft);
    box-shadow: 0 0 0 2px rgba(189, 74, 60, .07);
}

.contact-submit-btn {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #25d366,
            #1caf55
        );
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   HELP CTA
========================================================= */

.contact-help-section {
    padding: 0 0 70px;
}

.contact-help-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 38px;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            var(--sorai-primary),
            #a83d31
        );
    box-shadow: 0 16px 36px rgba(189, 74, 60, .17);
}

.contact-help-box > div {
    min-width: 0;
}

.contact-help-box > div > span {
    display: block;
    color: #ffe1dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.contact-help-box h2 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.contact-help-box p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    line-height: 1.7;
}

.contact-help-btn {
    display: inline-flex;
    min-width: 160px;
    min-height: 45px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--sorai-primary) !important;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}


/* =========================================================
   TABLET
   STRUKTUR TETAP 2 KOLOM SEPERTI DESKTOP
========================================================= */

@media (max-width: 991px) {

    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-grid {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);
        gap: 20px;
    }

    .contact-hero-box {
        padding: 34px 30px;
    }

    .contact-hero-box h1 {
        font-size: 37px;
    }

    .contact-info > h2,
    .contact-form-card > h2 {
        font-size: 25px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .contact-info-card {
        padding: 16px;
    }

    .contact-help-box {
        gap: 22px;
        padding: 28px 30px;
    }

}


/* =========================================================
   MOBILE
   TETAP MENIRU TAMPILAN DESKTOP:
   - INFO DI KIRI
   - FORM DI KANAN
   - CTA TETAP HORIZONTAL
========================================================= */

@media (max-width: 767px) {

    .contact-container {
        width: calc(100% - 16px);
    }

    .contact-hero {
        padding: 12px 0 12px;
    }

    .contact-breadcrumb {
        margin: 0 4px 10px;
        font-size: 10px;
    }

    .contact-hero-box {
        padding: 24px 20px;
        border-radius: 13px;
    }

    .contact-label,
    .contact-section-label {
        font-size: 9px;
    }

    .contact-hero-box h1 {
        font-size: clamp(25px, 7vw, 32px);
    }

    .contact-hero-box p {
        font-size: 12px;
        line-height: 1.65;
    }

    .contact-main-section {
        padding: 28px 0 42px;
    }

    /*
     * PENTING:
     * Tidak diubah menjadi 1 kolom.
     * Komposisi tetap seperti desktop.
     */
    .contact-grid {
        grid-template-columns:
            minmax(0, .92fr)
            minmax(0, 1.08fr);
        gap: 10px;
        align-items: start;
    }

    .contact-info,
    .contact-form-card {
        min-width: 0;
    }

    .contact-info > h2,
    .contact-form-card > h2 {
        margin-top: 5px;
        font-size: clamp(16px, 4.5vw, 21px);
    }

    .contact-intro,
    .contact-form-card > p {
        font-size: 10px;
        line-height: 1.55;
    }

    .contact-info-list {
        gap: 8px;
        margin-top: 15px;
    }

    .contact-info-card {
        gap: 8px;
        padding: 10px 8px;
        border-radius: 9px;
    }

    .contact-info-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 7px;
        font-size: 13px;
    }

    .contact-info-card span {
        font-size: 9px;
    }

    .contact-info-card strong {
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.35;
    }

    .contact-info-card a {
        gap: 3px;
        margin-top: 4px;
        font-size: 9px;
    }

    .contact-form-card {
        padding: 13px 10px;
        border-radius: 10px;
    }

    #soraiContactForm {
        margin-top: 14px;
    }

    .contact-form-group {
        margin-bottom: 10px;
    }

    .contact-form-group label {
        margin-bottom: 4px;
        font-size: 9px;
    }

    .contact-form-group input,
    .contact-form-group select,
    .contact-form-group textarea {
        border-radius: 7px;
        font-size: 11px;
    }

    .contact-form-group input,
    .contact-form-group select {
        min-height: 37px;
        padding: 7px 8px;
    }

    .contact-form-group textarea {
        min-height: 90px;
        padding: 8px;
    }

    .contact-submit-btn {
        min-height: 39px;
        gap: 5px;
        border-radius: 7px;
        font-size: 10px;
    }

    .contact-topic-options {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact-topic-option span {
        min-height: 35px;
        padding: 6px 7px;
        font-size: 9px;
    }

    /*
     * CTA juga tidak berubah menjadi vertikal.
     */
    .contact-help-section {
        padding-bottom: 42px;
    }

    .contact-help-box {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 18px 15px;
        border-radius: 11px;
    }

    .contact-help-box > div > span {
        font-size: 8px;
    }

    .contact-help-box h2 {
        margin: 4px 0 5px;
        font-size: clamp(16px, 4.5vw, 21px);
    }

    .contact-help-box p {
        font-size: 9px;
        line-height: 1.5;
    }

    .contact-help-btn {
        width: auto;
        min-width: 105px;
        min-height: 38px;
        padding: 7px 9px;
        font-size: 9px;
    }

}


/* =========================================================
   HP SANGAT KECIL
   STRUKTUR MASIH TETAP DESKTOP, HANYA DIPADATKAN
========================================================= */

@media (max-width: 420px) {

    .contact-container {
        width: calc(100% - 10px);
    }

    .contact-grid {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);
        gap: 7px;
    }

    .contact-info-card {
        gap: 6px;
        padding: 8px 6px;
    }

    .contact-info-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 11px;
    }

    .contact-info-card span {
        font-size: 8px;
    }

    .contact-info-card strong {
        font-size: 9px;
    }

    .contact-info-card a {
        font-size: 8px;
    }

    .contact-form-card {
        padding: 11px 8px;
    }

    .contact-form-group input,
    .contact-form-group select,
    .contact-form-group textarea {
        font-size: 10px;
    }

    .contact-help-box {
        padding: 15px 11px;
    }

    .contact-help-btn {
        min-width: 92px;
        padding: 6px 7px;
        font-size: 8px;
    }

}