/**
 * Contact page — new layout (2026-05-27)
 * Conditionally enqueued by ar_enqueue_contact_page_css() on contact pages.
 *
 * Tokens: brand red = #d44747, dark text = #1a1a1a, surface = #ffffff,
 * page bg = #eff1f5 (matches theme), border = #d0d6e1.
 */

/* ============================================================
   PAGE LAYOUT WRAPPERS
   ============================================================ */
.ar-contact-page {
    --ar-brand:        #d44747;
    --ar-brand-dark:   #b53838;
    --ar-text:         #1a1a1a;
    --ar-muted:        #5a6072;
    --ar-surface:      #ffffff;
    --ar-bg:           #eff1f5;
    --ar-border:       #d6dae3;
    --ar-radius:       12px;
    --ar-shadow-sm:    0 1px 3px rgba(20,28,48,0.06), 0 1px 2px rgba(20,28,48,0.04);
    --ar-shadow-md:    0 6px 18px rgba(20,28,48,0.09), 0 2px 6px rgba(20,28,48,0.05);
    --ar-shadow-lg:    0 14px 30px rgba(20,28,48,0.12), 0 4px 10px rgba(20,28,48,0.06);
}

.ar-contact-page .ar-contact-section { padding: 2.5rem 0; }
.ar-contact-page .ar-contact-section + .ar-contact-section { padding-top: 0; }

/* Hide the theme's default page-title banner on contact pages —
   our hero replaces it entirely. */
.ar-contact-page .entry-header { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.ar-contact-page .ar-contact-hero {
    position: relative;
    overflow: hidden;
    color: #1a1c20;                       /* dark text on grey now */
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
    margin: 0 auto 3rem;
    max-width: 1280px;
    border-radius: 16px;
    /* Neutral graphite-grey gradient — replaces the red */
    background: linear-gradient(135deg, #eceef2 0%, #dde1e8 100%);
    border: 1px solid #d6dae3;
    box-shadow:
        0 18px 40px -18px rgba(20, 28, 48, 0.20),
        0 4px 12px rgba(20, 28, 48, 0.06);
}

/* Subtle dotted texture for a faint material feel (now dark dots on grey) */
.ar-contact-page .ar-contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 28, 48, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    background-position: 13px 13px;
    opacity: 0.6;
    pointer-events: none;
}

/* Split layout: text left, product image right */
.ar-contact-page .ar-contact-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 1120px;
    margin: 0 auto;
}

.ar-contact-page .ar-contact-hero-content {
    text-align: left;
    max-width: 560px;
}

.ar-contact-page .ar-contact-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: rgba(212, 71, 71, 0.08);
    color: #8e2828;
    font-family: var(--ar-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ar-contact-page .ar-contact-hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d44747;
    box-shadow: 0 0 0 4px rgba(212, 71, 71, 0.18);
}

.ar-contact-page .ar-contact-hero-title {
    font-family: var(--ar-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: #0e1014;
    margin: 0 0 1.1rem;
    letter-spacing: -0.025em;
}
.ar-contact-page .ar-contact-hero-title strong { font-weight: 800; }

.ar-contact-page .ar-contact-hero-lede {
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.55;
    color: #4a5160;
    margin: 0 0 1.75rem;
    max-width: 520px;
    font-weight: 400;
}

/* CTA is now the single strong red element on the first screen */
.ar-contact-page .ar-contact-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.85rem;
    background: #d44747;
    border: 1px solid #d44747;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-family: var(--ar-display);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(212, 71, 71, 0.28);
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ar-contact-page .ar-contact-hero-cta:hover {
    transform: translateY(-2px);
    background: #b83b3b;
    border-color: #b83b3b;
    box-shadow: 0 10px 24px rgba(212, 71, 71, 0.36);
}
.ar-contact-page .ar-contact-hero-cta:active { transform: translateY(0); }
.ar-contact-page .ar-contact-hero-cta svg { transition: transform 0.15s ease; }
.ar-contact-page .ar-contact-hero-cta:hover svg { transform: translateY(2px); }
/* When the form is open, the arrow points up (toggle affordance) */
.ar-contact-page.ar-form-revealed .ar-contact-hero-cta svg { transform: rotate(180deg); }

/* Quick contact strip */
.ar-contact-page .ar-contact-hero-quick {
    display: flex;
    justify-content: flex-start;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 28, 48, 0.12);
    font-size: 0.9375rem;
}
.ar-contact-page .ar-contact-hero-quick a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;            /* touch target */
    padding: 0.5rem 0.25rem;
    color: #2a3142;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.12s ease;
}
.ar-contact-page .ar-contact-hero-quick a:hover {
    color: #d44747;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.ar-contact-page .ar-contact-hero-quick svg {
    flex-shrink: 0;
    color: #d44747;
    opacity: 0.9;
}

