.hrg-repair-page {
    --hrg-primary: #4E56C0;
    --hrg-secondary: #9B5DE0;
    --hrg-soft: #D78FEE;
    --hrg-light: #FDCFFA;
    --hrg-dark: #1F2346;
    --hrg-text: #34364F;
    --hrg-muted: #747792;
    --hrg-border: rgba(78, 86, 192, 0.16);
    --hrg-bg: #FBF8FF;
    --hrg-white: #FFFFFF;

    width: min(1220px, calc(100% - 32px));
    margin: 32px auto;
    padding-bottom: 54px;
    direction: rtl;
    font-family: inherit;
    color: var(--hrg-text);
}

.hrg-repair-page,
.hrg-repair-page * {
    box-sizing: border-box;
}

.hrg-repair-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 58px 26px 42px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 15%, rgba(253, 207, 250, 0.75), transparent 31%),
        radial-gradient(circle at 90% 18%, rgba(215, 143, 238, 0.52), transparent 29%),
        linear-gradient(135deg, var(--hrg-primary), var(--hrg-secondary));
    box-shadow: 0 18px 45px rgba(78, 86, 192, 0.16);
}

.hrg-repair-hero:before,
.hrg-repair-hero:after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.hrg-repair-hero:before {
    width: 190px;
    height: 190px;
    top: -75px;
    right: -75px;
}

.hrg-repair-hero:after {
    width: 260px;
    height: 260px;
    bottom: -135px;
    left: -120px;
}

.hrg-repair-badge,
.hrg-repair-hero h1,
.hrg-repair-hero p,
.hrg-repair-hero-actions {
    position: relative;
    z-index: 2;
}

.hrg-repair-badge {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 14px;
    font-weight: 850;
}

.hrg-repair-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 950;
    line-height: 1.25;
}

.hrg-repair-hero p {
    max-width: 850px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 2;
}

.hrg-repair-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hrg-repair-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 19px;
    border-radius: 15px;
    font-weight: 950;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hrg-repair-btn-primary {
    background: #fff;
    color: var(--hrg-primary);
}

.hrg-repair-btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.hrg-repair-btn:hover {
    transform: translateY(-2px);
}

.hrg-repair-intro {
    margin: 24px 0;
    padding: 26px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(253, 207, 250, 0.35), rgba(255, 255, 255, 0.96)),
        #fff;
    border: 1px solid var(--hrg-border);
    box-shadow: 0 10px 28px rgba(31, 35, 70, 0.08);
}

.hrg-repair-intro strong {
    display: block;
    margin-bottom: 8px;
    color: var(--hrg-primary);
    font-size: 18px;
    font-weight: 950;
}

.hrg-repair-intro p {
    margin: 0;
    line-height: 2;
    text-align: justify;
}

.hrg-repair-note,
.hrg-repair-tip {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    line-height: 2;
    font-size: 14.5px;
}

.hrg-repair-note {
    background: rgba(253, 207, 250, 0.30);
    border-right: 4px solid var(--hrg-secondary);
}

.hrg-repair-tip {
    background: rgba(78, 86, 192, 0.07);
    border-right: 4px solid var(--hrg-primary);
}

.hrg-repair-section {
    margin-bottom: 28px;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(251, 248, 255, 0.95), rgba(255, 255, 255, 1));
    border: 1px solid var(--hrg-border);
    box-shadow: 0 10px 28px rgba(31, 35, 70, 0.08);
}

.hrg-repair-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--hrg-border);
}

.hrg-repair-section-head span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(253, 207, 250, 0.72), rgba(215, 143, 238, 0.35));
    font-size: 22px;
}

.hrg-repair-section-head h2 {
    margin: 0;
    color: var(--hrg-dark);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.5;
}

.hrg-repair-text {
    color: var(--hrg-text);
    line-height: 2;
    font-size: 15.5px;
}

.hrg-repair-text p {
    margin: 10px 0 18px;
    text-align: justify;
}

.hrg-repair-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .hrg-repair-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hrg-repair-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hrg-repair-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hrg-repair-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(78, 86, 192, 0.12);
    box-shadow: 0 8px 20px rgba(31, 35, 70, 0.06);
    transition: all 0.25s ease;
}

.hrg-repair-card:hover {
    border-color: rgba(155, 93, 224, 0.34);
    box-shadow: 0 16px 36px rgba(78, 86, 192, 0.12);
    transform: translateY(-2px);
}

.hrg-repair-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253, 207, 250, 0.72), rgba(215, 143, 238, 0.35));
    font-size: 24px;
}

