:root {
  --ink: #0d1b2a;
  --ink-soft: #2b3a4a;
  --muted: #4f5d6b;
  --paper: #f5f7f4;
  --white: #ffffff;
  --line: #d6ded8;
  --green: #129c76;
  --green-ink: #0a6f53;
  --coin: #ffc94d;
  --radius-s: 6px;
  --radius-l: 14px;
  --font: "Fira Sans", system-ui, sans-serif;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: light;
}

html[lang="ar"] { --font: "Cairo", "Fira Sans", system-ui, sans-serif; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.7; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coin);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- top bar ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; flex: none; object-fit: cover; }
.brand b { font-weight: 800; font-size: 19px; letter-spacing: normal; }
.langs { display: flex; gap: 4px; flex-wrap: wrap; }
.langs a {
  text-decoration: none; color: var(--ink-soft); font-size: 15px;
  padding: 6px 10px; border-radius: var(--radius-s);
}
.langs a[aria-current="page"] { background: var(--ink); color: var(--white); }
.langs a:not([aria-current]):hover { background: #e6ece7; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding-block: 40px 72px;
}
.hero h1 {
  font-weight: 900; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04;
  margin: 0 0 22px; letter-spacing: -0.01em;
}
html[lang="ar"] .hero h1 { letter-spacing: normal; line-height: 1.3; }
.hero .lead { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none;
  padding: 14px 22px; border-radius: var(--radius-s); border: 2px solid transparent;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--green-ink); color: var(--white); }
.btn-wa:hover { background: #085c45; }
.btn-plain { color: var(--ink); border-color: var(--ink); }
.btn-tg { color: var(--white); background: #229ED9; border-color: #229ED9; }
.btn-tg:hover { background: #1a7fb0; border-color: #1a7fb0; }
.btn-plain:hover { background: var(--ink); color: var(--white); }
.hero .note { margin: 20px 0 0; color: var(--muted); font-size: 15px; max-width: 32em; }

/* the building plate with the logo — the one loud element (no office number: owner 27.11) */
.plate {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-l);
  padding: 30px 32px 26px;
  box-shadow: 0 1px 0 #ffffff14 inset, 0 24px 48px -28px #0d1b2a99;
}
.plate .building { font-size: 22px; font-weight: 600; margin: 0; }
.plate .floor { font-size: 18px; color: #b9c6d3; margin: 2px 0 0; }
.plate .plate-logo {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 14px; margin: 0 0 22px;
}
.plate .floor { margin-bottom: 18px; }
.plate .street { margin: 0; padding-top: 16px; border-top: 1px solid #ffffff26; color: #d5dee6; font-size: 16px; }

/* ---------- sections ---------- */
section { padding-block: 64px; border-top: 1px solid var(--line); }
section h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 28px; }
html[lang="ar"] section h2 { line-height: 1.35; }

/* what we exchange: two directions side by side */
.dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; background: var(--white); }
.dir { padding: 28px 30px; }
.dir + .dir { border-inline-start: 2px solid var(--ink); }
.dir h3 { font-weight: 800; font-size: 26px; margin: 0 0 10px; line-height: 1.3; }
.dir p { margin: 0; color: var(--ink-soft); max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-weight: 600; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: #e7f3ee; color: var(--green-ink); direction: ltr; }

/* steps: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coin); color: var(--ink); font-weight: 900; font-size: 20px; margin-bottom: 14px;
}
.steps h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.steps p { margin: 0; color: var(--ink-soft); }

/* route: street -> lifts -> floor and office by WhatsApp */
.route { display: grid; grid-template-columns: 1.6fr 0.7fr 0.8fr; gap: 16px; align-items: stretch; }
.route figure { margin: 0; display: flex; flex-direction: column; }
.route .pic { border-radius: var(--radius-l); overflow: hidden; background: var(--line); flex: 1; }
.route .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.route .street-pic img { aspect-ratio: 16 / 9; }
.route .lift-pic img { aspect-ratio: 3 / 4; object-position: 40% 60%; }
.route .ask {
  flex: 1; border-radius: var(--radius-l); background: var(--green); color: var(--white);
  display: grid; place-items: center; min-height: 220px; text-decoration: none;
}
.route .ask:hover { background: #085c45; }
.route .ask svg { width: 96px; height: 96px; }
.route figcaption { margin-top: 12px; font-size: 16px; color: var(--ink-soft); }
.route figcaption b { color: var(--ink); }

.where { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.address { font-size: 20px; font-weight: 600; margin: 0 0 18px; }
.hours { border-collapse: collapse; font-size: 17px; }
.hours th { text-align: start; font-weight: 400; color: var(--muted); padding: 4px 0; padding-inline-end: 28px; }
.hours td { padding: 4px 0; font-weight: 600; direction: ltr; text-align: start; }
html[dir="rtl"] .hours td { text-align: end; }
.where h3 { font-size: 18px; margin: 0 0 8px; }
.langs-spoken { margin: 18px 0 0; color: var(--ink-soft); }

/* faq */
.faq details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 19px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; color: var(--green-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 40em; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 32px 110px; color: var(--muted); font-size: 15px; }
footer p { margin: 0 0 6px; }

/* sticky WhatsApp on phones */
.sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 10;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #f5f7f4ee; backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  display: none;
}
.sticky .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 16px 56px; }
  .route { grid-template-columns: 1fr 1fr; }
  .route .street-fig { grid-column: 1 / -1; }
  .where { grid-template-columns: 1fr; gap: 28px; }
  .plate .plate-logo { max-width: 280px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero .lead { font-size: 18px; }
  .dirs { grid-template-columns: 1fr; }
  .dir + .dir { border-inline-start: 0; border-top: 2px solid var(--ink); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .route .ask { min-height: 160px; }
  .route .ask svg { width: 72px; height: 72px; }
  section { padding-block: 48px; }
  .sticky { display: block; }
  .top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
