:root {
    --bg: #050b17;
    --bg-soft: #0b1428;
    --card: rgba(255, 255, 255, 0.06);
    --card-hover: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --gold: #facc15;
    --gold-2: #f59e0b;
    --cyan: #22d3ee;
    --shadow-gold: 0 12px 40px rgba(250, 204, 21, 0.22);
    --shadow-cyan: 0 12px 40px rgba(34, 211, 238, 0.18);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

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

body {
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    background:
        radial-gradient(ellipse 90% 60% at 80% -10%, rgba(34, 211, 238, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 120% 80% at 50% -20%, #1a3a6e 0%, var(--bg) 52%);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(250, 204, 21, 0.35);
    color: #fff;
}

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.solar-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}
.solar-glow-1 {
    width: 320px;
    height: 320px;
    background: var(--gold-2);
    top: -100px;
    left: -60px;
    animation: floatGlow 14s ease-in-out infinite;
}
.solar-glow-2 {
    width: 380px;
    height: 380px;
    background: var(--cyan);
    bottom: -120px;
    right: -60px;
    animation: floatGlow 18s ease-in-out infinite reverse;
}
.solar-glow-3 {
    width: 200px;
    height: 200px;
    background: #6366f1;
    top: 45%;
    left: 55%;
    opacity: 0.2;
    animation: floatGlow 20s ease-in-out infinite 2s;
}
@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
}

.section-space {
    padding: 96px 0;
    position: relative;
}
.section-space + .section-space::before,
.section-gradient + .section-space::before,
.metrics-band + .section-space::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.22), rgba(34, 211, 238, 0.18), transparent);
    pointer-events: none;
}

.navbar {
    background: rgba(5, 11, 23, 0.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 64px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}
.navbar > .container {
    align-items: center;
}
.navbar-collapse {
    align-items: center;
}
@media (min-width: 992px) {
    .navbar > .container {
        position: relative;
        display: flex;
        align-items: center;
    }
    .navbar-collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
    }
    .navbar-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        flex: none;
        margin: 0 !important;
        justify-content: center;
        white-space: nowrap;
        z-index: 2;
    }
    .navbar-nav .nav-link {
        padding: 0.35rem 0.42rem;
        font-size: 0.84rem;
    }
}
.navbar.scrolled {
    background: rgba(5, 11, 23, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    min-width: 0;
    flex-shrink: 0;
}
.navbar-brand .brand-mark {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    object-fit: contain;
}
.navbar-brand .brand-full {
    height: 38px;
    width: auto;
    max-width: min(46vw, 260px);
    object-fit: contain;
    object-position: right center;
    flex-shrink: 0;
}
.navbar-brand .brand-text {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: inherit;
}
.footer-brand .brand-text {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}
.footer-brand .brand-full {
    height: 34px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    object-position: right center;
}
body.light-theme .logo-theme-dark { display: none !important; }
body:not(.light-theme) .logo-theme-light { display: none !important; }
.nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link.active,
.nav-link:hover {
    color: var(--text) !important;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
    padding: 5px 9px;
}
.navbar-toggler-icon {
    filter: invert(1) brightness(1.1);
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35); }
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-actions .btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
}
.theme-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.05rem;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-out);
}
.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(250, 204, 21, 0.1);
    transform: translateY(-1px);
}
@media (min-width: 992px) {
    .header-actions {
        padding: 0;
        border: none;
        background: transparent;
        gap: 6px;
    }
    .header-actions .theme-toggle {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent;
        font-size: 0.95rem;
    }
    .header-actions .theme-toggle:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.22);
        transform: none;
    }
    .header-actions .btn-header-cta {
        height: 34px;
        padding: 0 12px;
        font-size: 0.8rem;
    }
}
.hero-carousel-wrap {
    padding-top: 86px;
    position: relative;
}
.hero-carousel-wrap::after {
    content: "";
    position: absolute;
    inset: 86px 0 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 11, 23, 0.85));
    border-radius: 0 0 26px 26px;
}
.hero-carousel-wrap .carousel {
    border-radius: 0 0 26px 26px;
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(250, 204, 21, 0.15));
}
.hero-carousel-wrap .carousel-item {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}
.hero-carousel-wrap .carousel-item.active img {
    animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}
.hero-carousel-wrap .carousel-item img {
    height: min(62vh, 580px);
    object-fit: cover;
    filter: brightness(0.68) saturate(1.14) contrast(1.06);
    transition: filter 0.5s ease;
}
.hero-carousel-wrap .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(5, 11, 23, 0.35) 100%),
        linear-gradient(180deg, rgba(5, 11, 23, 0.15) 0%, transparent 35%, rgba(5, 11, 23, 0.5) 100%);
    pointer-events: none;
}
.hero-carousel-wrap .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    opacity: 1;
    transition: all 0.3s ease;
}
.hero-carousel-wrap .carousel-indicators .active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(5, 11, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    animation: bounceHint 2s ease-in-out infinite;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.scroll-hint:hover {
    color: #fff;
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(5, 11, 23, 0.65);
}
.scroll-hint i { font-size: 1.2rem; color: var(--gold); }
@keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
.trust-bar {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.07), rgba(34, 211, 238, 0.05), rgba(250, 204, 21, 0.07));
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
}
.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.trust-item:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.trust-item i {
    color: var(--gold);
    font-size: 1.1rem;
}
.hero-carousel-wrap .carousel-caption {
    background: linear-gradient(135deg, rgba(5, 11, 23, 0.78), rgba(5, 11, 23, 0.42));
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 18px 22px;
    bottom: 18%;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    max-width: min(92vw, 560px);
    margin: 0 auto;
}
.hero-carousel-wrap .carousel-caption h2 {
    font-size: clamp(1.25rem, 2.5vw, 2.1rem);
    margin-bottom: 10px;
    color: #f8fafc;
    font-weight: 800;
    line-height: 1.35;
}
.hero-carousel-wrap .carousel-caption p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
}

