/* ==========================================================================
   LOCATION PAGE — theme tokens inherited from home.css :root
   ========================================================================== */

/* ── Hero ── */
.loc-hero {
    position: relative;
    background: linear-gradient(160deg, #040d1c 0%, #0b2545 40%, #0d3262 70%, #071a35 100%);
    color: #fff;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Top-edge amber accent bar */
.loc-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--msf-accent, #f5a623) 30%, var(--msf-accent, #f5a623) 70%, transparent);
    z-index: 5;
}

/* Bottom fade */
.loc-hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(6,16,31,0.35));
    z-index: 2;
    pointer-events: none;
}

/* Dot-grid texture overlay */
.loc-hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Glowing orbs */
.loc-hero__bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 2;
}
.loc-hero__bg-orb--1 {
    width: 680px; height: 680px;
    top: -220px; right: -120px;
    background: radial-gradient(circle, rgba(245,166,35,0.38) 0%, rgba(245,166,35,0.12) 45%, transparent 70%);
    animation: orb-float 8s ease-in-out infinite;
}
.loc-hero__bg-orb--2 {
    width: 520px; height: 520px;
    bottom: -160px; left: -100px;
    background: radial-gradient(circle, rgba(31,122,224,0.34) 0%, rgba(31,122,224,0.08) 50%, transparent 70%);
    animation: orb-float 11s ease-in-out infinite reverse;
}
.loc-hero__bg-orb--3 {
    width: 320px; height: 320px;
    top: 30%; left: 34%;
    background: radial-gradient(circle, rgba(245,166,35,0.16) 0%, transparent 70%);
    animation: orb-float 14s ease-in-out infinite;
    filter: blur(55px);
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-28px) scale(1.06); }
}

/* Shimmer sweep */
.loc-hero__bg-shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
        118deg,
        transparent 20%,
        rgba(255,255,255,0.04) 40%,
        rgba(245,166,35,0.06) 50%,
        rgba(255,255,255,0.04) 60%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: hero-shimmer 6s ease-in-out infinite;
}

@keyframes hero-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loc-hero__inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 4;
}

.loc-hero__content { color: #fff; }

.loc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.12);
    border: 1px solid rgba(245,166,35,0.35);
    color: var(--msf-accent, #f5a623);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.loc-hero__h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 16px;
}

.loc-hero__lead {
    font-size: 1.05rem;
    color: rgba(232,240,250,0.75);
    line-height: 1.65;
    margin: 0 0 24px;
}

.loc-hero__checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loc-hero__checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.97rem;
    color: rgba(232,240,250,0.9);
}

