/* ============================================
   ARANO - Global Stylesheet
   Homepage Implementation - Foundation + Header
   ============================================ */

/* ===== Font: loaded via <link> in HTML <head> for better performance (no @import) ===== */
/* Vazirmatn — Google Fonts (subset Arabic + Latin, woff2, font-display:swap) */

/* ===== CSS Reset / Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    background-color: var(--bg-main) !important;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    display: none !important;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== فاصله برای هدر fixed ===== */
body {
    padding-top: var(--header-height);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ===== ARANO Color System (Design Tokens) ===== */
:root {
    /* Backgrounds */
    --bg-main: #FAF2E3;
    --bg-soft: #F5EDDF;
    --bg-cream: #F5EDDF;

    /* Brand Greens */
    --brand-green: #0B3B1E;
    --brand-green-deep: #04280F;
    --brand-green-soft: #1a4d2e;

    /* Brand Golds */
    --brand-gold: #B5934B;
    --brand-gold-light: #D8B976;

    /* Text Colors */
    --text-primary: #15382D;
    --text-secondary: #274C6B;
    --text-on-dark: #FAF2E3;
    --text-muted: #7A7A7A;

    /* Borders */
    --border-soft: #E6DCCB;
    --border-gold: rgba(181, 147, 75, 0.4);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(11, 59, 30, 0.06);
    --shadow-md: 0 4px 12px rgba(11, 59, 30, 0.08);
    --shadow-lg: 0 8px 24px rgba(11, 59, 30, 0.1);

    /* Container */
    --container-max: 1280px;
    --container-padding: 40px;

    /* Spacing */
    --section-padding: 90px 0;

    /* Header */
    --header-height: 76px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.875rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p  { font-size: 1rem; line-height: 1.9; }

/* ===== Layout Helpers ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title h2 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    white-space: nowrap;
}

.section-title::before,
.section-title::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}

.section-title::before {
    background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.section-title::after {
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 48px;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease,
                box-shadow 0.25s ease,
                filter 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-green-deep);
    font-weight: 600;
}

.btn-gold:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 147, 75, 0.35);
}

.btn-green {
    background: var(--brand-green);
    color: var(--text-on-dark);
}

.btn-green:hover {
    background: var(--brand-green-deep);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(250, 242, 227, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold-light);
}

.btn-outline-green {
    background: transparent;
    color: var(--brand-green);
    border: 1px solid var(--brand-green);
}

.btn-outline-green:hover {
    background: var(--brand-green);
    color: var(--text-on-dark);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.arano-header {
    background: var(--brand-green-deep);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(181, 147, 75, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: var(--header-height);
    position: relative;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.header-logo:hover img {
    opacity: 0.9;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav a {
    color: var(--text-on-dark);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 4px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--brand-gold);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--brand-gold-light);
}

.header-nav a.active::after,
.header-nav a:hover::after {
    transform: translateX(50%) scaleX(0.6);
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 14px;
    min-height: 44px;
}

/* Mobile Menu Toggle */
.header-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.header-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION — Reference Matching v2
   Full-bleed image, gradient overlay, seamless
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--brand-green-deep);
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
}

/* ===== Full-bleed Hero Image (background) ===== */
.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /* Image takes the full hero, aligned to LEFT side */
    direction: ltr;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center; /* show logo + architectural columns with light */
    display: block;
    /* Balanced lighting for eye comfort — reduced brightness/contrast/saturation to soften bright highlights while keeping warmth and luxury feel */
    filter: brightness(1.02) contrast(1.00) saturate(1.05);
}

/* ===== Soft radial highlight control =====
   نرم‌کننده‌ی نقاط پرنور (نور معماری + لوگوی درخشان) بدون تغییر طراحی تصویر
   لایه‌ای بسیار ملایم و گرم که کنتراست موضعی را متعادل می‌کند */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 70% 55% at 42% 45%,
        rgba(4, 40, 15, 0.10) 0%,
        rgba(4, 40, 15, 0.05) 40%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* در موبایل کمی قوی‌تر اعمال شود (چون تصویر کوچک‌تر است) */
@media (max-width: 768px) {
    .hero-image-wrapper::before {
        background: radial-gradient(
            ellipse 80% 60% at 50% 40%,
            rgba(4, 40, 15, 0.14) 0%,
            rgba(4, 40, 15, 0.06) 45%,
            transparent 78%
        );
    }
}

/* ===== Gradient overlay (dark from RIGHT, transparent to LEFT) =====
   با محافظت از خوانایی متن روی سمت راست و حفظ شفافیت سمت چپ برای نمایش تصویر */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(4, 40, 15, 0.92) 0%,
        rgba(4, 40, 15, 0.82) 25%,
        rgba(4, 40, 15, 0.60) 40%,
        rgba(4, 40, 15, 0.28) 55%,
        rgba(4, 40, 15, 0.08) 70%,
        transparent 85%
    );
    pointer-events: none;
    z-index: 2;
}

/* ===== Hero Grid (for layout of content) ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    direction: ltr;
    min-height: 100vh;
    max-height: 100vh;
}

/* ===== Hero Panel (RIGHT column - transparent, sits over gradient) ===== */
.hero-panel {
    grid-column: 2;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    padding: 60px 80px 60px 60px;
    direction: rtl;
    background: transparent;
    min-height: 100%;
}

.hero-content {
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    width: 100%;
    text-align: right;
    direction: rtl;
    margin-right: auto;
}

/* ===== Eyebrow ===== */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
    justify-content: flex-start;
}

.eyebrow-line {
    display: block;
    height: 1px;
    width: 48px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    flex-shrink: 0;
}

.eyebrow-line:last-child {
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}

.eyebrow-text {
    color: var(--text-on-dark);
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ===== H1 ===== */
.hero-title {
    color: var(--text-on-dark);
    font-size: clamp(1.75rem, 3.4vw, 2.875rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.005em;
}

/* ===== Gold Slogan ===== */
.hero-slogan {
    color: var(--brand-gold-light);
    font-size: clamp(1.125rem, 1.8vw, 1.625rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 4px 0 0 0;
}

/* ===== Description ===== */
.hero-description {
    color: var(--text-on-dark);
    font-size: clamp(0.9375rem, 1vw, 1rem);
    line-height: 1.9;
    opacity: 0.85;
    margin: 4px 0 0 0;
    max-width: 100%;
}

/* ===== CTA Buttons ===== */
.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-cta .btn {
    padding: 16px 40px;
    font-size: 16px;
    min-height: 58px;
}

/* ===== Large Hero CTA Button (main action) ===== */
.hero-btn-large {
    padding: 14px 38px;
    font-size: 15.5px;
    min-height: 54px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 24px rgba(181, 147, 75, 0.28);
}

.hero-btn-large svg {
    width: 18px;
    height: 18px;
}

.hero-cta .btn-gold {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-green-deep);
    font-weight: 600;
}

.hero-cta .btn-gold:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(181, 147, 75, 0.45);
}

.hero-cta .btn-outline-light {
    background: transparent;
    border: 1px solid rgba(181, 147, 75, 0.7);
    color: var(--brand-gold-light);
}

.hero-cta .btn-outline-light:hover {
    background: rgba(181, 147, 75, 0.15);
    border-color: var(--brand-gold-light);
    color: var(--brand-gold-light);
}

/* ===== Decorative Gold Curves (very subtle) ===== */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
    z-index: 4;
}

.hero::before {
    top: 12%;
    right: -110px;
    width: 320px;
    height: 320px;
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-20deg);
}

.hero::after {
    bottom: 8%;
    left: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
    border-left-color: transparent;
    border-top-color: transparent;
    transform: rotate(20deg);
}

/* ============================================
   CLIENT LOGOS STRIP — برندهای مشتری (Swiper)
   loop + autoplay + freeMode — RTL friendly
   ============================================ */
.client-logos {
    background: var(--bg-main);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

.client-logos-label {
    text-align: center;
    margin-bottom: 24px;
}

.client-logos-label-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

/* ===== Swiper Container ===== */
.client-logos-swiper {
    position: relative;
    width: 100%;
    padding: 4px 0;
    overflow: hidden;
    /* Fade edges برای زیبایی بصری */
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    /* GPU-friendly containment */
    contain: layout paint;
    isolation: isolate;
}

.client-logos-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
    /* GPU acceleration برای اسکرول نرم */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===== Logo Slide ===== */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.75;
}

