/*
Theme Name: Pipement Modern
Theme URI: https://pipement.com
Description: قالب مدرن، راست‌چین و حرفه‌ای پیپمنت برای خدمات تاسیسات مهندسی.
Version: 3.0.0
Author: Citral Web
Text Domain: pipement-modern
License: GPL-2.0-or-later
*/
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

        #wpadminbar,
        #wpadminbar *,
        .admin-bar #wpadminbar,
        #wp-toolbar,
        #wp-toolbar * {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            height: 0 !important;
            min-height: 0 !important;
            max-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
            overflow: hidden !important;
            position: absolute !important;
            clip: rect(0, 0, 0, 0) !important;
        }
        
        html,
        html.admin-bar,
        body,
        body.admin-bar {
            margin-top: 0 !important;
            padding-top: 0 !important;
            margin-bottom: 0 !important;
            padding-bottom: 0 !important;
        }
        
        #wpfooter,
        #wpfooter *,
        .footer-upgrade,
        #footer-upgrade,
        #footer-left,
        #footer-right {
            display: none !important;
            height: 0 !important;
            min-height: 0 !important;
            max-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
            overflow: hidden !important;
        }
        
        .site-footer {
            margin-bottom: 0 !important;
            padding-bottom: 20px !important;
        }
        
        html,
        body {
            height: auto !important;
            min-height: 100vh !important;
        }
        
        .login h1 a {
            background-size: 0 0 !important;
            background-image: none !important;
            width: 0 !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            opacity: 0 !important;
            visibility: hidden !important;
            overflow: hidden !important;
        }
        
        .login #backtoblog a,
        .login #nav a {
            display: none !important;
        }
        
        .site-footer {
            margin-bottom: 0 !important;
        }
        
        #page,
        .site,
        .wrapper {
            margin: 0 !important;
            padding: 0 !important;
            min-height: 100vh !important;
        }
        
        .screen-reader-text,
        .skip-link,
        .skip-link.screen-reader-text {
            display: none !important;
            height: 0 !important;
            width: 0 !important;
            overflow: hidden !important;
            position: absolute !important;
            clip: rect(0, 0, 0, 0) !important;
        }
/* ============================================
   0. متغیرها و ریست
   ============================================ */

:root {
    --navy: #071b3a;
    --blue: #1167d8;
    --sky: #eaf3ff;
    --ink: #10213d;
    --muted: #66758d;
    --white: #fff;
    --line: #d9e5f2;
    --radius: 22px;
    --shadow: 0 18px 48px rgba(7, 27, 58, .12);
    --shadow-lg: 0 30px 80px rgba(7, 27, 58, .18);
    --transition: all .6s cubic-bezier(.23, 1, .32, 1);
    --transition-fast: all .3s cubic-bezier(.23, 1, .32, 1);
    --font: 'Vazir', Tahoma, sans-serif;
    --hero-bg: linear-gradient(135deg, #f8fbff 0%, #e8f2ff 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #f8fbff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute!important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed!important;
    z-index: 999;
    padding: 12px 18px;
    width: auto;
    height: auto;
    margin: 12px;
    background: var(--blue);
    color: #fff;
    clip: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   1. HEADER + رسپانسیو
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 251, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition-fast);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(7, 27, 58, .1);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

/* ============================================
   استایل لوگوی تصویری در هدر
   ============================================ */

/* استایل برای لوگوی وردپرس (custom logo) */
.site-header .custom-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 13px;
    transition: var(--transition-fast);
    display: block;
}

.site-header .brand:hover .custom-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(17, 103, 216, 0.3);
}

/* اگر لوگو تنظیم نشده باشد، brand-mark نمایش داده می‌شود */
.site-header .brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--blue);
    color: #fff;
    border-radius: 13px 13px 13px 4px;
    font-size: 23px;
    transform: rotate(-8deg);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(17, 103, 216, .3);
    flex-shrink: 0;
}

.site-header .brand:hover .brand-mark {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 6px 25px rgba(17, 103, 216, .4);
}

/* تنظیم فاصله لوگو با نام برند */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 900;
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

/* ریسپانسیو لوگو */
@media (max-width: 768px) {
    .site-header .custom-logo {
        width: 36px;
        height: 36px;
    }
    
    .site-header .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .site-header .custom-logo {
        width: 32px;
        height: 32px;
    }
    
    .site-header .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.brand-name {
    font-size: 22px;
    line-height: 1;
    color: var(--navy);
}

.brand-name span {
    color: var(--blue);
}

.brand-name small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    direction: ltr;
    transition: var(--transition-fast);
}

.brand:hover .brand-name small {
    color: var(--blue);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
}

.main-nav ul.menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    list-style: none;
}

.main-nav a {
    position: relative;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    width: 0;
    height: 2.5px;
    background: var(--blue);
    border-radius: 10px;
    transition: var(--transition-fast);
    transform: translateX(50%);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav .current-menu-item a::after {
    width: 60%;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--blue);
    background: rgba(17, 103, 216, .08);
    transform: translateY(-2px);
}

.main-nav .current-menu-item a {
    color: var(--blue);
    background: rgba(17, 103, 216, .1);
}

