/* EstatePro landing page ("Skyline"). Brand tokens match resources/estatepro/theme.css (Royal Light). */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --navy: #1f2f63; --navy-2: #3d63cc; --royal: #3155b8; --gold: #f2b84b; --gold-strong: #b07a12;
  --ink: #1f2937; --muted: #5b6474; --bg: #f7f8fd; --surface: #ffffff; --sand: #eaf0fc; --line: #dfe4f1;
  --radius: 22px;
  --accent: var(--gold); --accent-ink: var(--navy); --accent-glow: rgba(242, 184, 75, 0.4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 17px; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-size: 16.5px; font-weight: 700; letter-spacing: 0.1px; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }
html[dir=rtl] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
html[dir=rtl] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn-gold { background: linear-gradient(180deg, #f8cd73 0%, #f2b84b 55%, #e4a536 100%); color: #1f2f63; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 30px -10px rgba(242, 184, 75, 0.75); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 36px -10px rgba(242, 184, 75, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55); }
.btn-ghost:hover { background: #ffffff; }
.btn-navy { background: var(--navy); color: #fff; }

/* Top navigation: floating glass bar over the hero photo, solid white after scrolling */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; padding-top: 14px; transition: padding 0.25s ease; }
.top.scrolled { padding-top: 8px; }
.bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 66px; padding-inline: 18px 10px; border-radius: 999px;
  background: rgba(9, 20, 40, 0.32); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.top.scrolled .bar, .top.open .bar { background: rgba(255, 255, 255, 0.94); border-color: rgba(15, 35, 65, 0.08); box-shadow: 0 14px 40px -16px rgba(15, 35, 65, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: 0.2px; transition: color 0.25s ease; }
.top.scrolled .brand, .top.open .brand { color: var(--navy); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #f8cd73, var(--gold) 55%, #e09d2c); color: var(--navy); display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 14px rgba(242, 184, 75, 0.4); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.menu a.current { color: #fff; background: rgba(255, 255, 255, 0.16); }
.top.scrolled .menu a { color: var(--muted); }
.top.scrolled .menu a:hover { color: var(--navy); background: #eef2fc; }
.top.scrolled .menu a.current { color: var(--navy); background: #e3eafb; }
.menu .menu-extra { display: none; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.lang { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.3); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang:hover { background: rgba(255, 255, 255, 0.12); }
.top.scrolled .lang { color: var(--navy); border-color: var(--line); }
.top.scrolled .lang:hover { background: #eef2fc; }
.top-actions .btn-gold { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer; place-items: center; padding: 0; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.burger .icon-close { display: none; }
.top.open .burger .icon-open { display: none; }
.top.open .burger .icon-close { display: block; }
.top.scrolled .burger, .top.open .burger { color: var(--navy); border-color: var(--line); }
section[id] { scroll-margin-top: 96px; }

/* Hero: the photo follows the visitor's country (html[data-country]) */
.hero { position: relative; min-height: 94vh; display: flex; align-items: flex-end; color: #fff; background: var(--navy) center / cover no-repeat; background-image: url(images/hero-general-city.jpg); }
html[data-country=kw] .hero { background-image: url(images/hero-kw-day.jpg); }
html[data-country=sa] .hero { background-image: url(images/hero-sa-city.jpg); }
html[data-country=ae] .hero { background-image: url(images/hero-ae-city.jpg); }
html[data-country=qa] .hero { background-image: url(images/hero-qa-city.jpg); }
html[data-country=om] .hero { background-image: url(images/hero-om-city.jpg); }
html[data-country=bh] .hero { background-image: url(images/hero-bh-city.jpg); }
html[data-country=eg] .hero { background-image: url(images/hero-eg-city.jpg); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8, 18, 36, 0.78) 0%, rgba(8, 18, 36, 0.45) 38%, rgba(8, 18, 36, 0) 62%),
  linear-gradient(180deg, rgba(8, 18, 36, 0.45) 0%, rgba(8, 18, 36, 0) 22%, rgba(8, 18, 36, 0) 58%, rgba(8, 18, 36, 0.8) 100%); }
html[dir=rtl] .hero::before { background:
  linear-gradient(270deg, rgba(8, 18, 36, 0.78) 0%, rgba(8, 18, 36, 0.45) 38%, rgba(8, 18, 36, 0) 62%),
  linear-gradient(180deg, rgba(8, 18, 36, 0.45) 0%, rgba(8, 18, 36, 0) 22%, rgba(8, 18, 36, 0) 58%, rgba(8, 18, 36, 0.8) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 140px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding: 7px 16px 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.5; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45); }
.eyebrow .dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: #d4a03c; }
.eyebrow .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: inherit; opacity: 0; }
html[data-country=kw] .eyebrow .dot { background: #16a34a; }
html[data-country=kw] .eyebrow .dot::after { color: #16a34a; animation: live-pulse 1.8s ease-out infinite; }
html[data-country=general] .eyebrow .dot { background: var(--navy-2); }
.eyebrow .audience { padding-inline-start: 10px; border-inline-start: 1px solid #d6dbe4; color: #5b6474; font-weight: 600; }
@keyframes live-pulse { 0% { opacity: 0.7; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.6); } }
.hero h1 { font-size: clamp(36px, 5.4vw, 66px); max-width: 760px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.hero .lead { font-size: 20px; color: #eef2f8; max-width: 600px; margin: 20px 0 30px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; }
.countries > span { color: #fff; font-size: 15px; font-weight: 600; margin-inline-end: 4px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.countries button { font: inherit; font-size: 15px; font-weight: 600; color: #1f2937; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; min-height: 40px; padding: 0 16px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); transition: background 0.15s ease; }
.countries button:hover { background: #fff; }
.countries button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 0 0 2px var(--gold), 0 8px 18px -8px rgba(0, 0, 0, 0.6); }
.countries .soon { font-size: 11.5px; opacity: 0.65; margin-inline-start: 6px; font-weight: 500; }
.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .18); border-radius: 20px; overflow: hidden; backdrop-filter: blur(14px); }
.facts div { background: rgba(15, 35, 65, .55); padding: 20px 24px; }
.facts strong { display: block; font-size: 24px; }
.facts span { color: #cbd5e1; font-size: 15px; }

/* Sections */
section { padding: 96px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.head p { color: var(--muted); margin-top: 10px; }

.roles-section { padding: 80px 0 96px; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.role { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(15, 35, 65, 0.45); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.role:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -30px rgba(15, 35, 65, 0.55); }
.role .ph { position: relative; height: 230px; background: var(--sand) center / cover no-repeat; transition: transform 0.6s ease; }
.role:hover .ph { transform: scale(1.04); }
.role .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 35, 65, 0) 45%, rgba(15, 35, 65, 0.55) 100%); }
.role-owner .ph { background-image: url(images/role-owner.jpg); }
.role-company .ph { background-image: url(images/role-company.jpg); }
.role-collector .ph { background-image: url(images/role-collector.jpg); }
.role-tag { position: absolute; z-index: 1; bottom: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-size: 13.5px; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45); }
html[dir=rtl] .role-tag { padding: 6px 6px 6px 14px; }
.role-tag i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.role-tag svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.role .tx { position: relative; z-index: 1; flex: 1; padding: 24px 26px 28px; background: var(--surface); border-top: 3px solid var(--gold); }
.role h3 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.role p { color: var(--muted); }

/* Features: apartment photo beside the list (from the "Residence" option) */
.features { background: var(--sand); }
.features .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.visual { position: relative; }
.visual .ph { aspect-ratio: 4 / 5; border-radius: 28px; background: #cdbfa8 url(images/feature-apartment.jpg) center / cover no-repeat; box-shadow: 0 40px 80px -30px rgba(15, 35, 65, .45); }
.float { position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 40px -12px rgba(15, 35, 65, .3); font-size: 15px; }
.float small { color: var(--muted); display: block; }
.float-a { inset-inline-end: -24px; top: 44px; width: 250px; }
.float-a b { font-size: 21px; color: var(--navy); }
.float-a .bar { height: 8px; background: #ece6dc; border-radius: 99px; margin-top: 10px; overflow: hidden; }
.float-a .bar i { display: block; width: 85%; height: 100%; background: var(--navy-2); }
.float-b { inset-inline-start: -24px; bottom: 52px; display: flex; gap: 12px; align-items: center; }
.float-b .ok { width: 40px; height: 40px; border-radius: 50%; background: #dcfce7; display: grid; place-items: center; flex: none; }
.flist { display: grid; gap: 22px; margin-top: 28px; }
.fi { display: flex; gap: 16px; }
.fi i { flex: none; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--navy-2); display: grid; place-items: center; }
.fi h3 { font-size: 18px; color: var(--navy); }
.fi p { color: var(--muted); margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--surface); border-radius: 18px; padding: 24px; border: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; margin-bottom: 14px; }

.pricing { background: var(--royal); color: #fff; }
.pricing .head h2 { color: #fff; }
.pricing .head p { color: #dfe7fb; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tier { border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; padding: 24px; background: rgba(255, 255, 255, .04); }
.tier.hot { border-color: var(--accent); background: rgba(242, 184, 75, 0.14); }
.tier span { color: #dfe7fb; font-size: 15px; display: block; }
.tier strong { display: block; font-size: 26px; margin: 6px 0; }
.trial { margin: 28px auto 0; max-width: 620px; text-align: center; border: 1px solid var(--accent); border-radius: 999px; padding: 12px 20px; color: #fff; }
.note { text-align: center; color: #c9d5f5; font-size: 14px; margin-top: 18px; }

.faq { max-width: 860px; margin: 0 auto; }
details { background: var(--surface); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; border: 1px solid var(--line); }
summary { font-weight: 700; color: var(--navy); cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); }

.cta { position: relative; border-radius: 28px; overflow: hidden; color: #fff; padding: 72px 40px; text-align: center; background: var(--navy) url(images/cta-villa.jpg) center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(36, 58, 140, 0.84); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta p { color: #dbe3ef; max-width: 640px; margin: 14px auto 28px; }
.cta .hero-actions { justify-content: center; }

footer { padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Tablet */
@media (max-width: 1000px) {
  .burger { display: grid; }
  .menu { display: none; position: absolute; top: calc(100% + 10px); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px -20px rgba(15, 35, 65, 0.45); }
  .top.open .menu { display: flex; }
  .menu a, .top.scrolled .menu a { color: var(--navy); padding: 13px 16px; border-radius: 14px; }
  .menu a:hover, .menu a.current { background: #eef2fc; color: var(--navy); }
  .menu .menu-extra { display: block; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; border-radius: 0 0 14px 14px; }
  .top.open .lang { color: var(--navy); border-color: var(--line); }
  .roles { grid-template-columns: 1fr 1fr; }
  .roles .role:last-child { grid-column: 1 / -1; }
  .features .wrap { grid-template-columns: 1fr; }
  .visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .steps, .tiers { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .roles-section { padding: 56px 0 64px; }
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 112px; padding-bottom: 40px; }
  .hero .lead { font-size: 17px; }
  .eyebrow { font-size: 14px; }
  .eyebrow .audience { display: none; }
  .top-actions .lang { display: none; }
  .top-actions .btn-gold { padding: 0 16px; }
  .bar { height: 60px; padding-inline: 14px 8px; }
  .facts, .roles, .steps, .tiers { grid-template-columns: 1fr; }
  .roles .role:last-child { grid-column: auto; }
  .float-a { inset-inline-end: 10px; width: 220px; }
  .float-b { inset-inline-start: 10px; }
  .trial { border-radius: 18px; }
  .cta { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .role, .role .ph { transition: none; } .btn:hover, .role:hover, .role:hover .ph { transform: none; } }

/* Floating WhatsApp button */
.wa-float { position: fixed; z-index: 60; inset-inline-end: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 14px 34px -10px rgba(18, 140, 70, 0.75); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; pointer-events: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(18, 140, 70, 0.85); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@keyframes wa-ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 620px) { .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; inset-inline-end: 16px; bottom: 16px; } .wa-float .wa-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
