/* ===== پایه ===== */
:root {
    --ink: #2e2720;
    --muted: #6e645a;
    --cream: #f3efe8;
    --surface: #faf8f5;
    --accent: #ef6c00;
    --accent-h: #e65100;
    --font: IRANSans, Tahoma, sans-serif;
    --header-h: 80px;
    --header-bg: rgba(22, 18, 14, 0.96);
    --header-bg-solid: #16120e;
    --header-border: rgba(239, 108, 0, 0.22);
    --header-text: rgba(248, 244, 238, 0.94);
    --header-text-active: #ffffff;
    --wrap: 1140px;
    --ease: .25s ease;
    --bp-xs: 480px;
    --bp-md: 768px;
    --bp-lg: 900px;
    --bp-xl: 1024px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap,
.container {
    width: min(100% - 2rem, var(--wrap));
    margin-inline: auto;
}

main {
    overflow-x: clip;
}

/* ===== هدر ===== */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--header-bg);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 4px 24px rgba(26, 21, 16, 0.32);
    transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
    overflow: visible;
}

.site-header::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(239, 108, 0, 0.22) 18%,
        rgba(239, 108, 0, 0.42) 50%,
        rgba(239, 108, 0, 0.22) 82%,
        transparent 100%
    );
    pointer-events: none;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 1.75rem;
    height: 100%;
    width: min(100% - 2rem, var(--wrap));
    margin-inline: auto;
}

.logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.15rem 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: opacity var(--ease), transform var(--ease);
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.logo-img {
    display: block;
    width: clamp(124px, 12vw, 154px);
    height: auto;
    object-fit: contain;
}

.footer-logo {
    display: inline-block;
    margin-bottom: .85rem;
}

.footer-logo img {
    width: min(150px, 48vw);
    height: auto;
    display: block;
}

.main-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.main-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-item {
    position: relative;
}

.main-nav-item__head {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.main-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--header-text);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color var(--ease);
    background: none;
    border: none;
    padding: 0.15rem 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
}

.main-nav-link--label {
    cursor: default;
    font-weight: 700;
}

.main-nav-link:hover,
.main-nav-link.is-active,
.main-nav-item.is-active > .main-nav-item__head > .main-nav-link {
    color: var(--header-text-active);
}

.main-nav-link.is-active,
.main-nav-item.is-active > .main-nav-item__head > .main-nav-link {
    font-weight: 800;
    color: var(--header-text-active);
}

.main-nav-submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--header-text);
    cursor: pointer;
    transition: background var(--ease), color var(--ease), transform var(--ease);
}

.main-nav-submenu-toggle svg {
    width: 0.95rem;
    height: 0.95rem;
    transition: transform var(--ease);
}

.main-nav-item--dropdown.is-open .main-nav-submenu-toggle svg {
    transform: rotate(180deg);
}

.main-nav-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    inset-inline-end: 0;
    z-index: 120;
    min-width: 15rem;
    padding: 0.45rem;
    border-radius: 14px;
    background: rgba(22, 18, 14, 0.98);
    border: 1px solid rgba(239, 108, 0, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
        opacity var(--ease),
        transform var(--ease),
        visibility var(--ease);
}

.main-nav-dropdown--grid {
    min-width: min(22rem, 88vw);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
}

.main-nav-dropdown--applications,
.main-nav-dropdown--about {
    min-width: min(20rem, 88vw);
}

