/* ═══════════════════════════════════════════════════════════
   ETQAAN — إتقان | Hospitality fit-out & asset management
   Brand: teal #1387A8 / navy #0E3A52 / orange #F28C28
   Type:  Alexandria (display) + IBM Plex Sans Arabic (body)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:        #0E3A52;
  --navy-deep:   #092536;
  --navy-soft:   #10405B;
  --teal:        #1387A8;
  --teal-bright: #2BAAC9;
  --teal-deep:   #0C5E7E;
  --orange:      #F28C28;
  --orange-deep: #D9740F;
  --orange-text: #B45309; /* orange for TEXT on light bg — meets 4.5:1 */
  --orange-text-strong: #92400E;
  --sand:        #F6F3EE;
  --white:       #FFFFFF;
  --ink:         #16323F;
  --muted:       #55707E;
  --line:        #E2E8EA;
  --card-shadow: 0 2px 6px rgba(9, 37, 54, .05);
  --card-shadow-hover: 0 18px 40px -14px rgba(9, 37, 54, .22);
  --radius: 18px;
  --font-display: 'Alexandria', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }

img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal); }

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

::selection { background: var(--teal); color: #fff; }

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.container.narrow { width: min(860px, 100% - 40px); }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: fixed;
  top: -60px;
  inset-inline-start: 14px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ── Scroll progress ───────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-bright), var(--orange));
  transform: scaleX(0);
  transform-origin: 100% 0; /* grows from the right — RTL reading start */
}

/* ── Diamond motif ─────────────────────────────── */
.diamond {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }

/* shine sweep on the primary CTA */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .5) 50%, transparent 58%);
  transform: translateX(-170%);
  pointer-events: none;
}
.btn-primary:hover::before { transition: transform .65s ease; transform: translateX(170%); }

.btn-primary {
  background: var(--orange);
  color: var(--navy-deep);
  box-shadow: 0 8px 22px -8px rgba(242, 140, 40, .55);
}
.btn-primary:hover {
  background: var(--orange-deep);
  color: var(--navy-deep); /* keep dark text: white on #D9740F fails contrast */
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(217, 116, 15, .55);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal-deep);
  color: var(--white);
}

/* press feedback last so it beats hover transforms in the cascade */
.btn:active,
.btn:hover:active { transform: scale(.97); }