.hrg-repair-card h3 {
    margin: 0 0 8px;
    color: var(--hrg-dark);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.6;
}

.hrg-repair-card p {
    margin: 0;
    color: var(--hrg-text);
    line-height: 2;
    text-align: justify;
}

.hrg-repair-card a {
    margin-top: 16px;
    color: var(--hrg-primary);
    font-weight: 950;
    text-decoration: none;
}

.hrg-repair-list {
    margin: 0 24px 0 0;
    padding: 0;
    line-height: 2;
}

.hrg-repair-list li {
    margin: 8px 0;
}

.hrg-repair-list li::marker {
    color: var(--hrg-secondary);
}

.hrg-repair-check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .hrg-repair-check-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hrg-repair-check-list li {
    position: relative;
    padding: 14px 46px 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(78, 86, 192, 0.12);
    line-height: 1.9;
}

.hrg-repair-check-list li:before {
    content: "✓";
    position: absolute;
    right: 15px;
    top: 14px;
    width: 24px;
    height: 24px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--hrg-primary), var(--hrg-secondary));
    font-weight: 950;
}

.hrg-repair-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .hrg-repair-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hrg-repair-step {
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(78, 86, 192, 0.12);
    box-shadow: 0 8px 20px rgba(31, 35, 70, 0.06);
}

.hrg-repair-step span {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--hrg-primary), var(--hrg-secondary));
    font-size: 18px;
    font-weight: 950;
}

.hrg-repair-step h3 {
    margin: 0 0 8px;
    color: var(--hrg-dark);
    font-size: 17px;
    font-weight: 950;
}

.hrg-repair-step p {
    margin: 0;
    line-height: 2;
    text-align: justify;
}

.hrg-repair-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hrg-repair-faq details {
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(78, 86, 192, 0.12);
    overflow: hidden;
}

.hrg-repair-faq summary {
    position: relative;
    display: block;
    padding: 16px 20px 16px 58px;
    cursor: pointer;
    color: var(--hrg-dark);
    font-weight: 950;
    line-height: 1.8;
    list-style: none;
    background: linear-gradient(135deg, rgba(251, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.hrg-repair-faq summary::-webkit-details-marker {
    display: none;
}

.hrg-repair-faq summary:after {
    content: "+";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--hrg-primary), var(--hrg-secondary));
    font-size: 23px;
    line-height: 1;
}

.hrg-repair-faq details[open] summary {
    color: var(--hrg-primary);
}

.hrg-repair-faq details[open] summary:after {
    content: "−";
    background: linear-gradient(135deg, var(--hrg-secondary), var(--hrg-soft));
}

.hrg-repair-faq-answer {
    padding: 0 20px 20px;
    line-height: 2;
    color: var(--hrg-text);
}

.hrg-repair-cta {
    margin-top: 30px;
    padding: 34px;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(253, 207, 250, 0.50), transparent 28%),
        linear-gradient(135deg, var(--hrg-dark), var(--hrg-primary), var(--hrg-secondary));
    box-shadow: 0 18px 45px rgba(78, 86, 192, 0.18);
}

.hrg-repair-cta-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.hrg-repair-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
}

.hrg-repair-cta p {
    max-width: 860px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 2;
    text-align: center;
}

.hrg-repair-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #fff;
    color: var(--hrg-primary);
    font-weight: 950;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hrg-repair-cta a:hover {
    background: var(--hrg-light);
    color: var(--hrg-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hrg-repair-page {
        width: min(100% - 22px, 1220px);
        margin-top: 16px;
    }

    .hrg-repair-hero {
        padding: 42px 18px 30px;
        border-radius: 22px;
    }

    .hrg-repair-hero p {
        font-size: 15px;
    }

    .hrg-repair-section {
        padding: 18px;
        border-radius: 22px;
    }

    .hrg-repair-section-head h2 {
        font-size: 19px;
    }

    .hrg-repair-card {
        padding: 20px;
        border-radius: 20px;
    }

    .hrg-repair-cta {
        padding: 26px 20px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .hrg-repair-hero h1 {
        font-size: 28px;
    }

    .hrg-repair-intro {
        padding: 20px;
    }

    .hrg-repair-section-head {
        align-items: flex-start;
    }

    .hrg-repair-section-head span {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 19px;
    }

    .hrg-repair-faq summary {
        padding: 14px 16px 14px 54px;
    }

    .hrg-repair-faq summary:after {
        left: 14px;
        width: 30px;
        height: 30px;
        font-size: 21px;
    }
}