/* ---------- فونت یکان‌بخ ---------- */
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakh-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakh-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* ---------- توکن‌های طراحی ---------- */
:root {
    --ink: #15171B;
    --steel: #4B5262;
    --steel-light: #8A8F99;
    --paper: #F4F3EF;
    --paper-dim: #EAE8E2;
    --white: #FFFFFF;
    --line: #DEDBD3;
    --line-dark: #2A2D33;
    --yellow: #FFC400;
    --yellow-dark: #E0A800;

    --font-display: 'YekanBakh', 'Tahoma', sans-serif;
    --font-body: 'YekanBakh', 'Tahoma', sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --container: 1200px;
}

/* ---------- پایه ---------- */
* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
}

img { max-width: 100%; display: block; }

a { text-decoration: none; }

section > .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--steel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.4;
}

.section-subtitle {
    color: var(--steel);
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: 36px;
}

section > .container > .eyebrow,
section > .container > .section-title,
section > .container > .section-subtitle {
    text-align: center;
    display: block;
}
section > .container > .eyebrow { display: inline-block; margin-inline: auto; }
section > .container { text-align: center; }

/* ---------- دکمه‌ها ---------- */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}
.btn-primary {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
}
.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; padding: 15px; font-size: 16px; }

/* =====================================================================
   ۱. Hero — مینیمال و تمیز
   ===================================================================== */
.hero-minimal {
    background: var(--white);
    padding: 80px 0 60px;
}
.hero-minimal-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.hero-minimal-text {
    text-align: right;
}
.hero-minimal-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    margin: 0 0 20px;
}
.hero-minimal-desc {
    font-size: clamp(15px, 2.2vw, 17px);
    color: var(--steel);
    line-height: 2;
    margin: 0 0 32px;
    max-width: 540px;
}
.hero-minimal-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--white);
}
.hero-minimal-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-minimal-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-minimal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-minimal-image {
        order: -1;
    }
    .hero-minimal-image img {
        max-height: 250px;
    }
    .hero-minimal-text {
        text-align: center;
    }
    .hero-minimal-title {
        font-size: 26px;
    }
    .hero-minimal-desc {
        font-size: 15px;
        margin: 0 auto 24px;
    }
    .hero-minimal-buttons {
        justify-content: center;
    }
}

/* =====================================================================
   ۲. نوار اعتماد
   ===================================================================== */
.trust-strip {
    background: var(--ink);
    position: relative;
    padding: 34px 0;
}
.trust-strip::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--yellow) 0 14px,
        var(--ink) 14px 28px
    );
}
.trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 220px));
    justify-content: center;
    gap: 20px;
    text-align: center;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.trust-number {
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1.1;
}
.trust-label {
    font-size: 14px;
    color: var(--steel-light);
    letter-spacing: 0.02em;
}

/* =====================================================================
   ۳. چرا آریا تراک
   ===================================================================== */
.why-us { padding: 72px 0; background: var(--paper); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    text-align: start;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}
.feature-card i {
    font-size: 22px;
    color: var(--ink);
    background: var(--yellow);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}
.feature-card p {
    font-size: 14px;
    color: var(--steel);
    line-height: 1.8;
    margin: 0;
}

/* =====================================================================
   ۴. محصولات
   ===================================================================== */
.products-featured { padding: 72px 0; background: var(--paper-dim); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(21,23,27,0.08);
}
.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.product-info { padding: 22px; }
.product-info h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
}
.product-spec {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.product-info p {
    color: var(--steel);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* =====================================================================
   ۵. ویدیو + هات‌اسپات
   ===================================================================== */
.explore-section { padding: 72px 0; background: var(--paper); }
.explore-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: start;
}
.video-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ink);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.video-poster,
.video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.video-container video { z-index: 0; }
.explore-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--steel);
    margin: 0 0 14px;
    text-align: center;
}
.mixer-label { max-width: 780px; margin-inline: auto; margin-bottom: 14px; }
.play-button {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    color: var(--ink);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
}
.play-button:hover { background: var(--yellow-dark); transform: translate(50%, -50%) scale(1.06); }
.play-button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.mixer-wrapper {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}
.mixer-main { width: 100%; height: auto; display: block; }

.hotspot {
    position: absolute;
    width: 22px;
    height: 22px;
    margin: -11px;
    border-radius: 50%;
    background: var(--yellow);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 rgba(255,196,0,0.5);
    animation: hotspot-pulse 2.2s ease-in-out infinite;
    cursor: pointer;
}
.hotspot:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@keyframes hotspot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,196,0,0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(255,196,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,196,0,0); }
}

/* =====================================================================
   ۶. تأمین‌کنندگان — ثابت و ساده
   ===================================================================== */
.suppliers-section {
    padding: 64px 0;
    background: var(--white);
}
.suppliers-static {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.suppliers-static img {
    height: 44px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.suppliers-static img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .suppliers-static {
        gap: 36px;
    }
    .suppliers-static img {
        height: 32px;
    }
}

/* =====================================================================
   ۶.۵. کارخانه‌های بتن آماده (mini grid)
   ===================================================================== */
.plants-teaser {
    padding: 64px 0;
    background: var(--paper-dim);
}

.plants-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.plant-mini-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.plant-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: var(--yellow);
}