.btn-gold {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #111827;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.btn-gold::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transition: left 0.5s ease;
}
.btn-gold:hover {
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(250, 204, 21, 0.35);
}
.btn-gold:hover::before { left: 120%; }
.btn-outline-light {
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 22px;
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    transition: all 0.25s var(--ease-out);
}
.btn-outline-light:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(250, 204, 21, 0.5);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero { padding-top: 0; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.28);
    animation: tagShimmer 4s ease-in-out infinite;
}
@keyframes tagShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.88; filter: brightness(1.12); }
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.25; }
.hero-title {
    background: linear-gradient(120deg, #fff 30%, #fde68a 70%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text { color: var(--muted); max-width: 680px; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-stats { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats div {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 16px 20px;
    min-width: 140px;
    transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.hero-stats div::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    opacity: 0.5;
}
.hero-stats div:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.35);
    box-shadow: var(--shadow-gold);
}
.hero-stats strong {
    display: block;
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 900;
}
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.glass-card, .feature-card, .project-card, .contact-card, .step-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--card-border);
    border-radius: 22px;
    backdrop-filter: blur(16px);
    padding: 26px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.glass-card {
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.15), transparent 70%);
    pointer-events: none;
}
.glass-card h3 {
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card ul { list-style: none; padding: 0; margin: 0; }
.glass-card li { color: var(--muted); margin-bottom: 10px; }
.glass-card i { color: var(--gold); margin-left: 8px; }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--cyan);
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.08);
}
.section-head.visible .section-eyebrow {
    animation: eyebrowPop 0.6s var(--ease-out) both;
}
@keyframes eyebrowPop {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.section-title {
    margin: 0 0 12px;
    font-weight: 900;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    line-height: 1.25;
    background: linear-gradient(100deg, #f8fafc 15%, #fde68a 55%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub {
    margin: 0 auto;
    max-width: 480px;
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: var(--shadow-gold);
    background: var(--card-hover);
}
.feature-card:hover::after { opacity: 1; }
.feature-card .icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(34, 211, 238, 0.12));
    border: 1px solid rgba(250, 204, 21, 0.25);
    transition: transform 0.35s var(--ease-out);
}
.feature-card:hover .icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}
.feature-card .icon-wrap i { font-size: 1.5rem; color: var(--gold); }
.feature-card h3, .project-card h3 { margin: 12px 0 8px; font-size: 1.1rem; font-weight: 800; }
.feature-card p, .project-card p, .step-card p { color: var(--muted); margin: 0; }

.section-dark {
    background: linear-gradient(180deg, rgba(11, 20, 40, 0.92), rgba(5, 11, 23, 0.95));
    position: relative;
}
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.06), transparent 55%);
    pointer-events: none;
}
.section-gradient {
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.04), transparent);
}
.project-card {
    position: relative;
    overflow: hidden;
}
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.project-card[data-accent="cyan"]::before {
    background: linear-gradient(90deg, var(--gold), var(--cyan));
}
.project-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: var(--shadow-cyan);
}
.project-card:hover::before { opacity: 1; }
.project-card span {
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.process-row { position: relative; }
@media (min-width: 992px) {
    .process-row::before {
        content: "";
        position: absolute;
        top: 42px;
        right: 12%;
        left: 12%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.4), rgba(34, 211, 238, 0.4), transparent);
        z-index: 0;
    }
}
.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
}
.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.35);
    box-shadow: var(--shadow-gold);
}
.step-card strong {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.faq-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 10px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.custom-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    margin-bottom: 0;
}
.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}
.custom-accordion .accordion-button {
    background: transparent;
    color: var(--text);
    box-shadow: none;
    padding: 14px 4px;
    font-size: 0.95rem;
    font-weight: 600;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--gold);
    box-shadow: none;
}
.custom-accordion .accordion-button::after {
    filter: brightness(1.2);
}
.custom-accordion .accordion-body {
    color: var(--muted);
    padding: 0 4px 14px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    color: var(--text);
    transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}
