/* =========================================================
   سایوا گستر — استایل سایت عمومی
   پالت: جوهر فولادی، کاغذ خنک، فیروزه‌ای برند، نارنجی شعله
   ========================================================= */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #14212c;
    --ink-2: #1f3140;
    --paper: #f3f5f6;
    --white: #ffffff;
    --steel: #5b6b77;
    --line: #dae1e6;
    --cool: #0e7490;
    --cool-dark: #0b5c72;
    --heat: #d95d20;
    --thermal: linear-gradient(to left, #0e7490 0%, #5f8f99 38%, #b98a5a 68%, #d95d20 100%);
    --radius-s: 6px;
    --radius-m: 14px;
    --radius-l: 28px;
    --wrap: 1200px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink);
    background: var(--paper);
    font-feature-settings: "ss01";
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cool); text-decoration: none; }
a:hover { color: var(--cool-dark); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

:focus-visible {
    outline: 3px solid var(--heat);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
    position: absolute; right: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- دکمه‌ها ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: inherit; font-weight: 700; font-size: .95rem;
    padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--cool); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cool); color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------- هدر ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(243, 245, 246, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-name { display: block; font-weight: 900; font-size: 1.2rem; line-height: 1.2; }
.brand-sub { display: block; font-size: .75rem; color: var(--steel); line-height: 1.4; }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a, .nav-trigger {
    display: flex; align-items: center; gap: .3rem;
    padding: .5rem .85rem; border-radius: var(--radius-s);
    color: var(--ink); font-weight: 600; font-size: .95rem;
    background: none; border: 0; font-family: inherit; cursor: pointer;
}
.main-nav a:hover, .nav-trigger:hover { color: var(--cool); }
.main-nav a[aria-current="page"] { color: var(--cool); box-shadow: inset 0 -2px 0 var(--cool); border-radius: 0; }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }

