/* ============================================================
   Brand Detail — Hero Section
   ============================================================ */

#BrandHero {
    position: relative;
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #0F70B7 0%, #0a4f85 55%, #072f4f 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

#BrandHero::before,
#BrandHero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    z-index: -1;
}

#BrandHero::before {
    width: 520px;
    height: 520px;
    background: #E30713;
    top: -180px;
    right: -120px;
}

#BrandHero::after {
    width: 420px;
    height: 420px;
    background: #17a2ff;
    bottom: -160px;
    left: -140px;
}

#BrandHero .brand-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    align-items: center;
}

#BrandHero .hero-left .badges-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

#BrandHero .hero-left .authorized-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px;
    backdrop-filter: blur(6px);
}

#BrandHero .hero-left .authorized-badge .status-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: brand-pulse-dot 1.6s ease-out infinite;
}

#BrandHero .hero-left .authorized-badge .status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.55);
    opacity: 0;
    animation: brand-pulse-ring 1.6s ease-out infinite;
}

@keyframes brand-pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
        background: #22c55e;
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
        background: #4ade80;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        background: #22c55e;
    }
}

@keyframes brand-pulse-ring {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

#BrandHero .hero-left .location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(227, 7, 19, 0.95);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

#BrandHero .hero-left .location-badge svg {
    width: 14px;
    height: 14px;
}

#BrandHero .hero-left h1 {
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

#BrandHero .hero-left h1 .brand-accent {
    display: inline-block;
    background: linear-gradient(90deg, #ffffff 0%, #ffd5d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#BrandHero .hero-left .hero-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 580px;
}

#BrandHero .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

#BrandHero .cta-appointment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #E30713;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #E30713;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 8px 22px rgba(227, 7, 19, 0.35);
}

#BrandHero .cta-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(227, 7, 19, 0.45);
}

#BrandHero .cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: transparent;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: all .25s ease;
}

#BrandHero .cta-phone:hover {
    background: #fff;
    color: #0F70B7;
    border-color: #fff;
}

#BrandHero .cta-appointment svg,
#BrandHero .cta-phone svg {
    width: 18px;
    height: 18px;
}

#BrandHero .hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

#BrandHero .highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    transition: transform .25s ease, background .25s ease;
}

#BrandHero .highlight-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
}

#BrandHero .highlight-item .icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

#BrandHero .highlight-item .icon-circle svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

#BrandHero .highlight-item span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

/* Right side — brand visual card */
#BrandHero .hero-right {
    display: flex;
    justify-content: center;
}

#BrandHero .brand-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 22px;
    padding: 46px 38px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    transform: rotate(-2deg);
    transition: transform .35s ease;
}

#BrandHero .brand-card:hover {
    transform: rotate(0deg) scale(1.02);
}

#BrandHero .brand-card .brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 22px;
    background: #f6f8fb;
    border-radius: 16px;
    padding: 20px;
}

#BrandHero .brand-card .brand-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#BrandHero .brand-card .brand-card-title {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #0F70B7;
    margin-bottom: 6px;
}

#BrandHero .brand-card .brand-card-sub {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #667085;
    letter-spacing: .4px;
    text-transform: uppercase;
}

#BrandHero .brand-card .ribbon {
    position: absolute;
    top: 18px;
    right: -8px;
    background: #E30713;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px 0 0 4px;
    text-transform: uppercase;
}

#BrandHero .brand-card .ribbon::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    border-top: 6px solid #9b050f;
    border-right: 8px solid transparent;
}

/* ============================================================
   Brand Detail — Appliances We Repair
   ============================================================ */

#BrandAppliances {
    padding: 90px 0;
    background: #f6f9fc;
    position: relative;
}

#BrandAppliances .section-head {
    text-align: center;
    margin-bottom: 50px;
}

#BrandAppliances .section-head h2 {
    color: #084582;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}

#BrandAppliances .section-head .sub {
    margin-top: 20px;
    display: inline-block;
    color: gray;
    max-width: 900px;
}

#BrandAppliances .appliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

#BrandAppliances .appliance-tile {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 26px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e7ecf2;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#BrandAppliances a.appliance-tile:hover {
    text-decoration: none;
    color: inherit;
}