.client-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.client-logo-item img {
    /* ابعاد ثابت — کاهش CLS */
    width: 100%;
    max-width: 180px;
    height: 50px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Tablet */
@media (max-width: 1024px) {
    .client-logos { padding: 32px 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .client-logos { padding: 24px 0; }
    .client-logos-label { margin-bottom: 16px; }
    .client-logos-label-text { font-size: 0.8125rem; }
    .client-logo-item {
        height: 40px;
        /* در موبایل hover کار نمی‌کند */
        transition: none;
    }
    .client-logo-item:hover {
        opacity: 0.75;
        transform: none;
    }
    .client-logo-item img {
        max-width: 120px;
        height: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .client-logos { padding: 20px 0; }
    .client-logo-item {
        height: 34px;
    }
    .client-logo-item img {
        max-width: 100px;
        height: 34px;
    }
}

/* Reduced motion: توقف autoplay */
@media (prefers-reduced-motion: reduce) {
    .client-logos-swiper .swiper-wrapper {
        transition-timing-function: ease !important;
    }
}

/* ============================================
   SERVICES SECTION — خدمات آرانو
   ============================================ */
.services {
    background: var(--bg-soft);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* ===== Service Card ===== */
.service-card {
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px 20px 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* برای وقتی که با <a> استفاده شود */
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 59, 30, 0.08);
    border-color: var(--brand-gold);
}

/* وقتی کارت یک لینک است، رنگ متن‌ها را حفظ کن */
a.service-card,
a.service-card .service-title,
a.service-card .service-desc {
    color: inherit;
    text-decoration: none;
}

/* ===== Service Icon ===== */
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Service Title ===== */
.service-title {
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* ===== Service Description ===== */
.service-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.85;
}

/* ============================================
   PORTFOLIO SECTION — نمونه‌کارهای منتخب (CAROUSEL)
   Desktop: 3 cards visible, square images
   ============================================ */
.portfolio-section {
    width: 100%;
    padding: 48px 32px 56px;
    background: var(--brand-green-deep);
    overflow: hidden;
}

.portfolio-section .portfolio-heading h2 {
    color: var(--text-on-dark);
}

.portfolio-section .portfolio-heading span {
    background: linear-gradient(90deg, transparent, var(--brand-gold-light));
}

.portfolio-section .portfolio-heading span:last-child {
    background: linear-gradient(90deg, var(--brand-gold-light), transparent);
}

.portfolio-section .portfolio-cta-btn {
    box-shadow: 0 6px 20px rgba(181, 147, 75, 0.35);
}

/* ===== Heading ===== */
.portfolio-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}

.portfolio-heading h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    white-space: nowrap;
}

.portfolio-heading span {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold));
    display: block;
}

.portfolio-heading span:last-child {
    background: linear-gradient(90deg, var(--brand-gold), transparent);
}

/* ===== Carousel Container ===== */
.portfolio-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.portfolio-viewport {
    width: 100%;
    overflow: hidden;
}

.portfolio-track {
    display: flex;
    gap: 24px;
    direction: rtl;
    transition: transform 600ms cubic-bezier(.22,.61,.36,1);
    padding: 8px 4px;
    transform: translate3d(0, 0, 0); /* GPU-only hint without permanent layer */
}

/* ===== Portfolio Card ===== */
.portfolio-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: #FFFCF7;
    border: 1px solid rgba(181, 147, 75, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.portfolio-card:hover {
    box-shadow: 0 12px 32px rgba(20, 31, 28, 0.08);
}

/* ===== Square Image ===== */
.portfolio-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 500ms ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.025);
}

/* ===== Play Icon Overlay ===== */
.portfolio-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    color: var(--brand-gold-light);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.portfolio-play-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-card:hover .portfolio-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--brand-gold);
}

/* ===== Card Content ===== */
.portfolio-content {
    text-align: center;
    padding: 18px 18px 22px;
}

.portfolio-content h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.portfolio-content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--brand-gold);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: gap 0.25s ease, color 0.25s ease;
}

.portfolio-content a span {
    color: var(--brand-gold);
    font-size: 1.125rem;
    transition: transform 250ms ease;
    display: inline-block;
}

.portfolio-content a:hover {
    color: var(--brand-gold-light);
    gap: 10px;
}

.portfolio-content a:hover span {
    transform: translateX(-4px);
}

/* ===== Placeholder Cards ===== */
.placeholder-card {
    box-shadow: 0 2px 8px rgba(20, 31, 28, 0.02);
}

.placeholder-card:hover {
    box-shadow: 0 4px 12px rgba(20, 31, 28, 0.04);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #FFFCF7, #F7F1E7);
    border-bottom: 1px solid rgba(191, 129, 39, 0.12);
}

.placeholder-image span {
    color: rgba(8, 63, 56, 0.38);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== Navigation Arrows ===== */
.portfolio-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(191, 129, 39, 0.7);
    background: rgba(255, 253, 249, 0.94);
    color: #b77b24;
    cursor: pointer;
    transition: background 250ms ease, transform 250ms ease, border-color 250ms ease;
    padding: 0;
}

.portfolio-arrow:hover {
    background: #f2d397;
    border-color: var(--brand-gold);
    transform: translateY(-50%) scale(1.06);
}

.portfolio-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.portfolio-arrow.prev {
    right: -56px;
}

.portfolio-arrow.next {
    left: -56px;
}

/* ===== Pagination Dots ===== */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 28px;
}

.portfolio-pagination button {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(8, 63, 56, 0.17);
    cursor: pointer;
    transition: width 250ms ease, background 250ms ease;
}

.portfolio-pagination button:hover {
    background: rgba(191, 129, 39, 0.6);
}

.portfolio-pagination button.active {
    width: 22px;
    background: var(--brand-gold);
}

/* ===== Services spacing (keep) ===== */
.services {
    padding-bottom: 40px;
}

/* ===== Portfolio CTA (زیر نمونه‌کارها) ===== */
.portfolio-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    padding: 0 24px;
}

.portfolio-cta-btn {
    padding: 14px 38px;
    font-size: 15.5px;
    font-weight: 700;
    min-height: 54px;
    box-shadow: 0 6px 20px rgba(181, 147, 75, 0.25);
}

.portfolio-cta-btn svg {
    transition: transform 0.25s ease;
}

.portfolio-cta-btn:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .portfolio-cta-wrap {
        margin-top: 24px;
        padding: 0 20px;
    }

    .portfolio-cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 12px 32px;
        font-size: 14.5px;
        min-height: 48px;
        justify-content: center;
        margin: 0 auto;
    }
}

/* ============================================
   HEADER NAV — Client Panel Link
   ============================================ */
.header-nav-client-panel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-nav-client-panel svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.header-nav-client-panel:hover svg {
    opacity: 1;
}

/* ============================================
   HEADER NAV — Services Dropdown (Desktop + Mobile Accordion)
   ============================================ */

/* ===== Wrapper (desktop dropdown) ===== */
.nav-dropdown {
    position: relative;
}

/* ===== Toggle (main link with arrow) ===== */
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.is-open .nav-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ===== Dropdown Menu (desktop) ===== */
/* top: 100% (directly under toggle) + padding-top for visual gap = no hover break */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(-6px);
    min-width: 240px;
    /* padding-top fills the visual gap so the dropdown menu is hover-connected */
    padding: 12px 0 8px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1200;
}

/* Inner wrapper handles the visual card look (bordered + shadowed + rounded) */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--brand-green-deep);
    border: 1px solid rgba(181, 147, 75, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* Small golden arrow (caret) pointing up */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--brand-green-deep);
    border-top: 1px solid rgba(181, 147, 75, 0.35);
    border-left: 1px solid rgba(181, 147, 75, 0.35);
    z-index: 1;
}

/* Open states: hover OR click */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

/* ===== Dropdown Items ===== */
.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 20px;
    color: var(--text-on-dark);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    border-radius: 0;
    transition: background-color 0.2s ease, color 0.2s ease, padding-right 0.2s ease;
    white-space: nowrap;
    position: relative;
}

/* Remove the underline pseudo from header-nav (parent rule) */
.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: rgba(181, 147, 75, 0.14);
    color: var(--brand-gold-light);
    padding-right: 26px;
}

/* Subtle golden dot before each item */
.nav-dropdown-menu a::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-gold);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* ============================================
   HEADER NAV — Services Dropdown v2
   2-column grid with icons + heading
   ============================================ */

/* Larger dropdown to fit 2 columns */
.nav-dropdown-menu {
    min-width: 540px;
}

/* Inner card with padding for grid layout */
.nav-dropdown-menu::before {
    padding: 8px;
}

/* Heading block ("همه خدمات آرانو") */
.nav-dropdown-heading {
    grid-column: 1 / -1;
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(181, 147, 75, 0.22);
}