.has-menu { position: relative; }
.submenu {
    position: absolute; top: calc(100% + 6px); right: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m);
    padding: .5rem; list-style: none; margin: 0;
    box-shadow: 0 18px 40px -18px rgba(20, 33, 44, .35);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu, .has-menu.open > .submenu {
    opacity: 1; visibility: visible; transform: none;
}
.has-menu.open .nav-trigger svg { transform: rotate(180deg); }
.submenu a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; font-weight: 500; border-radius: var(--radius-s); }
.submenu a:hover { background: var(--paper); color: var(--ink); }
.submenu .tone-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.submenu .count { margin-inline-start: auto; font-size: .8rem; color: var(--steel); }
.submenu .sub-desc { display: block; font-size: .78rem; color: var(--steel); line-height: 1.5; }
.submenu .sep { border-top: 1px solid var(--line); margin: .35rem .5rem; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn { padding: .55rem 1.2rem; font-size: .88rem; }

.menu-toggle {
    display: none; width: 44px; height: 44px; border-radius: var(--radius-s);
    background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
    align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* کشوی موبایل */
.drawer-backdrop {
    position: fixed; inset: 0; background: rgba(20, 33, 44, .45); z-index: 150;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 160;
    background: #fff; padding: 1.25rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer nav a { display: block; padding: .7rem .5rem; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--paper); }
.drawer nav a[aria-current="page"] { color: var(--cool); }
.drawer .drawer-group { font-size: .8rem; color: var(--steel); margin: 1.2rem .5rem .2rem; font-weight: 700; }
.drawer nav .sub a { padding-inline-start: 1.2rem; font-weight: 500; font-size: .93rem; }

@media (max-width: 1000px) {
    .main-nav, .header-actions .btn-outline { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header .wrap { justify-content: space-between; }
}
@media (max-width: 480px) {
    .header-actions .btn { display: none; }
    .brand-sub { display: none; }
}

/* ---------------- هیرو ---------------- */
.hero { padding: 56px 0 0; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.9rem);
    font-weight: 900; line-height: 1.25; letter-spacing: -.025em;
    margin-bottom: 1.2rem; max-width: 13ch;
}
.hero-lead { font-size: 1.12rem; color: var(--steel); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-visual {
    position: relative; border-radius: var(--radius-l);
    background: radial-gradient(120% 90% at 30% 100%, #2a4152 0%, var(--ink) 60%);
    aspect-ratio: 5 / 4.4; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.hero-visual img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-visual::after {
    content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 6px; background: var(--thermal);
}

/* نوار دما — عنصر اصلی هویت بصری */
.thermal {
    margin-top: 56px; padding: 34px 0 10px; border-top: 1px solid var(--line);
}
.thermal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.thermal-head h2 { font-size: 1.25rem; margin: 0; }
.thermal-head p { margin: 0; color: var(--steel); font-size: .92rem; }
.thermal-track { position: relative; height: 150px; }
.thermal-bar {
    position: absolute; inset-inline: 0; top: 18px; height: 10px; border-radius: 999px; background: var(--thermal);
    transform-origin: right center; animation: thermal-fill 1.4s cubic-bezier(.2,.7,.2,1) both .2s;
}
@keyframes thermal-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.thermal-ends { position: absolute; inset-inline: 0; top: -8px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--steel); }
.thermal-stop {
    position: absolute; top: 6px; transform: translateX(50%);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    color: var(--ink); width: 150px;
}
.thermal-stop .pin {
    width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid currentColor;
    box-shadow: 0 0 0 5px var(--paper); transition: transform .2s;
}
.thermal-stop:hover .pin, .thermal-stop:focus-visible .pin { transform: scale(1.15); }
.thermal-stop .name, .thermal-stop .meta { display: block; }
.thermal-stop .name { font-weight: 800; margin-top: .6rem; color: var(--ink); line-height: 1.5; }
.thermal-stop .meta { font-size: .8rem; color: var(--steel); }
.thermal-stop:hover .name { color: var(--cool); }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { max-width: none; }
    .thermal-track { height: auto; }
    .thermal-bar { position: relative; top: 0; margin-bottom: 1.2rem; }
    .thermal-ends { position: static; margin-bottom: .4rem; }
    .thermal-stops { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
    .thermal-stop {
        position: static; transform: none; width: auto; flex-direction: row; gap: .75rem; text-align: right;
        background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem 1rem;
    }
    .thermal-stop .pin { width: 20px; height: 20px; box-shadow: none; flex-shrink: 0; }
    .thermal-stop .name { margin-top: 0; }
}

/* ---------------- بخش‌ها ---------------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: #fff; }
.section-ink { background: var(--ink); color: #dbe4ea; }
.section-ink h2, .section-ink h3 { color: #fff; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.section-head p { color: var(--steel); margin: .4rem 0 0; max-width: 60ch; }
.section-head .link-more { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; }
.section-head .link-more svg { width: 20px; height: 20px; }

/* ---------------- کارت محصول ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 24px; }
.product-card { display: flex; flex-direction: column; color: var(--ink); }
.product-card:hover { color: var(--ink); }
.product-card .thumb {
    position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-m); overflow: hidden;
    background: #fff; border: 1px solid var(--line); transition: border-color .2s;
    display: flex; align-items: center; justify-content: center;
}
.section-white .product-card .thumb { background: var(--paper); border-color: transparent; }
.product-card .thumb img { width: 82%; height: 82%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .thumb { border-color: var(--ink); }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .thumb .tone { position: absolute; bottom: 0; inset-inline: 0; height: 4px; }
.product-card .body { padding: 14px 4px 0; }
.product-card .cat { font-size: .8rem; color: var(--steel); display: flex; align-items: center; gap: .4rem; }
.product-card .cat i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.product-card h3 { font-size: 1.08rem; margin: .2rem 0 .3rem; line-height: 1.6; }
.product-card .model { font-weight: 500; color: var(--steel); }
.product-card p { font-size: .9rem; color: var(--steel); margin: 0; line-height: 1.8; }

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
    .product-card h3 { font-size: .95rem; }
    .product-card p { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .section { padding: 64px 0; }
    .search-box { min-width: 0; width: 100%; }
}

/* ---------------- درباره (خانه) ---------------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split .photo { border-radius: var(--radius-l); overflow: hidden; background: var(--paper); aspect-ratio: 4/3; }
.about-split .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about-split .text { color: var(--steel); font-size: 1.05rem; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.figures div { padding: 1.1rem .5rem 0 0; border-inline-start: 1px solid var(--line); }
.figures div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.figures strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.2; color: var(--ink); }
.figures span { font-size: .85rem; color: var(--steel); line-height: 1.5; display: block; }

@media (max-width: 860px) {
    .about-split { grid-template-columns: 1fr; gap: 32px; }
    .figures { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
    .figures div:nth-child(3) { border-inline-start: 0; }
}

/* ---------------- پروژه‌ها ---------------- */
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.project-list li { border-bottom: 1px solid rgba(255,255,255,.14); }
.project-list a {
    display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: center;
    padding: 1.8rem 0; color: #dbe4ea;
}
.project-list h3 { margin: 0; font-size: 1.3rem; }
.project-list p { margin: 0; color: #a9b8c3; }
.project-list .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.project-list .arrow svg { width: 18px; height: 18px; }
.project-list a:hover .arrow { background: var(--heat); border-color: var(--heat); color: #fff; }
.project-list a:hover h3 { color: #fff; }
@media (max-width: 760px) {
    .project-list a { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
    .project-list p { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------------- خدمات پس از فروش ---------------- */
.service-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.service-links a {
    display: block; padding: 1.2rem 1.3rem; border-radius: var(--radius-m);
    background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.service-links a:hover { border-color: var(--ink); }
.service-links strong { display: block; font-size: 1rem; }
.service-links span { font-size: .85rem; color: var(--steel); }

/* ---------------- CTA ---------------- */
.cta-band {
    border-radius: var(--radius-l); background: var(--ink); color: #dbe4ea; padding: 56px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--thermal); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: #a9b8c3; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.cta-band .phone { font-size: 1.5rem; font-weight: 800; color: #fff; direction: ltr; display: inline-block; }
@media (max-width: 760px) {
    .cta-band { grid-template-columns: 1fr; padding: 36px 24px; }
    .cta-band .actions { justify-content: flex-start; }
}

/* ---------------- سربرگ صفحات داخلی ---------------- */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; margin-bottom: .6rem; }
.page-head p { color: var(--steel); font-size: 1.08rem; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--steel); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--cool); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------------- فهرست محصولات ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 32px 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { color: inherit; opacity: .6; font-weight: 500; }

.search-box { position: relative; min-width: 260px; }
.search-box input {
    width: 100%; font: inherit; padding: .6rem 2.6rem .6rem 1rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--cool); box-shadow: 0 0 0 3px rgba(14,116,144,.15); }
.search-box svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--steel); }

.cat-intro { margin: -8px 0 28px; color: var(--steel); }

.empty-state { text-align: center; padding: 64px 16px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-m); }
.empty-state h3 { font-size: 1.15rem; }
.empty-state p { color: var(--steel); }

/* ---------------- صفحه محصول ---------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0 72px; align-items: start; }
.gallery-main {
    border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line);
    aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.gallery-main img { width: 86%; height: 86%; object-fit: contain; }
.gallery-main .tone { position: absolute; inset-inline: 0; bottom: 0; height: 6px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button {
    width: 76px; height: 76px; border-radius: var(--radius-s); border: 2px solid var(--line); background: #fff;
    padding: 4px; cursor: pointer;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }

.product-info .cat-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; }
.product-info .cat-link i { width: 9px; height: 9px; border-radius: 50%; }
.product-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; margin: .4rem 0 .2rem; }
.product-info .model-line { color: var(--steel); margin-bottom: 1.2rem; }
.product-info .lead { font-size: 1.1rem; color: var(--ink-2); }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.feature-list li { position: relative; padding-inline-start: 1.6rem; }
.feature-list li::before {
    content: ''; position: absolute; right: 0; top: .72em; width: 10px; height: 2px; background: var(--heat);
}
.product-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: .85rem 1.2rem; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; font-weight: 600; color: var(--steel); background: #fafbfb; }

.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 88px; }
.detail-cols h2 { font-size: 1.35rem; }
.prose { color: var(--ink-2); max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }

/* برچسب روی تصویر و بخش‌های کاربرد/نگهداری */
.img-badge { position: absolute; top: 18px; right: 18px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; }
.use-list { list-style: none; padding: 0; margin: 0; }
.use-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.use-list li:first-child { border-top: 1px solid var(--line); }
.use-list strong { display: block; color: var(--ink); }
.care-box { background: var(--ink); color: #c9d5dd; border-radius: var(--radius-l); padding: 32px; position: relative; overflow: hidden; }
.care-box::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px; background: var(--thermal); }
.care-box h2 { color: #fff; }
.care-box ul { margin: 0 0 1.4rem; padding-inline-start: 1.1rem; }
.care-box li { margin-bottom: .6rem; }
.care-box li.warn { list-style: none; margin-inline-start: -1.1rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-s); background: rgba(217, 93, 32, .16); color: #ffd9c4; }
.care-box a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.4); }
.care-box a:hover { color: #fff; border-color: #fff; }
.product-card .thumb .badge { position: absolute; top: 10px; right: 10px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }

@media (max-width: 860px) {
    .product-detail, .detail-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------- محتوا (درباره/خدمات/پروژه) ---------------- */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.two-col h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead-text { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--steel); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.pillars > div { padding: 1.8rem 0 0 1.6rem; }
.pillars > div + div { padding-inline-start: 1.6rem; border-inline-start: 1px solid var(--line); }
.pillars h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillars p { color: var(--steel); margin: 0; }
.pillars ul { margin: .8rem 0 0; padding-inline-start: 1.1rem; color: var(--steel); }
.pillars li { margin-bottom: .3rem; }

.quote-block { border-inline-start: 6px solid; border-image: var(--thermal) 1; padding: .4rem 1.8rem; font-size: 1.3rem; font-weight: 600; line-height: 2; max-width: 60ch; }

.project-section { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.project-section:last-of-type { border-bottom: 0; }
.project-section .grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.project-section h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.check-list li { border-top: 1px solid var(--line); padding-top: .9rem; }
.check-list strong { display: block; }
.check-list span { color: var(--steel); font-size: .92rem; }
.goal { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; }
.goal strong { color: var(--heat); }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

@media (max-width: 860px) {
    .two-col, .project-section .grid { grid-template-columns: 1fr; gap: 28px; }
    .pillars { grid-template-columns: 1fr; }
    .pillars > div, .pillars > div + div { padding: 1.4rem 0; border-inline-start: 0; border-bottom: 1px solid var(--line); }
    .check-list { grid-template-columns: 1fr; }
}

/* ---------------- تماس ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; padding: 48px 0 96px; align-items: start; }
.contact-info h2 { font-size: 1.3rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; color: var(--cool); flex-shrink: 0; margin-top: .3rem; }
.info-list small { display: block; color: var(--steel); font-size: .82rem; }
.info-list .ltr { direction: ltr; display: inline-block; }
.socials { display: flex; gap: .5rem; flex-wrap: wrap; }
.socials a { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; }
.socials a:hover { border-color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px; }
.form-card h2 { font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field label .opt { font-weight: 400; color: var(--steel); font-size: .82rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius-s); padding: .7rem .9rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cool); background: #fff; box-shadow: 0 0 0 3px rgba(14,116,144,.15); }
.field .err { color: #b3261e; font-size: .85rem; margin-top: .3rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--steel); margin: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-m); margin-bottom: 1.5rem; border: 1px solid; }
.alert-success { background: #ecf7f1; border-color: #b7dfc8; color: #1d5b3a; }
.alert-error { background: #fdf0ee; border-color: #f0c4bd; color: #8a2519; }
.alert strong { display: block; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 24px 20px; }
}

/* ---------------- فوتر ---------------- */
.site-footer { background: var(--ink); color: #a9b8c3; padding: 72px 0 28px; margin-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--thermal); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-sub { color: #8fa1ae; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #a9b8c3; }
.site-footer a:hover { color: #fff; }
.site-footer .about { margin-top: 1rem; font-size: .92rem; max-width: 34ch; }
.site-footer .ltr { direction: ltr; display: inline-block; }
.footer-bottom .credit a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-bottom .credit a:hover { border-color: #fff; }
.footer-bottom .links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- حرکت کاهش‌یافته ---------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
