/* ==========================================================================
   OnlineTechSupport.biz — Location Pages Design System (arizona/*.html)
   Linked AFTER light-theme.css on /arizona/ pages only.
   Purpose: give every city landing page a distinct, conversion-focused
   structure that is deliberately different from service pages. Five
   archetypes share these modules: City Report, District Guide, Industry
   Spotlight, Growth Playbook, Community Standard.

   Palette reuses the site tokens: navy #0f1b2d, orange #c2410c/#ea580c,
   white base. No new colors. No radial washes. No em/en dashes in copy.
   ========================================================================== */

/* ==========================================================================
   1. LOCATION HERO — navy band, white text (deliberately NOT the white
   service-header used on service pages)
   ========================================================================== */
.loc-hero {
    position: relative;
    background: var(--navy-gradient);
    color: #fff;
    padding: clamp(7rem, 11vw, 9.5rem) 0 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 27, 45, 0.1);
}

/* Thin orange rule — the location-page mark */
.loc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 55%, transparent 100%);
}

/* Faint engineering grid texture (not a radial wash) */
.loc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.loc-hero .container { position: relative; z-index: 1; }

.loc-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0.4rem 0 1.25rem;
    max-width: 760px;
}

.loc-hero h1 .loc-accent-word { color: var(--accent-2); }

.loc-hero-lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 1.75rem;
}

.loc-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.loc-hero-actions .btn { border-radius: 12px; padding: 0.8rem 1.7rem; font-weight: 600; }

.loc-hero-actions .btn-loc-primary {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px rgba(194, 65, 12, 0.4);
}
.loc-hero-actions .btn-loc-primary:hover,
.loc-hero-actions .btn-loc-primary:focus-visible {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.5);
}

.loc-hero-actions .btn-loc-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}
.loc-hero-actions .btn-loc-ghost:hover,
.loc-hero-actions .btn-loc-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Breadcrumb on navy */
.loc-crumb {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.loc-crumb a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.loc-crumb a:hover { color: #fff; text-decoration: underline; }
.loc-crumb .loc-crumb-here { color: var(--accent-2); font-weight: 600; }

/* Small-caps label with orange dash */
.loc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.6rem;
}
.loc-eyebrow::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-2);
}
.loc-hero .loc-eyebrow { color: #fb923c; }
.loc-hero .loc-eyebrow::before { background: #fb923c; }

/* Hero chips (sector / audience tags) */
.loc-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    max-width: 640px;
}
.loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}
.loc-chip i { color: #fb923c; }
.loc-chip:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* City snapshot card (hero right column) */
.loc-snapshot {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(8, 15, 26, 0.4);
    padding: 1.75rem 1.75rem 1.5rem;
    color: var(--text-primary);
}
.loc-snapshot h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.loc-snapshot h2 i { color: var(--accent-2); }
.loc-snap-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.16);
    font-size: 0.92rem;
}
.loc-snap-row:last-child { border-bottom: 0; }
.loc-snap-row .k { color: var(--text-secondary); font-weight: 500; }
.loc-snap-row .v { color: var(--navy); font-weight: 700; text-align: right; }
.loc-snap-row .v em { font-style: normal; color: var(--accent); }
.loc-snap-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   2. SECTIONS & BANDS
   ========================================================================== */
.loc-section { padding: 5rem 0; }
.loc-section--tint { background: #f4f7fb; border-top: 1px solid rgba(15, 27, 45, 0.07); border-bottom: 1px solid rgba(15, 27, 45, 0.07); }
.loc-section--navy {
    background: var(--navy-gradient);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.loc-section--navy .loc-h2 { color: #fff; }
.loc-section--navy .loc-sub { color: rgba(255, 255, 255, 0.82); }
.loc-section--navy .loc-eyebrow { color: #fb923c; }
.loc-section--navy .loc-eyebrow::before { background: #fb923c; }

.loc-h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.loc-sub {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.25rem;
}
.loc-section--navy .loc-sub { max-width: 680px; }

/* Big stat numbers band */
.loc-statband { display: flex; flex-wrap: wrap; }
.loc-stat {
    flex: 1 1 200px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-left: 1px solid rgba(15, 27, 45, 0.1);
}
.loc-stat:first-child { border-left: 0; }
.loc-stat b {
    display: block;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.1;
}
.loc-stat b span { color: var(--accent); }
.loc-stat p { margin: 0.35rem 0 0; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* ==========================================================================
   3. QUESTION CARDS — local search intent (City Report)
   ========================================================================== */
.loc-qcard {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.loc-qcard:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
    transform: translateY(-3px);
}
.loc-qcard i {
    color: var(--accent-2);
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}
.loc-qcard h3 { font-size: 1.04rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.loc-qcard p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ==========================================================================
   4. DISTRICT CARDS (District Guide)
   ========================================================================== */
.loc-district {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.6rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.loc-district:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
}
.loc-district-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.loc-district-head .loc-pin {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-district-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0; }
.loc-district-head .loc-district-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.loc-district p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.9rem; }
.loc-district ul { list-style: none; padding: 0; margin: 0; }
.loc-district ul li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--text-primary);
    padding: 0.28rem 0;
}
.loc-district ul li i { color: #16a34a; line-height: 1.4; }

/* ==========================================================================
   5. INDUSTRY ROWS — numbered editorial (Industry Spotlight)
   ========================================================================== */
.loc-industry-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    padding: 1.9rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.18);
    align-items: start;
}
.loc-industry-row:first-child { padding-top: 0.5rem; }
.loc-industry-row:last-child { border-bottom: 0; padding-bottom: 0.5rem; }
.loc-industry-num {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: rgba(15, 27, 45, 0.16);
    -webkit-text-stroke: 1.5px rgba(15, 27, 45, 0.35);
    color: transparent;
    padding-top: 0.15rem;
}
.loc-industry-row h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.loc-industry-row p { font-size: 0.94rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.75rem; max-width: 620px; }
.loc-industry-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.loc-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(15, 27, 45, 0.05);
    border: 1px solid rgba(15, 27, 45, 0.14);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    text-decoration: none;
}
.loc-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(194, 65, 12, 0.06); }

/* ==========================================================================
   6. TIMELINE — launch steps (Growth Playbook)
   ========================================================================== */
.loc-timeline { display: flex; flex-direction: column; }
.loc-tstep {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1.35rem;
    position: relative;
    padding-bottom: 2.25rem;
}
.loc-tstep:last-child { padding-bottom: 0; }
.loc-tstep::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 0.25rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(27, 58, 92, 0.3), transparent);
}
.loc-tstep:last-child::before { display: none; }
.loc-tstep-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    z-index: 1;
}
.loc-tstep h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.loc-tstep p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.65; margin: 0; max-width: 560px; }