.main-nav .current-menu-item a::after {
    width: 60%;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-tel {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    padding: 8px 14px;
    border-radius: 12px;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    text-align: left;
}

.header-tel .phone-number {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
    display: inline-block;
    font-feature-settings: "ss01" on, "ss02" on;
}

.header-tel:hover {
    background: rgba(17, 103, 216, .06);
    border-color: var(--line);
    transform: translateY(-2px);
}

.header-tel span {
    color: var(--muted);
    font-size: 11px;
    transition: var(--transition-fast);
    text-align: left;
}

.header-tel:hover span {
    color: var(--blue);
}

.header-tel strong {
    font-size: 14px;
    color: var(--navy);
    transition: var(--transition-fast);
    text-align: left;
    direction: ltr !important;
    unicode-bidi: embed;
}

.header-tel:hover strong {
    color: var(--blue);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 12px;
}

.mobile-toggle .hamburger-line {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #071b3a;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-line.top {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line.middle {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line.bottom {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   1-1. HEADER رسپانسیو
   ============================================ */

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex !important;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 60px rgba(7, 27, 58, .15);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all .4s cubic-bezier(.23, 1, .32, 1);
        border-radius: 0 0 20px 20px;
        gap: 0;
    }

    .main-nav.is-open {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 20px;
        overflow-y: auto;
    }

    .main-nav a {
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
        border: 1px solid transparent;
        transition: var(--transition-fast);
        animation: fadeSlideIn .4s ease forwards;
        opacity: 0;
        transform: translateY(10px);
    }

    .main-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
    .main-nav.is-open a:nth-child(2) { transition-delay: 0.1s; }
    .main-nav.is-open a:nth-child(3) { transition-delay: 0.15s; }
    .main-nav.is-open a:nth-child(4) { transition-delay: 0.2s; }
    .main-nav.is-open a:nth-child(5) { transition-delay: 0.25s; }
    .main-nav.is-open a:nth-child(6) { transition-delay: 0.3s; }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a:focus {
        background: rgba(17, 103, 216, .1);
        transform: translateY(-2px);
        border-color: var(--blue);
    }

    .main-nav .current-menu-item a {
        background: rgba(17, 103, 216, .12);
        border-color: var(--blue);
    }

    .header-tel {
        display: none !important;
    }

    .site-header {
        z-index: 99999;
    }

    .header-inner {
        min-height: 82px;
        position: relative;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }

    .header-tools,
    .mobile-toggle {
        position: relative;
        z-index: 100001;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .main-nav {
        z-index: 100000;
        width: 100%;
        pointer-events: none;
    }

    .main-nav.is-open {
        pointer-events: auto;
    }

    .main-nav:not(.is-open) a {
        pointer-events: none;
    }

    .main-nav.is-open a {
        pointer-events: auto;
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* ============================================
   2. HERO
   ============================================ */

.hero {
    padding: 86px 0 100px;
    background: linear-gradient(0deg, #f8fbff 0%, #e8f2ff 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ===== اشکال پس‌زمینه هیرو ===== */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: linear-gradient(135deg, var(--blue), #73b0ff);
    animation: heroShapeFloat 25s ease-in-out infinite;
}

/* شکل 1 - بزرگ (لوله/دایره) */
.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation-delay: 0s;
    border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%;
    background: radial-gradient(circle at 30% 40%, #1167d8, #071b3a);
    opacity: 0.06;
}

/* شکل 2 - دایره متوسط */
.shape-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -80px;
    animation-delay: -5s;
    border-radius: 60% 40% 30% 70% / 40% 60% 50% 40%;
    background: radial-gradient(circle at 70% 60%, #73b0ff, #1167d8);
    opacity: 0.05;
}

/* شکل 3 - بیضی کوچک */
.shape-3 {
    width: 200px;
    height: 150px;
    top: 30%;
    left: 30%;
    animation-delay: -10s;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #1167d8, transparent);
    opacity: 0.04;
    filter: blur(30px);
}

/* شکل 4 - لوله‌ای (مورب) */
.shape-4 {
    width: 400px;
    height: 40px;
    top: 50%;
    right: 10%;
    animation-delay: -15s;
    border-radius: 50px;
    background: linear-gradient(90deg, transparent, #1167d8, transparent);
    opacity: 0.04;
    transform: rotate(-15deg);
}

/* شکل 5 - دایره کوچک */
.shape-5 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 25%;
    animation-delay: -20s;
    border-radius: 50%;
    background: radial-gradient(circle, #73b0ff, transparent);
    opacity: 0.05;
    filter: blur(20px);
}

/* انیمیشن اشکال */
@keyframes heroShapeFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95) rotate(-3deg);
    }
    75% {
        transform: translate(20px, 15px) scale(1.02) rotate(4deg);
    }
}

/* شکل 4 انیمیشن جداگانه (لوله‌ای) */
.shape-4 {
    animation: heroShapeFloat4 20s ease-in-out infinite;
}

@keyframes heroShapeFloat4 {
    0%, 100% {
        transform: translateX(0) rotate(-15deg);
    }
    50% {
        transform: translateX(60px) rotate(-10deg);
    }
}

/* محتوای هیرو روی اشکال */
.hero-grid {
    position: relative;
    z-index: 1;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -80px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
        bottom: -60px;
        left: -50px;
    }
    
    .shape-3 {
        width: 150px;
        height: 120px;
        top: 20%;
        left: 20%;
    }
    
    .shape-4 {
        width: 250px;
        height: 25px;
        top: 40%;
        right: 5%;
    }
    
    .shape-5 {
        width: 80px;
        height: 80px;
        bottom: 15%;
        right: 20%;
    }
}

@media (max-width: 480px) {
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        display: none;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

h1,
h2,
h3 {
    line-height: 1.25;
    color: var(--navy);
    margin-top: 0;
}

h1 {
    font-size: clamp(30px, 4vw, 50px);
    margin-bottom: 22px;
}

h1 em,
h2 em {
    font-style: normal;
    color: var(--blue);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 18px;
}

.hero-lead,
.section-intro {
    color: var(--muted);
    max-width: 590px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 800;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 26px rgba(17, 103, 216, .25);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}

.btn-quiet {
    border: 1px solid var(--line);
    background: #fff;
}

.hero-proof {
    display: flex;
    gap: 34px;
    margin-top: 38px;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    font-size: 24px;
    color: var(--navy);
}

.hero-proof span {
    font-size: 12px;
    color: var(--muted);
}

.hero-visual {
    position: relative;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.visual-note {
    position: absolute;
    bottom: 24px;
    right: -20px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.note-mark {
    color: var(--blue);
    font-size: 22px;
}

.visual-note strong,
.visual-note small {
    display: block;
}

.visual-note small {
    font-size: 11px;
    color: var(--muted);
}

/* ============================================
   3. بخش‌های عمومی
   ============================================ */

.section {
    padding: 100px 0;
    position: relative;
}

.section:not(.hero):not(.cta)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    background: var(--line);
    transform: translateX(-50%);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px;
}

.section-head.compact {
    align-items: center;
}

.theme-separator {
    height: 70px;
    background: linear-gradient(180deg, #f8fbff 0%, #e8f2ff 100%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    background: var(--line);
}

/* ============================================
   4. SERVICES
   ============================================ */

.services {
    background: linear-gradient(0deg, #f8fbff 0%, #e8f2ff 100%);
    overflow: visible;
    padding: 100px 0 80px;
    padding-left: 0;
    padding-right: 0;
}

.services .section-head {
    max-width: 1180px;
    margin: 0 auto 102px;
    padding: 0 20px;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border-radius: 28px;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    padding: 0;
    width: 100%;
    min-height: 320px;
}

.service-card .service-content {
    flex: 1;
    background: #fff;
    border: 2px solid var(--line);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 50px rgba(7, 27, 58, .08);
    transition: var(--transition);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.service-card .service-image-wrap {
    width: 460px;
    height: 460px;
    flex: 0 0 auto;
    border-radius: 0;
    overflow: visible;
    position: absolute;
    z-index: 2;
    transition: var(--transition);
    display: block;
}

.service-card .service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(7, 27, 58, .25);
    transition: var(--transition);
}

.service-card.service-left {
    flex-direction: row;
    padding-right: 30%;
    padding-left: 0;
}

.service-card.service-left .service-content {
    border-radius: 0 28px 28px 0;
    border-left: none;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 40px;
    padding-left: 550px;
}

.service-card.service-left .service-image-wrap {
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
}

.service-card.service-right {
    flex-direction: row-reverse;
    padding-left: 30%;
    padding-right: 0;
    margin-bottom:50px;
}
.service-card.service-left {
    margin-bottom:50px;
}

.service-card.service-right .service-content {
    border-radius: 28px 0 0 28px;
    border-right: none;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 550px;
}

.service-card.service-right .service-image-wrap {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.service-card.service-left .service-content::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 15%;
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--blue), #73b0ff);
    border-radius: 10px;
    opacity: 0;
    transition: var(--transition);
}

.service-card.service-left:hover .service-content::before {
    opacity: 1;
}

.service-card.service-right .service-content::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 15%;
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--blue), #73b0ff);
    border-radius: 10px;
    opacity: 0;
    transition: var(--transition);
}

.service-card.service-right:hover .service-content::before {
    opacity: 1;
}

.service-card:hover .service-image-wrap img {
    transform: scale(1.05);
    box-shadow: 0 40px 100px rgba(7, 27, 58, .35);
}

.service-card:hover .service-content {
    border-color: var(--blue);
    box-shadow: 0 25px 70px rgba(7, 27, 58, .15);
}

.service-card .service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--blue);
    padding: 4px 18px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(17, 103, 216, .3);
}

