/* ==========================================================================
   CONTACT PAGE MASTER
   ========================================================================== */

.contact-page-master {
    width: 100%;
    max-width: 100%;;
    margin: 0 auto;
    background-color: #FDFFF6;
    box-sizing: border-box;
    overflow: hidden;
}

/* ==========================================================================
   HERO & FORM SECTION
   ========================================================================== */

.ow-contact-hero-section {
    position: relative;
    width: 100%;
    padding: 96px 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.ow-contact-container {
    width: 100%;
    max-width: 640px; /* Constrains the form to the centered column layout from design */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    box-sizing: border-box;
}

/* ==========================================================================
   Header Top (Title & Desc)
   ========================================================================== */

.ow-contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
}

/* Headline: Aspekta 400, 56px, #111111 */
.ow-contact-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 110%; /* 61.6px */
    letter-spacing: -1.12px;
    color: #111111;
    margin: 0;
}

/* Description: Inter 400, 16px, muted gray */
.ow-contact-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%; /* 24px */
    color: rgba(17, 17, 17, 0.75);
    margin: 0;
    max-width: 460px;
}

/* ==========================================================================
   Interactive Area (Form + Footer Box)
   ========================================================================== */

.ow-contact-interactive-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* --------------------------------------------------
   Purple Form Card (#DBD5FF)
   -------------------------------------------------- */
.ow-contact-form-card {
    background-color: #DBD5FF;
    padding: 48px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
    /* Clipped corners matching Objectways style */
    clip-path: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.ow-contact-form-title {
    font-family: 'Aspekta', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.48px;
    color: #111111;
    margin: 0;
}

.ow-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.ow-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.ow-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ow-form-group.full-width {
    width: 100%;
}

.ow-form-group label {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%; /* 18px */
    color: #4C4D4A;
    text-transform: uppercase;
}

/* Form Inputs */
.ow-form-group input[type="text"],
.ow-form-group input[type="email"],
.ow-form-group input[type="tel"],
.ow-form-group select,
.ow-form-group textarea {
    width: 100%;
    background-color: #FDFFF6;
    border: none;
    border-radius: 4px;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #111111;
    box-sizing: border-box;
    outline: none;
    transition: outline 0.2s ease;
    resize: none;
}

.ow-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23878883' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.ow-form-group input::placeholder,
.ow-form-group textarea::placeholder {
    color: #878883;
}

.ow-form-group input:focus-visible,
.ow-form-group select:focus-visible,
.ow-form-group textarea:focus-visible {
    outline: 2px solid #7E6DEB;
    outline-offset: -2px;
}

/* Submit Buttons */
.ow-form-submit {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin-top: 16px;
}

.ow-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ow-btn-pill.dark {
    background-color: #111111;
    color: #FFFFFF;
    flex: 1; /* Takes remaining width */
}

.ow-btn-pill.dark:hover { background-color: #2a2a2a; }

.ow-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: none;
}

.ow-btn-circle.dark { background-color: #111111; }

/* --------------------------------------------------
   Black Footer Card (#000000)
   -------------------------------------------------- */
.ow-contact-info-card {
    background-color: #000000;
    padding: 48px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    box-sizing: border-box;
    /* Bottom right clipped corner based on visual pattern */
    clip-path: polygon(0 16px, 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    margin-top: 48px; /* Seamless connection to the purple box above it */
}

.ow-contact-info-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%; /* 21px */
    color: rgba(253, 255, 246, 0.85); /* Slightly muted ivory */
    margin: 0;
}

.ow-contact-info-card p strong {
    font-weight: 600;
    color: #FDFFF6; /* Solid ivory */
}

.ow-contact-info-card a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ow-contact-info-card a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 640px) {
    .ow-contact-hero-section {
        padding: 64px 16px;
    }

    .ow-contact-title {
        font-size: 40px;
        line-height: 44px;
    }
    
    .ow-form-row {
        grid-template-columns: 1fr; /* Stack inputs */
    }

    .ow-contact-form-card,
    .ow-contact-info-card {
        padding: 32px 24px;
    }
}