/* ==========================================================================
   اعتباری گلد — استایل اصلی
   ========================================================================== */

:root {
    /* رنگ‌ها */
    --ink: #0d0b08;
    --ink-2: #14110c;
    --ink-3: #1b1710;
    --ink-line: rgba(216, 179, 106, .16);

    --cream: #faf6ee;
    --cream-2: #ffffff;
    --cream-line: #e8e0cf;

    --gold: #d8b36a;
    --gold-2: #b08d3f;
    --gold-3: #f0dda9;
    --gold-soft: rgba(216, 179, 106, .12);

    --on-dark: #f4eee2;
    --muted-dark: #9c9080;
    --on-light: #1b1710;
    --muted-light: #6e6558;

    --up: #4fbe7b;
    --down: #e5675a;

    /* اندازه */
    --container: 1200px;
    --radius: 18px;
    --radius-sm: 12px;
    --header-h: 74px;

    --shadow-card: 0 18px 40px rgba(27, 23, 16, .07);
    --shadow-dark: 0 24px 60px rgba(0, 0, 0, .45);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Vazirmatn, "Vazirmatn FD", "IRANSans", "Segoe UI", Tahoma, sans-serif;
    background: var(--cream);
    color: var(--on-light);
    line-height: 1.9;
    font-size: 16px;
    overflow-x: hidden;
    font-feature-settings: "ss01";
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

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

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

/* ==========================================================================
   هدر
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(20, 17, 12, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: var(--on-dark);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.2px;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(150deg, #2a2418, #100d09);
    border: 1px solid rgba(216, 179, 106, .35);
    display: grid;
    place-items: center;
    flex: none;
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-inline-start: auto;
}

.main-nav a {
    color: #cfc5b4;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color .18s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .22s ease;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-inline-start: auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #e7dfd1;
    font-weight: 600;
    direction: ltr;
}

.header-phone svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--on-dark);
    place-items: center;
}

/* ==========================================================================
   دکمه‌ها
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1;
    transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-gold {
    background: linear-gradient(135deg, #e2c079 0%, #b8934a 55%, #8f6f30 100%);
    color: #1b1408;
    box-shadow: 0 10px 26px rgba(176, 141, 63, .28);
}

.btn-gold:hover {
    box-shadow: 0 14px 34px rgba(176, 141, 63, .4);
    transform: translateY(-1px);
}

.btn-ghost-dark {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .14);
    color: var(--on-dark);
}

.btn-ghost-dark:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(216, 179, 106, .45);
}

.btn-ghost-light {
    background: transparent;
    border-color: var(--cream-line);
    color: var(--on-light);
}

.btn-ghost-light:hover {
    border-color: var(--gold-2);
    background: #fff;
}

.btn-sm {
    padding: 11px 18px;
    font-size: 14px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 17px 34px;
    font-size: 16.5px;
}

/* ==========================================================================
   بخش‌ها
   ========================================================================== */

.section {
    padding: 104px 0;
}

.section-dark {
    background: var(--ink);
    color: var(--on-dark);
}

.section-light {
    background: var(--cream);
    color: var(--on-light);
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 62px;
}

.eyebrow {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 22px;
}

.section-light .eyebrow {
    background: #f0e9da;
    color: #8a6d2c;
}

.section-dark .eyebrow {
    background: var(--gold-soft);
    border: 1px solid rgba(216, 179, 106, .3);
    color: var(--gold);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.45;
    letter-spacing: -.4px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
}

.section-head p {
    margin: 18px 0 0;
    font-size: 16.5px;
    color: var(--muted-light);
}

.section-dark .section-head p {
    color: var(--muted-dark);
}

/* ==========================================================================
   هیرو
   ========================================================================== */

.hero {
    position: relative;
    background: var(--ink);
    color: var(--on-dark);
    padding: 92px 0 88px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -320px;
    inset-inline-end: -180px;
    width: 780px;
    height: 780px;
    background: radial-gradient(circle, rgba(216, 179, 106, .16), transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -420px;
    inset-inline-start: -220px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(176, 141, 63, .1), transparent 65%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--gold-soft);
    border: 1px solid rgba(216, 179, 106, .3);
    color: var(--gold);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 26px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--up);
    box-shadow: 0 0 0 0 rgba(79, 190, 123, .6);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(79, 190, 123, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 190, 123, 0);
    }
}

.hero h1 {
    font-size: clamp(34px, 5.2vw, 60px);
    font-weight: 800;
    line-height: 1.35;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #f0dda9, #cba959 60%, #a5822f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    margin: 26px 0 34px;
    font-size: 17px;
    color: #bcb2a2;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 62px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.hero-feature {
    text-align: center;
}

