:root {
    --font-body: 'Vazirmatn', 'Vazir', 'Segoe UI', Tahoma, sans-serif;
    --font-heading: 'Vazirmatn', 'Vazir', sans-serif;
}

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

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

body {
    overflow-x: hidden;
    font-family: var(--font-body);
    direction: rtl;
    background: #f8fafc;
    background-image: radial-gradient(ellipse 120% 80% at 100% 0%, rgba(224, 242, 254, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(254, 243, 199, 0.15) 0%, transparent 45%);
    color: #1e293b;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.block-section-title,
.hero-headline,
.hero-brand,
.card-title,
.service-card h3,
.why-card h4,
.footer-brand,
.contact-head h2,
.articles-list-wrap h2,
.articles-featured h2,
.faq-content h2,
.promo-text h2,
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

.block-section-title,
.section-title,
.hero-headline,
.articles-featured h2,
.faq-content h2,
.promo-text h2 {
    font-weight: 800;
}

.logo-text,
.footer-brand,
.btn-nav-cta,
.btn-send {
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* ========== نوار بالایی ========== */
.top-bar {
    background: linear-gradient(90deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.15);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact span:not(.contact-ltr),
.top-bar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e293b;
    transition: color 0.25s ease;
    text-decoration: none;
}

.top-bar-contact span:not(.contact-ltr):hover,
.top-bar-contact a:hover {
    color: #1976d2;
}

.top-bar-contact .contact-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social {
    display: flex;
    gap: 6px;
}

.top-bar-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.top-bar-social a:hover {
    background: #42a5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.35);
}

.top-bar-social .social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.social-svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.contact-panel-social .social-svg,
.footer-social .social-svg {
    width: 22px;
    height: 22px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #42a5f5, #1976d2);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #2196f3, #1565c0);
}

/* ========== مودال ورود / ثبت نام ========== */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.auth-overlay.is-open {
    display: flex;
    opacity: 1;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.auth-overlay.is-open .auth-card {
    transform: scale(1);
}
.auth-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 24px 28px;
    text-align: center;
}
.auth-card-header h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 4px;
}
.auth-card-header p {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    padding: 0 24px;
    gap: 0;
}
.auth-tabs button {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.auth-tabs button:hover { color: #1976d2; }
.auth-tabs button.active {
    color: #1976d2;
}
.auth-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #42a5f5, #1976d2);
    border-radius: 2px 2px 0 0;
}
.auth-body { padding: 24px 28px 28px; }
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-form .field {
    margin-bottom: 16px;
}
.auth-form .field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}
.auth-form .field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-form .field input:focus {
    outline: none;
    border-color: #42a5f5;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}
.auth-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
    margin-top: 8px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #42a5f5, #1976d2);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
}
.auth-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}
.auth-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.auth-form .msg {
    font-size: 13px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    display: none;
}
.auth-form .msg.error { display: block; background: #fef2f2; color: #b91c1c; }
.auth-form .msg.success { display: block; background: #f0fdf4; color: #15803d; }
.auth-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.auth-close:hover { background: rgba(255,255,255,0.25); }
.auth-card { position: relative; }
.user-menu {
    display: none;
    align-items: center;
    gap: 10px;
}
.user-menu.visible { display: flex; }
.user-menu .welcome {
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
}
.user-menu .btn-logout {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
.user-menu .btn-logout:hover {
    border-color: #f87171;
    color: #dc2626;
    background: #fef2f2;
}
.auth-trigger-wrap .btn-login { display: inline-flex; }
.auth-trigger-wrap.logged-in .btn-login { display: none; }
.auth-trigger-wrap.logged-in .user-menu.visible { display: flex; }

/* ========== نوار ناوبری اصلی ========== */
.main-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.main-nav:hover {
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.08);
}

.main-nav {
    position: relative;
}

.main-nav .container {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo-wrap:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(33, 150, 243, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-wrap:hover .logo-icon {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.3);
}

.logo-icon .logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.logo-wrap:hover .logo-icon .logo-img {
    transform: scale(1.08);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.3;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
    transition: color 0.25s ease;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    transition: color 0.25s ease;
}

.logo-wrap:hover .logo-text,
.logo-wrap:hover .logo-subtitle {
    color: #1976d2;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 4px;
}

.nav-menu > a:not(.btn-nav-cta),
.nav-item-has-mega > a {
    padding: 10px 16px;
    border-radius: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-menu > a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 16px;
    left: 16px;
    height: 2px;
    background: linear-gradient(90deg, #42a5f5, #1976d2);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-menu > a:not(.btn-nav-cta):hover,
.nav-item-has-mega > a:hover {
    color: #1976d2;
    background: rgba(33, 150, 243, 0.06);
}

.nav-menu > a:not(.btn-nav-cta):hover::after {
    transform: scaleX(1);
}

.nav-menu > a.active:not(.btn-nav-cta),
.nav-item-has-mega > a.active {
    background: linear-gradient(135deg, #42a5f5, #1976d2);
    color: #fff;
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
}

.nav-menu > a.active::after {
    display: none;
}

.nav-menu > a.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-inline-start: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.nav-menu > a.btn-nav-cta::after {
    display: none;
}

.nav-menu > a.btn-nav-cta:hover {
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 22px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-toggle:hover {
    background: #e2e8f0;
}

/* منوی مگا فروشگاه */
.nav-item-has-mega {
    position: relative;
}
.nav-item-has-mega > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-item-has-mega > a::after {
    content: '';
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.55;
    transition: transform 0.2s ease;
}
.nav-item-has-mega:hover > a::after {
    transform: rotate(180deg);
}
.nav-mega {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    width: min(920px, 92vw);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 200;
    overflow: hidden;
}
.nav-item-has-mega:hover .nav-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1976d2 100%);
    color: #fff;
}
.nav-mega-head-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}
.nav-mega-head-text span {
    font-size: 12px;
    opacity: 0.85;
}
.nav-mega-all-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.nav-mega-all-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(-2px);
}
.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px 4px 4px;
}
.nav-mega-col {
    min-width: 0;
    padding: 16px 18px 14px;
    border-left: 1px solid #f1f5f9;
}
.nav-mega-col:first-child {
    border-left: none;
}
.nav-mega-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2fe;
}
.nav-mega-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0f2fe, #fef3c7);
    font-size: 14px;
    flex-shrink: 0;
}
.nav-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-mega-col li {
    margin-bottom: 2px;
}
.nav-mega-col a {
    font-size: 12.5px;
    color: #64748b;
    padding: 6px 10px;
    display: block;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s, padding-right 0.18s;
}
.nav-mega-col a:hover {
    color: #1976d2;
    background: rgba(33, 150, 243, 0.08);
    padding-right: 14px;
}
.nav-mega-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #1976d2 !important;
    padding: 4px 0 !important;
    background: none !important;
}
.nav-mega-more:hover {
    color: #1565c0 !important;
    text-decoration: underline;
}
.nav-mega-bottom {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    padding: 10px 16px 14px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    margin: 0;
}
@media (max-width: 900px) {
    .nav-mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-mega-col:nth-child(odd) {
        border-left: none;
    }
    .nav-mega-col:nth-child(-n+2) {
        border-bottom: 1px solid #f1f5f9;
    }
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.nav-toggle span+span {
    margin-top: 5px;
}

.nav-toggle span:first-child {
    margin-top: 0;
}

/* ========== هیرو: محتوا راست، کاروسل چپ ========== */
.hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 420px;
}