.main-nav-dropdown__group {
    margin: 0.55rem 0 0.35rem;
    padding: 0.45rem 0.65rem 0.15rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.02em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav-dropdown--applications .main-nav-dropdown__group:first-child,
.main-nav-dropdown--about .main-nav-dropdown__group:first-child {
    margin-top: 0;
    padding-top: 0.35rem;
    border-top: none;
}

.main-nav-dropdown__item--compact {
    padding-block: 0.52rem;
}

.main-nav-dropdown__item--footer {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(239, 108, 0, 0.08);
}

.main-nav-dropdown__item {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.58rem 0.7rem;
    border-radius: 10px;
    color: var(--header-text);
    transition: background var(--ease), color var(--ease);
}

.main-nav-dropdown__item:hover,
.main-nav-dropdown__item.is-active {
    background: rgba(239, 108, 0, 0.12);
    color: var(--header-text-active);
}

.main-nav-dropdown__item--all {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px 10px 8px 8px;
    margin-bottom: 0.15rem;
    padding-bottom: 0.7rem;
}

.main-nav-dropdown__item.is-current {
    background: rgba(239, 108, 0, 0.1);
}

.main-nav-dropdown__title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
}

.main-nav-dropdown__desc {
    font-size: 0.76rem;
    color: rgba(248, 244, 238, 0.72);
    line-height: 1.45;
    font-weight: 500;
}

.main-nav-dropdown__external {
    width: 0.78rem;
    height: 0.78rem;
    opacity: 0.65;
}

@media (min-width: 769px) {
    .main-nav-link.is-active::after,
    .main-nav-item.is-active > .main-nav-item__head > .main-nav-link::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: -0.4rem;
        height: 2px;
        border-radius: 999px;
        background: var(--accent);
    }

    .main-nav-item--dropdown:hover .main-nav-dropdown,
    .main-nav-item--dropdown:focus-within .main-nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav-item--dropdown:hover .main-nav-link,
    .main-nav-item--dropdown:focus-within .main-nav-link {
        color: var(--header-text-active);
    }
}

.header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.header-contact,
a.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    background: rgba(239, 108, 0, 0.22);
    border: 1px solid rgba(239, 108, 0, 0.5);
    color: var(--header-text-active);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
    transition:
        background var(--ease),
        border-color var(--ease),
        transform var(--ease),
        color var(--ease);
}

.header-contact:hover,
a.header-contact:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    color: #fff;
}

.header-contact .tel-ltr {
    font-size: 0.92rem;
    font-weight: 800;
}

.main-nav-phones {
    display: none;
}

.header-cta {
    padding: .55rem 1.15rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--ease);
}
.header-cta:hover { background: var(--accent-h); }

.nav-toggle {
    display: none;
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--header-text-active);
    transition: var(--ease);
}

/* ===== دکمه ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.75rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    transition: background var(--ease), transform var(--ease);
}
.btn:hover { background: var(--accent-h); transform: translateY(-2px); }

.btn-primary,
a.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.75rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    transition: background var(--ease), transform var(--ease);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); }

/* ===== بخش‌ها ===== */
.section {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    overflow: clip;
}

body.page-home {
    --section-curve: clamp(2.75rem, 7vw, 4.5rem);
    --section-gap: clamp(1rem, 2.5vw, 1.75rem);
    background: #090909;
}

body.page-home .section--services {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 12% 0%, rgba(239, 108, 0, 0.09), transparent 58%),
        radial-gradient(ellipse 65% 50% at 88% 18%, rgba(196, 122, 58, 0.07), transparent 55%),
        linear-gradient(180deg, #faf8f5 0%, #f4ede4 52%, #faf8f5 100%);
    border-radius: var(--section-curve) var(--section-curve) 0 0;
    margin-top: var(--section-gap);
    padding-top: calc(clamp(3.5rem, 8vw, 5rem) + var(--section-curve) * 0.15);
    padding-bottom: calc(clamp(3.5rem, 8vw, 6rem) + var(--section-curve) * 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.page-home .section--map {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--section-curve));
    padding: 0;
    overflow: visible;
    background: transparent;
    color: #f4f4f5;
}

body.page-home .section--map__curve {
    position: relative;
    background: #0a0a0a;
    border-radius: var(--section-curve) var(--section-curve) 0 0;
    padding-top: clamp(4.5rem, 9vw, 6.25rem);
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}

