/*
Theme Name: خانه‌یاب
Theme URI: https://example.com
Author: Claude
Description: قالب اختصاصی وردپرس برای سایت‌های مشاور املاک — نمایش آگهی ملک با جستجو و فیلتر پیشرفته، طراحی راست‌چین و واکنش‌گرا.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: khaneyab
Tags: real-estate, rtl, persian, custom-post-type
*/

/* ==========================================================
   ۱) توکن‌های طراحی
   ========================================================== */
:root{
	--ink:        #1B2420;
	--ink-soft:   #4B554E;
	--muted:      #7C8478;
	--bg:         #F6F1E6;
	--surface:    #FFFFFF;
	--brand:      #1F3A3D;
	--brand-2:    #2C4F52;
	--accent:     #B5502F;
	--accent-2:   #CE6A45;
	--line:       #E3DAC5;
	--line-soft:  #EDE6D5;
	--radius-sm:  6px;
	--radius-md:  10px;
	--radius-lg:  18px;
	--shadow-card: 0 1px 2px rgba(27,36,32,.05), 0 8px 24px -12px rgba(27,36,32,.18);
	--container:  1180px;
}

/* ==========================================================
   ۲) ریست پایه
   ========================================================== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
	margin:0;
	background:var(--bg);
	color:var(--ink);
	font-family:'Vazirmatn', Tahoma, sans-serif;
	font-size:16px;
	line-height:1.85;
	direction:rtl;
	-webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; height:auto; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ margin:0 0 .5em; font-weight:800; line-height:1.35; color:var(--ink); }
p{ margin:0 0 1em; color:var(--ink-soft); }
button,input,select,textarea{ font-family:inherit; font-size:1rem; }
:focus-visible{ outline:3px solid var(--accent-2); outline-offset:2px; }

.khy-container{ max-width:var(--container); margin:0 auto; padding:0 20px; }
.khy-skip-link{ position:absolute; right:-999px; top:0; background:var(--brand); color:#fff; padding:10px 16px; z-index:999; }
.khy-skip-link:focus{ right:10px; top:10px; }

.khy-eyebrow{
	display:inline-block;
	font-size:.8rem;
	font-weight:700;
	color:var(--accent);
	background:rgba(181,80,47,.09);
	padding:4px 12px;
	border-radius:999px;
	margin-bottom:14px;
}

/* دکمه‌ها */
.khy-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	padding:13px 26px;
	border-radius:var(--radius-sm);
	font-weight:700;
	font-size:.95rem;
	border:1px solid transparent;
	cursor:pointer;
	transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.khy-btn--accent{ background:var(--accent); color:#fff; }
.khy-btn--accent:hover{ background:var(--accent-2); transform:translateY(-1px); }
.khy-btn--outline{ background:transparent; border-color:var(--brand); color:var(--brand); }
.khy-btn--outline:hover{ background:var(--brand); color:#fff; }
.khy-btn--sm{ padding:9px 18px; font-size:.85rem; }
.khy-btn--full{ width:100%; margin-top:10px; }

/* ==========================================================
   ۳) نوار بالا + هدر
   ========================================================== */
.khy-topbar{ background:var(--brand); color:#EFE8D6; font-size:.82rem; }
.khy-topbar-inner{ display:flex; justify-content:space-between; align-items:center; padding:8px 20px; }
.khy-topbar-inner a{ color:#EFE8D6; opacity:.9; }
.khy-topbar-inner a:hover{ opacity:1; text-decoration:underline; }

.khy-header{ background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.khy-header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 20px; }
.khy-logo-text{ font-size:1.4rem; font-weight:900; color:var(--brand); }
.khy-nav-list{ display:flex; gap:28px; }
.khy-nav-list a{ font-weight:600; color:var(--ink-soft); padding:6px 0; border-bottom:2px solid transparent; }
.khy-nav-list a:hover{ color:var(--brand); border-color:var(--accent); }
.khy-header-actions{ display:flex; align-items:center; gap:14px; }

.khy-nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.khy-nav-toggle span{ width:24px; height:2px; background:var(--ink); display:block; }

/* ==========================================================
   ۴) هیرو + فرم جستجو
   ========================================================== */
.khy-hero{
	background:
		linear-gradient(160deg, rgba(31,58,61,.94), rgba(31,58,61,.86)),
		repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
	color:#F6F1E6;
	padding:76px 0 64px;
}
.khy-hero-inner{ text-align:center; max-width:820px; margin:0 auto; }
.khy-hero .khy-eyebrow{ background:rgba(255,255,255,.12); color:#EEDFCF; }
.khy-hero-title{ color:#fff; font-size:clamp(2rem, 4.5vw, 3.1rem); }
.khy-hero-sub{ color:#D8D2BF; font-size:1.1rem; max-width:560px; margin:0 auto 32px; }

.khy-hero-search{
	background:var(--surface);
	border-radius:var(--radius-lg);
	padding:22px;
	box-shadow:0 24px 48px -20px rgba(0,0,0,.4);
	text-align:right;
}

.khy-hero-stats{ display:flex; gap:40px; justify-content:center; margin-top:36px; }
.khy-hero-stats strong{ display:block; font-size:1.8rem; color:var(--accent-2); }
.khy-hero-stats span{ font-size:.85rem; color:#CFC9B6; }

/* فرم جستجو */
.khy-search-form{ display:flex; flex-direction:column; gap:14px; }
.khy-sf-row{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:12px; }
.khy-sf-row--secondary{ grid-template-columns:1fr 1fr 1fr; }
.khy-sf-field label{ display:block; font-size:.78rem; font-weight:700; color:var(--muted); margin-bottom:5px; }
.khy-sf-field input,.khy-sf-field select{
	width:100%;
	padding:11px 12px;
	border:1px solid var(--line);
	border-radius:var(--radius-sm);
	background:#FCFAF4;
	color:var(--ink);
}
.khy-sf-field input:focus,.khy-sf-field select:focus{ border-color:var(--accent); background:#fff; }
.khy-sf-submit{ align-self:flex-start; margin-top:4px; }
.khy-search-form--compact .khy-sf-row{ grid-template-columns:2fr 1fr 1fr 1fr auto; align-items:end; }

/* ==========================================================
   ۵) بخش‌های عمومی
   ========================================================== */
.khy-section{ padding:64px 0; }
.khy-section--alt{ background:var(--surface); }
.khy-section-head{ text-align:center; max-width:600px; margin:0 auto 36px; }
.khy-section-title{ font-size:1.9rem; }
.khy-section-more{ text-align:center; margin-top:34px; }

.khy-page-head{ background:var(--surface); border-bottom:1px solid var(--line); padding:40px 0; }
.khy-page-title{ font-size:2rem; margin:0; }

/* ==========================================================
   ۶) گرید و کارت ملک
   ========================================================== */
.khy-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }

.khy-card{
	background:var(--surface);
	border-radius:var(--radius-md);
	overflow:hidden;
	box-shadow:var(--shadow-card);
	border:1px solid var(--line-soft);
	transition:transform .2s ease, box-shadow .2s ease;
	display:flex;
	flex-direction:column;
}
.khy-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -18px rgba(27,36,32,.28); }
.khy-card-media{ position:relative; display:block; aspect-ratio:4/3; background:var(--line-soft); overflow:hidden; }
.khy-card-media img{ width:100%; height:100%; object-fit:cover; }
.khy-card-media--placeholder{ width:100%; height:100%; background:linear-gradient(135deg,#E3DAC5,#F6F1E6); }

.khy-badge{
	position:absolute; top:12px;
	font-size:.72rem; font-weight:700; padding:5px 12px; border-radius:999px;
	color:#fff;
}
.khy-badge--featured{ right:12px; background:var(--accent); }
.khy-badge--deal{ left:12px; background:var(--brand); }
.khy-badge--type{ background:var(--line-soft); color:var(--ink-soft); position:static; display:inline-block; }

.khy-card-body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.khy-card-title{ font-size:1.05rem; margin:0; }
.khy-card-title a:hover{ color:var(--accent); }
.khy-card-loc{ font-size:.85rem; color:var(--muted); margin:0; }
.khy-card-specs{ display:flex; gap:14px; font-size:.82rem; color:var(--ink-soft); border-top:1px dashed var(--line); border-bottom:1px dashed var(--line); padding:9px 0; margin-top:auto; }
.khy-card-footer{ display:flex; justify-content:space-between; align-items:center; }
.khy-card-price{ font-weight:800; color:var(--brand); font-size:1.05rem; }

/* ردیف اسکرول افقی کارت‌ها (شبیه دیجی‌کالا) */
.khy-scroll-row{ position:relative; }
.khy-scroll-track{
	display:flex;
	gap:20px;
	overflow-x:auto;
	scroll-snap-type:x proximity;
	scroll-behavior:smooth;
	padding:6px 2px 18px;
	-ms-overflow-style:none;
	scrollbar-width:none;
}
.khy-scroll-track::-webkit-scrollbar{ display:none; }
.khy-scroll-track .khy-card{
	flex:0 0 280px;
	scroll-snap-align:start;
}
.khy-scroll-btn{
	position:absolute; top:42%; transform:translateY(-50%);
	width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
	background:var(--surface); color:var(--brand); font-size:1.2rem; cursor:pointer;
	display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card);
	z-index:5; transition:background .15s, color .15s;
}
.khy-scroll-btn:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }
.khy-scroll-btn--prev{ right:-14px; }
.khy-scroll-btn--next{ left:-14px; }
.khy-scroll-btn[disabled]{ opacity:.3; cursor:default; pointer-events:none; }

/* نظرات مشتریان */
.khy-testimonial-card{
	flex:0 0 320px; scroll-snap-align:start;
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
	padding:26px; display:flex; flex-direction:column; box-shadow:var(--shadow-card);
}
.khy-testimonial-quote{ font-size:2rem; color:var(--accent); line-height:1; margin-bottom:6px; }
.khy-testimonial-stars{ color:var(--line); margin-bottom:12px; letter-spacing:2px; }
.khy-testimonial-stars .is-full{ color:var(--accent); }
.khy-testimonial-text{ color:var(--ink-soft); font-size:.92rem; flex:1; margin-bottom:18px; }
.khy-testimonial-author{ display:flex; align-items:center; gap:12px; }
.khy-testimonial-avatar{
	width:42px; height:42px; border-radius:50%; color:#fff; font-weight:800;
	display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.khy-testimonial-author strong{ display:block; font-size:.9rem; }
.khy-testimonial-author span{ font-size:.78rem; color:var(--muted); }

/* آکاردئون سوالات متداول */
.khy-faq-wrap{ max-width:820px; margin:0 auto; }
.khy-accordion-item{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); margin-bottom:12px; overflow:hidden; }
.khy-accordion-trigger{
	width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
	background:none; border:0; padding:18px 20px; text-align:right; cursor:pointer; font-weight:700; font-size:.98rem; color:var(--ink);
}
.khy-accordion-icon{ font-size:1.3rem; color:var(--accent); transition:transform .2s ease; flex-shrink:0; }
.khy-accordion-item.is-open .khy-accordion-icon{ transform:rotate(45deg); }
.khy-accordion-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.khy-accordion-item.is-open .khy-accordion-panel{ max-height:300px; }
.khy-accordion-panel p{ padding:0 20px 18px; margin:0; color:var(--ink-soft); font-size:.9rem; }
.khy-faq-cta{ text-align:center; margin-top:40px; padding:30px; background:var(--surface); border:1px dashed var(--line); border-radius:var(--radius-md); }
.khy-faq-cta p{ margin-bottom:14px; font-weight:600; }

/* دسته‌بندی نوع ملک در صفحه اصلی */
.khy-type-grid{ display:grid; grid-template-columns:repeat(5, 1fr); gap:16px; }
.khy-type-card{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
	padding:22px 14px; text-align:center; transition:border-color .15s, transform .15s;
}
.khy-type-card:hover{ border-color:var(--accent); transform:translateY(-3px); }
.khy-type-count{ display:block; font-size:1.5rem; font-weight:800; color:var(--accent); }
.khy-type-name{ font-size:.9rem; color:var(--ink-soft); }

/* ==========================================================
   ۷) آرشیو / فیلتر
   ========================================================== */
.khy-archive-layout{ display:grid; grid-template-columns:300px 1fr; gap:32px; align-items:start; }
.khy-archive-filters{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
	padding:22px; position:sticky; top:96px;
}
.khy-archive-filters .khy-search-form{ margin-top:6px; }
.khy-archive-filters .khy-sf-row{ grid-template-columns:1fr; }
.khy-archive-meta{ margin-bottom:20px; color:var(--muted); font-size:.9rem; }
.khy-empty-state{ text-align:center; padding:60px 20px; background:var(--surface); border-radius:var(--radius-md); border:1px dashed var(--line); }
.khy-empty-state p{ margin-bottom:18px; }

.khy-widget-title{ font-size:1rem; margin-bottom:14px; border-bottom:1px solid var(--line); padding-bottom:10px; }
.khy-widget{ margin-bottom:26px; }

/* صفحه‌بندی */
.khy-pagination ul{ display:flex; gap:8px; justify-content:center; margin-top:40px; flex-wrap:wrap; }
.khy-pagination a,.khy-pagination span{
	display:inline-flex; align-items:center; justify-content:center;
	min-width:38px; height:38px; padding:0 10px;
	border-radius:var(--radius-sm); border:1px solid var(--line); background:var(--surface); color:var(--ink-soft);
}
.khy-pagination .current{ background:var(--brand); border-color:var(--brand); color:#fff; }
.khy-pagination a:hover{ border-color:var(--accent); color:var(--accent); }

/* ==========================================================
   ۸) صفحه تک ملک
   ========================================================== */
.khy-breadcrumb{ padding:16px 0 0; font-size:.85rem; color:var(--muted); }
.khy-breadcrumb a:hover{ color:var(--accent); }

.khy-property-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; padding:18px 0 26px; flex-wrap:wrap; }
.khy-property-tags{ display:flex; gap:8px; margin-bottom:12px; }
.khy-property-title{ font-size:2rem; margin:0 0 8px; }
.khy-property-address{ color:var(--muted); margin:0; }
.khy-property-price-box{ background:var(--brand); color:#fff; padding:16px 26px; border-radius:var(--radius-md); text-align:center; position:relative; }
.khy-property-price-box::before{
	content:""; position:absolute; top:0; right:-9px; width:0; height:0;
	border-top:9px solid var(--brand); border-left:9px solid transparent;
}
.khy-property-price{ font-size:1.5rem; font-weight:800; }

.khy-property-hero-image{ border-radius:var(--radius-lg); overflow:hidden; margin-bottom:36px; box-shadow:var(--shadow-card); }
.khy-property-hero-image img{ width:100%; max-height:520px; object-fit:cover; }

.khy-property-layout{ display:grid; grid-template-columns:1fr 320px; gap:36px; align-items:start; padding-bottom:60px; }

.khy-spec-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; margin-bottom:26px; }
.khy-spec{ background:var(--surface); padding:16px; text-align:center; }
.khy-spec span{ display:block; font-size:.78rem; color:var(--muted); margin-bottom:4px; }
.khy-spec strong{ font-size:1.1rem; color:var(--brand); }

.khy-amenities{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px; }
.khy-amenity{ padding:8px 16px; border-radius:999px; font-size:.85rem; border:1px solid var(--line); }
.khy-amenity.is-on{ background:rgba(31,58,61,.08); border-color:var(--brand); color:var(--brand); font-weight:700; }
.khy-amenity.is-off{ color:var(--muted); text-decoration:line-through; opacity:.6; }

.khy-property-desc h2, .khy-property-map h2{ font-size:1.3rem; margin-top:8px; }
.khy-property-map{ margin-top:30px; }
.khy-property-map iframe{ border-radius:var(--radius-md); }

.khy-agent-card{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
	padding:22px; text-align:center; margin-bottom:20px;
}
.khy-agent-name{ font-weight:700; margin-bottom:14px; }

/* گالری تصاویر ملک + لایت‌باکس */
.khy-property-hero-image{ position:relative; cursor:pointer; }
.khy-hero-zoom{
	position:absolute; bottom:16px; left:16px; background:rgba(27,36,32,.72); color:#fff;
	font-size:.8rem; padding:7px 14px; border-radius:999px;
}
.khy-gallery-grid{ display:grid; grid-template-columns:repeat(5, 1fr); gap:10px; margin:14px 0 36px; }
.khy-gallery-item{ border:0; padding:0; background:none; cursor:pointer; border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:4/3; }
.khy-gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.khy-gallery-item:hover img{ transform:scale(1.08); }

.khy-lightbox{
	position:fixed; inset:0; background:rgba(15,20,17,.94); z-index:999;
	display:none; align-items:center; justify-content:center;
}
.khy-lightbox.is-open{ display:flex; }
.khy-lightbox-stage{ max-width:min(90vw, 1000px); max-height:82vh; }
.khy-lightbox-stage img{ max-width:100%; max-height:82vh; border-radius:var(--radius-sm); margin:0 auto; }
.khy-lightbox-close,.khy-lightbox-prev,.khy-lightbox-next{
	position:absolute; background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25);
	border-radius:50%; width:44px; height:44px; font-size:1.4rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.khy-lightbox-close{ top:20px; left:20px; }
.khy-lightbox-prev{ right:20px; top:50%; transform:translateY(-50%); }
.khy-lightbox-next{ left:20px; top:50%; transform:translateY(-50%); }
.khy-lightbox-counter{ position:absolute; bottom:22px; color:#D8D2BF; font-size:.85rem; }

/* بخش «چرا خانه‌یاب» */
.khy-trust-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.khy-trust-card{
	background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
	padding:26px 20px; text-align:center; transition:box-shadow .2s, transform .2s;
}
.khy-trust-card:hover{ box-shadow:var(--shadow-card); transform:translateY(-3px); }
.khy-trust-icon{
	width:54px; height:54px; border-radius:50%; background:rgba(181,80,47,.1); color:var(--accent);
	display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin:0 auto 14px;
}
.khy-trust-card h3{ font-size:1.02rem; margin-bottom:6px; }
.khy-trust-card p{ font-size:.88rem; margin:0; }

/* ==========================================================
   ۹) فوتر
   ========================================================== */
.khy-footer{ background:var(--brand); color:#D8D2BF; margin-top:40px; }
.khy-footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; padding:56px 0 36px; }
.khy-footer-logo{ color:#fff; font-size:1.3rem; }
.khy-footer .khy-widget-title{ color:#fff; border-color:rgba(255,255,255,.2); }
.khy-footer-col ul li{ margin-bottom:8px; }
.khy-footer-col a:hover{ color:var(--accent-2); }
.khy-footer-bottom{ border-top:1px solid rgba(255,255,255,.14); padding:18px 0; font-size:.82rem; text-align:center; color:#B9B2A0; }

/* درباره ما: آمار */
.khy-stats-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; text-align:center; }
.khy-stat strong{ display:block; font-size:2.2rem; font-weight:900; color:var(--accent); }
.khy-stat span{ font-size:.88rem; color:var(--ink-soft); }

/* درباره ما: تیم */
.khy-team-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.khy-team-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:24px 16px; text-align:center; }
.khy-team-avatar{
	width:84px; height:84px; border-radius:50%; margin:0 auto 14px;
	display:flex; align-items:center; justify-content:center;
	color:#fff; font-weight:800; font-size:1.3rem;
}
.khy-team-card h3{ font-size:1rem; margin-bottom:4px; }
.khy-team-card span{ font-size:.82rem; color:var(--muted); }

/* بخش دعوت به اقدام */
.khy-cta-section{ background:var(--brand); color:#fff; text-align:center; }
.khy-cta-inner h2{ color:#fff; font-size:1.8rem; }
.khy-cta-inner p{ color:#D8D2BF; max-width:520px; margin:0 auto 26px; }
.khy-cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.khy-cta-section .khy-btn--outline{ border-color:#fff; color:#fff; }
.khy-cta-section .khy-btn--outline:hover{ background:#fff; color:var(--brand); }

/* فرم تماس */
.khy-contact-layout{ display:grid; grid-template-columns:1.4fr 1fr; gap:32px; align-items:start; }
.khy-contact-form{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:26px; display:flex; flex-direction:column; gap:16px; }
.khy-contact-form textarea{ width:100%; padding:12px; border:1px solid var(--line); border-radius:var(--radius-sm); resize:vertical; background:#FCFAF4; }
.khy-contact-form textarea:focus{ border-color:var(--accent); background:#fff; }
.khy-contact-list li{ margin-bottom:10px; }
.khy-contact-hours{ font-size:.85rem; color:var(--muted); margin-top:14px; }
.khy-alert{ padding:14px 18px; border-radius:var(--radius-sm); margin-bottom:18px; font-size:.9rem; }
.khy-alert--success{ background:rgba(31,58,61,.08); color:var(--brand); border:1px solid var(--brand); }
.khy-alert--error{ background:rgba(181,80,47,.08); color:var(--accent); border:1px solid var(--accent); }

/* ==========================================================
   ۱۰) صفحات عمومی / ۴۰۴ / جستجوی ساده
   ========================================================== */
.khy-page-content{ max-width:800px; }
.khy-404{ text-align:center; padding:100px 20px; }
.khy-404 h1{ font-size:5rem; color:var(--line); margin-bottom:0; }
.khy-basic-search{ display:flex; gap:8px; }
.khy-basic-search input{ flex:1; padding:10px 14px; border:1px solid var(--line); border-radius:var(--radius-sm); }
.khy-basic-search button{ background:var(--accent); color:#fff; border:0; padding:0 18px; border-radius:var(--radius-sm); cursor:pointer; }

/* ==========================================================
   ۱۱) واکنش‌گرا
   ========================================================== */
@media (max-width: 960px){
	.khy-grid{ grid-template-columns:repeat(2, 1fr); }
	.khy-archive-layout{ grid-template-columns:1fr; }
	.khy-archive-filters{ position:static; }
	.khy-property-layout{ grid-template-columns:1fr; }
	.khy-type-grid{ grid-template-columns:repeat(3, 1fr); }
	.khy-footer-grid{ grid-template-columns:1fr 1fr; }
	.khy-sf-row, .khy-sf-row--secondary{ grid-template-columns:1fr 1fr; }
	.khy-stats-grid{ grid-template-columns:1fr 1fr; }
	.khy-team-grid{ grid-template-columns:1fr 1fr; }
	.khy-contact-layout{ grid-template-columns:1fr; }
	.khy-gallery-grid{ grid-template-columns:repeat(3, 1fr); }
	.khy-trust-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 680px){
	.khy-nav{
		position:absolute; inset-inline:0; top:100%; background:var(--surface);
		border-bottom:1px solid var(--line); padding:10px 20px; display:none;
	}
	.khy-nav.is-open{ display:block; }
	.khy-nav-list{ flex-direction:column; gap:4px; }
	.khy-nav-toggle{ display:flex; }
	.khy-grid{ grid-template-columns:1fr; }
	.khy-sf-row, .khy-sf-row--secondary{ grid-template-columns:1fr; }
	.khy-hero{ padding:56px 0 44px; }
	.khy-property-head{ flex-direction:column; align-items:flex-start; }
	.khy-type-grid{ grid-template-columns:repeat(2, 1fr); }
	.khy-footer-grid{ grid-template-columns:1fr; }
	.khy-spec-grid{ grid-template-columns:repeat(2, 1fr); }
	.khy-stats-grid{ grid-template-columns:1fr 1fr; }
	.khy-team-grid{ grid-template-columns:1fr; }
	.khy-gallery-grid{ grid-template-columns:repeat(2, 1fr); }
	.khy-trust-grid{ grid-template-columns:1fr; }
	.khy-cta-actions{ flex-direction:column; align-items:stretch; }
	.khy-scroll-track .khy-card{ flex-basis:240px; }
	.khy-testimonial-card{ flex-basis:270px; }
	.khy-scroll-btn{ display:none; }
}