.hero-content {
    background: #fff;
    padding: 48px 40px;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23f1f5f9' fill-opacity='0.3'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content-inner {
    position: relative;
    z-index: 1;
}

.hero-brand {
    font-size: 22px;
    font-weight: 800;
    color: #f97316;
    margin-bottom: 12px;
}

.hero-headline {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

.hero-form-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
}

.hero-form-radios {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.hero-form-radios label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}

.hero-form-radios input {
    accent-color: #42a5f5;
}

.hero-form input[type="text"],
.hero-form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 14px;
}

.hero-form input:focus {
    outline: none;
    border-color: #42a5f5;
}

.hero-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #42a5f5;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}

.hero-form .btn-submit:hover {
    background: #2196f3;
}

/* ========== کاروسل هیرو — افکت زوم، کپشن، نور ========== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    min-height: 420px;
    border-radius: 0;
    isolation: isolate;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 12;
}

.hero-carousel-shine {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: hero-shine 6s ease-in-out infinite;
}

@keyframes hero-shine {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.hero-carousel-glow {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 3;
    pointer-events: none;
    animation: hero-sun-pulse 4s ease-in-out infinite;
}

@keyframes hero-sun-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.08); }
}

.hero-carousel-inner {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 1.1s;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 5.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide.active img {
    transform: scale(1.1);
}

.hero-slide {
    background-color: #1e3a5f;
    background-size: cover;
    background-position: center;
}

.hero-slide-caption {
    position: absolute;
    bottom: 58px;
    right: 24px;
    left: auto;
    max-width: min(420px, calc(100% - 48px));
    z-index: 8;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s 0.2s, transform 0.65s 0.2s;
    pointer-events: none;
    padding: 14px 18px 14px 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-slide-caption::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 0;
    width: 4px;
    height: calc(100% - 28px);
    border-radius: 4px 0 0 4px;
    background: linear-gradient(180deg, #42a5f5, #fbbf24);
}

.hero-slide.active .hero-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-caption strong {
    display: block;
    font-size: clamp(15px, 2.1vw, 19px);
    font-weight: 800;
    margin-bottom: 6px;
    padding-right: 10px;
    line-height: 1.45;
    color: #fff;
    text-shadow: none;
}

.hero-slide-caption span {
    display: block;
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.6;
    padding-right: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: none;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 50%),
        linear-gradient(135deg, rgba(25, 118, 210, 0.12) 0%, transparent 55%);
    pointer-events: none;
    z-index: 3;
}

.hero-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.hero-carousel:hover .hero-carousel-nav {
    opacity: 1;
}

.hero-carousel-nav:hover {
    background: rgba(66, 165, 245, 0.85);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.45);
}

.hero-carousel-nav.prev { right: 16px; }
.hero-carousel-nav.next { left: 16px; }

.hero-carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

.hero-carousel-dots button {
    position: relative;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.hero-carousel-dots button:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-carousel-dots button.active {
    background: #42a5f5;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(66, 165, 245, 0.7);
}

.hero-carousel-dots button.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(66, 165, 245, 0.5);
    animation: hero-dot-ring 5s linear infinite;
}

@keyframes hero-dot-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero-carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
}

.hero-carousel-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #42a5f5, #fbbf24);
    box-shadow: 0 0 10px rgba(66, 165, 245, 0.6);
    transition: width 0.1s linear;
}

.hero-carousel-particles {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.hero-carousel-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.6);
    animation: hero-particle 8s ease-in-out infinite;
}

.hero-carousel-particles span:nth-child(1) { top: 20%; right: 15%; animation-delay: 0s; }
.hero-carousel-particles span:nth-child(2) { top: 45%; right: 35%; animation-delay: -2s; width: 3px; height: 3px; }
.hero-carousel-particles span:nth-child(3) { top: 65%; right: 55%; animation-delay: -4s; }
.hero-carousel-particles span:nth-child(4) { top: 30%; right: 70%; animation-delay: -1s; width: 5px; height: 5px; }
.hero-carousel-particles span:nth-child(5) { top: 75%; right: 25%; animation-delay: -3s; }

@keyframes hero-particle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 1; }
    80% { opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide img,
    .hero-carousel-shine,
    .hero-carousel-glow,
    .hero-carousel-particles span,
    .hero-carousel-dots button.active::after {
        animation: none !important;
        transition: none !important;
    }
    .hero-slide.active img { transform: scale(1); }
}

/* ========== بلوک‌سکشن: عنوان وسط + خط آبی ========== */
.block-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 64px;
}

