/* ============================================================
   اسفاگ تیم - استایل اصلی
   تم: سفید + آبی یخی (Ice Blue)
   نسخه: 2.0 (تمیز شده)
   ============================================================ */

/* ---------- متغیرهای رنگ ---------- */
:root {
    --ice-50:  #f0f9ff;
    --ice-100: #e0f2fe;
    --ice-200: #bae6fd;
    --ice-300: #7dd3fc;
    --ice-400: #38bdf8;
    --ice-500: #0ea5e9;
    --ice-600: #0284c7;
    --ice-700: #0369a1;
    --ice-800: #075985;
    --ice-900: #0c4a6e;

    --dark:    #0f172a;
    --gray:    #64748b;
    --light:   #f8fafc;
    --white:   #ffffff;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, .08);
    --shadow-lg: 0 12px 40px rgba(14, 165, 233, .15);

    --radius:    14px;
    --radius-lg: 20px;

    --transition: all .3s ease;
}


/* ============================================================
   BASE
   ============================================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

img, svg {
    max-width: 100%;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.5;
}

::selection {
    background: var(--ice-300);
    color: var(--dark);
}


/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: linear-gradient(90deg, var(--ice-900), var(--ice-700));
    color: #fff;
    font-size: .85rem;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }


/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
}
.main-navbar.scrolled {
    box-shadow: 0 6px 24px rgba(15, 23, 42, .08);
}

.navbar-brand .brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, .35);
}
.navbar-brand .brand-text strong {
    color: var(--dark);
    font-size: 1.05rem;
    display: block;
    line-height: 1.2;
}
.navbar-brand .brand-text small {
    color: var(--gray);
    font-size: .72rem;
    font-weight: 400;
}
.main-navbar .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    font-size: .95rem;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--ice-600);
    background: var(--ice-50);
}
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px;
    margin-top: 8px;
}
.main-navbar .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .9rem;
}
.main-navbar .dropdown-item:hover {
    background: var(--ice-50);
    color: var(--ice-600);
}

.btn-cta {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 18px rgba(14, 165, 233, .35);
}
.btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(14, 165, 233, .45);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-ice {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-ice:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(14, 165, 233, .4);
}
.btn-outline-ice {
    background: transparent;
    color: var(--ice-700);
    border: 2px solid var(--ice-500);
    border-radius: 10px;
    padding: 10px 26px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-ice:hover {
    background: var(--ice-500);
    color: #fff;
    transform: translateY(-2px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--ice-50) 0%, #fff 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--ice-200) 0%, transparent 70%);
    border-radius: 50%;
    opacity: .6;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--ice-300) 0%, transparent 70%);
    border-radius: 50%;
    opacity: .4;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ice-700);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ice-100);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 520px;
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hero-stats .stat-item strong {
    display: block;
    font-size: 1.6rem;
    color: var(--ice-700);
    font-weight: 800;
}
.hero-stats .stat-item span {
    color: var(--gray);
    font-size: .85rem;
}
.hero-image-wrap {
    position: relative;
    display: grid;
    place-items: center;
}
.hero-image-wrap .glow {
    position: absolute;
    width: 80%; height: 80%;
    background: radial-gradient(circle, var(--ice-300), transparent 70%);
    filter: blur(60px);
    opacity: .7;
    z-index: 0;
}
.hero-image-wrap .main-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 20px 40px rgba(14, 165, 233, .25));
}


/* ============================================================
   SECTION TITLES
   ============================================================ */
.section { padding: 80px 0; }
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.section-head .subtitle {
    display: inline-block;
    color: var(--ice-600);
    background: var(--ice-50);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}
.section-head p {
    color: var(--gray);
    font-size: .98rem;
    max-width: 620px;
    margin: 0 auto;
}


/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.category-card .cat-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    color: var(--ice-700);
    border-radius: 18px;
    transition: var(--transition);
}
.category-card:hover .cat-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.category-card .cat-icon-svg {
    width: 32px;
    height: 32px;
}
.category-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}
.category-card p {
    font-size: .85rem;
    color: var(--gray);
    margin-bottom: 14px;
    line-height: 1.7;
}
.category-card .cat-count {
    display: inline-block;
    font-size: .78rem;
    color: var(--ice-600);
    background: var(--ice-50);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
}


/* ============================================================
   PACKAGE CARDS — نسخه دسکتاپ
   ============================================================ */
.package-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
}
.package-card .card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(245, 158, 11, .35);
}
.card-badge-featured {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700)) !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, .35) !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-badge-featured svg { color: #fde047; }

.package-card .card-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--ice-50), var(--ice-100));
    display: grid;
    place-items: center;
    color: var(--ice-600);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.package-card .card-thumb::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,.5), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.package-card:hover .card-thumb::before {
    opacity: 1;
    animation: shine 1.2s ease;
}
@keyframes shine {
    from { transform: translate(-30%, -30%) rotate(0deg); }
    to   { transform: translate(30%, 30%) rotate(0deg); }
}
.package-card .card-thumb svg {
    width: 64px;
    height: 64px;
    opacity: .8;
}
.package-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.package-card .card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.package-card .card-cat {
    display: inline-block;
    font-size: .72rem;
    color: var(--ice-700);
    background: var(--ice-50);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}
.package-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.5;
}
.package-card .card-desc {
    font-size: .85rem;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}
.package-card .card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 14px;
}
.package-card .price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ice-700);
}
.package-card .price-old {
    font-size: .78rem;
    color: #94a3b8;
    text-decoration: line-through;
    display: block;
}
.package-card .delivery {
    font-size: .78rem;
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.package-card .btn-detail {
    width: 100%;
    text-align: center;
    background: var(--ice-50);
    color: var(--ice-700);
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
    display: block;
}
.package-card .btn-detail:hover {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
}


/* ============================================================
   WHY US CARDS
   ============================================================ */
.why-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
}
.why-card .why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    color: var(--ice-700);
    border-radius: 16px;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.why-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}
.why-card p {
    font-size: .85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.8;
}


/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #eef2f7;
    transition: var(--transition);
    color: inherit;
    display: block;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.portfolio-card .portfolio-thumb {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    display: grid;
    place-items: center;
}
.portfolio-card .portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.08);
}
.portfolio-card .portfolio-placeholder {
    color: var(--ice-600);
    opacity: .7;
}
.portfolio-card .portfolio-info {
    padding: 16px 18px;
}
.portfolio-card .portfolio-cat {
    font-size: .72rem;
    color: var(--ice-700);
    background: var(--ice-50);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}
.portfolio-card h6 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
}
.portfolio-card .portfolio-client {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: var(--gray);
    margin: 6px 0 0;
    line-height: 1.5;
}
.portfolio-card .portfolio-client svg {
    color: var(--ice-600);
    flex-shrink: 0;
}


/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
    color: inherit;
}
.blog-card .blog-thumb {
    height: 190px;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}
.blog-card .blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card .blog-placeholder {
    color: var(--ice-600);
    opacity: .7;
}
.blog-card .blog-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card .blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: .75rem;
    color: var(--gray);
}
.blog-card .blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.blog-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.6;
    transition: var(--transition);
}
.blog-card:hover h5 { color: var(--ice-700); }
.blog-card p {
    font-size: .85rem;
    color: var(--gray);
    margin-bottom: 14px;
    flex: 1;
    line-height: 1.8;
}
.blog-card .blog-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ice-700);
    font-weight: 600;
    font-size: .82rem;
}
.blog-card .blog-more svg { transition: var(--transition); }
.blog-card:hover .blog-more svg { transform: translateX(-4px); }


