/* =============================================================
   Landing pages (خدمات و مقصد) — dark mode refinements
   The global dark-mode.css forces atomic widget colors with
   !important; these rules keep the landing hero / chips / CTA
   readable on the dark surfaces.
   ============================================================= */

html.to-dark body.tn-landing .e-svg-base {
    background-color: transparent !important;
    color: #81f6e3 !important;
}

/* متن عمومی */
html.to-dark body.tn-landing .e-paragraph-base {
    color: #C9D7D1 !important;
}

/* متن مقاله، لیست و کپشن گالری/کارت‌ها */
html.to-dark body.tn-landing article .e-paragraph-base,
html.to-dark body.tn-landing .e-grid-base .e-paragraph-base {
    color: #A9B8B2 !important;
}

/* نوار تماس با ما (پایین صفحه) — متن و دکمه روی زمینه سبز */
html.to-dark body.tn-landing :is(.e-flexbox-base, .e-div-block-base):has(.e-button-base) .e-paragraph-base {
    color: rgba(255, 255, 255, .9) !important;
}

html.to-dark body.tn-landing :is(.e-flexbox-base, .e-div-block-base):has(.e-button-base) a.e-button-base {
    background-color: #ffffff !important;
    color: #0A6F65 !important;
}

/* باکس تماس با ما */
html.to-dark body.tn-landing .e-button-base {
    border-radius: 999px !important;
}

/* =============================================================
   صفحه پذیرش تورها (#2349) — دکمه پشتیبانی روی زمینه سبز
   ============================================================= */
html.to-dark .elementor-2349 a.e-button-base {
    background-color: #ffffff !important;
    color: #0A6F65 !important;
}

html.to-dark .elementor-2349 .e-svg-base {
    background-color: transparent !important;
    color: #81f6e3 !important;
}

/* توکن‌های رنگی صفحهٔ پذیرش تورها مستقل از تنظیم سیستم‌عامل:
   لایت = مقادیر روشن، دارک = مقادیر تیره. بدون این، روی سیستم‌عامل تیره
   وقتی کلید تم روی «روشن» است، توکن‌ها تیره می‌مانند و صفحه ناهماهنگ می‌شود. */
.elementor-2349 {
    --to-text: #1F2937;
    --to-text-muted: #6B7280;
    --to-surface: #FFFFFF;
    --to-bg: #F8F9FF;
    --to-border: #E5E7EB;
    --to-border-soft: #F3F4F6;
    --to-secondary: #0F5446;
}

html.to-dark .elementor-2349 {
    --to-text: #E7EFEB;
    --to-text-muted: #A9B8B2;
    --to-surface: #101F1C;
    --to-bg: #0B1512;
    --to-border: #243A35;
    --to-border-soft: #1B2E29;
    --to-secondary: #2FBF9B;
}

html:not(.to-dark) body:has(.elementor-2349) {
    background-color: #FFFFFF;
}

/* رنگ ارثی متن‌های صفحهٔ پذیرش تورها از توکن تم (در هر دو مود درست است) */
.elementor-2349 {
    color: var(--to-text);
}

/* برچسب‌های فرم — رنگ از توکن تم (روی سطح تیره در هر دو مود خوانا) */
.elementor-2349 .e-form-label-base {
    color: var(--to-text) !important;
}

/* باکس پشتیبانی — دکمه سفید روی نوار سبز در هر دو مود */
.elementor-2349 :is(.e-flexbox-base, .e-div-block-base):has(.e-button-base) a.e-button-base {
    background-color: #ffffff !important;
    color: #0A6F65 !important;
}

/* ── دارک‌مود صفحهٔ پذیرش تورها ── */

/* هالهٔ ملایم پشت هدر صفحه تا از بدنه جدا شود */
html.to-dark .elementor-2349 .elementor-element-224fe1d7 {
    background-image: radial-gradient(ellipse 65% 95% at 50% -35%, rgba(47, 191, 155, .18), rgba(47, 191, 155, 0) 70%) !important;
}

/* کارت‌های ویژگی و گام‌ها: سطح کمی روشن‌تر از نوار بخش + حاشیهٔ واضح‌تر */
html.to-dark .elementor-2349 :is(.e-cc47297b-fe68, .e-d5164349-702d, .e-5bd1ec2e-3646, .e-25eb0624-14eb, .e-2f79c82c-0be6, .e-59b3f455-62cc, .e-fc1a9646-d013) {
    background-color: #14251F !important;
    border-color: #31514A !important;
    box-shadow: 0 14px 34px -26px rgba(0, 0, 0, .9);
}

/* نوارهای بخش‌ها در دارک حذف می‌شوند تا صفحه یک بوم تیرهٔ یکدست باشد */
html.to-dark .elementor-2349 :is(.elementor-element-224fe1d7, .elementor-element-1ebffdc4, .elementor-element-32de0bf, .elementor-element-7ea9a9fa) {
    background-color: transparent !important;
}

/* بخش فرم به‌صورت پنل مجزا */
html.to-dark .elementor-2349 .elementor-element-717a28a0 {
    background-color: #101F1C !important;
    border: 1px solid #243A35;
    border-radius: 24px;
}