.block-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.block-section-title {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: #1976d2;
    margin-bottom: 8px;
}

.block-section-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #42a5f5, transparent);
    margin: 0 auto 14px;
    border-radius: 2px;
}

.block-section-subtitle {
    font-size: 15px;
    color: #64748b;
}

/* ========== چرا سودی پرگاس تجارت ========== */
.why-section {
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.2), transparent);
    opacity: 0.6;
}

.why-section .block-section-header {
    margin-bottom: 48px;
}

.why-section .block-section-title {
    font-size: clamp(24px, 2.8vw, 30px);
    letter-spacing: -0.02em;
}

.why-section .block-section-underline {
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #42a5f5, #1976d2, #42a5f5, transparent);
    margin: 0 auto 16px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.25);
}

.why-section .block-section-subtitle {
    font-size: 16px;
    color: #475569;
    max-width: 480px;
    margin: 0 auto;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(33, 150, 243, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #42a5f5, #0284c7);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(33, 150, 243, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #42a5f5, #1976d2);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover .why-card-icon {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(33, 150, 243, 0.4);
}

.why-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.why-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
}

/* ========== خدمات سودی پرگاس تجارت ========== */
.services-section {
    background: #f8fafc;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(33, 150, 243, 0.12);
    border-color: rgba(33, 150, 243, 0.25);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 10px;
}