/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: linear-gradient(180deg, #0c1a2b 0%, #081220 100%);
    color: #cbd5e1;
    padding: 70px 0 0;
    margin-top: 80px;
}
.main-footer .brand-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
    color: #fff;
    border-radius: 10px;
}
.main-footer strong { color: #fff; }
.footer-desc {
    color: #94a3b8;
    font-size: .88rem;
    line-height: 1.9;
    margin-top: 6px;
}
.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 32px; height: 2px;
    background: var(--ice-400);
    border-radius: 2px;
}
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #94a3b8;
    font-size: .88rem;
    position: relative;
    padding-right: 14px;
}
.footer-links a::before {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 5px; height: 5px;
    background: var(--ice-500);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--ice-400);
    padding-right: 18px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #94a3b8;
    font-size: .85rem;
    margin-bottom: 12px;
    line-height: 1.7;
}
.footer-contact svg {
    color: var(--ice-400);
    flex-shrink: 0;
    margin-top: 4px;
}
.footer-social .social-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
    border-radius: 10px;
    transition: var(--transition);
}
.footer-social .social-btn:hover {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    color: #64748b;
    font-size: .82rem;
}


/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    z-index: 999;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45); }
    50%      { box-shadow: 0 10px 26px rgba(37, 211, 102, .7), 0 0 0 12px rgba(37, 211, 102, .1); }
}


/* ============================================================
   PAGE HEADER (صفحات داخلی)
   ============================================================ */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--ice-50) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, var(--ice-200) 0%, transparent 70%);
    border-radius: 50%;
    opacity: .5;
}
.page-header .container { position: relative; z-index: 1; }

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .85rem;
    color: var(--gray);
    flex-wrap: wrap;
}
.breadcrumb-nav a { color: var(--gray); font-weight: 500; }
.breadcrumb-nav a:hover { color: var(--ice-600); }
.breadcrumb-nav .sep {
    display: inline-flex;
    align-items: center;
    color: #cbd5e1;
}
.breadcrumb-nav .current {
    color: var(--ice-700);
    font-weight: 600;
}
.page-title {
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.4;
}
.page-title .highlight {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-desc {
    font-size: 1rem;
    color: var(--gray);
    max-width: 640px;
    line-height: 1.9;
    margin: 0;
}
.cat-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--ice-700);
    border: 1px solid var(--ice-200);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
}


/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: 100px;
}
.side-box {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 20px;
}
.side-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.side-title svg { color: var(--ice-600); }

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side-list li { margin-bottom: 4px; }
.side-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: .88rem;
    font-weight: 500;
    transition: var(--transition);
}
.side-list a:hover {
    background: var(--ice-50);
    color: var(--ice-700);
}
.side-list a.active {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    box-shadow: 0 6px 16px rgba(14, 165, 233, .3);
}
.side-list a.active .badge-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}
.badge-count {
    font-size: .72rem;
    background: var(--ice-50);
    color: var(--ice-700);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}
.side-link-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.side-link-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: var(--ice-50);
    color: var(--ice-700);
    border-radius: 8px;
    flex-shrink: 0;
    transition: var(--transition);
}
.side-icon-svg {
    width: 16px;
    height: 16px;
}
.side-list a.active .side-link-icon {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}
.side-list a:hover .side-link-icon {
    background: var(--ice-100);
    color: var(--ice-800);
}
.side-list a.active:hover .side-link-icon {
    background: rgba(255, 255, 255, .3);
    color: #fff;
}


/* ============================================================
   SIDE CTA
   ============================================================ */
.side-cta {
    background: linear-gradient(135deg, var(--ice-600), var(--ice-800));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(14, 165, 233, .25);
}
.side-cta::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
    border-radius: 50%;
}
.side-cta .cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    color: #fff;
    position: relative;
    z-index: 1;
}
.side-cta h6 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    position: relative;
    z-index: 1;
}
.side-cta p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.8;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.btn-side-cta {
    display: block;
    background: #fff;
    color: var(--ice-700);
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: .85rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    direction: ltr;
}
.btn-side-cta:hover {
    color: var(--ice-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}


/* ============================================================
   FILTER BAR + TOOLBAR
   ============================================================ */
.filter-bar {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}
.filter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-item {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.filter-icon {
    position: absolute;
    top: 50%; right: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.filter-input,
.filter-select {
    width: 100%;
    height: 42px;
    padding: 8px 40px 8px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: .88rem;
    background: #f8fafc;
    transition: var(--transition);
    color: var(--dark);
}
.filter-select {
    padding: 8px 14px;
    min-width: 160px;
    flex: 0 0 auto;
    width: auto;
    cursor: pointer;
}
.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--ice-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .1);
}
.btn-filter {
    height: 42px;
    padding: 0 20px;
    background: var(--ice-700);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-filter:hover { background: var(--ice-800); }
.btn-filter-reset {
    height: 42px;
    padding: 0 16px;
    background: #fff;
    color: #dc2626;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-filter-reset:hover { background: #fef2f2; }

.list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--ice-50);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: .88rem;
    color: var(--gray);
}
.list-toolbar strong {
    color: var(--ice-700);
    font-size: 1rem;
}

.empty-state {
    background: #fff;
    border: 2px dashed var(--ice-200);
    border-radius: var(--radius-lg);
    padding: 60px 24px;
    text-align: center;
}
.empty-state svg {
    margin-bottom: 20px;
    opacity: .6;
}
.empty-state h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.empty-state p {
    color: var(--gray);
    font-size: .9rem;
    margin-bottom: 20px;
}


/* ============================================================
   PRODUCT PAGE (صفحه جزئیات پکیج)
   ============================================================ */
.product-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.product-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ice-50), var(--ice-100));
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 280px;
    max-height: 520px;
}
.product-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}
.product-hero-placeholder {
    padding: 60px 20px;
    color: var(--ice-500);
    opacity: .75;
    display: grid;
    place-items: center;
}
.product-discount-badge,
.product-featured-badge {
    position: absolute;
    top: 20px; right: 20px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    z-index: 2;
}
.product-discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
.product-featured-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.product-featured-badge svg { color: #fff; }

.product-body {
    padding: 34px 36px 40px;
}
.product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ice-50);
    color: var(--ice-700);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--transition);
}
.product-cat:hover {
    background: var(--ice-100);
    color: var(--ice-800);
}
.product-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: .82rem;
}
.product-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 12px;
}
.product-short {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 26px;
}
.product-quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
    background: var(--ice-50);
    border-radius: var(--radius);
    margin-bottom: 30px;
}
.quick-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.qi-icon {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--ice-600);
    border-radius: 10px;
    flex-shrink: 0;
}
.qi-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.qi-body small {
    font-size: .72rem;
    color: var(--gray);
    line-height: 1.2;
}
.qi-body strong {
    font-size: .88rem;
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-section { margin-top: 32px; }
.product-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ice-100);
}
.product-section-title svg { color: var(--ice-600); }
.product-description {
    font-size: .95rem;
    color: #475569;
    line-height: 2;
}
.product-description p { margin-bottom: 14px; }
.product-description h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 22px 0 10px;
}
.product-description ul,
.product-description ol {
    padding-right: 22px;
    margin-bottom: 14px;
}
.product-description li { margin-bottom: 8px; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ice-50);
    border-radius: 10px;
    font-size: .9rem;
    color: var(--dark);
    transition: var(--transition);
}
.feature-list li:hover {
    background: var(--ice-100);
    transform: translateX(-4px);
}
.feat-check {
    width: 24px; height: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}