.service-card h3 {
    font-size: 26px;
    margin: 6px 0 10px;
    color: var(--navy);
    line-height: 1.3;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #73b0ff);
    margin-top: 10px;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover h3::after {
    width: 90px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
    max-width: 95%;
}

.service-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 60px;
    background: var(--sky);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: fit-content;
    border: 2px solid transparent;
}

.service-card .text-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--blue), #0a4fa8);
    transition: var(--transition);
    z-index: 0;
    border-radius: 60px;
}

.service-card .text-link:hover::before {
    width: 100%;
    left: 0;
}

.service-card .text-link span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card .text-link span .arrow {
    display: inline-block;
    transition: var(--transition);
}

.service-card .text-link:hover span .arrow {
    transform: translateX(-6px);
}

.service-card .text-link:hover {
    color: #fff;
    border-color: var(--blue);
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(17, 103, 216, .3);
}

.service-card.service-right .text-link:hover {
    transform: translateX(5px);
}

.service-card.service-right .text-link:hover span .arrow {
    transform: translateX(6px);
}

/* ============================================
   5. STATEMENT
   ============================================ */

.statement {
    background: var(--navy);
    color: #fff;
}

.statement h2,
.statement .eyebrow {
    color: #fff;
}

.statement h2 em {
    color: #73b0ff;
    font-size:22px;
}

.statement-grid {
    position: relative;
}

.circle-link {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 25px;
    transition: .3s;
}

.circle-link:hover {
    background: #fff;
    color: var(--navy);
    transform: scale(1.05);
}

/* ============================================
   6. PROJECTS (صفحه اصلی)
   ============================================ */

.projects-section {
    padding: 80px 0;
    background: #f8fbff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
}