#BrandAppliances .appliance-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 112, 183, 0.08), rgba(227, 7, 19, 0.06));
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
}

#BrandAppliances .appliance-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(11, 37, 64, 0.12);
    border-color: rgba(15, 112, 183, 0.35);
}

#BrandAppliances .appliance-tile:hover::before {
    opacity: 1;
}

#BrandAppliances .appliance-tile .icon-box {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0F70B7 0%, #0a4f85 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 112, 183, 0.28);
    padding: 10px;
}

#BrandAppliances .appliance-tile .icon-box svg {
    width: 100%;
    height: 100%;
    max-width: 34px;
    max-height: 34px;
    color: #fff;
    display: block;
}

#BrandAppliances .appliance-tile .icon-box svg [stroke]:not([stroke="none"]) {
    stroke: #ffffff !important;
}

#BrandAppliances .appliance-tile .icon-box svg [fill]:not([fill="none"]):not([fill="transparent"]) {
    fill: #ffffff !important;
}

#BrandAppliances .appliance-tile .icon-box svg path:not([fill]):not([stroke]),
#BrandAppliances .appliance-tile .icon-box svg g:not([fill]):not([stroke]) {
    fill: #ffffff;
    stroke: #ffffff;
}

#BrandAppliances .appliance-tile .name {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 600;
    color: #0b2540;
    line-height: 1.3;
}

#BrandAppliances .empty-state {
    text-align: center;
    padding: 40px;
    color: #667085;
    font-size: 14px;
}

/* ============================================================
   Brand Detail — Common Problems
   ============================================================ */

#BrandProblems {
    padding: 90px 0;
    background: #fff;
    position: relative;
}

#BrandProblems::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e7ecf2, transparent);
}

#BrandProblems .section-head {
    text-align: center;
    margin-bottom: 50px;
}

#BrandProblems .section-head h2 {
    color: #084582;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}

#BrandProblems .section-head .sub {
    margin-top: 20px;
    display: inline-block;
    color: gray;
    max-width: 900px;
}

#BrandProblems .problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 26px;
    max-width: 980px;
    margin: 0 auto;
}

#BrandProblems .problem-row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-left: 4px solid #E30713;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease, border-left-color .2s ease;
    text-align: center;
}

#BrandProblems .problem-row:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 24px rgba(227, 7, 19, 0.1);
    border-left-color: #0F70B7;
}

#BrandProblems .problem-row .text {
    font-size: 15px;
    color: #0b2540;
    line-height: 1.5;
    font-weight: 500;
}

#BrandProblems .problems-cta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

#BrandProblems .problems-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #0F70B7;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(15, 112, 183, 0.28);
}

#BrandProblems .problems-cta a:hover {
    background: #0a4f85;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 112, 183, 0.38);
}

#BrandProblems .problems-cta svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
    #BrandHero .brand-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    #BrandHero .hero-left h1 {
        font-size: 40px;
    }

    #BrandHero .hero-right {
        order: -1;
    }

    #BrandHero .brand-card {
        max-width: 360px;
        transform: rotate(0);
    }

    #BrandAppliances .appliance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    #BrandAppliances,
    #BrandProblems {
        padding: 70px 0;
    }

    #BrandAppliances .section-head h2,
    #BrandProblems .section-head h2 {
        font-size: 30px;
    }

    #BrandAppliances .appliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #BrandProblems .problems-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    #BrandHero {
        padding: 60px 0 50px;
    }

    #BrandHero .hero-left h1 {
        font-size: 32px;
    }

    #BrandHero .hero-left .hero-description {
        font-size: 14px;
    }

    #BrandHero .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    #BrandHero .cta-appointment,
    #BrandHero .cta-phone {
        padding: 12px 20px;
        font-size: 14px;
    }

    #BrandHero .brand-card .brand-logo-wrap {
        height: 150px;
    }
}

@media (max-width: 600px) {
    #BrandAppliances .appliance-grid {
        grid-template-columns: 1fr;
    }

    #BrandAppliances .appliance-tile {
        padding: 20px 18px;
    }
}

@media (max-width: 420px) {
    #BrandHero .hero-highlights {
        grid-template-columns: 1fr;
    }

    #BrandAppliances .section-head h2,
    #BrandProblems .section-head h2 {
        font-size: 26px;
    }
}
