/**
 * Studio Balloo - Custom Contact Hub Presentation Layout Rules
 */

body .contact-page {
    background: #255259 !important;
    color: #ffffff !important;
    padding: 180px 8% !important;
    font-family: 'Syne', sans-serif !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    
    /* FIX: Drop horizontal scrollbars cleanly */
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body .contact-header {
    max-width: 1000px !important;
    margin-bottom: 120px !important;
}

body .contact-label {
    color: #9CA485 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: block !important;
}

body .contact-header h1 {
    font-size: clamp(3.2rem, 8vw, 5rem) !important;
    line-height: .95 !important;
    font-weight: 800 !important;
    margin-top: 30px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
}

body .contact-layout {
    display: grid !important;
    grid-template-columns: 420px 1fr !important;
    gap: 120px !important;
}

body .contact-block {
    margin-bottom: 50px !important;
}

body .contact-block span {
    display: block !important;
    color: #9CA485 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

body .contact-block a,
body .contact-block p {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

body .contact-block a {
    display: inline-block !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    padding-bottom: 2px !important;
    transition: color 0.3s ease, border-color 0.3s ease !important;
}

body .contact-block a:hover {
    color: #9CA485 !important;
    border-color: #9CA485 !important;
}

body .contact-form-wrapper {
    position: relative !important;
    width: 100% !important;
}

body .contact-form h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    margin: 0 0 50px 0 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #ffffff !important;
}

body .contact-form form {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

body .contact-form input,
body .contact-form textarea {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .2) !important;
    color: #ffffff !important;
    padding: 20px 0 !important;
    font-size: 18px !important;
    font-family: 'Syne', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    transition: border-color 0.3s ease !important;
}

body .contact-form input:focus,
body .contact-form textarea:focus {
    border-bottom-color: #9CA485 !important;
}

body .contact-form textarea {
    min-height: 180px !important;
    resize: none !important;
}

body .contact-form button {
    margin-top: 20px !important;
    align-self: flex-start !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
    transition: color 0.3s ease !important;
}

body .contact-form button svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #9CA485 !important;
    transition: transform .35s ease !important;
}

body .contact-form button:hover {
    color: #9CA485 !important;
}

body .contact-form button:hover svg {
    transform: rotate(45deg) !important;
}

body .contact-success {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body .contact-success.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body .contact-success h3 {
    font-family: 'Syne', sans-serif !important;
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    text-transform: uppercase !important;
    margin: 0 0 20px 0 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

body .contact-success p {
    color: #d7d7d7 !important;
    font-size: 22px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    max-width: 650px !important;
}

/* =========================================================================
 * FIX: IMPLEMENT COMPLETE RESPONSIVE BREAKDOWN RULES FOR TARGET DEVICES
 * ========================================================================= */
@media(max-width: 991px) {
    body .contact-page { 
        padding: 120px 30px !important; 
    }
    body .contact-header { 
        margin-bottom: 60px !important; 
    }
    body .contact-layout { 
        grid-template-columns: 1fr !important; /* Stack vertically */
        gap: 60px !important; 
    }
    body .contact-block {
        margin-bottom: 35px !important;
    }
    body .contact-block a, 
    body .contact-block p {
        font-size: 19px !important;
    }
    body .contact-form h2 {
        margin-bottom: 30px !important;
    }
}