/* ==========================================================================
   7. TWO TRACKS — new vs established (Growth Playbook)
   ========================================================================== */
.loc-track {
    border-radius: var(--radius);
    padding: 1.9rem;
    height: 100%;
}
.loc-track--new {
    background: var(--navy-gradient);
    color: #fff;
    border: 1px solid var(--navy);
    box-shadow: 0 18px 50px rgba(15, 27, 45, 0.3);
}
.loc-track--est {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.14);
    box-shadow: 0 12px 36px rgba(15, 27, 45, 0.08);
}
.loc-track h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.4rem; }
.loc-track--new h3 { color: #fff; }
.loc-track--est h3 { color: var(--navy); }
.loc-track .loc-track-sub { font-size: 0.88rem; margin-bottom: 1.1rem; }
.loc-track--new .loc-track-sub { color: rgba(255, 255, 255, 0.82); }
.loc-track--est .loc-track-sub { color: var(--text-secondary); }
.loc-track ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.loc-track ul li { display: flex; gap: 0.55rem; padding: 0.32rem 0; font-size: 0.9rem; line-height: 1.5; }
.loc-track--new ul li { color: rgba(255, 255, 255, 0.92); }
.loc-track--est ul li { color: var(--text-primary); }
.loc-track ul li i { margin-top: 0.15rem; }
.loc-track--new ul li i { color: #fb923c; }
.loc-track--est ul li i { color: var(--accent); }

/* ==========================================================================
   8. ORGANIZATION CARDS — HOAs, clubs, practices (Community Standard)
   ========================================================================== */
.loc-org {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.loc-org:hover {
    border-color: rgba(194, 65, 12, 0.45);
    box-shadow: 0 14px 38px rgba(15, 27, 45, 0.12);
}
.loc-org .loc-org-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-org h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.loc-org p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ==========================================================================
   9. SCENARIO BLOCKS — typical local requests (honest framing, no fake names)
   ========================================================================== */
.loc-scenario {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 27, 45, 0.07);
    position: relative;
}
.loc-scenario .loc-scenario-mark {
    color: var(--accent-2);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.loc-scenario .loc-scenario-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.loc-scenario p { font-size: 0.93rem; color: var(--text-primary); line-height: 1.65; margin-bottom: 0.9rem; }
.loc-scenario a { font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.loc-scenario a:hover { text-decoration: underline; }

/* ==========================================================================
   10. FAQ ACCORDION — locally specific questions
   ========================================================================== */
.loc-faq .accordion-item {
    background: #fff;
    border: 1px solid rgba(15, 27, 45, 0.12);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    overflow: hidden;
}
.loc-faq .accordion-button {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1.1rem 1.3rem;
    box-shadow: none;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f1b2d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c2410c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.loc-faq .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(194, 65, 12, 0.045);
    box-shadow: none;
}
.loc-faq .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.18);
}
.loc-faq .accordion-body {
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
    padding: 0 1.3rem 1.25rem;
}

/* ==========================================================================
   11. NEARBY CITIES + SERVICE LINK ROWS
   ========================================================================== */
.loc-nearby { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.loc-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border: 1.5px solid rgba(15, 27, 45, 0.28);
    border-radius: 999px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.loc-chip-link:hover,
.loc-chip-link:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.loc-chip-link i { font-size: 0.8rem; }

.loc-linkrow {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px dashed rgba(15, 27, 45, 0.18);
}
.loc-linkrow:last-child { border-bottom: 0; }
.loc-linkrow .loc-linkrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--navy-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.loc-linkrow h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 0.2rem; }
.loc-linkrow p { font-size: 0.86rem; color: var(--text-secondary); margin: 0; }
.loc-linkrow a {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.loc-linkrow a:hover { text-decoration: underline; }

/* Rate rows (reuse light-theme .rate-panel on location pages) */
.loc-rate .rate-panel { height: 100%; }

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .loc-hero { padding-top: 6.5rem; }
    .loc-snapshot { margin-top: 2.25rem; max-width: 480px; }
    .loc-industry-row { grid-template-columns: 48px 1fr; gap: 1rem; }
    .loc-industry-num { font-size: 1.9rem; }
    .loc-stat { border-left: 0; border-bottom: 1px solid rgba(15, 27, 45, 0.1); }
    .loc-stat:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
    .loc-section { padding: 3.75rem 0; }
    .loc-hero-actions .btn { width: 100%; justify-content: center; }
    .loc-linkrow { grid-template-columns: 40px 1fr; }
    .loc-linkrow a { grid-column: 2; }
}

/* Ultra-wide safety: never let content stretch on 4K/ultrawide */
@media (min-width: 1920px) {
    .loc-hero h1 { max-width: 860px; }
    .loc-hero-lead { max-width: 700px; }
}