/* ============================================================
   BUY BOX (Sticky)
   ============================================================ */
.buy-box {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 100px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.buy-price-wrap {
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}
.buy-old-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.buy-old-price span:first-child {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: .9rem;
}
.off-chip {
    background: #fee2e2;
    color: #dc2626;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
}
.buy-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.buy-price .amount {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--ice-700);
    line-height: 1.2;
}
.buy-price .currency {
    color: var(--gray);
    font-size: .95rem;
    font-weight: 500;
}
.buy-save {
    margin: 12px 0 0;
    font-size: .85rem;
    color: #059669;
    background: #ecfdf5;
    padding: 8px 12px;
    border-radius: 8px;
}
.buy-save strong { font-weight: 800; }
.buy-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.buy-notice svg { flex-shrink: 0; color: #d97706; }
.buy-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}
.buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.buy-btn-primary {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 165, 233, .3);
}
.buy-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 165, 233, .4);
}
.buy-btn-whatsapp {
    background: #25d366;
    color: #fff;
}
.buy-btn-whatsapp:hover {
    color: #fff;
    background: #1ebe5b;
    transform: translateY(-2px);
}
.buy-btn-telegram {
    background: #229ed9;
    color: #fff;
}
.buy-btn-telegram:hover {
    color: #fff;
    background: #1c8ec1;
    transform: translateY(-2px);
}
.buy-perks {
    list-style: none;
    padding: 18px 0 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
}
.buy-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: #475569;
    padding: 8px 0;
}
.buy-perks svg {
    color: #10b981;
    flex-shrink: 0;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 60px 0 80px; }
.cta-box {
    background: linear-gradient(135deg, var(--ice-600), var(--ice-800));
    border-radius: 24px;
    padding: 50px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, .3);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
    border-radius: 50%;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
    border-radius: 50%;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.cta-box p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.9;
}
.btn-white-cta {
    background: #fff;
    color: var(--ice-700);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-white-cta:hover {
    color: var(--ice-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .15);
}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-card,
.contact-info-card,
.contact-social-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    box-shadow: var(--shadow-sm);
}
.contact-info-card,
.contact-social-card { margin-bottom: 20px; }

.contact-form-head {
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.contact-form-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 6px;
}
.contact-form-head p {
    color: var(--gray);
    font-size: .9rem;
    margin: 0;
}
.contact-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.contact-label .req { color: #dc2626; }
.contact-label small {
    color: var(--gray);
    font-weight: 400;
}
.contact-input-wrap { position: relative; }
.contact-input-icon {
    position: absolute;
    top: 50%; right: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: grid;
    place-items: center;
}
.contact-input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: .9rem;
    background: #f8fafc;
    color: var(--dark);
    transition: var(--transition);
    line-height: 1.7;
}
.contact-input:focus {
    outline: none;
    border-color: var(--ice-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .1);
}
.contact-textarea {
    padding: 14px;
    resize: vertical;
    min-height: 130px;
}
.contact-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 22px rgba(14, 165, 233, .35);
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 165, 233, .45);
}
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: .88rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.contact-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.contact-alert-error svg {
    flex-shrink: 0;
    margin-top: 4px;
}
.contact-alert ul {
    padding-right: 18px;
    margin: 0;
}
.contact-success {
    text-align: center;
    padding: 30px 20px;
}
.contact-success .success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    border-radius: 50%;
    animation: popIn .4s ease;
}
@keyframes popIn {
    from { transform: scale(.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.contact-success h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px;
}
.contact-success p {
    color: var(--gray);
    font-size: .92rem;
    line-height: 1.9;
    margin: 0;
}
.contact-info-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 6px;
}
.contact-info-desc {
    color: var(--gray);
    font-size: .85rem;
    margin-bottom: 22px;
    line-height: 1.8;
}
.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--dark);
    transition: var(--transition);
}
.contact-line:last-child { border-bottom: none; }
.contact-line:hover { color: var(--ice-700); }
.contact-line-icon {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: var(--ice-50);
    color: var(--ice-600);
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-line:hover .contact-line-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.contact-line-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.contact-line-body small {
    font-size: .75rem;
    color: var(--gray);
    margin-bottom: 2px;
}
.contact-line-body strong {
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark);
    word-break: break-word;
}
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-btn-lg {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    transition: var(--transition);
    font-weight: 600;
}
.social-btn-lg:hover {
    color: #fff;
    transform: translateY(-2px);
}
.social-btn-lg > svg { flex-shrink: 0; }
.social-btn-lg span {
    display: flex;
    flex-direction: column;
}
.social-btn-lg small {
    font-size: .72rem;
    opacity: .85;
    font-weight: 500;
}
.social-btn-lg strong {
    font-size: .95rem;
    font-weight: 700;
}
.social-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 18px rgba(37, 211, 102, .3);
}
.social-btn-whatsapp:hover { box-shadow: 0 10px 24px rgba(37, 211, 102, .45); }
.social-btn-telegram {
    background: linear-gradient(135deg, #229ed9, #1c8ec1);
    box-shadow: 0 6px 18px rgba(34, 158, 217, .3);
}
.social-btn-telegram:hover { box-shadow: 0 10px 24px rgba(34, 158, 217, .45); }
.social-btn-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    box-shadow: 0 6px 18px rgba(221, 42, 123, .3);
}
.social-btn-instagram:hover { box-shadow: 0 10px 24px rgba(221, 42, 123, .45); }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, var(--ice-50) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--ice-200), transparent 70%);
    border-radius: 50%;
    opacity: .5;
    z-index: 0;
}
.about-hero .container {
    position: relative;
    z-index: 1;
}
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ice-700);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ice-100);
    margin-bottom: 20px;
}
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 20px;
}
.about-title .highlight {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 28px;
    max-width: 540px;
}
.about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.about-hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}
.about-hero-glow {
    position: absolute;
    width: 80%; height: 80%;
    background: radial-gradient(circle, var(--ice-300), transparent 70%);
    filter: blur(60px);
    opacity: .6;
}
.about-hero-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 20px 40px rgba(14, 165, 233, .2));
}
.about-stats {
    padding: 40px 0;
    background: #fff;
}
.about-stat-card {
    background: linear-gradient(135deg, var(--ice-50), #fff);
    border: 1px solid var(--ice-100);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, .15);
    border-color: var(--ice-200);
}
.about-stat-icon {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(14, 165, 233, .3);
}
.about-stat-value {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 4px;
}
.about-stat-label {
    color: var(--gray);
    font-size: .85rem;
}
.story-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--ice-50), var(--ice-100));
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 30px;
}
.story-visual::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 70%);
    border-radius: 50%;
}
.story-visual::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(56, 189, 248, .3), transparent 70%);
    border-radius: 50%;
}
.story-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--ice-100);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .1);
    transition: var(--transition);
}
.story-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(14, 165, 233, .2);
}
.story-card-icon {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-radius: 12px;
    margin-bottom: 4px;
}
.story-card strong {
    font-size: .9rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}