.contact-item i { color: var(--gold); }
.contact-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    padding: 12px;
}
.form-control::placeholder { color: #7b8aa3; }
.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--gold);
    box-shadow: none;
}
.form-control.is-invalid { border-color: #ef4444; }

.site-footer {
    margin-top: 0;
    color: var(--muted);
    background: #040a14;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(250, 204, 21, 0.14), rgba(34, 211, 238, 0.1), rgba(250, 204, 21, 0.14));
    position: relative;
    overflow: hidden;
}
.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(250, 204, 21, 0.12), transparent 55%);
    pointer-events: none;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0;
}
.footer-cta-inner h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--text);
}
.footer-cta-inner p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-main {
    padding: 48px 0 20px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand {
    flex-wrap: wrap;
}
.footer-brand .brand-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 14px;
    max-width: 320px;
}
.footer-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    text-decoration: none;
}
.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact-mini a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-mini a[href^="tel:"] {
    direction: ltr;
    unicode-bidi: isolate;
}
.footer-contact-mini a:hover {
    color: var(--gold);
}
.footer-newsletter {
    max-width: 360px;
}
.footer-newsletter-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}
.footer-newsletter-desc {
    margin: 0 0 18px;
    font-size: 0.86rem;
    line-height: 1.75;
    color: var(--muted);
}
.footer-newsletter-form {
    margin-bottom: 18px;
}
.footer-newsletter-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0 0 10px 10px;
    transition: border-color 0.25s ease;
}
.footer-newsletter-field:focus-within {
    border-bottom-color: rgba(34, 211, 238, 0.55);
}
.footer-newsletter-field.is-invalid {
    border-bottom-color: #ef4444;
}
.footer-newsletter-field input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 10px 0;
    outline: none;
}
.footer-newsletter-field input::placeholder {
    color: rgba(148, 163, 184, 0.75);
}
html[dir="ltr"] .footer-newsletter-field input {
    direction: ltr;
    text-align: left;
}
.footer-newsletter-field button {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.08);
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}
.footer-newsletter-field button:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.22);
    transform: translateY(-1px);
}
.footer-newsletter-field button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}
html[dir="ltr"] .footer-newsletter-field button i {
    transform: scaleX(-1);
}
.footer-newsletter-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-hours {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-newsletter .social-links {
    margin-top: 0;
}
.site-footer h5 {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 700;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--gold);
}
.social-links {
    margin-top: 14px;
}
.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    margin-left: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s var(--ease-out), color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-links a:hover {
    color: #111827;
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #7b8aa3;
}
.footer-credit {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #64748b;
}
.footer-credit-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.footer-credit-link:hover {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}
.testimonial-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    position: relative;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(250, 204, 21, 0.2);
    font-family: Georgia, serif;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(250, 204, 21, 0.25);
}
.testimonial-card .stars,
.testimonial-head .stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0;
    letter-spacing: 2px;
}
.star-rating {
    --rating: 5;
    display: inline-block;
    position: relative;
    font-size: 0.85rem;
    line-height: 1;
    direction: ltr;
    unicode-bidi: isolate;
    vertical-align: middle;
}
.star-rating::before {
    content: "★★★★★";
    letter-spacing: 2px;
    color: rgba(148, 163, 184, 0.32);
}
.star-rating::after {
    content: "★★★★★";
    letter-spacing: 2px;
    color: var(--gold);
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--rating) * 20%);
    overflow: hidden;
    white-space: nowrap;
}
body.light-theme .star-rating::before {
    color: rgba(100, 116, 139, 0.28);
}
.testimonial-card p {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}
.testimonial-card h5 {
    color: var(--gold);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 700;
}

.contact-card:hover {
    border-color: rgba(250, 204, 21, 0.28);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}
.contact-card h3 {
    font-weight: 800;
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 1.5rem;
    z-index: 1001;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
    text-decoration: none;
    animation: pulseWa 2.5s ease-in-out infinite;
}
.floating-wa:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}
@keyframes pulseWa {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #111827;
    font-size: 1.1rem;
    z-index: 1000;
    box-shadow: var(--shadow-gold);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
    cursor: pointer;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(250, 204, 21, 0.4);
}
.back-to-top.show {
    display: flex;
    animation: popIn 0.4s var(--ease-out);
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.8) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: calc(var(--delay, 0) * 80ms);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ——— Premium polish ——— */
body.is-loading { overflow: hidden; }
body.site-ready .hero-carousel-wrap,
body.site-ready .trust-bar,
body.site-ready .hero { animation: fadeUp 0.8s var(--ease-out) both; }
body.site-ready .trust-bar { animation-delay: 0.1s; }
body.site-ready .hero { animation-delay: 0.15s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    text-align: center;
}
.preloader-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    animation: pulseLogo 1.2s ease-in-out infinite, logoGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.35));
}
.preloader-logo-full {
    width: auto;
    height: 56px;
    max-width: min(280px, 72vw);
}
.preloader-brand-full {
    display: block;
    margin: 0 auto;
    height: 28px;
    width: auto;
    max-width: min(240px, 80vw);
    object-fit: contain;
}
.preloader-bar {
    width: 140px;
    height: 3px;
    margin: 18px auto 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: inherit;
    animation: loadBar 1s ease-in-out infinite;
}
.preloader-inner p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes loadBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    transform-origin: right center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
    pointer-events: none;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-2), var(--cyan));
    border-radius: 99px;
}

.navbar-brand .brand-mark,
.footer-brand .brand-mark {
    animation: none;
}
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.35)); }
    50% { filter: drop-shadow(0 0 28px rgba(250, 204, 21, 0.55)); }
}

