.equipment-repair-page {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(28, 155, 205, 0.08), transparent 30rem),
        radial-gradient(circle at 88% 16%, rgba(255, 122, 33, 0.06), transparent 28rem),
        #050b14;
    color: #eef5fb;
}

.equipment-repair-page .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(62, 150, 197, 0.18);
    background: rgba(7, 17, 31, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.equipment-repair-page .site-nav {
    position: static;
    display: flex;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem clamp(1rem, 3vw, 1.5rem);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.equipment-repair-page .site-nav > a {
    display: inline-flex;
    flex: 0 0 auto;
}

.equipment-repair-page .site-nav img {
    display: block;
    width: 186px;
    max-width: 48vw;
    height: auto;
}

.equipment-repair-page .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.8rem);
    color: rgba(238, 246, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
}

.equipment-repair-page .nav-links a {
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

.equipment-repair-page .nav-links a:hover,
.equipment-repair-page .nav-links a:focus-visible {
    color: #68dcff;
}

.equipment-repair-page main {
    overflow: hidden;
}

.repair-container {
    width: min(100% - 3rem, 1180px);
    margin-inline: auto;
}

.repair-hero {
    position: relative;
    padding: clamp(7.5rem, 12vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
    border-bottom: 1px solid rgba(84, 157, 192, 0.16);
}

.repair-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(5, 11, 20, 0.16), rgba(5, 11, 20, 0.88)),
        linear-gradient(90deg, rgba(33, 131, 173, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(33, 131, 173, 0.045) 1px, transparent 1px);
    background-size: auto, 58px 58px, 58px 58px;
}

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

.repair-breadcrumb {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.repair-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #8499aa;
    font-size: 0.9rem;
}

.repair-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.55rem;
    color: rgba(122, 151, 173, 0.58);
}

.repair-breadcrumb a {
    color: #b5c5d1;
    text-decoration: none;
}

.repair-breadcrumb a:hover,
.repair-breadcrumb a:focus-visible {
    color: #26d5f3;
}

.repair-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
}

.repair-eyebrow,
.repair-section-label {
    margin: 0 0 0.9rem;
    color: #30d7f4;
    font-family: 'Poppins', 'Noto Sans TC', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.repair-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.7rem, 4.8vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
}

.repair-hero__description {
    max-width: 37rem;
    margin: 1.55rem 0 2rem;
    color: #b7c5d0;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.9;
}

.repair-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.78rem 1.45rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.repair-button--primary {
    border: 1px solid #ff7a21;
    background: #ff7a21;
    color: #08101a;
    box-shadow: 0 10px 28px rgba(255, 122, 33, 0.16);
}

.repair-button:hover,
.repair-button:focus-visible {
    transform: translateY(-2px);
}

.repair-button--primary:hover,
.repair-button--primary:focus-visible {
    border-color: #ff9a55;
    background: #ff8a3b;
}

.repair-button:focus-visible,
.repair-case-card__media:focus-visible,
.repair-case-gallery button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.repair-hero__visual {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(48, 199, 232, 0.36);
    border-radius: 8px;
    background: #05090e;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), 0 0 30px rgba(0, 212, 255, 0.05);
}

.repair-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.repair-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.repair-section-heading {
    max-width: 44rem;
    margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
}

.repair-section-heading--wide {
    max-width: 52rem;
}

.repair-section-heading--left {
    margin: 0;
    text-align: left;
}

.repair-section-heading > p:last-child {
    margin: 1rem 0 0;
    color: #9fb2c1;
    line-height: 1.8;
}