.hero-feature .icon-chip {
    margin: 0 auto 12px;
}

.hero-feature strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
}

.hero-feature span {
    display: block;
    font-size: 12.5px;
    color: var(--muted-dark);
    margin-top: 4px;
}

.icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--gold-soft);
    border: 1px solid rgba(216, 179, 106, .22);
    color: var(--gold);
    display: grid;
    place-items: center;
}

.icon-chip svg {
    width: 21px;
    height: 21px;
}

/* آیکن‌های جهت‌دار (مثل کامیون) در راست‌به‌چپ باید افقی آینه شوند */
.icon-rtl-flip {
    transform: scaleX(-1);
}

/* ---------- کارت قیمت زنده ---------- */

.price-card {
    background: linear-gradient(165deg, rgba(41, 34, 22, .9), rgba(17, 14, 10, .95));
    border: 1px solid var(--ink-line);
    border-radius: 26px;
    padding: 30px;
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .7;
}

.price-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.price-card-top h2 {
    font-size: 17px;
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(229, 103, 90, .12);
    border: 1px solid rgba(229, 103, 90, .3);
    color: #ff9d92;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.status-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status-pill.is-live {
    background: rgba(79, 190, 123, .12);
    border-color: rgba(79, 190, 123, .32);
    color: #7fe0a4;
}

.status-pill.is-stale {
    background: rgba(216, 179, 106, .12);
    border-color: rgba(216, 179, 106, .32);
    color: var(--gold-3);
}

.price-label {
    font-size: 13.5px;
    color: var(--muted-dark);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 10px 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.price-value {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    line-height: 1.2;
    transition: color .5s ease;
}

.price-value.flash-up {
    color: var(--up);
}

.price-value.flash-down {
    color: var(--down);
}

.price-unit {
    font-size: 15px;
    color: var(--muted-dark);
}

.price-change {
    margin-inline-start: auto;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: var(--muted-dark);
    direction: ltr;
}

.price-change.up {
    color: var(--up);
    background: rgba(79, 190, 123, .12);
}

.price-change.down {
    color: var(--down);
    background: rgba(229, 103, 90, .12);
}

.price-rows {
    display: grid;
    gap: 2px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    font-size: 14.5px;
}

.price-row + .price-row {
    border-top: 1px dashed rgba(255, 255, 255, .06);
}

.price-row .k {
    color: #c6bcab;
}

.price-row .v {
    margin-inline-start: auto;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.price-row .v small {
    font-weight: 500;
    color: var(--muted-dark);
    font-size: 12px;
    margin-inline-start: 4px;
}

.price-alert {
    display: none;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(229, 103, 90, .09);
    border: 1px solid rgba(229, 103, 90, .28);
    color: #ffb4ab;
    font-size: 13.5px;
    line-height: 1.8;
}

.price-alert.is-visible {
    display: block;
}

.price-card .btn {
    margin-top: 18px;
}

.price-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--muted-dark);
}

.price-foot svg {
    width: 14px;
    height: 14px;
}

.refresh-bar {
    margin-inline-start: auto;
    width: 84px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.refresh-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-2), var(--gold-3));
    transition: width .3s linear;
}

/* ==========================================================================
   مراحل خرید
   ========================================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--cream-2);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: var(--shadow-card);
    transition: transform .22s ease, box-shadow .22s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(27, 23, 16, .12);
}

.step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.step-num {
    font-size: 42px;
    font-weight: 800;
    color: #ded3bd;
    line-height: 1;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: linear-gradient(140deg, #e6c884, #b08d3f);
    color: #1b1408;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(176, 141, 63, .28);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-card h3 {
    font-size: 19px;
    font-weight: 800;
}

.step-card p {
    margin: 12px 0 24px;
    color: var(--muted-light);
    font-size: 15px;
}

.step-tag {
    margin-top: auto;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 10px;
    background: #f4eddd;
    color: #7d6224;
    font-size: 13px;
    font-weight: 600;
}

.center-cta {
    display: flex;
    justify-content: center;
    margin-top: 46px;
}

/* ==========================================================================
   چرا ما
   ========================================================================== */

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
}

.stat {
    padding: 26px 22px;
    text-align: center;
    border-inline-start: 1px solid rgba(255, 255, 255, .06);
}

.stat:first-child {
    border-inline-start: 0;
}

.stat b {
    display: block;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -.5px;
}