/* ستون چپ */
.projects-grid .project-pos-top.project-col-left {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 400px;
}

.projects-grid .project-pos-mid.project-col-left {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    min-height: 180px;
}

.projects-grid .project-pos-bottom.project-col-left {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    min-height: 180px;
}

/* ستون راست */
.projects-grid .project-pos-top.project-col-right {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    min-height: 180px;
}

.projects-grid .project-pos-mid.project-col-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    min-height: 180px;
}

.projects-grid .project-pos-bottom.project-col-right {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
    min-height: 400px;
}

/* آیتم پروژه */
.projects-grid .project-item {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #071b3a;
    transition: all 0.4s ease;
}

.projects-grid .project-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.projects-grid .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 27, 58, 0.85) 0%, rgba(7, 27, 58, 0.3) 60%, rgba(7, 27, 58, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px 28px;
    transition: all 0.5s ease;
    border-radius: 22px;
}

.projects-grid .project-info {
    width: 100%;
    color: #fff;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.projects-grid .project-date {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(17, 103, 216, 0.9);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.projects-grid .project-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.projects-grid .project-big .project-title {
    font-size: 26px;
}

.projects-grid .project-btn {
    display: inline-block;
    padding: 10px 24px;
    margin-top: 14px;
    background: #1167d8;
    color: #fff;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    box-shadow: 0 4px 20px rgba(17, 103, 216, 0.4);
}

/* هاور */
.projects-grid .project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(7, 27, 58, 0.2);
}

.projects-grid .project-item:hover .project-overlay {
    background: linear-gradient(to top, rgba(7, 27, 58, 0.95) 0%, rgba(7, 27, 58, 0.4) 60%, rgba(7, 27, 58, 0.1) 100%);
}

.projects-grid .project-item:hover .project-info {
    transform: translateY(-5px);
}

.projects-grid .project-item:hover .project-btn {
    opacity: 1;
    transform: translateY(0);
}

.projects-grid .project-item:hover .project-btn:hover {
    background: #fff;
    color: #071b3a;
    transform: translateY(-2px);
}

.projects-grid .project-item:hover .project-date {
    background: rgba(255, 255, 255, 0.95);
    color: #071b3a;
}

/* ============================================
   6-1. PROJECTS رسپانسیو
   ============================================ */

@media (max-width: 992px) {
    .projects-grid .project-big {
        min-height: 340px !important;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .projects-grid .project-pos-top.project-col-left {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        min-height: 260px !important;
    }
    
    .projects-grid .project-pos-top.project-col-right {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        min-height: 160px !important;
    }
    
    .projects-grid .project-pos-mid.project-col-right {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        min-height: 160px !important;
    }
    
    .projects-grid .project-pos-mid.project-col-left {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        min-height: 160px !important;
    }
    
    .projects-grid .project-pos-bottom.project-col-right {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        min-height: 160px !important;
    }
    
    .projects-grid .project-pos-bottom.project-col-left {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
        min-height: 260px !important;
    }
    
    .projects-grid .project-big .project-title {
        font-size: 22px;
    }
    
    .projects-grid .project-title {
        font-size: 16px;
    }
    
    .projects-grid .project-btn {
        opacity: 1;
        transform: none;
        padding: 8px 18px;
        font-size: 13px;
        background: rgba(17, 103, 216, 0.9);
    }
    
    .projects-grid .project-overlay {
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .projects-grid .project-pos-top.project-col-left,
    .projects-grid .project-pos-top.project-col-right,
    .projects-grid .project-pos-mid.project-col-left,
    .projects-grid .project-pos-mid.project-col-right,
    .projects-grid .project-pos-bottom.project-col-left,
    .projects-grid .project-pos-bottom.project-col-right {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px !important;
    }
    
    .projects-grid .project-big {
        min-height: 240px !important;
    }
}

/* ============================================
   7. دکمه مشاهده همه پروژه‌ها
   ============================================ */

.projects-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    position: relative;
}

.projects-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    border-radius: 10px;
}

.btn-projects-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px;
    background: var(--blue);
    color: #fff;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 30px rgba(17, 103, 216, 0.35);
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-projects-all .btn-shine {
    position: absolute;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
    z-index: 0;
}

.btn-projects-all:hover .btn-shine {
    right: 150%;
}

.btn-projects-all .btn-text {
    position: relative;
    z-index: 1;
}

.btn-projects-all .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.btn-projects-all:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(17, 103, 216, 0.45);
    background: #0a4fa8;
}

.btn-projects-all:hover .btn-icon {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(-10deg) scale(1.1);
}

.btn-projects-all:active {
    transform: scale(0.96);
}

.projects-count {
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.3px;
}

.projects-count strong {
    color: var(--blue);
    font-weight: 800;
    font-size: 18px;
}

/* حالت دوم - دکمه با حاشیه */
.btn-projects-all-outline {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px;
    background: transparent;
    color: var(--blue);
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid var(--blue);
    cursor: pointer;
    z-index: 1;
}

.btn-projects-all-outline .btn-shine {
    position: absolute;
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(17, 103, 216, 0.1), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
    z-index: 0;
}

.btn-projects-all-outline:hover .btn-shine {
    right: 150%;
}

.btn-projects-all-outline:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(17, 103, 216, 0.2);
    background: var(--blue);
    color: #fff;
}

.btn-projects-all-outline .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(17, 103, 216, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.btn-projects-all-outline:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(-10deg) scale(1.1);
}