.nav-dropdown-heading a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(181, 147, 75, 0.10);
    border-radius: var(--radius-sm);
    color: var(--brand-gold-light) !important;
    font-weight: 700;
    font-size: 14.5px;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.nav-dropdown-heading a:hover {
    background: rgba(181, 147, 75, 0.22);
    color: var(--brand-gold-light) !important;
    padding-right: 14px !important;
}

.nav-dropdown-heading a svg {
    width: 16px;
    height: 16px;
    color: var(--brand-gold);
    flex-shrink: 0;
}

.nav-dropdown-heading a::before,
.nav-dropdown-heading a::after {
    display: none !important;
}

/* Two-column grid for services items (3 rows × 2 cols)
   NOTE: higher specificity to override the parent .header-nav ul { display: flex } rule */
.header-nav ul.nav-dropdown-menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-flow: row !important;
    gap: 6px 10px !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

.header-nav ul.nav-dropdown-menu li {
    min-width: 0;
    width: 100%;
}

/* Service item with icon */
.header-nav ul.nav-dropdown-menu li:not(.nav-dropdown-heading) a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13.5px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.nav-dd-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--brand-gold);
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu li:not(.nav-dropdown-heading) a:hover .nav-dd-icon {
    color: var(--brand-gold-light);
    opacity: 1;
    transform: scale(1.08);
}

/* Hide the small gold dot indicator (no longer needed with icons) */
.nav-dropdown-menu li:not(.nav-dropdown-heading) a::before {
    display: none;
}

/* Reset padding-right on hover (no more indent animation) */
.nav-dropdown-menu li:not(.nav-dropdown-heading) a:hover {
    padding-right: 12px;
    background: rgba(181, 147, 75, 0.14);
    color: var(--brand-gold-light);
}

/* ============================================
   DROPDOWN — MOBILE (accordion style)
   ============================================ */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        position: relative;
    }

    /* Mobile: toggle centered like other menu items + inline arrow */
    /* Force override any inherited .header-nav a rules with !important */
    .header-nav.is-open .nav-dropdown-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100%;
        padding: 14px 16px !important;
        border-radius: var(--radius-sm);
        font-size: 16px;
        color: var(--text-on-dark);
        text-align: center !important;
        background: transparent;
    }

    /* Active state from scroll — keep toggle white, don't let it turn gold */
    .header-nav.is-open .nav-dropdown-toggle.active,
    .header-nav.is-open .nav-dropdown-toggle:hover {
        color: var(--text-on-dark) !important;
        background: rgba(181, 147, 75, 0.15);
    }

    /* When dropdown is open, toggle turns gold */
    .header-nav.is-open .nav-dropdown.is-open > .nav-dropdown-toggle {
        color: var(--brand-gold-light) !important;
        background: transparent !important;
    }

    .nav-dropdown-arrow {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        stroke-width: 2.2;
        opacity: 0.9;
        transition: transform 0.25s ease;
    }

    .nav-dropdown.is-open .nav-dropdown-arrow {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Menu becomes accordion (in-flow, full width, centered text) */
    .header-nav.is-open .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        background: transparent;
        border: none !important;
        border-radius: var(--radius-sm);
        box-shadow: none !important;
        padding: 0 !important;
        margin: 4px 0 0 !important;
        transition: max-height 0.35s ease, margin 0.25s ease;
    }

    /* Mobile: force single-column (override desktop grid) */
    .header-nav.is-open .nav-dropdown-menu {
        display: block !important;
        min-width: 0 !important;
    }

    /* Mobile: reset the 2-column grid gaps */
    .header-nav.is-open .nav-dropdown-menu li {
        margin: 4px 0;
    }

    /* Mobile: heading block looks like other menu items */
    .header-nav.is-open .nav-dropdown-heading {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        grid-column: auto;
    }

    .header-nav.is-open .nav-dropdown-heading a {
        display: flex !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 15px;
        background: rgba(181, 147, 75, 0.15);
        color: var(--brand-gold-light) !important;
    }

    .header-nav.is-open .nav-dropdown-heading a svg {
        width: 16px;
        height: 16px;
    }

    /* Mobile: service items keep icon + text centered */
    .header-nav.is-open .nav-dropdown-menu li:not(.nav-dropdown-heading) a {
        justify-content: center !important;
        padding: 11px 16px !important;
        font-size: 14.5px;
    }

    .header-nav.is-open .nav-dd-icon {
        width: 16px;
        height: 16px;
    }

    /* Disable the decorative pseudo-elements on mobile */
    .header-nav.is-open .nav-dropdown-menu::before,
    .header-nav.is-open .nav-dropdown-menu::after {
        display: none !important;
    }

    .header-nav.is-open .nav-dropdown.is-open > .nav-dropdown-menu {
        max-height: 500px;
        padding: 0 !important;
        margin: 6px 0 4px !important;
    }

    /* Items inside the mobile dropdown: full width, centered text */
    .header-nav.is-open .nav-dropdown-menu li {
        width: 100%;
        list-style: none;
    }

    /* Sub-item cards: neutral by default, gold border ONLY on hover/focus/active */
    .header-nav.is-open .nav-dropdown-menu a {
        display: block !important;
        width: 100%;
        padding: 11px 16px !important;
        margin: 4px 0 !important;
        font-size: 14.5px;
        color: var(--text-on-dark);
        text-align: center !important;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(250, 242, 227, 0.12);
        border-radius: var(--radius-sm);
        opacity: 1;
        white-space: normal;
        transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
    }

    /* The one you touch/hover gets the gold highlight */
    .header-nav.is-open .nav-dropdown-menu a:hover,
    .header-nav.is-open .nav-dropdown-menu a:focus,
    .header-nav.is-open .nav-dropdown-menu a:active,
    .header-nav.is-open .nav-dropdown-menu a.is-touched {
        background: rgba(181, 147, 75, 0.22);
        border-color: var(--brand-gold);
        color: var(--brand-gold-light);
        outline: none;
        -webkit-tap-highlight-color: transparent;
        transform: translateY(-1px);
    }

    /* Disable the gold dot indicator on mobile (looks odd with centered text) */
    .header-nav.is-open .nav-dropdown-menu a::before {
        display: none !important;
    }

    /* Disable the underline pseudo from .header-nav a */
    .header-nav.is-open .nav-dropdown-menu a::after {
        display: none !important;
    }
}

/* ============================================
   CLIENT PANEL SECTION — پنل مشتریان آرانو
   طراحی: پس‌زمینه تمام‌عرض + محتوای راست‌چین + عمق میدان
   بهینه برای SEO (کاهش CLS/LCP)
   ============================================ */
.client-panel {
    position: relative;
    padding: 0;
    overflow: hidden;
    display: block;
    border-radius: 0;
    min-height: 520px;
    background: #F2E8D5;
    width: 100%;
}

/* ===== Background image (full section, edge to edge) ===== */
.client-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* عمق میدان: تصویر واضح و شارپ باقی می‌ماند */
}

.client-panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center; /* لپ‌تاپ در سمت چپ کادر */
    display: block;
    /* عمق میدان: تصویر شارپ + روشنایی ملایم */
    filter: brightness(1.02) contrast(1.02) saturate(1.03);
    transform: scale(1.02); /* جلوگیری از لبه‌های سفید */
}

/* ===== Overlay (cream fade from RIGHT side for readability) ===== */
.client-panel-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(250, 242, 227, 0.99) 0%,
        rgba(250, 242, 227, 0.97) 22%,
        rgba(250, 242, 227, 0.90) 38%,
        rgba(250, 242, 227, 0.65) 52%,
        rgba(250, 242, 227, 0.25) 68%,
        transparent 85%
    );
    pointer-events: none;
    z-index: 1;
}

/* ===== Content wrapper (container — محتوا چسبیده به سمت راست صفحه) ===== */
.client-panel .container {
    max-width: 100%;
    margin: 0;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* RTL: flex-start = سمت راست */
}

/* ===== Content column (RIGHT side — کامل روی فضای خالی کرم) ===== */
.client-panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    direction: rtl;
    max-width: 600px;
    width: 100%;
    margin-right: 0;
    margin-left: auto;
    padding: 40px 0;
    position: relative;
    /* عمق میدان: سایه نرم زیر متن‌ها برای برجستگی روی پس‌زمینه */
    text-shadow: 0 1px 2px rgba(250, 242, 227, 0.6);
}

/* ===== Overlay تیره‌تر روی ناحیه لپ‌تاپ برای جداسازی بصری ===== */
.client-panel-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 35%,
        rgba(250, 242, 227, 0.15) 45%,
        rgba(250, 242, 227, 0.35) 52%,
        rgba(250, 242, 227, 0.55) 58%,
        rgba(250, 242, 227, 0.85) 65%,
        rgba(250, 242, 227, 0.98) 72%
    );
    pointer-events: none;
    z-index: 1;
}

