/* Hera Realty
   Bright and editorial: white and soft-grey surfaces, near-black bands for rhythm, very large tight sans
   headlines with a grey second tone or a serif italic accent. Greek details (numerals, Ἥρα, the key band)
   stay quiet. No shadows, no glows. */

:root {
  --white: #ffffff;
  --soft: #f3f3f1;
  --stone: #e6e5e1;
  --ink: #141414;
  --ink-2: #1f1f1f;
  --muted: #5f5e5a;
  --tone: #8d8c87; /* second-tone headline text: large text only (≥3:1 on white) */
  --on-dark: #f2f1ee;
  --on-dark-muted: #a7a6a1;
  --on-dark-tone: #7c7b77;
  --bronze: #8a6a34;
  --bronze-light: #c4a56c;
  --line: rgba(20, 20, 20, 0.12);
  --line-strong: rgba(20, 20, 20, 0.28);
  --line-dark: rgba(242, 241, 238, 0.14);

  --sans: "Instrument Sans", "Instrument Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --hdr: 76px;
  --r: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Fallback faces sized to the web fonts (measured) so text doesn't reflow when they load. */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 102.4%; ascent-override: 94.7%; descent-override: 24.4%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman Italic"), local("Times New Roman"), local("Times"), local("Liberation Serif Italic"), local("Liberation Serif"); size-adjust: 88%; ascent-override: 112.5%; descent-override: 35.2%; line-gap-override: 0%; }

@font-face { font-family: "Plex Arabic Fallback"; src: local("Arial"), local("Tahoma"), local("DejaVu Sans"); size-adjust: 86.8%; ascent-override: 125.6%; descent-override: 48.4%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
[hidden] { display: none !important; }
::selection { background: var(--stone); }
[lang="el"] { font-family: var(--serif); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip:focus { top: 16px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.muted { color: var(--muted); }
.sec { padding-block: clamp(88px, 11vw, 156px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.soft { background: var(--soft); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark .muted { color: var(--on-dark-muted); }
.center { text-align: center; }

/* ── Type ── */
.h-hero { font-size: clamp(48px, 8.4vw, 132px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 500; }
.h-hero--left { text-align: start; }
.h-2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }
.h-3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.tone { color: var(--tone); }
.dark .tone { color: var(--on-dark-tone); }
.lede { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.marker { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.marker .gk { font-size: 20px; }
.dark .marker { color: var(--on-dark-muted); }
.gk { font-family: var(--serif); font-style: italic; color: var(--bronze); line-height: 1; }
.dark .gk { color: var(--bronze-light); }
.statement { font-size: clamp(26px, 3vw, 44px); line-height: 1.18; letter-spacing: -0.035em; color: var(--tone); font-weight: 500; }
.statement b { font-weight: 500; color: var(--ink); }
.statement--ink { color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; margin-bottom: 28px; }

/* ── Links & buttons ── */
.tlink { display: inline; font-weight: 500; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.4s var(--ease); }
.tlink:hover { background-size: 0% 1px; background-position: 100% 100%; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btns--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); font-size: 15px; font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s; white-space: nowrap; }
.btn:hover { background: #333; border-color: #333; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--soft); border-color: var(--soft); }
.btn--line { background: transparent; color: inherit; border-color: var(--line-strong); }
.btn--line:hover { background: transparent; border-color: currentColor; }
.dark .btn--line { border-color: var(--line-dark); }
.btn--block { width: 100%; }
.pill { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; }
.sq { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 241, 238, 0.08); transition: background-color 0.3s; }
.sq:hover { background: rgba(242, 241, 238, 0.18); }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; margin: 0; background: var(--stone); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ── Header ── */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.hdr.is-solid { border-bottom-color: var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.mark img { width: 34px; }
.hdr__nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-inline-start: auto; font-size: 14.5px; }
.hdr__nav a { color: var(--muted); transition: color 0.25s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--ink); }
.hdr__end { display: flex; align-items: center; gap: 20px; font-size: 14.5px; }
.lang-link, .saved-link { color: var(--muted); white-space: nowrap; transition: color 0.25s; }
.lang-link:hover, .saved-link:hover { color: var(--ink); }
.saved-link span { color: var(--ink); }
.menu-btn { display: none; font-weight: 500; }
.menu { position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--white); padding-top: 16px; overflow-y: auto; }
.menu nav { display: flex; flex-direction: column; }
.menu a { font-size: 28px; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ── Home hero ── */
.hero { padding-top: clamp(40px, 6vw, 88px); overflow: hidden; }
.hero__top { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__top .h-hero { max-width: 14ch; margin-bottom: 26px; }
.hero__top .lede { margin: 0 auto 30px; }
.hero__stage { position: relative; margin-top: clamp(48px, 6vw, 88px); }
.hero__img { position: relative; z-index: 1; margin: 0 auto; width: min(100%, 1600px); height: clamp(340px, 62vh, 720px); overflow: hidden; clip-path: inset(0 var(--clip, 0%) round var(--clip-r, 0px)); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__notes { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: clamp(20px, 3vw, 40px); pointer-events: none; }
.hero__stat { display: flex; align-items: flex-end; gap: 12px; background: var(--white); border-radius: var(--r); padding: 16px 20px; pointer-events: auto; }
.hero__stat strong { font-size: 48px; line-height: 0.9; letter-spacing: -0.05em; font-weight: 500; }
.hero__stat span { font-size: 13px; color: var(--muted); max-width: 12ch; line-height: 1.35; }
.hero__note { max-width: 300px; margin: 0; background: rgba(20, 20, 20, 0.62); color: var(--on-dark); border-radius: var(--r); padding: 16px 20px; font-size: 14px; line-height: 1.5; }

/* ── About ── */
.about { text-align: center; display: flex; flex-direction: column; align-items: center; }
.about .statement { max-width: 24ch; margin-bottom: clamp(48px, 6vw, 80px); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: clamp(24px, 4vw, 64px); }
.principles li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; }
.principles .gk { font-size: 28px; margin-bottom: 8px; }
.principles b { font-weight: 500; }
.principles li > span:last-child { color: var(--muted); font-size: 14px; }

/* ── Section heads ── */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row__count { margin: 0; font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.05em; line-height: 1; display: flex; flex-direction: column; align-items: flex-end; }
.head-row__count span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.center-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.center-head .h-2 { max-width: 18ch; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { margin: 12px 0 0; }

/* ── Property cards ── */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pcard a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: border-color 0.3s; }
.pcard a:hover { border-color: var(--line-strong); }
.pcard figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard a:hover figure img { transform: scale(1.03); }
.pcard__status { position: absolute; top: 14px; inset-inline-start: 14px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 500; }
.pcard__status--soldout { background: var(--ink); color: var(--white); }
.pcard__status.is-static { position: static; margin-bottom: 18px; border: 1px solid var(--line-strong); }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 4px; }
.pcard__loc { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.pcard__hl { font-size: 15px; margin: 0 0 20px; }
.pcard__meta { margin: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.pcard__meta dt { font-size: 12px; color: var(--muted); }
.pcard__meta dd { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; }

/* ── Properties page ── */
.ptop { padding-top: clamp(40px, 6vw, 80px); }
.ptop .h-hero { margin: 18px 0 20px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.crumbs a:hover { color: var(--ink); }
.pfilters { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.pselect { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.pselect select { appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; height: 40px; padding: 0 36px 0 16px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235f5e5a'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
[dir="rtl"] .pselect select { padding: 0 16px 0 36px; background-position: left 14px center; }
.pfilters__count { margin: 0 0 8px auto; font-size: 14px; color: var(--muted); }
.pempty { padding: 40px 0; text-align: center; }
.devs-note { font-size: 13px; color: var(--muted); margin-top: 28px; max-width: 70ch; }

/* ── Property detail ── */
.dhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin: 28px 0 32px; }
.dhead h1 { margin-bottom: 8px; }
.dhead__loc { color: var(--muted); margin: 0; }
.dhead__price { text-align: end; }
.dhead__price span { display: block; font-size: 13px; color: var(--muted); }
.dhead__price strong { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.dimg { margin: 0 auto; }
.dimg__in { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 8; background: var(--stone); }
.dimg img { width: 100%; height: 100%; object-fit: cover; }
.dgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.dbody > p { color: var(--muted); max-width: 64ch; }
.dbody .h-3 { margin: 40px 0 16px; font-size: 24px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 20px; width: 12px; height: 6px; border-inline-start: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg); }
[dir="rtl"] .ticks li { padding: 12px 28px 12px 0; }
.dside { position: sticky; top: calc(var(--hdr) + 24px); background: var(--soft); border-radius: var(--r); padding: 28px; }
.dside .facts { margin: 0 0 24px; }
.dside__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ── Services (dark) ── */
.srows { list-style: none; margin: 0 0 clamp(72px, 9vw, 120px); padding: 0; border-top: 1px solid var(--line-dark); }
.srow { display: grid; grid-template-columns: 64px minmax(0, 3fr) minmax(0, 4fr) auto; gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.srow__n { font-size: 18px; font-weight: 500; }
.srow h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.srow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--on-dark-muted); font-size: 15px; }
.srow ul li::before { content: "+ "; color: var(--on-dark-tone); }
.h-3.center { margin-bottom: 36px; }
.xcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.xcard { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.2; isolation: isolate; }
.xcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.xcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.05) 45%, rgba(20, 20, 20, 0.65)); }
.xcard > div { height: 100%; display: flex; flex-direction: column; padding: 22px; }
.xcard h4 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; max-width: 12ch; }
.xcard p { margin: auto 0 14px; font-size: 14px; color: rgba(242, 241, 238, 0.86); max-width: 30ch; }
.xcard .pill { align-self: flex-start; }

/* ── Destinations ── */
.dest { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.dcard { position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(380px, 46vw, 600px); display: flex; align-items: flex-end; isolation: isolate; color: var(--white); }
.dcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dcard:hover img { transform: scale(1.03); }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(20, 20, 20, 0.72)); }
.dcard__body { padding: clamp(22px, 3vw, 36px); }
.dcard h3 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.045em; line-height: 1; margin-bottom: 10px; }
.dcard p { max-width: 40ch; color: rgba(255, 255, 255, 0.86); margin-bottom: 18px; }

/* ── Process (cards) ── */
.tabs-text { display: flex; gap: 26px; flex-wrap: wrap; }
.tabs-text--center { justify-content: center; margin-top: 24px; }
.tabs-text button { color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.tabs-text button:hover { color: var(--ink); }
.tabs-text button[aria-checked="true"], .tabs-text button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs-text--lg { gap: clamp(20px, 3vw, 40px); margin-bottom: 32px; font-size: clamp(17px, 1.5vw, 20px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { background: var(--white); border-radius: var(--r); padding: 26px 26px 30px; min-height: 220px; display: flex; flex-direction: column; }
.steps .gk { display: block; font-size: 30px; margin-bottom: auto; padding-bottom: 28px; }
.steps h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }
[dir="rtl"] .steps .gk { text-align: right; }

/* ── Guide pages ── */
.phero { position: relative; min-height: max(460px, 66svh); color: var(--white); display: flex; isolation: isolate; background: var(--ink); margin: 0 auto; }
.phero__img { position: absolute; inset: 0; z-index: -2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(20, 20, 20, 0.05) 40%, rgba(20, 20, 20, 0.72) 100%); }
.phero__in { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding-bottom: clamp(32px, 5vh, 56px); }
.phero p { max-width: 52ch; color: rgba(255, 255, 255, 0.9); margin: 0; }
.phero .crumbs { color: rgba(255, 255, 255, 0.8); }
.caps { font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
.t-giant { font-size: clamp(56px, 10vw, 156px); line-height: 0.92; letter-spacing: -0.055em; }
.t-xl { font-size: clamp(34px, 4.2vw, 56px); }
.t-l { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; }
.gintro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.gintro .statement { grid-column: 1 / 8; color: var(--ink); }
.gintro > div { grid-column: 9 / 13; }
.gintro > div p { color: var(--muted); }
.toc { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; transition: color 0.25s; }
.toc a:hover { color: var(--bronze); }
.toc .gk { font-size: 18px; }
.island { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: 28px; padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); align-items: start; }
.island figure { grid-column: 1 / 8; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); border-radius: var(--r); position: sticky; top: calc(var(--hdr) + 24px); }
.island figure img { width: 100%; height: 100%; object-fit: cover; }
.island__text { grid-column: 9 / 13; }
.island:nth-of-type(even) figure { grid-column: 6 / 13; grid-row: 1; }
.island:nth-of-type(even) .island__text { grid-column: 1 / 5; grid-row: 1; }
.island__text .marker { margin-bottom: 12px; }
.island__text h2 { margin-bottom: 8px; }
.island__tag { font-size: 15px; color: var(--bronze); margin-bottom: 22px; }
.island__text p { color: var(--muted); }
.island__text .btns { margin-top: 26px; }
.island--soon { grid-template-columns: 1fr; }
.island--soon .island__text { grid-column: 1 / -1; max-width: 640px; }
.facts { margin: 26px 0 0; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.gcta { text-align: center; }
.gcta .h-2, .gcta .t-xl { margin: 0 auto 18px; max-width: 18ch; }
.gcta p { max-width: 52ch; margin: 0 auto 30px; }
.gcta .btns { justify-content: center; }

/* Dubai area index */
.guide__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.guide__head .muted { margin: 12px 0 0; max-width: 46ch; }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.toggles button { height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); transition: all 0.25s; }
.toggles button:hover { color: var(--ink); border-color: var(--ink); }
.toggles button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.guide__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.index { grid-column: 1 / 9; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: area; }
.index > li { border-bottom: 1px solid var(--line); counter-increment: area; }
.row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: baseline; gap: 12px; padding: 20px 0; text-align: start; }
.row::before { content: counter(area, decimal-leading-zero); color: var(--muted); font-size: 15px; }
.row__name { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.035em; line-height: 1.15; transition: color 0.25s; }
.row__icon { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; }
.row__icon::before, .row__icon::after { content: ""; position: absolute; inset: 6.5px 0 auto; height: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
.row__icon::after { transform: rotate(90deg); }
.row[aria-expanded="true"] .row__icon::after { transform: rotate(0deg); }
.index > li:hover .row__name { color: var(--bronze); }
.row__saved { font-size: 13px; color: var(--bronze); margin-inline-start: 12px; vertical-align: middle; letter-spacing: 0; }
.panel { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 0 0 26px; }
.panel > div { grid-column: 2; max-width: 58ch; }
.panel p { color: var(--muted); }
.panel__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.panel__actions { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.guide__preview { grid-column: 9 / 13; position: sticky; top: calc(var(--hdr) + 32px); }
.guide__preview .arch { aspect-ratio: 3 / 4; position: relative; }
.stone { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stone); }
.stone img { width: 46%; height: auto; opacity: 0.55; }
.guide__cap { font-size: 13px; color: var(--muted); margin-top: 12px; min-height: 1.6em; }
.guide__empty { padding-top: 32px; }

/* ── Calculators ── */
.calc { display: grid; grid-template-columns: 7fr 5fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.calc__in { padding: clamp(26px, 3.2vw, 48px); display: flex; flex-direction: column; gap: 28px; background: var(--soft); }
.calc__out { padding: clamp(26px, 3.2vw, 48px); background: var(--ink); color: var(--on-dark); display: flex; flex-direction: column; }
.calc__k { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 10px; }
.calc__v { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.calc__v .cur { font-size: 0.42em; letter-spacing: 0; color: var(--on-dark-muted); vertical-align: 0.5em; }
html[lang="ar"] .calc__v .cur { vertical-align: 0.15em; }
.calc__s { font-size: 14px; color: var(--on-dark-muted); min-height: 1.6em; }
.calc__dl { margin: 18px 0 28px; }
.calc__dl div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.calc__dl dt { color: var(--on-dark-muted); }
.calc__dl dd { margin: 0; font-variant-numeric: tabular-nums; text-align: end; }
.calc__dl div.is-total dd, .calc__dl div.is-total dt { color: var(--bronze-light); }
.calc__note { font-size: 13px; color: var(--on-dark-muted); line-height: 1.5; margin: 0 0 24px; }
.calc__out .tlink { margin-top: auto; align-self: flex-start; color: var(--on-dark); }
.bar { position: relative; height: 1px; background: var(--line-dark); margin: 18px 0 28px; }
.bar span { position: absolute; inset-inline-start: 0; background: var(--bronze-light); height: 3px; top: -1px; width: 0; transition: width 0.6s var(--ease); }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.f label, .f legend { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; }
.f__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.f output { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.f input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), .f select, .f textarea { width: 100%; height: 46px; padding: 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; border-radius: 0; outline: none; font-size: 17px; transition: border-color 0.25s; }
.f textarea { height: auto; padding: 10px 0; resize: vertical; line-height: 1.5; }
.f select { appearance: none; cursor: pointer; padding-inline-end: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235f5e5a'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center / 11px; }
.f input:focus, .f select:focus, .f textarea:focus { border-bottom-color: var(--ink); }
.amt { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.25s; }
.amt:focus-within { border-bottom-color: var(--ink); }
.amt span { font-size: 14px; color: var(--muted); }
.f .amt input { border: 0 !important; font-size: 22px !important; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.amt--end span { order: 2; }
.hint { font-size: 13px; color: var(--muted); margin: 0; min-height: 1.4em; }
.opt { color: var(--muted); font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.plain { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.plain li { padding: 10px 0; border-top: 1px solid var(--line); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--ink) var(--p), #cfcdc8 var(--p)); }
input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), #cfcdc8 var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--white); box-sizing: content-box; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--white); }

/* ── Founders ── */
.founders__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.founders__mark { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: center; }
.founders__mark img { width: min(70%, 360px); }
.founders__greek { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7vw, 104px); line-height: 1; color: #8a8985; margin: 28px 0 0; }
.founders__text { grid-column: 7 / 13; }
.founders__text .h-2 { margin-bottom: 28px; }
.founders__lead { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.4; letter-spacing: -0.015em; margin-bottom: 26px; }
.founders__text p { color: var(--on-dark-muted); max-width: 54ch; }
.founders__text .tlink { display: inline-block; margin-top: 12px; color: var(--on-dark); }

/* ── FAQ ── */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.faq__grid > h2 { grid-column: 1 / 5; }
.qa { grid-column: 6 / 13; border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding-block: 22px; padding-inline: 0 40px; position: relative; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.015em; font-weight: 500; transition: color 0.25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--bronze); }
.qa summary::before, .qa summary::after { content: ""; position: absolute; inset-inline-end: 2px; top: 50%; width: 14px; height: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa details p { color: var(--muted); max-width: 62ch; margin: -4px 0 24px; }

/* ── Contact ── */
.contact { background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.contact__intro { grid-column: 1 / 6; }
.contact__intro h2 { margin-bottom: 22px; }
.contact__intro > .muted { max-width: 36ch; }
.contact__dl { margin: 44px 0 0; }
.contact__dl div { display: grid; grid-template-columns: 110px 1fr; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact__dl dt { color: var(--muted); }
.contact__dl dd { margin: 0; }
.form { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 28px; background: var(--white); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: block; height: 38px; line-height: 36px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all 0.25s; }
.pills span:hover { border-color: var(--ink); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pills input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.err { display: none; color: #9b3b26; font-size: 13px; margin: 0; }
.f.is-invalid .err { display: block; }
.f.is-invalid input { border-bottom-color: #9b3b26 !important; }
.form__saved p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.form__saved ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__saved li { display: inline-flex; gap: 10px; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.form__saved li button { color: var(--muted); }
.form__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; max-width: 60ch; }
.form__toast { font-size: 14px; color: #7a5e2e; margin: -10px 0 0; min-height: 1.4em; }

/* ── Saved drawer ── */
.saved { position: fixed; inset: 0; z-index: 60; background: rgba(20, 20, 20, 0.35); display: flex; justify-content: flex-end; }
.saved__panel { width: min(420px, 100%); height: 100%; background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; animation: slide 0.45s var(--ease); }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.saved__head { display: flex; justify-content: space-between; align-items: baseline; }
.saved__panel h2 { font-size: 28px; letter-spacing: -0.04em; }
.saved__panel ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.saved__panel li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.saved__panel li strong { font-weight: 500; font-size: 20px; letter-spacing: -0.03em; display: block; }
.saved__panel li small { color: var(--muted); font-size: 13px; }
.saved__panel li button { color: var(--muted); font-size: 14px; }
.saved__panel .btn { margin-top: auto; }

/* ── Footer ── */
.ftr { background: var(--ink); color: var(--on-dark-muted); font-size: 15px; overflow: hidden; }
.meander { height: 26px; opacity: 0.35; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23c4a56c' stroke-width='1'%3E%3Cpath d='M0.5 25.5h25M0.5 25.5v-21h18v14h-11v-7h5'/%3E%3C/svg%3E") repeat-x left top / 26px 26px; }
.ftr__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); padding-block: 64px 40px; align-items: start; }
.ftr__line { grid-column: 1 / 5; color: var(--on-dark); max-width: 24ch; font-size: 20px; letter-spacing: -0.02em; }
.ftr nav { grid-column: 6 / 9; display: flex; flex-direction: column; gap: 6px; }
.ftr__contact { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 6px; }
.ftr a { transition: color 0.25s; }
.ftr a:hover { color: var(--on-dark); }
.ftr__word { font-size: clamp(96px, 24vw, 380px); font-weight: 500; letter-spacing: -0.07em; line-height: 0.74; color: var(--on-dark); margin: 0 0 -0.06em; text-align: center; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.ftr__base p { margin: 0; }

/* ── 404 ── */
.nf { min-height: 100svh; display: grid; place-items: center; padding: 48px var(--gutter); background: var(--soft); }
.nf__main { max-width: 520px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf__arch { width: 160px; aspect-ratio: 3 / 4; position: relative; margin-bottom: 40px; }
.nf .caps { font-size: 72px; margin-bottom: 12px; }
.nf h1 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 10px; }
.nf__ar { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; font-family: "IBM Plex Sans Arabic", var(--sans); }
.nf__ar p { margin-bottom: 6px; }

/* ── Motion ──
   Added by app.js only when the visitor hasn't asked for reduced motion; without it everything is static and
   visible. Reveals slide content up as it enters the viewport; .px images drift against the scroll inside
   their clipped frames (scaled so no edge shows). Transforms only, so nothing shifts the layout. */
.motion .rv { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 0.9s var(--ease), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .px { transform: translate3d(0, 0, 0) scale(1.14); transition: none !important; will-change: transform; }

/* ── Arabic & right-to-left ──
   IBM Plex Sans Arabic carries the page; Noto Naskh Arabic stands in for the serif italic (Arabic has no
   italics). Letters join, so letter-spacing is always zero. */
html[lang="ar"] { --sans: "IBM Plex Sans Arabic", "Plex Arabic Fallback", "Instrument Sans", Tahoma, sans-serif; --naskh: "Noto Naskh Arabic", "IBM Plex Sans Arabic", serif; }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] em { font-family: var(--naskh); font-style: normal; font-weight: 500; }
html[lang="ar"] .h-hero, html[lang="ar"] .t-giant { line-height: 1.15; }
html[lang="ar"] .h-2, html[lang="ar"] .caps, html[lang="ar"] .statement { line-height: 1.35; }
html[lang="ar"] .ftr__word { font-family: "Instrument Sans", var(--sans); }
[dir="rtl"] .f select { background-position: left 2px center; }
[dir="rtl"] input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--ink) var(--p), #cfcdc8 var(--p)); }
[dir="rtl"] input[type="range"]::-moz-range-track { background: linear-gradient(to left, var(--ink) var(--p), #cfcdc8 var(--p)); }
[dir="rtl"] .saved__panel { animation-name: slide-rtl; }
@keyframes slide-rtl { from { transform: translateX(-24px); opacity: 0; } }
[dir="rtl"] .meander { transform: scaleX(-1); }
[dir="rtl"] .head-row__count { align-items: flex-start; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hdr__nav, .hdr__end .lang-link, .hdr__end .btn { display: none; }
  .hdr__end { margin-inline-start: auto; }
  .menu-btn { display: block; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .srow { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .srow ul { grid-column: 2; grid-row: 2; }
  .srow .sq { grid-column: 3; grid-row: 1; }
}
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hero__notes { position: static; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; }
  .hero__note { max-width: none; background: var(--ink); }
  .principles { grid-template-columns: 1fr; max-width: 320px; }
  .xcards { grid-template-columns: 1fr; }
  .xcard { aspect-ratio: 16 / 11; }
  .dest { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .dgrid { grid-template-columns: 1fr; }
  .dside { position: static; }
  .gintro .statement, .gintro > div { grid-column: 1 / -1; }
  .gintro > div { margin-top: 28px; }
  .island figure, .island__text, .island:nth-of-type(even) figure, .island:nth-of-type(even) .island__text { grid-column: 1 / -1; grid-row: auto; position: static; }
  .index { grid-column: 1 / -1; }
  .guide__preview { display: none; }
  .calc { grid-template-columns: 1fr; }
  .founders__mark, .founders__text { grid-column: 1 / -1; }
  .founders__mark { margin-bottom: 48px; }
  .founders__mark img { width: 50%; }
  .faq__grid > h2, .qa { grid-column: 1 / -1; }
  .faq__grid > h2 { margin-bottom: 28px; }
  .contact__intro, .form { grid-column: 1 / -1; }
  .form { margin-top: 48px; }
  .ftr__line, .ftr nav, .ftr__contact { grid-column: 1 / -1; }
  .ftr nav, .ftr__contact { margin-top: 24px; }
}
@media (max-width: 700px) {
  .pgrid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .pfilters { gap: 16px; }
  .pfilters__count { margin-inline-start: 0; width: 100%; }
  .dhead__price { text-align: start; }
  .row { grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .panel { grid-template-columns: 36px 1fr; }
  .facts div { grid-template-columns: 100px 1fr; }
  .head-row__count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