.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ── Header ────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(9, 37, 54, .07);
  --header-h: 80px; /* header slims down on scroll */
}
.header-inner { transition: height .35s ease; }
.brand-logo { transition: height .35s ease; }
.site-header.scrolled .brand-logo { height: 66px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-logo { height: 84px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}
.brand-text small {
  font-size: 10.5px;
  letter-spacing: 3.5px;
  color: var(--teal-deep);
  font-weight: 600;
}
.brand-text.light strong { color: #fff; }
.brand-text.light small { color: var(--teal-bright); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav > a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.main-nav > a:not(.btn):hover::after { width: 100%; }

.lang-switch.lang-switch { /* doubled class: beats the generic nav-link styling */
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  transition: border-color .2s ease, color .2s ease;
}
.lang-switch.lang-switch::after { display: none; }
.lang-switch.lang-switch:hover { border-color: var(--teal); color: var(--teal-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(19, 135, 168, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* premium grain texture */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.iso-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    repeating-linear-gradient(60deg, rgba(255,255,255,.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.045) 0 1px, transparent 1px 46px);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 30%, #000 30%, transparent 100%);
          mask-image: radial-gradient(80% 90% at 50% 30%, #000 30%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.glow-teal {
  width: 520px; height: 520px;
  background: rgba(43, 170, 201, .22);
  top: -140px; inset-inline-start: -120px;
}
.glow-orange {
  width: 380px; height: 380px;
  background: rgba(242, 140, 40, .12);
  bottom: -160px; inset-inline-end: -80px;
}

.float-diamond {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(43, 170, 201, .5);
  transform: rotate(45deg);
  border-radius: 3px;
  animation: floatY 7s ease-in-out infinite;
}
.fd-1 { top: 22%; inset-inline-start: 8%; }
.fd-2 { top: 62%; inset-inline-start: 16%; width: 11px; height: 11px; border-color: rgba(242, 140, 40, .55); animation-delay: -2.5s; }
.fd-3 { top: 30%; inset-inline-end: 6%; width: 22px; height: 22px; border-color: rgba(255, 255, 255, .18); animation-delay: -4.5s; }

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--teal-deep); /* readable on light sections */
  margin-bottom: 18px;
}
/* tracking only on Latin text — never on connected Arabic script */
.eyebrow [lang="en"] { letter-spacing: 2.5px; }
.hero .eyebrow,
.section-head.light .eyebrow,
.eyebrow.light { color: var(--teal-bright); }

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 22px;
}

/* word-by-word entrance */
.hero h1 .w {
  display: inline-block;
  animation: wordRise .75s cubic-bezier(.22, .9, .35, 1) both;
  animation-delay: calc(var(--wi) * 85ms + 150ms);
}
@keyframes wordRise {
  from { opacity: 0; transform: translateY(22px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero h1 .hl {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
  z-index: 0; /* stacking context — keeps the -1 glow behind text but above hero bg */
}
/* soft glow sweep under the key phrase */
.hero h1 .hl::after {
  content: '';
  position: absolute;
  inset-inline: -4px;
  bottom: .06em;
  height: .32em;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(242, 140, 40, 0) 0%, rgba(242, 140, 40, .32) 50%, rgba(242, 140, 40, 0) 100%);
  background-size: 220% 100%;
  filter: blur(3px);
  z-index: -1;
  animation: glowSweep 5.5s ease-in-out 2.2s infinite;
}
@keyframes glowSweep {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  max-width: 58ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .78);
}
.hero-trust .diamond { width: 7px; height: 7px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}
.hero-mark {
  width: min(340px, 80%);
  filter: drop-shadow(0 24px 60px rgba(43, 170, 201, .35));
}
/* the two cubes rock and bob forever (starts after the build-in completes) */
.hero-mark .cube-anim {
  transform-box: fill-box;
  transform-origin: 50% 55%;
  animation: cubeDrift 7s ease-in-out 2.6s infinite;
}
.hero-mark .cube-b { animation-duration: 8.5s; animation-delay: 3.1s; }
@keyframes cubeDrift {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-9px) rotate(6deg); }
  50%  { transform: translateY(0) rotate(0deg); }
  75%  { transform: translateY(-9px) rotate(-6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* the logo "builds itself": floors first, walls rise, seams set, tiles land, names appear
   (class-based: .floor / .wl / .wr / .tile / .seams on both cubes, .words last) */
.hero-mark .floor {
  animation: fadeIn .6s ease both .45s;
}
.hero-mark .wl,
.hero-mark .wr {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: barRise .8s cubic-bezier(.26, 1.25, .42, 1) both;
}
.hero-mark .wl { animation-delay: .9s; }
.hero-mark .wr { animation-delay: 1.05s; }
.hero-mark .seams path { animation: fadeIn .6s ease both 1.4s; }
.hero-mark .tile {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: popIn .55s cubic-bezier(.3, 1.4, .5, 1) both 1.65s;
}
.hero-mark .words { animation: fadeIn .8s ease both 1.95s; }
@keyframes barRise {
  from { opacity: 0; transform: translateY(18px) scaleY(.4); }
}
@keyframes fadeIn {
  from { opacity: 0; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.3); }
}

.hero-chip {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* floatY animates transform, chipIn animates opacity — no conflict */
  animation: floatY 8s ease-in-out infinite, chipIn .8s ease both;
}
.hero-chip strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
}
.hero-chip span { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.chip-1 { top: 6%; inset-inline-start: 2%; animation-delay: -1s, 1.5s; }
.chip-2 { bottom: 0; inset-inline-start: -4%; animation-delay: -3.4s, 1.7s; }
.chip-3 { top: 38%; inset-inline-end: -2%; animation-delay: -5.8s, 1.9s; }
@keyframes chipIn {
  from { opacity: 0; }
}

/* ── Cities strip (slow marquee) ───────────────── */
.cities-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 14px 0;
  overflow: hidden;
}
.cities-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.cities-strip:hover .cities-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(50%); } /* RTL: content drifts toward reading start */
}
.cities-group {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  padding-inline-start: 56px;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
}
.cities-group span { font-weight: 300; margin-inline-end: 6px; }
.cities-group em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-bright);
}
.cities-group .diamond { width: 5px; height: 5px; background: rgba(242, 140, 40, .7); }
.cities-group .cycle { display: contents; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Sections ──────────────────────────────────── */
.section { padding: 96px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
}
.section-head h2::after,
.contact-copy h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 10px;
}
.section-head.light h2 { color: #fff; }
.section-head.light .section-sub { color: rgba(255, 255, 255, .75); }

/* ── Grids & cards ─────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(19, 135, 168, .35);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(43, 170, 201, .14), rgba(19, 135, 168, .07));
  color: var(--teal-deep);
  margin-bottom: 20px;
  flex: none;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .3s ease;
}
.card:hover .card-icon,
.why-item:hover .card-icon {
  transform: rotate(-7deg) scale(1.08);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }

/* Audience */
.audience { background: var(--white); }
.audience .card { background: var(--sand); }

/* Services */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.service-card:hover { color: inherit; }
.service-card .service-num {
  position: absolute;
  top: 22px;
  inset-inline-end: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: rgba(19, 135, 168, .14);
  line-height: 1;
}
.service-card p { flex: 1; margin-bottom: 18px; }
.card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--orange-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .card-link { color: var(--orange-text-strong); }

.featured-service {
  border-top: 4px solid var(--orange);
}

/* ── Packages ──────────────────────────────────── */
.packages {
  background:
    radial-gradient(700px 400px at 12% 8%, rgba(43, 170, 201, .08), transparent 60%),
    var(--white);
}

.packages-grid { align-items: stretch; }

.pkg-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg-card h3 { font-size: 23px; }
.pkg-tag {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.pkg-card .btn { margin-top: auto; }

.pkg-featured {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: var(--teal-deep);
  box-shadow: 0 24px 60px -18px rgba(9, 37, 54, .45);
}
.pkg-featured h3 { color: #fff; }
.pkg-featured .pkg-tag { color: var(--teal-bright); }
.pkg-featured .check-list li { color: rgba(255, 255, 255, .85); }
.pkg-featured .check-list li::before { background: var(--orange); }
.pkg-badge {
  position: absolute;
  top: -15px;
  inset-inline-start: 26px;
  background: var(--orange);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -4px rgba(242, 140, 40, .6);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.check-list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.check-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: .62em;
  width: 8px; height: 8px;
  background: var(--teal);
  transform: rotate(45deg);
  border-radius: 2px;
}

.pkg-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 40px auto 0;
  max-width: 780px;
  background: rgba(242, 140, 40, .09);
  border: 1px solid rgba(242, 140, 40, .3);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
}
.pkg-note svg { flex: none; margin-top: 5px; color: var(--orange-deep); }

/* ── Lookbook showcase (Adicolor-style) ────────── */
html[dir="rtl"] { --lbShift: 48px; }
html[dir="ltr"] { --lbShift: -48px; }

.lookbook { position: relative; }
.lb-stage {
  position: relative;
  border-radius: 26px;
  background-color: var(--navy);
  transition: background-color .7s ease;
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 18px 20px;
}
.lb-num {
  position: absolute;
  top: -6px;
  inset-inline-start: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 16vw, 190px);
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .2);
  pointer-events: none;
  user-select: none;
}
/* the two halves fill nearly the whole stage; one hangs from the top,
   the other rises from the bottom — they meet at the middle */