.story-card small {
    font-size: .75rem;
    color: var(--gray);
}
.story-card-1 { top: 40px; right: 30px; width: 160px; }
.story-card-2 { top: 160px; left: 40px; width: 170px; }
.story-card-3 { bottom: 40px; right: 50px; width: 180px; }
.section-subtitle {
    display: inline-block;
    color: var(--ice-600);
    background: var(--ice-50);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.story-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.5;
}
.story-text {
    font-size: .98rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 16px;
}
.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}
.story-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--dark);
    font-weight: 500;
}
.sh-icon {
    width: 24px; height: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}
.value-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}
.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--ice-200);
    box-shadow: 0 20px 50px rgba(14, 165, 233, .12);
}
.value-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    color: var(--ice-700);
    border-radius: 18px;
    transition: var(--transition);
}
.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.value-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}
.value-card p {
    font-size: .88rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.9;
}


/* ============================================================
   BLOG PAGE — Pagination
   ============================================================ */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.page-btn,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    border: 1.5px solid #e2e8f0;
    transition: var(--transition);
}
.page-num {
    padding: 0;
    min-width: 42px;
}
.page-btn:hover,
.page-num:hover {
    color: var(--ice-700);
    border-color: var(--ice-400);
    background: var(--ice-50);
}
.page-num.active {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-color: var(--ice-700);
    box-shadow: 0 6px 16px rgba(14, 165, 233, .3);
}
.page-dots {
    color: var(--gray);
    padding: 0 4px;
    user-select: none;
}


/* ============================================================
   BLOG SIDEBAR
   ============================================================ */
.side-search {
    display: flex;
    gap: 8px;
    width: 100%;
}
.side-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: .88rem;
    background: #f8fafc;
    transition: var(--transition);
    color: var(--dark);
    height: 44px;
}
.side-search input:focus {
    outline: none;
    border-color: var(--ice-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .1);
}
.side-search button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}
.side-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(14, 165, 233, .35);
}
.side-search button svg {
    width: 16px;
    height: 16px;
}

.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recent-list li {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.recent-list li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.recent-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--dark);
}
.recent-list a:hover {
    color: var(--ice-700);
}
.recent-thumb {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-50), var(--ice-100));
    color: var(--ice-600);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recent-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.recent-body strong {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.6;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recent-body small {
    font-size: .72rem;
    color: var(--gray);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--ice-50);
    color: var(--ice-700);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    transition: var(--transition);
}
.tag-item:hover {
    background: var(--ice-100);
    color: var(--ice-800);
    transform: translateY(-2px);
}
.tag-item.active {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    box-shadow: 0 6px 14px rgba(14, 165, 233, .3);
}
.tag-count {
    font-size: .68rem;
    background: rgba(255, 255, 255, .5);
    padding: 1px 6px;
    border-radius: 100px;
    font-weight: 700;
}
.tag-item.active .tag-count {
    background: rgba(255, 255, 255, .3);
    color: #fff;
}


/* ============================================================
   POST PAGE
   ============================================================ */
.post-article {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 34px 38px 30px;
    box-shadow: var(--shadow-sm);
}
.post-hero-image {
    margin: -34px -38px 30px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    max-height: 440px;
}
.post-hero-image img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
}
.post-header {
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 2px solid #f1f5f9;
}
.post-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
    margin: 0 0 14px;
}
.post-excerpt {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 22px;
    padding-right: 16px;
    border-right: 3px solid var(--ice-400);
}
.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--gray);
}
.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.post-meta svg {
    color: var(--ice-600);
    flex-shrink: 0;
}
.post-content {
    font-size: 1rem;
    color: #334155;
    line-height: 2.1;
    word-wrap: break-word;
}
.post-content p { margin-bottom: 18px; }
.post-content h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 34px 0 16px;
    padding-right: 14px;
    position: relative;
}
.post-content h2::before {
    content: '';
    position: absolute;
    right: 0; top: 8px; bottom: 8px;
    width: 4px;
    background: linear-gradient(180deg, var(--ice-500), var(--ice-700));
    border-radius: 2px;
}
.post-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 26px 0 12px;
}
.post-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
}
.post-content ul,
.post-content ol {
    padding-right: 22px;
    margin-bottom: 18px;
}
.post-content li {
    margin-bottom: 8px;
    line-height: 1.9;
}
.post-content a {
    color: var(--ice-700);
    text-decoration: underline;
    text-decoration-color: var(--ice-300);
    text-underline-offset: 4px;
}
.post-content a:hover {
    color: var(--ice-800);
    text-decoration-color: var(--ice-500);
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}
.post-content blockquote {
    background: linear-gradient(135deg, var(--ice-50), #fff);
    border-right: 4px solid var(--ice-500);
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--dark);
    line-height: 2;
}
.post-content code {
    background: #f1f5f9;
    color: var(--ice-800);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: .9em;
    direction: ltr;
    display: inline-block;
}
.post-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    margin: 22px 0;
    line-height: 1.7;
    font-size: .88rem;
}
.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.post-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: .85rem;
    font-weight: 600;
}
.post-tags-label svg { color: var(--ice-600); }
.post-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--ice-50);
    color: var(--ice-700);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    transition: var(--transition);
}
.post-tag:hover {
    background: var(--ice-100);
    color: var(--ice-800);
    transform: translateY(-2px);
}
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.share-label {
    color: var(--gray);
    font-size: .85rem;
    font-weight: 600;
    margin-left: 6px;
}
.share-btn {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.share-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}
.share-telegram { background: linear-gradient(135deg, #229ed9, #1c8ec1); }
.share-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.share-copy {
    background: #f1f5f9;
    color: var(--gray);
}
.share-copy:hover {
    background: var(--ice-100);
    color: var(--ice-700);
}
.share-copy.copied {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
}
.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed #e2e8f0;
}
.related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}
.related-title svg { color: var(--ice-600); }


/* ============================================================
   PORTFOLIO FILTER
   ============================================================ */
.portfolio-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.portfolio-filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    color: var(--dark);
    font-size: .88rem;
    font-weight: 600;
    transition: var(--transition);
}
.portfolio-filter-item:hover {
    border-color: var(--ice-400);
    color: var(--ice-700);
    background: var(--ice-50);
    transform: translateY(-2px);
}
.portfolio-filter-item.active {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-color: var(--ice-700);
    box-shadow: 0 6px 16px rgba(14, 165, 233, .3);
}
.pfi-count {
    display: inline-block;
    font-size: .72rem;
    background: var(--ice-50);
    color: var(--ice-700);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}
.portfolio-filter-item.active .pfi-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}


/* ============================================================
   PROJECT SINGLE PAGE (نمونه‌کار)
   ============================================================ */
.project-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--ice-50), var(--ice-100));
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    max-height: 520px;
}
.project-hero-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
}
.project-hero-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    color: var(--ice-500);
    opacity: .7;
}
.project-article {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    padding: 32px 34px 30px;
    box-shadow: var(--shadow-sm);
}
.project-cat {
    display: inline-block;
    background: var(--ice-50);
    color: var(--ice-700);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.project-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 2px solid #f1f5f9;
}
.project-description {
    font-size: 1rem;
    color: #334155;
    line-height: 2.1;
}
.project-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.project-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.project-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.project-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.project-info-list li:first-child {
    padding-top: 0;
}
.pi-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--ice-50);
    color: var(--ice-700);
    border-radius: 10px;
    flex-shrink: 0;
    transition: var(--transition);
}
.project-info-list li:hover .pi-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.pi-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.pi-body small {
    font-size: .72rem;
    color: var(--gray);
    margin-bottom: 2px;
}
.pi-body strong {
    font-size: .88rem;
    font-weight: 700;
    color: var(--dark);
    word-break: break-word;
}
.pi-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .85rem;
    color: var(--ice-700);
    font-weight: 600;
}
.pi-link:hover {
    color: var(--ice-800);
}