.service-card-line {
    width: 40px;
    height: 2px;
    background: #42a5f5;
    margin: 0 auto 14px;
    border-radius: 1px;
}

.service-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card-more {
    font-size: 13px;
    font-weight: 600;
    color: #1976d2;
}

.service-card-more:hover {
    text-decoration: underline;
}

/* ========== بقیه بخش‌ها (همان محتوای قبلی با تم جدید) ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 48px 0;
}

/* ========== محصولات — سه کارت ========== */
#products {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
    padding: 56px 20px 64px;
}

#products .section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

#products .section-title {
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

#products .section-description {
    font-size: 15px;
    color: #475569;
    margin-bottom: 36px;
    max-width: 640px;
    line-height: 1.75;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cards-grid-more {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
    .cards-grid-more { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(33, 150, 243, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #42a5f5, #0284c7);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.1), 0 8px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(33, 150, 243, 0.18);
}

.card:hover::before {
    opacity: 1;
}

.card-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(2, 132, 199, 0.08);
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.card-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
}

/* ========== ماشین حساب انرژی خورشیدی (درآمد و هزینه) ========== */
#calculator {
    background: #f8fafc;
    padding: 56px 20px 64px;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
#calculator .block-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.calc-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .calc-wrap { grid-template-columns: 1fr; }
}
.calc-side-right {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    min-width: 0;
    overflow: hidden;
}
.calc-side-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}
.calc-title-main {
    font-size: 20px;
    font-weight: 800;
    color: #1976d2;
    margin-bottom: 16px;
}
.calc-price-label {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
}
.calc-price-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.calc-price-input-wrap input {
    width: 120px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
}
.calc-provider-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.calc-provider-btn {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.calc-provider-btn.active {
    background: #3692E6;
    color: #fff;
}
.calc-provider-btn.active .calc-provider-icon {
    filter: none;
}
.calc-provider-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 1.1em;
}
.calc-provider-btn.active .calc-provider-icon { color: #f97316; }
.btn-buy-soodipergas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    background: #3692E6;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(54, 146, 230, 0.4);
}
.btn-buy-soodipergas:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 146, 230, 0.5);
}
.btn-buy-soodipergas .btn-buy-icon {
    color: #f97316;
    font-size: 20px;
}
.calc-slider-wrap {
    margin-bottom: 20px;
}
.calc-slider-wrap label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.calc-slider-wrap .calc-slider-value {
    font-size: 15px;
    color: #1976d2;
    font-weight: 700;
    margin-top: 6px;
}
.calc-slider-wrap input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    accent-color: #1976d2;
}
.calc-output-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}
.calc-output-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.calc-output-card .calc-output-icon { font-size: 22px; flex-shrink: 0; }
.calc-output-card .calc-output-label { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.calc-output-card .calc-output-value { font-size: 15px; font-weight: 700; color: #0f172a; word-break: break-all; min-width: 0; }
.calc-note-red {
    margin-top: 16px;
    padding: 12px 14px;
    background: #fef2f2;
    border-radius: 10px;
    font-size: 13px;
    color: #b91c1c;
    border-right: 4px solid #ef4444;
}
.calc-profit-box {
    background: linear-gradient(145deg, #059669, #10b981);
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.calc-profit-box .calc-profit-label { font-size: 14px; opacity: 0.95; margin-bottom: 8px; }
.calc-profit-box .calc-profit-value { font-size: 22px; font-weight: 800; }
.calc-chart-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.calc-chart-wrap h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.calc-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 180px;
    min-width: 0;
}
.calc-chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.calc-chart-bar-wrap { display: flex; gap: 2px; align-items: flex-end; height: 140px; }
.calc-chart-bar.income { background: #3b82f6; border-radius: 4px 4px 0 0; min-height: 4px; }
.calc-chart-bar.installment { background: #eab308; border-radius: 4px 4px 0 0; min-height: 4px; }
.calc-chart-year { font-size: 11px; color: #64748b; }
.calc-circle-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    text-align: center;
}
.calc-circle-wrap h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.calc-circle-value {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e0f2fe, #bae6fd);
    border: 3px solid #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #0c4a6e;
}
.calc-circle-desc { font-size: 12px; color: #64748b; line-height: 1.6; }
.calc-circles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ========== وام برق خورشیدی ========== */
#vam {
    background: #f8fafc;
    padding: 56px 20px 64px;
}
.vam-inner {
    max-width: 900px;
    margin: 0 auto;
}
.vam-inner h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1976d2;
    text-align: center;
    margin-bottom: 12px;
}
.vam-inner .vam-subtitle {
    text-align: center;
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
}
.vam-madarek {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}
.vam-madarek h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}
.vam-madarek ul {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
    padding-right: 20px;
}
.vam-madarek li { margin-bottom: 6px; }

/* ========== ریسپانسیو: ماشین حساب و وام ========== */
@media (max-width: 900px) {
    .calc-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .calc-side-left {
        order: 2;
    }
    .calc-side-right {
        order: 1;
    }
}
@media (max-width: 768px) {
    #calculator {
        padding: 40px 0 48px;
        width: 100%;
    }
    #calculator .block-section {
        padding: 0 16px;
        max-width: 100%;
    }
    #calculator .block-section-header {
        margin-bottom: 28px;
        padding: 0 4px;
    }
    .calc-side-right {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .calc-title-main {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .calc-provider-toggle {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .calc-provider-btn {
        padding: 14px 16px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }
    .btn-buy-soodipergas {
        padding: 12px 20px;
        font-size: 15px;
    }
    .calc-output-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 16px;
    }
    .calc-output-card .calc-output-value {
        font-size: 14px;
    }
    .calc-profit-box {
        padding: 20px 18px;
        border-radius: 14px;
        min-width: 0;
    }
    .calc-profit-box .calc-profit-value {
        font-size: 18px;
        word-break: break-all;
    }
    .calc-chart-wrap {
        padding: 16px;
        border-radius: 14px;
    }
    .calc-chart-wrap h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .calc-chart-wrap {
        min-width: 0;
        overflow: hidden;
    }
    .calc-chart-bars {
        height: 160px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -4px;
    }
    .calc-chart-bar-group {
        min-width: 32px;
        flex: 0 0 auto;
    }
    .calc-chart-bar-wrap {
        height: 120px;
    }
    .calc-chart-year {
        font-size: 10px;
    }
    .calc-circle-wrap {
        padding: 16px;
    }
    .calc-circle-value {
        width: 70px;
        height: 70px;
        font-size: 15px;
    }
    .calc-circle-desc {
        font-size: 11px;
    }
    #vam {
        padding: 40px 16px 48px;
    }
    .vam-inner h2 {
        font-size: 19px;
        margin-bottom: 10px;
    }
    .vam-inner .vam-subtitle {
        font-size: 14px;
        margin-bottom: 22px;
    }
    .vam-madarek {
        padding: 22px 20px;
        border-radius: 14px;
        margin-bottom: 20px;
    }
    .vam-madarek h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .vam-madarek ul {
        font-size: 13px;
        padding-right: 18px;
    }
}
@media (max-width: 480px) {
    #calculator {
        padding: 32px 0 40px;
    }
    #calculator .block-section {
        padding: 0 12px;
    }
    .calc-side-right {
        padding: 18px 14px;
    }
    .calc-price-label {
        font-size: 12px;
    }
    .calc-price-input-wrap {
        flex-wrap: wrap;
    }
    .calc-price-input-wrap input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .calc-slider-wrap label {
        font-size: 13px;
    }
    .calc-slider-wrap .calc-slider-value {
        font-size: 14px;
    }
    .calc-note-red {
        font-size: 12px;
        padding: 10px 12px;
    }
    .calc-profit-box .calc-profit-value {
        font-size: 16px;
        word-break: break-all;
    }
    .calc-chart-bars {
        height: 150px;
    }
    .calc-chart-bar-group {
        min-width: 32px;
    }
    .calc-circle-value {
        width: 64px;
        height: 64px;
        font-size: 13px;
    }
    #vam {
        padding: 32px 12px 40px;
    }
    .vam-inner h2 {
        font-size: 17px;
    }
    .vam-madarek {
        padding: 18px 16px;
    }
}
@media (max-width: 768px) {
    .calc-circles-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== درباره ما — متن + کارت آبی ========== */
#about {
    background: #fff;
    padding: 56px 20px 64px;
}