.lb-panels {
  grid-row: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  position: relative;
  z-index: 1;
  /* FIXED height: the stage, arrows and info never move between slides —
     each slide's panels are sized by JS to fit inside this constant box */
  height: clamp(340px, 38vw, 500px);
}
.lb-panel {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto; /* dimensions set per-slide by JS (uncropped fit) */
  align-self: flex-start;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
  /* CRITICAL: on the RTL page an over-wide img right-aligns and margin-left
     is IGNORED, so both panels showed the same (right) half. Forcing LTR
     inside the panel makes the half-selection deterministic in both languages. */
  direction: ltr;
}
/* UNCROPPED halves: the img is 200% wide, so exactly one half shows,
   at its natural aspect ratio (the panel box matches that exact ratio) */
.lb-panel img {
  width: 200%;
  max-width: none;
  height: 100%;
  display: block;
}
.lb-panel-before {                 /* right half of the composite = BEFORE */
  align-self: flex-start;
  margin-bottom: 56px;             /* sets the stagger: hangs from the top */
}
.lb-panel-before img { margin-left: -100%; }
.lb-panel-after {                  /* left half of the composite = AFTER */
  align-self: flex-end;
  margin-top: 56px;                /* rises from the bottom */
}
.lb-panel-after img { margin-left: 0; }
.lb-tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(9, 37, 54, .78);
  color: #fff;
}
.lb-tag-after { background: var(--orange); color: var(--navy-deep); }
/* single-image slides (3D render / 2D plan): one large uncropped panel */
.lb-single .lb-panel-before { display: none; }
.lb-single .lb-panel-after {
  flex: 0 0 auto;
  margin: 0;
  align-self: center;
  background: #fff;
}
.lb-single .lb-panel-after img { width: 100%; height: 100%; margin: 0; }
.lb-single .lb-tag-after { display: none; }

