/* عرض اسکرول‌بار */
::-webkit-scrollbar {
    width: 30px;
}

/* پس‌زمینه */
::-webkit-scrollbar-track {
    background: transparent;
}

/* میلگرد */
::-webkit-scrollbar-thumb {
    background-image: url("img/mill.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 260% 100%;

    border-radius: 15px;

    /* حرکت نرم */
    transition: all 0.3s ease;

    /* سایه ظریف */
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
}

/* وقتی موس روی میلگرد میره */
::-webkit-scrollbar-thumb:hover {
    background-size: 380% 100%;
    filter:
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

/* نشانگر موس */
* {
    cursor: url("img/cursor.png") 16 16, auto;
}

/* برای لینک‌ها و دکمه‌ها هم همون پیچ */
a,
button,
input,
select,
textarea {
    cursor: url("img/cursor.png") 16 16, pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Vazirmatn", sans-serif;
}

body {
    background: #081018;
    color: #fff;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, .35);
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
      backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
}

header::before {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: -1;
    }

.logo h2 {
    font-size: 28px;
    color: #d6a44a
}

.logo span {
    font-size: 12px;
    letter-spacing: 3px;
    color: #bbb
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none
}

nav a {
    text-decoration: none;
    color: #fff;
    transition: .3s
}

nav a:hover {
    color: #d6a44a
}

.header-btn a {
    padding: 12px 22px;
    background: #d6a44a;
    color: #111;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

/* سه خط ← ضربدر */
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* در دسکتاپ این دو تا هیچ اثری روی چیدمان ندارن */
.menu-panel   { display: contents; }
.menu-overlay { display: none; }

/* =========================
   HERO - DESKTOP
========================= */

/* ==============================
   HERO - DESKTOP
   استایل اصلی حفظ شده
============================== */

.hero {
    position: relative;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.columns {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    z-index: 0;
    height: 110%;
}

.col {
    overflow: hidden;
}

.col img {
    width: 120%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    transition: .5s;
    object-position: center;
    margin-right: -10%;
    display: block;
}

/* ==============================
   DESKTOP HOVER
   فقط در دستگاه‌های دارای موس
============================== */



/* ==============================
   OVERLAY - ORIGINAL
============================== */

.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, .15) 35%,
        rgba(0, 0, 0, .45) 70%,
        rgba(8, 8, 8, .95) 100%
    );

    z-index: 1;
}

.hero-content,
.stats,
.social,
.slider {
    z-index: 2;
}

/* ==============================
   HERO CONTENT - ORIGINAL
============================== */

.hero-content {
    position: relative;
    z-index: 2;
    top: 25%;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    margin-bottom: -8px;
    line-height: 0.9;
    font-size: 96px;
    font-weight: 800;
    letter-spacing: 6px;
}

.hero-content h2 {
    line-height: 1;
    font-size: 52px;
    color: #d6a44a;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 2;
    color: #ddd;
    margin-bottom: 35px;
}

/* ==============================
   BUTTONS - ORIGINAL
============================== */

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.buttons a {
    padding: 15px 34px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.gold {
    background: #d6a44a;
    color: #111;
}

.border {
    border: 2px solid #fff;
    color: #fff;
}

.border:hover {
    background: #fff;
    color: #111;
}

/* ==============================
   SLIDER - ORIGINAL
============================== */

.slider {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 3;
}

.slider span {
    opacity: .4;
}

/* ==============================
   SOCIAL - ORIGINAL
============================== */

.social {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.social a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

/* ==============================
   TABLET
============================== */

/* @media screen and (min-width: 601px) and (max-width: 1024px) {

    .hero {
        height: 100svh;
        min-height: 650px;
        max-height: 950px;
    }

    .columns {
        height: 100%;
    }

    .hero-content {
        top: 8%;
        max-width: 700px;
        padding: 24px;
    }

    .hero-content h1 {
        font-size: clamp(68px, 9vw, 88px);
    }

    .hero-content h2 {
        font-size: clamp(34px, 5vw, 46px);
    }

    .hero-content p {
        font-size: 17px;
    }

    .buttons {
        gap: 14px;
    }

    .buttons a {
        padding: 14px 24px;
    }

    .slider {
        right: 20px;
    }

    .social {
        left: 20px;
        bottom: 25px;
    }
} */

/* ==============================
   MOBILE - SINGLE BACKGROUND
============================== */

/* @media screen and (max-width: 600px) {

    .hero {
        height: 100svh;
        min-height: 600px;
        max-height: 850px;
        display: flex;
        align-items: center;
        justify-content: center;
        isolation: isolate;
    } */

    /* پس‌زمینه تمام‌صفحه */

    /* .columns {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 0;
    } */

    /* مخفی کردن پنج تصویر دیگر */

    /* .columns .col {
        display: none;
    } */

    /* نمایش تنها تصویر active */
/* 
    .columns .col.active {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .columns .col.active img {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: cover;
        object-position: center;
        filter: brightness(.42);
        transform: none;
    } */

    /* لایه تیره برای خوانایی متن */

    /* .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, .12) 0%,
            rgba(0, 0, 0, .15) 25%,
            rgba(0, 0, 0, .42) 60%,
            rgba(0, 0, 0, .78) 100%
        );
    } */

    /* محتوای اصلی */
/* 
    .hero-content {
        position: relative;
        z-index: 2;
        top: 0;
        left: auto;
        width: 100%;
        max-width: 500px;
        padding: 24px 20px;
        margin: 0 auto;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(56px, 14vw, 76px);
        font-weight: 800;
        letter-spacing: 4px;
        line-height: 1;
        margin: 0 0 10px;
    }

    .hero-content h2 {
        font-size: clamp(25px, 6.8vw, 36px);
        line-height: 1.2;
        margin: 0 0 20px;
        color: #d6a44a;
    }

    .hero-content p {
        max-width: 360px;
        margin: 0 auto 28px;
        font-size: 15px;
        line-height: 2;
        color: #eee;
    } */

    /* دکمه‌ها */
/* 
    .buttons {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .buttons a {
        width: 100%;
        min-height: 48px;
        padding: 14px 16px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        border-radius: 6px;
    } */

    /* حفظ دسترسی به منوی شبکه‌های اجتماعی */

    /* .social-menu {
        position: absolute;
        z-index: 5;
        left: 14px;
        bottom: 16px;
    } */

    /* عناصر جانبی احتمالی */
/* 
    .slider {
        right: 12px;
    } */

    /* جلوگیری از افکت ناخواسته روی موبایل */

    /* .columns .col.active:hover img {
        transform: none;
    }
} */

/* ==============================
   SMALL MOBILE
============================== */

/* @media screen and (max-width: 380px) {

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 20px 16px;
    }

    .hero-content h1 {
        font-size: 50px;
        letter-spacing: 2px;
    }

    .hero-content h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 22px;
    }

    .buttons {
        max-width: 290px;
    }

    .buttons a {
        font-size: 13px;
        padding: 12px;
    }
} */

/* ==============================
   ACCESSIBILITY
============================== */

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

    .col img,
    .buttons a {
        transition: none;
    }
} */

.stats {
    position: absolute;
    left: 0;
    bottom: -250px;

    width: 100%;
    height: 110px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(20, 20, 20, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .45);

    z-index: 100;
}

.item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content h2 {
    margin: 0;
    font-size: 30px;
    color: #fff;
}

.content p {
    margin-top: 5px;
    color: #bdbdbd;
    font-size: 14px;
}

.item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;

    transform: translateY(-50%);

    width: 1px;
    height: 60px;

    background: rgba(255, 255, 255, .18);
}

.icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .03);
}