/* Product lineup image (right side of the split) */
.ar-contact-page .ar-contact-hero-media {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ar-contact-page .ar-contact-hero-product {
    width: 100%;
    max-width: 560px;
    height: auto;
    /* White-bg product shot: soft drop-shadow traces the product silhouette so it
       reads as an intentional "showroom" image on the grey hero. */
    filter: drop-shadow(0 16px 30px rgba(20, 28, 48, 0.16));
}

/* Stack on tablet/mobile */
@media (max-width: 860px) {
    .ar-contact-page .ar-contact-hero-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .ar-contact-page .ar-contact-hero-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
        order: 1;
    }
    .ar-contact-page .ar-contact-hero-media {
        order: 2;
    }
    .ar-contact-page .ar-contact-hero-lede { margin-left: auto; margin-right: auto; }
    .ar-contact-page .ar-contact-hero-quick { justify-content: center; }
    .ar-contact-page .ar-contact-hero-product { max-width: 420px; }
}
@media (max-width: 480px) {
    .ar-contact-page .ar-contact-hero-quick {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ============================================================
   PROGRESSIVE DISCLOSURE — form hidden until "Send a message"
   ============================================================ */
.ar-contact-page .ar-contact-form-section {
    display: none;
    scroll-margin-top: 120px;     /* land below sticky header on anchor jump */
}
/* Revealed either by the CSS :target (no-JS path) or by JS adding .ar-form-revealed */
.ar-contact-page .ar-contact-form-section:target,
.ar-contact-page.ar-form-revealed .ar-contact-form-section {
    display: block;
    animation: ar-form-reveal 0.4s ease-out;
}
@keyframes ar-form-reveal {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT FORM CARD
   ============================================================ */
.ar-contact-page .ar-contact-form-wrap {
    max-width: 880px;            /* wider to accommodate 2-column layout */
    margin: 0 auto;
    background: var(--ar-surface);
    border: 1px solid var(--ar-border);
    border-radius: var(--ar-radius);
    box-shadow: var(--ar-shadow-md);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    /* Sticky-header offset so the "Start a conversation" CTA lands ABOVE Name field,
       not behind the sticky header bar. Tune if the header height changes. */
    scroll-margin-top: 240px;
}
/* Smooth-scroll only when navigating within the contact page */
.ar-contact-page { scroll-behavior: smooth; }

/* Gravity Forms field polish */
.ar-contact-page .gform_wrapper {
    margin: 0;
}

/* ---- Two-column layout via CSS Grid (defensive: !important + bumped specificity to beat GF's basic.min.css 12-col default) ---- */
body.ar-contact-page .gform_wrapper.gform_wrapper .gform_fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    column-gap: 1.25rem !important;
    row-gap: 1.1rem !important;
    grid-column-gap: 1.25rem !important;   /* legacy alias */
    grid-row-gap: 1.1rem !important;       /* legacy alias */
    width: 100%;
}
/* Force every field to span 1 cell, overriding GF's auto-flow + any width-* class defaults */
body.ar-contact-page .gform_wrapper .gform_fields > .gfield {
    grid-column: span 1 !important;
    -ms-grid-column-span: 1 !important;
}
/* Full-width fields: Location dropdown (5), Subject (8), Message (9), honeypot (10) */
body.ar-contact-page #field_11_5,
body.ar-contact-page #field_11_8,
body.ar-contact-page #field_11_9,
body.ar-contact-page #field_11_10 {
    grid-column: 1 / -1 !important;
    -ms-grid-column-span: 2 !important;
}
/* Mobile: collapse to single column */
@media (max-width: 640px) {
    body.ar-contact-page .gform_wrapper.gform_wrapper .gform_fields {
        grid-template-columns: 1fr !important;
    }
    body.ar-contact-page .gform_wrapper .gform_fields > .gfield {
        grid-column: 1 / -1 !important;
    }
}
.ar-contact-page .gform_wrapper .gfield_label {
    font-weight: 600;
    color: var(--ar-text);
    font-size: 0.9375rem;
    margin: 0 0 0.4em;
    line-height: 1.3;
}
.ar-contact-page .gform_wrapper .gfield_required {
    color: var(--ar-brand);
    margin-left: 0.15em;
}
.ar-contact-page .gform_wrapper input[type="text"],
.ar-contact-page .gform_wrapper input[type="email"],
.ar-contact-page .gform_wrapper input[type="tel"],
.ar-contact-page .gform_wrapper input[type="url"],
.ar-contact-page .gform_wrapper textarea,
.ar-contact-page .gform_wrapper select {
    width: 100%;
    /* The theme's style-template.min.css sets `height: 2em` on all inputs/selects/textareas
       which clamps the visible area and clips our padded content. Reset it explicitly. */
    height: auto;
    min-height: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    background: #fafbfc;
    border: 1px solid var(--ar-border);
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ar-text);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.ar-contact-page .gform_wrapper textarea {
    min-height: 140px;
    line-height: 1.5;
    resize: vertical;
}
.ar-contact-page .gform_wrapper select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235a6072' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.ar-contact-page .gform_wrapper input:focus,
.ar-contact-page .gform_wrapper textarea:focus,
.ar-contact-page .gform_wrapper select:focus {
    outline: none;
    border-color: var(--ar-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212,71,71,0.18);
}
.ar-contact-page .gform_wrapper .gfield_error input,
.ar-contact-page .gform_wrapper .gfield_error textarea,
.ar-contact-page .gform_wrapper .gfield_error select {
    border-color: #d44747;
    background: #fdf3f3;
}
.ar-contact-page .gform_wrapper .validation_message,
.ar-contact-page .gform_wrapper .gfield_validation_message {
    color: #b53838;
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

/* Submit button — matches the newsletter Subscribe button style
   (uppercase, letter-spacing, 6px radius, soft red glow). Centered/full-width. */
.ar-contact-page .gform_wrapper .gform_footer {
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid #ecedf1;
    text-align: center;
    display: flex;
    justify-content: center;
}
body.ar-contact-page .gform_wrapper .gform_button,
body.ar-contact-page .gform_wrapper input[type="submit"],
body.ar-contact-page .gform_wrapper input.gform_button,
body.ar-contact-page .gform_wrapper input.gform_button.button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 360px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    background: #d44747 !important;
    background-color: #d44747 !important;
    background-image: none !important;
    border: 1px solid #d44747 !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 16px rgba(212, 71, 71, 0.20) !important;
    font: 700 13px/1em "Open Sans", Arial, sans-serif !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}
body.ar-contact-page .gform_wrapper .gform_button:hover,
body.ar-contact-page .gform_wrapper input[type="submit"]:hover {
    background: #b83b3b !important;
    background-color: #b83b3b !important;
    border-color: #b83b3b !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 22px rgba(212, 71, 71, 0.28) !important;
}
body.ar-contact-page .gform_wrapper .gform_button:active,
body.ar-contact-page .gform_wrapper input[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 8px rgba(212, 71, 71, 0.24) !important;
}

/* Confirmation message after submit */
.ar-contact-page .gform_confirmation_message {
    background: #f1f9f3;
    border: 1px solid #cce6d3;
    color: #155724;
    padding: 1.5rem 1.75rem;
    border-radius: var(--ar-radius);
    text-align: center;
    font-size: 1.0625rem;
}

/* ============================================================
   INTERACTIVE MAP
   ============================================================ */
.ar-contact-page .ar-contact-map-wrap {
    max-width: 1080px;
    margin: 2.5rem auto 1rem;
    padding: 1rem;
    background: var(--ar-surface);
    border: 1px solid var(--ar-border);
    border-radius: var(--ar-radius);
    box-shadow: var(--ar-shadow-sm);
    text-align: center;
}
.ar-contact-page .ar-contact-map-wrap svg { max-width: 100%; height: auto; }
.ar-contact-page .ar-contact-map-hint {
    margin: 0.5rem 0 0;
    color: var(--ar-muted);
    font-size: 0.9375rem;
}

/* ============================================================
   LOCATIONS SECTION — modern card grid + heading
   ============================================================ */

/* Define the display font as a reusable token */
.ar-contact-page {
    --ar-display: 'Plus Jakarta Sans', 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Section header (eyebrow + title + lede) */
.ar-contact-page .ar-contact-locations-header {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 2.5rem;
}
.ar-contact-page .ar-contact-locations-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    padding: 0.42rem 0.95rem;
    background: rgba(212, 71, 71, 0.08);
    color: #8e2828;
    border-radius: 999px;
    font-family: var(--ar-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.ar-contact-page .ar-contact-locations-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d44747;
    box-shadow: 0 0 0 3px rgba(212, 71, 71, 0.20);
}
.ar-contact-page .ar-contact-locations-title {
    font-family: var(--ar-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #0e1014;
    margin: 0 0 0.6rem;
}
.ar-contact-page .ar-contact-locations-lede {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #5a6072;
    margin: 0 auto;
    max-width: 760px;
}

.ar-contact-page .ar-contact-cards-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

/* Card grid (3 -> 2 -> 1 column responsive) */
.ar-contact-page .block-ar-callout-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
}
@media (max-width: 1024px) {
    .ar-contact-page .block-ar-callout-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ar-contact-page .block-ar-callout-list { grid-template-columns: 1fr; }
}

/* ---- Card ---- */
.ar-contact-page .module.ar-callout-list {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 1.85rem 1.5rem 1.4rem;
    background:
        radial-gradient(160% 80% at 0% 0%, rgba(212, 71, 71, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 28, 48, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Red accent bar that appears at the top on hover/focus */
.ar-contact-page .module.ar-callout-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d44747 0%, #ec6868 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ar-contact-page .module.ar-callout-list:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 71, 71, 0.28);
    box-shadow:
        0 14px 32px rgba(20, 28, 48, 0.10),
        0 4px 12px rgba(20, 28, 48, 0.05);
}
.ar-contact-page .module.ar-callout-list:hover::before { opacity: 1; }

/* Map-click focus state */
.ar-contact-page .module.ar-callout-list.ar-callout-focus {
    border-color: #d44747;
    transform: translateY(-4px);
    box-shadow:
        0 0 0 2px rgba(212, 71, 71, 0.40),
        0 18px 40px rgba(20, 28, 48, 0.14);
}
.ar-contact-page .module.ar-callout-list.ar-callout-focus::before { opacity: 1; }

/* State chip — top-right */
.ar-contact-page .ar-callout-state-chip {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 26px;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e8eaf0;
    color: #2a3142;
    font-family: var(--ar-display);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(20, 28, 48, 0.05);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ar-contact-page .module.ar-callout-list:hover .ar-callout-state-chip,
.ar-contact-page .module.ar-callout-list.ar-callout-focus .ar-callout-state-chip {
    background: #d44747;
    border-color: #d44747;
    color: #fff;
}

/* Pin icon — top-left */
.ar-contact-page .ar-callout-pin {
    width: 28px;
    height: 28px;
    color: #d44747;
    margin-bottom: -0.25rem;
    flex-shrink: 0;
}

/* Title (City + state-text) */
.ar-contact-page .ar-callout-head-title { margin: 0; }
.ar-contact-page .ar-callout-head-title h3,
.ar-contact-page .ar-callout-head-title h4 {
    margin: 0;
    font-family: var(--ar-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #0e1014;
}
.ar-contact-page .ar-callout-head-title h4 strong,
.ar-contact-page .ar-callout-head-title h3 strong { font-weight: 800; }
.ar-contact-page .ar-callout-city { color: inherit; }

/* The ", ST" suffix is visible again, rendered in a muted color so the city remains
   the primary scannable element of the title. */
.ar-contact-page .ar-callout-state-text {
    color: #8a8f9c;
    font-weight: 600;
}

/* Details container */
.ar-contact-page .ar-callout-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #2a3142;
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Address */
.ar-contact-page .ar-callout-address {
    color: #5a6072;
    font-size: 0.9375rem;
    line-height: 1.55;
}
.ar-contact-page .ar-callout-address a {
    color: #2a3142;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.ar-contact-page .ar-callout-address a:hover {
    color: #d44747;
    border-bottom-color: rgba(212, 71, 71, 0.50);
}

/* Phones — structured row blocks */
.ar-contact-page .ar-callout-phones {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}
.ar-contact-page .ar-callout-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.7rem 0.9rem;
    background: #f5f6f9;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #1a1a1a;
    text-decoration: none;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        transform 0.1s ease;
}
.ar-contact-page .ar-callout-phone:hover {
    background: #fff;
    border-color: rgba(212, 71, 71, 0.35);
    color: #b53838;
    transform: translateX(2px);
}
.ar-contact-page .ar-callout-phone-label {
    font-family: var(--ar-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8f9c;
}
.ar-contact-page .ar-callout-phone:hover .ar-callout-phone-label { color: #b53838; }
.ar-contact-page .ar-callout-phone-num {
    font-family: var(--ar-display);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.005em;
    text-align: right;
}
.ar-contact-page .ar-callout-phone--toll {
    background: linear-gradient(180deg, #fff5f5 0%, #fce8e8 100%);
    border-color: rgba(212, 71, 71, 0.18);
}
.ar-contact-page .ar-callout-phone--toll:hover {
    background: linear-gradient(180deg, #fff 0%, #fce8e8 100%);
}

/* When map pin is hovered/focused, also color the phone numbers slightly */
.ar-contact-page .module.ar-callout-list.ar-callout-focus .ar-callout-phone {
    background: #fff;
}

/* Hero/locations h1/h2 inherit the display font */
.ar-contact-page .ar-contact-hero-title { font-family: var(--ar-display); }

/* ============================================================
   MAP CLUSTER ZOOM (H-1 fix: PA pins overlap)
   ============================================================ */
/* Hide the individual PA pins on the cluster page — the cluster badge replaces them visually. */
.ar-contact-page svg#ACTIVE_SVG g#ACTIVE_PhiladelphiaPA,
.ar-contact-page svg#ACTIVE_SVG g#ACTIVE_LevittownPA,
.ar-contact-page svg#ACTIVE_SVG g#ACTIVE_ShenandoahPA {
    visibility: hidden;
    pointer-events: none;
}
/* But when a popover-triggered "focus" applies, briefly highlight via the card class only.
   We DON'T re-show the SVG pin since the cluster badge is its visual proxy. */

/* Cluster badge SVG element styling (added to post_content as <g id="ACTIVE_CLUSTER_PA">) */
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster {
    cursor: pointer;
}
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster circle {
    transition: r 0.18s ease, stroke-width 0.18s ease, filter 0.18s ease;
}
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster:hover circle,
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster.is-open circle {
    stroke-width: 3.5;
    filter: drop-shadow(0 2px 6px rgba(212, 71, 71, 0.5));
}
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster:focus {
    outline: none;
}
.ar-contact-page svg#ACTIVE_SVG g.ar-map-cluster:focus-visible circle {
    stroke: #fff;
    stroke-width: 3.5;
    filter: drop-shadow(0 0 0 3px rgba(212, 71, 71, 0.65));
}

/* Cluster popover (appended to <body> by JS, positioned via JS) */
.ar-cluster-popover {
    position: absolute;
    z-index: 9999;
    min-width: 200px;
    max-width: 280px;
    background: #ffffff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    box-shadow:
        0 16px 36px rgba(20, 28, 48, 0.16),
        0 4px 10px rgba(20, 28, 48, 0.08);
    padding: 0.4rem;
    font-family: 'Plus Jakarta Sans', 'Open Sans', system-ui, sans-serif;
    animation: ar-popover-in 0.16s ease-out;
}
@keyframes ar-popover-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ar-cluster-popover-header {
    padding: 0.45rem 0.7rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8f9c;
    border-bottom: 1px solid #f1f2f6;
    margin-bottom: 0.25rem;
}
.ar-cluster-popover ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ar-cluster-popover button {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.7rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font: 600 0.9375rem/1.3 'Plus Jakarta Sans', 'Open Sans', sans-serif;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.12s ease, color 0.12s ease;
}
.ar-cluster-popover button:hover,
.ar-cluster-popover button:focus {
    background: #fdf2f2;
    color: #b53838;
    outline: none;
}
.ar-cluster-popover button:focus-visible {
    box-shadow: 0 0 0 2px rgba(212, 71, 71, 0.4);
}
.ar-cluster-popover button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #d44747;
}

/* Spam protection: keep honeypot 100% hidden even if theme touches it */
.ar-contact-page .gform_wrapper .gform_validation_container,
.ar-contact-page .gform_wrapper .gfield_visibility_hidden {
    position: absolute !important;
    left: -9999px !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}