/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-hero {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, var(--ice-50) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.error-404-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--ice-200), transparent 70%);
    border-radius: 50%;
    opacity: .5;
}
.error-404-hero .container {
    position: relative;
    z-index: 1;
}
.error-code {
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -4px;
}
.error-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 18px;
}
.error-title .highlight {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 30px;
    max-width: 520px;
}
.error-404-hero .text-center .error-desc {
    margin-left: auto;
    margin-right: auto;
}
.error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.error-404-hero .text-center .error-actions {
    justify-content: center;
}
.error-visual {
    display: grid;
    place-items: center;
}
.error-visual svg {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 20px 40px rgba(14, 165, 233, .15));
}
.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 18px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius-lg);
    color: var(--dark);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.quick-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--ice-200);
    box-shadow: var(--shadow-lg);
    color: var(--ice-700);
}
.quick-link-card .ql-icon {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-100), var(--ice-200));
    color: var(--ice-700);
    border-radius: 14px;
    transition: var(--transition);
}
.quick-link-card:hover .ql-icon {
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}
.quick-link-card span {
    font-size: .9rem;
    font-weight: 700;
}


/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-hero-form {
    max-width: 720px;
    margin: 0 auto 40px;
}
.search-hero-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 22px;
    background: #fff;
    border: 2px solid var(--ice-200);
    border-radius: 100px;
    box-shadow: 0 12px 40px rgba(14, 165, 233, .12);
    transition: var(--transition);
}
.search-hero-input:focus-within {
    border-color: var(--ice-500);
    box-shadow: 0 16px 50px rgba(14, 165, 233, .2);
}
.search-hero-input > svg {
    color: var(--ice-500);
    flex-shrink: 0;
    margin-right: 6px;
}
.search-hero-input input {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    outline: none;
}
.search-hero-input input::placeholder {
    color: #94a3b8;
}
.search-hero-input button {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(14, 165, 233, .35);
}
.search-hero-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(14, 165, 233, .45);
}
.search-empty {
    text-align: center;
    padding: 60px 24px;
}
.search-empty svg {
    margin-bottom: 20px;
    opacity: .6;
}
.search-empty h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.search-empty p {
    color: var(--gray);
    font-size: .95rem;
    line-height: 2;
    margin-bottom: 20px;
}
.search-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.tip-chip {
    font-size: .82rem;
    color: var(--gray);
    font-weight: 600;
}
.tip-chip-link {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ice-50);
    color: var(--ice-700);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--transition);
}
.tip-chip-link:hover {
    background: var(--ice-100);
    color: var(--ice-800);
    transform: translateY(-2px);
}
.search-section {
    margin-bottom: 60px;
}
.search-section:last-child {
    margin-bottom: 0;
}
.search-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ice-100);
}
.sst-icon {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(14, 165, 233, .3);
}
.sst-count {
    display: inline-block;
    font-size: .82rem;
    background: var(--ice-50);
    color: var(--ice-700);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
    margin-right: auto;
}


/* ============================================================
   RESPONSIVE — TABLET (768px - 991px)
   ============================================================ */
@media (max-width: 991px) {
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 70px; }
    .hero-stats { gap: 22px; }
    .main-navbar .nav-link {
        padding: 10px 14px !important;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
    }
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .page-header { padding: 40px 0 30px; }
    .product-body { padding: 24px 22px 28px; }
    .product-hero { min-height: 220px; max-height: 380px; }
    .product-hero img { max-height: 380px; }
    .product-quick-info { grid-template-columns: 1fr; gap: 10px; }
    .feature-list { grid-template-columns: 1fr; }
    .buy-box { position: static; }
    .cta-box { padding: 40px 28px; text-align: center; }
    .cta-box .text-lg-end { text-align: center !important; }
    .post-article { padding: 24px 22px 22px; }
    .post-hero-image { margin: -24px -22px 22px; }
    .about-hero { padding: 50px 0 40px; }
    .story-visual { height: 340px; }
    .story-card-1 { top: 30px; right: 20px; width: 145px; }
    .story-card-2 { top: 130px; left: 20px; width: 155px; }
    .story-card-3 { bottom: 30px; right: 30px; width: 165px; }
    .contact-form-card,
    .contact-info-card,
    .contact-social-card {
        padding: 22px 20px;
    }
    .contact-form-head h2 { font-size: 1.15rem; }
}