/* ===== (No halo — clean content over background) ===== */

/* ===== Eyebrow (small label with gold lines) ===== */
.client-panel-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2px;
}

.client-eyebrow-line {
    display: block;
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    flex-shrink: 0;
}

.client-eyebrow-line:last-child {
    background: linear-gradient(90deg, transparent, var(--brand-gold));
}

.client-panel-eyebrow-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.85;
}

/* ===== H2 (two-line title) ===== */
.client-panel-title {
    color: var(--text-primary);
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
    text-align: center;
}

/* ===== Description ===== */
.client-panel-description {
    color: var(--text-secondary);
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.9;
    margin: 0;
    opacity: 0.92;
    max-width: 100%;
    text-align: center;
}

/* Desktop only: force single-line description */
@media (min-width: 768px) {
    .client-panel-description {
        white-space: nowrap;
    }
}

/* On mobile, allow wrapping */
@media (max-width: 767px) {
    .client-panel-description {
        white-space: normal;
    }
}

/* ===== Feature Cards — 4 cards in a row ===== */
.client-panel-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.client-feature-card {
    background: #FFFDF7;
    border: 1px solid #E8DECA;
    border-radius: 10px;
    padding: 18px 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    text-align: center;
    min-height: 128px;
}

.client-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(11, 59, 30, 0.07);
    border-color: rgba(181, 147, 75, 0.55);
}

.client-feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    background: transparent;
    border: 1.5px solid rgba(181, 147, 75, 0.55);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease,
                border-color 0.3s ease;
}

.client-feature-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.client-feature-card:hover .client-feature-icon {
    background: rgba(181, 147, 75, 0.08);
    border-color: var(--brand-gold);
}

.client-feature-title {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* ===== CTA Button (centered under content) ===== */
.client-panel-cta-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
}

.client-panel-cta {
    padding: 13px 38px;
    font-size: 15px;
    font-weight: 700;
    min-height: 48px;
    background: var(--brand-green-deep);
    color: var(--text-on-dark);
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.client-panel-cta:hover {
    background: var(--brand-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 40, 15, 0.25);
}

.client-panel-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.client-panel-cta:hover svg {
    transform: translateX(-4px);
}

/* ============================================
   CLIENT PANEL — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .client-panel {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .client-panel-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .client-panel-image img {
        max-width: 480px;
    }

    .client-panel-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .client-feature-card {
        padding: 16px 8px 14px;
        gap: 10px;
        min-height: 120px;
    }

    .client-feature-icon {
        width: 40px;
        height: 40px;
    }

    .client-feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .client-feature-title {
        font-size: 0.8125rem;
    }
}

/* ============================================
   CLIENT PANEL — Mobile (max-width: 767px)
   طراحی جدید: محتوا بالا، تصویر جدا پایین (کوچک و مناسب)
   ============================================ */
@media (max-width: 767px) {
    .client-panel {
        min-height: auto;
        padding: 0;
        background: #FAF2E3;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    /* محتوا بالا (ترتیب اول) */
    .client-panel .container {
        max-width: 100%;
        margin: 0;
        padding: 32px 20px 8px;
        min-height: auto;
        display: block;
        background: #FAF2E3;
        order: 1;
        justify-content: center;
    }

    .client-panel-content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 14px;
        align-items: center;
        text-align: center;
        text-shadow: none;
    }

    /* تصویر: زیر محتوا، کوچک و متعادل */
    .client-panel-bg {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        height: auto;
        overflow: hidden;
        margin: 8px 0 0;
        border-radius: 0;
        background: #FAF2E3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .client-panel-bg img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain; /* کل تصویر کامل دیده می‌شود */
        object-position: center center;
        transform: none;
        filter: brightness(1.02) contrast(1.02) saturate(1.03);
        display: block;
    }

    /* حذف کامل overlay ها در موبایل (تصویر جدا از محتواست) */
    .client-panel-bg::after,
    .client-panel-bg::before {
        display: none;
    }

    /* Eyebrow */
    .client-panel-eyebrow {
        gap: 8px;
    }

    .client-eyebrow-line {
        width: 28px;
    }

    .client-panel-eyebrow-text {
        font-size: 11px;
    }

    /* Title */
    .client-panel-title {
        font-size: clamp(1.125rem, 5.5vw, 1.375rem);
        line-height: 1.5;
    }

    /* Description */
    .client-panel-description {
        font-size: 0.8125rem;
        line-height: 1.85;
        opacity: 0.88;
    }

    /* Features: 2x2 grid */
    .client-panel-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 6px;
    }

    .client-feature-card {
        padding: 14px 8px 12px;
        gap: 10px;
        min-height: 100px;
        border-radius: 8px;
    }

    .client-feature-icon {
        width: 36px;
        height: 36px;
    }

    .client-feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .client-feature-title {
        font-size: 0.75rem;
        line-height: 1.45;
    }

    /* CTA */
    .client-panel-cta-wrap {
        justify-content: center;
        margin-top: 6px;
    }

    .client-panel-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
        min-height: 46px;
    }
}

/* ============================================
   CLIENT PANEL — Small Mobile (max-width: 400px)
   کارت‌ها یک‌ستونه با آیکون کنار متن
   ============================================ */
@media (max-width: 400px) {
    .client-panel .container {
        padding: 26px 16px 6px;
    }

    .client-panel-bg {
        aspect-ratio: 16 / 11;
        max-height: 220px;
        margin-top: 6px;
    }

    .client-panel-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .client-feature-card {
        min-height: auto;
        padding: 12px 14px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: right;
        gap: 12px;
    }

    .client-feature-icon {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .client-feature-title {
        text-align: right;
        font-size: 0.8125rem;
    }
}

/* ============================================
   WHY ARANO SECTION — چرا آرانو
   ============================================ */
.why-arano {
    background: var(--bg-main);
    position: relative;
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.why-arano .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ===== Small Label ===== */
.why-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 6px;
}

.why-label-line {
    display: block;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold));
    flex-shrink: 0;
}

.why-label-line:last-child {
    background: linear-gradient(90deg, var(--brand-gold), transparent);
}

.why-label-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
}

/* ===== Main Heading ===== */
.why-title {
    color: var(--text-primary);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    max-width: 720px;
    letter-spacing: -0.005em;
}

/* ===== Description ===== */
.why-description {
    color: var(--text-secondary);
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.9;
    margin: 0;
    max-width: 700px;
    opacity: 0.9;
}

/* ===== CTA Link ===== */
.why-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-gold);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.25s ease, color 0.25s ease;
    position: relative;
}

.why-link svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.why-link:hover {
    color: var(--brand-gold-light);
    gap: 12px;
}

.why-link:hover svg {
    transform: translateX(-4px);
}

/* ============================================
   STATS — آمار (Why Arano)
   ============================================ */
.wd-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid var(--border-soft);
    gap: 16px;
    margin-top: 20px;
    width: 100%;
    max-width: 720px;
}

.wd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
    position: relative;
}

.wd-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(181, 147, 75, 0.35), transparent);
}

.wd-stat-num {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    font-weight: 800;
    color: var(--brand-green-deep);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.wd-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.85;
    font-weight: 500;
}

/* ===== Why Arano CTA (زیر آمار) ===== */
.why-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
}

.why-cta-btn {
    padding: 14px 38px;
    font-size: 15.5px;
    font-weight: 700;
    min-height: 54px;
    box-shadow: 0 4px 16px rgba(11, 59, 30, 0.1);
}

.why-cta-btn svg {
    transition: transform 0.25s ease;
}

.why-cta-btn:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 767px) {
    .why-cta-wrap {
        margin-top: 24px;
    }

    .why-cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 12px 32px;
        font-size: 14.5px;
        min-height: 48px;
        justify-content: center;
        margin: 0 auto;
    }
}

/* ============================================
   VALUE STRIP SECTION — سه مزیت
   ============================================ */
.value-strip {
    background: var(--bg-soft);
    position: relative;
    padding-top: 30px;
    padding-bottom: 60px;
}

.value-strip-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== Value Item ===== */
.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex: 1;
    padding: 8px 20px;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.08);
    color: var(--brand-gold-light);
}

.value-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.value-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
}

/* ===== Vertical Divider ===== */
.value-divider {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(
        180deg,
        transparent,
        var(--brand-gold),
        transparent
    );
    flex-shrink: 0;
    opacity: 0.6;
}