.lb-info {
  grid-row: 2;
  grid-column: 1;
  z-index: 1;
  max-width: 60ch;
  align-self: end;
  min-height: 78px; /* one- vs two-line captions must not move the controls */
}
.lb-title {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 6px;
}
.lb-sub {
  color: rgba(255, 255, 255, .75);
  margin: 0;
  font-size: 15px;
}
.lb-controls {
  grid-row: 2;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  align-self: end;
}
.lb-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: #fff;
  direction: ltr;
  font-variant-numeric: tabular-nums; /* digits keep one width — controls never shift */
  min-width: 68px;
  text-align: center;
}
.lb-bar {
  width: 84px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.lb-bar span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 100% 0;
  transition: transform .5s ease;
}
[dir="ltr"] .lb-bar span { transform-origin: 0 0; }
.lb-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.lb-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .12); transform: scale(1.06); }
.lb-btn:active { transform: scale(.94); }
[dir="rtl"] .lb-btn svg { transform: scaleX(-1); }

/* slide change: the two halves travel in OPPOSITE directions —
   BEFORE drops in from the top, AFTER rises from the bottom,
   and they meet at the middle of the stage */
.lb-anim .lb-panel-before { animation: lbFromTop .65s cubic-bezier(.3, .9, .3, 1) both; }
.lb-anim .lb-panel-after  { animation: lbFromBottom .65s cubic-bezier(.3, .9, .3, 1) both; }
.lb-anim .lb-info > *     { animation: lbIn .55s cubic-bezier(.25, .9, .35, 1) .2s both; }
.lb-anim .lb-num          { animation: lbNum .65s ease both; }
@keyframes lbFromTop {
  from { translate: 0 calc(-100% - 120px); }
  to   { translate: 0 0; }
}
@keyframes lbFromBottom {
  from { translate: 0 calc(100% + 120px); }
  to   { translate: 0 0; }
}
@keyframes lbIn {
  from { opacity: 0; translate: var(--lbShift) 0; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes lbNum {
  from { opacity: 0; translate: 0 24px; }
  to   { opacity: 1; translate: 0 0; }
}

/* ── Management ────────────────────────────────── */
.management {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(43, 170, 201, .16), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 80%);
}

.model-card { padding: 40px 34px; }
.model-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.model-head .card-icon { margin-bottom: 0; }
.model-head h3 { margin-bottom: 2px; font-size: 22px; }
.model-tag {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-text);
  margin: 0;
}

.formulas {
  background: rgba(19, 135, 168, .07);
  border: 1px solid rgba(19, 135, 168, .25);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.formulas-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 10px;
}
.formulas .check-list { margin-bottom: 0; gap: 10px; }
.formulas .check-list li { font-size: 14px; }
.formulas .check-list li::before { background: var(--orange); }

.perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(19, 135, 168, .08);
  border: 1px dashed rgba(19, 135, 168, .4);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.perk svg { flex: none; color: var(--teal-deep); margin-top: 4px; }
.perk p { font-size: 14.5px; margin: 0; color: var(--ink); }

/* ── Concierge ─────────────────────────────────── */
.concierge { background: var(--sand); }
.mini-card { padding: 30px 26px; }
.mini-card h3 { font-size: 18px; }
.mini-card p { font-size: 14.5px; }

.guest-cta {
  margin-top: 44px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: 20px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.guest-cta h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.guest-cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 62ch; font-size: 15px; }
.guest-cta .btn { flex: none; }

/* ── Why + process ─────────────────────────────── */
.why { background: var(--white); }

.why-grid { margin-bottom: 40px; }
.why-item {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease;
}
.why-item:hover { border-color: rgba(19, 135, 168, .3); transform: translateY(-4px); }
.why-item h3 { font-size: 18px; }
.why-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