.repair-section h2,
.repair-contact-section h2 {
    margin: 0;
    color: #f6f9fc;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.repair-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.repair-support-card {
    min-height: 190px;
    padding: 1.6rem;
    border: 1px solid rgba(87, 151, 184, 0.28);
    border-radius: 8px;
    background: rgba(9, 22, 37, 0.78);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.repair-support-card:hover {
    transform: translateY(-3px);
    border-color: rgba(48, 215, 244, 0.48);
}

.repair-support-card > span {
    color: #ff7a21;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.repair-support-card h3 {
    margin: 1.6rem 0 0.65rem;
    color: #f6f9fc;
    font-size: 1.12rem;
    font-weight: 700;
}

.repair-support-card p {
    margin: 0;
    color: #9fb2c1;
    font-size: 0.95rem;
    line-height: 1.75;
}

.repair-cases-section {
    border-block: 1px solid rgba(84, 157, 192, 0.15);
    background: rgba(7, 17, 29, 0.72);
}

.repair-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.repair-case-card {
    display: flex;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(83, 146, 178, 0.3);
    border-radius: 8px;
    background: #081421;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.repair-case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(48, 215, 244, 0.5);
}

.repair-case-card__media,
.repair-case-gallery__main {
    position: relative;
    width: 100%;
    height: 320px;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #111820;
    cursor: zoom-in;
}

.repair-case-card__media img,
.repair-case-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.repair-case-card__view {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 4px;
    background: rgba(3, 8, 14, 0.82);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.repair-case-card__body {
    flex: 1;
    padding: 1.3rem 1.35rem 1.45rem;
}

.repair-case-card__body p {
    margin: 0 0 0.55rem;
    color: #ff944d;
    font-size: 0.8rem;
    font-weight: 700;
}

.repair-case-card__body h3 {
    margin: 0;
    color: #f1f6fa;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.5;
}

.repair-case-card__body > span {
    display: block;
    margin-top: 0.55rem;
    color: #8399a9;
    font-size: 0.78rem;
    line-height: 1.5;
}

.repair-case-gallery {
    height: 320px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 66px;
    gap: 0.45rem;
    padding-bottom: 0.45rem;
    background: #111820;
}

.repair-case-gallery__main {
    height: 100%;
}

.repair-case-gallery__thumbs {
    min-width: 0;
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0 0.45rem;
    scrollbar-width: thin;
}

.repair-case-gallery__thumbs button {
    flex: 1 0 72px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(102, 143, 166, 0.32);
    border-radius: 4px;
    background: #09111a;
    cursor: pointer;
}

.repair-case-gallery__thumbs button.is-active {
    border-color: #ff7a21;
    box-shadow: 0 0 0 1px rgba(255, 122, 33, 0.35);
}

.repair-case-gallery__thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.repair-summary-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.repair-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.repair-summary-list li {
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: 1px solid rgba(87, 151, 184, 0.24);
    border-radius: 6px;
    background: rgba(9, 22, 37, 0.58);
    color: #d5e0e8;
    font-weight: 600;
}

.repair-summary-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid #30d7f4;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #07111d;
}

.repair-contact-section {
    padding: 0 0 clamp(5rem, 9vw, 8rem);
}

.repair-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(48, 215, 244, 0.34);
    border-radius: 8px;
    background: linear-gradient(115deg, rgba(9, 25, 42, 0.94), rgba(5, 13, 23, 0.96));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.repair-contact-panel > div {
    max-width: 45rem;
}

.repair-contact-panel p:last-child {
    margin: 1rem 0 0;
    color: #aabcc9;
    line-height: 1.8;
}

.repair-lightbox {
    width: min(94vw, 1100px);
    max-width: none;
    max-height: 92vh;
    margin: auto;
    overflow: visible;
    padding: 1rem;
    border: 1px solid rgba(68, 187, 225, 0.42);
    border-radius: 8px;
    background: #050b14;
    color: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.repair-lightbox::backdrop {
    background: rgba(0, 4, 9, 0.86);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.repair-lightbox figure {
    margin: 0;
}

.repair-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 5rem);
    object-fit: contain;
}

.repair-lightbox figcaption {
    padding: 0.9rem 0.25rem 0;
    color: #d8e4eb;
    text-align: center;
}

.repair-lightbox__close {
    position: absolute;
    top: -0.9rem;
    right: -0.9rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 139, 70, 0.7);
    border-radius: 50%;
    background: #09131f;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.repair-lightbox__close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.repair-lightbox-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .repair-hero__layout,
    .repair-summary-layout {
        grid-template-columns: 1fr;
    }

    .repair-hero__content {
        max-width: 46rem;
    }

    .repair-support-grid,
    .repair-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .repair-section-heading--left {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .repair-container {
        width: min(100% - 2rem, 1180px);
    }

    .equipment-repair-page .site-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .equipment-repair-page .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 0.55rem;
        font-size: 0.78rem;
    }

    .equipment-repair-page .site-nav .theme-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .repair-hero {
        padding-top: 6.5rem;
    }

    .repair-breadcrumb {
        margin-bottom: 2.2rem;
    }

    .repair-hero__layout {
        gap: 2.25rem;
    }

    .repair-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .repair-button {
        width: 100%;
        min-height: 48px;
    }

    .repair-support-grid,
    .repair-case-grid,
    .repair-summary-list {
        grid-template-columns: 1fr;
    }

    .repair-support-card {
        min-height: auto;
    }

    .repair-case-card__media,
    .repair-case-gallery {
        height: 300px;
    }

    .repair-case-gallery {
        grid-template-rows: minmax(0, 1fr) 64px;
    }

    .repair-contact-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 1.75rem;
    }

    .repair-lightbox {
        width: calc(100vw - 1.5rem);
        padding: 0.65rem;
    }

    .repair-lightbox__close {
        top: -0.55rem;
        right: -0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .repair-button,
    .repair-support-card,
    .repair-case-card {
        transition: none;
    }
}
