/* ==========================================================================
   ORA Holiday Apartments — site A "PropertyPRO"
   Every token below is read from the Figma file "PropertyPRO Real Estate
   Template" (styles + node geometry), not inferred from screenshots.
   Layout is written with logical properties so RTL/LTR flip automatically.
   ========================================================================== */

/* ---------- fonts ------------------------------------------------------- */
/* Bricolage Grotesque carries the template's personality but ships Latin only,
   so Rubik (a matching grotesque with Hebrew + Cyrillic) leads for he/ru and
   Bricolage leads for en/fr. Faces + unicode-ranges: assets/css/fonts.css. */
@import url('fonts.css?v=61b989dc');

:root {
  /* Figma paint styles */
  --black-100: #172023;
  --black-badge: #3E545D;
  --black-50: rgba(23, 32, 35, .5);
  --black-10: rgba(23, 32, 35, .1);
  --black-5: rgba(23, 32, 35, .05);
  --white: #FFFFFF;
  --white-80: rgba(255, 255, 255, .8);
  --white-40: rgba(255, 255, 255, .4);
  --white-10: rgba(255, 255, 255, .1);
  --primary: #07BE8A;
  --primary-10: rgba(7, 190, 138, .1);
  --bg: #F0F6F9;

  /* hero gradient — Figma: grad-linear(#79ADE1 #9CC2DD #FFFFFF) */
  --hero-a: #79ADE1;
  --hero-b: #9CC2DD;

  /* Figma effect style Shadow-100 */
  --shadow-100: 0 4px 6px -2px rgba(0, 0, 0, .05), 0 10px 15px -3px rgba(0, 0, 0, .1);

  --container: 1400px;
  --gutter: 40px;
  --section-y: 112px;
  --radius: 16px;
  --radius-pill: 999px;

  --font: 'Rubik', 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Rubik', system-ui, sans-serif;
}