.icon i {
    font-size: 22px;
    color: #d6a44a;
}

#icon {
    width: 40px;
    height: 40px;
    padding-top: 7px;
}

.social-menu {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.social-btn,
#toggleSocial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: .35s;
    cursor: pointer;
}

#toggleSocial {
    font-size: 20px
}

.social-btn i {
    font-size: 20px
}

.social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain
}

.social-btn {
    opacity: 0;
    transform: translateY(20px) scale(.7);
    pointer-events: none
}

.social-menu.active .social-btn {
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.social-menu.active #toggleSocial i {
    transform: rotate(180deg)
}

#toggleSocial i {
    transition: .35s
}

.social-btn:hover,
#toggleSocial:hover {
    background: #fff;
    color: #000
}

.social-btn:hover img {
    filter: brightness(0)
}


.item h2 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 4px;
}

.item p {
    font-size: 14px;
    color: #bcbcbc;
}


/* مخفی شدن بخش آمار در موبایل و تبلت */
@media screen and (max-width: 1024px) {
    .stats {
        display: none !important;
    }
}


/* second part */
.stats-spacer {
    height: 110px;
    background: #0b131c;
}

.section-title {
    text-align: center;
    padding-top: 70px;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: #d6a44a;
    border-radius: 3px;
}

/* ---------- Industries carousel ---------- */
.industries {
    position: relative;
    padding: 0 60px 80px;
    background-color: #081018;
}