/* ============================================================
   RESPONSIVE — MOBILE (زیر 768px)
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- عمومی ---------- */
    .section { padding: 45px 0; }

    .section-head {
        margin-bottom: 28px;
        padding: 0 8px;
    }
    .section-head .subtitle {
        font-size: .72rem;
        padding: 5px 12px;
        margin-bottom: 10px;
    }
    .section-head h2 {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .section-head p {
        font-size: .82rem;
        line-height: 1.8;
    }

    /* ---------- Hero ---------- */
    .hero { padding: 35px 0 45px; }
    .hero-badge {
        font-size: .72rem;
        padding: 6px 12px;
        margin-bottom: 14px;
    }
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    .hero-desc {
        font-size: .85rem;
        margin-bottom: 20px;
    }
    .hero-stats {
        gap: 12px;
        margin-top: 22px;
    }
    .hero-stats .stat-item strong { font-size: 1.05rem; }
    .hero-stats .stat-item span { font-size: .7rem; }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ---------- Category Cards — 2 columns ---------- */
    .category-card {
        padding: 16px 10px;
        position: relative;
        overflow: hidden;
    }
    .category-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--ice-400), var(--ice-600));
        transform: scaleX(0);
        transition: transform .3s ease;
        transform-origin: right;
    }
    .category-card:hover::before { transform: scaleX(1); }
    .category-card .cat-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    .category-card .cat-icon-svg {
        width: 22px;
        height: 22px;
    }
    .category-card h5 {
        font-size: .8rem;
        margin-bottom: 4px;
    }
    .category-card p {
        font-size: .66rem;
        line-height: 1.5;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .category-card .cat-count {
        font-size: .62rem;
        padding: 3px 8px;
    }

    /* ---------- Package Cards — HORIZONTAL ---------- */
    .package-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 130px;
        overflow: hidden;
    }
    .package-card .card-thumb {
        width: 95px;
        min-width: 95px;
        max-width: 95px;
        height: auto;
        min-height: 130px;
        flex-shrink: 0;
    }
    .package-card .card-thumb svg {
        width: 32px;
        height: 32px;
    }
    .package-card .card-badge {
        top: 6px;
        right: 6px;
        font-size: .55rem;
        padding: 2px 6px;
    }
    .package-card .card-body {
        padding: 12px 14px;
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .package-card .card-cat {
        font-size: .58rem;
        padding: 2px 6px;
        margin-bottom: 4px;
    }
    .package-card h5 {
        font-size: .8rem;
        margin-bottom: 4px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .package-card .card-desc {
        font-size: .68rem;
        line-height: 1.5;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
    }
    .package-card .card-price-row {
        padding-top: 8px;
        margin-bottom: 8px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    .package-card .price {
        font-size: .78rem;
        white-space: nowrap;
    }
    .package-card .price-old {
        font-size: .62rem;
    }
    .package-card .delivery {
        font-size: .62rem;
        white-space: nowrap;
    }
    .package-card .delivery svg {
        width: 10px;
        height: 10px;
    }
    .package-card .btn-detail {
        padding: 6px 10px;
        font-size: .72rem;
        border-radius: 8px;
    }

    /* ---------- Why Cards ---------- */
    .why-card {
        padding: 18px 12px;
    }
    .why-card .why-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    .why-card .why-icon svg {
        width: 20px;
        height: 20px;
    }
    .why-card h5 {
        font-size: .82rem;
        margin-bottom: 6px;
    }
    .why-card p {
        font-size: .68rem;
        line-height: 1.6;
    }

    /* ---------- Portfolio Cards ---------- */
    .portfolio-card .portfolio-thumb {
        height: 140px;
    }
    .portfolio-card .portfolio-info {
        padding: 12px 14px;
    }
    .portfolio-card h6 {
        font-size: .8rem;
        line-height: 1.5;
    }

    /* ---------- Blog Cards — HORIZONTAL ---------- */
    .blog-card {
        display: flex;
        flex-direction: row;
        overflow: hidden;
    }
    .blog-card .blog-thumb {
        width: 100px;
        min-width: 100px;
        height: auto;
        min-height: 120px;
        flex-shrink: 0;
    }
    .blog-card .blog-placeholder svg {
        width: 30px;
        height: 30px;
    }
    .blog-card .blog-body {
        padding: 12px 14px;
        flex: 1;
        min-width: 0;
        justify-content: space-between;
    }
    .blog-card .blog-meta {
        font-size: .65rem;
        gap: 8px;
        margin-bottom: 6px;
    }
    .blog-card h5 {
        font-size: .82rem;
        margin-bottom: 5px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .blog-card p {
        font-size: .7rem;
        line-height: 1.6;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .blog-card .blog-more {
        font-size: .72rem;
    }

    /* ---------- Value Cards ---------- */
    .value-card {
        padding: 18px 12px;
    }
    .value-card .value-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    .value-card .value-icon svg {
        width: 20px;
        height: 20px;
    }
    .value-card h5 {
        font-size: .82rem;
        margin-bottom: 5px;
    }
    .value-card p {
        font-size: .68rem;
        line-height: 1.6;
    }

    /* ---------- About Stat Cards ---------- */
    .about-stat-card {
        padding: 16px 10px;
    }
    .about-stat-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }
    .about-stat-icon svg {
        width: 18px;
        height: 18px;
    }
    .about-stat-value { font-size: 1.05rem; }
    .about-stat-label { font-size: .7rem; }

    /* ---------- CTA Box ---------- */
    .cta-box {
        padding: 28px 18px;
        text-align: center;
        border-radius: 18px;
    }
    .cta-box h2 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .cta-box p {
        font-size: .82rem;
        line-height: 1.8;
    }

    /* ---------- Buy Box ---------- */
    .buy-box {
        padding: 18px;
        border-radius: 16px;
    }
    .buy-price .amount { font-size: 1.35rem; }
    .buy-btn {
        padding: 10px 14px;
        font-size: .85rem;
    }

    /* ---------- Breadcrumb ---------- */
    .breadcrumb-nav {
        font-size: .72rem;
        gap: 6px;
    }

    /* ---------- Post Article ---------- */
    .post-article {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .post-hero-image {
        margin: -20px -18px 18px;
        max-height: 240px;
    }
    .post-hero-image img { max-height: 240px; }
    .post-title { font-size: 1.2rem; }
    .post-excerpt {
        font-size: .88rem;
        padding-right: 12px;
    }
    .post-content {
        font-size: .92rem;
        line-height: 2;
    }
    .post-content h2 { font-size: 1.1rem; }
    .post-content h3 { font-size: 1rem; }
    .post-meta { gap: 12px; font-size: .75rem; }
    .post-share { gap: 8px; }
    .share-label {
        width: 100%;
        margin-bottom: 6px;
    }

    /* ---------- About Hero ---------- */
    .about-hero { padding: 35px 0 30px; }
    .about-title { font-size: 1.4rem; }
    .about-desc { font-size: .85rem; line-height: 1.9; }

    /* ---------- Story Visual ---------- */
    .story-visual {
        height: 280px;
        padding: 16px;
    }
    .story-card {
        padding: 12px;
    }
    .story-card-icon {
        width: 34px;
        height: 34px;
    }
    .story-card strong { font-size: .78rem; }
    .story-card small { font-size: .68rem; }
    .story-card-1 { top: 15px; right: 12px; width: 125px; }
    .story-card-2 { top: 100px; left: 12px; width: 135px; }
    .story-card-3 { bottom: 15px; right: 12px; width: 145px; }

    /* ---------- Sidebar ---------- */
    .sidebar { position: static; }

    /* ---------- Search Page ---------- */
    .search-hero-input {
        flex-wrap: wrap;
        padding: 8px;
        border-radius: 16px;
    }
    .search-hero-input > svg {
        margin-right: 8px;
        margin-left: 8px;
    }
    .search-hero-input input {
        width: 100%;
        order: 1;
        padding: 8px;
    }
    .search-hero-input button {
        width: 100%;
        order: 2;
        margin-top: 6px;
    }

    /* ---------- 404 Page ---------- */
    .error-404-hero { padding: 50px 0 30px; }
    .error-code { font-size: 4.5rem; }
    .error-actions {
        flex-direction: column;
    }
    .error-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ---------- Project (Portfolio Single) ---------- */
    .project-article {
        padding: 22px 20px;
    }
    .project-hero-image {
        max-height: 280px;
    }
    .project-hero-image img {
        max-height: 280px;
    }
    .project-title {
        font-size: 1.2rem;
    }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (زیر 400px)
   ============================================================ */
@media (max-width: 400px) {
    .package-card {
        min-height: 115px;
    }
    .package-card .card-thumb {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
        min-height: 115px;
    }
    .package-card h5 {
        font-size: .75rem;
    }
    .package-card .price {
        font-size: .72rem;
    }
    .blog-card .blog-thumb {
        width: 85px;
        min-width: 85px;
    }
    .blog-card h5 {
        font-size: .78rem;
    }
    .section-head h2 {
        font-size: 1.1rem;
    }
    .category-card h5 {
        font-size: .75rem;
    }
    .whatsapp-float {
        width: 46px;
        height: 46px;
        bottom: 14px;
        left: 14px;
    }
    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}


/* ============================================================
   FINAL FIX — جلوگیری از اسکرول افقی
   ============================================================ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
*, *::before, *::after {
    max-width: 100%;
}

/* ============================================================
   HORIZONTAL SCROLL — کارت‌های پکیج در صفحه اصلی
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- گرید افقی اسکرول ---------- */
    .packages-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;
        padding: 6px 14px 20px 14px !important;
        margin: 0 -14px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /*  اسکرول بار نامرئی ولی با fade */
    .packages-scroll::-webkit-scrollbar {
        height: 4px;
    }
    .packages-scroll::-webkit-scrollbar-track {
        background: transparent;
    }
    .packages-scroll::-webkit-scrollbar-thumb {
        background: var(--ice-300);
        border-radius: 100px;
    }

    /*  هر کارت: عرض ثابت */
    .packages-scroll > [class*="col-"] {
        flex: 0 0 78% !important;
        max-width: 78% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    /*  کارت‌های کوچیک‌تر برای اسکرول */
    .packages-scroll .package-card {
        min-height: 200px !important;
        max-height: 240px !important;
        height: 100% !important;
        flex-direction: column !important;
    }

    .packages-scroll .package-card .card-thumb {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 110px !important;
        min-height: 110px !important;
    }

    .packages-scroll .package-card .card-thumb svg {
        width: 44px !important;
        height: 44px !important;
    }

    .packages-scroll .package-card .card-body {
        padding: 14px 16px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .packages-scroll .package-card h5 {
        font-size: .88rem !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
    }

    .packages-scroll .package-card .card-desc {
        font-size: .72rem !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
        -webkit-line-clamp: 2 !important;
        flex: 1 !important;
    }

    .packages-scroll .package-card .card-price-row {
        padding-top: 10px !important;
        margin-bottom: 10px !important;
        flex-wrap: wrap !important;
    }

    .packages-scroll .package-card .price {
        font-size: .88rem !important;
    }

    .packages-scroll .package-card .btn-detail {
        padding: 8px !important;
        font-size: .78rem !important;
    }

    /* ---------- نقطه‌های راهنما (dots) ---------- */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 14px;
    }
    .scroll-indicator-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ice-200);
        transition: all .3s ease;
    }
    .scroll-indicator-dot.active {
        background: var(--ice-600);
        width: 22px;
        border-radius: 100px;
    }
}

/*  تو دسکتاپ: اسکرول غیرفعال، گرید عادی */
@media (min-width: 768px) {
    .packages-scroll {
        display: flex;
        flex-wrap: wrap;
    }
    .scroll-indicator {
        display: none;
    }
}

/* ============================================================
   FIX: تنظیم دقیق Container در موبایل
   ============================================================ */

@media (max-width: 767px) {

    /*  کانتینر اصلی: padding کم‌تر */
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /*  Row: حذف margin منفی */
    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
        --bs-gutter-x: 12px !important;
    }

    /*  Col ها: padding نیم */
    .row > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /*  کارت‌های پکیج: تمام عرض */
    .package-card {
        width: 100% !important;
    }

    /*  اسکرول افقی: بدون margin منفی */
    .packages-scroll {
        margin-left: -12px !important;
        margin-right: -12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/*  موبایل کوچیک */
@media (max-width: 400px) {
    .container,
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .packages-scroll {
        margin-left: -10px !important;
        margin-right: -10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 767px) {

    /*  کارت‌های پکیج: padding بهتر */
    .package-card {
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .package-card .card-body {
        padding: 12px 14px !important;
    }

    /*  کارت‌های دسته‌بندی: تمام عرض */
    .category-card {
        width: 100% !important;
        height: 100% !important;
    }

    /*  کارت‌های چرا ما */
    .why-card {
        width: 100% !important;
        height: 100% !important;
    }

    /*  کارت‌های وبلاگ */
    .blog-card {
        width: 100% !important;
    }

    /*  کارت‌های نمونه‌کار */
    .portfolio-card {
        width: 100% !important;
    }
}

/* ============================================================
   FIX FINAL: اسکرول افقی - کارت اول از سمت راست
   ============================================================ */

@media (max-width: 767px) {

    /*  اسکرول افقی: padding دقیق */
    .packages-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;

        /*  کلید کار: padding از سمت راست و چپ */
        padding-left: 16px !important;
        padding-right: 16px !important;

        /*  حذف margin منفی */
        margin-left: -16px !important;
        margin-right: -16px !important;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        box-sizing: content-box !important;
    }

    /*  هر کارت: عرض دقیق ۸۰٪ */
    .packages-scroll > [class*="col-"] {
        flex: 0 0 78% !important;
        max-width: 78% !important;
        min-width: 78% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    /*  کارت‌ها یکسان */
    .packages-scroll .package-card {
        width: 100% !important;
        height: 100% !important;
    }

    /*  نقطه‌های راهنما */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
        padding: 0 16px;
    }

    .scroll-indicator-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ice-200);
        transition: all .3s ease;
        cursor: pointer;
    }

    .scroll-indicator-dot.active {
        background: var(--ice-600);
        width: 24px;
        border-radius: 100px;
    }
}

/*  روی دسکتاپ: نمایش عادی */
@media (min-width: 768px) {
    .packages-scroll {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        gap: 0;
    }
    .scroll-indicator {
        display: none !important;
    }
}

/* ============================================================
   FINAL — Mobile Fix
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- Container ---------- */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* ---------- Row & Col عادی ---------- */
    .row {
        margin-left: -8px !important;
        margin-right: -8px !important;
        --bs-gutter-x: 16px !important;
    }

    .row > [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* ---------- کارت‌های اسکرول افقی ---------- */
    .packages-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;

        /*  کلید کار: کشیدن به بیرون + padding */
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: -16px !important;
        margin-right: -16px !important;

        /*  برای اینکه padding کار کنه */
        box-sizing: content-box !important;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /*  هر کارت داخل اسکرول */
    .packages-scroll > [class*="col-"] {
        flex: 0 0 78% !important;
        max-width: 78% !important;
        min-width: 78% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    /* ---------- نقاط راهنما ---------- */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
        padding: 0 16px;
    }

    .scroll-indicator-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ice-200);
        transition: all .3s ease;
        cursor: pointer;
    }

    .scroll-indicator-dot.active {
        background: var(--ice-600);
        width: 24px;
        border-radius: 100px;
    }
}

/*  دسکتاپ */
@media (min-width: 768px) {
    .packages-scroll {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .scroll-indicator {
        display: none !important;
    }
}
/* ============================================================
   FINAL — Mobile Full Width Fix
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- Container اصلی: بازتر ---------- */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* ---------- Row عادی: بازتر ---------- */
    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
        --bs-gutter-x: 12px !important;
        --bs-gutter-y: 12px !important;
    }

    .row > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* ============================================================
       HERO Section
       ============================================================ */
    .hero {
        padding: 35px 0 45px;
    }

    .hero-badge {
        font-size: .72rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 1.35rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: .85rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px !important;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: .9rem;
    }

    .hero-stats {
        gap: 10px;
        margin-top: 22px;
    }

    .hero-stats .stat-item strong {
        font-size: 1rem;
    }

    .hero-stats .stat-item span {
        font-size: .68rem;
    }

    /* ============================================================
       Section Head (تیتر بخش‌ها)
       ============================================================ */
    .section {
        padding: 45px 0;
    }

    .section-head {
        margin-bottom: 26px;
        padding: 0 4px;
    }

    .section-head .subtitle {
        font-size: .7rem;
        padding: 4px 12px;
        margin-bottom: 8px;
    }

    .section-head h2 {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .section-head p {
        font-size: .8rem;
        line-height: 1.7;
    }

    /* ============================================================
       Category Cards (دسته‌بندی)
       ============================================================ */
    .category-card {
        padding: 16px 10px;
    }

    .category-card .cat-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
        border-radius: 12px;
    }

    .category-card .cat-icon-svg {
        width: 22px;
        height: 22px;
    }

    .category-card h5 {
        font-size: .78rem;
        margin-bottom: 4px;
    }

    .category-card p {
        font-size: .65rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .category-card .cat-count {
        font-size: .62rem;
        padding: 3px 8px;
    }

    /* ============================================================
       Package Cards — Horizontal in Scroll
       ============================================================ */
    .packages-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        box-sizing: content-box !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .packages-scroll > [class*="col-"] {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        min-width: 80% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    .packages-scroll .package-card {
        width: 100% !important;
        height: 100% !important;
    }

    /* ============================================================
       Why Cards (چرا ما)
       ============================================================ */
    .why-card {
        padding: 16px 10px;
    }

    .why-card .why-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
        border-radius: 12px;
    }

    .why-card .why-icon svg {
        width: 20px;
        height: 20px;
    }

    .why-card h5 {
        font-size: .78rem;
        margin-bottom: 4px;
    }

    .why-card p {
        font-size: .65rem;
        line-height: 1.5;
    }

    /* ============================================================
       Portfolio Cards
       ============================================================ */
    .portfolio-card .portfolio-thumb {
        height: 130px;
    }

    .portfolio-card .portfolio-info {
        padding: 10px 12px;
    }

    .portfolio-card .portfolio-cat {
        font-size: .65rem;
        padding: 2px 8px;
        margin-bottom: 5px;
    }

    .portfolio-card h6 {
        font-size: .78rem;
        line-height: 1.4;
    }

    /* ============================================================
       Blog Cards
       ============================================================ */
    .blog-card .blog-thumb {
        height: 150px;
    }

    .blog-card .blog-body {
        padding: 14px 16px 16px;
    }

    .blog-card .blog-meta {
        font-size: .68rem;
        gap: 10px;
        margin-bottom: 8px;
    }

    .blog-card h5 {
        font-size: .85rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .blog-card p {
        font-size: .72rem;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .blog-card .blog-more {
        font-size: .75rem;
    }

    /* ============================================================
       CTA Box (پایان صفحه)
       ============================================================ */
    .cta-section {
        padding: 40px 0 60px;
    }

    .cta-box {
        padding: 28px 18px;
        text-align: center;
        border-radius: 18px;
    }

    .cta-box h2 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .cta-box p {
        font-size: .82rem;
        line-height: 1.7;
    }

    /*  دکمه‌های CTA */
    .cta-box .btn {
        width: 100%;
        justify-content: center;
        margin: 4px 0 !important;
        font-size: .85rem;
        padding: 10px 16px;
    }

    /* ============================================================
       Page Header (صفحات داخلی)
       ============================================================ */
    .page-header {
        padding: 35px 0 28px;
    }

    .breadcrumb-nav {
        font-size: .72rem;
        gap: 6px;
        margin-bottom: 14px;
    }

    .page-title {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .page-desc {
        font-size: .82rem;
        line-height: 1.8;
    }

    /* ============================================================
       Sidebar
       ============================================================ */
    .side-box {
        padding: 18px;
        margin-bottom: 16px;
    }

    .side-title {
        font-size: .88rem;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .side-list a {
        padding: 9px 12px;
        font-size: .82rem;
    }

    /* ============================================================
       Side CTA
       ============================================================ */
    .side-cta {
        padding: 22px 18px;
    }

    .side-cta .cta-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .side-cta h6 {
        font-size: .95rem;
    }

    /* ============================================================
       Filter Bar
       ============================================================ */
    .filter-bar {
        padding: 14px;
        margin-bottom: 16px;
    }

    .filter-input,
    .filter-select {
        font-size: .82rem;
        height: 40px;
    }

    .btn-filter,
    .btn-filter-reset {
        height: 40px;
        font-size: .82rem;
    }

    /* ============================================================
       Buttons
       ============================================================ */
    .btn-primary-ice,
    .btn-outline-ice {
        padding: 10px 22px;
        font-size: .88rem;
    }

    /* ============================================================
       Footer
       ============================================================ */
    .main-footer {
        padding: 50px 0 0;
        margin-top: 60px;
    }

    .footer-title {
        font-size: .92rem;
        margin-bottom: 14px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: .82rem;
    }

    .footer-bottom {
        padding: 18px 0;
        font-size: .75rem;
        margin-top: 35px;
    }
}

/* ---------- موبایل کوچیک ---------- */
@media (max-width: 400px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .packages-scroll {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .packages-scroll > [class*="col-"] {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        min-width: 85% !important;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .section-head h2 {
        font-size: 1.05rem;
    }

    .package-card .card-thumb,
    .blog-card .blog-thumb {
        width: 80px;
        min-width: 80px;
    }
}

/* ============================================================
   FIX: RTL Alignment در موبایل
   ============================================================ */
@media (max-width: 767px) {

    /* ---------- Container: padding برابر در دو طرف ---------- */
    .container,
    .container-fluid {
        padding-right: 16px !important;
        padding-left: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ---------- Row: حذف کامل margin ---------- */
    .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
        --bs-gutter-x: 12px !important;
        --bs-gutter-y: 12px !important;
        width: 100% !important;
    }

    /* ---------- Col: padding برابر ---------- */
    .row > [class*="col-"] {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    /* ---------- کارت‌ها و دکمه‌ها: تمام عرض ---------- */
    .btn,
    .btn-primary-ice,
    .btn-outline-ice,
    .btn-cta {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /*  hero actions */
    .hero-actions {
        width: 100% !important;
        margin: 0 !important;
    }

    .hero-actions .btn {
        width: 100% !important;
    }

    /* ---------- کارت‌ها: تمام عرض ---------- */
    .category-card,
    .package-card,
    .blog-card,
    .portfolio-card,
    .why-card,
    .value-card,
    .about-stat-card {
        width: 100% !important;
        margin: 0 !important;
    }

    /* ---------- Section و Head ---------- */
    .section .container {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .section-head {
        padding: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* ---------- hero-stats ---------- */
    .hero-stats {
        width: 100% !important;
        justify-content: space-between !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ---------- CTA ---------- */
    .cta-box {
        margin: 0 !important;
    }

    .cta-box .btn {
        margin: 4px 0 !important;
    }

    /* ---------- Sidebar ---------- */
    .sidebar,
    .side-box,
    .side-cta {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    /*  اسکرول افقی */
    .packages-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;

        /*  padding متقارن */
        padding-right: 16px !important;
        padding-left: 16px !important;
        margin-right: -16px !important;
        margin-left: -16px !important;

        box-sizing: content-box !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .packages-scroll > [class*="col-"] {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        min-width: 80% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    .packages-scroll .package-card {
        width: 100% !important;
        height: 100% !important;
    }

    /*  نقاط راهنما */
    .scroll-indicator {
        display: flex !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-top: 16px !important;
        padding: 0 !important;
    }

    .scroll-indicator-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: var(--ice-200) !important;
        transition: all .3s ease !important;
        cursor: pointer !important;
    }

    .scroll-indicator-dot.active {
        background: var(--ice-600) !important;
        width: 24px !important;
        border-radius: 100px !important;
    }
}

@media (min-width: 768px) {
    .packages-scroll {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .scroll-indicator {
        display: none !important;
    }
}
/* ============================================================
   FIX: تصاویر پکیج در موبایل
   ============================================================ */
@media (max-width: 767px) {

    /*  تصویر کارت پکیج */
    .package-card .card-thumb {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: 100% !important;
        min-height: 100% !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
    }

    .package-card .card-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    /*  کارت پکیج: ارتفاع ثابت */
    .package-card {
        min-height: 140px !important;
        max-height: 150px !important;
    }

    /* ---------- کارت وبلاگ ---------- */
    .blog-card .blog-thumb {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden !important;
    }

    .blog-card .blog-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .blog-card {
        min-height: 120px !important;
        max-height: 135px !important;
    }
}