/* ==========================================================================
   Tal Al Rabwa 78 — interest.html
   Standalone stylesheet. Does NOT load or depend on style.css (main site).
   Palette: cream / charcoal / copper (taken from the main site identity).
   ========================================================================== */



:root {
  --ink: #17130f;
  --ink-2: #221c16;
  --cream: #f4ece0;
  --cream-2: #ebe0cd;
  --paper: #fbf7f0;
  --rule: #d8cbb4;
  --muted: #6b5f50;
  --copper: #9a622d;
  --copper-dark: #824f20;
  --copper-soft: #d29a63;
  --error: #a3402a;
  --display: var(--font-ar);
  --body: var(--font-ar);
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font: var(--weight-regular) 17px/1.75 var(--body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper-soft); outline-offset: 3px; }

.skip-link {
  position: fixed; inset-inline-start: 12px; top: -80px; z-index: 400;
  padding: 10px 16px; background: var(--ink); color: var(--cream); border-radius: 2px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font: var(--weight-medium) 10.5px/1.4 var(--body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.eyebrow--light { color: #e9c79b; }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.5); }

h1, h2, h3 { font-family: var(--display); font-weight: var(--weight-bold); line-height: 1.25; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 62px); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 2px;
  font: var(--weight-medium) 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-style: normal; transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(-4px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-dark); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; }
.btn--ink b { font-weight: var(--weight-medium); letter-spacing: .04em; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }

/* ---------------------------------------------------------------- header */

.top { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); padding-top: env(safe-area-inset-top); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.top.is-solid { background: rgba(23, 19, 15, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.top__inner { height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.top__brand img { width: 118px; }
.top__links { display: none; margin-inline-start: auto; gap: 34px; }
.top__links a { color: rgba(255, 255, 255, .86); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.top__links a:hover { color: #fff; border-color: var(--copper-soft); }
.top__cta { margin-inline-start: auto; }
@media (min-width: 900px) { .top__links { display: flex; } .top__cta { margin-inline-start: 0; } .top__brand img { width: 132px; } }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; background: var(--ink); color: #fff; isolation: isolate; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(16, 12, 9, .92) 0%, rgba(16, 12, 9, .66) 34%, rgba(16, 12, 9, .12) 68%, rgba(16, 12, 9, .34) 100%),
    linear-gradient(to left, rgba(16, 12, 9, .5) 0%, rgba(16, 12, 9, 0) 55%);
}
.hero__inner { width: 100%; max-width: 1400px; margin-inline: auto; padding: calc(var(--header-h) + 60px) var(--gutter) clamp(28px, 5vh, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(36px, 7vh, 72px); }
.hero__copy { max-width: 640px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 112px); line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero__place { display: flex; flex-direction: column; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .35); width: fit-content; min-width: 260px; }
.hero__place span { font-size: clamp(19px, 2vw, 24px); font-weight: var(--weight-medium); }
.hero__place small { font-size: 10.5px; letter-spacing: .24em; opacity: .75; margin-top: 2px; }
.hero__line { margin-top: 16px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); color: #f0dcc0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__actions .btn { flex: 0 1 auto; }

.hero__brands { display: flex; align-items: stretch; width: fit-content; max-width: 100%; background: rgba(18, 14, 11, .58); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 28px; text-decoration: none; color: #fff; }
.brand small { font-size: 11.5px; opacity: .72; line-height: 1.3; }
.brand small span { display: inline-block; font-size: 9.5px; letter-spacing: .2em; margin-inline-start: 6px; opacity: .8; }
.brand img { height: 34px; width: auto; max-width: 170px; object-fit: contain; object-position: right center; }
.brand img.brand__menassat { height: 58px; margin-block: -12px; }
.hero__brands-rule { width: 1px; background: rgba(255, 255, 255, .18); margin-block: 14px; }

/* ---------------------------------------------------------------- project + numbers */

.project { padding-block: clamp(72px, 10vw, 140px); background: var(--cream); }
.project__grid { display: grid; gap: clamp(40px, 6vw, 72px); }
.project__intro { max-width: 760px; }
.project__intro h2 { margin-bottom: 22px; }
.project__intro p:not(.eyebrow) { font-size: clamp(17px, 1.5vw, 20px); color: #3a3128; max-width: 62ch; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.stat { padding: 26px 0 28px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stat dt { font-size: 15px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.5; }
.stat dt small { font-size: 9.5px; letter-spacing: .22em; color: var(--copper); }
.stat dd { white-space: nowrap; font-family: var(--display); font-weight: var(--weight-bold); font-size: clamp(38px, 4.8vw, 72px); line-height: 1; color: var(--ink); }
.stat p { font-size: 13.5px; color: var(--muted); order: -1; }
.stat:nth-child(odd) { padding-inline-end: 18px; }
.stat:nth-child(even) { padding-inline-start: 18px; border-inline-start: 1px solid var(--rule); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding-inline: 28px; border-inline-start: 1px solid var(--rule); }
  .stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .stat:nth-child(odd), .stat:nth-child(even) { padding-inline: 28px; }
  .stat:first-child { padding-inline-start: 0; }
  .stat:nth-child(even) { border-inline-start: 1px solid var(--rule); }
  .stat:nth-child(odd):not(:first-child) { border-inline-start: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- gallery */

.gallery { padding-block: clamp(64px, 9vw, 120px); background: var(--paper); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.section-head__note { color: var(--muted); max-width: 34ch; font-size: 16px; }

.gallery__grid { display: grid; gap: clamp(12px, 2vw, 24px); }
.shot { overflow: hidden; background: var(--cream-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot--wide { aspect-ratio: 21 / 9; }
.shot:not(.shot--wide) { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
@media (min-width: 761px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } .shot--wide { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .shot--wide { aspect-ratio: 16 / 10; }
  .gallery__grid { grid-template-columns: none; grid-auto-flow: row; }
  .shot:not(.shot--wide) { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5; width: 100%; }
  .gallery__grid { display: grid; grid-template-columns: 1fr 1fr; }
  .shot--wide { grid-column: 1 / -1; }
  .shot:not(.shot--wide):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; border-radius: 0; }
}

/* ---------------------------------------------------------------- plans */

.plans { padding-block: clamp(64px, 9vw, 120px); background: var(--cream-2); }
.floor-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink); margin-bottom: clamp(20px, 3vw, 32px); overflow-x: auto; scrollbar-width: none; }
.floor-tabs::-webkit-scrollbar { display: none; }
.floor-tab { flex: 1 1 0; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px 13px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); transition: color .25s, border-color .25s, background-color .25s; }
.floor-tab span { font: var(--weight-bold) clamp(18px, 2vw, 24px)/1.2 var(--display); }
.floor-tab small { font-size: 9.5px; letter-spacing: .22em; }
.floor-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .35); }
.floor-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--copper); }
@media (min-width: 761px) { .floor-tab { flex: 0 1 200px; } }

.plan-panel__sheet { background: var(--paper); border: 1px solid var(--rule); padding: clamp(14px, 3vw, 40px); position: relative; }
.plan-panel__scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.plan-panel__scroll img { width: 100%; min-width: 760px; margin-inline: auto; animation: plan-in .5s var(--ease); }
@keyframes plan-in { from { opacity: 0; } to { opacity: 1; } }
.plan-panel__hint { display: none; margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.plan-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 24px; }
.plan-panel__title { display: flex; flex-direction: column; }
.plan-panel__title strong { font: var(--weight-bold) clamp(24px, 3vw, 34px)/1.3 var(--display); }
.plan-panel__title small { color: var(--muted); font-size: 15px; }
@media (min-width: 1100px) { .plan-panel__scroll img { min-width: 0; } }
@media (max-width: 1099px) { .plan-panel__hint { display: block; } }
@media (max-width: 560px) { .plan-panel__foot .btn { width: 100%; } }

/* ---------------------------------------------------------------- register band + contact */

.register { background: var(--ink); color: var(--cream); padding-block: clamp(56px, 8vw, 96px); }
.register__inner { display: grid; gap: 32px; align-items: center; }
.register h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 12px; }
.register__copy p:not(.eyebrow) { color: #d8ccb9; max-width: 52ch; }
.register__done { display: flex; gap: 12px; align-items: flex-start; color: #e8d5b8; max-width: 38ch; }
.register__done span { color: var(--copper-soft); font-size: 22px; line-height: 1.5; }
@media (min-width: 900px) { .register__inner { grid-template-columns: 1fr auto; gap: 80px; } }

.contact { background: var(--cream); padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.contact__inner { max-width: 820px; }
.contact h2 { margin-bottom: 16px; }
.contact__lead { color: #3a3128; font-size: clamp(17px, 1.5vw, 20px); }

/* ---------------------------------------------------------------- footer */

.foot { background: #0f0c09; color: #d8ccb9; padding: clamp(48px, 6vw, 72px) 0 36px; }
.foot__inner { display: grid; gap: 36px 48px; }
.foot__id img { width: 150px; margin-bottom: 14px; }
.foot__id p { font-size: 15px; opacity: .8; }
.foot__brands { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.foot__brands .brand { padding: 0; }
.foot__disclaimer { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; max-width: 78ch; opacity: .78; }
.foot__copy { grid-column: 1 / -1; font-size: 13px; opacity: .6; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__copy a { text-underline-offset: 3px; }
@media (min-width: 900px) { .foot__inner { grid-template-columns: 1.2fr 1.4fr 1fr; align-items: start; } }

/* ---------------------------------------------------------------- reveal */

.js-reveal [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal .stat:nth-child(2) { transition-delay: .08s; } .js-reveal .stat:nth-child(3) { transition-delay: .16s; } .js-reveal .stat:nth-child(4) { transition-delay: .24s; }
.hero__copy > *, .hero__brands { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; } .hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__brands { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- mobile sticky CTA */

.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 70; display: none; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(23, 19, 15, .94); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  .page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- unit explorer */

.explorer { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--cream); opacity: 0; transform: translateY(14px) scale(.99); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.explorer.is-open { opacity: 1; transform: none; }
.explorer__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 24px; padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 12px; border-bottom: 1px solid var(--rule); background: var(--cream); }
.explorer__heading .eyebrow { margin-bottom: 2px; }
.explorer__heading h2 { font-size: clamp(26px, 3vw, 40px); }
.explorer__close { grid-column: 2; grid-row: 1; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: none; display: grid; place-items: center; font-size: 26px; line-height: 1; transition: background-color .25s, color .25s; }
.explorer__close:hover { background: var(--ink); color: var(--cream); }
.explorer__floors { grid-column: 1 / -1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.explorer__floors::-webkit-scrollbar { display: none; }
.explorer__floors button { flex: 0 0 auto; min-height: 40px; padding: 0 18px; border: 1px solid var(--rule); background: transparent; border-radius: 999px; font: var(--weight-medium) 15px/1 var(--body); transition: all .25s; }
.explorer__floors button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (min-width: 1000px) {
  .explorer__bar { grid-template-columns: auto 1fr auto; }
  .explorer__floors { grid-column: 2; justify-content: center; }
  .explorer__close { grid-column: 3; }
}

.explorer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; gap: 20px; padding: 20px var(--gutter) 28px; align-content: start; }
.explorer__body > * { min-width: 0; }
.explorer__label { font: var(--weight-semibold) 15px/1.4 var(--body); margin-bottom: 8px; display: flex; flex-direction: column; }
.explorer__label small { font-size: 9.5px; letter-spacing: .22em; color: var(--copper); font-weight: var(--weight-medium); }
.explorer__buildings { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 14px; }
.explorer__buildings button { flex: 0 0 auto; min-width: 48px; min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: none; font: var(--weight-medium) 17px/1 var(--body); letter-spacing: .04em; color: var(--muted); transition: color .2s, border-color .2s; }
.explorer__buildings button.is-active { color: var(--ink); border-bottom-color: var(--copper); font-weight: var(--weight-bold); }
.explorer__units { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.explorer__unit { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px; background: transparent; border: 1px solid var(--rule); border-radius: 2px; font: var(--weight-medium) 15px/1 var(--body); transition: all .2s; }
.explorer__unit-type { color: var(--copper); font-weight: var(--weight-semibold); min-width: 28px; }
.explorer__unit:hover { border-color: var(--ink); }
.explorer__unit.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.explorer__unit.is-active .explorer__unit-type { color: var(--copper-soft); }

.explorer__plan { position: relative; display: block; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); aspect-ratio: 1820 / 1287; width: 100%; }
.explorer__plan img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; opacity: 0; transition: opacity .3s; }
.explorer__plan img.is-ready { opacity: 1; }

.explorer__detail h3 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 4px; }
.explorer__detail .eyebrow { margin-bottom: 8px; }
.explorer__meta { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.explorer__facts { border-top: 1px solid var(--ink); }
.explorer__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.explorer__facts dt { color: var(--muted); font-size: 15px; }
.explorer__facts dd { font: var(--weight-medium) 20px/1.3 var(--body); }
.explorer__features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.explorer__features li { padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; background: var(--paper); }

.explorer__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream); }
.explorer__cta-summary { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.explorer__cta-summary strong { font: var(--weight-bold) 20px/1.3 var(--display); }
.explorer__cta-summary span { font-size: 14px; opacity: .8; }
.explorer__cta-summary bdi { display: inline-block; white-space: nowrap; }
@media (max-width: 560px) { .explorer__cta .btn { flex: 1; padding: 0 16px; } .explorer__cta-summary strong { font-size: 17px; } .explorer__cta-summary span { font-size: 12.5px; } }

@media (min-width: 1000px) {
  .explorer__body { grid-template-columns: 280px minmax(0, 1fr) 320px; gap: 36px; padding-top: 28px; align-items: start; }
  .explorer__buildings, .explorer__units { flex-wrap: wrap; overflow: visible; }
  .explorer__units { flex-direction: column; flex-wrap: nowrap; max-height: calc(100vh - 380px); overflow-y: auto; padding-bottom: 0; }
  .explorer__unit { width: 100%; }
  .explorer__plan { position: sticky; top: 0; }
}
@media (min-width: 700px) and (max-width: 999px) { .explorer__plan { max-width: 720px; margin-inline: auto; } }

/* ---------------------------------------------------------------- modals */

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 9, 6, .66); opacity: 0; transition: opacity .32s var(--ease); }
.modal__dialog { position: relative; width: min(100%, 520px); max-height: calc(100svh - 40px); overflow: auto; background: var(--cream); border-radius: 3px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .32s var(--ease), transform .4s var(--ease); display: flex; }
.modal__dialog:focus { outline: none; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog--split { width: min(100%, 900px); }
.modal__aside { position: relative; display: none; flex: 0 0 38%; overflow: hidden; background: var(--ink); }
.modal__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__aside-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 12, 9, .8), rgba(16, 12, 9, .1) 60%); }
.modal__aside p { position: absolute; inset-inline: 24px; bottom: 22px; color: #fff; font-size: 11px; letter-spacing: .28em; }
@media (min-width: 701px) { .modal__aside { display: block; } }
.modal__main { position: relative; flex: 1; min-width: 0; padding: clamp(28px, 4vw, 44px); }
.modal__close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; font-size: 24px; line-height: 1; display: grid; place-items: center; transition: all .25s; }
.modal__close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.modal h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 8px; padding-inline-end: 44px; }
.modal__lead { color: var(--muted); margin-bottom: 18px; font-size: 16px; }
.modal__chip { display: inline-block; margin-bottom: 18px; padding: 6px 14px; font-size: 14px; background: var(--cream-2); border-inline-start: 3px solid var(--copper); }
.modal__privacy { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
.modal__error { margin-bottom: 14px; padding: 12px 14px; font-size: 14.5px; color: var(--error); background: #f6e3dc; border-inline-start: 3px solid var(--error); }

.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font: var(--weight-medium) 15px/1.4 var(--body); margin-bottom: 6px; padding: 0; }
.field label b { color: var(--error); font-weight: var(--weight-medium); }
.field label small { color: var(--muted); font-size: 12.5px; font-weight: var(--weight-regular); margin-inline-start: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 14px; font: var(--weight-regular) 17px/1 var(--body); color: var(--ink);
  background: var(--paper); border: 1px solid #b9ab95; border-radius: 2px; transition: border-color .2s, box-shadow .2s;
}
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder { color: #a39682; }
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(154, 98, 45, .22); }
.field input[aria-invalid="true"] { border-color: var(--error); background: #fdf4f0; }
.field__hint { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.field__error { min-height: 0; margin-top: 5px; font-size: 13.5px; color: var(--error); }
.field__error:empty { display: none; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { width: 100%; float: none; }
.choice__opt { flex: 1; position: relative; margin: 0 !important; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice__opt span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid #b9ab95; background: var(--paper); border-radius: 2px; transition: all .2s; font-size: 16px; }
.choice__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--copper-soft); outline-offset: 2px; }
.choice .field__error { width: 100%; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn[data-submit] { position: relative; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .88; }
.btn.is-loading .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal__done { text-align: center; padding-block: 12px 4px; }
.modal__done h2 { padding-inline-end: 0; margin-block: 14px 8px; }
.modal__done h2:focus { outline: none; }
.modal__done p { color: #3a3128; max-width: 38ch; margin-inline: auto; }
.modal__tick { margin-inline: auto; color: var(--copper); }
.modal__tick path { stroke-dasharray: 60; stroke-dashoffset: 0; animation: tick .6s .1s var(--ease) both; }
@keyframes tick { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.modal__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

.unit-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 14px 0 20px; border-top: 1px solid var(--ink); }
.unit-summary div { padding: 10px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.unit-summary dt { font-size: 12.5px; color: var(--muted); }
.unit-summary dd { font: var(--weight-medium) 17px/1.4 var(--body); }
.known { margin-bottom: 18px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); border-inline-start: 3px solid var(--copper); font-size: 14.5px; }
.known__who { margin-top: 2px; font-size: 16px; }
.known__who span { margin-inline-start: 8px; color: var(--muted); }
.link-btn { margin-top: 6px; padding: 0; background: none; border: 0; color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; min-height: 32px; }

@media (max-width: 700px) {
  .modal { align-items: end; padding: 0; }
  .modal__dialog, .modal__dialog--split { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; transform: translateY(100%); }
  .modal.is-open .modal__dialog { transform: none; }
  .modal__main { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal__dialog::before { content: ""; position: absolute; inset-block-start: 8px; inset-inline: 0; margin-inline: auto; width: 40px; height: 4px; border-radius: 4px; background: #cdbfa6; z-index: 2; }
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .top__brand img { width: 100px; }
  .hero__inner { padding-top: calc(var(--header-h) + 40px); gap: 28px; }
  .hero h1 { font-size: clamp(54px, 17vw, 84px); }
  .hero__actions .btn { flex: 1 1 150px; padding: 0 18px; }
  .hero__brands { width: 100%; }
  .brand { padding: 12px 14px; flex: 1; }
  .brand img { height: 28px; }
  .brand img.brand__menassat { height: 48px; margin-block: -10px; }
  .brand small { font-size: 10.5px; }
  .brand small span { display: block; margin: 0; }
}
@media (max-width: 380px) { .btn { padding-inline: 16px; } .top__cta { padding-inline: 14px; font-size: 14px; } }
@media (max-height: 520px) and (orientation: landscape) { .hero { min-height: 560px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}


/* ==========================================================================
   Contact (all values are injected from TAL_CONFIG — see bindContact())
   ========================================================================== */

.ico { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }

/* header: small, elegant call link (desktop only) */
.top__call { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 14px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .34); border-radius: 2px; font: var(--weight-medium) 15px/1 var(--body); letter-spacing: .06em; transition: background-color .25s, color .25s, border-color .25s; }
.top__call:hover { background: #fff; color: var(--ink); border-color: #fff; }
.top__call .ico { width: 18px; height: 18px; }
.top__call span { display: none; }
@media (min-width: 900px) { .top__call { display: inline-flex; } .top__links { margin-inline-end: 0; } }
@media (min-width: 1100px) { .top__call span { display: inline; } }

/* hero: light direct-contact line */
.hero__direct { margin-top: 20px; font-size: 14.5px; color: rgba(255, 255, 255, .8); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hero__direct a { color: #fff; font-weight: var(--weight-medium); letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 1px; transition: border-color .25s; }
.hero__direct a:hover { border-color: var(--copper-soft); }
/* A quiet second column: facts first, secondary actions and project partners below. */
.hero__inner { justify-content: center; gap: 40px; padding-bottom: 48px; }
.hero__copy, .hero__insight { min-width: 0; }
.hero__description { margin-top: 12px; color: #eee3d4; font-size: 16px; max-width: 42ch; }
.hero__insight { width: 100%; max-width: 470px; }
.hero__panel { padding: clamp(20px, 2.5vw, 30px); border: 1px solid rgba(235, 216, 187, .3); background: rgba(30, 25, 20, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 64px rgba(0,0,0,.14); }
.hero__panel-head { display: flex; align-items: center; gap: 16px; }
.hero__panel-head .eyebrow { font-size: 9px; letter-spacing: .16em; margin-bottom: 6px; }
.hero__panel h2 { font: var(--weight-medium) 20px/1.5 var(--body); }
.hero__panel-mark { display: grid; place-items: center; flex: 0 0 48px; height: 56px; border: 1px solid rgba(233,199,155,.4); color: #e9c79b; font: var(--weight-regular) 28px/1 var(--font-en); border-radius: 28px 28px 0 0; }
.hero__summary { font-size: 13px; color: #d9cbbb; margin-top: 16px; }
.hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 20px; border-block: 1px solid rgba(235,216,187,.22); }
.hero__facts > div { display: flex; flex-direction: column-reverse; align-items: flex-start; padding: 16px 0; gap: 4px; }
.hero__facts > div:nth-child(even) { padding-inline-start: 20px; border-inline-start: 1px solid rgba(235,216,187,.18); }
.hero__facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(235,216,187,.18); }
.hero__facts dt { font-size: 12px; color: #d9cbbb; }
.hero__facts dd { font: var(--weight-medium) 30px/1.25 var(--body); color: #fff7ea; overflow-wrap: anywhere; }
.hero__facts dd.hero__area { font-size: clamp(18px, 1.6vw, 22px); min-height: 37px; display: flex; align-items: center; }
.hero__download { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid rgba(233,199,155,.45); padding: 12px 16px; text-decoration: none; font-size: 14px; color: #f4e0c5; transition: background .2s; }
.hero__download:hover { background: rgba(233,199,155,.12); }
.hero__download > :last-child { font-size: 22px; }
.hero__contact-note { margin-block: 16px 10px; color: #d9cbbb; font-size: 12px; }
.hero__quick-contact { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.hero__quick-contact a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-size: 13px; }
.hero__quick-contact a:hover { color: #e9c79b; }
.hero__quick-contact .ico { width: 18px; height: 18px; flex-shrink: 0; color: #e9c79b; }
.hero__quick-contact small { display: block; font-size: 11px; opacity: .8; overflow-wrap: anywhere; }
.tal-license { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 14px; margin-top: 16px; border-top: 1px solid rgba(235,216,187,.22); color: #d9cbbb; font-size: 12px; }
.tal-license > span { color: #e9c79b; }
.hero__insight .hero__brands { width: 100%; margin-top: 12px; background: rgba(23,19,15,.72); }
.hero__insight .brand { flex: 1; min-width: 0; padding: 18px; gap: 14px; }
.hero__insight .brand small { font-size: 10px; }
.hero__insight .brand small span { display: block; margin: 4px 0 0; font-size: 8px; }
.hero__insight .brand img { max-width: 100%; height: 34px; }
.hero__insight .brand img.brand__menassat { height: 48px; margin-block: -7px; }
.foot__inner > .tal-license { grid-column: 1 / -1; margin-top: 0; }
.shot { position: relative; }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 12px; font-size: 14px; background: var(--cream); color: var(--muted); }
@media (min-width: 1100px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(370px, 1fr); align-items: center; gap: clamp(48px, 7vw, 110px); padding-top: calc(var(--header-h) + 48px); }
  .hero__insight { justify-self: end; }
  .hero h1 { font-size: clamp(68px, 6.8vw, 104px); }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .hero__insight { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; }
  .hero__insight .hero__brands { flex-direction: column; margin: 0; }
  .hero__insight .hero__brands-rule { width: auto; height: 1px; margin: 0 18px; }
}
@media (max-width: 599px) {
  .hero__shade { background: linear-gradient(to bottom, rgba(16,12,9,.58), rgba(16,12,9,.4) 38%, rgba(16,12,9,.85)); }
  .hero__inner { padding-top: calc(var(--header-h) + 38px); gap: 32px; }
  .hero__insight { max-width: none; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 145px; padding-inline: 14px; font-size: 15px; white-space: normal; line-height: 1.5; }
  .hero__panel h2 { font-size: 18px; }
  .hero__quick-contact { gap: 12px; }
  .hero__quick-contact a { gap: 6px; }
  .hero__facts dd.hero__area { font-size: 18px; }
}

/* registration modal: "or contact directly" */
.or { display: flex; align-items: center; gap: 14px; margin: 20px 0 12px; font-size: 13.5px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.direct__opt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #b9ab95; border-radius: 2px; text-decoration: none; font-size: 15.5px; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.direct__opt .ico { width: 19px; height: 19px; color: var(--copper); transition: color .2s; }
.direct__opt:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.direct__opt:hover .ico { color: var(--copper-soft); }

/* contact section */
.contact__primary { margin-top: 34px; }
.contact__cards { display: grid; gap: 14px; margin-top: 44px; text-align: center; }
.ccard { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 28px 20px 26px; background: var(--paper); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s; }
.ccard .ico { width: 26px; height: 26px; color: var(--copper); margin-bottom: 8px; }
.ccard__t { font: var(--weight-bold) 20px/1.3 var(--display); }
.ccard strong { font: var(--weight-medium) 19px/1.4 var(--body); letter-spacing: .05em; overflow-wrap: anywhere; }
.ccard small { font-size: 13.5px; color: var(--muted); }
.ccard:hover { border-color: var(--copper); background: #fff; transform: translateY(-3px); }
@media (min-width: 760px) { .contact__cards { grid-template-columns: repeat(3, 1fr); } .contact__inner { max-width: 960px; } }

/* footer: contact block + social */
.foot__contact h3 { font: var(--weight-bold) 22px/1.3 var(--display); color: #fff; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.foot__contact h3 small { font: var(--weight-medium) 9.5px/1 var(--body); letter-spacing: .22em; opacity: .6; }
.foot__contact ul { display: grid; gap: 12px; }
.foot__contact li a { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; width: fit-content; max-width: 100%; }
.foot__contact li a .ico { width: 20px; height: 20px; color: var(--copper-soft); }
.foot__contact li a span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.foot__contact li a small { font-size: 12px; opacity: .65; }
.foot__contact li a b { font-weight: var(--weight-medium); font-size: 17px; letter-spacing: .04em; overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: border-color .25s; }
.foot__contact li a:hover b { border-color: var(--copper-soft); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; color: #e8dcc8; transition: background-color .25s, color .25s, border-color .25s; }
.social a .ico { width: 18px; height: 18px; }
.social a:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* sticky mobile bar: primary + two compact icon buttons */
.sticky-cta .btn { flex: 1; min-height: 48px; padding: 0 14px; }
.sticky-cta__ico { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .38); border-radius: 2px; color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.sticky-cta__ico:active { background: var(--copper); border-color: var(--copper); }
.sticky-cta__ico .ico { width: 21px; height: 21px; }
@media (max-width: 760px) { .page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* explorer: primary + WhatsApp secondary */
.explorer__cta-actions { display: flex; gap: 10px; }
.btn--wa { background: transparent; color: var(--cream); border-color: rgba(244, 236, 224, .5); }
.btn--wa .ico { color: var(--copper-soft); transition: color .2s; }
.btn--wa:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--wa:hover .ico { color: var(--copper); }
.btn--wa[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (max-width: 700px) {
  .explorer__cta { flex-wrap: wrap; gap: 10px; }
  .explorer__cta-summary { flex: 1 1 100%; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .explorer__cta-actions { flex: 1 1 100%; }
  .explorer__cta-actions .btn { flex: 1; min-height: 50px; padding: 0 10px; font-size: 15px; gap: 8px; }
  .explorer__cta-actions .btn i { display: none; }
}
@media (max-width: 760px) { .contact__cards { margin-top: 34px; } }
@media (max-width: 759px) {
  .ccard { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center; text-align: start; padding: 18px 18px; }
  .ccard .ico { grid-row: 1 / span 3; margin: 0; }
  .contact__cards { text-align: start; gap: 10px; }
}
