/*
Theme Name: Eskaan1 — إسكان العقارية
Theme URI: https://eskaan1.com
Author: Eskaan1
Description: قالب ووردبريس مخصص لشركة إسكان الأول للخدمات العقارية — مشاريع، خدمات، معرض صور، ونموذج تواصل. Arabic RTL real-estate theme with a Projects post type, Customizer contact settings and a built-in lead form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: eskaan1
*/

@font-face { font-family: "Dubai"; src: url("assets/fonts/Dubai-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dubai"; src: url("assets/fonts/Dubai-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Dubai"; src: url("assets/fonts/Dubai-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
	--paper: #f5f2ec;
	--paper-2: #ece7de;
	--white: #fff;
	--ink: #0e1628;
	--ink-2: #3b4456;
	--muted: #7a8090;
	--line: #ddd6ca;
	--teal: #1b9a82;
	--teal-d: #147a67;
	--sand: #c7a26a;
	--coral: #e0675a;
	--navy: #0c1526;
	--radius: 4px;
	--wrap: 1320px;
	--pad: clamp(20px, 4vw, 56px);
	--sec: clamp(80px, 11vw, 160px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: "Dubai", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(40px, 6.4vw, 92px); }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; right: 16px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); }
.section.pt-0 { padding-top: 0; }
.section.soft { background: var(--paper-2); }
.section.dark { background: var(--navy); color: #e9ecf2; }
.center { text-align: center; margin-top: 56px; }
.muted { color: var(--muted); }
.dark .muted { color: #9aa3b5; }

.eyebrow { font-size: 15px; font-weight: 500; color: var(--teal); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 640px; }
.dark .lead { color: #b9c0ce; }
.fig { font-size: 14px; color: var(--muted); margin: 0 0 8px; font-feature-settings: "tnum"; }

.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 820px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.row .muted { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--teal); color: #fff; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 1px solid var(--teal); cursor: pointer; transition: background .25s, transform .25s var(--ease), color .25s; }
.btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-6px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,242,236,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, color .35s; }
.has-hero .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; color: #fff; }
.has-hero .site-header.is-scrolled, .site-header.is-scrolled { background: rgba(245,242,236,.94); color: var(--ink); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; }
.brand-mark img { width: 34px; height: auto; }
.has-hero .site-header:not(.is-scrolled) .brand-mark img { filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 22px; }
.brand-text small { font-size: 13px; opacity: .7; }
.nav { display: flex; align-items: center; gap: 32px; margin-inline-start: auto; }
.nav .menu { display: flex; gap: 28px; }
.nav .menu a { font-size: 16px; font-weight: 500; position: relative; padding-block: 6px; }
.nav .menu a::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 0; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.nav .menu a:hover::after, .nav .menu .current-menu-item > a::after { width: 100%; }
.nav .menu a:hover { color: inherit; }
.nav .sub-menu { display: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; opacity: .85; }
.nav-phone .icon { width: 18px; height: 18px; }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.menu-toggle span:not(.sr) { position: absolute; right: 10px; width: 24px; height: 2px; background: currentColor; transition: transform .3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,28,.55) 0%, rgba(8,14,28,.1) 35%, rgba(8,14,28,.82) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; padding-block: 160px 96px; }
.hero-fig { color: rgba(255,255,255,.75); }
.hero-fig a:hover { color: #fff; text-decoration: underline; }
.hero-title { max-width: 980px; margin-bottom: 24px; animation: rise 1s var(--ease) both .15s; }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); max-width: 640px; color: rgba(255,255,255,.85); animation: rise 1s var(--ease) both .3s; }
.hero-sub a { border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-sub a:hover { color: #fff; border-color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; animation: rise 1s var(--ease) both .45s; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; font-size: 15px; animation: rise 1s var(--ease) both .6s; }
.hero-tags span { color: rgba(255,255,255,.65); margin-inline-end: 4px; }
.hero-tags a { border: 1px solid rgba(255,255,255,.3); padding: 6px 16px; border-radius: 999px; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); transition: background .25s, color .25s; }
.hero-tags a:hover { background: #fff; color: var(--ink); }
.hero-scroll { position: absolute; bottom: 28px; left: var(--pad); font-size: 13px; color: rgba(255,255,255,.6); writing-mode: vertical-rl; margin: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-project { min-height: 88svh; }

/* Stats */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat b { display: block; font-size: clamp(36px, 4vw, 60px); line-height: 1.1; font-feature-settings: "tnum"; }
.stat > span { color: var(--muted); font-size: 15px; }

/* Project cards */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px); }
.project-card { display: flex; flex-direction: column; }
.project-card[hidden] { display: none; }
.project-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); border-radius: var(--radius); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.04); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; }
.chip-status { position: absolute; top: 18px; right: 18px; background: rgba(12,21,38,.72); color: #fff; backdrop-filter: blur(8px); }
.chip-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.chip-status.status-last i { background: var(--sand); }
.chip-status.status-soldout i { background: var(--coral); }
.project-body { padding-top: 26px; }
.project-body h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.project-excerpt { color: var(--ink-2); max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid var(--line); margin: 22px 0; }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; font-size: 18px; }
.facts small { font-weight: 400; font-size: 13px; color: var(--muted); }
.progress { margin: 0 0 24px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 10px; flex-wrap: wrap; }
.progress-label b { color: var(--teal); }
.progress-bar { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #5fd3b8); border-radius: inherit; transition: width 1.6s var(--ease) .2s; }
.in .progress-bar span, .progress.in .progress-bar span { width: var(--p); }
.note-badge { font-size: 15px; color: var(--sand); font-weight: 500; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--navy); color: #fff; }
.split-media { position: relative; min-height: 640px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media .fig { position: absolute; bottom: 20px; right: 24px; color: rgba(255,255,255,.8); background: rgba(12,21,38,.55); padding: 4px 12px; border-radius: 99px; backdrop-filter: blur(6px); }
.split-text { padding: clamp(48px, 7vw, 120px); align-self: center; }
.split-text .eyebrow { color: var(--sand); }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }
.pills li { border: 1px solid rgba(255,255,255,.25); padding: 6px 18px; border-radius: 99px; font-size: 16px; }
.price-old { display: flex; gap: 14px; align-items: center; margin-bottom: 0; }
.price-old s { color: #8d95a6; font-size: 26px; text-decoration-color: var(--coral); }
.save { background: var(--coral); color: #fff; padding: 3px 14px; border-radius: 6px; font-size: 15px; font-weight: 700; }
.price-big { font-size: clamp(48px, 6vw, 92px); font-weight: 700; line-height: 1.1; margin: 6px 0 28px; font-feature-settings: "tnum"; }
.price-big small { font-size: .32em; font-weight: 400; opacity: .8; }

/* Services */
.services { border-top: 1px solid var(--ink); counter-reset: s; }
.service { display: grid; grid-template-columns: 80px 1.1fr 1.5fr 200px; gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s var(--ease); }
.service:hover { background: var(--white); padding-inline: 24px; }
.service .num { font-size: 15px; color: var(--muted); font-feature-settings: "tnum"; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--ink-2); }
.service-meta { font-size: 14px; color: var(--teal); text-align: left; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.pillar { background: var(--navy); padding: 40px 32px 48px; position: relative; }
.pillar-icon { display: inline-flex; width: 56px; height: 56px; border: 1px solid rgba(199,162,106,.5); border-radius: 50%; align-items: center; justify-content: center; color: var(--sand); margin-bottom: 40px; }
.pillar-num { position: absolute; top: 36px; left: 32px; font-size: 44px; font-weight: 400; color: transparent; -webkit-text-stroke: 1px rgba(27,154,130,.8); line-height: 1; }
.pillar p { color: #b9c0ce; margin: 0; }

/* Tour gallery (horizontal) */
.tour { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--pad) 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.tour-item { flex: 0 0 clamp(260px, 28vw, 420px); margin: 0; scroll-snap-align: start; }
.tour-item a { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--paper-2); cursor: zoom-in; }
.tour-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tour-item a:hover img { transform: scale(1.05); }
figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; }
figcaption span { color: var(--ink); font-feature-settings: "tnum"; margin-inline-end: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 24px; }
.steps .num { display: block; font-size: 15px; color: var(--teal); margin-bottom: 30px; }
.steps p { color: var(--ink-2); margin: 0; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.area-list { border-top: 1px solid var(--ink); }
.area-list li > a, .area-list li > div { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; }
.area-list li > div > span { color: var(--muted); font-weight: 500; }
.area-list em, .area-list b { font-style: normal; font-size: 15px; font-weight: 400; color: var(--muted); }
.area-list a:hover span { color: var(--teal); }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-ways { margin-top: 36px; display: grid; gap: 16px; }
.contact-ways li { display: flex; align-items: center; gap: 14px; font-size: 19px; }
.contact-ways .icon { color: var(--teal); flex-shrink: 0; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; font-size: 18px; border-radius: 0; transition: border-color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field input[dir="ltr"] { text-align: right; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin: 0; }
.form-msg.ok { background: #e3f4ef; color: var(--teal-d); }
.form-msg.err { background: #fbe9e6; color: #a6392d; }

/* Page head / prose */
.page-head { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(40px, 6vw, 84px); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 8px 20px; border-radius: 99px; cursor: pointer; font-size: 15px; transition: all .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose { max-width: 760px; font-size: 19px; }
.prose p { color: var(--ink-2); }
.page-body { display: grid; gap: 56px; }
.page-media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.posts { display: grid; gap: 32px; }
.post-row { border-top: 1px solid var(--line); padding-top: 24px; }

/* Single project */
.facts-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-lg { margin: 0; border: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.facts-lg > div { border: 0; border-inline-start: 1px solid var(--line); padding: 26px 22px; }
.facts-lg > div:first-child { border: 0; padding-inline-start: 0; }
.facts-lg dd { font-size: 20px; }
.project-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.progress-lg { margin-top: 36px; max-width: 560px; }
.features { background: var(--white); padding: 40px; border-radius: var(--radius); }
.features ul { display: grid; gap: 0; }
.features li { padding: 12px 0 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.features li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; transform: translateY(-3px); }
.features li:last-child { border: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.plan { background: var(--white); padding: 40px; border-radius: var(--radius); border-top: 3px solid var(--teal); }
.plan .price-big { font-size: clamp(44px, 4.6vw, 68px); margin-bottom: 6px; }
.plan-from { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.plan-desc { color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { margin: 0; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--paper-2); }
.gallery-item.wide a { aspect-ratio: auto; height: calc(100% - 36px); min-height: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item a:hover img { transform: scale(1.04); }
.map-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
.map { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
.licenses { border-top: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--muted); }
.licenses p { margin: 0; padding: 18px 0; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd5e1; padding: 96px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 64px; height: auto; margin-bottom: 24px; }
.footer-claim { font-size: 26px; font-weight: 700; color: #fff; line-height: 1.4; }
.footer-col h4 { font-size: 14px; color: var(--sand); font-weight: 500; margin-bottom: 20px; }
.footer-col .menu { display: grid; gap: 10px; }
.footer-col a:hover { color: #fff; }
.contact-list li { font-size: 16px; }
.socials { display: flex; gap: 16px; margin-top: 20px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: #8d95a6; }
.footer-bottom p { margin: 0; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,22,.94); display: flex; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #cfd5e1; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; width: 60px; height: 60px; line-height: 1; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; left: 16px; }
.lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 12px; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.nav-phone { display: none; }
	.service { grid-template-columns: 60px 1fr 1.4fr; }
	.service-meta { display: none; }
	.pillars { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	body { font-size: 17px; }
	.menu-toggle { display: block; margin-inline-start: auto; }
	.header-cta { display: none; }
	.nav { position: fixed; inset: 84px 0 0 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: stretch; padding: 32px var(--pad); gap: 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); margin: 0; overflow-y: auto; }
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open .site-header { background: var(--paper); color: var(--ink); }
	.menu-open .site-header .brand-mark img { filter: none !important; }
	.nav .menu { flex-direction: column; gap: 0; }
	.nav .menu a { display: block; font-size: 26px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav-phone { display: inline-flex; font-size: 20px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.stat { border-top: 1px solid var(--line); }
	.stat:nth-child(-n+2) { border-top: 0; }
	.projects-grid, .split, .areas, .contact-grid, .project-intro, .map-grid { grid-template-columns: 1fr; }
	.split-media { min-height: 420px; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.gallery-item.wide a { height: auto; aspect-ratio: 16 / 10; }
	.hero-scroll { display: none; }
}
@media (max-width: 600px) {
	.service { grid-template-columns: 1fr; gap: 8px; }
	.pillars, .steps, .field-row { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.gallery-item.wide { grid-column: auto; }
	.facts-lg > div { border-inline-start: 0; padding-inline: 0; }
	.lightbox { padding: 20px; }
	.hero-inner { padding-bottom: 72px; }
	.features, .plan { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Sold projects */
.sold-list { border-top: 1px solid var(--ink); }
.sold-item { display: grid; grid-template-columns: 60px 1.2fr 1.6fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.sold-item .num { font-size: 15px; color: var(--muted); }
.sold-item h3 { margin: 0 0 4px; }
.sold-item .muted { margin: 0; font-size: 15px; }
.sold-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sold-tags li { font-size: 14px; border: 1px solid var(--line); background: var(--white); padding: 3px 12px; border-radius: 99px; color: var(--ink-2); }
.chip-sold { background: var(--ink); color: #fff; }
.chip-status.status-soldout { background: rgba(12,21,38,.85); }
@media (max-width: 900px) { .sold-item { grid-template-columns: 40px 1fr; } .sold-tags, .chip-sold { grid-column: 2; justify-self: start; } }

/* Elementor: theme sections inside Elementor layouts */
.elementor-widget[class*="elementor-widget-eskaan_"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-widget[class*="elementor-widget-eskaan_"]:not(:last-child) { margin-bottom: 0; }
.elementor-page .site-header { z-index: 60; }
body.elementor-editor-active .js .reveal, .elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