/* Latin locales lead with the template face. */
html[lang^="en"], html[lang^="fr"] { --font: 'Bricolage Grotesque', 'Rubik', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
/* `clip` (not `hidden`) keeps the off-canvas menu panel from extending the
   scroll area without breaking position: sticky on the header. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.1px;
  color: var(--black-100);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; inset-block-start: -100px; inset-inline-start: 16px; z-index: 200;
  background: var(--black-100); color: var(--white); padding: 12px 20px; border-radius: 0 0 8px 8px;
}
.skip-link:focus { inset-block-start: 0; }

/* ---------- type scale (Figma text styles) ------------------------------ */
.h1, .h2, .h3, .d40 { font-family: var(--font-display); margin: 0; }
html[lang^="he"] .h1, html[lang^="he"] .h2, html[lang^="he"] .h3, html[lang^="he"] .d40,
html[lang^="ru"] .h1, html[lang^="ru"] .h2, html[lang^="ru"] .h3, html[lang^="ru"] .d40 {
  font-family: 'Rubik', sans-serif;
}
.h1 { font-size: clamp(40px, 5.4vw, 104px); line-height: 1;   letter-spacing: -.02em; font-weight: 600; }
.h2 { font-size: clamp(30px, 3.2vw, 52px);  line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.d40{ font-size: clamp(26px, 2.4vw, 40px);  line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.p-xl { font-size: clamp(22px, 2vw, 32px); line-height: 1.4; font-weight: 500; margin: 0; }
.p-18 { font-size: 18px; line-height: 1.4; margin: 0; }
.p-18-m { font-size: 18px; line-height: 1.4; font-weight: 500; margin: 0; }
.p-16 { font-size: 16px; line-height: 1.4; margin: 0; }
.p-14 { font-size: 14px; line-height: 1.4; margin: 0; }
.muted { color: var(--black-50); }
.muted-w { color: var(--white-40); }

/* ---------- layout ------------------------------------------------------ */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 80px; }
/* detail hero block: full top padding, tighter bottom before the body grid */
.section--detail-top { padding-block-end: 40px; }
.section--white { background: var(--white); }
/* The reference places property cards on white; --bg is kept for panels only. */
.section--bg { background: var(--white); }
.section--tint { background: var(--bg); }
.section--dark { background: var(--black-100); color: var(--white); }
@media (max-width: 900px) { :root { --section-y: 64px; } }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-64 { gap: 64px; }

/* section heading block — Figma "Frame 417" */
.sec-head { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.sec-head--start { align-items: flex-start; text-align: start; }
.sec-head p { max-width: 56ch; }
.badge-row { display: flex; align-items: center; gap: 10px; }
.badge-row span { font-weight: 600; font-size: 16px; color: var(--black-badge); }
.badge-row .dot { width: 20px; height: 20px; color: var(--primary); flex: none; }
.section--dark .badge-row span { color: var(--white-40); }

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 17px 32px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--black-100); box-shadow: var(--shadow-100); }
.btn--dark { background: var(--black-100); color: var(--white); }
.btn--dark:hover { background: var(--primary); }
.btn--white { background: var(--white); color: var(--black-100); }
.btn--white:hover { box-shadow: var(--shadow-100); }
.btn--ghost-w { border-color: var(--white); color: var(--white); }
.btn--ghost-w:hover { background: var(--white); color: var(--black-100); }
.btn--ghost { border-color: var(--black-10); color: var(--black-100); }
.btn--ghost:hover { border-color: var(--black-100); }
.btn--sm { padding: 8px 20px; font-size: 14px; gap: 8px; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
/* the arrow points "forward", which is left in RTL */
[dir="rtl"] .btn .i-arrow { transform: scaleX(-1); }

/* ---------- header ------------------------------------------------------ */
.header-holder { padding-block: 40px; position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 50; }
.header-holder--solid { position: sticky; background: var(--white); border-block-end: 1px solid var(--black-5); padding-block: 20px; }

/* Floating scroll header — the reference mounts a white pill past ~200px of
   scroll: container width, 20px inset, radius 100px, 82px tall, 9px from the
   top, shadow 0 1px 10px rgba(0,0,0,.05). Absent while at the top of the page. */
.scroll-header {
  position: fixed; inset-block-start: 9px; inset-inline: 0; z-index: 60;
  display: flex; justify-content: center;
  pointer-events: none; visibility: hidden;
  opacity: 0; transform: translateY(-120%);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1), visibility .35s;
}
.scroll-header.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
.scroll-header__bar {
  width: min(100% - 40px, var(--container));
  min-height: 82px; border-radius: 100px; background: var(--white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .05);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding-inline: 32px;
}
@media (prefers-reduced-motion: reduce) { .scroll-header { transition: none; } }
@media (max-width: 900px) {
  .scroll-header__bar { min-height: 64px; padding-inline: 18px; }
  .scroll-header { inset-block-start: 8px; }
}
.header { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; }
.brand img { flex: none; }
.brand img { height: 44px; width: auto; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
html[lang^="he"] .brand-name, html[lang^="ru"] .brand-name { font-family: 'Rubik', sans-serif; }
.brand-sub { font-size: 12px; font-weight: 400; opacity: .6; display: block; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.header-phone svg { width: 24px; height: 24px; }
.header-rule { width: 1px; height: 20px; background: currentColor; opacity: .4; }
.header--on-image { color: var(--white); }
.header--on-image .btn--dark { background: var(--white); color: var(--black-100); }
@media (max-width: 780px) { .header-phone span, .header-rule { display: none; } }
/* On small screens the wordmark alone carries the brand; the Hebrew name would
   otherwise wrap onto three lines and collide with the logo. */
@media (max-width: 680px) {
  .brand-name { display: none; }
  .brand img { height: 38px; }
  .header-actions { gap: 12px; }
  .lang-btn span { display: none; }
}

/* language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 16px; padding: 8px; }
.lang-btn svg { width: 20px; height: 20px; }
.lang-menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-width: 160px;
  background: var(--white); color: var(--black-100); border-radius: 12px; box-shadow: var(--shadow-100);
  border: 1px solid var(--black-10); padding: 8px; display: none; z-index: 60;
}
.lang[data-open="true"] .lang-menu { display: block; }
.lang-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 16px; }
.lang-menu a:hover { background: var(--black-5); }
.lang-menu a[aria-current="true"] { color: var(--primary); font-weight: 600; }

/* ---------- slide-in menu ---------------------------------------------- */
/* Proportions measured off the reference template (propertypro.framer.website):
   panel 35% of the viewport, 55px inset, nav 32px/1.1 weight 500 at White/40,
   16px between items, 56px between groups, labels and values 18px. The Figma
   frame draws the nav at 52px, which at these panel widths overflows badly. */
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(23, 32, 35, .4); z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.menu-panel {
  position: fixed; inset-block: 0; inset-inline-end: 0;
  width: clamp(320px, 35%, 560px);
  background: var(--black-100); color: var(--white); z-index: 101;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
[dir="rtl"] .menu-panel { transform: translateX(-100%); }
body[data-menu="open"] .menu-backdrop { opacity: 1; visibility: visible; }
body[data-menu="open"] .menu-panel { transform: translateX(0); }

.menu-head { display: flex; padding: 40px 55px 0; }
.menu-close {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--black-100);
  border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .2s ease;
}
.menu-close:hover { transform: rotate(90deg); }
.menu-close svg { width: 20px; height: 20px; }

.menu-body { display: flex; flex-direction: column; gap: 56px; padding: 56px 55px 56px; }
.menu-nav { display: flex; flex-direction: column; gap: 16px; }
.menu-nav a {
  font-family: var(--font-display); font-size: 32px; line-height: 1.1;
  letter-spacing: -.02em; font-weight: 500; color: var(--white-40);
  display: flex; align-items: center; gap: 14px; transition: color .2s ease;
}
html[lang^="he"] .menu-nav a, html[lang^="ru"] .menu-nav a { font-family: 'Rubik', sans-serif; }
.menu-nav a:hover { color: var(--white); }
.menu-nav a[aria-current="page"] { color: var(--primary); }
.menu-nav a[aria-current="page"]::before { content: ""; width: 20px; height: 2px; background: var(--primary); flex: none; }

.menu-group { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.menu-group h2 { font-size: 18px; font-weight: 400; color: var(--white-40); margin: 0 0 2px; }
.menu-group a, .menu-group p { font-size: 18px; font-weight: 400; margin: 0; text-align: start; }
.menu-group a { transition: color .2s ease; }
.menu-group a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .menu-panel { width: min(420px, 88vw); }
  .menu-head { padding: 24px 32px 0; }
  .menu-body { gap: 40px; padding: 40px 32px; }
  .menu-nav a { font-size: 26px; }
}
@media (max-height: 640px) {
  .menu-body { gap: 28px; padding-block: 28px; }
  .menu-nav { gap: 10px; }
  .menu-nav a { font-size: 22px; }
}

/* ---------- hero -------------------------------------------------------- */
.hero { position: relative; min-height: 848px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 45%, rgba(255, 255, 255, 0) 100%); mix-blend-mode: multiply; opacity: .55; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,32,35,.62), rgba(23,32,35,.12) 55%, rgba(23,32,35,.42)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; padding-block: 220px 0; }
.hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.hero__content .h1 { text-wrap: balance; }
.hero__eyebrow { font-size: 18px; font-weight: 500; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-block-start: 8px; }

/* stats bar — Figma "quote-form": white card, r16 on the leading top corner */
.hero__stats { position: relative; z-index: 2; display: flex; justify-content: flex-end; margin-block-start: 80px; }
.stats-card {
  background: var(--white); color: var(--black-100);
  border-start-start-radius: var(--radius);
  padding: 47px 64px; display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
  width: min(1060px, 92%);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.stat svg { width: 32px; height: 32px; }
.stat__value { font-family: var(--font-display); font-size: 32px; font-weight: 500; line-height: 1.4; }
html[lang^="he"] .stat__value, html[lang^="ru"] .stat__value { font-family: 'Rubik', sans-serif; }
.stat-rule { width: 1px; height: 56px; background: var(--black-5); }
@media (max-width: 1100px) {
  .hero { min-height: 640px; }
  .hero__inner { padding-block-start: 160px; }
  .stats-card { width: 100%; padding: 28px 24px; gap: 20px; justify-content: space-around; border-start-end-radius: var(--radius); }
  .stat-rule { display: none; }
}

/* ---------- about / services ------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 32px; padding-block: 24px; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 680 / 386; }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-card:hover img { transform: scale(1.04); }
.media-card--wide { grid-column: 1 / -1; }
.media-card__body { position: absolute; inset-block-end: 0; inset-inline: 0; padding: 40px 24px 24px; color: var(--white); display: flex; flex-direction: column; gap: 4px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }
.media-card__arrow { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--black-100); display: grid; place-items: center; }
.media-card__arrow svg { width: 24px; height: 24px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- property cards (Figma 440x470) ------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 1180px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
  container: card / inline-size;
}
.card:hover { box-shadow: var(--shadow-100); transform: translateY(-4px); }
.card__media { aspect-ratio: 440 / 300; overflow: hidden; background: var(--bg); position: relative;
  border-start-start-radius: var(--radius); border-start-end-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__flag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: var(--black-100); color: var(--white); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card__title .h3 { overflow-wrap: anywhere; }
.card__title .h3 a { display: block; overflow-wrap: anywhere; }
.card__pill {
  background: var(--primary-10); color: var(--primary); border-radius: var(--radius-pill);
  padding: 8px 20px; font-size: 16px; white-space: nowrap; flex: none;
}
.card__stats { display: flex; align-items: flex-start; gap: 14px; margin-block-start: auto; }
.card__stat { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 0; }
.card__stat svg { width: 20px; height: 20px; }
.card__stat span { font-size: 15px; overflow-wrap: anywhere; }
.card__rule { width: 1px; height: 44px; background: var(--black-5); flex: none; }
.featured__stats { gap: 24px; max-width: 460px; }
/* Stat labels in Hebrew/Russian/English run longer than the template's English
   originals. What matters is the card's own width, not the viewport — at 768px
   the 2-column grid produces cards as narrow as on a phone — so this is a
   container query. The media query below is the fallback for older engines. */
@container card (max-width: 400px) {
  .card__pill { padding: 6px 12px; font-size: 14px; }
  .card__stats { gap: 10px; }
  .card__rule { display: none; }
  .card__stat span { font-size: 13px; }
  .card__stat svg { width: 18px; height: 18px; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 520px) {
    .card__stats { gap: 10px; }
    .card__rule { display: none; }
    .card__stat span { font-size: 13px; }
    .card__stat svg { width: 18px; height: 18px; }
  }
}

/* ---------- featured property ------------------------------------------ */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: center; background: var(--white); }
.featured__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { display: flex; flex-direction: column; gap: 24px; }
.featured__points { display: flex; flex-direction: column; gap: 16px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point svg { width: 24px; height: 24px; flex: none; margin-block-start: 2px; color: var(--black-100); }
.point strong { display: block; font-weight: 500; font-size: 18px; }
@media (max-width: 980px) { .featured { grid-template-columns: 1fr; } }

/* ---------- benefits ---------------------------------------------------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.benefit { display: flex; flex-direction: column; gap: 16px; padding: 32px 24px; border-radius: var(--radius); background: var(--black-5); }
.benefit__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-10); color: var(--primary); display: grid; place-items: center; }
.benefit__icon svg { width: 24px; height: 24px; }
@media (max-width: 1100px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner -------------------------------------------------- */
.cta-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: grid; place-items: center; text-align: center; color: var(--white); padding: 64px 24px; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: rgba(23, 32, 35, .55); z-index: 1; }
.cta-banner__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 760px; }
.cta-strip { background: var(--primary); color: var(--white); padding: 14px 0; overflow: hidden; }
.cta-strip__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 32s linear infinite; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .cta-strip__track { animation-direction: reverse; }