/* ============================================
   FINAL CTA SECTION — دعوت نهایی
   ============================================ */
.final-cta {
    background: var(--brand-green-deep);
    position: relative;
    padding: 28px 0 32px;
    overflow: hidden;
    /* Thicker gold divider at top */
    border-top: 2px solid rgba(181, 147, 75, 0.45);
}

.final-cta-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ===== Content ===== */
.final-cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    grid-column: 2;
}

.final-cta-eyebrow {
    color: var(--text-on-dark);
    font-size: 13px;
    font-weight: 400;
    opacity: 0.75;
    margin: 0 0 4px;
    letter-spacing: 0.01em;
}

.final-cta-title {
    color: var(--text-on-dark);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.005em;
}

.final-cta-title .text-gold {
    color: var(--brand-gold-light);
}

.final-cta-desc {
    color: var(--text-on-dark);
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.8;
    margin: 6px 0 0;
    opacity: 0.8;
}

/* ===== CTA Button (Left) ===== */
.final-cta-btn {
    flex-shrink: 0;
    padding: 14px 36px;
    font-size: 14.5px;
    font-weight: 700;
    min-height: 52px;
    box-shadow: 0 6px 24px rgba(181, 147, 75, 0.28);
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.final-cta-btn svg {
    width: 16px;
    height: 16px;
}

.final-cta-btn:hover {
    box-shadow: 0 10px 32px rgba(181, 147, 75, 0.45);
}

/* ===== Decorative Curves ===== */
.final-cta-curve {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
}

.final-cta-curve-left {
    top: -60px;
    left: -100px;
    width: 280px;
    height: 280px;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(30deg);
}

.final-cta-curve-right {
    bottom: -80px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-right-color: transparent;
    border-top-color: transparent;
    transform: rotate(-30deg);
}

/* ============================================
   FOOTER SECTION — فوتر
   ============================================ */
.arano-footer {
    background: var(--brand-green-deep);
    color: var(--text-on-dark);
    position: relative;
    /* Thicker gold divider at top */
    border-top: 2px solid rgba(181, 147, 75, 0.45);
}

/* ===== Footer Inner ===== */
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 24px;
}

/* ===== Logo (larger) ===== */
.footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.footer-logo:hover img {
    opacity: 0.9;
}

/* ===== Navigation ===== */
.footer-nav ul {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-on-dark);
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    transition: color 0.25s ease, opacity 0.25s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--brand-gold-light);
    opacity: 1;
}

.footer-nav-sep {
    color: rgba(250, 242, 227, 0.3);
    font-size: 12px;
}

/* ===== Social + Contact ===== */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* دکمه ورود تیم آرانو در ستون شبکه‌های اجتماعی */
.footer-admin-link-a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(250, 242, 227, 0.55);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(181, 147, 75, 0.22);
    border-radius: 999px;
    transition: all 0.25s ease;
    background: rgba(181, 147, 75, 0.04);
    margin-top: 6px;
    white-space: nowrap;
}

.footer-admin-link-a:hover {
    color: #D8B976;
    border-color: rgba(181, 147, 75, 0.55);
    background: rgba(181, 147, 75, 0.12);
}

.footer-admin-link-a svg {
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.footer-admin-link-a:hover svg {
    opacity: 1;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(181, 147, 75, 0.35);
    color: var(--brand-gold-light);
    transition: background-color 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(181, 147, 75, 0.15);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 8px;
    font-size: 12px;
    color: var(--text-on-dark);
    opacity: 0.8;
    direction: ltr;
    text-align: left;
}

/* ===== Copyright ===== */
.footer-bottom {
    border-top: 1px solid rgba(181, 147, 75, 0.15);
    padding: 16px 0 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-on-dark);
    font-size: 12.5px;
    margin: 0;
    opacity: 0.7;
    direction: ltr;
}

/* ===== Admin Login Link in Footer ===== */
.footer-admin-link {
    text-align: center;
    padding: 8px 20px 4px;
}

.footer-admin-link-a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(250, 242, 227, 0.55);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(181, 147, 75, 0.22);
    border-radius: 999px;
    transition: all 0.25s ease;
    background: rgba(181, 147, 75, 0.04);
    margin-top: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-admin-link-a:hover {
    color: #D8B976;
    border-color: rgba(181, 147, 75, 0.6);
    background: rgba(181, 147, 75, 0.14);
    transform: translateY(-1px);
}

.footer-admin-link-a svg {
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.footer-admin-link-a:hover svg {
    opacity: 1;
}

/* ===== Utility Classes ===== */
.text-gold { color: var(--brand-gold); }
.text-cream { color: var(--text-on-dark); }
.text-center { text-align: center; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ===== Tablet ===== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 32px;
        --section-padding: 70px 0;
        --header-height: 68px;
    }

    .header-nav ul {
        gap: 24px;
    }

    .header-nav a {
        font-size: 14px;
    }

    .header-logo img {
        height: 44px;
    }

    /* Services Tablet — 3 cards per row */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .service-card {
        padding: 28px 16px 24px 16px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-desc {
        font-size: 0.8125rem;
    }

    /* Hero Tablet */
    .hero-grid {
        min-height: calc(100vh - var(--header-height));
        max-height: 620px;
    }

    .hero-panel {
        padding: 44px 36px 44px 28px;
    }

    .hero-content {
        gap: 12px;
        max-width: 100%;
    }

    .eyebrow-text {
        font-size: 12px;
        white-space: normal;
    }

    .eyebrow-line {
        width: 32px;
    }

    .hero-cta {
        gap: 10px;
        margin-top: 16px;
    }

    .hero-cta .btn {
        padding: 11px 22px;
        font-size: 13px;
        min-height: 46px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
        --section-padding: 56px 0;
        --header-height: 64px;
    }

    body {
        font-size: 15px;
    }

    .section-title {
        margin-bottom: 40px;
        gap: 12px;
    }

    .section-title::before,
    .section-title::after {
        width: 40px;
    }

    .section-title h2 {
        white-space: normal;
    }

    /* Hide only center nav on mobile; keep CTA visible next to hamburger */
    .header-nav {
        display: none;
    }

    /* دکمه ورود/ثبت‌نام در موبایل — کنار همبرگر، کوچک و قابل لمس */
    .header-cta {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 13px;
        min-height: 38px;
        gap: 6px;
        order: 2;
    }

    .header-cta svg {
        width: 14px;
        height: 14px;
    }

    /* همبرگر بعد از CTA (سمت چپ‌تر) */
    .header-menu-toggle {
        display: flex;
        order: 3;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    /* ترتیب نوبار موبایل: لوگو راست، CTA وسط، همبرگر چپ */
    .header-inner {
        gap: 12px;
    }

    .header-logo {
        order: 1;
        margin-left: auto; /* لوگو راست می‌چسبد */
    }

    .header-logo img {
        height: 40px;
    }

    /* CTA وسط — بین لوگو و همبرگر */
    .header-cta {
        margin-left: auto;
    }

    /* ==========================================
       Portfolio Mobile — 2 cards per row, no zoom
       ========================================== */
    .portfolio {
        padding-top: 30px;
        padding-bottom: 56px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Last card (3rd) — spans full width */
    .portfolio-card:last-child {
        grid-column: 1 / -1;
    }

    .portfolio-card {
        border-radius: 12px;
    }

    .portfolio-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(11, 59, 30, 0.04);
    }

    .portfolio-image-wrapper {
        aspect-ratio: 4 / 3;
        background: var(--bg-soft);
    }

    /* Use contain so image is not cropped/zoomed on mobile */
    .portfolio-image {
        object-fit: contain;
        object-position: center;
        padding: 0;
        background: var(--bg-soft);
    }

    .portfolio-card:hover .portfolio-image {
        transform: none;
    }

    .portfolio-play-icon {
        width: 52px;
        height: 52px;
    }

    .portfolio-body {
        padding: 14px 14px 16px 14px;
        gap: 6px;
    }

    .portfolio-title {
        font-size: 0.9375rem;
    }

    .portfolio-link {
        font-size: 0.8125rem;
        gap: 4px;
    }

    .portfolio-link svg {
        width: 14px;
        height: 14px;
    }

    /* Services Mobile — 2 cards per row */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 12px;
    }

    .service-card {
        padding: 22px 14px 20px 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 2px;
    }

    .service-title {
        font-size: 0.9375rem;
    }

    .service-desc {
        font-size: 0.75rem;
        line-height: 1.65;
    }

    /* Last card (5th) — spans full width on mobile */
    .service-card:last-child {
        grid-column: 1 / -1;
    }

    /* ==========================================
       Hero Mobile — Panel TOP, image BOTTOM
       Same as desktop but stacked vertically
       ========================================== */

    /* Hero: static (not absolute), split layout */
    .hero {
        min-height: auto;
        max-height: none;
        display: block;
        position: relative;
        overflow: hidden;
        background: var(--brand-green-deep);
    }

    /* Grid: single column, panel first */
    .hero-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
        max-height: none;
        position: relative;
        z-index: 2;
    }

    /* Content panel: BOTTOM, dark green background */
    .hero-panel {
        order: 2;
        background: var(--brand-green-deep);
        padding: 32px 22px 36px 22px;
        align-items: flex-start;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        z-index: 3;
    }

    /* ========== موبایل: Hero وسط‌چین ========== */
    .hero-content {
        gap: 0;
        text-align: center;
        align-items: center;
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }

    /* Eyebrow */
    .hero-eyebrow {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin-bottom: 12px;
    }

    .eyebrow-text {
        font-size: 11px;
        white-space: normal;
        line-height: 1.5;
    }

    .eyebrow-line {
        width: 22px;
    }

    /* H1 */
    .hero-title {
        font-size: clamp(1.375rem, 5.5vw, 1.5rem);
        line-height: 1.5;
        text-align: center;
        margin: 0 0 14px;
        max-width: 100%;
    }

    /* Slogan (طلایی) — بزرگ‌تر و برجسته‌تر */
    .hero-slogan {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
        font-weight: 800;
        text-align: center;
        margin: 0 0 16px;
        line-height: 1.3;
    }

    /* Description */
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.9;
        text-align: center;
        opacity: 0.88;
        margin: 0 0 28px;
        max-width: 100%;
    }

    /* Single large CTA button */
    .hero-cta {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 0;
    }

    .hero-btn-large {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 32px;
        font-size: 14.5px;
        min-height: 48px;
        font-weight: 700;
        margin: 0 auto;
    }

    .hero-btn-large svg {
        width: 16px;
        height: 16px;
    }

    /* Image: TOP, specific height */
    .hero-image-wrapper {
        order: 1;
        position: relative;
        inset: auto;
        width: 100%;
        height: 60vw;
        min-height: 280px;
        max-height: 420px;
        overflow: hidden;
        margin-bottom: -30px;
    }

    /* Gradient fade at BOTTOM of image (merging with panel) */
    .hero-image-wrapper::after {
        background: linear-gradient(
            180deg,
            transparent 0%,
            transparent 55%,
            rgba(4, 40, 15, 0.4) 75%,
            rgba(4, 40, 15, 0.95) 100%
        );
        z-index: 1;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: 45% 30%;
        margin: 0;
        /* همان تنظیمات متعادل دسکتاپ برای یکنواختی بصری در موبایل */
        filter: brightness(1.02) contrast(1.00) saturate(1.05);
    }

    /* Hide decorative gold curves on mobile */
    .hero::before,
    .hero::after {
        display: none;
    }

    .eyebrow-text {
        font-size: 12px;
        white-space: normal;
        line-height: 1.5;
    }

    .eyebrow-line {
        width: 24px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
        line-height: 1.35;
    }

    .hero-slogan {
        font-size: clamp(1.125rem, 4.5vw, 1.375rem);
    }

    .hero-description {
        font-size: 0.9375rem;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 10px;
        margin-top: 16px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 32px;
        font-size: 14.5px;
        min-height: 48px;
        margin: 0 auto;
    }

    /* Reduce decorative curves on mobile */
    .hero::before {
        width: 180px;
        height: 180px;
        top: 5%;
        right: -60px;
    }

    .hero::after {
        width: 140px;
        height: 140px;
        bottom: 5%;
        left: -50px;
    }
}