.stat span {
    display: block;
    font-size: 13px;
    color: var(--muted-dark);
    margin-top: 6px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.why-card {
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .22s ease, transform .22s ease, background .22s ease;
}

.why-card:hover {
    border-color: rgba(216, 179, 106, .38);
    transform: translateY(-3px);
    background: var(--ink-3);
}

.why-card.is-wide {
    grid-column: span 2;
}

.why-card .icon-chip {
    background: linear-gradient(140deg, #e6c884, #b08d3f);
    border: 0;
    color: #1b1408;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 17.5px;
    font-weight: 800;
}

.why-card p {
    margin: 10px 0 0;
    color: var(--muted-dark);
    font-size: 14.5px;
}

/* ==========================================================================
   ماشین‌حساب
   ========================================================================== */

.calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(27, 23, 16, .12);
    border: 1px solid var(--cream-line);
}

.calc-input {
    background: var(--cream-2);
    padding: 38px;
}

.calc-output {
    background: linear-gradient(165deg, #241e14, #0f0c08);
    color: var(--on-dark);
    padding: 38px;
}

.calc-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.calc-live .k {
    font-size: 14px;
    color: var(--muted-light);
}

.calc-live .status-pill {
    background: rgba(229, 103, 90, .1);
    border-color: rgba(229, 103, 90, .25);
    color: #c0453a;
}

.calc-live .status-pill.is-live {
    background: rgba(46, 150, 90, .1);
    border-color: rgba(46, 150, 90, .25);
    color: #2c8a55;
}

.calc-live .status-pill.is-stale {
    background: rgba(176, 141, 63, .12);
    border-color: rgba(176, 141, 63, .3);
    color: #8a6d2c;
}

.calc-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 30px;
}

.calc-price b {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.calc-price span {
    font-size: 14px;
    color: var(--muted-light);
}

.calc-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.calc-field-head label {
    font-size: 15px;
    font-weight: 700;
}

.mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    padding: 6px 8px;
    border-radius: 9px;
    color: #8a6d2c;
    font-size: 13.5px;
    font-weight: 600;
}

.mode-toggle:hover {
    background: #f4eddd;
}

.mode-toggle svg {
    width: 15px;
    height: 15px;
}

.amount-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fbf8f1;
    border: 1.5px solid var(--cream-line);
    border-radius: 14px;
    padding: 6px 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.amount-field:focus-within {
    border-color: var(--gold-2);
    box-shadow: 0 0 0 4px rgba(216, 179, 106, .16);
}

.amount-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 14px 0;
    font: inherit;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.4px;
    color: var(--on-light);
    text-align: start;
    outline: none;
}

.amount-field .suffix {
    font-size: 14px;
    color: var(--muted-light);
    white-space: nowrap;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip {
    padding: 9px 16px;
    border-radius: 11px;
    border: 1px solid var(--cream-line);
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted-light);
    transition: all .18s ease;
}

.chip:hover {
    border-color: var(--gold-2);
    color: var(--on-light);
}

.chip.is-active {
    border-color: var(--gold-2);
    background: #fdf6e6;
    color: #7d6224;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    margin-top: 26px;
    border-radius: 999px;
    direction: ltr;
    background: linear-gradient(to right, var(--gold-2) 0%, var(--gold-2) var(--fill, 40%), #ece4d4 var(--fill, 40%), #ece4d4 100%);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(140deg, #e6c884, #b08d3f);
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(176, 141, 63, .45);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(140deg, #e6c884, #b08d3f);
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(176, 141, 63, .45);
    cursor: pointer;
}

.calc-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted-light);
    min-height: 22px;
}

.calc-hint.is-error {
    color: #c0453a;
}

.calc-out-label {
    font-size: 14px;
    color: var(--muted-dark);
}

.calc-out-value {
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 800;
    color: var(--gold-3);
    letter-spacing: -1px;
    line-height: 1.25;
    margin: 6px 0 2px;
}

.calc-out-sub {
    font-size: 14px;
    color: var(--muted-dark);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.calc-rows {
    display: grid;
    gap: 2px;
    margin-top: 6px;
}

.calc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    font-size: 14.5px;
    color: #c6bcab;
}

.calc-row .v {
    margin-inline-start: auto;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.calc-total {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 16px;
    font-weight: 800;
}

.calc-total .v {
    margin-inline-start: auto;
    color: var(--gold-3);
    font-size: 19px;
    white-space: nowrap;
}

.calc-output .btn {
    margin-top: 24px;
}

.calc-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--muted-dark);
}