/* ریسپانسیو دکمه */
@media (max-width: 768px) {
    .btn-projects-all,
    .btn-projects-all-outline {
        padding: 14px 28px;
        font-size: 14px;
        gap: 12px;
    }
    
    .btn-projects-all .btn-icon,
    .btn-projects-all-outline .btn-icon {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
    
    .projects-footer {
        margin-top: 35px;
    }
    
    .projects-count {
        font-size: 13px;
    }
    
    .projects-count strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn-projects-all,
    .btn-projects-all-outline {
        padding: 12px 22px;
        font-size: 13px;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-projects-all .btn-icon,
    .btn-projects-all-outline .btn-icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

/* ============================================
   8. WHY
   ============================================ */

.why {
    background: var(--sky);
}

.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}

.principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.principle {
    padding: 20px;
    border: 1px solid #cbdced;
    background: #fff;
    border-radius: 16px;
    transition: .3s;
}

.principle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.principle span {
    color: var(--blue);
    font-weight: 800;
}

.principle h3 {
    font-size: 18px;
    margin: 14px 0 5px;
}

.principle p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ============================================
   9. POSTS
   ============================================ */

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

.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.post-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.post-card-body {
    padding: 20px;
}

.post-card h3 {
    font-size: 20px;
    margin: 8px 0;
}

.post-card p {
    color: var(--muted);
    font-size: 14px;
}

/* ============================================
   10. CTA
   ============================================ */
/* ============================================
   CTA جدید
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    position: relative;
    overflow: hidden;
}

/* ===== اشکال پس‌زمینه بخش ===== */
.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.cta-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: ctaBgFloat 25s ease-in-out infinite;
}

.cta-bg-shape.s1 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background: radial-gradient(circle, #1167d8, #73b0ff);
    animation-delay: 0s;
}

.cta-bg-shape.s2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 5%;
    background: radial-gradient(circle, #73b0ff, #1167d8);
    animation-delay: -8s;
}

.cta-bg-shape.s3 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 30%;
    background: radial-gradient(circle, #1167d8, transparent);
    opacity: 0.05;
    animation-delay: -15s;
    filter: blur(20px);
}

@keyframes ctaBgFloat {
    0%, 100% {
        transform: translate(50%, -50%) scale(1);
    }
    25% {
        transform: translate(calc(50% + 20px), calc(-50% - 15px)) scale(1.05);
    }
    50% {
        transform: translate(calc(50% - 15px), calc(-50% + 20px)) scale(0.95);
    }
    75% {
        transform: translate(calc(50% + 15px), calc(-50% + 10px)) scale(1.02);
    }
}

/* انیمیشن جداگانه برای شکل 2 و 3 */
.cta-bg-shape.s2 {
    animation: ctaBgFloat2 20s ease-in-out infinite;
}

.cta-bg-shape.s3 {
    animation: ctaBgFloat3 18s ease-in-out infinite;
}

@keyframes ctaBgFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(25px, -20px) scale(1.08);
    }
}

@keyframes ctaBgFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-15px, 20px) scale(0.9);
    }
}