/* فیلدهای فرم: پس‌زمینه/حاشیه/متن خوانا و placeholder روشن‌تر */
html.to-dark .elementor-2349 :is(.e-form-input-base, .e-form-select-base, .e-form-textarea-base) {
    background-color: #14251F !important;
    border-color: #2E4A43 !important;
    color: #E7EFEB !important;
}

html.to-dark .elementor-2349 :is(.e-form-input-base, .e-form-textarea-base)::placeholder {
    color: #93A9A3 !important;
    opacity: 1;
}

html.to-dark .elementor-2349 :is(.e-form-input-base, .e-form-select-base, .e-form-textarea-base):focus {
    border-color: #2FBF9B !important;
    box-shadow: 0 0 0 3px rgba(47, 191, 155, .18);
}

/* ═══ لایت‌مود صفحهٔ پذیرش تورها: عمق، سطح و بافت ═══ */

/* بوم روشن با ته‌رنگ ملایم تا کارت‌های سفید جدا شوند */
html:not(.to-dark) body:has(.elementor-2349) {
    background-color: #F5F8F7;
}

/* نوارهای بخش‌ها شفاف؛ کارت‌ها سطح‌اند */
html:not(.to-dark) .elementor-2349 :is(.elementor-element-1ebffdc4, .elementor-element-32de0bf, .elementor-element-7ea9a9fa) {
    background-color: transparent !important;
}

/* هدر صفحه: هالهٔ سبز محو */
html:not(.to-dark) .elementor-2349 .elementor-element-224fe1d7 {
    background-color: transparent !important;
    background-image: radial-gradient(ellipse 70% 100% at 50% -40%, rgba(15, 84, 70, .10), rgba(15, 84, 70, 0) 72%);
}

/* کارت‌های ویژگی و گام‌ها: سفید + حاشیهٔ نرم + سایه */
html:not(.to-dark) .elementor-2349 :is(.e-cc47297b-fe68, .e-d5164349-702d, .e-5bd1ec2e-3646, .e-25eb0624-14eb, .e-2f79c82c-0be6, .e-59b3f455-62cc, .e-fc1a9646-d013) {
    background-color: #FFFFFF !important;
    border-color: #DCE7E3 !important;
    border-radius: 20px;
    box-shadow: 0 14px 34px -26px rgba(15, 84, 70, .5);
}

/* خط تزئینی زیر عنوان بخش‌ها */
html:not(.to-dark) .elementor-2349 h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 4px;
    background-image: linear-gradient(90deg, #0F5446, #2FBF9B);
}

/* بخش فرم: پنل سفید */
html:not(.to-dark) .elementor-2349 .elementor-element-717a28a0 {
    background-color: #FFFFFF !important;
    border: 1px solid #E6EDEA;
    border-radius: 24px;
    box-shadow: 0 20px 46px -36px rgba(15, 84, 70, .55);
}

/* فیلدهای فرم در لایت: سفید و یکدست (فیلدهای متنی خاکستری دیده می‌شدند) */
html:not(.to-dark) .elementor-2349 :is(.e-form-input-base, .e-form-select-base, .e-form-textarea-base) {
    background-color: #FFFFFF !important;
    border-color: #DCE7E3 !important;
    color: #1F2937 !important;
    box-shadow: inset 0 1px 2px rgba(15, 84, 70, .04);
}

html:not(.to-dark) .elementor-2349 :is(.e-form-input-base, .e-form-textarea-base)::placeholder {
    color: #9CAFA9 !important;
    opacity: 1;
}

html:not(.to-dark) .elementor-2349 :is(.e-form-input-base, .e-form-select-base, .e-form-textarea-base):focus {
    border-color: #2FBF9B !important;
    box-shadow: 0 0 0 3px rgba(47, 191, 155, .16);
}

/* کارت‌های اقامتگاه */
html:not(.to-dark) .elementor-2349 .e-loop-item {
    background-color: #FFFFFF;
    border: 1px solid #E6EDEA;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 16px 36px -28px rgba(15, 84, 70, .5);
}

/* چیپ آیکون کارت‌های ویژگی و گام‌ها */
html:not(.to-dark) .elementor-2349 .e-flexbox-base > .e-svg-base {
    box-sizing: content-box;
    padding: 9px;
    border-radius: 13px;
    background-color: #E8F2EE;
    color: #0F5446 !important;
}

/* کارت‌ها: حاشیهٔ واضح‌تر + واکنش نرم روی هاور */
html:not(.to-dark) .elementor-2349 :is(.e-cc47297b-fe68, .e-d5164349-702d, .e-5bd1ec2e-3646, .e-25eb0624-14eb, .e-2f79c82c-0be6, .e-59b3f455-62cc, .e-fc1a9646-d013) {
    border-color: #D6E3DE !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

html:not(.to-dark) .elementor-2349 :is(.e-cc47297b-fe68, .e-d5164349-702d, .e-5bd1ec2e-3646, .e-25eb0624-14eb, .e-2f79c82c-0be6, .e-59b3f455-62cc, .e-fc1a9646-d013):hover {
    transform: translateY(-3px);
    border-color: #9EC9BE !important;
    box-shadow: 0 22px 42px -26px rgba(15, 84, 70, .45);
}