.calc-note svg {
    width: 14px;
    height: 14px;
}

.calc-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13.5px;
    color: #cfc5b4;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: rgba(216, 179, 106, .5);
}

.calc-link:hover {
    color: var(--gold-3);
}

/* ==========================================================================
   سؤالات متداول
   ========================================================================== */

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--cream-2);
    border: 1px solid var(--cream-line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item.is-open {
    border-color: rgba(176, 141, 63, .45);
    box-shadow: 0 12px 30px rgba(27, 23, 16, .07);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: 0;
    text-align: start;
    font-size: 16px;
    font-weight: 700;
    color: var(--on-light);
}

.faq-q .plus {
    margin-inline-start: auto;
    width: 26px;
    height: 26px;
    flex: none;
    position: relative;
    border-radius: 8px;
    background: #f4eddd;
    color: #8a6d2c;
}

.faq-q .plus::before,
.faq-q .plus::after {
    content: "";
    position: absolute;
    inset: 50% 7px auto;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translateY(-50%);
    transition: transform .25s ease, opacity .25s ease;
}

.faq-q .plus::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open .plus::after {
    transform: translateY(-50%) rotate(0);
    opacity: 0;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
}

.faq-a p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted-light);
    font-size: 15px;
}

.faq-help {
    max-width: 860px;
    margin: 26px auto 0;
    background: var(--cream-2);
    border: 1px solid var(--cream-line);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-help .icon-chip {
    background: #f4eddd;
    border: 0;
    color: #8a6d2c;
    width: 40px;
    height: 40px;
}

.faq-help strong {
    font-size: 15.5px;
}

.faq-help a {
    margin-inline-start: auto;
    color: #8a6d2c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ==========================================================================
   فراخوان پایانی
   ========================================================================== */

.final-cta {
    text-align: center;
    padding: 116px 0;
    background:
        radial-gradient(900px 420px at 50% 0%, rgba(216, 179, 106, .12), transparent 70%),
        var(--ink-2);
    color: var(--on-dark);
}

.final-cta h2 {
    font-size: clamp(30px, 4.6vw, 50px);
    font-weight: 800;
}

.final-cta p {
    margin: 20px auto 34px;
    max-width: 640px;
    color: var(--muted-dark);
    font-size: 16.5px;
}

.final-cta .hero-cta {
    justify-content: center;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #cfc5b4;
}

.trust-item i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(79, 190, 123, .16);
    color: var(--up);
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 11px;
}

/* ==========================================================================
   فوتر
   ========================================================================== */

.site-footer {
    background: var(--ink);
    color: var(--on-dark);
    padding: 76px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand p {
    margin: 18px 0 26px;
    color: var(--muted-dark);
    font-size: 14.5px;
    max-width: 300px;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 20px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 13px;
}

.footer-col a {
    color: var(--muted-dark);
    font-size: 14.5px;
    transition: color .18s ease;
}

.footer-col a:hover {
    color: var(--gold-3);
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 4px;
}

.contact-item {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex: none;
    margin-top: 5px;
}

.contact-item span {
    display: block;
    color: var(--muted-dark);
    font-size: 13px;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.social-row a {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    color: #cfc5b4;
    transition: all .18s ease;
}

.social-row a:hover {
    color: var(--gold);
    border-color: rgba(216, 179, 106, .4);
}

.social-row svg {
    width: 19px;
    height: 19px;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 12px;
}

.badge-card svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
    flex: none;
}

.badge-card b {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.badge-card span {
    font-size: 12.5px;
    color: var(--muted-dark);
}

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: var(--muted-dark);
}

/* ==========================================================================
   حرکت و ریسپانسیو
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 76px 0;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(15, 12, 8, .98);
        backdrop-filter: blur(14px);
        padding: 10px 24px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .nav-toggle {
        display: grid;
    }

    .header-actions {
        gap: 12px;
    }

    .header-phone,
    .header-actions .btn {
        display: none;
    }

    .steps-grid,
    .why-grid,
    .calc {
        grid-template-columns: 1fr;
    }

    .why-card.is-wide {
        grid-column: auto;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(3) {
        border-inline-start: 0;
    }

    .stat:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .container {
        padding-inline: 18px;
    }

    .hero {
        padding: 62px 0 66px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 44px;
    }

    .price-card,
    .calc-input,
    .calc-output {
        padding: 24px 20px;
    }

    .hero-cta .btn,
    .final-cta .btn {
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .faq-q {
        padding: 17px 18px;
        font-size: 15px;
    }

    .faq-a p {
        padding-inline: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