body.page-home .section--map__curve::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: var(--section-curve);
    border-radius: var(--section-curve) var(--section-curve) 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* نشان شناور لبه بخش — مثل دستیار */
.section__seam {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 4;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section__seam-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    padding: 0.5rem 0.95rem;
    background: #1a1a1f;
    color: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.section__seam-badge strong {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.section__seam-badge span {
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
    white-space: nowrap;
}

body.page-home .section--map .section__head h2 {
    color: #fff;
}

body.page-home .section--map .section__head p {
    color: rgba(255, 255, 255, 0.55);
}

body.page-home .section--cta {
    border-radius: 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #101010 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home .site-footer {
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home .footer-brand p,
body.page-home .footer-links a,
body.page-home .footer-contact p {
    color: rgba(255, 255, 255, 0.62);
}

body.page-home .footer-links a:hover,
body.page-home .footer-contact a:hover {
    color: #fff;
}

body.page-home .footer-bottom::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 35%,
        rgba(255, 255, 255, 0.1) 65%,
        transparent 100%
    );
}

body.page-home .section--map .section__head {
    margin-top: 0;
}

.section__head {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section__head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: .5rem;
}
.section__head p { color: var(--muted); font-size: .95rem; }

/* کارت‌ها */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.card {
    padding: 1.75rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(46,39,32,.06);
    transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(46,39,32,.1);
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(154,112,72,.1);
    border-radius: 16px;
    color: var(--accent);
    margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.card p { font-size: .88rem; color: var(--muted); line-height: 1.75; }

/* ===== خدمات پس از فروش ===== */
.services-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.services-ambient__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.services-ambient__orb--1 {
    width: clamp(220px, 28vw, 360px);
    height: clamp(220px, 28vw, 360px);
    top: -8%;
    inset-inline-end: -4%;
    background: rgba(239, 108, 0, 0.16);
}

.services-ambient__orb--2 {
    width: clamp(180px, 22vw, 280px);
    height: clamp(180px, 22vw, 280px);
    bottom: 8%;
    inset-inline-start: -6%;
    background: rgba(154, 112, 72, 0.12);
}

.services-ambient__grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(46, 39, 32, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 39, 32, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}

.services-shell {
    position: relative;
    z-index: 1;
}

.services-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: end;
    text-align: start;
    margin-bottom: clamp(2rem, 4.5vw, 2.75rem);
}

.services-head__copy {
    max-width: 38rem;
}

.services-head__subtitle {
    color: var(--muted);
    font-size: clamp(0.92rem, 1.6vw, 1rem);
    line-height: 1.85;
}

.services-head__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.services-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 84px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(46, 39, 32, 0.07);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 28px rgba(46, 39, 32, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.services-stat strong {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}

.services-stat span {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.4;
}

.services-stat--accent {
    background: linear-gradient(145deg, rgba(255, 248, 240, 0.95), rgba(255, 255, 255, 0.88));
    border-color: rgba(239, 108, 0, 0.22);
}

.services-stat--accent strong {
    color: var(--accent);
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--accent);
    background: rgba(239, 108, 0, 0.1);
    border: 1px solid rgba(239, 108, 0, 0.14);
    border-radius: 999px;
}

.section__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(239, 108, 0, 0.14);
}

body.page-home .section--services .section__head h2 {
    font-size: clamp(1.65rem, 3.4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.services-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.service-card {
    --service-accent: rgba(239, 108, 0, 0.85);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.45rem;
    overflow: hidden;
    isolation: isolate;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 36px rgba(46, 39, 32, 0.07);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
}

.service-card[data-service="install"] { grid-column: span 3; }
.service-card[data-service="startup"] { grid-column: span 3; }
.service-card[data-service="repair"] { grid-column: span 6; }
.service-card[data-service="visit"] { grid-column: span 4; }
.service-card[data-service="parts"] { grid-column: span 4; }
.service-card[data-service="maintenance"] { grid-column: span 4; }
.service-card[data-service="warranty"] { grid-column: span 12; }

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        animation: service-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: calc(var(--service-i, 0) * 0.06s + 0.05s);
    }
}