.process {
  margin-top: 56px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  padding: 48px 42px;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(60deg, rgba(255,255,255,.035) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(-60deg, rgba(255,255,255,.035) 0 1px, transparent 1px 42px);
  pointer-events: none;
}
.process-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 36px;
  position: relative;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(43, 170, 201, .16);
  border: 1.5px solid rgba(43, 170, 201, .5);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 14px;
}
.step h4 { color: #fff; font-size: 16.5px; margin-bottom: 6px; }
.step p { color: rgba(255, 255, 255, .68); font-size: 13.5px; margin: 0; line-height: 1.7; }

/* ── Works ─────────────────────────────────────── */
.works { background: var(--sand); }

/* ── FAQ ───────────────────────────────────────── */
.faq { background: var(--white); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list details {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-list details[open] { border-color: rgba(19, 135, 168, .45); background: #fff; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  transition: transform .25s ease;
  flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq-list details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.faq-list details[open] p { animation: faqIn .35s ease; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ── Contact ───────────────────────────────────── */
.contact {
  background:
    radial-gradient(800px 500px at 10% 100%, rgba(242, 140, 40, .12), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 75%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.contact-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
}
.contact-copy > p {
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  max-width: 46ch;
}

.contact-channels {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-channels li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .85);
  font-size: 15.5px;
}
.contact-channels svg { color: var(--teal-bright); flex: none; }

.contact-form { padding: 38px 34px; }
.contact-form h3 { font-size: 21px; margin-bottom: 22px; }

.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.req { color: var(--orange-text); }
.optional { color: var(--muted); font-weight: 400; font-size: 12.5px; }

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 16px; /* ≥16px prevents iOS focus auto-zoom */
  color: var(--ink);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color .2s ease, background-color .2s ease;
  width: 100%;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 84px; }

.form-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ── Footer ────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14.5px;
  max-width: 34ch;
  color: rgba(255, 255, 255, .6);
}
.footer-brand .brand-logo {
  background: #fff;
  border-radius: 12px;
  padding: 5px;
}
.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  width: fit-content;
}
.footer-nav a:hover { color: var(--teal-bright); }
.footer-contact p { font-size: 14.5px; margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
}
.footer-bottom p { margin: 0; text-align: center; }

/* ── WhatsApp FAB ──────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px; /* RTL → bottom-left corner */
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 14px 36px -6px rgba(37, 211, 102, .7);
}
.wa-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: fabPulse 3.4s ease-out 3s infinite;
}
@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  55%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ── Reveal animations ─────────────────────────── */
/* hidden only when JS is running (html.js) — no-JS users see everything */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d-1 { transition-delay: .12s; }
.reveal.d-2 { transition-delay: .24s; }
.reveal.d-3 { transition-delay: .36s; }
.reveal.d-4 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  /* kill every INFINITE animation explicitly — .01ms duration would loop-flicker */
  .float-diamond, .hero-chip, .hero-mark, .hero-mark .cube-anim,
  .cities-track, .wa-fab::after,
  .hero h1 .hl::after { animation: none !important; }
  /* marquee falls back to a static centered wrap (one cycle only) */
  .cities-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .cities-group { white-space: normal; flex-wrap: wrap; justify-content: center; padding-inline-start: 0; }
  .cities-group.dup, .cities-group .rep { display: none; }
  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important; /* entrance staggers must complete instantly */
  }
}

/* ── Responsive ────────────────────────────────── */
/* ── LTR (English version) overrides ───────────── */
[dir="ltr"] .scroll-progress span { transform-origin: 0 0; }
[dir="ltr"] .cities-track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { to { transform: translateX(-50%); } }
[dir="ltr"] .eyebrow { letter-spacing: 1.5px; }
[dir="ltr"] .hero h1 .hl { white-space: normal; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; margin-top: 12px; }
  .chip-2 { inset-inline-start: 4%; }
  .chip-3 { inset-inline-end: 2%; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pkg-featured { order: -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .section { padding: 68px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(9, 37, 54, .25);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav > a:not(.btn) {
    padding: 13px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 14px; justify-content: center; }

  .brand-logo { height: 70px; }
  .brand-text strong { font-size: 19px; }

  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { min-height: 440px; }
  .hero-chip { padding: 8px 14px; }
  .hero-chip strong { font-size: 13.5px; }
  .hero-chip span { font-size: 11.5px; }
  .chip-2 { bottom: 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0 18px;
    padding: 0 0 26px;
    position: relative;
  }
  .step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50px;
    inset-inline-start: 22px;
    bottom: 4px;
    width: 2px;
    background: rgba(43, 170, 201, .3);
  }
  .step-num { margin-bottom: 0; }
  .step h4 { grid-column: 2; align-self: center; margin: 0; }
  .step p { grid-column: 2; }

  .process { padding: 36px 26px; }

  .lb-stage { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; gap: 14px; }
  .lb-num { font-size: 84px; inset-inline-start: 12px; top: -2px; }
  .lb-panels { grid-column: 1; gap: 10px; height: clamp(210px, 58vw, 340px); }
  .lb-panel { border-radius: 10px; }
  .lb-panel-before { margin-bottom: 34px; }
  .lb-panel-after { margin-top: 34px; }
  .lb-single .lb-panel-after { margin: 0; }
  .lb-info { grid-row: 2; grid-column: 1; min-height: 64px; }
  .lb-controls { grid-row: 3; grid-column: 1; justify-content: space-between; }

  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .wa-fab { width: 54px; height: 54px; bottom: 20px; inset-inline-end: 20px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 30px; }
  .card { padding: 28px 22px; }
  .contact-form { padding: 30px 22px; }
}