/* ============================================
   PORTFOLIO MOBILE CAROUSEL
   Mobile only — Desktop untouched
   ============================================ */
@media (max-width: 767px) {

    /* Section */
    .portfolio-section {
        width: 100%;
        padding: 34px 0 44px;
        background: var(--bg-main);
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Heading */
    .portfolio-heading {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .portfolio-heading h2 {
        margin: 0;
        color: var(--text-primary);
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.4;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
    }

    .portfolio-heading span {
        width: 34px;
        height: 1px;
        flex-shrink: 0;
        background: var(--brand-gold);
        display: block;
    }

    /* Carousel */
    .portfolio-carousel {
        position: relative;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        display: block;
    }

    /* Viewport */
    .portfolio-viewport {
        width: 100%;
        overflow: hidden;
        padding-inline: 0;
        box-sizing: border-box;
        touch-action: pan-y;
    }

    /* Track — centered active card */
    .portfolio-track {
        display: flex;
        align-items: stretch;
        gap: 14px;
        direction: ltr;
        transition: transform 600ms cubic-bezier(.22, .61, .36, 1);
        will-change: transform;
        padding: 8px 0;
    }

    /* Card */
    .portfolio-card {
        flex: 0 0 82%;
        width: 82%;
        max-width: 330px;
        min-width: 0;
        direction: rtl;
        background: #FFFCF7;
        border: 1px solid rgba(8, 63, 56, 0.08);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(20, 31, 28, 0.05);
        box-sizing: border-box;
    }

    /* Square image */
    .portfolio-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: var(--bg-soft);
    }

    .portfolio-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }

    /* Content */
    .portfolio-content {
        padding: 14px 14px 17px;
        text-align: center;
    }

    .portfolio-content h3 {
        margin: 0 0 8px;
        color: var(--text-primary);
        font-size: 18px;
        line-height: 1.5;
        font-weight: 700;
    }

    .portfolio-content a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: var(--brand-gold);
        font-size: 13.5px;
        line-height: 1.5;
        text-decoration: none;
    }

    .portfolio-content a span {
        color: var(--brand-gold);
        font-size: 19px;
        transition: transform 250ms ease;
    }

    /* Placeholder */
    .placeholder-card {
        box-shadow: none;
    }

    .placeholder-image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, #FFFCF7 0%, #F7F1E7 100%);
        border-bottom: 1px solid rgba(191, 129, 39, 0.10);
    }

    .placeholder-image span {
        color: rgba(8, 63, 56, 0.38);
        font-size: 14px;
        font-weight: 500;
    }

    /* Arrows */
    .portfolio-arrow {
        position: absolute;
        top: 42%;
        transform: translateY(-50%);
        z-index: 20;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(191, 129, 39, 0.60);
        background: rgba(255, 253, 249, 0.94);
        color: #b77b24;
        font-size: 18px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        -webkit-tap-highlight-color: transparent;
    }

    .portfolio-arrow.prev {
        right: 8px;
    }

    .portfolio-arrow.next {
        left: 8px;
    }

    /* Pagination */
    .portfolio-pagination {
        display: flex;
        direction: ltr;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 18px;
        position: static;
        transform: none;
        left: auto;
    }

    .portfolio-pagination button {
        width: 6px;
        height: 6px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(8, 63, 56, 0.17);
        cursor: pointer;
        transition: width 250ms ease, background 250ms ease;
    }

    .portfolio-pagination button.active {
        width: 20px;
        background: var(--brand-gold);
    }

    /* Small mobile */
    @media (max-width: 359px) {
        .portfolio-card {
            flex-basis: 84%;
            width: 84%;
            max-width: 290px;
        }

        .portfolio-heading h2 {
            font-size: 21px;
        }

        .portfolio-heading span {
            width: 26px;
        }

        .portfolio-arrow {
            width: 32px;
            height: 32px;
        }
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .portfolio-track {
        transition: none !important;
    }
    .portfolio-content a span {
        transition: none !important;
    }
}

/* ============================================
   WHY ARANO — Mobile (< 768px)
   ============================================ */