.plant-mini-logo {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.plant-mini-logo-placeholder {
    font-size: 36px;
    line-height: 1;
    opacity: 0.6;
}

.plant-mini-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
}

.plant-mini-cta {
    font-size: 13px;
    color: var(--yellow-dark);
    font-weight: 600;
    margin-top: auto;
}

.plants-more {
    text-align: center;
    margin-top: 32px;
}

/* دکمه بزرگ */
.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .plants-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
/* حذف media 480px – دیگر تک‌ستونی وجود ندارد */

/* =====================================================================
   ۷. دانلود کاتالوگ
   ===================================================================== */
.catalog-download { padding: 72px 0; background: var(--paper); }
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.download-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 32px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--ink);
    transition: 0.2s ease;
}
.download-card:hover { border-color: var(--yellow); background: var(--paper-dim); }
.download-card i { font-size: 34px; color: var(--ink); margin-bottom: 14px; }
.download-card h3 { font-size: 17px; margin: 0 0 4px; font-weight: 700; }
.download-card p { font-size: 13px; color: var(--steel); margin: 0; }

/* =====================================================================
   ۸. نظرات مشتریان
   ===================================================================== */
.testimonials-section { padding: 72px 0; background: var(--paper-dim); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--yellow);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    margin: 0;
    text-align: start;
}
.testimonial-quote {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
    margin: 0 0 18px;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--steel); }

/* =====================================================================
   ۹. مقالات
   ===================================================================== */
.blog-section { padding: 72px 0; background: var(--white); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.blog-card-link { color: inherit; }
.blog-home-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: start;
}
.blog-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(21,23,27,0.08);
}
.blog-card-img { height: 180px; overflow: hidden; flex-shrink: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { color: var(--steel); font-size: 12px; margin-bottom: 10px; }
.meta-divider { margin: 0 8px; }
.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.7;
}
.blog-card-excerpt { font-size: 13px; color: var(--steel); line-height: 1.85; flex: 1; margin: 0; }
.blog-more { text-align: center; margin-top: 32px; }

/* =====================================================================
   ۱۰. سوالات متداول
   ===================================================================== */
.faq-section { padding: 72px 0; background: var(--paper-dim); }
.faq-grid {
    column-count: 2;
    column-gap: 24px;
    text-align: start;
}
.faq-item {
    break-inside: avoid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 4px 22px;
    margin-bottom: 20px;
}
.faq-question {
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: "\002B";
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--paper-dim);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] .faq-question::after {
    content: "\2212";
    background: var(--yellow);
    transform: rotate(180deg);
}
.faq-answer {
    color: var(--steel);
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 20px;
}

/* =====================================================================
   ۱۱. فرم مشاوره
   ===================================================================== */
.quick-consultation { padding: 72px 0; background: var(--ink); }
.quick-consultation .eyebrow { border-color: var(--line-dark); color: var(--steel-light); }
.quick-consultation .section-title { color: var(--white); }
.quick-consultation .section-subtitle { color: var(--steel-light); }

.consultation-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: start;
}
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-row input,
.form-select {
    flex: 1;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    background: var(--paper);
}
.form-row input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--yellow-dark);
    background: var(--white);
}
.form-select { width: 100%; margin-bottom: 15px; }

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.form-message {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}
.form-message-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.form-message i { margin-inline-end: 8px; font-size: 18px; }

/* =====================================================================
   دکمه‌های شناور
   ===================================================================== */
.floating-contact {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 40;
}
.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 8px 18px rgba(21,23,27,0.25);
    transition: transform 0.2s ease;
}
.floating-btn:hover { transform: translateY(-3px); }
.floating-call { background: var(--ink); }
.floating-telegram { background: #229ED9; }

/* =====================================================================
   واکنش‌گرایی
   ===================================================================== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-image {
        order: -1;
        min-height: 200px;
        padding: 0;
    }
    .hero-image img {
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
    .tech-corner { width: 26px; height: 26px; }
    .hero-text { text-align: center; }
    .hero-container .eyebrow { margin-top: 4px; }
    .hero-features { grid-template-columns: 1fr; justify-items: center; }
    .hero-buttons { justify-content: center; }
    .trust-strip-inner { grid-template-columns: repeat(2, minmax(0, 200px)); }
    .form-row { flex-direction: column; }
    .faq-grid { column-count: 1; }
    .blog-slider {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
    }
    .blog-slider > a { flex: 0 0 85%; scroll-snap-align: start; }
    .customer-logo { width: 80px; height: 40px; }
    .customers-carousel-track { gap: 25px; animation-duration: 34s; }
    .floating-contact { bottom: 16px; left: 16px; }
    .floating-btn { width: 46px; height: 46px; font-size: 18px; }

    .video-wrapper {
        max-width: 100%;
        margin: 0;
    }
    .video-container {
        width: 100%;
        aspect-ratio: 16/9;
    }
    .play-button {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .mixer-wrapper {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .customers-carousel-track { animation: none; }
    .hotspot { animation: none; }
    .product-card:hover,
    .blog-home-card:hover,
    .feature-card:hover,
    .btn-primary:hover,
    .floating-btn:hover { transform: none; }
}