/* ============ چیدمانِ «فریملس» — صفحه‌های عمومی (۱۴۰۵/۷/۲۴) ============
   فقط وقتی html[data-free="1"] (دکمه‌ی پنجمِ سوییچِ تم در theme.js). مرجع: بلوکِ هم‌نامِ index.html.
   الگو: هدرِ شناورِ شفاف + دکمه‌های حاشیه‌دارِ گرد + .page-header تمام‌عرض با عکسِ هیرو و تیترِ بزرگِ روی عکس.
   صفحه‌ی تازه فقط این فایل را لینک کند و از <header> + <section class="page-header"> استفاده کند. */
html[data-free="1"] header{position:fixed !important;left:0;right:0;top:0;background:transparent !important;border:none !important;box-shadow:none !important;padding:12px 26px !important;z-index:200;}
html[data-free="1"] body.header-scrolled header{background:rgba(10,14,28,.5) !important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
html[data-free="1"] header .logo-mark{height:120px !important;filter:drop-shadow(0 2px 10px rgba(0,0,0,.45));}
html[data-free="1"] nav.desktop-nav a{background:transparent !important;color:var(--c-white,#fff) !important;border:1.5px solid rgba(255,255,255,.75) !important;border-radius:999px !important;padding:8px 18px !important;box-shadow:none !important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
html[data-free="1"] nav.desktop-nav a .nav-icon{display:none !important;}
html[data-free="1"] nav.desktop-nav a:hover,html[data-free="1"] nav.desktop-nav a.active{background:rgba(255,255,255,.2) !important;}
html[data-free="1"] #authArea .btn-outline,html[data-free="1"] #authArea .btn-primary,html[data-free="1"] #authArea a{background:transparent !important;color:var(--c-white,#fff) !important;border:1.5px solid rgba(255,255,255,.75) !important;border-radius:999px !important;padding:8px 20px !important;font-size:14px;box-shadow:none !important;}
html[data-free="1"] #authArea a:hover{background:rgba(255,255,255,.2) !important;}
html[data-free="1"] .page-header{min-height:62vh;display:flex !important;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:right !important;padding:120px 6vw 8vh !important;margin:0 !important;border-radius:0 !important;color:var(--c-white,#fff) !important;position:relative;background:linear-gradient(180deg,rgba(6,10,22,.55) 0%,rgba(6,10,22,.1) 35%,rgba(6,10,22,.75) 100%),url('img/hero-main.jpg') center/cover no-repeat !important;}
html[data-theme="dark"][data-free="1"] .page-header{background:linear-gradient(180deg,rgba(6,10,22,.55) 0%,rgba(6,10,22,.1) 35%,rgba(6,10,22,.75) 100%),url('img/hero-night.jpg') center/cover no-repeat !important;}
html[data-free="1"] .page-header .page-header-title-card{border:none !important;box-shadow:none !important;background:transparent !important;backdrop-filter:none !important;padding:0 !important;}
html[data-free="1"] .page-header h1{font-size:clamp(32px,5.6vw,68px) !important;font-weight:900;line-height:1.25;color:var(--c-white,#fff) !important;text-shadow:0 4px 24px rgba(0,0,0,.55);margin-bottom:12px;}
html[data-free="1"] .page-header p{font-size:clamp(14px,1.6vw,19px) !important;color:var(--c-white,#fff) !important;opacity:.92;max-width:640px;text-shadow:0 2px 12px rgba(0,0,0,.55);}
/* صفحه‌ی جزئیاتِ فایل: گالری تا لبه‌ها زیرِ هدرِ شفاف */
html[data-free="1"] .gallery{padding:0 !important;}
html[data-free="1"] .gallery-grid{border-radius:0 !important;height:58vh !important;}
@media (max-width:768px){
  html[data-free="1"] header{padding:10px 12px !important;}
  html[data-free="1"] header .logo-mark{height:88px !important;}
  html[data-free="1"] .page-header{min-height:50vh;padding:96px 18px 6vh !important;}
}

/* دکمه‌ی «بازگشت به سایت» در هدرِ صفحه‌های فرم/ابزار */
html[data-free="1"] header>a.btn-outline,html[data-free="1"] header .btn-outline{background:transparent !important;color:var(--c-white,#fff) !important;border:1.5px solid rgba(255,255,255,.75) !important;border-radius:999px !important;padding:8px 20px !important;font-size:14px;box-shadow:none !important;}
/* برگه‌ی کارشناسی قیمت (بدونِ هدر): هیروی تمام‌عرض با عکسِ شهر */
html[data-free="1"] .wrap>.hero{width:100vw;margin-inline:calc(50% - 50vw) !important;min-height:62vh;display:flex !important;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:right !important;padding:110px 6vw 7vh !important;border-radius:0 !important;border:none !important;box-shadow:none !important;color:var(--c-white,#fff) !important;background:linear-gradient(180deg,rgba(6,10,22,.5) 0%,rgba(6,10,22,.1) 35%,rgba(6,10,22,.78) 100%),url('img/hero-main.jpg') center/cover no-repeat !important;}
html[data-theme="dark"][data-free="1"] .wrap>.hero{background:linear-gradient(180deg,rgba(6,10,22,.5) 0%,rgba(6,10,22,.1) 35%,rgba(6,10,22,.78) 100%),url('img/hero-night.jpg') center/cover no-repeat !important;}
html[data-free="1"] .wrap>.hero h1{font-size:clamp(32px,5.6vw,68px) !important;line-height:1.25;color:var(--c-white,#fff) !important;text-shadow:0 4px 24px rgba(0,0,0,.55);}
html[data-free="1"] .wrap>.hero p{color:var(--c-white,#fff) !important;opacity:.92;max-width:640px;text-shadow:0 2px 12px rgba(0,0,0,.55);}
html[data-free="1"] .wrap>.hero .trust span{border:1.5px solid rgba(255,255,255,.75) !important;background:transparent !important;color:var(--c-white,#fff) !important;border-radius:999px;}