/* ---------- FAQ --------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
/* reference: Black/5 fill, radius 16, no stroke */
.faq-item { border-radius: var(--radius); background: var(--black-5); overflow: hidden; }
.faq-item[data-open="true"] { background: var(--black-5); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: start; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 500;
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .25s ease; }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(180deg); }
.faq-item[data-open="true"] .faq-q { color: var(--primary); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--black-50); }
.faq-item[data-open="true"] .faq-a { padding-block: 0 20px; max-height: 460px; }
.faq-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-collage img { border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.faq-collage img:nth-child(2) { margin-block-start: 32px; }
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; } .faq-collage { display: none; } }

/* ---------- detail page ------------------------------------------------- */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.detail-title { display: flex; flex-direction: column; gap: 8px; }
.detail-loc { display: flex; align-items: center; gap: 8px; color: var(--black-50); }
.detail-loc svg { width: 20px; height: 20px; }
.detail-stats { display: flex; gap: 40px; }
.detail-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.detail-stat svg { width: 24px; height: 24px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery__cell { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--bg); }
.gallery__cell img, .gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.gallery__cell:hover img, .gallery__main:hover img { transform: scale(1.04); }
.gallery__more {
  position: absolute; inset: 0; background: rgba(23, 32, 35, .6); color: var(--white);
  display: grid; place-items: center; font-weight: 600; cursor: pointer; border: 0; width: 100%;
}
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } .gallery__side { grid-template-rows: auto; } }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.detail-body { display: flex; flex-direction: column; gap: 32px; }
.detail-body p { margin: 0; color: var(--black-50); font-size: 16px; line-height: 1.7; }
.detail-rule { height: 1px; background: var(--black-5); border: 0; margin: 0; }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.offer { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.offer svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 620px) { .offers-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- map (click-to-load) ---------------------------------------- */
.map { display: flex; flex-direction: column; gap: 16px; }
.map__frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg); border: 1px solid var(--black-5);
}
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--bg); color: var(--black-50); font-size: 16px;
}
.map__load:hover { background: var(--black-5); color: var(--black-100); }
.map__load svg { width: 32px; height: 32px; color: var(--primary); }
.map__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.map__meta p { display: flex; align-items: center; gap: 8px; margin: 0; }
.map__meta svg { width: 20px; height: 20px; flex: none; color: var(--primary); }

