        :root {
            --primary: #2E7D32;
            --primary-light: #4CAF50;
            --primary-dark: #1B5E20;
            --secondary: #66BB6A;
            --accent: #A5D6A7;
            --gold: #FFB300;
            --gold-light: #FFD54F;
            --bg-light: #F1F8E9;
            --bg-white: #FFFFFF;
            --text-dark: #1a1a2e;
            --text-medium: #424242;
            --text-light: #757575;
            --danger: #E53935;
            --warning: #FF9800;
            --info: #2196F3;
            --success: #43A047;
            --gradient-primary: linear-gradient(135deg, #1B5E20, #4CAF50);
            --gradient-hero: linear-gradient(135deg, #1B5E20 0%, #2E7D32 30%, #388E3C 60%, #43A047 100%);
            --gradient-gold: linear-gradient(135deg, #FF8F00, #FFB300);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
            --shadow-xl: 0 12px 60px rgba(0,0,0,0.2);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 30px;
        }

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

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.8;
            overflow-x: hidden;
        }

        /* ===== HEADER / NAVBAR ===== */
        .navbar {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            padding: 12px 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            padding: 8px 0;
            box-shadow: var(--shadow-md);
        }

        .nav-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .nav-logo img {
            height: 45px;
        }

        .nav-logo-text {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--primary);
        }

        .nav-logo-sub {
            font-size: 0.7rem;
            color: var(--text-light);
            display: block;
            margin-top: -4px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-medium);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--gradient-primary) !important;
            color: white !important;
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s !important;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(46,125,50,0.4);
        }

        .nav-cta::after {
            display: none !important;
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
            cursor: pointer;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            min-height: 100vh;
            background: var(--gradient-hero);
            position: relative;
            display: flex;
            align-items: center;
            padding-top: 80px;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            z-index: 0;
        }

        .hero-floating {
            position: absolute;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            animation: float 8s infinite ease-in-out;
        }

        .hero-floating:nth-child(1) { width: 300px; height: 300px; top: -50px; left: -100px; animation-delay: 0s; }
        .hero-floating:nth-child(2) { width: 200px; height: 200px; top: 60%; right: -50px; animation-delay: 2s; }
        .hero-floating:nth-child(3) { width: 150px; height: 150px; bottom: -30px; left: 40%; animation-delay: 4s; }
        .hero-floating:nth-child(4) { width: 100px; height: 100px; top: 30%; left: 20%; animation-delay: 6s; }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(5deg); }
        }

        .hero-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            color: white;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 24px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .hero-badge i {
            color: var(--gold-light);
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.3;
            margin-bottom: 20px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.2);
        }

        .hero h1 span {
            color: var(--gold-light);
            position: relative;
        }

        .hero-desc {
            font-size: 1.15rem;
            line-height: 2;
            opacity: 0.9;
            margin-bottom: 36px;
            max-width: 520px;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            margin-bottom: 40px;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-num {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--gold-light);
            display: block;
        }

        .hero-stat-label {
            font-size: 0.85rem;
            opacity: 0.8;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 50px;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .btn-gold {
            background: var(--gradient-gold);
            color: #1a1a2e;
            box-shadow: 0 4px 20px rgba(255,179,0,0.4);
        }

        .btn-gold:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 30px rgba(255,179,0,0.5);
        }

        .btn-outline-white {
            background: transparent;
            color: white;
            border: 2px solid rgba(255,255,255,0.4);
        }

        .btn-outline-white:hover {
            background: rgba(255,255,255,0.1);
            border-color: white;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 4px 20px rgba(46,125,50,0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 30px rgba(46,125,50,0.4);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .btn-sm {
            padding: 10px 22px;
            font-size: 0.9rem;
        }

        .btn-lg {
            padding: 16px 40px;
            font-size: 1.1rem;
        }

        /* Hero Quick Calculator Card */
        .hero-card {
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(20px);
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: var(--shadow-xl);
        }

        .hero-card-title {
            color: white;
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hero-card-title i {
            color: var(--gold-light);
        }

        .hero-card-sub {
            color: rgba(255,255,255,0.7);
            font-size: 0.9rem;
            margin-bottom: 24px;
        }

        .quick-form-group {
            margin-bottom: 16px;
        }

        .quick-form-group label {
            display: block;
            color: rgba(255,255,255,0.9);
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 6px;
        }

        .quick-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .quick-input {
            width: 100%;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .quick-input::placeholder {
            color: rgba(255,255,255,0.4);
        }

        .quick-input:focus {
            outline: none;
            border-color: var(--gold-light);
            background: rgba(255,255,255,0.15);
        }

        .quick-select {
            width: 100%;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 0.95rem;
            cursor: pointer;
        }

        .quick-select option {
            background: var(--primary-dark);
            color: white;
        }

        .hero-card .btn {
            width: 100%;
            justify-content: center;
            margin-top: 8px;
        }

        .free-badge-hero {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(67,160,71,0.3);
            color: var(--accent);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            margin-top: 12px;
        }

        /* ===== SECTION COMMON ===== */
        .section {
            padding: 100px 0;
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 30px;
        }

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

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-light);
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 600;
            padding: 8px 20px;
            border-radius: 50px;
            margin-bottom: 16px;
            border: 1px solid var(--accent);
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 16px;
        }

        .section-title span {
            color: var(--primary);
        }

        .section-desc {
            font-size: 1.05rem;
            color: var(--text-light);
            max-width: 650px;
            margin: 0 auto;
            line-height: 2;
        }

        /* ===== BMI CALCULATOR SECTION ===== */
        .bmi-section {
            background: white;
        }

        .bmi-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: start;
        }

        .bmi-form-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(0,0,0,0.05);
        }

        .bmi-form-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .bmi-form-title i {
            color: var(--primary);
        }

        .bmi-form-sub {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .form-label span {
            font-weight: 400;
            color: var(--text-light);
            font-size: 0.8rem;
        }

        .form-input, .form-select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e0e0e0;
            border-radius: var(--radius-sm);
            font-family: 'Vazirmatn', sans-serif;
            font-size: 0.95rem;
            color: var(--text-dark);
            transition: all 0.3s;
            background: white;
        }

        .form-input:focus, .form-select:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 4px rgba(76,175,80,0.1);
        }

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

        .gender-selector {
            display: flex;
            gap: 12px;
        }

        .gender-option {
            flex: 1;
            position: relative;
        }

        .gender-option input {
            position: absolute;
            opacity: 0;
        }

        .gender-option label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px;
            border: 2px solid #e0e0e0;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .gender-option input:checked + label {
            border-color: var(--primary);
            background: var(--bg-light);
            color: var(--primary);
        }

        .gender-option label:hover {
            border-color: var(--primary-light);
        }

        .activity-selector {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .activity-option {
            position: relative;
        }

        .activity-option input {
            position: absolute;
            opacity: 0;
        }

        .activity-option label {
            display: block;
            padding: 10px 14px;
            border: 2px solid #e0e0e0;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.85rem;
            text-align: center;
        }

        .activity-option input:checked + label {
            border-color: var(--primary);
            background: var(--bg-light);
            color: var(--primary);
            font-weight: 600;
        }

        .activity-option label:hover {
            border-color: var(--primary-light);
        }

        /* BMI Results */
        .bmi-results {
            display: none;
        }

        .bmi-results.active {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

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

        .bmi-result-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }

        .bmi-score-circle {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            margin: 0 auto 24px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .bmi-score-circle::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            padding: 4px;
            background: conic-gradient(var(--primary) 0%, var(--accent) 50%, #e0e0e0 50%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: exclude;
            mask-composite: exclude;
        }

        .bmi-score-num {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1;
        }

        .bmi-score-label {
            font-size: 0.9rem;
            font-weight: 600;
            margin-top: 4px;
        }

        .bmi-gauge {
            width: 100%;
            height: 16px;
            border-radius: 10px;
            background: linear-gradient(to left, #E53935, #FF9800, #FFB300, #66BB6A, #2196F3);
            position: relative;
            margin: 20px 0;
        }

        .bmi-gauge-marker {
            position: absolute;
            top: -8px;
            width: 4px;
            height: 32px;
            background: var(--text-dark);
            border-radius: 4px;
            transition: left 0.5s ease;
        }

        .bmi-gauge-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            color: var(--text-light);
            margin-top: 4px;
        }

        .health-indicators {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 24px;
        }

        .health-indicator {
            padding: 16px;
            border-radius: var(--radius-sm);
            background: var(--bg-light);
            text-align: center;
        }

        .health-indicator-value {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }

        .health-indicator-label {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .bmi-category {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            border-radius: var(--radius-sm);
            margin-top: 16px;
        }

        .bmi-category i {
            font-size: 1.5rem;
        }

        .bmi-category-text h4 {
            font-size: 1rem;
            margin-bottom: 2px;
        }

        .bmi-category-text p {
            font-size: 0.85rem;
            opacity: 0.8;
        }

        /* ===== FREE PLANS SECTION ===== */
        .plans-section {
            background: var(--bg-light);
        }

        .plans-results {
            display: none;
        }

        .plans-results.active {
            display: block;
            animation: fadeInUp 0.6s ease;
        }

        .plan-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 30px;
            background: white;
            padding: 6px;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow-x: auto;
        }

        .plan-tab {
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            border: none;
            background: transparent;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .plan-tab.active {
            background: var(--gradient-primary);
            color: white;
            font-weight: 600;
        }

        .plan-tab:hover:not(.active) {
            color: var(--primary);
            background: var(--bg-light);
        }

        .plan-content {
            display: none;
        }

        .plan-content.active {
            display: block;
            animation: fadeInUp 0.4s ease;
        }

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

        .diet-card {
            background: white;
            border-radius: var(--radius-md);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

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


        /* ===== تصویر بخش هیرو ===== */
        .hero {
            align-items: flex-end;
        }

        .hero-container {
            align-items: end;
        }

        .hero-content {
            padding-bottom: 40px;
        }

        .hero-visual {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 380px;
            align-self: center;
            padding-bottom: 40px;
        }

        .hero-visual picture {
            display: block;
            width: 100%;
        }

        .hero-visual img {
            display: block;
            width: 100%;
            /* تصویر افقی است، پس عرض بیشتری می‌گیرد */
            max-width: 620px;
            height: auto;
            margin: 0 auto 0;
            filter: drop-shadow(0 20px 38px rgba(0,0,0,0.22));
            animation: heroImgIn 0.9s ease-out both;
        }

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

        /* هاله ملایم پشت تصویر تا روی پس‌زمینه سبز شناور به نظر نرسد */
        .hero-visual::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 88%;
            height: 82%;
            background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
            pointer-events: none;
        }

        @media (max-width: 992px) {
            .hero { align-items: center; }
            .hero-container { align-items: center; }
            .hero-content { padding-bottom: 0; }
            .hero-visual { min-height: auto; order: 2; margin-top: 10px; padding-bottom: 0; }
            .hero-visual img { max-width: 440px; margin-bottom: 0; }
            .hero-visual::before { display: none; }
        }

        @media (max-width: 576px) {
            .hero-visual img { max-width: 320px; }
        }


        /* ===== لوگو در نویگیشن ===== */
        /* نویگیشن همیشه پس‌زمینه روشن دارد، پس فقط لوگوی رنگی اصلی استفاده می‌شود */
        .nav-logo picture { display: block; line-height: 0; }
        .nav-logo img { height: 44px; width: auto; display: block; transition: height .3s ease; }
        .navbar.scrolled .nav-logo img { height: 38px; }

        .footer-logo { height: 58px; width: auto; margin-bottom: 18px; display: block; }

        @media (max-width: 768px) {
            .nav-logo img { height: 34px; }
            .nav-logo-text, .nav-logo-sub { display: none; }
        }

        /* ===== پاپ‌آپ خوشامدگویی ===== */
        .welcome-overlay {
            position: fixed;
            inset: 0;
            background: rgba(12, 28, 15, 0.72);
            backdrop-filter: blur(6px);
            z-index: 3000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: opacity .35s ease, visibility .35s ease;
        }

        .welcome-overlay.active { opacity: 1; visibility: visible; }

        .welcome-box {
            background: #fff;
            border-radius: 22px;
            max-width: 640px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 0 30px 70px rgba(0,0,0,.35);
            transform: translateY(26px) scale(.97);
            transition: transform .4s cubic-bezier(.2,.8,.25,1);
        }

        .welcome-overlay.active .welcome-box { transform: translateY(0) scale(1); }

        .welcome-close {
            position: absolute;
            top: 14px;
            left: 14px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,.2);
            color: #fff;
            cursor: pointer;
            font-size: .95rem;
            z-index: 2;
            transition: background .25s;
        }
        .welcome-close:hover { background: rgba(255,255,255,.35); }

        .welcome-head {
            background: var(--gradient-hero, linear-gradient(135deg,#2E7D32,#4CAF50));
            padding: 34px 30px 28px;
            text-align: center;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .welcome-glow {
            position: absolute;
            top: -60%;
            left: 50%;
            transform: translateX(-50%);
            width: 320px;
            height: 320px;
            background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 68%);
            pointer-events: none;
        }

        .welcome-logo { height: 62px; width: auto; margin: 0 auto; display: block; position: relative; }

        .welcome-tagline {
            color: rgba(255,255,255,.9);
            font-size: .84rem;
            margin: 12px 0 0;
            letter-spacing: .3px;
            position: relative;
        }

        .welcome-body {
            padding: 26px 30px 30px;
            overflow-y: auto;
        }

        .welcome-title {
            font-size: 1.45rem;
            font-weight: 800;
            text-align: center;
            color: var(--text-dark);
            margin: 0 0 18px;
        }
        .welcome-title span { color: var(--primary); }

        .welcome-text p {
            font-size: .93rem;
            line-height: 2.05;
            color: var(--text-medium);
            margin: 0 0 13px;
            text-align: justify;
        }

        .welcome-highlight {
            background: var(--bg-light);
            border-right: 4px solid var(--primary);
            border-radius: 10px;
            padding: 14px 16px;
            color: var(--text-dark) !important;
            font-weight: 500;
        }

        .welcome-cta {
            width: 100%;
            justify-content: center;
            margin-top: 20px;
        }

        @media (max-width: 576px) {
            .welcome-head { padding: 26px 20px 22px; }
            .welcome-logo { height: 48px; }
            .welcome-body { padding: 20px 20px 24px; }
            .welcome-title { font-size: 1.2rem; }
            .welcome-text p { font-size: .87rem; line-height: 1.95; }
        }


        /* ===== آیکون‌های اجتماعی داینامیک ===== */
        .footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
        .footer-social a[style*="--sc"]:hover { background: var(--sc) !important; border-color: var(--sc) !important; color: #fff !important; }
        .whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }


        /* ===================== تجربه وب‌اپ در موبایل ===================== */
        .app-nav { display: none; }

        @media (max-width: 768px) {
            /* نوار پایین ثابت، شبیه اپلیکیشن موبایل */
            .app-nav {
                display: flex;
                position: fixed;
                bottom: 0; left: 0; right: 0;
                background: rgba(255,255,255,.97);
                backdrop-filter: blur(12px);
                border-top: 1px solid rgba(0,0,0,.07);
                box-shadow: 0 -3px 18px rgba(0,0,0,.07);
                z-index: 1200;
                padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
                justify-content: space-around;
            }
            .app-nav-item {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 3px;
                text-decoration: none;
                color: var(--text-light);
                font-size: .63rem;
                padding: 6px 2px;
                border-radius: 12px;
                transition: color .2s, background .2s;
                -webkit-tap-highlight-color: transparent;
            }
            .app-nav-item i { font-size: 1.12rem; }
            .app-nav-item.active { color: var(--primary); background: var(--bg-light); }

            /* فضای لازم تا نوار پایین محتوا را نپوشاند */
            body { padding-bottom: 66px; }

            /* اهداف لمسی بزرگ‌تر و راحت‌تر */
            .btn { min-height: 48px; padding: 13px 22px; }
            .btn-lg { min-height: 54px; font-size: 1rem; }
            .form-input, .form-select, select, input[type="text"],
            input[type="number"], input[type="tel"], input[type="email"], textarea {
                min-height: 50px;
                font-size: 16px;   /* جلوگیری از زوم خودکار iOS هنگام تمرکز روی فیلد */
                border-radius: 12px;
            }
            .cal-day label, .time-slot label { min-height: 46px; display: flex; align-items: center; justify-content: center; }
            .ing-chip, .diet-pick { min-height: 42px; }
            .plan-tab { min-height: 44px; }

            /* کارت‌ها تمام‌عرض و خواناتر */
            .diet-card { padding: 18px; }
            .section { padding: 46px 0; }
            .container { padding: 0 16px; }

            /* اسکرول نرم‌تر و بدون پرش هنگام کلیک روی منوی پایین */
            html { scroll-padding-bottom: 80px; }

            /* منوی کشویی بالا کمی جمع‌وجورتر */
            .nav-links.open { padding-bottom: 10px; }
        }

        @media (max-width: 480px) {
            .app-nav-item span { font-size: .6rem; }
            .app-nav-item i { font-size: 1.05rem; }
        }

        /* حذف تاخیر ۳۰۰ میلی‌ثانیه لمس و بهبود حس نیتیو */
        a, button, .diet-card, .ing-chip, .diet-pick, .cal-day label, .time-slot label {
            touch-action: manipulation;
        }

        .diet-card-free {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #E8F5E9;
            color: var(--success);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 20px;
        }

        .diet-card-icon {
            width: 60px;
            height: 60px;
            border-radius: var(--radius-md);
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 16px;
        }

        .diet-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .diet-card p {
            font-size: 0.88rem;
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .diet-card-meta {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        .diet-card-meta span {
            font-size: 0.78rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .diet-card-meta i {
            color: var(--primary-light);
        }

        .diet-card-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .diet-tag {
            background: var(--bg-light);
            color: var(--primary);
            font-size: 0.72rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 15px;
        }

        /* ===== CONSULTATION SECTION ===== */
        .consult-section {
            background: white;
        }

        .consult-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }

        .consult-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 36px;
            text-align: center;
            box-shadow: var(--shadow-md);
            border: 2px solid transparent;
            transition: all 0.3s;
            position: relative;
        }

        .consult-card:hover {
            border-color: var(--primary-light);
            transform: translateY(-5px);
        }

        .consult-card.featured {
            border-color: var(--gold);
            background: linear-gradient(135deg, #FFFDE7, #FFF8E1, white);
        }

        .consult-card.featured::before {
            content: 'پیشنهاد ویژه';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--gradient-gold);
            color: var(--text-dark);
            font-size: 0.78rem;
            font-weight: 700;
            padding: 4px 16px;
            border-radius: 20px;
            white-space: nowrap;
        }

        .consult-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: var(--primary);
        }

        .consult-card.featured .consult-icon {
            background: #FFF3E0;
            color: var(--gold);
        }

        .consult-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .consult-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 16px;
            line-height: 1.8;
        }

        .consult-price {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            margin-bottom: 4px;
        }

        .consult-price-note {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 20px;
            display: block;
        }

        .consult-features {
            list-style: none;
            text-align: right;
            margin-bottom: 24px;
        }

        .consult-features li {
            padding: 6px 0;
            font-size: 0.88rem;
            color: var(--text-medium);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .consult-features li i {
            color: var(--success);
            font-size: 0.8rem;
        }

        /* ===== BOOKING SECTION ===== */
        .booking-section {
            background: var(--bg-light);
        }

        .booking-wrapper {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }

        .booking-form-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-md);
        }

        .booking-steps {
            display: flex;
            gap: 0;
            margin-bottom: 40px;
            position: relative;
        }

        .booking-step {
            flex: 1;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .booking-step::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 50%;
            height: 2px;
            background: #e0e0e0;
        }

        .booking-step::after {
            content: '';
            position: absolute;
            top: 20px;
            right: 50%;
            left: 0;
            height: 2px;
            background: #e0e0e0;
        }

        .booking-step:first-child::after { display: none; }
        .booking-step:last-child::before { display: none; }

        .booking-step-num {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e0e0e0;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            font-weight: 700;
            position: relative;
            z-index: 2;
            transition: all 0.3s;
        }

        .booking-step.active .booking-step-num {
            background: var(--gradient-primary);
            box-shadow: 0 2px 10px rgba(46,125,50,0.3);
        }

        .booking-step.done .booking-step-num {
            background: var(--success);
        }

        .booking-step-label {
            font-size: 0.8rem;
            color: var(--text-light);
            font-weight: 500;
        }

        .booking-step.active .booking-step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .step-content {
            display: none;
        }

        .step-content.active {
            display: block;
            animation: fadeInUp 0.4s ease;
        }

        .time-slots {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .time-slot {
            position: relative;
        }

        .time-slot input {
            position: absolute;
            opacity: 0;
        }

        .time-slot label {
            display: block;
            padding: 12px;
            text-align: center;
            border: 2px solid #e0e0e0;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .time-slot input:checked + label {
            border-color: var(--primary);
            background: var(--bg-light);
            color: var(--primary);
            font-weight: 600;
        }

        .time-slot label:hover {
            border-color: var(--primary-light);
        }

        .time-slot input:disabled + label {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .calendar-mini {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
            margin-bottom: 20px;
        }

        .cal-day-header {
            text-align: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-light);
            padding: 8px 0;
        }

        .cal-day {
            position: relative;
        }

        .cal-day input {
            position: absolute;
            opacity: 0;
        }

        .cal-day label {
            display: block;
            text-align: center;
            padding: 10px 4px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s;
            border: 1px solid transparent;
        }

        .cal-day label:hover {
            background: var(--bg-light);
        }

        .cal-day input:checked + label {
            background: var(--primary);
            color: white;
            font-weight: 600;
            border-radius: var(--radius-sm);
        }

        .cal-day.today label {
            border-color: var(--primary-light);
            font-weight: 600;
        }

        .cal-day.disabled label {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .booking-sidebar {
            position: sticky;
            top: 100px;
        }

        .booking-summary {
            background: white;
            border-radius: var(--radius-lg);
            padding: 30px;
            box-shadow: var(--shadow-md);
        }

        .booking-summary h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .booking-summary h3 i {
            color: var(--primary);
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
            font-size: 0.9rem;
        }

        .summary-item-label {
            color: var(--text-light);
        }

        .summary-item-value {
            font-weight: 600;
            color: var(--text-dark);
        }

        .summary-total {
            display: flex;
            justify-content: space-between;
            padding: 16px 0 0;
            margin-top: 8px;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .summary-total .price {
            color: var(--primary);
        }

        .discount-badge {
            background: #FFEBEE;
            color: var(--danger);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 10px;
            text-decoration: line-through;
        }

        /* ===== HOW IT WORKS ===== */
        .how-section {
            background: white;
        }

        .how-steps {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            position: relative;
        }

        .how-steps::before {
            content: '';
            position: absolute;
            top: 50px;
            left: 12.5%;
            right: 12.5%;
            height: 2px;
            background: linear-gradient(to left, var(--accent), var(--primary-light), var(--primary));
            z-index: 0;
        }

        .how-step {
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .how-step-icon {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: white;
            border: 3px solid var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: var(--primary);
            transition: all 0.3s;
            box-shadow: var(--shadow-sm);
        }

        .how-step:hover .how-step-icon {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: scale(1.1);
            box-shadow: 0 4px 20px rgba(46,125,50,0.3);
        }

        .how-step-num {
            position: absolute;
            top: -5px;
            right: calc(50% - 50px);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--gradient-gold);
            color: var(--text-dark);
            font-size: 0.8rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .how-step h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .how-step p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.8;
        }

        /* ===== FEATURES SECTION ===== */
        .features-section {
            background: var(--gradient-hero);
            color: white;
        }

        .features-section .section-title {
            color: white;
        }
        .features-section .section-title span {
    color: var(--gold);
}

        .features-section .section-desc {
            color: rgba(255,255,255,0.8);
        }

        .features-section .section-badge {
            background: rgba(255,255,255,0.15);
            color: white;
            border-color: rgba(255,255,255,0.2);
        }

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

        .feature-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-md);
            padding: 30px;
            border: 1px solid rgba(255,255,255,0.15);
            transition: all 0.3s;
        }

        .feature-card:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-5px);
        }

        .feature-card-icon {
            width: 55px;
            height: 55px;
            border-radius: var(--radius-sm);
            background: rgba(255,255,255,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--gold-light);
            margin-bottom: 16px;
        }

        .feature-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 0.88rem;
            line-height: 1.8;
            opacity: 0.8;
        }

        .feature-free-tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(67,160,71,0.3);
            color: var(--accent);
            font-size: 0.72rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 15px;
            margin-top: 10px;
        }

        /* ===== TESTIMONIALS ===== */
        .testimonials-section {
            background: var(--bg-light);
        }

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

        .testimonial-card {
            background: white;
            border-radius: var(--radius-md);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s;
        }

        .testimonial-card:hover {
            box-shadow: var(--shadow-md);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .testimonial-info h4 {
            font-size: 0.95rem;
            font-weight: 600;
        }

        .testimonial-info span {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .testimonial-stars {
            color: var(--gold);
            font-size: 0.85rem;
            margin-bottom: 8px;
        }

        .testimonial-result {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #E8F5E9;
            color: var(--success);
            font-size: 0.78rem;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 15px;
            margin-bottom: 12px;
        }

        .testimonial-card p {
            font-size: 0.9rem;
            color: var(--text-medium);
            line-height: 1.9;
        }

        /* ===== FAQ ===== */
        .faq-section {
            background: white;
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            border: 1px solid #e0e0e0;
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .faq-item:hover {
            border-color: var(--primary-light);
        }

        .faq-question {
            width: 100%;
            padding: 20px 24px;
            background: white;
            border: none;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            text-align: right;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question i {
            transition: transform 0.3s;
            color: var(--primary);
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-answer-inner {
            padding: 0 24px 20px;
            font-size: 0.92rem;
            color: var(--text-medium);
            line-height: 2;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
        }

        /* ===== CTA SECTION ===== */
        .cta-section {
            background: var(--gradient-hero);
            padding: 80px 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
        }

        .cta-section h2 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 36px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: #1a1a2e;
            color: rgba(255,255,255,0.7);
            padding: 60px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 12px;
        }

        .footer-brand p {
            font-size: 0.9rem;
            line-height: 2;
        }

        .footer-col h4 {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 8px;
        }

        .footer-col ul li a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.88rem;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: var(--accent);
        }

        .footer-social {
            display: flex;
            gap: 10px;
            margin-top: 16px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
        }

        .footer-social a:hover {
            background: var(--primary);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 24px;
            text-align: center;
            font-size: 0.85rem;
        }

        /* ===== SCROLL TO TOP ===== */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            color: white;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-3px);
        }

        /* ===== LOADING SPINNER ===== */
        .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ===== TOOLTIPS ===== */
        .tooltip {
            position: relative;
            cursor: help;
        }

        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 120%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--text-dark);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.75rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 10;
        }

        .tooltip:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* ===== PROGRESS BAR ===== */
        .progress-bar {
            width: 100%;
            height: 8px;
            background: #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
            margin: 12px 0;
        }

        .progress-fill {
            height: 100%;
            border-radius: 10px;
            transition: width 0.8s ease;
        }

        /* ===== MODAL ===== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal {
            background: white;
            border-radius: var(--radius-lg);
            max-width: 600px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            padding: 40px;
            position: relative;
            animation: slideUp 0.3s ease;
        }

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

        .modal-close {
            position: absolute;
            top: 16px;
            left: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: #f5f5f5;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .modal-close:hover {
            background: #e0e0e0;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-container { grid-template-columns: 1fr; gap: 40px; }
            .hero h1 { font-size: 2.4rem; }
            .bmi-wrapper { grid-template-columns: 1fr; }
            .diet-cards { grid-template-columns: repeat(2, 1fr); }
            .consult-grid { grid-template-columns: repeat(2, 1fr); }
            .how-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
            .how-steps::before { display: none; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .booking-wrapper { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-toggle { display: none; }
            .nav-links.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                padding: 20px;
                box-shadow: var(--shadow-lg);
                gap: 16px;
            }
            .hero { padding-top: 100px; }
            .hero h1 { font-size: 2rem; }
            .hero-stats { gap: 20px; }
            .hero-stat-num { font-size: 1.6rem; }
            .section { padding: 60px 0; }
            .section-title { font-size: 1.7rem; }
            .diet-cards { grid-template-columns: 1fr; }
            .consult-grid { grid-template-columns: 1fr; }
            .how-steps { grid-template-columns: 1fr; }
            .features-grid { grid-template-columns: 1fr; }
            .testimonials-grid { grid-template-columns: 1fr; }
            .form-row { grid-template-columns: 1fr; }
            .time-slots { grid-template-columns: repeat(3, 1fr); }
            .footer-grid { grid-template-columns: 1fr; }
            .hero-buttons { flex-direction: column; }
            .cta-section h2 { font-size: 1.6rem; }
        }

        @media (max-width: 480px) {
            .container { padding: 0 16px; }
            .hero h1 { font-size: 1.6rem; }
            .hero-card { padding: 24px; }
            .bmi-form-card { padding: 24px; }
            .quick-form-row { grid-template-columns: 1fr; }
            .activity-selector { grid-template-columns: 1fr; }
            .health-indicators { grid-template-columns: 1fr; }
            .time-slots { grid-template-columns: repeat(2, 1fr); }
        }

        /* ===== ANIMATIONS ===== */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== WHATSAPP FLOAT ===== */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #25D366;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(37,211,102,0.4);
            z-index: 998;
            transition: all 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(37,211,102,0.5);
        }

        .pulse-ring {
            position: absolute;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 3px solid #25D366;
            animation: pulse-ring 2s infinite;
        }

        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }


/* ===================== اصلاحات نهایی موبایل ===================== */
/* این بلوک عمداً در انتهای فایل است تا بر قوانین پیش‌تر غلبه کند */
@media (max-width: 768px) {
    /* دکمه شناور و دکمه بالا رفتن باید بالای نوار پایین قرار بگیرند */
    .whatsapp-float {
        bottom: calc(84px + env(safe-area-inset-bottom)) !important;
        right: 16px !important;
        width: 54px !important;
        height: 54px !important;
        font-size: 1.5rem !important;
        z-index: 1100;
    }
    .scroll-top {
        bottom: calc(148px + env(safe-area-inset-bottom)) !important;
        right: 16px !important;
        z-index: 1100;
    }

    /* منوی همبرگری حذف شد؛ ناوبری با نوار پایین انجام می‌شود */
    .mobile-toggle { display: none !important; }
    .nav-links { display: none !important; }

    /* نویگیشن بالا فقط لوگو را نگه می‌دارد */
    .nav-container { justify-content: center; }
    .navbar { padding: 10px 0; }
}

/* ===================== چیدمان نویگیشن دسکتاپ ===================== */
/* لوگو سمت راست، آیتم‌های منو بلافاصله کنارش، دکمه «شروع کنیم» کاملاً سمت چپ */
@media (min-width: 769px) {
    .nav-container {
        justify-content: flex-start;
        gap: 42px;                 /* فاصله منطقی بین لوگو و منو */
    }
    .nav-links {
        flex: 1;
        gap: 26px;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    /* در چیدمان راست‌به‌چپ، این حاشیه خودکار دکمه را به انتهای سمت چپ می‌راند */
    .nav-links .nav-cta-item {
        margin-inline-start: auto;
    }
}


/* ===================== مودال رزرو مشاوره ===================== */
/* لایه پوششی اسکرول می‌کند، نه ظرف داخلی — تا محتوای رزرو هرگز
   در یک قاب کوچک با اسکرول جداگانه حبس نشود. */
.booking-modal {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 30px 20px;
}

.booking-modal .booking-modal-box {
    max-width: 780px;
    width: 100%;
    max-height: none;
    height: auto;
    margin: auto;
    padding: 0;
    overflow: visible;
    display: block;
    text-align: right;
}

.booking-modal-head {
    background: var(--gradient-hero, linear-gradient(135deg,#2E7D32,#4CAF50));
    color: #fff;
    padding: 22px 28px 18px;
    flex-shrink: 0;
}
.booking-modal-head h3 { margin: 0 0 4px; font-size: 1.12rem; }
.booking-modal-head p  { margin: 0; font-size: .84rem; opacity: .92; }

.booking-modal .modal-close { color: #fff; background: rgba(255,255,255,.22); }
.booking-modal .modal-close:hover { background: rgba(255,255,255,.38); }

.booking-modal-body {
    padding: 22px 28px 26px;
    overflow: visible;
}

/* داخل مودال، کارت‌ها نباید کادر و سایه اضافی داشته باشند */
.booking-modal-body .booking-form-card,
.booking-modal-body .booking-summary {
    box-shadow: none;
    padding: 0;
    background: transparent;
}
.booking-modal-body .booking-wrapper { gap: 26px; }
.booking-modal-body .booking-sidebar { position: static; top: auto; }
.booking-modal-body .booking-summary {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 18px 20px;
}
.booking-modal-body .booking-steps { margin-bottom: 26px; }

/* ---------- موبایل: یک اسکرول طبیعی، بدون اسکرول داخل اسکرول ---------- */
@media (max-width: 768px) {
    /* خودِ لایه پوششی اسکرول می‌شود، نه یک ظرف داخلی.
       این‌طور کاربر دقیقاً مثل یک صفحه معمولی اسکرول می‌کند. */
    .booking-modal {
        display: block;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .booking-modal.active { display: block; }

    .booking-modal .booking-modal-box {
        max-width: 100%;
        width: 100%;
        max-height: none;
        height: auto;
        min-height: 100%;
        border-radius: 0;
        display: block;
        overflow: visible;
        transform: none;
    }

    .booking-modal-head {
        padding: 16px 18px 14px;
        border-radius: 0;
    }
    .booking-modal-head h3 { font-size: 1rem; }
    .booking-modal-head p  { font-size: .78rem; }
    .booking-modal .modal-close {
        position: fixed;
        top: 12px; left: 12px;
        width: 36px; height: 36px;
        z-index: 5;
    }

    /* هیچ ارتفاع ثابت و هیچ اسکرول داخلی */
    .booking-modal-body {
        padding: 18px 16px calc(40px + env(safe-area-inset-bottom));
        overflow: visible;
        max-height: none;
        height: auto;
    }

    /* چیدمان تک‌ستونی، خلاصه رزرو بالای فرم */
    .booking-modal-body .booking-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .booking-modal-body .booking-sidebar { order: -1; position: static; }
    .booking-modal-body .booking-summary { padding: 14px 16px; }
    .booking-modal-body .booking-summary h3 { font-size: .92rem; margin-bottom: 10px; }
    .booking-modal-body .summary-item { padding: 7px 0; font-size: .85rem; }
    .booking-modal-body .booking-sidebar > div:last-child { display: none; }

    .booking-modal-body .booking-steps { margin-bottom: 20px; }
    .booking-modal-body .booking-step-label { font-size: .68rem; }
    .booking-modal-body .booking-step-num { width: 30px; height: 30px; font-size: .8rem; }

    .booking-modal-body .calendar-mini {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }
    .booking-modal-body .cal-day label { min-height: 40px; font-size: .82rem; padding: 0; }
    .booking-modal-body .cal-day-header { font-size: .65rem; }

    .booking-modal-body .time-slots {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .booking-modal-body .time-slot label {
        min-height: 44px; font-size: .82rem; padding: 0 4px; text-align: center;
    }

    .booking-modal-body .consult-type-option { padding: 14px !important; gap: 12px !important; }
    .booking-modal-body .btn { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
    .booking-modal-body .time-slots { grid-template-columns: repeat(2, 1fr); }
}