/* ===== باکس اصلی ===== */
.cta-wrapper {
    margin: 0 auto;
    text-align: center;
    padding: 55px 45px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 8px 50px rgba(7, 27, 58, 0.06);
    border: 1px solid rgba(217, 229, 242, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ===== اشکال داخل باکس ===== */
.cta-box-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-box-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.cta-box-shape.b1 {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, #1167d8, #73b0ff);
}

.cta-box-shape.b2 {
    width: 150px;
    height: 150px;
    bottom: -60px;
    left: -50px;
    background: radial-gradient(circle, #73b0ff, #1167d8);
}

/* ===== محتوای باکس ===== */
.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.3;
}

.cta-content h2 span {
    color: var(--blue);
    position: relative;
}

.cta-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
    border-radius: 10px;
    opacity: 0.15;
}

.cta-content p {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn svg {
    flex-shrink: 0;
    color: currentColor;
}

.cta-btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 24px rgba(17, 103, 216, 0.3);
}

.cta-btn-primary:hover {
    background: #0a4fa8;
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(17, 103, 216, 0.4);
}

.cta-btn-primary .phone-number {
    direction: ltr;
    display: inline-block;
}

.cta-btn-secondary {
    background: var(--sky);
    color: var(--blue);
    border: 1px solid var(--line);
}

.cta-btn-secondary:hover {
    background: #d6e8ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(17, 103, 216, 0.08);
}

.cta-note {
    font-size: 12px;
    color: var(--muted);
    opacity: 0.5;
    letter-spacing: 0.3px;
}

/* ===== افکت ورود باکس ===== */
.cta-wrapper.is-visible {
    animation: ctaReveal 0.8s ease forwards;
}

@keyframes ctaReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CTA ریسپانسیو
   ============================================ */

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

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

    .cta-bg-shape.s1 {
        width: 200px;
        height: 200px;
    }

    .cta-bg-shape.s2 {
        width: 150px;
        height: 150px;
        bottom: 5%;
        left: 3%;
    }

    .cta-bg-shape.s3 {
        display: none;
    }

    .cta-box-shape.b1 {
        width: 130px;
        height: 130px;
        top: -50px;
        right: -40px;
    }

    .cta-box-shape.b2 {
        width: 100px;
        height: 100px;
        bottom: -40px;
        left: -30px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 30px 0;
    }

    .cta-wrapper {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .cta-content h2 {
        font-size: 18px;
    }

    .cta-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .cta-btn {
        font-size: 13px;
        padding: 10px 16px;
        border-radius: 12px;
    }

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

    .cta-note {
        font-size: 11px;
    }
}

/* ============================================
   11. FOOTER جدید با اشکال لوله‌ای (3 ستونه)
   ============================================ */

.site-footer {
    background: var(--navy);
    color: #dbe8f8;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

/* اشکال متحرک پس‌زمینه (لوله‌ها) */
.footer-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.pipe-shape {
    position: absolute;
    border-radius: 50px;
    opacity: 0.06;
    background: linear-gradient(135deg, #73b0ff, #1167d8);
    animation: pipeFloat 20s ease-in-out infinite;
}

.pipe-1 {
    width: 500px;
    height: 18px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
    border-radius: 50px;
    transform: rotate(8deg);
}

.pipe-2 {
    width: 18px;
    height: 350px;
    right: 5%;
    top: -50px;
    animation-delay: -3s;
    border-radius: 50px;
    transform: rotate(-5deg);
}

.pipe-3 {
    width: 300px;
    height: 14px;
    bottom: 15%;
    right: -50px;
    animation-delay: -7s;
    border-radius: 50px;
    transform: rotate(-12deg);
}

.pipe-4 {
    width: 12px;
    height: 200px;
    left: 8%;
    bottom: 10%;
    animation-delay: -11s;
    border-radius: 50px;
    transform: rotate(3deg);
}

.pipe-5 {
    width: 200px;
    height: 12px;
    top: 40%;
    left: 20%;
    animation-delay: -15s;
    border-radius: 50px;
    transform: rotate(25deg);
}

.pipe-shape::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, #73b0ff, #1167d8);
    opacity: 0.5;
    top: 50%;
    transform: translateY(-50%);
}

.pipe-1::before {
    left: 20%;
    width: 25px;
    height: 25px;
}

.pipe-1::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #73b0ff, #1167d8);
    opacity: 0.4;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
}

.pipe-3::before {
    left: 15%;
    width: 22px;
    height: 22px;
}

.pipe-5::before {
    right: 20%;
    width: 18px;
    height: 18px;
}

@keyframes pipeFloat {
    0%, 100% {
        transform: translateX(0) rotate(var(--rotate, 0deg));
    }
    25% {
        transform: translateX(30px) rotate(var(--rotate, 0deg));
    }
    50% {
        transform: translateX(-20px) rotate(var(--rotate, 0deg));
    }
    75% {
        transform: translateX(20px) rotate(var(--rotate, 0deg));
    }
}

.pipe-1 { --rotate: 8deg; }
.pipe-2 { --rotate: -5deg; }
.pipe-3 { --rotate: -12deg; }
.pipe-4 { --rotate: 3deg; }
.pipe-5 { --rotate: 25deg; }

/* محتوای فوتر - 3 ستونه */
.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.site-footer .brand-name {
    color: #fff;
}

.footer-brand p {
    color: #aebed3;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.8;
    margin: 12px 0 16px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #73b0ff;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid rgba(115, 176, 255, 0.2);
    border-radius: 60px;
}

.footer-email:hover {
    background: rgba(115, 176, 255, 0.1);
    transform: translateX(-4px);
    border-color: #73b0ff;
}

.footer-email svg {
    flex-shrink: 0;
}

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

.footer-column h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), #73b0ff);
    border-radius: 10px;
}

.footer-column a {
    color: #aebed3;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-column a:hover {
    color: #73b0ff;
    transform: translateX(-4px);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
}

.footer-phone .phone-number {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
    display: inline-block;
}

.footer-phone:hover {
    color: #73b0ff !important;
}

.footer-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #aebed3;
    font-size: 14px;
}

.footer-address svg {
    flex-shrink: 0;
}

/* شبکه‌های اجتماعی */
.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #aebed3;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(17, 103, 216, 0.3);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

