/* SXLF page-design rules — extracted 2026-05-08 from /cities/index.php
 * Loaded globally on every WP page so /lanes/, /cities/, and migrated/
 * static pages share the same look. */

    .cityforge-content { max-width: 1200px; margin: 0 auto; padding: 20px; }
    .cityforge-content h1 { color: #d84659; }
    .cityforge-content h2,
    .cityforge-content h3 { color: #9c27b0; }
    .cityforge-content a { color: #1d173c; text-decoration: none; }
    .cityforge-content a:hover { text-decoration: underline; }
    .cityforge-content img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgb(29 23 60 / .08); margin: 20px 0; }
    .cityforge-content .city-hero { text-align: center; padding: 40px 0; }
    .cityforge-content .city-section { margin-bottom: 30px; }
    .cityforge-404 a { color: #1d173c; }
    /* City-page hero — 2-column: pitch left, quote form right */
    .city-page-hero { padding: 36px 28px; }
    .city-hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 32px;
        align-items: center;
        max-width: 1140px;
        margin: 0 auto;
    }
    .city-hero-pitch { color: #fff; }
    .city-hero-pitch .eyebrow { background: rgb(255 255 255 / .15); border: 1px solid rgb(255 255 255 / .25); color: #fff; padding: 5px 12px; border-radius: 100px; font-size: .76em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; display: inline-block; }
    .city-hero-pitch h1 { color: #fff !important; font-size: clamp(1.45em, 2.1vw, 1.9em); margin: 0 0 11px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
    .city-hero-pitch p.lead { color: #f4e8ff; font-size: .95em; margin: 0 0 14px; line-height: 1.55; max-width: 540px; }
    .city-hero-pitch .city-trust-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; color: #f4e8ff; font-size: .82em; font-weight: 600; }
    .city-hero-pitch .city-trust-strip span { display: inline-flex; align-items: center; gap: 5px; }
    .city-hero-pitch .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
    /* Right-column form mount — let .sxl-quick-lead style itself, just constrain width */
    .city-hero-form { width: 100%; max-width: 480px; justify-self: end; }
    .city-hero-form #sxl-quote-mount { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .city-hero-form .sxl-quick-lead { max-width: 100% !important; padding: 22px !important; box-shadow: 0 18px 40px rgba(0,0,0,.28) !important; border-radius: 14px !important; }
    .city-hero-form .sxl-quick-lead h2 { font-size: 1.32em !important; margin: 0 0 4px !important; }
    .city-hero-form .sxl-quick-lead p.sub { margin: 0 0 14px !important; font-size: .88em !important; }

    /* Mobile: stack pitch above form */
    @media (max-width: 920px) {
        .city-page-hero { padding: 40px 22px; }
        .city-hero-grid { grid-template-columns: 1fr; gap: 28px; }
        .city-hero-form { max-width: 100%; justify-self: stretch; margin: 0 auto; }
        .city-hero-pitch h1 { font-size: clamp(1.5em, 6vw, 2em) !important; }
        .city-hero-pitch .cta-row { justify-content: center; }
        .city-hero-pitch p.lead, .city-hero-pitch .city-trust-strip { text-align: center; max-width: 100%; }
        .city-hero-pitch .city-trust-strip { justify-content: center; }
    }
    /* Stats strip below hero */
    .city-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -18px auto 28px; max-width: 1100px; padding: 16px; background: #fff; border-radius: 11px; box-shadow: 0 8px 24px rgb(29 23 60 / .07); position: relative; z-index: 2; }
    @media(max-width:700px) { .city-stats { grid-template-columns: repeat(2, 1fr); margin-top: 8px; } }
    .city-stats .stat { text-align: center; padding: 4px; }
    .city-stats .stat b { display: block; font-size: 1.4em; color: #9c27b0; font-weight: 800; line-height: 1.1; margin-bottom: 2px; }
    .city-stats .stat span { color: #666; font-size: .8em; font-weight: 500; }
    /* Convert <details> FAQ blocks to .sxl-v2 .q cards (visually) */
    .cityforge-content details { background: #fff; border: 1px solid #ece8f5; border-radius: 10px; padding: 18px 22px; margin: 0 0 12px; transition: border-color .15s, box-shadow .15s; }
    .cityforge-content details:hover { border-color: #d9c9e8; box-shadow: 0 6px 18px rgb(29 23 60 / .06); }
    .cityforge-content details[open] { border-color: #9c27b0; }
    .cityforge-content details > summary { color: #d84659; font-size: 1.02em; font-weight: 700; cursor: pointer; padding: 4px 0; outline: none; list-style: none; }
    .cityforge-content details > summary::after { content: "+"; float: right; font-size: 1.4em; line-height: 1; color: #9c27b0; transition: transform .2s; }
    .cityforge-content details[open] > summary::after { transform: rotate(45deg); }
    .cityforge-content details > p { margin: 12px 0 6px; color: #555; font-size: .96em; line-height: 1.65; }

    /* ─────────── 2026-05-07: rebuilt city-page sections (desktop-first; mobile @ 760) ─────────── */
    .sxlf-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
    .sxlf-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        max-width: 1000px;
        margin: 0 auto;
    }
    .sxlf-card {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        background: #fff;
        border: 1px solid #ece8f5;
        border-radius: 10px;
        padding: 14px 16px;
        transition: border-color .15s, box-shadow .15s;
    }
    .sxlf-card:hover {
        box-shadow: 0 8px 20px rgb(29 23 60 / .06);
        border-color: #d9c9e8;
    }
    .sxlf-card-ico {
        flex: 0 0 auto;
        font-size: 1.5em;
        line-height: 1;
        margin-top: 1px;
        width: auto; height: auto;
        background: none !important;
        box-shadow: none !important;
        padding: 0;
        color: inherit;
    }
    .sxlf-card-body { flex: 1 1 auto; min-width: 0; }
    .sxlf-card h3 { color: #1d173c; font-size: .94em; margin: 0 0 3px; font-weight: 700; line-height: 1.25; }
    .sxlf-card p  { color: #666; margin: 0; font-size: .82em; line-height: 1.5; }

    /* Full-bleed bg-hero band */
    .sxlf-bghero {
        position: relative;
        padding: 56px 24px;
        text-align: center;
        color: #fff;
        overflow: hidden;
        background: #1d173c;
    }
    .sxlf-bghero::before {
        content: ""; position: absolute; inset: 0; z-index: 1;
        background-image:
            linear-gradient(135deg, rgba(29,23,60,.82) 0%, rgba(74,25,112,.66) 50%, rgba(156,39,176,.55) 100%),
            var(--bgi);
        background-position: center, center;
        background-size: cover, cover;
        background-repeat: no-repeat;
    }
    .sxlf-bghero-alt::before {
        background-image:
            linear-gradient(135deg, rgba(216,70,89,.78) 0%, rgba(156,39,176,.65) 60%, rgba(29,23,60,.7) 100%),
            var(--bgi);
    }
    .sxlf-bghero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
    .sxlf-bghero-eyebrow {
        display: inline-block;
        background: rgb(255 255 255 / .15);
        border: 1px solid rgb(255 255 255 / .3);
        color: #fff;
        font-size: .76em; font-weight: 700;
        letter-spacing: .12em; text-transform: uppercase;
        padding: 5px 14px; border-radius: 999px;
        margin-bottom: 14px;
    }
    .sxlf-bghero h2 {
        color: #fff !important;
        font-size: clamp(1.4em, 2.2vw, 1.85em);
        margin: 0 0 10px; line-height: 1.2;
        font-weight: 800;
        text-shadow: 0 2px 18px rgba(0,0,0,.35);
        border: 0; padding: 0;
    }
    .sxlf-bghero p {
        color: #f4e8ff;
        font-size: clamp(.95em, 1.1vw, 1em);
        margin: 0 auto 18px;
        line-height: 1.55;
        max-width: 580px;
        text-shadow: 0 1px 6px rgba(0,0,0,.3);
    }
    .sxlf-btn-primary {
        display: inline-flex; align-items: center; gap: 8px;
        background: #d84659; color: #fff !important;
        padding: 11px 26px; border-radius: 8px;
        font-weight: 700; font-size: .94em; letter-spacing: .01em;
        text-decoration: none !important;
        box-shadow: 0 8px 22px rgb(216 70 89 / .38);
        transition: transform .15s, box-shadow .15s, background .15s;
    }
    .sxlf-btn-primary:hover { background: #bd3a4c; color: #fff !important; transform: translateY(-1px); box-shadow: 0 12px 28px rgb(216 70 89 / .5); text-decoration: none !important; }
    .sxlf-btn-ghost {
        display: inline-flex; align-items: center; gap: 8px;
        background: transparent; color: #fff !important;
        padding: 11px 22px; border-radius: 8px;
        font-weight: 700; font-size: .94em;
        border: 2px solid rgb(255 255 255 / .55);
        text-decoration: none !important;
        transition: background .15s, border-color .15s;
    }
    .sxlf-btn-ghost:hover { background: rgb(255 255 255 / .15); border-color: #fff; color: #fff !important; text-decoration: none !important; }

    /* Body prose (constrained reading width) */
    .sxlf-prose-section { background: #fff; padding: 36px 20px !important; }
    .sxlf-prose { max-width: 780px; margin: 0 auto; color: #333; line-height: 1.65; font-size: .98em; }
    .sxlf-prose h2 { color: #1d173c; font-size: clamp(1.18em, 1.7vw, 1.35em); margin: 22px 0 10px; font-weight: 800; line-height: 1.25; }
    .sxlf-prose h3 { color: #9c27b0; font-size: 1.05em; margin: 18px 0 8px; font-weight: 700; }
    .sxlf-prose p  { margin: 0 0 14px; }
    .sxlf-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 22px auto; display: block; box-shadow: 0 10px 28px rgb(29 23 60 / .08); }
    .sxlf-prose a  { color: #d84659; text-decoration: none; font-weight: 600; }
    .sxlf-prose a:hover { text-decoration: underline; }
    .sxlf-prose details { background: #fff; border: 1px solid #ece8f5; border-radius: 12px; padding: 18px 22px; margin: 0 0 12px; transition: border-color .15s, box-shadow .15s; }
    .sxlf-prose details:hover { border-color: #d9c9e8; box-shadow: 0 8px 22px rgb(29 23 60 / .07); }
    .sxlf-prose details[open] { border-color: #9c27b0; }
    .sxlf-prose details > summary { color: #d84659; font-size: 1.02em; font-weight: 700; cursor: pointer; padding: 4px 0; outline: none; list-style: none; }
    .sxlf-prose details > summary::after { content: "+"; float: right; font-size: 1.4em; line-height: 1; color: #9c27b0; transition: transform .2s; }
    .sxlf-prose details[open] > summary::after { transform: rotate(45deg); }

    /* Testimonial grid (auto-fit so cards never stretch huge) */
    .sxlf-testimonials { background: linear-gradient(180deg, #faf8fd 0%, #fff 100%); }
    .sxlf-testim-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        max-width: 820px;
        margin: 0 auto;
    }
    @media (max-width: 720px) {
        .sxlf-testim-grid { grid-template-columns: 1fr; max-width: 480px; }
    }
    .sxlf-testim {
        background: #fff;
        border-radius: 10px;
        padding: 14px 18px;
        border-left: 3px solid #d84659;
        box-shadow: 0 4px 14px rgb(29 23 60 / .04);
        position: relative;
        transition: border-color .15s, box-shadow .15s;
    }
    .sxlf-testim:hover { box-shadow: 0 8px 20px rgb(29 23 60 / .07); }
    .sxlf-testim-head {
        display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
    }
    .sxlf-testim-tag {
        display: inline-block;
        background: linear-gradient(135deg, #d84659, #9c27b0);
        color: #fff;
        padding: 2px 9px; border-radius: 999px;
        font-size: .66em; font-weight: 700;
        letter-spacing: .04em; text-transform: uppercase;
    }
    .sxlf-testim-stars { color: #f5b300; font-size: .76em; letter-spacing: 2px; }
    .sxlf-testim p { color: #1d173c; font-style: italic; margin: 0 0 8px; line-height: 1.5; font-size: .85em; }
    .sxlf-testim footer { border-top: 1px solid #ece8f5; padding-top: 6px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
    .sxlf-testim footer b { color: #1d173c; font-size: .82em; }
    .sxlf-testim footer span { color: #777; font-size: .74em; }

    /* Final CTA (gradient panel) */
    .sxlf-finalcta {
        position: relative;
        margin: 36px 0 44px;
        padding: 44px 24px;
        background: linear-gradient(135deg, #1d173c 0%, #4a1970 50%, #9c27b0 100%);
        color: #fff;
        text-align: center;
        overflow: hidden;
    }
    .sxlf-finalcta::after {
        content: ""; position: absolute; inset: 0;
        background: radial-gradient(circle at 50% 120%, rgb(216 70 89 / .35), transparent 50%);
        pointer-events: none;
    }
    .sxlf-finalcta-inner { position: relative; max-width: 720px; margin: 0 auto; }
    .sxlf-finalcta h2 { color: #fff !important; font-size: clamp(1.3em, 2vw, 1.7em); margin: 0 0 10px; font-weight: 800; border: 0; padding: 0; }
    .sxlf-finalcta p  { color: #f4e8ff; font-size: .98em; margin: 0 auto 18px; max-width: 540px; line-height: 1.5; }
    .sxlf-finalcta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

    /* Mobile tweaks */
    @media(max-width: 760px) {
        .sxlf-bghero { padding: 60px 20px; }
        .sxlf-finalcta { padding: 48px 22px; margin: 40px 0; }
        .sxlf-cards, .sxlf-testim-grid { grid-template-columns: 1fr; max-width: 460px; }
        .sxlf-prose-section { padding: 36px 18px !important; }
    }
    /* Old cityforge-social rules retired — see .sxlf-social-band below */
    /* Large social-icon band (phillycharters/baltim pattern, SXLF brand) */
    .sxlf-social-band {
        background: linear-gradient(180deg, #faf8fd 0%, #fff 100%);
        text-align: center;
        padding: 38px 24px 44px;
        border-top: 1px solid #ece8f5;
    }
    .sxlf-social-band h3 {
        color: #1d173c;
        margin: 0 0 6px;
        font-size: clamp(1.2em, 1.7vw, 1.4em);
        font-weight: 800;
        letter-spacing: -.01em;
        border: 0; padding: 0;
    }
    .sxlf-social-band p {
        color: #555;
        margin: 0 auto 22px;
        font-size: .94em;
        line-height: 1.5;
        max-width: 520px;
    }
    .sxlf-social-icons {
        display: flex;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
        max-width: 680px;
        margin: 0 auto;
    }
    .sxlf-social-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #fff;
        color: #1d173c !important;
        padding: 12px 22px;
        border-radius: 11px;
        font-weight: 700;
        font-size: .92em;
        border: 1px solid #ece8f5;
        box-shadow: 0 6px 16px rgb(29 23 60 / .07);
        text-decoration: none !important;
        transition: transform .18s, box-shadow .18s, color .18s, background .18s, border-color .18s;
        min-width: 140px;
        justify-content: center;
    }
    .sxlf-social-btn svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    .sxlf-social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgb(29 23 60 / .14);
        text-decoration: none !important;
    }
    .sxlf-social-fb:hover { background: #1877f2; color: #fff !important; border-color: #1877f2; }
    .sxlf-social-x:hover  { background: #000;     color: #fff !important; border-color: #000; }
    .sxlf-social-li:hover { background: #0a66c2; color: #fff !important; border-color: #0a66c2; }
    @media (max-width: 600px) {
        .sxlf-social-band { padding: 48px 18px; }
        .sxlf-social-icons { gap: 12px; }
        .sxlf-social-btn { padding: 14px 22px; min-width: 0; flex: 1 1 100%; max-width: 320px; }
    }
    .cityforge-nearby { max-width: 1200px; margin: 40px auto 0; padding: 24px 20px; background: linear-gradient(135deg, #f6f6f9 0%, #fff 100%); border-radius: 10px; }
    .cityforge-nearby h3 { color: #9c27b0; font-size: 1.3em; margin: 0 0 6px; }
    .cityforge-nearby p.sub { color: #555; margin: 0 0 18px; font-size: 0.95em; }
    .cityforge-nearby ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
    .cityforge-nearby li a { display: block; padding: 12px 14px; background: #fff; border: 1px solid #e0e0e8; border-radius: 6px; color: #1d173c !important; font-weight: 600; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
    .cityforge-nearby li a:hover { border-color: #9c27b0; transform: translateY(-1px); text-decoration: none; }
    .cityforge-nearby li a .miles { display: block; font-size: 0.82em; color: #888; font-weight: 400; margin-top: 2px; }