@keyframes service-card-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card__glow {
    position: absolute;
    inset-inline: 12%;
    top: -40%;
    height: 70%;
    background: radial-gradient(circle, rgba(239, 108, 0, 0.14), transparent 68%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 108, 0, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 48px rgba(46, 39, 32, 0.11),
        0 0 0 1px rgba(239, 108, 0, 0.06);
}

.service-card:hover .service-card__glow {
    opacity: 1;
}

.service-card__index {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 1rem;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(46, 39, 32, 0.05);
    pointer-events: none;
    user-select: none;
}

.service-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    position: relative;
    z-index: 1;
}

.service-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: linear-gradient(145deg, #f57c00 0%, #e65100 100%);
    border-radius: 16px;
    box-shadow:
        0 10px 22px rgba(239, 108, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.service-card__icon svg {
    width: 23px;
    height: 23px;
}

.service-card__meta {
    flex: 1;
    min-width: 0;
    padding-top: 0.1rem;
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.service-card__count {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    background: rgba(46, 39, 32, 0.05);
    border-radius: 999px;
}

.service-card__badge {
    flex: 0 0 auto;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f57c00, #e65100);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(239, 108, 0, 0.28);
}

.service-card__list {
    list-style: none;
    display: grid;
    gap: 0.62rem;
    position: relative;
    z-index: 1;
}

.service-card[data-service="repair"] .service-card__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem 1rem;
}

.service-card__list li {
    position: relative;
    padding-inline-start: 1.45rem;
    font-size: 0.86rem;
    color: #5f564d;
    line-height: 1.75;
}

.service-card__list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.45em;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23fff3e8'/%3E%3Cpath d='M5 8.2l2 2 4-4.2' stroke='%23ef6c00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.service-card--featured {
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
    background:
        linear-gradient(120deg, rgba(255, 248, 240, 0.98) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 243, 232, 0.95) 100%);
    border-color: rgba(239, 108, 0, 0.24);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 44px rgba(239, 108, 0, 0.12);
}

.service-card--featured::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 18%;
    bottom: 18%;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #ffb74d, #ef6c00);
}

.service-card--featured .service-card__head {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    padding-inline-start: 0.75rem;
}

.service-card--featured .service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.service-card--featured .service-card__icon svg {
    width: 30px;
    height: 30px;
}

.service-card--featured .service-card__meta {
    padding-top: 0;
}

.service-card--featured .service-card__title {
    font-size: 1.15rem;
}

.service-card--featured .service-card__count {
    display: none;
}

.service-card--featured .service-card__list {
    flex: 1;
}

.service-card--featured .service-card__list li {
    font-size: 0.95rem;
    color: #4a4038;
}

.service-card--featured .service-card__index {
    font-size: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 1.5rem;
    color: rgba(239, 108, 0, 0.08);
}

/* CTA */
.section--cta {
    background: linear-gradient(135deg, #3a322b, #5a4f45);
    color: #fff;
}
.section--cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.section--cta h2 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: .4rem;
}
.section--cta p { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ===== فوتر ===== */
.site-footer {
    background: var(--ink);
    color: #fff;
    padding-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    width: min(100% - 2rem, var(--wrap));
    margin-inline: auto;
}

.footer-brand h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.8; }
.footer-brand__seo {
    margin-top: 0.65rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.52);
}

/* ===== بخش سئو صفحه اصلی ===== */
.home-seo {
    padding: clamp(1.15rem, 2.6vw, 1.75rem) 0 clamp(0.85rem, 2vw, 1.25rem);
    background: var(--surface);
    border-bottom: 1px solid rgba(46, 39, 32, 0.08);
}