.industries-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.industries-track::-webkit-scrollbar {
    display: none;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.industry-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.65);
    transition: .4s;
}

.industry-card:hover .industry-img img {
    filter: brightness(.9);
    transform: scale(1.06);
}

.industry-icon {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(214, 164, 74, .4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 164, 74, .06);
    margin-top: -45px;
    z-index: 2;
}

.industry-icon i {
    font-size: 18px;
    color: #d6a44a;
}

.industry-card span {
    font-size: 14px;
    color: #ddd;
    text-align: center;
}

.slide-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: .3s;
}

.slide-btn:hover {
    background: #d6a44a;
    color: #111;
    border-color: #d6a44a;
}

.slide-btn.prev {
    right: 14px;
}

.slide-btn.next {
    left: 14px;
}

/* ---------- Main products grid ---------- */
.products {
    padding: 0 60px 100px;
    background-color: #081018;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.product-card {
    background: #131E2c;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 26px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    transition: .3s;
}

.product-card:hover {
    border-color: rgba(214, 164, 74, .5);
    transform: translateY(-4px);
}

.product-icon {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: #0c0c0c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.15) brightness(.95);
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.product-card a {
    font-size: 13px;
    color: #d6a44a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card a i {
    font-size: 11px;
}

@media(max-width:992px) {
    .industries-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries,
    .products {
        padding: 0 24px 60px;
    }
}

@media(max-width:600px) {
    .industries-track {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .slide-btn {
        display: none;
    }
}

/* Third part */
.section-title {
    text-align: center;
    padding-top: 70px;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: #d6a44a;
    border-radius: 3px;
}


/* ---------- Process timeline ---------- */
.process {
    padding: 0 60px 90px;
    background-color: #081018;
}

.process-track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 60px;
    right: 44px;
    left: 44px;
    height: 2px;
    background: repeating-linear-gradient(to left, #d6a44a 0 6px, transparent 6px 12px);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.process-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #d6a44a;
    overflow: hidden;
    background: #0f0f0f;
}

.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.7);
}

.process-step h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.process-step span {
    font-size: 13px;
    color: #d6a44a;
    font-weight: 700;
}

.process .process-track .process-step p {
    display: block !important;
    width: 160px !important;
    max-width: 160px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    direction: rtl !important;
    line-height: 1.8;
    font-size: 13px;
    color: #aaa;
}

/* ---------- Projects map section ---------- */
.project-page {
    padding: 0 40px;
    background-color: #081018;
}

.project-hero {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    padding: 70px 64px;
    background-image:
        linear-gradient(rgba(8, 9, 12, 0.92), rgba(8, 9, 12, 0.92)),
        url('img/bg-iran.jpg');
    border: 1px rgb(157, 157, 157) solid;
    background-size: cover;
    background-position: center;
    background-color: #0b0c10;
}

.project-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
}

.project-content {
    flex: 0 0 400px;
    text-align: right;
    order: 1;
    color: white;
}

.project-content h1 {
    color: var(--text-light);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 20px;
}

.project-content h1 .accent {
    color: var(--gold-bright);
}

.project-content p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 2;
    margin: 0 0 28px;
    font-weight: 400;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-bright);
    color: #000000;
    background-color: #d6a44a;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
}

.project-btn svg {
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

.project-map-wrap {
    flex: 1 1 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 260px;
    order: 2;
}

.project-map-wrap img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

.project-divider {
    align-self: stretch;
    width: 1px;
    background: var(--line-soft);
    order: 3;
}

.project-cities {
    flex: 0 0 190px;
    order: 4;
    color: white;
}

.project-cities h3 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.6;
}

.project-cities ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.project-cities li {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    padding: 7px 0;
}

.project-cities li:first-child {
    padding-top: 0;
}

.project-cities .see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.project-cities .see-all svg {
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
}