.caption-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.12);
}

.hero-carousel-wrap .carousel-control-prev,
.hero-carousel-wrap .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(5, 11, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    opacity: 0.85;
    transition: all 0.25s ease;
}
.hero-carousel-wrap .carousel-control-prev:hover,
.hero-carousel-wrap .carousel-control-next:hover {
    opacity: 1;
    background: rgba(250, 204, 21, 0.25);
    border-color: var(--gold);
}

.card-glow {
    position: relative;
}
.card-glow::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.5), rgba(34, 211, 238, 0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.metrics-band {
    padding: 28px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: linear-gradient(90deg, rgba(5, 11, 23, 0.6), rgba(11, 20, 40, 0.8), rgba(5, 11, 23, 0.6));
}
.metrics-band-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 520px;
    margin: 0 auto;
}
.metric-pill {
    text-align: center;
    padding: 18px 12px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.metric-pill::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 20%;
    left: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.metric-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(250, 204, 21, 0.3);
}
.metric-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.metric-label {
    font-size: 0.8rem;
    color: var(--muted);
}

.section-mesh {
    position: relative;
    overflow: hidden;
}
.section-mesh::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    pointer-events: none;
}

.company-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}
.company-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    opacity: 0.55;
    transition: opacity 0.3s ease;
}
.company-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: var(--shadow-gold);
}
.company-card:hover::before { opacity: 1; }
.companies-row .col-company-navard { order: 1; }
.companies-row .col-company-tejarat { order: 2; }
.companies-row .col-company-energy { order: 3; }
html[dir="rtl"] .companies-row .col-company-navard { order: 3; }
html[dir="rtl"] .companies-row .col-company-tejarat { order: 2; }
html[dir="rtl"] .companies-row .col-company-energy { order: 1; }
.companies-row .company-logo {
    height: 88px;
    margin-bottom: 16px;
    align-items: center;
}
.company-logo {
    height: 48px;
    width: 170px;
    max-width: 100%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.company-logo-img {
    display: block;
    width: auto;
    object-fit: contain;
    object-position: right center;
}
.company-logo-img.company-logo-banner {
    height: 40px;
    max-width: 170px;
}
.company-logo-img.company-logo-mark {
    height: 72px;
    max-width: 170px;
}
/* Navard-06 has more canvas padding; scale light to match Navard-04 visual size */
.company-logo.company-logo-navard {
    width: 170px;
}
.company-logo.company-logo-navard .company-logo-img {
    height: 72px;
    max-width: 170px;
}
.company-logo.company-logo-navard .company-logo-img.logo-theme-light {
    transform: scale(1.2);
    transform-origin: right center;
}
html[dir="ltr"] .company-logo.company-logo-navard .company-logo-img.logo-theme-light {
    transform-origin: left center;
}
html[dir="ltr"] .company-logo {
    justify-content: flex-start;
}
html[dir="ltr"] .company-logo-img {
    object-position: left center;
}
.company-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(34, 211, 238, 0.12));
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.company-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.company-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.company-card p.company-tagline {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.5;
}
.company-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--card-border);
    padding-top: 12px;
}
.company-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
}
.company-meta i {
    color: var(--cyan);
    flex-shrink: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    color: var(--muted);
}
.project-tag.tag-done {
    color: #86efac;
    border-color: rgba(134, 239, 172, 0.35);
    background: rgba(134, 239, 172, 0.08);
}
.project-tag.tag-progress {
    color: var(--gold);
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.08);
}

.provinces-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    width: 100%;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.provinces-strip-head {
    margin-bottom: 32px;
}
.iran-map-wrap {
    width: 100%;
    max-width: 1040px;
    margin: 8px auto 12px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.iran-map-wrap svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
.iran-map-wrap #seas,
.iran-map-wrap #islands {
    pointer-events: none;
}
.iran-map-wrap #caspian-sea {
    fill: rgba(34, 211, 238, 0.12);
    stroke: rgba(34, 211, 238, 0.25);
}
.iran-map-wrap #provinces path {
    fill: rgba(148, 163, 184, 0.12);
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
    transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}
.iran-map-wrap #provinces path.province-active {
    fill: rgba(34, 211, 238, 0.38);
    stroke: var(--cyan);
    stroke-width: 1.5;
}
.iran-map-wrap #provinces path.province-active.is-highlighted {
    fill: rgba(34, 211, 238, 0.55);
    stroke: var(--cyan);
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45));
}
.iran-map-wrap .province-map-line {
    fill: none;
    stroke: rgba(34, 211, 238, 0.75);
    stroke-width: 1.4;
    pointer-events: none;
    transition: stroke 0.2s ease, stroke-width 0.2s ease;
}
.iran-map-wrap .province-map-line.is-highlighted {
    stroke: var(--cyan);
    stroke-width: 2;
}
.iran-map-wrap .province-map-name {
    fill: #f8fafc;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.01em;
    paint-order: stroke fill;
    stroke: rgba(5, 11, 23, 0.88);
    stroke-width: 3px;
    stroke-linejoin: round;
    pointer-events: none;
    transition: fill 0.2s ease, stroke 0.2s ease;
}
.iran-map-wrap .province-map-name[data-province="chaharmahal-bakhriari"] {
    font-size: 14px;
}
.iran-map-wrap .province-map-name.is-highlighted {
    fill: var(--cyan);
    stroke: rgba(5, 11, 23, 0.92);
}
.iran-map-wrap .province-map-label {
    cursor: default;
}
.provinces-strip-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
}
.provinces-strip-tags span {
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--cyan);
    cursor: default;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.provinces-strip-tags span.is-highlighted {
    background: rgba(34, 211, 238, 0.22);
    border-color: var(--cyan);
    color: var(--text);
}

