    /* ═══════════════════════════════════════════════════════════════
       GOSTARESH KHODRO BOUKAN - CORPORATE LANDING PAGE
       Modern, professional, SEO-optimized design
       Color: Deep teal + warm amber accent + clean light background
    ═══════════════════════════════════════════════════════════════ */

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

    :root {
        /* Brand Colors — these are overridden by dynamic <style> from SiteSettings */
        --brand-deep: #c2410c;
        --brand-primary: #ea580c;
        --brand-light: #f97316;
        --brand-accent: #fb923c;
        --brand-warm: #fdba74;
        --brand-danger: #dc2626;

        /* Neutrals */
        --bg-page: #f7f9fa;
        --bg-white: #ffffff;
        --bg-soft: #eef2f4;
        --bg-dark: #7c2d12;

        --text-primary: #1a2e35;
        --text-body: #4a5560;
        --text-muted: #7a8896;
        --text-light: #ffffff;
        --text-soft: #e8f0f2;

        --border-color: #d8e0e4;
        --border-soft: #e8edf0;

        /* Effects */
        --shadow-sm: 0 1px 3px rgba(15, 76, 92, 0.06), 0 1px 2px rgba(15, 76, 92, 0.04);
        --shadow-md: 0 4px 12px rgba(15, 76, 92, 0.08), 0 2px 4px rgba(15, 76, 92, 0.04);
        --shadow-lg: 0 10px 30px rgba(15, 76, 92, 0.10), 0 4px 8px rgba(15, 76, 92, 0.05);
        --shadow-xl: 0 20px 60px rgba(15, 76, 92, 0.15), 0 8px 16px rgba(15, 76, 92, 0.08);

        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 18px;
        --radius-xl: 24px;

        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
        font-family: 'Vazirmatn', 'Tahoma', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        background: var(--bg-page);
        color: var(--text-body);
        line-height: 1.7;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--brand-primary); text-decoration: none; transition: var(--transition-fast); }
    a:hover { color: var(--brand-deep); }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ═══════════════════════════════════════════════════════════════
       HEADER / NAVIGATION
    ═══════════════════════════════════════════════════════════════ */
    .site-header {
        position: fixed;
        top: 0; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1000;
        border-bottom: 1px solid var(--border-soft);
        transition: var(--transition);
    }
    .site-header.scrolled {
        box-shadow: var(--shadow-md);
    }
    .header-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 14px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .brand-logo {
        width: 48px; height: 48px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        box-shadow: var(--shadow-sm);
    }
    .brand-text { display: flex; flex-direction: column; }
    .brand-name {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1.2;
        white-space: nowrap;
    }
    .brand-sub {
        font-size: 0.78rem;
        color: var(--text-muted);
        font-weight: 500;
        white-space: nowrap;
    }
    .main-nav ul {
        display: flex;
        gap: 8px;
        list-style: none;
    }
    .main-nav a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        color: var(--text-body);
        font-weight: 600;
        font-size: 0.92rem;
        border-radius: var(--radius-sm);
        transition: var(--transition-fast);
    }
    .main-nav a:hover, .main-nav a.active {
        color: var(--brand-primary);
        background: var(--bg-soft);
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        font-family: inherit;
        font-weight: 700;
        font-size: 0.92rem;
        border-radius: var(--radius-sm);
        border: none;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
        white-space: nowrap;
    }
    .btn-primary {
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        color: var(--text-light);
        box-shadow: var(--shadow-sm);
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        color: var(--text-light);
    }
    .btn-secondary {
        background: var(--bg-white);
        color: var(--brand-primary);
        border: 1.5px solid var(--brand-primary);
    }
    .btn-secondary:hover {
        background: var(--brand-primary);
        color: var(--text-light);
    }
    .btn-ghost {
        background: transparent;
        color: var(--text-body);
        border: 1px solid var(--border-color);
    }
    .btn-ghost:hover { background: var(--bg-soft); }

    .mobile-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        flex-direction: column;
        gap: 5px;
    }
    .mobile-toggle span {
        width: 24px; height: 2px;
        background: var(--text-primary);
        transition: var(--transition-fast);
        border-radius: 2px;
    }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ═══════════════════════════════════════════════════════════════
       HERO SECTION — Cinematic Slider Background + Glass Text Panel
    ═══════════════════════════════════════════════════════════════ */
    .hero {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        height: 500px;
        max-height: 500px;
        overflow: hidden;
        color: var(--text-light);
        background: var(--bg-dark);
        /* طبق درخواست: ابعاد اسلایدر هرگز نباید از ۱۲۰۰×۵۰۰ پیکسل (نسبت ۲.۴:۱) بزرگ‌تر شود.
           روی مانیتورهای بزرگ یا هنگام زوم اوت که فضای صفحه بیشتر از ۱۲۰۰px است، اسلایدر
           در همان اندازه‌ی حداکثری ثابت می‌ماند و وسط صفحه قرار می‌گیرد (نه full-width). */
    }
    /* اسلایدر به‌عنوان پس‌زمینه کامل hero
       نکته مهم: عکس‌ها با position:absolute + inset:0 دقیقاً روی کادر اسلاید کشیده می‌شوند
       تا در هیچ حالتی (زوم مرورگر، گرد شدن اعداد اعشاری فلکس‌باکس و ...) گوشه‌ها/بالا/پایین
       عکس خالی نماند و پس‌زمینه پشت اسلایدر دیده نشود. */
    .hero-slider-bg {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
        /* مهم: کل صفحه RTL است، اما ترک اسلایدر باید همیشه LTR باشد وگرنه فلکس‌باکس
           ترتیب اسلایدها را از راست به چپ می‌چیند و فرمول translateX(-index*100%)
           به‌جای نمایش اسلاید بعدی، آن را بیشتر از دید خارج می‌کند (همان باگی که فقط
           اسلاید اول دیده می‌شد و بقیه نمایش داده نمی‌شدند). */
        direction: ltr;
    }
    .hero-slider-bg .slider-track {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
        will-change: transform;
    }
    .hero-slider-bg .slider-slide {
        position: relative;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .hero-slider-bg .slider-slide img {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        /* طبق درخواست: عرض و طول عکس دقیقاً برابر عرض و طول کادر اسلایدر باشد و
           هیچ بخشی از عکس بریده/پنهان نشود (fill به‌جای cover، تا کل عکس همیشه کامل دیده شود). */
        object-fit: fill;
        display: block;
    }
    /* لایه تیره ملایم برای خوانایی متن — فقط سمت راست */
    .hero-overlay-dark {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 55%;
        z-index: 2;
        background: linear-gradient(
            270deg,
            rgba(0, 0, 0, 0.45) 0%,
            transparent 100%
        );
        pointer-events: none;
    }
    /* پنل شیشه‌ای متن — سمت راست (RTL) */
    .hero-glass-panel {
        position: relative;
        z-index: 3;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .hero-glass-inner {
        width: 52%;
        max-width: 580px;
        padding: 40px 44px;
        background: linear-gradient(
            135deg,
            rgba(var(--brand-deep-rgb), 0.55) 0%,
            rgba(var(--brand-primary-rgb), 0.40) 100%
        );
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        /* حاشیه رمپ — بالاست که شفاف است و پایین که جامد */
        position: relative;
    }
    /* حاشیه چپ پنل — رمپ به‌آرامی محو می‌شود */
    .hero-glass-inner::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 0;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(233, 196, 106, 0.6) 30%,
            rgba(233, 196, 106, 0.6) 70%,
            transparent 100%
        );
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 14px;
        background: rgba(233, 196, 106, 0.20);
        border: 1px solid rgba(233, 196, 106, 0.45);
        border-radius: 100px;
        font-size: 0.80rem;
        font-weight: 600;
        color: var(--brand-accent);
        margin-bottom: 20px;
    }
    .hero h1 {
        font-size: clamp(1.7rem, 4vw, 2.8rem);
        font-weight: 900;
        line-height: 1.25;
        margin-bottom: 16px;
        color: white;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    }
    .hero h1 .highlight {
        color: var(--brand-accent);
    }
    .hero-desc {
        font-size: 0.98rem;
        line-height: 1.75;
        margin-bottom: 28px;
        color: rgba(255, 255, 255, 0.92);
    }
    .hero-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 28px;
    }
    .hero-actions .btn-primary {
        background: var(--brand-accent);
        color: var(--bg-dark);
    }
    .hero-actions .btn-primary:hover {
        background: #f0d088;
        color: var(--bg-dark);
    }
    .hero-actions .btn-secondary {
        background: rgba(255, 255, 255, 0.12);
        color: white;
        border-color: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(8px);
    }
    .hero-actions .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.22);
        color: white;
    }
    .hero-stats {
        display: flex;
        gap: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    .hero-stat .num {
        font-size: 1.6rem;
        font-weight: 900;
        color: var(--brand-accent);
        line-height: 1;
        margin-bottom: 2px;
    }
    .hero-stat .label {
        font-size: 0.76rem;
        color: rgba(255, 255, 255, 0.75);
    }
    /* اسلایدر خالی (بدون عکس) */
    .hero-slider-empty {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 1;
        background:
            linear-gradient(135deg, rgba(var(--brand-deep-rgb), 0.96) 0%, rgba(var(--brand-primary-rgb), 0.94) 100%),
            url('{% static "images/hero-facility.jpg" %}') center/cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.5);
    }
    /* ناوبری اسلایدر روی hero */
    .hero .slider-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 10;
    }
    .hero .slider-nav:hover {
        background: var(--brand-accent);
        color: var(--bg-dark);
    }
    .hero .slider-nav.prev { right: 20px; }
    .hero .slider-nav.next { left: 20px; }
    .hero .slider-dots {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
    }
    .hero .slider-dot {
        width: 10px; height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
        border: none;
        cursor: pointer;
        transition: var(--transition);
        padding: 0;
    }
    .hero .slider-dot.active {
        background: var(--brand-accent);
        width: 30px;
        border-radius: 5px;
    }
    /* رسپانسیو hero */
    @media (max-width: 768px) {
        .hero { height: 400px; max-height: 400px; }
        .hero-glass-panel { padding: 0 16px; }
        .hero-glass-inner { width: 100%; max-width: none; padding: 28px 24px; }
        .hero-stats { flex-wrap: wrap; gap: 12px; }
        .hero-stat { min-width: 80px; }
        .hero .slider-nav { width: 40px; height: 40px; font-size: 0.95rem; }
    }
    @media (max-width: 480px) {
        .hero { height: 320px; max-height: 320px; }
        .hero h1 { font-size: 1.5rem; }
        .hero-desc { font-size: 0.88rem; }

        .hero-glass-inner { padding: 20px 16px; }
    }

    /* Login Card on Hero */
    .login-card {
        background: white;
        border-radius: var(--radius-lg);
        padding: 36px 32px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
        max-width: 420px;
        margin: 0 auto;
    }
    .login-card-header {
        text-align: center;
        margin-bottom: 28px;
    }
    .login-card-header .icon {
        width: 56px; height: 56px;
        margin: 0 auto 16px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        box-shadow: var(--shadow-md);
    }
    .login-card-header h2 {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 6px;
    }
    .login-card-header p {
        color: var(--text-muted);
        font-size: 0.9rem;
    }
    .form-group {
        margin-bottom: 18px;
    }
    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 8px;
    }
    .form-input {
        width: 100%;
        padding: 12px 16px;
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-sm);
        font-family: inherit;
        font-size: 0.95rem;
        color: var(--text-primary);
        background: var(--bg-page);
        transition: var(--transition-fast);
    }
    .form-input:focus {
        outline: none;
        border-color: var(--brand-primary);
        background: white;
        box-shadow: 0 0 0 4px rgba(17, 102, 122, 0.1);
    }
    .form-input::placeholder { color: var(--text-muted); }
    .btn-block {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    .login-card-footer {
        margin-top: 20px;
        text-align: center;
        font-size: 0.85rem;
        color: var(--text-muted);
    }
    .login-card-footer a {
        font-weight: 600;
    }

    /* ═══════════════════════════════════════════════════════════════
       SECTION GENERIC
    ═══════════════════════════════════════════════════════════════ */
    section { padding: 80px 0; }
    .section-header {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 56px;
    }
    .section-tag {
        display: inline-block;
        padding: 6px 14px;
        background: var(--bg-soft);
        color: var(--brand-primary);
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 100px;
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }
    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.4rem);
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1.3;
        margin-bottom: 16px;
    }
    .section-desc {
        font-size: 1.05rem;
        color: var(--text-body);
        line-height: 1.7;
    }

    /* ═══════════════════════════════════════════════════════════════
       SERVICES SECTION
    ═══════════════════════════════════════════════════════════════ */
    .services-section { background: var(--bg-white); }
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
    .service-card {
        background: var(--bg-page);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-lg);
        padding: 32px 28px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }
    .service-card::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 80px; height: 80px;
        background: linear-gradient(135deg, rgba(17, 102, 122, 0.08), transparent);
        border-radius: 0 0 0 100%;
    }
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--brand-light);
        background: white;
    }
    .service-icon {
        width: 56px; height: 56px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        margin-bottom: 20px;
        box-shadow: var(--shadow-sm);
    }
    .service-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 10px;
    }
    .service-card p {
        color: var(--text-body);
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* ═══════════════════════════════════════════════════════════════
       PROCESS / TIMELINE SECTION
    ═══════════════════════════════════════════════════════════════ */
    .process-section {
        background: var(--bg-soft);
    }
    .timeline {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 24px;
        counter-reset: step;
    }
    .timeline-item {
        background: white;
        border-radius: var(--radius-lg);
        padding: 28px 24px;
        position: relative;
        border: 1px solid var(--border-soft);
        transition: var(--transition);
    }
    .timeline-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }
    .timeline-item::before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        top: -16px; right: 24px;
        width: 36px; height: 36px;
        background: var(--brand-accent);
        color: var(--bg-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1rem;
        box-shadow: var(--shadow-sm);
    }
    .timeline-item .icon {
        font-size: 2rem;
        color: var(--brand-primary);
        margin-bottom: 14px;
    }
    .timeline-item h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 8px;
    }
    .timeline-item p {
        color: var(--text-body);
        font-size: 0.92rem;
        line-height: 1.6;
    }

    /* ═══════════════════════════════════════════════════════════════
       WHY US / FEATURES SECTION
    ═══════════════════════════════════════════════════════════════ */
    .features-section { background: var(--bg-white); }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }
    .feature-item {
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }
    .feature-icon {
        flex-shrink: 0;
        width: 48px; height: 48px;
        background: var(--bg-soft);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--brand-primary);
        font-size: 1.2rem;
    }
    .feature-content h4 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 6px;
    }
    .feature-content p {
        color: var(--text-body);
        font-size: 0.92rem;
        line-height: 1.6;
    }

    /* ═══════════════════════════════════════════════════════════════
       NEWS SECTION
    ═══════════════════════════════════════════════════════════════ */
    .news-section { background: var(--bg-soft); }
    .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
    .news-card {
        background: white;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border-soft);
    }
    .news-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px);
    }
    .news-card.featured {
        grid-column: span 2;
    }
    .news-image {
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        padding: 32px;
        color: white;
        font-size: 2.5rem;
        text-align: center;
    }
    .news-body {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        font-size: 0.82rem;
        color: var(--text-muted);
    }
    .news-tag {
        display: inline-block;
        padding: 3px 10px;
        background: var(--brand-accent);
        color: var(--bg-dark);
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 700;
    }
    .news-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .news-card p {
        color: var(--text-body);
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 16px;
        flex: 1;
    }
    .read-more-btn {
        background: none;
        border: none;
        color: var(--brand-primary);
        font-family: inherit;
        font-weight: 700;
        cursor: pointer;
        padding: 0;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        align-self: flex-start;
    }
    .read-more-btn:hover {
        color: var(--brand-deep);
        gap: 10px;
    }
    .news-empty {
        grid-column: 1 / -1;
        text-align: center;
        padding: 60px 20px;
        background: white;
        border-radius: var(--radius-lg);
        border: 1px dashed var(--border-color);
        color: var(--text-muted);
    }
    .news-empty i {
        font-size: 2.5rem;
        margin-bottom: 16px;
        color: var(--text-muted);
        opacity: 0.5;
    }

    /* ═══════════════════════════════════════════════════════════════
       CONTACT SECTION
    ═══════════════════════════════════════════════════════════════ */
    .contact-section { background: var(--bg-white); }
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: stretch;
    }
    .contact-info h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 12px;
    }
    .contact-info > p {
        color: var(--text-body);
        margin-bottom: 28px;
        font-size: 1.02rem;
    }
    .contact-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .contact-item {
        display: flex;
        gap: 16px;
        align-items: flex-start;
        padding: 16px;
        background: var(--bg-page);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-soft);
    }
    .contact-item .icon {
        flex-shrink: 0;
        width: 44px; height: 44px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.1rem;
    }
    .contact-item .info span {
        display: block;
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: 4px;
    }
    .contact-item .info strong {
        font-size: 1rem;
        color: var(--text-primary);
        font-weight: 700;
        line-height: 1.5;
    }
    .contact-map {
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        min-height: 400px;
    }
    .contact-map iframe {
        width: 100%;
        height: 100%;
        min-height: 400px;
        border: 0;
        display: block;
    }

    /* ═══════════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════════ */
    .site-footer {
        background: var(--bg-dark);
        color: rgba(255, 255, 255, 0.8);
        padding: 60px 0 0;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-brand .brand-logo {
        background: linear-gradient(135deg, var(--brand-accent), var(--brand-warm));
        margin-bottom: 16px;
    }
    .footer-brand h4 {
        color: white;
        font-size: 1.2rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .footer-brand p {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .footer-social {
        display: flex;
        gap: 12px;
    }
    .footer-social a {
        width: 40px; height: 40px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        transition: var(--transition-fast);
    }
    .footer-social a:hover {
        background: var(--brand-accent);
        color: var(--bg-dark);
        transform: translateY(-3px);
    }
    .footer-col h5 {
        color: white;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 18px;
    }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.92rem;
        transition: var(--transition-fast);
    }
    .footer-col ul li a:hover {
        color: var(--brand-accent);
        padding-right: 4px;
    }
    .footer-contact-item {
        display: flex;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    .footer-contact-item i {
        color: var(--brand-accent);
        margin-top: 4px;
    }
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.6);
    }

    /* ═══════════════════════════════════════════════════════════════
       NEWS MODAL
    ═══════════════════════════════════════════════════════════════ */
    .modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 46, 54, 0.6);
        backdrop-filter: blur(6px);
        z-index: 2000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .modal-overlay.active { display: flex; }
    .modal-box {
        background: white;
        border-radius: var(--radius-lg);
        max-width: 600px;
        width: 100%;
        max-height: 85vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: var(--shadow-xl);
        animation: modalIn 0.3s ease;
    }
    @keyframes modalIn {
        from { opacity: 0; transform: translateY(20px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-header {
        padding: 24px 28px;
        border-bottom: 1px solid var(--border-soft);
        position: relative;
    }
    .modal-header .news-tag { margin-bottom: 10px; }
    .modal-header h3 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1.4;
    }
    .modal-header .modal-date {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-top: 6px;
    }
    .modal-body {
        padding: 24px 28px;
        overflow-y: auto;
        color: var(--text-body);
        line-height: 1.8;
        font-size: 0.96rem;
    }
    .modal-body::-webkit-scrollbar { width: 6px; }
    .modal-body::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
    .modal-close {
        position: absolute;
        top: 16px; left: 16px;
        width: 36px; height: 36px;
        background: var(--bg-soft);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: var(--text-body);
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
    }
    .modal-close:hover { background: var(--brand-danger); color: white; }

    /* ═══════════════════════════════════════════════════════════════
       TOAST NOTIFICATIONS
    ═══════════════════════════════════════════════════════════════ */
    .toast-container {
        position: fixed;
        top: 90px; left: 20px;
        z-index: 3000;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .toast {
        background: white;
        border-radius: var(--radius-sm);
        padding: 14px 20px;
        box-shadow: var(--shadow-lg);
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 280px;
        border-right: 4px solid var(--brand-primary);
        animation: toastIn 0.3s ease;
    }
    .toast.toast-error { border-right-color: var(--brand-danger); }
    .toast.toast-success { border-right-color: var(--brand-light); }
    .toast i { font-size: 1.2rem; }
    .toast.toast-error i { color: var(--brand-danger); }
    .toast.toast-success i { color: var(--brand-light); }
    .toast span { flex: 1; font-size: 0.92rem; color: var(--text-primary); }
    .toast-close {
        background: none;
        border: none;
        color: var(--text-muted);
        cursor: pointer;
        font-size: 1.2rem;
        padding: 0;
    }
    @keyframes toastIn {
        from { opacity: 0; transform: translateX(-20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* ═══════════════════════════════════════════════════════════════
       BACK TO TOP
    ═══════════════════════════════════════════════════════════════ */
    .back-to-top {
        position: fixed;
        bottom: 30px; left: 30px;
        width: 48px; height: 48px;
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-md);
    }
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .back-to-top:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    /* ═══════════════════════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════════════════════ */
    /* بریک‌پوینت میانی: در سایزهای لپ‌تاپ/مانیتورهای کوچک (بین دسکتاپ بزرگ و موبایل)
       قبل از این‌که نوار منو + دکمه‌ها از عرض هدر بیرون بزنند (که باعث نصفه دیده‌شدن
       دکمه‌ی «ورود پرسنل» می‌شد)، فاصله‌ها/فونت کوچک‌تر و متن دکمه‌های فرعی مخفی می‌شود. */
    @media (max-width: 1180px) {
        .header-inner { padding: 12px 16px; gap: 10px; }
        .main-nav ul { gap: 2px; }
        .main-nav a { padding: 10px 10px; font-size: 0.86rem; gap: 4px; }
        .header-actions { gap: 8px; }
        .header-actions .btn { padding: 10px 14px; }
        .header-actions .btn-text { display: none; }
    }
    @media (max-width: 968px) {
        .contact-grid { grid-template-columns: 1fr; }
        .footer-grid { grid-template-columns: 1fr 1fr; }
        .news-card.featured { grid-column: span 1; }
    }

    @media (max-width: 768px) {
        .main-nav {
            position: fixed;
            top: 76px; right: -100%;
            width: 80%; max-width: 320px;
            height: calc(100vh - 76px);
            background: white;
            box-shadow: var(--shadow-xl);
            padding: 24px;
            transition: right 0.3s ease;
            overflow-y: auto;
        }
        .main-nav.active { right: 0; }
        .main-nav ul {
            flex-direction: column;
            gap: 4px;
        }
        .main-nav a {
            padding: 14px 16px;
            border-radius: var(--radius-sm);
            font-size: 1rem;
        }
        .mobile-toggle { display: flex; }
        .header-actions .btn-text { display: none; }
        .header-actions { gap: 8px; }
        section { padding: 60px 0; }
        .section-header { margin-bottom: 40px; }
        .footer-grid { grid-template-columns: 1fr; gap: 28px; }
        .toast-container { left: 10px; right: 10px; }
        .toast { min-width: 0; }
    }

    @media (max-width: 480px) {
        .header-inner { padding: 12px 16px; }
        .brand-name { font-size: 0.95rem; }
        .brand-sub { font-size: 0.72rem; }
        .brand-logo { width: 40px; height: 40px; font-size: 1.2rem; }
        .hero h1 { font-size: 1.7rem; }
        .hero-desc { font-size: 0.98rem; }

        /* روی گوشی‌های خیلی کوچک، دو دکمه تماس تلفنی (فقط آیکن) از نوار بالا حذف می‌شوند
           تا با دکمه‌ی ورود و همبرگری تداخل/سرریز نداشته باشند. شماره‌ها در بخش تماس با ما
           در پایین صفحه همچنان در دسترس هستند. */
        .header-actions .btn-ghost { display: none; }
        .header-actions { gap: 6px; }

        .login-card { padding: 28px 20px; }
        .container { padding: 0 16px; }
    }

    /* ═══ Font Awesome Icons (inline SVG fallback) ═══ */
    .icon-fallback {
        display: inline-block;
        width: 1em;
        text-align: center;
    }

    /* ═══════════════════════════════════════════════════════════════
       LOGIN MODAL (opens on "ورود پرسنل" click)
    ═══════════════════════════════════════════════════════════════ */
    .login-modal-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 46, 54, 0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 5000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .login-modal-overlay.active { display: flex; }
    .login-modal {
        background: white;
        border-radius: var(--radius-lg);
        max-width: 420px;
        width: 100%;
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        animation: loginModalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 90vh;
        overflow-y: auto;
    }
    @keyframes loginModalIn {
        from { opacity: 0; transform: translateY(30px) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .login-modal-header {
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
        color: white;
        padding: 32px 32px 24px;
        text-align: center;
        position: relative;
    }
    .login-modal-header .icon {
        width: 64px; height: 64px;
        margin: 0 auto 14px;
        background: rgba(255, 255, 255, 0.18);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
    }
    .login-modal-header h2 {
        font-size: 1.35rem;
        font-weight: 800;
        margin-bottom: 4px;
    }
    .login-modal-header p {
        font-size: 0.88rem;
        opacity: 0.92;
    }
    .login-modal-body {
        padding: 32px;
    }
    .login-modal-close {
        position: absolute;
        top: 16px; left: 16px;
        width: 36px; height: 36px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-fast);
    }
    .login-modal-close:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: rotate(90deg);
    }



    /* حذف هایلایت و outline از اسلایدر */
    .hero *:focus,
    .hero-slider-bg:focus,
    .hero-slider-bg *:focus,
    .slider-slide:focus,
    .slider-slide *:focus,
    .slider-nav:focus,
    .slider-dot:focus {
        outline: none !important;
        box-shadow: none !important;
    }
    .hero-slide-text {
        outline: none !important;
    }
    /* ═══ متن هر اسلاید روی عکس — پنل شیشه‌ای ═══ */
    .hero-slide-text {
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 50%;
        max-width: 560px;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 48px;
        color: white;
    }
    .hero-slide-text-inner {
        background: linear-gradient(
            135deg,
            rgba(var(--brand-deep-rgb), 0.60) 0%,
            rgba(var(--brand-primary-rgb), 0.42) 100%
        );
        backdrop-filter: blur(14px) saturate(140%);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 18px;
        padding: 32px 36px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
        /* طبق درخواست: اول عکس نمایش داده شود، بعد نوشته‌ها با تأخیر و انیمیشن وارد شوند.
           opacity:0 پایه باعث می‌شود در طول تأخیر (delay) هم متن نامرئی بماند و ناگهانی چشمک نزند. */
        opacity: 0;
        animation: slideTextFadeIn 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) 0.45s forwards;
    }
    @keyframes slideTextFadeIn {
        from { opacity: 0; transform: translateY(22px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .hero-slide-tag {
        display: inline-block;
        padding: 5px 14px;
        background: rgba(233, 196, 106, 0.25);
        border: 1px solid rgba(233, 196, 106, 0.5);
        border-radius: 100px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--brand-accent);
        margin-bottom: 12px;
        width: fit-content;
    }
    .hero-slide-title {
        font-size: clamp(1.4rem, 3vw, 2rem);
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 12px;
        color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    .hero-slide-desc {
        font-size: 0.98rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.92);
        margin-bottom: 20px;
    }
    .hero-slide-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 24px;
        background: var(--brand-accent);
        color: var(--bg-dark);
        border-radius: 10px;
        font-weight: 700;
        font-size: 0.92rem;
        transition: all 0.2s;
        width: fit-content;
        text-decoration: none;
    }
    .hero-slide-link:hover {
        transform: translateX(-4px);
        background: #f0d088;
        color: var(--bg-dark);
        gap: 12px;
    }
    /* اگر اسلاید لینک ندارد، دکمه استعلام نشان بده */
    .hero-slide-default-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    .hero-slide-default-actions .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    @media (max-width: 768px) {
        .hero-slide-text {
            width: 90%;
            padding: 20px;
        }
        .hero-slide-text-inner { padding: 20px; }
        .hero-slide-title { font-size: 1.2rem; }
        .hero-slide-desc { font-size: 0.88rem; }
    }

    /* ═══ بخش مقالات صفحه اصلی ═══ */
    .articles-section {
        padding: 60px 0;
        background: var(--bg-page);
    }
    .articles-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-top: 32px;
    }
    @media (max-width: 968px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }
    .article-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        border: 1px solid #e8edf0;
        transition: all 0.3s;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
    }
    .article-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(15, 76, 92, 0.15);
        border-color: var(--brand-light);
    }
    .article-card-image {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: var(--brand-deep);
        position: relative;
    }
    .article-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }
    .article-card:hover .article-card-image img {
        transform: scale(1.05);
    }
    .article-card-image-placeholder {
        width: 100%; height: 100%;
        display: flex; align-items: center; justify-content: center;
        color: rgba(255,255,255,0.4);
        font-size: 3rem;
    }
    .article-card-category {
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 4px 12px;
        background: var(--brand-accent);
        color: var(--bg-dark);
        border-radius: 100px;
        font-size: 0.72rem;
        font-weight: 700;
    }
    .article-card-body {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .article-card-date {
        font-size: 0.78rem;
        color: var(--text-muted);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .article-card-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-primary);
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .article-card-summary {
        font-size: 0.88rem;
        color: var(--text-body);
        line-height: 1.6;
        flex: 1;
        margin-bottom: 12px;
    }
    .article-card-readmore {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--brand-primary);
        font-weight: 700;
        font-size: 0.85rem;
    }
    .articles-section-header {
        text-align: center;
        margin-bottom: 20px;
    }
    .articles-section-header .section-tag {
        display: inline-block;
        padding: 6px 14px;
        background: var(--bg-soft);
        color: var(--brand-primary);
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 100px;
        margin-bottom: 12px;
    }
    .articles-section-header h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 800;
        color: var(--text-primary);
        margin-bottom: 8px;
    }
    .articles-section-header p {
        color: var(--text-body);
        font-size: 1rem;
    }
