/* =========================================
   CONTACT.CSS - Contact Page Specific
   ========================================= */

/* =========================================
   1. CONTACT PAGE HERO
   ========================================= */
.contact-page #hero-855 .oh-hero__container {
    max-width: 700px;
}

/* =========================================
   2. CONTACT PAGE PANEL
   ========================================= */
.contact-page-panel {
    margin-top: 0;
}

.contact-page-panel .contact-info {
    margin-bottom: 0;
}

/* =========================================
   3. CONTACT PROMISE SECTION
   ========================================= */
.contact-promise {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.contact-promise h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--headerColor);
    margin-bottom: 0.75rem;
}

.contact-promise ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.contact-promise ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--bodyTextColor);
    counter-increment: step;
}

.contact-promise ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact page: make message field and locations field full width */
.contact-page-panel .cs-label:has(.cs-textarea),
.contact-page-panel .cs-label:has(#locations-1750) {
    grid-column: span 2;
}

@media (max-width: 1023px) {
    .contact-page-panel .cs-label:has(.cs-textarea),
    .contact-page-panel .cs-label:has(#locations-1750) {
        grid-column: span 1;
    }
}

/* =========================================
   4. SIMPLE CONTACT LAYOUT
   ========================================= */
.contact-simple {
    padding: var(--sectionPadding);
    max-width: 800px;
    margin: 0 auto;
}

.contact-simple .cs-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-simple .cs-label:nth-child(n+3) {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .contact-simple .cs-form {
        grid-template-columns: 1fr;
    }
    
    .contact-simple .cs-label:nth-child(n+3) {
        grid-column: span 1;
    }
}