.book-card { border-radius: var(--radius); background: linear-gradient(150deg, var(--primary-10), rgba(240, 246, 249, .6)); border: 1px solid var(--black-5); padding: 32px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.notice { border: 1px dashed #d9a441; background: #fff8ec; color: #6b4c12; border-radius: 12px; padding: 16px 20px; font-size: 14px; }

/* ---------- lightbox ---------------------------------------------------- */
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 15, .94); z-index: 200; display: none; place-items: center; }
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox__bar { position: absolute; inset-block-start: 24px; inset-inline: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--white); }
.lb-btn { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--white); border: 0; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 24px; height: 24px; }
.lightbox__nav { position: absolute; inset-inline: 24px; inset-block-start: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; }
.lightbox__nav .lb-btn { pointer-events: auto; }
[dir="rtl"] .lightbox__nav { flex-direction: row-reverse; }

/* ---------- footer (Figma 279:3856) ------------------------------------ */
/* The Figma numbers (100 / 64 / 56 / 100) are drawn on a 1920 canvas. Held
   literally they read as huge on a ~900px screen, so each one is expressed as a
   clamp that reaches the Figma value at desktop and tightens below it. */
.footer {
  background: var(--black-100); color: var(--white);
  padding-block-start: clamp(56px, 5.5vw, 100px);
}
.footer__inner { display: flex; flex-direction: column; gap: clamp(32px, 3.4vw, 64px); }