.home-seo__inner {
    min-height: 0;
}

.home-seo__head {
    margin-bottom: 0.85rem;
}

.home-seo__head h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.home-seo__brand {
    display: block;
    font-size: clamp(1.9rem, 4.4vw, 2.55rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.2rem;
}

.home-seo__tagline {
    display: block;
    font-size: clamp(0.95rem, 2.1vw, 1.15rem);
    font-weight: 700;
}

.home-seo__aliases {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.home-seo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.15rem, 2.4vw, 1.85rem);
    align-items: center;
}

.home-seo__copy {
    align-self: center;
}

.home-seo__copy p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 0.85rem;
}

.home-seo__copy p:last-child {
    margin-bottom: 0;
}

.home-seo__links {
    font-size: 0.88rem;
    font-weight: 600;
}

.home-seo__links a {
    color: var(--accent);
}

.home-seo__links a:hover {
    color: var(--accent-h);
}

.home-seo__faq-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: var(--ink);
}

.home-seo__faq-list {
    margin: 0;
}

.home-seo__faq-item {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(46, 39, 32, 0.08);
}

.home-seo__faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.home-seo__faq-item dt {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.home-seo__faq-item dd {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .home-seo__grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        align-items: start;
    }

    .home-seo__copy {
        align-self: auto;
    }
}

@media (max-width: 768px) {
    .home-seo {
        padding: 1rem 0 0.75rem;
    }

    .home-seo__head {
        margin-bottom: 0.85rem;
    }

    .home-seo__faq-item {
        margin-bottom: 0.7rem;
        padding-bottom: 0.7rem;
    }
}

.footer-links h4, .footer-contact h4 {
    font-size: .95rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--ease); }
.footer-links a:hover { color: #fff; }

.footer-contact p { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: .4rem; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--accent); }

.footer-contact__line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.55rem;
}

.footer-contact__label {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.footer-contact__address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 0.15rem;
}

/* شماره تماس — جلوگیری از به‌هم‌ریختگی در RTL */
.tel-ltr,
.email-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.tel-link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.tel-link--featured {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-contact .tel-link--featured {
    color: #fff;
    font-size: 0.98rem;
}

.main-nav-phones {
    display: none;
}

.phone-hotlines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.phone-hotlines__link.header-cta,
.phone-hotlines__link.main-nav-cta {
    justify-content: center;
}

.phone-hotlines--cta .phone-hotlines__link:nth-child(2) {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.phone-hotlines--cta .phone-hotlines__link:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.2);
}

.map-rep__phone .tel-ltr {
    font-weight: 700;
}

.footer-bottom {
    position: relative;
    border-top: none;
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 8%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.14) 35%,
        rgba(255, 255, 255, 0.14) 65%,
        transparent 100%
    );
    pointer-events: none;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .82rem; }

/* ===== صفحات داخلی ===== */
.page-hero {
    padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
    background: linear-gradient(160deg, #3a322b, #5a4f45);
    color: #fff;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: .5rem;
}
.page-hero p { color: rgba(255,255,255,.7); font-size: clamp(.88rem, 2vw, 1rem); }

.page-content { padding: clamp(2rem, 6vw, 3.5rem) 0; }
.content-block {
    max-width: 680px;
    margin-inline: auto;
    width: min(100% - 2rem, 680px);
    font-size: clamp(.9rem, 2vw, 1rem);
    line-height: 1.85;
}

.error-page {
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(2rem, 6vw, 3rem) 1rem;
}
.error-page h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
    color: var(--accent);
    line-height: 1;
    margin-bottom: .75rem;
}
.error-page p { color: var(--muted); margin-bottom: 1.5rem; }