#about .section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

#about .section-title {
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

#about .section-description {
    font-size: 15px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-panel {
    background: linear-gradient(145deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 8px 32px rgba(2, 132, 199, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about-panel h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 14px;
    position: relative;
}

.about-panel p {
    font-size: 15px;
    color: #0c4a6e;
    line-height: 1.75;
    opacity: 0.95;
    position: relative;
}

.about-list {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.about-list li {
    margin-bottom: 12px;
    padding-right: 22px;
    position: relative;
}

.about-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #42a5f5, #0284c7);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.section-eyebrow {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-description {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

/* ========== نظرات مشتریان — طبیعی، بدون کاروسل ========== */
#testimonials {
    background: #f8fafc;
    padding: 48px 20px 56px;
    border-top: 1px solid #e2e8f0;
}

.testimonials-inner {
    max-width: 960px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 12px;
}

.testimonials-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.testimonials-header .testimonials-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

.testimonials-note {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 28px;
}

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

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-avatar.a1 { background: #64748b; }
.testimonial-avatar.a2 { background: #475569; }
.testimonial-avatar.a3 { background: #334155; }
.testimonial-avatar.a4 { background: #1e293b; }

.testimonial-meta h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.testimonial-meta p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.testimonial-stars {
    font-size: 13px;
    letter-spacing: 1px;
    color: #f59e0b;
}

.testimonial-stars span {
    color: #cbd5e1;
}

.testimonial-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.85;
    margin: 0;
}

.testimonial-date {
    font-size: 11px;
    color: #94a3b8;
    margin-top: auto;
    padding-top: 4px;
}

/* ========== مقالات ========== */
#articles {
    background: #f8fafc;
    padding: 56px 20px 64px;
}

.articles-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.articles-list-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(33, 150, 243, 0.06);
}

.articles-list-wrap h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1976d2;
    margin-bottom: 8px;
}

.articles-list-wrap .articles-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.6;
}

.article-preview {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.article-preview:last-of-type {
    border-bottom: none;
}

.article-preview-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e0f2fe, #bae6fd);
    background-size: cover;
    background-position: center;
}

.article-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.article-preview h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-preview h3 a {
    color: inherit;
}

.article-preview h3 a:hover {
    color: #1976d2;
}

.article-preview p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.article-meta {
    font-size: 12px;
    color: #94a3b8;
}

.articles-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1976d2;
}

