﻿/* لندینگ تعمیرات — تم تیره ثابت، هم‌راستا با پالت شمس دنتکس */
.repairs-landing-body {
    --rl-bg: #041c35;
    --rl-surface: #0b2f5b;
    --rl-surface-2: #02101f;
    --rl-accent: #4a90d9;
    --rl-text: #e8eef5;
    --rl-muted: #9db3c9;
    --rl-border: rgba(74, 144, 217, 0.22);
    background: var(--rl-bg);
    color: var(--rl-text);
    min-height: 100vh;
    font-family: WPGFont, Tahoma, sans-serif;
    padding-top: 0;
}

.repairs-landing-body a { color: var(--rl-accent); text-decoration: none; }
.repairs-landing-body a:hover { color: #7ab8f0; text-decoration: underline; }

.repairs-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(4, 28, 53, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rl-border);
}
.repairs-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}
.repairs-logo img { height: 42px; width: auto; }
.repairs-topbar-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.repairs-topbar-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.45rem 1rem;
}
.repairs-btn-outline {
    border: 1px solid var(--rl-border);
    color: var(--rl-text);
    background: transparent;
}
.repairs-btn-outline:hover { background: rgba(74, 144, 217, 0.15); color: #fff; border-color: var(--rl-accent); }
.repairs-btn-primary {
    background: linear-gradient(135deg, var(--C1, #0b2f5b), var(--C3, #274973));
    border: none;
    color: #fff;
}
.repairs-btn-primary:hover { filter: brightness(1.08); color: #fff; }

.repairs-hero {
    padding: 3rem 0 2.5rem;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 144, 217, 0.18), transparent 55%);
}
.repairs-hero h1 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.35;
}
.repairs-hero-lead {
    font-size: 1.05rem;
    color: var(--rl-muted);
    max-width: 42rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.repairs-badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.repairs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(74, 144, 217, 0.12);
    border: 1px solid var(--rl-border);
    color: var(--rl-text);
}

.repairs-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--rl-border);
}
.repairs-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.repairs-section h2 i { color: var(--rl-accent); }
.repairs-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.repairs-card {
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.repairs-card:hover {
    border-color: rgba(74, 144, 217, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.repairs-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.repairs-card p { font-size: 0.9rem; color: var(--rl-muted); margin: 0; line-height: 1.7; }

.repairs-steps { counter-reset: rlstep; list-style: none; padding: 0; margin: 0; }
.repairs-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: var(--rl-surface-2);
    border-radius: 10px;
    border: 1px solid var(--rl-border);
    color: var(--rl-muted);
    line-height: 1.75;
}
.repairs-steps li::before {
    counter-increment: rlstep;
    content: counter(rlstep);
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--rl-accent);
    color: #041c35;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.repairs-terms {
    background: var(--rl-surface);
    border-radius: 12px;
    border: 1px solid var(--rl-border);
    padding: 1.5rem;
}
.repairs-terms ul { margin: 0; padding-right: 1.25rem; color: var(--rl-muted); line-height: 1.9; }

.repairs-form-wrap {
    background: var(--rl-surface);
    border: 1px solid var(--rl-border);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
}
.repairs-form-wrap.loading { pointer-events: none; opacity: 0.72; }
.repairs-form-wrap .form-label { color: var(--rl-text); font-weight: 600; font-size: 0.9rem; }
.repairs-form-wrap .form-control,
.repairs-form-wrap textarea.form-control {
    background: var(--rl-surface-2);
    border: 1px solid var(--rl-border);
    color: var(--rl-text);
    border-radius: 8px;
}
.repairs-form-wrap .form-control:focus {
    border-color: var(--rl-accent);
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.25);
    background: #021828;
    color: #fff;
}
.repairs-form-wrap .form-text { color: var(--rl-muted); font-size: 0.8rem; }
.repairs-captcha-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.repairs-captcha-row img { border-radius: 6px; border: 1px solid var(--rl-border); }

.repairs-footer {
    margin-top: 2rem;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid var(--rl-border);
    text-align: center;
    color: var(--rl-muted);
    font-size: 0.9rem;
}

#repairPageLoader {
    position: fixed;
    inset: 0;
    background: rgba(2, 16, 31, 0.55);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
}
#repairPageLoader.show { display: flex; }
.repairs-loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--rl-accent);
    border-radius: 50%;
    animation: repairs-spin 0.85s linear infinite;
}
@keyframes repairs-spin { to { transform: rotate(360deg); } }

/* توست روی پس‌زمینه تیره */
[data-bs-theme="dark"] .site-toast-item { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); }