/* row 1 — brand · quick actions · socials */
.footer__row1 {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 2.5vw, 40px); flex-wrap: wrap;
  padding-block-end: clamp(28px, 3vw, 56px);
  border-block-end: 1px solid var(--white-10);
}
/* align-items must not be `stretch` here or the logo is forced to the column
   width at a fixed height, which is what distorted the wordmark. */
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 380px; }
.footer__logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; flex: none; }
.footer__brand p { color: var(--white-40); font-size: 15px; }
/* actions and socials form one cluster so row 1 reads as two groups, as in Figma */
.footer__contact { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.footer__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__actions .btn svg { width: 18px; height: 18px; }
.footer__socials { display: flex; gap: 18px; align-items: center; }
.footer__socials a svg { width: 20px; height: 20px; }
.footer__socials a:hover { color: var(--primary); }

/* row 2 — CTA leading, link columns trailing */
.footer__row2 { display: flex; justify-content: space-between; gap: clamp(32px, 4vw, 64px); flex-wrap: wrap; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 520px; flex: 1 1 340px; }
.footer__cols { display: flex; gap: clamp(28px, 3.2vw, 56px); flex-wrap: wrap; flex: 1 1 460px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer__col h2 { font-size: 16px; font-weight: 600; margin: 0 0 2px; color: var(--white); }
.footer__col a { font-size: 16px; line-height: 1.5; color: var(--white-40); transition: color .18s ease; }
.footer__col a:hover { color: var(--white); }
.footer__col--apts { flex: 1 1 300px; }
/* three tracks keep all 21 names visible without a 11-row column */
.footer__aptlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; }
.footer__aptlist a { font-size: 16px; line-height: 1.5; color: var(--white-40); transition: color .18s ease; }
.footer__aptlist a:hover { color: var(--white); }

.subfooter {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-block-start: clamp(36px, 4.5vw, 100px);
  padding-block: 22px;
  /* clear the floating WhatsApp bubble, which is anchored to the same side */
  padding-inline-end: 76px;
  border-block-start: 1px solid var(--white-10);
}
.subfooter, .subfooter a { font-size: 14px; color: var(--white-40); }
.subfooter a { color: var(--white); }
.subfooter a:hover { color: var(--primary); }
.subfooter__links { display: flex; gap: 28px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .footer__aptlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .footer__row1 { align-items: flex-start; }
  .footer__cols { flex: 1 1 100%; }
  .footer__col { flex: 1 1 150px; }
  .footer__aptlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer__contact { width: 100%; justify-content: space-between; }
  .footer__cols { flex-direction: column; gap: 28px; width: 100%; }
  .footer__col { flex: 1 1 auto; width: 100%; }
  .footer__aptlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  .footer__actions { width: 100%; }
  .footer__actions .btn { flex: 1 1 auto; }
  .subfooter { padding-inline-end: 0; padding-block-end: 96px; }
}

/* ---------- floating whatsapp ------------------------------------------ */
.wa-float {
  position: fixed;
  /* keep clear of the home indicator / rounded corners on notched phones */
  inset-block-end: calc(24px + env(safe-area-inset-bottom));
  inset-inline-end: calc(24px + env(safe-area-inset-right));
  z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow-100);
  transition: transform .2s ease, opacity .25s ease, visibility .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: scale(.8); pointer-events: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 404 --------------------------------------------------------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf__inner { display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 620px; }

/* ==========================================================================
   Motion
   The published Framer template (propertypro.framer.website) ships with no
   entrance or scroll animation at all — verified with a real pointer: the only
   transition on the whole page is `color .1s`. What follows is therefore an
   addition, kept deliberately small: a 16px rise + fade as a block enters, and
   the card hover shadow that the Figma file itself encodes as a variant
   (Frame 1618873047 carries Shadow-100 while its siblings do not).
   Everything here is opt-out via prefers-reduced-motion, and nothing is hidden
   unless JS has confirmed it can reveal it again (html.js).
   ========================================================================== */
html.js [data-reveal] { opacity: 0; transform: translateY(16px); }
html.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .45s cubic-bezier(.22, .61, .36, 1),
              transform .45s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Touch targets
   On coarse pointers every interactive element gets at least a 44px hit area
   (Apple HIG / WCAG 2.5.5). Padding is added inward and absorbed by reduced
   parent gaps, so the visual rhythm on the page does not change.
   ========================================================================== */
@media (pointer: coarse) {
  .header-phone { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .lang-btn { min-width: 44px; min-height: 44px; }

  .footer__col { gap: 4px; }
  .footer__col a,
  .footer__aptlist a {
    min-height: 44px; display: flex; align-items: center; width: 100%;
  }
  .footer__aptlist { gap: 4px 40px; }

  .footer__socials { gap: 8px; }
  .footer__socials a {
    width: 44px; height: 44px; display: grid; place-items: center;
  }

  .subfooter__links a { min-height: 44px; display: flex; align-items: center; }

  .card__title .h3 a { display: block; padding-block: 10px; margin-block: -10px; }

  .menu-group a { min-height: 44px; display: flex; align-items: center; }
  /* the reference's smaller nav type needs a padded hit area on touch */
  .menu-nav a { min-height: 44px; }
  .menu-nav { gap: 8px; }
  .lang-menu a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 360px) {
  .header-actions { gap: 8px; }
  .header-phone { display: none; }          /* the WhatsApp bubble and menu still cover contact */
  .brand img { height: 34px; }
  .container { width: calc(100% - 32px); }
}