@media (max-width: 767px) {

    .why-arano {
        padding-top: 30px;
        padding-bottom: 44px;
    }

    .why-arano .container {
        max-width: 100%;
        padding: 0 20px;
        gap: 14px;
    }

    /* Label */
    .why-label {
        gap: 10px;
        margin-bottom: 2px;
    }

    .why-label-line {
        width: 32px;
    }

    .why-label-text {
        font-size: 12px;
    }

    /* Title */
    .why-title {
        font-size: clamp(1.375rem, 5.5vw, 1.625rem);
        line-height: 1.5;
        max-width: 100%;
    }

    /* Description */
    .why-description {
        font-size: 0.9rem;
        line-height: 1.9;
        max-width: 100%;
        opacity: 0.9;
    }

    /* CTA */
    .why-link {
        font-size: 0.9375rem;
        gap: 6px;
        margin-top: 4px;
    }

    .why-link svg {
        width: 14px;
        height: 14px;
    }

    .why-link:hover {
        gap: 10px;
    }

    /* ===== موبایل: آمار به صورت ۳ کارت زیبا ===== */
    .wd-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-top: 20px;
        border-top: none;
        margin-top: 20px;
        max-width: 100%;
    }

    .wd-stat {
        background: #FFFDF7;
        border: 1px solid rgba(181, 147, 75, 0.32);
        border-radius: 12px;
        padding: 14px 6px 12px;
        gap: 4px;
        justify-content: center;
        min-height: 84px;
        box-shadow: 0 4px 12px rgba(4, 40, 15, 0.04);
    }

    .wd-stat:not(:last-child)::after {
        display: none;
    }

    .wd-stat-num {
        font-size: 1.375rem;
        line-height: 1.1;
        color: var(--brand-green-deep);
    }

    .wd-stat-label {
        font-size: 0.6875rem;
        line-height: 1.35;
        color: var(--text-secondary);
        opacity: 0.9;
        text-align: center;
        white-space: normal;
    }
}

/* ============================================
   VALUE STRIP — Mobile (< 768px)
   Layout: 2 items in row 1 + 1 item centered in row 2
   ============================================ */
@media (max-width: 767px) {

    .value-strip {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    /* Grid: 2 columns for first 2 items, last item full-width */
    .value-strip-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
        max-width: 100%;
        padding: 0 20px;
    }

    /* Hide dividers on mobile */
    .value-divider {
        display: none;
    }

    /* Individual items */
    .value-item {
        flex-direction: column;
        gap: 8px;
        padding: 8px 4px;
        text-align: center;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .value-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .value-title {
        font-size: 0.875rem;
        white-space: normal;
        line-height: 1.4;
    }

    /* Item 3 (اجرای حرفه‌ای) — spans full width, centered */
    .value-item:last-child {
        grid-column: 1 / -1;
        margin-top: 4px;
    }
}

/* ============================================
   FINAL CTA — Mobile (< 768px)
   ترتیب: محتوا بالا (order:1) → دکمه زیر آن (order:2)
   ============================================ */
@media (max-width: 767px) {

    .final-cta {
        padding: 28px 0 32px;
    }

    .final-cta-inner {
        display: flex;
        flex-direction: column;
        gap: 18px;
        text-align: center;
        align-items: center;
    }

    /* محتوا اول */
    .final-cta-content {
        order: 1;
        text-align: center;
        max-width: 100%;
        gap: 6px;
        grid-column: auto;
    }

    /* دکمه زیر متن */
    .final-cta-btn {
        order: 2;
        grid-column: auto;
        justify-self: center;
    }

    .final-cta-title {
        font-size: clamp(1.125rem, 4.5vw, 1.375rem);
        line-height: 1.5;
    }

    .final-cta-desc {
        font-size: 0.875rem;
        line-height: 1.8;
        opacity: 0.85;
    }

    .final-cta-btn {
        padding: 12px 32px;
        font-size: 14.5px;
        min-height: 48px;
    }

    .final-cta-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   FOOTER — Mobile (< 768px)
   ============================================ */
@media (max-width: 767px) {

    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 24px;
        padding-bottom: 20px;
        text-align: center;
    }

    /* Logo */
    .footer-logo img {
        height: 46px;
    }

    /* Navigation */
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-nav-sep {
        font-size: 11px;
    }

    /* Social */
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-social-link {
        width: 32px;
        height: 32px;
    }

    .footer-social-link svg {
        width: 15px;
        height: 15px;
    }

    .footer-contact-info {
        margin-right: 0;
        font-size: 11.5px;
        text-align: center;
        align-items: center;
    }

    /* Copyright */
    .footer-bottom {
        padding: 14px 0 18px;
    }

    .footer-bottom p {
        font-size: 11.5px;
    }
}

/* ===== Header Scroll State — همیشه ثابت بالای صفحه ===== */
.arano-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.arano-header {
    transition: box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .arano-header {
        transition: none !important;
    }
}

/* ===== Mobile Menu Open State ===== */
.header-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--brand-green-deep);
    flex-direction: column;
    padding: 24px 20px;
    border-top: 1px solid rgba(181, 147, 75, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.header-nav.is-open ul {
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.header-nav.is-open a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    text-align: right;
    font-size: 16px;
}

.header-nav.is-open a:hover {
    background: rgba(181, 147, 75, 0.15);
}

/* On mobile menu, active item gets gold text only (no bg), 
   so it doesn't look like the button is 'selected' */
.header-nav.is-open a.active {
    color: var(--brand-gold-light);
    background: transparent;
}

.header-nav.is-open a::after {
    display: none;
}

/* ===== When mobile menu is open: push CTA below the menu, full-width ===== */
/* The CTA stays in the header and does NOT go inside the menu — 
   only the mobile menu (header-nav) opens/closes. */

/* Hamburger animation when open */
.header-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Reveal on Scroll ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Keyframes ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PERFORMANCE — content-visibility for off-screen sections
   ============================================ */
.portfolio-section,
.client-panel,
.why-arano,
.value-strip,
.final-cta,
.arano-footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px; /* reserve height to avoid CLS */
}

/* Above-the-fold sections must NOT use content-visibility */
.hero,
.services {
    content-visibility: visible;
}

/* Focus visible برای همه عناصر تعاملی (دسترس‌پذیری) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===== Prevent FOUC ===== */
.no-js body { visibility: visible; }

/* ===== Testimonials Section Fixes ===== */
.testimonials .why-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.testimonials .why-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* ===== Testimonials Bottom Controls ===== */
.testimonials-nav-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 10px; /* فاصله از پاژینیشن */
    margin-bottom: 30px;
}

.testimonials-nav-controls .swiper-button-next,
.testimonials-nav-controls .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid rgba(181, 147, 75, 0.4);
    border-radius: 50%;
    color: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(4, 40, 15, 0.08);
    transition: all 0.3s ease;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-nav-controls .swiper-button-next::after,
.testimonials-nav-controls .swiper-button-prev::after {
    display: none !important;
}

.testimonials-nav-controls .swiper-button-next:hover,
.testimonials-nav-controls .swiper-button-prev:hover {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    border-color: var(--brand-gold);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(181, 147, 75, 0.3);
}

/* ============================================
   NEW SECTIONS (2026-10-17)
   Testimonials / Mid CTA / About / Packages
   FAQ / Trust Badges / Sticky CTA Mobile
   ============================================ */

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #FFFDF7;
    text-align: center;
}
.testimonials-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}
.testimonials-swiper {
    width: 100%;
    padding-bottom: 50px; /* space for pagination */
    overflow: hidden; /* کارت‌ها نباید بیرون بزنند */
}
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(181, 147, 75, 0.22);
    border-radius: 14px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    height: auto;
    text-align: right;
}
.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}
.testimonials-swiper .swiper-slide {
    height: auto;
}
.testimonials-swiper .swiper-pagination-bullet {
    background: var(--brand-green-deep);
    opacity: 0.3;
}
.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--brand-gold);
    opacity: 1;
    width: 20px;
    border-radius: 4px;
}

/* ===== Testimonials Nav Arrows ===== */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid rgba(181, 147, 75, 0.4);
    border-radius: 50%;
    color: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(4, 40, 15, 0.08);
    transition: all 0.25s ease;
    margin-top: -22px;
    z-index: 10;
}

/* حذف آیکون پیش‌فرض Swiper برای جلوگیری از تداخل */
.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    display: none !important;
}
.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    border-color: var(--brand-gold);
    transform: scale(1.05);
}
@media (min-width: 768px) {
    .testimonials .container {
        padding-left: 80px;
        padding-right: 80px;
    }
    
    .testimonials-nav-prev {
        right: -60px; /* انتقال دکمه به بیرون کادر */
    }
    .testimonials-nav-next {
        left: -60px; /* انتقال دکمه به بیرون کادر */
    }
}

/* Hide arrows on mobile to save space */
@media (max-width: 767px) {
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 18px;
    font-size: 62px;
    line-height: 1;
    color: rgba(181, 147, 75, 0.18);
    font-family: Georgia, serif;
    pointer-events: none;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    box-shadow: 0 12px 30px rgba(4, 40, 15, 0.1);
}
.testimonial-stars {
    display: inline-flex;
    gap: 3px;
    color: var(--brand-gold);
    align-self: flex-start;
}
.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin: 0;
    font-style: normal;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(181, 147, 75, 0.18);
    margin-top: auto;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-green-deep);
    color: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== MID CTA ===== */
