/* ==========================================
   RUNHAMS LP COMMERCIAL - CONTACT FORM
   Two-column: form left, trust sidebar right
   Background: dark gradient with texture
   ========================================== */

.runhams-lp-offices-contact {
    background: linear-gradient(160deg, #2b2b2b 0%, #1a1a1a 50%, #222 100%);
    background-image:
        radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 6rem 0;
    position: relative;
}

/* Red accent line at top */
.runhams-lp-offices-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d90f0f 0%, #e83232 50%, #d90f0f 100%);
}

.runhams-lp-offices-contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: stretch;
}

/* ==========================================
   LEFT COLUMN — FORM
   ========================================== */

.runhams-lp-offices-contact-form-col {
    flex: 1;
    background-color: #333;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2.75rem;
    box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}

.runhams-lp-offices-contact-title {
    font-family: 'Overpass', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.375rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.runhams-lp-offices-contact-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #d90f0f;
    border-radius: 2px;
}

.runhams-lp-offices-contact-subtitle {
    font-family: 'Overpass', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form fields */
.runhams-lp-offices-form-group {
    margin-bottom: 1rem;
}

.runhams-lp-offices-form-input,
.runhams-lp-offices-form-textarea {
    width: 100%;
    padding: 1rem 1.125rem;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Overpass', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.runhams-lp-offices-form-input::placeholder,
.runhams-lp-offices-form-textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.runhams-lp-offices-form-input:focus,
.runhams-lp-offices-form-textarea:focus {
    outline: none;
    border-color: #d90f0f;
    background-color: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(217,15,15,0.12);
}

.runhams-lp-offices-form-textarea {
    resize: none;
    height: 140px;
}

.runhams-lp-offices-form-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #3d3d3d inset !important;
    -webkit-text-fill-color: #fff !important;
    border-color: rgba(255,255,255,0.1);
    transition: background-color 5000s ease-in-out 0s;
}

/* Submit button */
.runhams-lp-offices-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.0625rem;
    margin-top: 0.5rem;
    background-color: #d90f0f;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Overpass', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(217,15,15,0.35);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.runhams-lp-offices-form-submit:hover {
    background-color: #b50d0d;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(217,15,15,0.5);
}

.runhams-lp-offices-form-submit i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.runhams-lp-offices-form-submit:hover i {
    transform: translateX(3px);
}

/* Response time */
.runhams-lp-offices-form-response {
    font-family: 'Overpass', sans-serif;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 0.875rem;
}

/* Validation error states */
.runhams-lp-form-error {
    border-color: #fca5a5 !important;
    background-color: rgba(252, 165, 165, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.12) !important;
}

.runhams-lp-form-error-text {
    display: block;
    font-family: 'Overpass', sans-serif;
    font-size: 0.75rem;
    color: #fca5a5;
    margin-top: 0.375rem;
    padding-left: 0.25rem;
}

/* ==========================================
   RIGHT COLUMN — TRUST SIDEBAR
   ========================================== */

.runhams-lp-offices-contact-sidebar {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #2f2f2f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Google rating pill */
.runhams-lp-offices-contact-sidebar-pill {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.runhams-lp-offices-contact-sidebar-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.runhams-lp-offices-contact-sidebar-pill div {
    display: flex;
    flex-direction: column;
}

.runhams-lp-offices-contact-sidebar-pill strong {
    font-family: 'Overpass', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.runhams-lp-offices-contact-sidebar-pill span {
    font-family: 'Overpass', sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
}

/* Divider */
.runhams-lp-offices-contact-sidebar-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.08);
    margin: 0.25rem 0 1.5rem;
}

/* Trust items */
.runhams-lp-offices-contact-sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.runhams-lp-offices-contact-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.runhams-lp-offices-contact-sidebar-item i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: rgba(217,15,15,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d90f0f;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.runhams-lp-offices-contact-sidebar-item div {
    display: flex;
    flex-direction: column;
}

.runhams-lp-offices-contact-sidebar-item strong {
    font-family: 'Overpass', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.runhams-lp-offices-contact-sidebar-item span {
    font-family: 'Overpass', sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
}

/* Contact CTA */
.runhams-lp-offices-contact-sidebar-cta {
    margin-top: auto;
}

.runhams-lp-offices-contact-sidebar-cta p {
    font-family: 'Overpass', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.runhams-lp-offices-contact-sidebar-phone,
.runhams-lp-offices-contact-sidebar-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Overpass', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.runhams-lp-offices-contact-sidebar-phone:hover,
.runhams-lp-offices-contact-sidebar-email:hover {
    color: #d90f0f;
}

.runhams-lp-offices-contact-sidebar-phone i,
.runhams-lp-offices-contact-sidebar-email i {
    color: #d90f0f;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

/* ==========================================
   TABLET (1024px)
   ========================================== */

@media (max-width: 1024px) {
    .runhams-lp-offices-contact { padding: 5rem 0; }
    .runhams-lp-offices-contact-sidebar { flex: 0 0 300px; padding: 1.75rem; }
}

/* ==========================================
   MOBILE (768px) — stack columns
   ========================================== */

@media (max-width: 768px) {
    .runhams-lp-offices-contact { padding: 4rem 0; }

    .runhams-lp-offices-contact-inner {
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .runhams-lp-offices-contact-form-col {
        padding: 2.25rem 1.75rem;
        order: 1;
    }

    .runhams-lp-offices-contact-sidebar {
        flex: none;
        order: 2;
        padding: 1.75rem;
    }

    .runhams-lp-offices-contact-title { font-size: 1.625rem; }

    /* Sidebar items go horizontal on tablet */
    .runhams-lp-offices-contact-sidebar-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .runhams-lp-offices-contact-sidebar-cta {
        text-align: center;
    }

    .runhams-lp-offices-contact-sidebar-phone,
    .runhams-lp-offices-contact-sidebar-email {
        justify-content: center;
    }
}

/* ==========================================
   SMALL MOBILE (480px)
   ========================================== */

@media (max-width: 480px) {
    .runhams-lp-offices-contact { padding: 3.5rem 0; }
    .runhams-lp-offices-contact-inner { padding: 0 1rem; }

    .runhams-lp-offices-contact-form-col {
        padding: 1.75rem 1.25rem;
        border-radius: 8px;
    }

    .runhams-lp-offices-contact-title { font-size: 1.5rem; }
    .runhams-lp-offices-contact-subtitle { font-size: 0.9375rem; }

    .runhams-lp-offices-form-input,
    .runhams-lp-offices-form-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        border-radius: 6px;
    }

    .runhams-lp-offices-form-submit {
        padding: 0.9375rem;
        font-size: 1rem;
    }

    .runhams-lp-offices-contact-sidebar-items {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .runhams-lp-offices-contact-sidebar-pill {
        padding: 1rem 1.25rem;
    }

    .runhams-lp-offices-contact-sidebar-phone,
    .runhams-lp-offices-contact-sidebar-email {
        font-size: 0.875rem;
    }
}