/* ---------- Calculator + CTA ---------- */
.calc-cta {
    margin: 60px 90px;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 20px;
    border-radius: 14px;
    border: 1px rgb(157, 157, 157) solid;
}

.calc-box {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 30px;
}

.calc-box h3 {
    font-size: 18px;
    margin-bottom: 22px;
}

.calc-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.calc-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-field label {
    font-size: 12px;
    color: #999;
}

.calc-field select,
.calc-field input {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}

.calc-result {
    margin-top: 20px;
    background: rgba(214, 164, 74, .06);
    border: 1px solid rgba(214, 164, 74, .25);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.calc-result span {
    font-size: 13px;
    color: #bbb;
    display: block;
    margin-bottom: 6px;
}

.calc-result h2 {
    font-size: 34px;
    color: #d6a44a;
}

.cta-box {
    background-color: #081018;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px;
}

/* .cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(15, 15, 15, .2), rgba(15, 15, 15, .95));
    z-index: 1;
} */

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 360px;
    /* background-color: #081018; */
}

.cta-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 22px;
}

.cta-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d6a44a;
    color: #111;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
}
/* ---------- Footer ---------- */
footer {
    background: #0b131c;
    border-top: none;
    padding: 50px 60px 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-brand .logo h2 {
    font-size: 24px;
    color: #d6a44a;
    margin-bottom: 0;
}

.footer-brand .logo span {
    font-size: 11px;
    letter-spacing: 3px;
    color: #999;
}

.footer-brand p {
    font-size: 13px;
    color: #999;
    line-height: 1.9;
    margin: 16px 0 18px;
    max-width: 250px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

footer h4 {
    font-size: 15px;
    margin-bottom: 18px;
    color: #fff;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

footer ul a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: .3s;
}

footer ul a:hover {
    color: #d6a44a;
}

/* بخش تماس با ما (قبلاً با استایل inline نوشته شده بود) */
.footer-contact-wrap {
    padding-bottom: 30px;
}

.footer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-contact li {
    font-size: 13px;
    color: #999;
    overflow-wrap: anywhere;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #777;
}

/* ================= تبلت و گوشی ================= */
@media (max-width: 992px) {

    footer {
        padding: 40px 32px 20px;
    }

    /* بالا: معرفی آسن فولاد + آیکون‌ها (تمام عرض) */
    footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));   /* صنایع و خدمات کنار هم */
        gap: 28px;
        padding-bottom: 28px;
    }

    footer .footer-brand {
        grid-column: 1 / -1;
    }

    footer .footer-brand p {
        max-width: 420px;
    }

    /* تماس با ما: تلفن و ایمیل کنار هم، آدرس زیرشون */
    footer .footer-contact {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 20px;
    }

    footer .footer-contact li:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 36px 20px 20px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 16px 32px;
        background: transparent;
        backdrop-filter: none;
    }

    header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        backdrop-filter: blur(10px);
        z-index: -1;
    }

    header .menu-toggle {
        display: flex;
        order: 1;
        position: relative;
        z-index: 3;
    }

    header .logo { order: 2; }

    header .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility 0s .35s;
        z-index: 1;
    }

    header.menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
        transition: opacity .35s ease, visibility 0s;
    }

    header .menu-panel {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%;
        min-width: 220px;
        padding: 90px 24px 24px;
        background: #0e0e0e;
        border-left: 1px solid rgba(255, 255, 255, .08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, .5);
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s ease, visibility 0s .35s;
        z-index: 2;
    }

    header.menu-open .menu-panel {
        transform: translateX(0);
        visibility: visible;
        transition: transform .35s ease, visibility 0s;
    }

    header .menu-panel nav {
        display: block;
    }

    header .menu-panel nav ul {
        flex-direction: column;
        gap: 0;
    }

    header .menu-panel nav li {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    header .menu-panel nav a {
        display: block;
        padding: 14px 4px;
        font-size: 15px;
    }

    header .header-btn {
        padding-top: 22px;
    }

    header .header-btn a {
        display: block;
        text-align: center;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    header { padding: 14px 20px; }
}

@media(max-width:992px) {
    nav {
        display: none
    }

    .hero-content h1 {
        font-size: 64px
    }

    .hero-content h2 {
        font-size: 36px
    }

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

@media(max-width:600px) {
    .columns {
        grid-template-columns: 1fr
    }

    header {
        padding: 15px 20px
    }

    .hero-content h1 {
        font-size: 44px
    }

    .hero-content h2 {
        font-size: 28px
    }

    .stats {
        grid-template-columns: 1fr
    }

    .buttons {
        flex-direction: column
    }
}

@media (max-width: 980px) {
    .project-page {
        padding: 0 20px;
    }

    .project-hero {
        padding: 48px 32px;
    }

    .project-inner {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .project-content {
        order: 1;
        flex: 0 0 auto;
        text-align: center;
    }

    .project-content h1,
    .project-content p {
        text-align: center;
    }

    .project-map-wrap {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
    }

    .project-divider {
        order: 3;
        width: 60%;
        height: 1px;
    }

    .project-cities {
        order: 4;
        flex: 0 0 auto;
        text-align: center;
        width: 100%;
    }

    .project-cities li {
        border-bottom: none;
    }
}

@media (max-width: 560px) {
    .project-page {
        padding: 0 14px;
    }

    .project-hero {
        padding: 36px 20px;
    }
}

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

    .cities li,
    .cta {
        transition: none;
    }
}

@media(max-width:992px) {
    .process-track {
        flex-wrap: wrap;
        gap: 24px;
    }

    .process-track::before {
        display: none;
    }

    .projects {
        grid-template-columns: 1fr;
        margin: 0 24px 60px;
    }

    .projects-content {
        padding: 24px;
    }

    .project-cards {
        grid-template-columns: 1fr;
    }

    .calc-cta {
        grid-template-columns: 1fr;
        margin: 0 24px 60px;
    }

    .ticker {
        margin: 0 24px;
    }

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

@media(max-width:600px) {

    @media(max-width:600px) {
        .process-icon {
            width: 80px;
            height: 80px;
        }
    }

    .process,
    .ticker {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ticker {
        margin: 0 20px;
        flex-direction: column;
    }

    .ticker-item {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

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

    footer {
        padding: 40px 20px 20px;
    }
}


/* =====================================
   ASEN FOOLAD - RESPONSIVE HEADER & HERO
===================================== */

/* جلوگیری از بزرگ شدن عرض عناصر */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* ========== TABLET ========== */

@media (max-width: 491px) {
    header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 16px !important;
        gap: 12px !important;
    }

    header .menu-toggle {
        position: relative !important;
        inset: auto !important;
        order: 0 !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 8px !important;
        transform: none !important;
        z-index: 1002 !important;
    }

    header .logo {
        position: relative !important;
        inset: auto !important;
        order: 1 !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 54px) !important;
        margin: 0 !important;
        transform: none !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    header .logo h2 {
        margin: 0 !important;
    }
}

@media (max-width: 491px) {
    header {
        box-sizing: border-box !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 10px 16px !important;
    }
}

@media (max-width: 491px) {
    html,
    body {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* اصلاح نمایش موبایل صفحه اصلی */
@media (max-width: 600px) {

    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow-x: clip !important;
    }

    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .menu-toggle {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .hero {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        left: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hero .columns {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero .columns .col.active {
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero .columns .col.active img {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        transform: none !important;
        object-fit: cover !important;
    }
}

@media (max-width: 600px) {

    .hero .columns {
        display: block !important;
    }

    .hero .columns .col {
        display: none !important;
    }

    .hero .columns .col.active {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero .columns .col:not(.active) {
        display: none !important;
    }

     .hero-content {
        transform: translateY(-120px) !important;
    }

}

@media (max-width: 600px) {
    .hero {
        height: 90svh !important;
        min-height: 0 !important;
        max-height: 750px !important;
    }
}


/* اصلاح بخش محاسبه وزن در موبایل */
@media (max-width: 768px) {

    .calc-cta {
        margin: 35px 16px;
        width: auto;
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .cta-box,
    .calc-box {
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }

    .cta-box {
        padding: 24px 20px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content h3 {
        font-size: 21px;
        overflow-wrap: anywhere;
    }

    .calc-box {
        padding: 20px 14px;
    }

    .calc-row {
        min-width: 0;
        gap: 8px;
    }

    .calc-field {
        min-width: 0;
    }

    .calc-field select,
    .calc-field input {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .calc-result h2 {
        font-size: 27px;
    }
}