.articles-all-link:hover {
    text-decoration: underline;
}

.articles-featured {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.08);
}

.articles-featured-image {
    height: 220px;
    background: linear-gradient(145deg, #0f172a, #1e3a5f);
    background-size: cover;
    background-position: center;
    position: relative;
}

.articles-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-featured-body {
    padding: 28px 32px 32px;
}

.articles-featured h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.articles-featured .articles-featured-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.articles-featured-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1976d2;
}

.articles-featured-more:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .articles-inner {
        grid-template-columns: 1fr;
    }

    .articles-featured {
        order: 1;
    }

    .articles-list-wrap {
        order: 2;
    }
}

@media (max-width: 576px) {
    .article-preview {
        grid-template-columns: 1fr;
    }

    .article-preview-thumb {
        width: 100%;
        height: 140px;
    }
}

/* ========== تماس با ما ========== */
.contact-section {
    background: linear-gradient(165deg, #f0f9ff 0%, #e8f4fd 45%, #f8fafc 100%);
    padding: 64px 20px 72px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.12) 0%, transparent 70%);
    top: -120px;
    left: -80px;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -60px;
    pointer-events: none;
}

.contact-shell {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-head {
    text-align: center;
    margin-bottom: 36px;
}

.contact-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1976d2;
    background: rgba(25, 118, 210, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.contact-head h2 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.contact-head p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 28px 32px;
    border: 1px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.contact-form-card .contact-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.contact-form-card .contact-form-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.contact-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-field-wrap .field-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.contact-field-wrap input:focus~.field-icon,
.contact-field-wrap textarea:focus~.field-icon {
    color: #1976d2;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 42px 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}

.contact-form-card textarea {
    padding: 12px 14px 12px 42px;
    min-height: 88px;
    resize: vertical;
    max-height: 160px;
    text-align: right;
    direction: rtl;
}

.contact-field-textarea .field-icon-textarea {
    top: 12px;
    right: 12px;
    left: auto;
    transform: none;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #42a5f5;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
    background: #fff;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #94a3b8;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.contact-form-card .btn-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.35);
}

.contact-form-card .btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(25, 118, 210, 0.4);
}

.contact-form-card .form-note {
    font-size: 12px;
    color: #94a3b8;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(33, 150, 243, 0.2);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.25);
}

.contact-info-card:nth-child(2) .contact-info-icon {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.contact-info-card:nth-child(3) .contact-info-icon {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

.contact-info-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.contact-info-body p,
.contact-info-body address {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: #475569;
    font-style: normal;
}

.contact-info-body a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}

.contact-info-body a:hover {
    text-decoration: underline;
}

.contact-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-quick-btn--call {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
}

.contact-quick-btn--map {
    background: #fff;
    color: #1976d2;
    border: 1px solid rgba(25, 118, 210, 0.25);
}

.contact-quick-btn:hover {
    transform: translateY(-2px);
}

.contact-map-card {
    margin-top: 24px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.1);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.contact-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    flex-wrap: wrap;
}

.contact-map-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.contact-map-head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.contact-map-head a {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.contact-map-head a:hover {
    text-decoration: underline;
}

.contact-map-frame {
    position: relative;
    width: 100%;
    height: 320px;
    background: #e2e8f0;
}

.contact-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-stack {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 48px 16px 56px;
    }

    .contact-form-card {
        padding: 22px 18px 26px;
        border-radius: 18px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-card .btn-send {
        justify-content: center;
    }

    .contact-quick-actions {
        grid-template-columns: 1fr;
    }

    .contact-map-frame {
        height: 260px;
    }
}

/* ========== سوالات متداول (FAQ) ========== */
#faq {
    background: #fff;
    padding: 56px 20px 64px;
}

.faq-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.faq-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
    background-size: cover;
    background-position: center;
}

.faq-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.faq-content h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    padding-right: 16px;
    border-right: 4px solid #1976d2;
}