/* موبایل — لینک تماس داخل منو */
.main-nav-cta {
    display: none;
    margin-top: .5rem;
    padding: .75rem 1.25rem;
    background: var(--accent);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

/* overlay منوی موبایل */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ease), visibility var(--ease);
}
.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
    .main-nav-list {
        gap: 0.15rem 1rem;
    }

    .main-nav-link {
        font-size: 0.9rem;
    }

    .header-contact,
    a.header-contact {
        padding: 0.45rem 0.85rem;
        font-size: 0.86rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    .wrap,
    .container {
        width: min(100% - 1.5rem, var(--wrap));
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        width: min(100% - 1.5rem, var(--wrap));
        gap: 0.75rem;
    }

    .logo,
    .main-nav,
    .header-actions,
    .nav-toggle {
        grid-column: auto;
        grid-row: auto;
    }

    .logo {
        padding: 0.1rem 0;
    }

    .logo-img { width: 112px; }

    .header-actions {
        display: none;
    }

    .nav-toggle { display: flex; margin-inline-start: auto; }

    .main-nav {
        position: fixed;
        top: var(--header-offset, var(--header-h));
        inset-inline: 0;
        z-index: 110;
        flex-direction: column;
        align-items: stretch;
        background: var(--header-bg-solid);
        padding: 1rem 1.25rem 1.5rem;
        gap: 0;
        max-height: calc(100dvh - var(--header-offset, var(--header-h)));
        overflow-y: auto;
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
    }
    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .main-nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav-item:last-child {
        border-bottom: none;
    }

    .main-nav-item__head {
        justify-content: space-between;
        padding: 0.15rem 0;
    }

    .main-nav-link {
        flex: 1;
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 0.4rem 0.15rem;
        line-height: 1.45;
        font-size: 1rem;
        font-weight: 700;
    }

    .main-nav-submenu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .main-nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0 0 0.35rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--ease);
    }

    .main-nav-item--dropdown.is-open .main-nav-dropdown {
        pointer-events: auto;
        max-height: 60rem;
        padding-bottom: 0.5rem;
    }

    .main-nav-dropdown--grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .main-nav-dropdown__item {
        padding: 0.55rem 0.75rem;
        background: rgba(255, 255, 255, 0.04);
        margin-bottom: 0.25rem;
    }

    .main-nav-dropdown__item--all {
        margin-bottom: 0.35rem;
    }

    .main-nav-phones {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        width: 100%;
        margin-top: 0.35rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav-phones .main-nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    body.page-home .main-nav {
        background: rgba(26, 21, 16, 0.98);
        backdrop-filter: blur(16px);
        border: none;
        border-radius: 0 0 1.25rem 1.25rem;
        box-shadow: 0 12px 32px rgba(26, 21, 16, 0.45);
    }
    body.page-home .main-nav-link { color: var(--header-text); }
    body.page-home .main-nav-link:hover,
    body.page-home .main-nav-link.is-active,
    body.page-home .main-nav-item.is-active > .main-nav-item__head > .main-nav-link {
        color: var(--header-text-active);
    }

    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

    .section { padding: clamp(2.5rem, 7vw, 3.5rem) 0; }

    body.page-home .section--map__curve {
        padding-top: clamp(3.75rem, 11vw, 5rem);
    }

    .section__seam-badge {
        padding: 0.45rem 0.75rem;
    }

    .section__seam-badge strong {
        font-size: 0.72rem;
    }

    .section__seam-badge span {
        font-size: 0.6rem;
    }

    .cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
        gap: 1rem;
    }

    .card { padding: 1.35rem; }

    .section--cta__inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .section--cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .page-hero {
        padding: calc(var(--header-h) + 2rem) 0 2rem;
    }

}

@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wrap,
    .container {
        width: min(100% - 1.25rem, var(--wrap));
    }

    .header-inner {
        width: min(100% - 1.25rem, var(--wrap));
    }

    .section__head { margin-bottom: 1.75rem; }

    .footer-grid {
        width: min(100% - 1.25rem, var(--wrap));
    }

    .site-footer { padding-top: 2.5rem; }
}