.contact-form-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.9;
}
.about-content p:last-child { margin-bottom: 0; }
.about-content strong { color: var(--text); }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.about-list i {
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item-static {
    cursor: default;
    align-items: flex-start;
}
.contact-item-static span {
    line-height: 1.7;
    font-size: 0.88rem;
}
.contact-item-static strong {
    color: var(--gold);
    font-weight: 700;
}

.contact-maps {
    margin-top: 4px;
}
.contact-map-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px 12px;
    height: 100%;
}
.contact-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.contact-map-head h4 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}
.contact-map-head h4 i {
    color: var(--gold);
    font-size: 0.9rem;
}
.contact-map-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}
.contact-map-link:hover {
    color: var(--gold);
}
.contact-map-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
    height: 120px;
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.15) saturate(0.85);
    pointer-events: none;
}
.contact-map-card:hover .contact-map-wrap iframe {
    filter: grayscale(0) saturate(0.95);
}
@media (max-width: 767.98px) {
    .contact-map-wrap {
        height: 100px;
    }
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}
.project-card:hover .project-link {
    gap: 10px;
    color: var(--gold);
}

.step-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(250, 204, 21, 0.15));
    border: 1px solid var(--card-border);
    color: var(--gold);
    font-size: 1.2rem;
}

.testimonial-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
    flex-shrink: 0;
}
.testimonial-head .stars,
.testimonial-head .star-rating {
    margin-bottom: 0;
}

a.contact-item {
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a.contact-item:hover {
    transform: translateX(-4px);
    border-color: rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.06);
    color: var(--text);
}

.section-head::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.form-control {
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

.site-footer::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), transparent);
    opacity: 0.5;
}

.trust-item {
    transition: transform 0.25s ease, color 0.25s ease;
}
.trust-item:hover {
    transform: translateY(-2px);
    color: var(--gold);
}

.feature-card {
    isolation: isolate;
}