.faq-content .faq-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.6;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '▼';
    font-size: 12px;
    color: #1976d2;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item summary:hover {
    color: #1976d2;
}

.faq-item .faq-answer {
    padding: 0 0 20px 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
}

@media (max-width: 992px) {
    .faq-inner {
        grid-template-columns: 1fr;
    }

    .faq-image-wrap {
        order: 1;
        min-height: 280px;
    }

    .faq-image-wrap img {
        min-height: 280px;
    }

    .faq-content {
        order: 2;
    }
}

/* ========== بخش پایین: متن + جای عکس ========== */
.promo-section {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 380px;
    padding: 0;
}

.promo-text {
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 45%, #fff 100%);
    padding: 56px 48px 56px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-text .promo-label {
    font-size: 12px;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.promo-text h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 20px;
}

.promo-text h2 span {
    color: #0369a1;
    font-weight: 800;
}

.promo-text p {
    font-size: 15px;
    color: #475569;
    line-height: 1.85;
}

.promo-image {
    min-height: 380px;
    background: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .promo-section {
        grid-template-columns: 1fr;
    }

    .promo-image {
        order: 1;
        min-height: 280px;
    }

    .promo-image img {
        min-height: 280px;
    }

    .promo-text {
        order: 2;
        padding: 40px 24px;
    }
}

/* ========== ریسپانسیو موبایل ========== */
@media (max-width: 1200px) {
    .services-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 2;
        padding: 28px 20px;
    }

    .hero-carousel {
        order: 1;
        min-height: 260px;
    }

    .hero-carousel-nav {
        opacity: 1;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .hero-slide-caption {
        bottom: 52px;
        right: 12px;
        left: 12px;
        max-width: none;
        padding: 12px 14px 12px 12px;
    }

    .hero-slide-caption strong {
        font-size: 14px;
    }

    .hero-slide-caption span {
        font-size: 12px;
    }

    .hero-carousel img {
        min-height: 260px;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .block-section {
        padding: 40px 16px 48px;
    }

    .articles-inner {
        grid-template-columns: 1fr;
    }

    .articles-featured {
        order: 1;
    }

    .articles-list-wrap {
        order: 2;
    }

    .faq-inner {
        grid-template-columns: 1fr;
    }

    .faq-image-wrap {
        order: 1;
        min-height: 240px;
    }

    .faq-image-wrap img {
        min-height: 240px;
    }

    .faq-content {
        order: 2;
    }

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

    .nav-mega {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        padding: 0 12px;
    }

    .top-bar-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .top-bar-contact span {
        font-size: 12px;
    }

    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-login {
        padding: 8px 16px;
        font-size: 12px;
    }

    .main-nav .container {
        display: flex;
        justify-content: space-between;
        padding: 10px 12px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: #fff;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        padding: 12px;
        border-radius: 0 0 12px 12px;
        gap: 4px;
    }

    .main-nav.nav-open .nav-menu {
        display: flex;
    }

    .nav-menu > a:not(.btn-nav-cta),
    .nav-item-has-mega > a,
    .nav-menu > a.btn-nav-cta {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .nav-menu > a.btn-nav-cta {
        margin: 0;
        justify-content: center;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon .logo-img {
        width: 24px;
        height: 24px;
    }

    .hero-wrap {
        min-height: auto;
    }

    .hero-content {
        padding: 24px 16px;
    }

    .hero-brand {
        font-size: 18px;
    }

    .hero-headline {
        font-size: 20px;
    }

    .hero-desc {
        font-size: 13px;
    }

    .hero-form-title {
        font-size: 14px;
    }

    .why-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .block-section {
        padding: 32px 12px 40px;
    }

    .block-section-header {
        margin-bottom: 28px;
    }

    .block-section-title {
        font-size: 20px;
    }

    .block-section-subtitle {
        font-size: 14px;
    }

    .why-section .block-section-header {
        margin-bottom: 32px;
    }

    .why-card {
        padding: 22px 18px;
    }

    .service-card {
        padding: 22px 18px;
    }

    #products {
        padding: 40px 12px 48px;
    }

    #products .section-title {
        font-size: 20px;
    }

    #products .section-description {
        margin-bottom: 24px;
    }

    .card {
        padding: 22px 18px;
    }

    #about {
        padding: 40px 12px 48px;
    }

    #about .section-title {
        font-size: 20px;
    }

    .about-panel {
        padding: 24px 20px;
    }

    #testimonials {
        padding: 32px 12px 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-header h2 {
        font-size: 18px;
    }

    .testimonial-card {
        padding: 18px 16px;
    }

    #articles {
        padding: 40px 12px 48px;
    }

    .articles-featured-body {
        padding: 20px 16px 24px;
    }

    .articles-featured h2 {
        font-size: 18px;
    }

    .articles-list-wrap {
        padding: 24px 16px;
    }

    .article-preview {
        grid-template-columns: 1fr;
        padding: 16px 0;
        gap: 12px;
    }

    .article-preview-thumb {
        width: 100%;
        height: 120px;
    }

    .article-preview h3 a {
        font-size: 14px;
    }

    #faq {
        padding: 40px 12px 48px;
    }

    .faq-content h2 {
        font-size: 20px;
    }

    .faq-item summary {
        font-size: 14px;
        padding: 14px 0;
    }

    .contact-section {
        padding: 40px 12px 48px;
    }

    .contact-head h2 {
        font-size: 22px;
    }

    .contact-form-card {
        padding: 20px 16px 24px;
    }

    .promo-section {
        min-height: auto;
    }

    .promo-text {
        padding: 32px 20px;
    }

    .promo-text h2 {
        font-size: 20px;
    }

    .promo-image {
        min-height: 240px;
    }

    .promo-image img {
        min-height: 240px;
    }

    .footer-main {
        padding: 32px 12px 24px;
    }

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

    .footer-bottom-bar {
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-carousel {
        min-height: 220px;
    }

    .hero-carousel img {
        min-height: 220px;
    }

    .contact-inner {
        min-height: auto;
    }
}

@keyframes subtle-glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35); }
    50% { box-shadow: 0 4px 20px rgba(33, 150, 243, 0.45); }
}
.hero-form .btn-submit {
    animation: subtle-glow 3s ease-in-out infinite;
}