.loc-hero__checklist li i {
    color: var(--msf-accent, #f5a623);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.loc-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--msf-accent, #f5a623);
    color: #0b2545;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.loc-hero__cta:hover {
    background: var(--msf-accent-dark, #d98a08);
    color: #fff;
    transform: translateY(-2px);
}

/* Form wrapper inside hero — matches .home-form-card exactly */
.loc-hero__form-wrap {
    background: #fff;
    border-radius: var(--msf-radius, 16px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    padding: 6px;
    border-top: 6px solid var(--msf-accent, #f5a623);
    position: relative;
    z-index: 4;
}

.loc-hero__form-wrap .login-form {
    padding: 24px 24px 26px;
}

/* Field styling inside location hero form */
.loc-hero__form-wrap .form-floating > label {
    color: var(--msf-muted, #5b6b7b);
    font-weight: 600;
}

.loc-hero__form-wrap .form-floating > label i {
    color: var(--msf-accent-dark, #d98a08);
    margin-right: 6px;
}

.loc-hero__form-wrap .form-control {
    border-radius: 11px;
    border: 1.5px solid var(--msf-line, #e4e9f0);
    background: var(--msf-bg-soft, #f4f7fb);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.loc-hero__form-wrap .form-control:focus {
    border-color: var(--msf-accent, #f5a623);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}

.loc-hero__form-wrap .btn-primary,
.loc-hero__form-wrap .quote-form__submit {
    background: var(--msf-accent, #f5a623) !important;
    color: var(--msf-navy-deep, #08182f) !important;
    font-weight: 800;
    font-size: 1.02rem;
    border: 0;
    width: 100%;
    box-shadow: 0 12px 26px rgba(245,166,35,0.34);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.loc-hero__form-wrap .btn-primary:hover,
.loc-hero__form-wrap .quote-form__submit:hover {
    background: var(--msf-accent-dark, #d98a08) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ── Intro section ── */
.loc-intro {
    background: var(--msf-bg-soft, #f4f7fb);
    padding: 64px 0;
}

.loc-intro__body {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.loc-intro__body p {
    font-size: 1.02rem;
    color: var(--msf-ink, #1c2733);
    line-height: 1.78;
    margin: 0 0 18px;
}

.loc-intro__body p:last-child { margin-bottom: 0; }

/* ── Section shared ── */
.loc-section {
    padding: 72px 0;
}

.loc-section--alt {
    background: var(--msf-bg-soft, #f4f7fb);
}

.loc-section--navy {
    background: var(--msf-navy, #0b2545);
    color: #fff;
}

/* Center-align all section headers */
.loc-section__eyebrow {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--msf-accent, #f5a623);
    margin-bottom: 12px;
}

.loc-section__heading {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--msf-navy, #0b2545);
    margin: 0 0 12px;
    line-height: 1.2;
    text-align: center;
}

.loc-section--navy .loc-section__heading {
    color: #fff;
}

.loc-section__subtext {
    font-size: 1rem;
    color: var(--msf-muted, #5b6b7b);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.loc-section--navy .loc-section__subtext {
    color: rgba(232,240,250,0.7);
}

/* ── Why cards ── */
.loc-why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.loc-why__card {
    background: #fff;
    border: 1px solid var(--msf-line, #e4e9f0);
    border-radius: var(--msf-radius, 16px);
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.loc-why__card:hover {
    box-shadow: var(--msf-shadow, 0 18px 45px rgba(11,37,69,0.14));
    transform: translateY(-3px);
}

.loc-why__icon {
    width: 48px;
    height: 48px;
    background: rgba(245,166,35,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--msf-accent, #f5a623);
    font-size: 1.25rem;
}

.loc-why__card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--msf-navy, #0b2545);
    margin: 0 0 8px;
}

.loc-why__card p {
    font-size: 0.93rem;
    color: var(--msf-muted, #5b6b7b);
    line-height: 1.65;
    margin: 0;
}

/* ── Services grid ── */
.loc-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.loc-service-card {
    background: #fff;
    border: 1px solid var(--msf-line, #e4e9f0);
    border-radius: var(--msf-radius, 16px);
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.loc-service-card:hover {
    box-shadow: 0 12px 36px rgba(11,37,69,0.12);
    transform: translateY(-3px);
}

.loc-service-card__icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--msf-navy, #0b2545), #1a4480);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--msf-accent, #f5a623);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.loc-service-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--msf-navy, #0b2545);
    margin: 0;
    line-height: 1.25;
}

.loc-service-card p {
    font-size: 0.9rem;
    color: var(--msf-muted, #5b6b7b);
    line-height: 1.62;
    margin: 0;
    flex: 1;
}

.loc-service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--msf-navy, #0b2545);
    text-decoration: none;
    border: 2px solid var(--msf-accent, #f5a623);
    border-radius: 50px;
    padding: 8px 18px;
    transition: background 0.18s, color 0.18s;
    width: fit-content;
}

.loc-service-card__cta:hover {
    background: var(--msf-accent, #f5a623);
    color: #0b2545;
}

/* ── Certified / Install cards ── */
.loc-cert__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.loc-cert__card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--msf-radius, 16px);
    padding: 26px 22px;
}

.loc-cert__card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--msf-accent, #f5a623);
    margin: 0 0 10px;
}

.loc-cert__card p {
    font-size: 0.92rem;
    color: rgba(232,240,250,0.75);
    line-height: 1.65;
    margin: 0;
}

/* ── Coverage / areas ── */
.loc-coverage {
    padding: 72px 0;
    background: var(--msf-bg-soft, #f4f7fb);
    text-align: center;
}

.loc-coverage .loc-section__eyebrow,
.loc-coverage .loc-section__heading {
    text-align: center;
}

.loc-coverage__body {
    max-width: 700px;
    margin: 0 auto 24px;
}

.loc-coverage__body p {
    font-size: 1rem;
    color: var(--msf-ink, #1c2733);
    line-height: 1.75;
    margin: 0 0 16px;
    text-align: center;
}

.loc-coverage__areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 0 auto;
    justify-content: center;
}

.loc-coverage__areas li {
    background: #fff;
    border: 1px solid var(--msf-line, #e4e9f0);
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 0.9rem;
    color: var(--msf-navy, #0b2545);
    font-weight: 600;
}

/* ── Reviews ── */
.loc-reviews {
    padding: 72px 0;
    text-align: center;
}

.loc-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.loc-review-card {
    background: #fff;
    border: 1px solid var(--msf-line, #e4e9f0);
    border-radius: var(--msf-radius, 16px);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(11,37,69,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.loc-review-card:hover {
    box-shadow: 0 12px 36px rgba(11,37,69,0.12);
    transform: translateY(-3px);
}

.loc-review-card__stars {
    display: flex;
    gap: 3px;
    color: var(--msf-accent, #f5a623);
    font-size: 1rem;
}

.loc-review-card__quote {
    font-size: 0.95rem;
    color: var(--msf-ink, #1c2733);
    line-height: 1.72;
    flex: 1;
    font-style: italic;
    margin: 0;
}

.loc-review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.loc-review-card__avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--msf-navy, #0b2545), #1a4480);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--msf-accent, #f5a623);
    font-size: 1rem;
    flex-shrink: 0;
}

.loc-review-card__meta strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--msf-navy, #0b2545);
    margin-bottom: 2px;
}

.loc-review-card__meta a {
    font-size: 0.8rem;
    color: var(--msf-muted, #5b6b7b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.loc-review-card__meta a:hover { color: var(--msf-accent, #f5a623); }

/* ── Schedule / CTA section ── */
.loc-schedule {
    padding: 72px 0;
    background: var(--msf-navy, #0b2545);
    color: #fff;
}

.loc-schedule__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.loc-schedule__info h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.25;
}

.loc-schedule__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--msf-accent, #f5a623);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.15s;
}

.loc-schedule__phone:hover { color: #fff; }

.loc-schedule__phone i { font-size: 1.2rem; }

.loc-schedule__hours {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.97rem;
    color: rgba(232,240,250,0.75);
    margin-bottom: 28px;
}

.loc-schedule__hours i { color: var(--msf-accent, #f5a623); }

.loc-schedule__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--msf-accent, #f5a623);
    color: #0b2545;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.loc-schedule__cta:hover {
    background: #fff;
    color: var(--msf-navy, #0b2545);
}

.loc-schedule__map {
    border-radius: var(--msf-radius, 16px);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.loc-schedule__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .loc-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .loc-hero__inner {
        grid-template-columns: 1fr 440px;
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .loc-hero__inner {
        grid-template-columns: 1fr;
    }
    .loc-hero__form-wrap {
        max-width: 540px;
    }
    .loc-why__grid { grid-template-columns: repeat(2, 1fr); }
    .loc-cert__grid { grid-template-columns: repeat(2, 1fr); }
    .loc-reviews__grid { grid-template-columns: repeat(2, 1fr); }
    .loc-schedule__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
    .loc-hero { padding: 100px 0 56px; }
    .loc-why__grid { grid-template-columns: 1fr; }
    .loc-services__grid { grid-template-columns: 1fr; }
    .loc-cert__grid { grid-template-columns: 1fr; }
    .loc-reviews__grid { grid-template-columns: 1fr; }
    .loc-schedule__map iframe { height: 280px; }
}