.mid-cta {
    background: linear-gradient(135deg, var(--brand-green-deep) 0%, #0a5a25 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.mid-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(181, 147, 75, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(181, 147, 75, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.mid-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.mid-cta-content {
    flex: 1;
    min-width: 280px;
    text-align: right;
}
.mid-cta-title {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #FAF2E3;
    line-height: 1.4;
    margin: 0 0 8px;
}
.mid-cta-desc {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: rgba(250, 242, 227, 0.82);
    margin: 0;
}
.mid-cta-btn {
    flex-shrink: 0;
    padding: 14px 38px;
    font-size: 15px;
    font-weight: 700;
    min-height: 52px;
    box-shadow: 0 8px 24px rgba(181, 147, 75, 0.35);
}
.mid-cta-btn svg {
    transition: transform 0.25s ease;
}
.mid-cta-btn:hover svg {
    transform: translateX(-4px);
}

/* ===== ABOUT US ===== */
.about-us {
    background: var(--bg-main);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    direction: ltr;
}
.about-image {
    order: 1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(4, 40, 15, 0.1);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
.about-content {
    order: 2;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-content .why-label {
    justify-content: flex-start;
    align-self: flex-start;
    margin-bottom: 6px;
}
.about-content .why-title {
    text-align: right;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    max-width: 100%;
    margin: 0;
}
.about-content .why-description {
    text-align: right;
    max-width: 100%;
    margin: 0;
    font-size: 0.9375rem;
}
.about-actions {
    margin-top: 12px;
}
.about-actions .btn {
    padding: 13px 32px;
    font-size: 14.5px;
    font-weight: 700;
}

/* ===== PACKAGES ===== */
.packages {
    background: #FFFDF7;
    text-align: center;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: center;
    align-items: stretch;
}
.package-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(181, 147, 75, 0.25);
    border-radius: 16px;
    padding: 36px 26px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}
.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-gold);
    box-shadow: 0 16px 40px rgba(4, 40, 15, 0.12);
}
.package-card.package-featured {
    border-color: var(--brand-gold);
    border-width: 2px;
    box-shadow: 0 8px 28px rgba(181, 147, 75, 0.2);
}
.package-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: var(--brand-gold);
    color: var(--brand-green-deep);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.package-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-green-deep);
    margin: 8px 0 0;
    letter-spacing: -0.01em;
}
.package-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.88;
    min-height: 42px;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: right;
    flex-grow: 1;
}
.package-features li {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding-right: 4px;
}
.package-btn {
    width: 100%;
    max-width: 220px;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 700;
    min-height: 48px;
    margin-top: auto;
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg-main);
}
.faq-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.faq-inner .why-label,
.faq-inner .why-title,
.faq-inner .why-description {
    text-align: center;
    justify-content: center;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    text-align: right;
}
.faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(181, 147, 75, 0.22);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
    border-color: var(--brand-gold);
    box-shadow: 0 8px 24px rgba(181, 147, 75, 0.12);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.25s ease;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question:hover {
    background: rgba(181, 147, 75, 0.04);
}
.faq-question h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(181, 147, 75, 0.12);
    color: var(--brand-gold);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, background-color 0.25s ease, color 0.25s ease;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--brand-gold);
    color: #FFFFFF;
}
.faq-answer {
    padding: 0 22px 20px;
    border-top: 1px solid rgba(181, 147, 75, 0.12);
    padding-top: 16px;
    margin-top: 2px;
}
.faq-answer p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.92;
}
.faq-answer a {
    color: var(--brand-gold);
    font-weight: 600;
    text-decoration: none;
}
.faq-answer a:hover {
    color: var(--brand-gold-light);
}
.faq-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed rgba(181, 147, 75, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.faq-cta-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}
.faq-cta-btn {
    padding: 14px 38px;
    font-size: 15px;
    font-weight: 700;
    min-height: 50px;
    box-shadow: 0 6px 20px rgba(181, 147, 75, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* TRUST BADGES — استایل در index.html تعریف شده است */

/* ============================================
   HEADER AUTH AREA — Guest Button + User Account Dropdown
   ============================================ */

.header-auth-area {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* Hidden state for guest/user views */
[data-auth-guest][hidden],
[data-auth-user][hidden] {
    display: none !important;
}

/* ---------- User Account Button ---------- */
.header-account {
    position: relative;
}

.header-account-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    background: rgba(250, 242, 227, 0.08);
    border: 1px solid rgba(181, 147, 75, 0.35);
    border-radius: 999px;
    color: var(--text-on-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-account-btn:hover {
    background: rgba(250, 242, 227, 0.14);
    border-color: var(--brand-gold);
}

.header-account-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
    color: var(--brand-green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.header-account-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account-arrow {
    opacity: 0.8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.header-account.is-open .header-account-arrow {
    transform: rotate(180deg);
}

/* ---------- User Dropdown Menu ---------- */
.header-account-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--brand-green-deep);
    border: 1px solid rgba(181, 147, 75, 0.35);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    padding: 8px;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.header-account-menu[hidden] {
    display: none;
}

.header-account.is-open .header-account-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-account-menu a,
.header-account-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-on-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.header-account-menu a:hover,
.header-account-menu button:hover {
    background: rgba(181, 147, 75, 0.14);
    color: var(--brand-gold-light);
}

.header-account-menu svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.header-account-menu a:hover svg,
.header-account-menu button:hover svg {
    opacity: 1;
}

.header-account-sep {
    height: 1px;
    background: rgba(181, 147, 75, 0.2);
    margin: 6px 4px;
}

.header-account-logout {
    color: #F1A7A2 !important;
}

.header-account-logout:hover {
    background: rgba(192, 57, 43, 0.15) !important;
    color: #FF8A80 !important;
}

/* ---------- Mobile adjustments ---------- */
@media (max-width: 768px) {
    .header-account-btn {
        padding: 4px 10px 4px 6px;
        font-size: 12.5px;
        min-height: 38px;
        order: 2;
        margin-left: auto;
    }

    .header-account-avatar {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .header-account-name {
        max-width: 70px;
    }

    .header-account-menu {
        left: 0;
        right: auto;
        min-width: 200px;
    }
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
    display: none;
}

/* ===== Responsive for new sections ===== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .packages-grid {
        gap: 18px;
    }
    .about-inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .testimonials,
    .mid-cta,
    .about-us,
    .packages,
    .faq,
    .trust-badges {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }
    .testimonial-card {
        padding: 22px 20px;
    }

    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .mid-cta-content {
        text-align: center;
    }
    .mid-cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-image {
        order: 2;
    }
    .about-content {
        order: 1;
        text-align: center;
        align-items: center;
    }
    .about-content .why-label {
        align-self: center;
    }
    .about-content .why-title,
    .about-content .why-description {
        text-align: center;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
    .package-card {
        padding: 32px 22px 28px;
    }

    .faq-list {
        margin-top: 24px;
    }
    .faq-question {
        padding: 15px 16px;
    }
    .faq-question h3 {
        font-size: 14.5px;
    }
    .faq-answer {
        padding: 14px 16px 18px;
    }
    .faq-cta-btn {
        padding: 12px 32px;
        font-size: 14.5px;
    }

    .trust-badges-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .trust-badge-item {
        padding: 14px 8px;
    }
    .trust-badge-item svg {
        width: 30px;
        height: 30px;
    }
    .trust-badge-item span {
        font-size: 12px;
    }

    /* Sticky Mobile CTA - show on mobile */
    .sticky-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 999;
        background: #FFFFFF;
        border-top: 1px solid rgba(181, 147, 75, 0.3);
        box-shadow: 0 -4px 16px rgba(4, 40, 15, 0.12);
        padding: 8px;
        gap: 8px;
    }
    .sticky-mobile-cta-call,
    .sticky-mobile-cta-consult {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 11px 12px;
        border-radius: 10px;
        font-size: 13.5px;
        font-weight: 700;
        text-decoration: none;
        transition: transform 0.2s ease;
    }
    .sticky-mobile-cta-call {
        background: #FFFFFF;
        color: var(--brand-green-deep);
        border: 1.5px solid var(--brand-green-deep);
    }
    .sticky-mobile-cta-call:active {
        transform: scale(0.97);
    }
    .sticky-mobile-cta-consult {
        background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
        color: var(--brand-green-deep);
        border: 1.5px solid transparent;
    }
    .sticky-mobile-cta-consult:active {
        transform: scale(0.97);
    }
    .sticky-mobile-cta svg {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
    }

    /* Add bottom padding to body so sticky bar doesn't cover content */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 400px) {
    .package-name {
        font-size: 1.25rem;
    }
    .package-features li {
        font-size: 0.875rem;
    }
}