/* فوتر پایین */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 50px;
    color: #9eafc5;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.credit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.credit a {
    color: #73b0ff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.credit a:hover {
    color: #fff;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   11-1. FOOTER رسپانسیو
   ============================================ */

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
        margin: 12px auto 16px;
    }
    
    .footer-email {
        justify-content: center;
    }
    
    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-column a {
        justify-content: center;
    }
    
    .footer-phone {
        justify-content: center;
    }
    
    .footer-address {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .credit {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pipe-2, .pipe-4 {
        display: none;
    }
    
    .pipe-1 {
        width: 300px;
        height: 12px;
    }
    
    .pipe-3 {
        width: 200px;
        height: 10px;
    }
    
    .pipe-5 {
        width: 150px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 16px;
    }
    
    .footer-top {
        gap: 20px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .pipe-1, .pipe-3, .pipe-5 {
        display: none;
    }
}

/* ============================================
   12. SINGLE PROJECT
   ============================================ */

.single-project {
    padding: 40px 0 80px;
}

.project-article {
    max-width: 1100px;
    margin: 0 auto;
}

.project-header {
    margin-bottom: 40px;
    padding: 40px 0 30px;
    position: relative;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #73b0ff);
    border-radius: 10px;
}

.project-header-content .eyebrow {
    margin-bottom: 12px;
}

.project-title-single {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.2;
}

.project-meta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    background: var(--sky);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.project-main-image {
    margin: 30px 0 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.project-content-wrap {
    margin: 40px 0;
}

.project-description {
    font-size: 17px;
    line-height: 2;
    color: var(--ink);
}

.project-description p {
    margin-bottom: 20px;
}

.project-gallery {
    margin: 60px 0;
}

.gallery-head {
    margin-bottom: 30px;
}

.gallery-head .eyebrow {
    margin-bottom: 6px;
}

.gallery-head h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.gallery-head h2 em {
    color: var(--blue);
    font-style: normal;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--navy);
    transition: all 0.4s ease;
}

.gallery-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    min-height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(7, 27, 58, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom:hover {
    background: var(--blue);
    transform: scale(1.1);
}

.gallery-zoom svg {
    width: 20px;
    height: 20px;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 58, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 40px;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal .modal-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.gallery-modal.active .modal-image {
    transform: scale(1);
}

.gallery-modal .modal-close {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-modal .modal-close svg {
    width: 28px;
    height: 28px;
}

.project-back {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--sky);
    color: var(--navy);
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--line);
}

.btn-back .arrow-back {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateX(-4px);
    box-shadow: 0 8px 25px rgba(17, 103, 216, 0.3);
}

.btn-back:hover .arrow-back {
    transform: translateX(-6px);
}

/* ============================================
   12-1. SINGLE PROJECT رسپانسیو
   ============================================ */

@media (max-width: 992px) {
    .gallery-item:first-child {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .project-meta-box {
        grid-template-columns: 1fr 1fr;
        padding: 16px 18px;
        gap: 12px;
    }
    
    .meta-value {
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .gallery-item:first-child {
        grid-column: 1 / 3;
        min-height: 250px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        min-height: 150px;
    }
    
    .gallery-zoom {
        opacity: 1;
        transform: scale(1);
        width: 38px;
        height: 38px;
        bottom: 12px;
        right: 12px;
    }
    
    .gallery-zoom svg {
        width: 16px;
        height: 16px;
    }
    
    .gallery-modal {
        padding: 20px;
    }
    
    .gallery-modal .modal-image {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .gallery-modal .modal-close {
        top: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
    
    .gallery-modal .modal-close svg {
        width: 22px;
        height: 22px;
    }
    
    .project-title-single {
        font-size: 28px;
    }
    
    .project-header {
        padding: 20px 0 20px;
    }
    
    .btn-back {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-meta-box {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 16px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item:first-child {
        grid-column: 1;
        min-height: 220px;
    }
    
    .gallery-item {
        min-height: 200px;
    }
    
    .project-description {
        font-size: 15px;
        line-height: 1.9;
    }
}

/* ============================================
   13. SINGLE SERVICE
   ============================================ */

.single-service {
    padding: 40px 0 80px;
}

.service-article {
    max-width: 1100px;
    margin: 0 auto;
}

.service-header {
    margin-bottom: 40px;
    padding: 40px 0 30px;
    position: relative;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #73b0ff);
    border-radius: 10px;
}

.service-header-content .eyebrow {
    margin-bottom: 12px;
}

.service-title-single {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-excerpt {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
    line-height: 1.8;
    margin: 0;
}

.service-main-image {
    margin: 30px 0 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-main-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
}

.service-content-wrap {
    margin: 40px 0;
}

.service-description {
    font-size: 17px;
    line-height: 2;
    color: var(--ink);
}

.service-description p {
    margin-bottom: 20px;
}

.service-features {
    margin: 50px 0 40px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-features h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--navy);
}

.service-features h3 em {
    color: var(--blue);
    font-style: normal;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--sky);
    border-radius: 16px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.service-cta {
    margin: 50px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 50px;
    background: linear-gradient(135deg, var(--navy), #0a2a5a);
    border-radius: 24px;
    color: #fff;
}

.cta-box h3 {
    font-size: 26px;
    color: #fff;
    margin: 0 0 6px;
}

.cta-box h3 em {
    color: #73b0ff;
    font-style: normal;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
}

.btn-cta-service {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--blue);
    color: #fff;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(17, 103, 216, 0.35);
}

.btn-cta-service .arrow {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta-service:hover {
    background: #0a4fa8;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(17, 103, 216, 0.45);
}

.btn-cta-service:hover .arrow {
    transform: translateX(-6px);
}

.service-back {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

/* ============================================
   13-1. SINGLE SERVICE رسپانسیو
   ============================================ */

@media (max-width: 992px) {
    .cta-box {
        padding: 30px 35px;
        flex-direction: column;
        text-align: center;
    }
    
    .btn-cta-service {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-header {
        padding: 20px 0 20px;
    }
    
    .service-title-single {
        font-size: 28px;
    }
    
    .service-excerpt {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .feature-item {
        padding: 14px 18px;
    }
    
    .cta-box {
        padding: 24px 20px;
    }
    
    .cta-box h3 {
        font-size: 22px;
    }
    
    .btn-cta-service {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .service-features h3 {
        font-size: 24px;
    }
    
    .service-main-image img {
        max-height: 350px;
    }
    
    .btn-back {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-header::after {
        width: 50px;
    }
    
    .service-title-single {
        font-size: 24px;
    }
    
    .service-excerpt {
        font-size: 14px;
    }
    
    .service-description {
        font-size: 15px;
        line-height: 1.9;
    }
    
    .cta-box h3 {
        font-size: 20px;
    }
    
    .cta-box p {
        font-size: 14px;
    }
    
    .btn-cta-service {
        font-size: 13px;
        padding: 10px 18px;
    }
    
    .feature-item {
        padding: 12px 14px;
    }
    
    .feature-item h4 {
        font-size: 14px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
}

/* ============================================
   14. ریسپانسیو عمومی
   ============================================ */

@media (max-width: 1100px) {
    .service-card.service-left {
        padding-right: 15%;
    }
    .service-card.service-right {
        padding-left: 15%;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .why-grid,
    .single-hero {
        grid-template-columns: 1fr;
    }

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

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

    .service-card.service-left,
    .service-card.service-right {
        flex-direction: column !important;
        padding: 0 20px !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    .service-card .service-image-wrap {
        width: 100% !important;
        height: 300px !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        flex: 0 0 auto !important;
        order: 1;
    }

    .service-card .service-image-wrap img {
        border-radius: 24px 24px 0 0 !important;
    }

    .service-card .service-content {
        padding: 30px !important;
        border-radius: 0 0 28px 28px !important;
        border: 2px solid var(--line) !important;
        border-top: none !important;
        min-height: auto !important;
        order: 2;
        width: 100%;
    }

    .service-card.service-left .service-content::before,
    .service-card.service-right .service-content::before {
        display: none;
    }

    .service-card p {
        max-width: 100%;
    }

    .service-card h3::after {
        width: 30px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    body,
    .container,
    .section,
    .hero,
    .services,
    .statement,
    .cta,
    .site-footer {
        text-align: center;
    }

    .hero-grid,
    .why-grid,
    .single-hero,
    .cta-inner,
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-lead,
    .section-intro,
    .service-card p,
    .footer-brand p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn {
        justify-content: center;
    }

    .eyebrow {
        justify-content: center;
    }

    .brand {
        justify-content: center;
    }

    .header-inner {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .circle-link {
        position: static;
        margin: 20px auto 0;
    }

    .visual-note {
        right: 50%;
        transform: translateX(50%);
        bottom: 10px;
    }

    .post-grid,
    .principles {
        grid-template-columns: 1fr;
    }

    .service-card.service-left,
    .service-card.service-right {
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 0 40px 0 !important;
        min-height: auto !important;
        align-items: center !important;
    }

    .service-card .service-image-wrap {
        width: 90% !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        flex: 0 0 auto !important;
        order: 0 !important;
        margin: 0 auto !important;
        border-radius: 24px 24px 0 0 !important;
        overflow: hidden;
    }

    .service-card .service-image-wrap img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/10;
        object-fit: cover;
        border-radius: 24px 24px 0 0 !important;
        box-shadow: 0 15px 40px rgba(7, 27, 58, .15) !important;
    }

    .service-card .service-content {
        width: 90% !important;
        padding: 24px 20px 30px !important;
        border-radius: 0 0 24px 24px !important;
        border: 2px solid var(--line) !important;
        border-top: none !important;
        min-height: auto !important;
        order: 1 !important;
        text-align: center !important;
        box-shadow: 0 10px 30px rgba(7, 27, 58, .08) !important;
    }

    .service-card .service-number {
        margin: 0 auto 10px !important;
    }

    .service-card h3 {
        font-size: 22px !important;
        text-align: center !important;
    }

    .service-card h3::after {
        margin: 10px auto 0 !important;
        width: 40px !important;
    }

    .service-card:hover h3::after {
        width: 60px !important;
    }

    .service-card p {
        max-width: 100% !important;
        text-align: center !important;
        font-size: 15px !important;
    }

    .service-card .text-link {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        margin: 0 auto !important;
    }

    .service-card .text-link span {
        justify-content: center !important;
    }

    .service-card.service-left .service-content::before,
    .service-card.service-right .service-content::before {
        display: none !important;
    }

    .service-card:hover .service-image-wrap img {
        transform: scale(1.02) !important;
    }

    .service-card:hover .service-content {
        border-color: var(--blue) !important;
    }

    .service-grid {
        gap: 30px !important;
    }

    .services .section-head {
        margin-bottom: 40px !important;
    }

    .section {
        padding: 60px 0 !important;
    }

    .hero {
        padding: 40px 0 50px !important;
    }

    .cta {
        padding: 60px 0 !important;
    }

    .site-footer {
        padding: 40px 0 20px !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .single-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .meta-box {
        justify-content: center;
    }

    .content-area {
        max-width: 100%;
        text-align: center;
    }

    .phone-number,
    .header-tel strong,
    .footer-tel strong {
        direction: ltr !important;
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .service-card .service-image-wrap {
        width: 92% !important;
    }

    .service-card .service-content {
        width: 92% !important;
        padding: 20px 16px 26px !important;
    }

    .service-card h3 {
        font-size: 20px !important;
    }

    .service-card p {
        font-size: 14px !important;
    }

    .service-card .text-link {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation-duration: .01ms!important;
        transition-duration: .01ms!important;
    }
}

/* ============================================
   15. کلاس‌های کمکی
   ============================================ */

.ltr {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
}

.phone-ltr {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
    display: inline-block;
    font-feature-settings: "ss01" on, "ss02" on;
}

.phone-number,
[class*="tel"],
[class*="phone"],
[class*="call"],
.header-tel strong,
.footer-tel strong,
.contact-phone,
.tel-link,
.phone-link {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
    display: inline-block;
    font-feature-settings: "ss01" on, "ss02" on;
}

.wp-block-image img {
    border-radius: 20px;
}

.pagination {
    margin-top: 35px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 7px 12px;
    margin: 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pagination .current {
    background: var(--blue);
    color: #fff;
}

.single-project .single-hero {
    background: var(--sky);
    padding: 24px;
    border-radius: 26px;
}

.status-done {
    color: #0b8d67!important;
}

.status-progress {
    color: #c67d08!important;
}

.post-card a:first-child {
    display: block;
}

.service-archive .service-card {
    min-height: 220px;
}

/* ============================================
   16. حذف استایل‌های اضافی
   ============================================ */

.project-meta {
    display: none !important;
}

#projects .project-card .project-meta {
    display: none !important;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: .7s;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}