/* ——— Responsive ——— */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 0.35rem 0.32rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    html { scroll-padding-top: 64px; }

    .section-space { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }

    .navbar-collapse {
        margin-top: 8px;
        padding: 10px 12px 12px;
        border-radius: 14px;
        background: rgba(5, 11, 23, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar-nav {
        width: 100%;
        gap: 0;
    }
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar-nav .nav-item:last-child { border-bottom: none; }
    .navbar-nav .nav-link {
        padding: 10px 2px;
        font-size: 0.94rem;
        color: var(--text) !important;
    }

    .header-actions {
        width: 100%;
        margin-top: 10px;
        padding: 10px 2px 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
        background: transparent;
        gap: 8px;
        justify-content: space-between;
    }
    .header-actions .theme-toggle {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: transparent;
    }
    .header-actions .btn-header-cta {
        flex: 1;
        height: 40px;
        padding: 0 14px;
        font-size: 0.88rem;
    }

    .trust-bar-inner { justify-content: center; }
    .scroll-hint { display: none; }
    .metrics-band-inner { grid-template-columns: repeat(2, 1fr); }

    .hero-carousel-wrap { padding-top: 72px; }
    .hero-carousel-wrap::after { inset: 72px 0 0; }
    .hero-carousel-wrap .carousel {
        border-radius: 0 0 18px 18px;
    }
    .hero-carousel-wrap .carousel-item img {
        height: min(48vh, 420px);
        min-height: 220px;
    }
    .hero-carousel-wrap .carousel-caption {
        left: 12px;
        right: 12px;
        bottom: 12%;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .hero-carousel-wrap .carousel-caption h2 {
        font-size: clamp(1rem, 4.5vw, 1.35rem);
        margin-bottom: 6px;
    }
    .hero-carousel-wrap .carousel-caption p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    .hero-carousel-wrap .carousel-control-prev,
    .hero-carousel-wrap .carousel-control-next {
        width: 12%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hero-stats div {
        min-width: 0;
        padding: 12px 14px;
    }

    .process-row::before { display: none; }

    .footer-main { padding: 36px 0 16px; }
    .footer-desc { max-width: none; }

    .solar-glow-1 { width: 200px; height: 200px; }
    .solar-glow-2 { width: 240px; height: 240px; }
    .solar-glow-3 { display: none; }
}

@media (max-width: 767.98px) {
    html { scroll-padding-top: 64px; }

    .section-space { padding: 52px 0; }
    .section-head { margin-bottom: 28px; }
    .section-title { font-size: clamp(1.35rem, 5vw, 1.75rem); }
    .section-sub { font-size: 0.88rem; padding: 0 8px; }

    .navbar { min-height: 58px; }
    .navbar-brand {
        font-size: 0.9rem;
        gap: 10px;
        min-width: 0;
        flex: 1;
    }
    .navbar-brand .brand-mark { width: 48px; height: 48px; }
    .navbar-brand .brand-full { height: 34px; max-width: min(44vw, 220px); }
    .navbar-brand .brand-text { font-size: 0.9rem; max-width: min(46vw, 220px); }

    .hero-carousel-wrap { padding-top: 72px; }
    .hero-carousel-wrap::after { inset: 72px 0 0; }
    .hero-carousel-wrap .carousel-item img {
        height: min(40vh, 360px);
        min-height: 200px;
    }
    .hero-carousel-wrap .carousel-caption {
        left: 8px;
        right: 8px;
        bottom: 8%;
        text-align: center;
        max-width: calc(100% - 16px);
        margin-left: auto;
        margin-right: auto;
    }

    .trust-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
        padding: 12px 0;
    }
    .trust-item {
        font-size: 0.8rem;
        justify-content: flex-start;
    }
    .trust-item i { font-size: 1rem; flex-shrink: 0; }

    .hero-tag { font-size: 0.78rem; }
    .hero-title { font-size: clamp(1.45rem, 6.5vw, 2rem); }
    .hero-text { font-size: 0.95rem; line-height: 1.75; }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
    .hero-stats strong { font-size: 1.2rem; }

    .glass-card,
    .feature-card,
    .project-card,
    .contact-card,
    .step-card,
    .testimonial-card {
        padding: 18px;
        border-radius: 16px;
    }

    .faq-wrap {
        padding: 6px 12px;
        border-radius: 14px;
    }
    .custom-accordion .accordion-button {
        padding: 12px 2px;
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .custom-accordion .accordion-body {
        font-size: 0.85rem;
        padding-bottom: 12px;
    }

    .form-control {
        font-size: 16px;
        padding: 12px 14px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px 0;
    }
    .footer-cta-inner .btn-gold {
        width: 100%;
        text-align: center;
    }
    .footer-cta-inner h3 { font-size: 1.05rem; }

    .footer-newsletter {
        max-width: none;
    }
    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .social-links a { margin-left: 0; }

    .floating-wa {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 0px));
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        left: max(16px, env(safe-area-inset-left, 0px));
    }
    .iran-map-wrap {
        max-width: 100%;
        padding: 0;
    }
    .iran-map-wrap .province-map-name {
        font-size: 15px;
    }
    .iran-map-wrap .province-map-name[data-province="chaharmahal-bakhriari"] {
        font-size: 12px;
    }
    .provinces-strip {
        gap: 12px;
    }
    .provinces-strip-tags {
        gap: 8px 12px;
    }
    .provinces-strip-tags span {
        font-size: 0.88rem;
        padding: 5px 14px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
    }
    .header-actions .btn-header-cta {
        font-size: 0.88rem;
        padding: 0 14px;
    }
    .header-actions .theme-toggle {
        width: 42px;
        height: 42px;
    }

    .trust-bar-inner { grid-template-columns: 1fr; }
    .trust-item { justify-content: center; }
    .metrics-band-inner { grid-template-columns: 1fr 1fr; gap: 10px; }
    .metric-val { font-size: 1.25rem; }

    .hero-carousel-wrap .carousel-indicators {
        margin-bottom: 4px;
    }

    .section-eyebrow {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .testimonial-card::before {
        font-size: 2.2rem;
        top: 4px;
        right: 10px;
    }

    .contact-item {
        font-size: 0.9rem;
        word-break: break-word;
    }
}

@media (max-width: 380px) {
    .navbar-brand .brand-mark { width: 44px; height: 44px; }
    .navbar-brand .brand-full { height: 30px; max-width: 42vw; }
    .navbar-brand .brand-text { font-size: 0.85rem; max-width: 44vw; }
}

@media (hover: hover) and (pointer: fine) {
    .feature-card:hover,
    .project-card:hover,
    .step-card:hover,
    .testimonial-card:hover,
    .hero-stats div:hover {
        transform: translateY(-6px);
    }
}

@media (hover: none) {
    .feature-card:hover,
    .project-card:hover,
    .step-card:hover,
    .testimonial-card:hover,
    .hero-stats div:hover,
    .btn-gold:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: opacity 0.3s ease; transform: none; }
    .solar-glow-1,
    .solar-glow-2,
    .floating-wa,
    .preloader-logo,
    .preloader-bar span { animation: none; }
    .hero-carousel-wrap .carousel-item.active img { animation: none; }
    body.site-ready .hero-carousel-wrap,
    body.site-ready .trust-bar,
    body.site-ready .hero { animation: none; }
}

body.light-theme {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --card: #ffffff;
    --card-hover: #ffffff;
    --card-border: rgba(15, 23, 42, 0.1);
    --text: #0f172a;
    --muted: #64748b;
    --gold: #b45309;
    --gold-2: #d97706;
    --cyan: #0284c7;
    --shadow-gold: 0 8px 28px rgba(180, 83, 9, 0.12);
    --shadow-cyan: 0 8px 28px rgba(2, 132, 199, 0.1);
    background: #ffffff;
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

body.light-theme .navbar-brand,
body.light-theme .site-footer h4,
body.light-theme .site-footer h5 {
    color: #0f172a;
}

body.light-theme .btn-outline-light {
    border-color: rgba(15, 23, 42, 0.25);
    color: #0f172a;
    background: rgba(15, 23, 42, 0.03);
}

body.light-theme .btn-outline-light:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.light-theme .section-dark {
    background: #fafafa;
}

body.light-theme .section-gradient {
    background: #ffffff;
}

body.light-theme .glass-card,
body.light-theme .feature-card,
body.light-theme .project-card,
body.light-theme .contact-card,
body.light-theme .step-card,
body.light-theme .testimonial-card,
body.light-theme .company-card,
body.light-theme .metric-pill,
body.light-theme .faq-wrap {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.light-theme .hero-title {
    background: linear-gradient(90deg, #0f172a, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .glass-card h3 {
    background: linear-gradient(90deg, #0f172a, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .theme-toggle {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.18);
    color: #0f172a;
}
body.light-theme .header-actions {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
}
body.light-theme .header-actions .theme-toggle {
    background: transparent;
    border-color: transparent;
}
body.light-theme .header-actions .theme-toggle:hover {
    background: rgba(180, 83, 9, 0.1);
    color: var(--gold);
    border-color: transparent;
}

body.light-theme .solar-glow {
    opacity: 0.04;
}
body.light-theme .hero-carousel-wrap .carousel-item img {
    filter: brightness(0.84) saturate(1.02);
}
body.light-theme .hero-carousel-wrap .carousel-caption {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.35));
}
body.light-theme .hero-carousel-wrap .carousel-caption h2,
body.light-theme .hero-carousel-wrap .carousel-caption p {
    color: #f8fafc;
}

body.light-theme .custom-accordion .accordion-item {
    border-bottom-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .site-footer {
    background: #fafafa;
    border-top-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .footer-cta {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.1), rgba(255, 255, 255, 0.9));
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .footer-credit {
    color: #64748b;
}
body.light-theme .footer-credit-link {
    color: #475569;
}
body.light-theme .footer-credit-link:hover {
    color: var(--gold);
}

body.light-theme .footer-links a,
body.light-theme .footer-contact-mini a,
body.light-theme .footer-desc {
    color: #1e293b;
}
body.light-theme .footer-newsletter-desc,
body.light-theme .footer-hours {
    color: #64748b;
}
body.light-theme .footer-newsletter-field {
    border-bottom-color: rgba(15, 23, 42, 0.2);
}
body.light-theme .footer-newsletter-field input {
    color: #0f172a;
}
body.light-theme .footer-newsletter-field input::placeholder {
    color: #94a3b8;
}
body.light-theme .footer-newsletter-field button {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
}

body.light-theme .footer-bottom {
    border-top-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .section-title {
    background: linear-gradient(90deg, #0f172a 20%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-theme .trust-bar {
    background: linear-gradient(90deg, #fffbeb, #f0f9ff, #fffbeb);
    border-color: rgba(15, 23, 42, 0.08);
}
body.light-theme .trust-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
body.light-theme .trust-item:hover {
    background: #fffbeb;
    border-color: rgba(180, 83, 9, 0.25);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
body.light-theme .metrics-band {
    background: #fafafa;
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .hero-carousel-wrap::after {
    background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.85));
}

body.light-theme .hero-stats div {
    background: #ffffff;
}

body.light-theme .form-control {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .form-control:focus {
    background: #ffffff;
}

body.light-theme .contact-item {
    background: #fafafa;
}
body.light-theme .contact-map-card {
    background: #fafafa;
}
body.light-theme .contact-map-wrap {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .faq-wrap {
    background: #ffffff;
}
body.light-theme .page-noise { opacity: 0.02; }
body.light-theme .floating-wa { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
body.light-theme .preloader { background: #ffffff; }
body.light-theme .section-mesh::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}
body.light-theme ::-webkit-scrollbar-track { background: #f1f1f1; }

body.light-theme .navbar-toggler-icon { filter: none; }

body.light-theme .project-tag {
    background: #fafafa;
}

body.light-theme .provinces-strip-tags span {
    background: #ffffff;
    border-color: rgba(232, 185, 35, 0.5);
    color: #b45309;
}

body.light-theme .provinces-strip-tags span.is-highlighted {
    background: rgba(250, 204, 21, 0.22);
    border-color: #e8b923;
    color: #92400e;
}

body.light-theme .iran-map-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.light-theme .iran-map-wrap #provinces path {
    fill: #d4d4d4;
    stroke: #ffffff;
}

body.light-theme .iran-map-wrap #provinces path.province-active {
    fill: #d4d4d4;
    stroke: #ffffff;
}

body.light-theme .iran-map-wrap #provinces path.province-active.is-highlighted {
    fill: #c9c9c9;
    stroke: #facc15;
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.35));
}

body.light-theme .iran-map-wrap #caspian-sea {
    fill: #b8e4f5;
    stroke: #7eb8d4;
}

body.light-theme .iran-map-wrap .province-map-line {
    stroke: #e8b923;
}

body.light-theme .iran-map-wrap .province-map-line.is-highlighted {
    stroke: #f59e0b;
}

body.light-theme .iran-map-wrap .province-map-name {
    fill: #1a1a1a;
    stroke: #ffffff;
}

body.light-theme .iran-map-wrap .province-map-name.is-highlighted {
    fill: #b45309;
    stroke: #fffbeb;
}

@media (max-width: 991.98px) {
    body.light-theme .navbar-collapse {
        background: #ffffff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }
    body.light-theme .navbar-nav .nav-item {
        border-bottom-color: rgba(15, 23, 42, 0.08);
    }
    body.light-theme .header-actions {
        background: transparent;
        border-color: transparent;
        border-top-color: rgba(15, 23, 42, 0.08);
    }
    body.light-theme .header-actions .theme-toggle {
        background: rgba(15, 23, 42, 0.06);
        border-color: rgba(15, 23, 42, 0.12);
    }
}

/* ——— Language switch ——— */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 28px;
    padding: 0 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover {
    color: var(--text);
}
.lang-btn.active {
    background: rgba(250, 204, 21, 0.22);
    color: var(--gold);
}
@media (min-width: 992px) {
    .header-actions .lang-switch {
        border: none;
        background: transparent;
        padding: 0 2px;
    }
}
body.light-theme .lang-switch {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.04);
}
body.light-theme .header-actions .lang-switch {
    background: transparent;
    border-color: transparent;
}
body.light-theme .lang-btn.active {
    background: rgba(180, 83, 9, 0.12);
    color: var(--gold);
}

/* ——— Persian / FA compact header ——— */
html[lang="fa"] .navbar-nav .nav-link {
    font-size: 0.82rem;
    padding: 0.35rem 0.38rem;
}
html[lang="fa"] .navbar-brand .brand-full {
    height: 38px;
    max-width: min(46vw, 260px);
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    html[lang="fa"] .navbar-nav .nav-link {
        font-size: 0.76rem;
        padding: 0.35rem 0.28rem;
    }
    html[lang="fa"] .navbar-brand .brand-full {
        height: 34px;
        max-width: min(40vw, 220px);
    }
}

/* ——— English / LTR layout ——— */
html[lang="ar"] body {
    font-family: "Cairo", "Vazirmatn", sans-serif;
}
html[lang="ar"] .navbar-nav .nav-link {
    font-size: 0.86rem;
    padding: 0.35rem 0.42rem;
}
html[lang="ar"] .header-actions .btn-header-cta {
    padding: 0 12px;
    font-size: 0.82rem;
}
html[lang="ar"] .navbar-brand .brand-text {
    font-size: 0.92rem;
    line-height: 1.35;
    white-space: normal;
    max-width: min(40vw, 200px);
}
html[lang="ar"] .footer-brand .brand-text {
    font-size: 0.88rem;
    line-height: 1.35;
    max-width: 220px;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    html[lang="ar"] .navbar-brand .brand-text {
        font-size: 0.84rem;
        max-width: min(34vw, 170px);
    }
}
.lang-switch:has(.lang-btn:nth-child(4)) .lang-btn {
    min-width: 24px;
    padding: 0 4px;
    font-size: 0.68rem;
}
@media (max-width: 991.98px) {
    html[lang="ar"] .header-actions {
        flex-wrap: wrap;
    }
    html[lang="ar"] .header-actions .lang-switch {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}
html[lang="tr"] .navbar-nav .nav-link {
    font-size: 0.86rem;
    padding: 0.35rem 0.4rem;
}
html[lang="tr"] .header-actions .btn-header-cta {
    padding: 0 10px;
    font-size: 0.8rem;
}
html[lang="tr"] .navbar-brand .brand-text {
    font-size: 0.9rem;
    max-width: min(36vw, 170px);
    white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    html[lang="tr"] .navbar-nav .nav-link {
        font-size: 0.78rem;
        padding: 0.35rem 0.28rem;
    }
    html[lang="tr"] .navbar-brand .brand-text {
        font-size: 0.82rem;
        max-width: min(30vw, 150px);
    }
    html[lang="tr"] .header-actions .btn-header-cta {
        font-size: 0.75rem;
        padding: 0 8px;
    }
}
@media (max-width: 991.98px) {
    html[lang="tr"] .header-actions {
        flex-wrap: wrap;
    }
    html[lang="tr"] .header-actions .lang-switch {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}
html[dir="ltr"] .scroll-progress {
    transform-origin: left center;
}
html[dir="ltr"] .glass-card i {
    margin-left: 0;
    margin-right: 8px;
}
html[dir="ltr"] .navbar-brand .brand-full {
    object-position: left center;
}
html[dir="ltr"] a.contact-item:hover {
    transform: translateX(4px);
}
html[dir="ltr"] .social-links a {
    margin-left: 0;
    margin-right: 8px;
}
html[dir="ltr"] .contact-map-link i {
    transform: scaleX(-1);
}
@media (max-width: 991.98px) {
    html[dir="ltr"] .header-actions .lang-switch {
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.04);
    }
    body.light-theme html[dir="ltr"] .header-actions .lang-switch {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(15, 23, 42, 0.04);
    }
}
