/* ===== Samara Elevators – main stylesheet ===== */
:root {
  --ink: #121214;
  --ink-2: #222226;
  --silver: #c9cbd0;
  --red: #b3141f;
  --red-2: #d62832;
  --bg: #f4f4f5;
  --surface: #ffffff;
  --text: #1c1c1f;
  --muted: #63636b;
  --border: #e4e4e7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 18, 20, .08);
  --container: 1180px;
  --font: "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; transition: .2s ease;
  background: var(--red); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--red-2); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { padding: .45em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 20, .96); backdrop-filter: blur(8px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: "Cinzel", var(--font); font-size: 1.25rem; letter-spacing: .08em; background: linear-gradient(180deg, #ffffff 0%, #c9cbd0 55%, #8d9097 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { color: var(--silver); font-size: .74rem; letter-spacing: .22em; border-top: 1px solid var(--red); padding-top: 2px; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: .45em .8em; border-radius: 8px; color: #dcdcdf; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav a.btn { color: #fff; margin-inline-start: 6px; }
.nav a.btn:hover, .nav a.btn.active { background: var(--red-2); color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang-switch button {
  background: none; border: 0; color: #c6c6cb; font: inherit; font-weight: 700; font-size: .8rem;
  padding: .3em .7em; border-radius: 999px; cursor: pointer; min-width: 36px;
}
.lang-switch button.active { background: var(--red); color: #fff; }
.menu-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px;
}
.menu-toggle:hover { background: rgba(255,255,255,.08); }

@media (max-width: 1280px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; top: 70px; inset-inline: 0; flex-direction: column; align-items: stretch;
    background: var(--ink); padding: 12px 16px 20px; gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8em 1em; }
  .nav a.btn { margin: 8px 0 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(179,20,31,.25), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, #1b1b1e 60%, #2a1517 100%);
  padding: 80px 0 90px;
}
.hero h1, .hero h2 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  color: var(--silver); background: rgba(179,20,31,.12); border: 1px solid rgba(179,20,31,.35);
  padding: .3em .9em; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.15rem; color: #cfcfd3; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: #bdbdc2; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-art { justify-self: center; width: min(320px, 100%); }
.page-hero { padding: 64px 0 56px; }
.page-hero p.lead { margin-bottom: 0; }
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { width: 220px; order: -1; }
  .page-hero .hero-art { display: none; }
}

/* elevator door animation in hero */
.door { transition: transform 1.4s cubic-bezier(.6,0,.2,1); }
.hero-art:hover .door-l, .hero-art.open .door-l { transform: translateX(-80px); }
.hero-art:hover .door-r, .hero-art.open .door-r { transform: translateX(80px); }

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink); color: #dcdcdf; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b5b5bb; }
@media (max-width: 640px) { section { padding: 56px 0; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: .25s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(18,18,20,.12); }
.card p { color: var(--muted); }
.card .link { color: var(--ink); font-weight: 700; display: inline-flex; gap: 6px; }
.card .link::after { content: "→"; }
[dir="rtl"] .card .link::after { content: "←"; }
.icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: var(--red-2); margin-bottom: 18px;
}
.icon svg { width: 28px; height: 28px; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section-dark .card p { color: #b5b5bb; }
.section-dark .icon { background: rgba(179,20,31,.15); }

/* feature list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-inline-start: 30px; }
.checklist li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: .75rem; font-weight: 900; display: grid; place-items: center;
}

/* service detail rows */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-row + .service-row { margin-top: 80px; }
.service-row.reverse .service-visual { order: 2; }
.service-visual {
  border-radius: var(--radius); min-height: 280px; display: grid; place-items: center; color: var(--red-2);
  background: radial-gradient(400px 200px at 70% 20%, rgba(179,20,31,.25), transparent 70%), linear-gradient(150deg, var(--ink), #2b1a1c);
}
.service-visual svg { width: 120px; height: 120px; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row.reverse .service-visual { order: 0; }
  .service-visual { min-height: 180px; }
}

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { position: relative; padding: 24px 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--red-2);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* product cards */
.product .product-top {
  height: 150px; margin: -28px -28px 22px; border-radius: var(--radius) var(--radius) 0 0;
  display: grid; place-items: center; color: var(--red-2);
  background: linear-gradient(150deg, var(--ink), #2b1a1c);
}
.product .product-top svg { width: 70px; height: 70px; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.spec span { font-size: .82rem; font-weight: 700; background: #f0f0f2; color: var(--ink); padding: .25em .75em; border-radius: 999px; }

/* CTA band */
.cta-band {
  background: radial-gradient(600px 200px at 90% 0%, rgba(255,255,255,.12), transparent 70%), linear-gradient(120deg, #7d0d15, var(--red) 55%, var(--red-2)); color: #fff;
  border-radius: 20px; padding: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: .3em; color: #fff; }
.cta-band p { margin: 0; font-size: 1.05rem; }
@media (max-width: 640px) { .cta-band { padding: 32px 22px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--ink); }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  padding: .75em .9em; border: 1px solid var(--border); border-radius: 10px; background: #fcfcfc;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.2); }
textarea { min-height: 130px; resize: vertical; }
.form-status { font-weight: 700; min-height: 1.5em; margin: 0; }
.form-status.ok { color: #1c8a4a; }
.form-status.err { color: #c0392b; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { width: 44px; height: 44px; margin: 0; flex: none; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a, .info-list span { color: var(--muted); }
.info-list a:hover { color: var(--ink); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); margin-top: 32px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- footer ---------- */
.site-footer { background: #0a0a0b; color: #a3a3aa; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--red-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .85rem; text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- configurator ---------- */
.config-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .config-layout { grid-template-columns: 1fr; } }
.config-panel { position: sticky; top: 90px; }
@media (max-width: 960px) { .config-panel { position: static; } }
.config-panel .card:hover, .config-stats.card:hover { transform: none; }
.config-panel .form { gap: 14px; }
.field-hint { font-weight: 400; color: var(--muted); font-size: .8rem; }
.range-row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; }
input[type="range"] { padding: 0; accent-color: var(--red); background: none; border: 0; box-shadow: none; }
.viewer {
  position: relative; border-radius: var(--radius); overflow: hidden; height: min(72vh, 680px); min-height: 420px;
  background: radial-gradient(800px 400px at 50% 0%, #2a2a2f, var(--ink) 70%);
  box-shadow: var(--shadow);
}
.viewer canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.viewer-tools { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 2; }
.viewer-tools button, .viewer-tools select {
  font: inherit; font-size: .85rem; font-weight: 700; border: 1px solid rgba(255,255,255,.2);
  background: rgba(18,18,20,.75); color: #fff; padding: .45em .9em; border-radius: 999px; cursor: pointer; width: auto;
}
.viewer-tools button:hover { background: rgba(179,20,31,.85); color: #fff; }
.viewer-hint { position: absolute; bottom: 12px; inset-inline: 0; text-align: center; color: rgba(255,255,255,.65); font-size: .82rem; pointer-events: none; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; }
.config-stats { margin-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #f3f3f5; border-radius: 12px; padding: 14px; }
.stat small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.stat b { font-size: 1.05rem; color: var(--ink); display: block; }
.warn { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fff5e0; color: #8a5a00; font-size: .92rem; display: none; }
.warn.show { display: block; }
.note { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
label.req > span:first-child::after { content: " *"; color: #c0392b; }

/* footer logo + metallic accents (logo theme) */
.footer-logo img { width: 170px; height: auto; margin-bottom: 14px; }
.site-header { border-bottom: 1px solid rgba(179,20,31,.45); }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), var(--silver), var(--red), transparent); }

/* ---------- B2B / export additions ---------- */
.grid-auto { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-auto > * { flex: 1 1 200px; max-width: 280px; height: auto; }
@media (max-width: 560px) { .grid-auto > * { max-width: none; } }
.sub-head { margin: 0 0 24px; font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.sub-head::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.sub-head + .grid { margin-bottom: 56px; }
.b2b-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px;
  background: #fbeeee; color: #6e0b12; border: 1px solid #f1caca; font-weight: 600; font-size: .95rem; margin: 0;
}
.b2b-note::before { content: "B2B"; flex: none; font-size: .72rem; font-weight: 800; background: var(--red); color: #fff; padding: 2px 8px; border-radius: 6px; margin-top: 2px; }
.hero-actions .btn-outline { color: #fff; }

.hero-logo {
  justify-self: center; width: min(420px, 100%); height: auto;
  filter: drop-shadow(0 18px 40px rgba(179,20,31,.28));
}
@media (max-width: 860px) { .hero-logo { width: 260px; order: -1; } }

/* ---------- spare parts (coming soon + catalog) ---------- */
.soon-badge { font-size: .75rem; font-weight: 800; letter-spacing: .04em; background: var(--red); color: #fff; padding: .2em .8em; border-radius: 999px; }
.soon-badge[hidden] { display: none; }
.spares-soon {
  background: var(--surface); border: 1px dashed #d3d3d8; border-radius: var(--radius); padding: 28px;
  display: grid; gap: 20px; justify-items: start;
}
.spares-lead { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 760px; }
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; width: 100%; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 18px 10px; border-radius: 12px; background: #f6f6f7; font-weight: 700; color: var(--ink); font-size: .92rem;
}
.cat-tile .icon { margin: 0; }
@media (max-width: 980px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }

.spares-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); padding: .4em 1em; border-radius: 999px;
}
.chip small { color: var(--muted); font-weight: 700; margin-inline-start: 4px; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active small { color: #c6c6cb; }
.spares-search { max-width: 320px; }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.part-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.part-photo { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--border); }
.part-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.part-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.part-body h3 { font-size: 1rem; margin: 0; }
.part-body .btn { margin-top: auto; }
.part-cat { font-size: .75rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.part-no { margin: 0; font-size: .85rem; color: var(--muted); }
.part-no b { font-family: ui-monospace, Consolas, monospace; color: var(--ink); background: #f3f3f5; padding: 1px 6px; border-radius: 4px; }
.part-specs { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }
.spares-empty { color: var(--muted); font-weight: 600; }
[id] { scroll-margin-top: 90px; }

/* ---------- photo hero (home) ---------- */
.hero-photo { min-height: min(86vh, 760px); display: flex; align-items: center; padding: 110px 0 90px; background: #0a0a0b; }
.hero-photo .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.62) 50%, rgba(10,10,11,.25) 100%),
    linear-gradient(0deg, rgba(10,10,11,.85) 0%, transparent 35%),
    radial-gradient(700px 400px at 15% 20%, rgba(179,20,31,.25), transparent 70%);
}
[dir="rtl"] .hero-photo::before {
  background:
    linear-gradient(270deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.62) 50%, rgba(10,10,11,.25) 100%),
    linear-gradient(0deg, rgba(10,10,11,.85) 0%, transparent 35%),
    radial-gradient(700px 400px at 85% 20%, rgba(179,20,31,.25), transparent 70%);
}
.hero-photo::after { z-index: 2; }
.hero-photo .hero-content { position: relative; z-index: 2; max-width: var(--container); }
.hero-photo .hero-content > * { max-width: 680px; }
@media (max-width: 760px) {
  .hero-photo { min-height: 0; padding: 72px 0 64px; }
  .hero-photo::before { background: linear-gradient(0deg, rgba(10,10,11,.95) 10%, rgba(10,10,11,.7) 100%); }
}

/* ---------- category cards with photos ---------- */
.cat-card { display: flex; flex-direction: column; }
.cat-card .cat-img { display: block; margin: -28px -28px 20px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--ink); }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-card .link { margin-top: auto; }
.cat-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } .cat-grid > * { grid-column: span 2; } .cat-grid > :nth-child(4) { grid-column: 2 / span 2; } .cat-grid > :nth-child(5) { grid-column: 4 / span 2; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } .cat-grid > *, .cat-grid > :nth-child(4), .cat-grid > :nth-child(5) { grid-column: auto; } }

/* ---------- Home Lifts page ---------- */
.hl-hero { background: #000; color: #dcdcdf; padding: 64px 0; position: relative; overflow: hidden; }
.hl-hero h1 { color: #fff; font-family: "Cinzel", var(--font); letter-spacing: .04em; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hl-hero .lead { color: #c6c6cb; font-size: 1.15rem; max-width: 520px; }
.hl-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.hl-hero-img { border-radius: 18px; overflow: hidden; border: 1px solid rgba(201,203,208,.35); box-shadow: 0 30px 80px rgba(179,20,31,.18); }
.hl-hero-img img { width: 100%; height: auto; display: block; }
.hl-rule { width: 64px; height: 2px; background: linear-gradient(90deg, var(--red), var(--silver)); margin: 18px 0 22px; border: 0; }
@media (max-width: 860px) { .hl-hero { padding: 44px 0 52px; } .hl-hero-grid { grid-template-columns: 1fr; gap: 28px; } .hl-hero-img img { max-height: 380px; object-fit: cover; } }

.collection { background: #0a0a0b; color: #c6c6cb; }
.collection + .collection { padding-top: 0; }
.collection .section-head h2 { color: #fff; font-family: "Cinzel", var(--font); letter-spacing: .05em; }
.collection .section-head p { color: #a3a3aa; }
.cabin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.cabin-card {
  background: #000; border: 1px solid rgba(201,203,208,.45); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cabin-card:hover, .cabin-card:focus-within { border-color: var(--red-2); box-shadow: 0 0 0 1px var(--red-2), 0 18px 44px rgba(179,20,31,.35); transform: translateY(-4px); }
.cabin-photo { aspect-ratio: 3 / 4; background: #111113; position: relative; overflow: hidden; }
.cabin-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cabin-card:hover .cabin-photo img { transform: scale(1.04); }
.cabin-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: #6f7076; font-size: .85rem; font-weight: 600; }
.cabin-ph svg { width: 84px; height: 112px; }
.cabin-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cabin-code { margin: 0; color: #fff; font-family: "Cinzel", var(--font); font-size: 1.25rem; letter-spacing: .06em; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .cabin-code { text-align: right; }
.cabin-specs { margin: 0; display: grid; gap: 6px; font-size: .88rem; }
.cabin-specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(201,203,208,.18); padding-bottom: 6px; }
.cabin-specs dt { color: #8d8f96; }
.cabin-specs dd { margin: 0; color: #dcdcdf; text-align: end; }
.cabin-specs dd.na { color: #6f7076; font-style: italic; }
.cabin-body .btn { margin-top: auto; }
.cabin-card .btn-outline { color: #fff; border-color: rgba(201,203,208,.6); }
.cabin-card:hover .btn-outline { background: var(--red); border-color: var(--red); }

.hl-cta { background: #000; border-top: 1px solid rgba(201,203,208,.2); }
.hl-cta .cta-box { text-align: center; max-width: 720px; margin: 0 auto; }
.hl-cta h2 { color: #fff; }
.hl-cta p { color: #b5b5bb; }
.hl-cta .hero-actions { justify-content: center; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb457; }
.btn-wa svg { width: 20px; height: 20px; }
.cabin-photo img { position: absolute; inset: 0; z-index: 1; }
.hl-hero-img img { max-height: 680px; object-fit: cover; }
/* hero photo: keep the lift in view when the sides are cropped; mirror it in RTL so the lift sits on the lighter side of the overlay */
.hero-photo .hero-bg picture { display: contents; }
.hero-photo .hero-bg img { object-position: 65% 50%; }
@media (max-width: 760px) { .hero-photo .hero-bg img { object-position: 50% 40%; } }

/* ---------- homepage: hero logo + "Design Your Elevator" band ---------- */
.hero-brand { width: 120px; height: auto; display: block; margin-bottom: 14px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
@media (max-width: 760px) { .hero-brand { width: 88px; } }
.design-band { position: relative; overflow: hidden; background: #000; color: #dcdcdf; padding: 110px 0; text-align: center; }
.design-bg { position: absolute; inset: 0; }
.design-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.design-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(700px 360px at 50% 50%, rgba(10,10,11,.35), rgba(10,10,11,.85)); }
.design-inner { position: relative; z-index: 2; max-width: 760px; }
.design-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.design-band p { color: #cfcfd3; font-size: 1.1rem; margin-bottom: 30px; }
.btn-xl { font-size: 1.2rem; padding: 1em 2.2em; box-shadow: 0 14px 40px rgba(179,20,31,.45); }
.btn-xl:hover { box-shadow: 0 18px 50px rgba(214,40,50,.55); }
.btn-ico svg { width: 26px; height: 26px; display: block; }
@media (max-width: 640px) { .design-band { padding: 72px 0; } .btn-xl { width: 100%; } }

/* ---------- category pages ---------- */
.cat-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-page-grid .card:hover { transform: none; }
.soon-card { background: var(--ink); border-color: var(--ink); color: #cfcfd3; }
.soon-card h2 { color: #fff; font-size: 1.5rem; margin-top: 14px; }
.soon-card .btn-dark { background: var(--red); }
.soon-card .btn-dark:hover { background: var(--red-2); }
@media (max-width: 860px) { .cat-page-grid { grid-template-columns: 1fr; } }

/* ---------- Home Lifts page: card click, enlarged view, gallery, CTA photo ---------- */
.cabin-card { cursor: pointer; }
.cabin-card:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
.cabin-photo { background: #000; }
.cabin-zoom {
  position: absolute; z-index: 2; inset-inline-end: 10px; bottom: 10px; font-size: .78rem; font-weight: 700;
  color: #fff; background: rgba(179,20,31,.9); padding: .3em .8em; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: .25s;
}
.cabin-card:hover .cabin-zoom, .cabin-card:focus-visible .cabin-zoom { opacity: 1; transform: none; }
@media (hover: none) { .cabin-zoom { opacity: 1; transform: none; } }

.cabin-dialog {
  width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(201,203,208,.5);
  border-radius: 16px; background: #000; color: #c6c6cb; overflow: auto;
}
.cabin-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(3px); }
html.dlg-open { overflow: hidden; }
.dlg-close {
  position: absolute; top: 10px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(201,203,208,.5); background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.dlg-close:hover { background: var(--red); border-color: var(--red); }
.dlg-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dlg-photo { aspect-ratio: 3 / 4; }
.dlg-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.dlg-info h2.cabin-code { font-size: 2rem; }
.dlg-info h3 { color: #fff; font-size: 1rem; margin: 8px 0 0; }
.dlg-info p { margin: 0; }
.dlg-info p.na { color: #6f7076; font-style: italic; }
.dlg-col { color: var(--red-2); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.dlg-info .cabin-specs { font-size: .95rem; }
@media (max-width: 760px) { .dlg-grid { grid-template-columns: 1fr; } .dlg-photo { aspect-ratio: auto; height: 42vh; } .dlg-info { padding: 22px 18px; } }

.hl-gallery { background: #0a0a0b; padding-top: 0; }
.hl-gallery .section-head h2 { color: #fff; font-family: "Cinzel", var(--font); letter-spacing: .05em; }
.hl-gallery .section-head p { color: #a3a3aa; }
.gallery-grid { columns: 3 260px; column-gap: 14px; }
.gal-item { margin: 0 0 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; border: 1px solid rgba(201,203,208,.25); }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-note { color: #6f7076; font-size: .82rem; text-align: center; margin: 10px 0 0; }
@media (max-width: 560px) { .gallery-grid { columns: 2 140px; column-gap: 10px; } .gal-item { margin-bottom: 10px; } }

.hl-cta { position: relative; overflow: hidden; }
.hl-cta-bg { position: absolute; inset: 0; }
.hl-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hl-cta .cta-box { position: relative; z-index: 1; }

/* ================= Design Your Elevator (configurator) ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.btn-outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.cz-hero { padding: 56px 0 44px; }
.cz-hero-bg { position: absolute; inset: 0; }
.cz-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cz-hero .container { position: relative; z-index: 1; }
.cz-section { padding-top: 28px; }
.cz-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cz-viewer-col { position: sticky; top: 86px; }
.cz-viewer { height: min(72vh, 660px); min-height: 380px; }
.cz-note { text-align: center; margin-top: 10px; }
@media (max-width: 980px) {
  .cz-layout { grid-template-columns: 1fr; }
  .cz-viewer-col { position: static; }
  .cz-viewer { height: 58vh; min-height: 340px; }
}
.cz-cams { position: absolute; z-index: 2; top: 10px; inset-inline: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cz-cams button, .cz-ctrl button, .cz-ctrl select {
  font: inherit; font-size: .8rem; font-weight: 700; color: #fff; background: rgba(10,10,11,.72); border: 1px solid rgba(255,255,255,.18);
  padding: .4em .85em; border-radius: 999px; cursor: pointer; backdrop-filter: blur(4px); width: auto;
}
.cz-cams button:hover, .cz-ctrl button:hover { border-color: var(--red-2); }
.cz-cams button.active { background: var(--red); border-color: var(--red); }
.cz-ctrl { position: absolute; z-index: 2; bottom: 34px; inset-inline: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cz-door-btn { background: rgba(179,20,31,.9) !important; border-color: var(--red) !important; }
.cz-floor-ctrl { display: flex; gap: 4px; align-items: center; }
.cz-floor-ctrl select { padding: .4em .6em; }
.cz-floor-ctrl select option { color: #111; }
@media (max-width: 560px) { .cz-cams button { font-size: .72rem; padding: .35em .65em; } }

.cz-panel:hover, .cz-summary:hover { transform: none; }
.cz-panel { padding: 22px; }
.cz-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cz-steps button {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: .78rem; font-weight: 700;
  color: var(--muted); background: none; border: 0; border-bottom: 3px solid var(--border); padding: 4px 2px 8px; cursor: pointer;
}
.cz-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #ececef; color: var(--ink); font-size: .8rem; }
.cz-steps button.active { color: var(--ink); border-color: var(--red); }
.cz-steps button.active b { background: var(--red); color: #fff; }
.cz-steps button.done b { background: var(--ink); color: #fff; }
.cz-step h3 { font-size: 1.15rem; }
.cz-step h4 { font-size: .95rem; margin: 20px 0 10px; }
.cz-step h4:first-child { margin-top: 0; }
.cz-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cz-type {
  font: inherit; text-align: start; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.cz-type .icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.cz-type .icon svg { width: 22px; height: 22px; }
.cz-type b { font-size: .95rem; color: var(--ink); }
.cz-type small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.cz-type:hover { border-color: var(--red-2); }
.cz-type.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.15); }
.cz-type:last-child:nth-child(odd) { grid-column: span 2; }
@media (max-width: 420px) { .cz-types { grid-template-columns: 1fr; } .cz-type:last-child:nth-child(odd) { grid-column: auto; } }
.cz-suggest { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #f3f3f5; font-weight: 600; font-size: .92rem; }
.cz-suggest b { color: var(--ink); font-size: 1.05rem; }
.cz-ok { color: #1c8a4a; font-weight: 700; font-size: .9rem; margin: 10px 0 0; }
.cz-ok[hidden] { display: none; }

.cz-seg { display: flex; gap: 4px; background: #f0f0f2; padding: 4px; border-radius: 12px; margin-bottom: 12px; }
.cz-seg button { flex: 1; font: inherit; font-size: .85rem; font-weight: 700; border: 0; background: none; padding: .5em .4em; border-radius: 9px; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cz-seg button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.cz-seg .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background-size: cover; flex: none; }
.cz-col { margin-bottom: 10px; }
.cz-col-name { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cz-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.sw { font: inherit; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 5px; cursor: pointer; text-align: center; transition: border-color .2s, transform .2s; }
.sw i { display: block; height: 46px; border-radius: 7px; background-size: cover; background-position: center; }
.sw span { display: block; font-size: .74rem; font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.25; }
.sw small { display: block; font-weight: 600; color: var(--muted); font-size: .66rem; }
.sw:hover { border-color: var(--red-2); transform: translateY(-1px); }
.sw.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.15); }
.cz-link { font: inherit; font-size: .85rem; font-weight: 700; color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.cz-ceilings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-height: 260px; overflow: auto; padding: 2px; }
.ceil { font: inherit; border: 1.5px solid var(--border); border-radius: 8px; padding: 3px; background: #fff; cursor: pointer; }
.ceil i { display: block; aspect-ratio: 1; border-radius: 5px; background-size: cover; background-color: #ddd; }
.ceil span { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); }
.ceil:hover { border-color: var(--red-2); }
.ceil.active { border-color: var(--red); box-shadow: 0 0 0 2px rgba(179,20,31,.2); }
.ceil.active span { color: var(--red); }
.cz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cz-chips .chip:disabled { opacity: .35; cursor: not-allowed; }
.cz-actions { display: grid; gap: 10px; margin-top: 14px; }
.cz-actions .btn-wa { justify-content: center; }
.cz-nav { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

.cz-summary { margin-top: 16px; padding: 20px 22px; }
.cz-summary h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.cz-summary h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(179,20,31,.18); }
.cz-sum { margin: 0; display: grid; gap: 0; font-size: .86rem; }
.cz-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.cz-sum dt { color: var(--muted); }
.cz-sum dd { margin: 0; font-weight: 700; color: var(--ink); text-align: end; }

.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 16px 28px 16px 0; position: relative; }
[dir="rtl"] .faq summary { padding: 16px 0 16px 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 12px; font-size: 1.4rem; color: var(--red); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--muted); }

.cz-dialog { width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 0; border-radius: 16px; padding: 28px; overflow: auto; }
.cz-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.cz-dialog .dlg-close { color: var(--ink); background: #f0f0f2; border-color: var(--border); }
.cz-dialog .dlg-close:hover { color: #fff; }
.cz-dialog h2 { font-size: 1.4rem; padding-inline-end: 40px; }
.cz-attach { font-size: .85rem; }
.cz-attach summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.cz-attach pre { white-space: pre-wrap; font: inherit; font-size: .8rem; background: #f6f6f7; padding: 10px; border-radius: 8px; margin: 8px 0 0; }
.cz-toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: .3s; max-width: calc(100vw - 32px); text-align: center; }
.cz-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* off-screen sheet rendered into the PDF */
.pdf-sheet { position: fixed; left: -10000px; top: 0; width: 794px; background: #fff; color: #17171a; padding: 44px 48px; font-family: "Cairo", "Segoe UI", sans-serif; }
.pdf-head { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid #b3141f; padding-bottom: 14px; }
.pdf-head img { width: 64px; height: 64px; background: #111; border-radius: 10px; padding: 4px; }
.pdf-head b { display: block; font-size: 22px; letter-spacing: .04em; }
.pdf-head span { color: #666; font-size: 13px; }
.pdf-sheet h1 { font-size: 26px; margin: 22px 0 4px; color: #17171a; }
.pdf-date { color: #666; font-size: 13px; margin: 0 0 14px; }
.pdf-snap { width: 100%; height: 330px; object-fit: cover; border-radius: 10px; background: #111; margin-bottom: 16px; }
.pdf-sheet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdf-sheet th { text-align: start; color: #555; font-weight: 600; padding: 7px 0; border-bottom: 1px solid #e6e6e9; width: 42%; }
.pdf-sheet td { font-weight: 700; padding: 7px 0; border-bottom: 1px solid #e6e6e9; text-align: end; }
.pdf-warn { color: #b3141f; font-weight: 700; font-size: 13px; }
.pdf-note { color: #777; font-size: 12px; margin-top: 16px; }
.pdf-contact { font-size: 13px; margin: 8px 0 0; }
.pdf-link { font-size: 10px; color: #999; word-break: break-all; margin: 6px 0 0; }
.hero p.lead-2 { font-size: 1.02rem; color: #b5b5bb; margin-top: -.3em; }

/* ---------- homepage hero v2: text left, elevator clear on the right ---------- */
.hero-v2 { min-height: min(88vh, 780px); padding: 120px 0 96px; }
/* subtle gradient only behind the text; the right side stays clear */
.hero-v2::before {
  background:
    linear-gradient(90deg, rgba(10,10,11,.86) 0%, rgba(10,10,11,.62) 34%, rgba(10,10,11,.18) 58%, rgba(10,10,11,0) 78%),
    linear-gradient(0deg, rgba(10,10,11,.55) 0%, transparent 28%);
}
[dir="rtl"] .hero-v2::before {
  background:
    linear-gradient(270deg, rgba(10,10,11,.86) 0%, rgba(10,10,11,.62) 34%, rgba(10,10,11,.18) 58%, rgba(10,10,11,0) 78%),
    linear-gradient(0deg, rgba(10,10,11,.55) 0%, transparent 28%);
}
.hero-v2 .hero-bg img { object-position: 72% 50%; }
.hero-v2 .hero-content > * { max-width: 540px; }
.hero-kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #dcdcdf;
}
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--red); flex: none; }
.hero-v2 h1 {
  font-family: "Cinzel", var(--font); font-weight: 600; font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.08; letter-spacing: .01em; margin-bottom: 26px; text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.hero-v2 p.lead { font-size: 1.12rem; line-height: 1.75; color: #d3d3d7; max-width: 500px; margin-bottom: 0; }
.hero-v2 .hero-actions { margin-top: 40px; gap: 14px; }
.hero-v2 .hero-actions .btn { padding: .95em 1.9em; }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-points {
  list-style: none; margin: 44px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 0;
  border-top: 1px solid rgba(255,255,255,.16); color: #c6c6cb; font-size: .9rem; font-weight: 600; letter-spacing: .04em;
}
.hero-points li + li::before { content: "·"; color: var(--red-2); font-weight: 800; margin-inline: 14px; }
/* Arabic: no letter-spacing (it breaks joined letters) and the Arabic font for the headline */
[lang="ar"] .hero-kicker, [lang="ar"] .hero-points, [lang="ar"] .hero-v2 h1 { letter-spacing: 0; }
[lang="ar"] .hero-kicker { font-size: .95rem; }
[lang="ar"] .hero-v2 h1 { font-family: var(--font); font-weight: 800; line-height: 1.3; }

@media (max-width: 760px) {
  .hero-v2 { min-height: 0; padding: 84px 0 64px; }
  .hero-v2::before, [dir="rtl"] .hero-v2::before { background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.72) 55%, rgba(10,10,11,.5) 100%); }
  .hero-kicker { font-size: .7rem; letter-spacing: .16em; margin-bottom: 18px; }
  .hero-v2 h1 { margin-bottom: 18px; }
  .hero-v2 p.lead { font-size: 1.02rem; }
  .hero-v2 .hero-actions { flex-direction: column; margin-top: 30px; }
  .hero-v2 .hero-actions .btn { width: 100%; }
  .hero-points { margin-top: 32px; font-size: .84rem; }
  .hero-points li + li::before { margin-inline: 9px; }
}
.hero-v2 p.lead, .hero-points, .hero-kicker { text-shadow: 0 1px 14px rgba(0,0,0,.75); }

/* ---------- footer contact labels ---------- */
.footer-grid .f-mail small { display: block; font-size: .74rem; color: #7d7d85; letter-spacing: .02em; }

/* ---------- floating WhatsApp button: always bottom-right, clear of other controls ---------- */
.wa-float { inset-inline-end: auto; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transition: transform .2s, opacity .2s; }
.wa-float.dodge { opacity: 0; transform: scale(.7); pointer-events: none; }   /* set by main.js while it would cover a button or field */
.site-footer { padding-bottom: 96px; }               /* the button never covers the last footer line */
html.dlg-open .wa-float { display: none; }           /* hidden while a full-screen dialog is open */
.cz-toast { bottom: 92px; }                          /* toast sits above the button, not behind it */
@media (max-width: 640px) {
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ================= About page ================= */
.about-hero {
  padding: 132px 0 116px;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(179,20,31,.22), transparent 62%),
    linear-gradient(180deg, #0c0c0d 0%, #141416 55%, #1b1b1e 100%);
}
.about-hero .container > * { max-width: 760px; }
.about-hero h1 {
  font-family: "Cinzel", var(--font); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.1; letter-spacing: .01em; margin-bottom: 26px;
}
.about-hero p.lead { font-size: 1.15rem; line-height: 1.75; color: #cfcfd3; max-width: 620px; margin: 0; }

.about-main { background: #f7f4ef; padding: 104px 0 96px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.section-label::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.about-intro h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.2; margin-bottom: 26px; color: #17171a; max-width: 560px; }
.about-intro p { color: #3d3d43; font-size: 1.06rem; line-height: 1.8; margin-bottom: 1.15em; max-width: 600px; }
.about-intro p:last-child { margin-bottom: 0; }

.mission-card {
  position: relative; background: #17171a; color: #d3d3d7; border-radius: 18px; padding: 44px 40px 42px;
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 30px 60px rgba(23,23,26,.18); overflow: hidden;
}
.mission-card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--red); }
.mission-mark { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(214,40,50,.55); margin-bottom: 26px; position: relative; }
.mission-mark::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--red); }
.mission-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.mission-card p { font-size: 1.1rem; line-height: 1.75; margin: 0; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 88px; }
.feature-card {
  background: #fffdfa; border: 1px solid #e6e0d6; border-radius: 16px; padding: 34px 30px 32px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover { border-color: rgba(179,20,31,.45); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,23,26,.08); }
.feature-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid #e6e0d6; color: var(--red); margin-bottom: 22px; background: #fff; }
.feature-ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.18rem; color: #17171a; margin-bottom: 10px; }
.feature-card p { color: #55555c; margin: 0; line-height: 1.7; }

.model-note {
  margin-top: 56px; padding: 30px 34px; border-radius: 16px; background: #efe9df; border: 1px solid #e0d8cb;
  border-inline-start: 4px solid var(--red);
}
.model-note h3 { font-size: 1.1rem; color: #17171a; margin-bottom: 8px; }
.model-note p { margin: 0; color: #3d3d43; line-height: 1.7; max-width: 760px; }

.about-cta {
  background:
    radial-gradient(700px 320px at 50% 120%, rgba(179,20,31,.28), transparent 65%),
    #121214;
  color: #cfcfd3; text-align: center; padding: 108px 0 112px;
}
.about-cta h2 { color: #fff; font-family: "Cinzel", var(--font); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: .01em; margin-bottom: 16px; }
.about-cta p { font-size: 1.12rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.about-cta .hero-actions { justify-content: center; margin-top: 38px; gap: 14px; }
.about-cta .btn { padding: .95em 1.9em; }

/* Arabic: no letter-spacing on joined script, Arabic font for display headings */
[lang="ar"] .section-label { letter-spacing: 0; font-size: .95rem; }
[lang="ar"] .about-hero h1, [lang="ar"] .about-cta h2 { font-family: var(--font); font-weight: 800; letter-spacing: 0; line-height: 1.35; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
}
@media (max-width: 640px) {
  .about-hero { padding: 84px 0 72px; }
  .about-main { padding: 64px 0 64px; }
  .mission-card { padding: 34px 26px 32px; }
  .model-note { padding: 24px 22px; margin-top: 40px; }
  .about-cta { padding: 76px 0 84px; }
  .about-cta .hero-actions { flex-direction: column; }
  .about-cta .hero-actions .btn { width: 100%; }
}

/* ================= Header: never overlap page content ================= */
html { scroll-padding-top: 96px; }                 /* anchor targets land below the sticky header */
.nav a, .brand-text b, .brand-text small { white-space: nowrap; }
.nav-wrap { flex-wrap: nowrap; }
.brand { flex: none; }

/* ================= Keyboard focus ================= */
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .custom-banner :focus-visible, .about-cta :focus-visible { outline-color: #fff; }

/* ================= Products page ================= */
.prod-page { background: #f7f4ef; }
.prod-hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(800px 360px at 88% 0%, rgba(179,20,31,.2), transparent 62%),
    linear-gradient(180deg, #0c0c0d 0%, #141416 60%, #1b1b1e 100%);
}
.prod-hero h1 { font-family: "Cinzel", var(--font); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: .01em; margin-bottom: 20px; max-width: 820px; }
.prod-hero p.lead { font-size: 1.1rem; line-height: 1.75; color: #cfcfd3; max-width: 640px; margin: 0; }
[lang="ar"] .prod-hero h1, [lang="ar"] .custom-banner h2 { font-family: var(--font); font-weight: 800; letter-spacing: 0; line-height: 1.35; }

.prod-section { padding: 88px 0; background: #f7f4ef; }
.prod-section-alt { background: #f1ece4; }
.prod-heading { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #17171a; margin: 0 0 40px; display: flex; align-items: center; gap: 16px; }
.prod-heading::before { content: ""; width: 34px; height: 3px; background: var(--red); border-radius: 2px; flex: none; }

/* cards: equal height, centred incomplete rows */
.prod-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.prod-grid.cols-3 > * { flex: 0 1 calc((100% - 56px) / 3); }
.prod-grid.cols-4 > * { flex: 0 1 calc((100% - 84px) / 4); }
.prod-card {
  display: flex; flex-direction: column; background: #fffdfa; border: 1px solid #e3dccf; border-radius: 16px; overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.prod-card:hover, .prod-card:focus-within { border-color: rgba(179,20,31,.5); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(23,23,26,.1); }
.prod-img { aspect-ratio: 4 / 3; background: #1b1b1e; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; color: #8d8f96; background: linear-gradient(160deg, #1b1b1e, #26262b); }
.prod-ph svg { width: 54px; height: 54px; }
.prod-ph small { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.prod-body { padding: 26px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.22rem; color: #17171a; margin-bottom: 10px; }
.prod-body p { color: #46464d; line-height: 1.7; margin: 0 0 14px; }
.prod-spec { font-size: .88rem; color: #6a6258 !important; font-style: italic; padding-top: 12px; border-top: 1px solid #ebe5da; }
.prod-actions { margin-top: auto; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.prod-actions .btn { flex: 1 1 auto; padding: .7em 1em; font-size: .92rem; }
.cols-4 .prod-body { padding: 22px 22px 22px; }
.cols-4 .prod-body h3 { font-size: 1.08rem; }
.cols-4 .prod-body p { font-size: .95rem; }

@media (max-width: 1000px) {
  .prod-grid.cols-3 > *, .prod-grid.cols-4 > * { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 640px) {
  .prod-hero { padding: 60px 0 52px; }
  .prod-section { padding: 60px 0; }
  .prod-heading { margin-bottom: 28px; }
  .prod-grid { gap: 20px; }
  .prod-grid.cols-3 > *, .prod-grid.cols-4 > * { flex-basis: 100%; }
}

/* spare parts */
.parts-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; background: #fffdfa; border: 1px solid #e3dccf; border-radius: 20px; padding: 52px; }
.parts-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: #17171a; margin-bottom: 16px; }
.parts-text p { color: #46464d; line-height: 1.75; margin-bottom: 28px; max-width: 480px; }
.parts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.parts-grid li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 22px 12px; border-radius: 14px; background: #f7f4ef; border: 1px solid #ebe5da; font-weight: 700; color: #26262b; font-size: .95rem; }
.parts-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #17171a; color: #e0535c; }
.parts-ico svg { width: 23px; height: 23px; }
@media (max-width: 900px) { .parts-block { grid-template-columns: 1fr; gap: 32px; padding: 34px 26px; } }
@media (max-width: 480px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } .parts-text .btn { width: 100%; } }

/* custom project banner */
.custom-banner {
  background: radial-gradient(760px 340px at 50% 120%, rgba(179,20,31,.26), transparent 65%), #141416;
  color: #cfcfd3; text-align: center; padding: 104px 0 100px;
}
.custom-banner h2 { color: #fff; font-family: "Cinzel", var(--font); font-weight: 600; font-size: clamp(1.8rem, 3.8vw, 2.9rem); letter-spacing: .01em; margin-bottom: 18px; }
.custom-banner p { font-size: 1.1rem; line-height: 1.75; max-width: 640px; margin: 0 auto; }
.custom-banner .hero-actions { justify-content: center; margin-top: 36px; gap: 14px; }
.custom-banner .btn { padding: .95em 1.9em; }
.custom-banner .custom-note { font-size: .9rem; color: #a3a3aa; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
@media (max-width: 640px) {
  .custom-banner { padding: 72px 0 76px; }
  .custom-banner .hero-actions { flex-direction: column; }
  .custom-banner .hero-actions .btn { width: 100%; }
}

/* product details panel */
.prod-dialog { padding: 0 28px 28px; width: min(560px, calc(100vw - 24px)); }
.prod-dialog-img { margin: 0 -28px 22px; aspect-ratio: 16 / 10; background: #1b1b1e; overflow: hidden; }
.prod-dialog-img img, .prod-dialog-img .prod-ph { width: 100%; height: 100%; object-fit: cover; }
.prod-dialog h2 { font-size: 1.5rem; color: #17171a; padding: 0; margin-bottom: 10px; }
.prod-dialog p { color: #46464d; line-height: 1.7; margin: 0 0 14px; }
.prod-dialog .dlg-close { background: rgba(0,0,0,.55); color: #fff; border-color: rgba(255,255,255,.4); }

/* ================= Footer: three balanced columns ================= */
.footer-grid { grid-template-columns: 1.15fr 1fr 1.15fr; gap: 48px; }
.site-footer h4 { letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: #fff; margin-bottom: 18px; }
[lang="ar"] .site-footer h4 { letter-spacing: 0; font-size: .95rem; }
.f-company .brand { color: #fff; margin-bottom: 16px; }
.f-company .brand img { width: 48px; height: 48px; object-fit: contain; }
.f-company p { color: #b5b5bb; max-width: 320px; line-height: 1.7; margin: 0; }
.site-footer { color: #b5b5bb; }                     /* higher contrast for small text */
.footer-grid a { color: #dcdcdf; }
.footer-grid .f-mail small { color: #9a9aa2; font-size: .76rem; }
.footer-bottom { color: #9a9aa2; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ================= Catalogue download ================= */
.cat-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.cat-dl-center { justify-content: center; margin-top: 26px; }
.btn-cat { display: inline-flex; align-items: center; justify-content: center; gap: .6em; }
.cat-ico { display: inline-flex; flex: none; }
.cat-ico svg { width: 1.2em; height: 1.2em; display: block; }
.cat-preview { display: inline-flex; align-items: center; gap: .45em; color: #e6e6e9; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.cat-preview:hover { color: #fff; text-decoration-color: var(--red-2); }
.cat-meta { color: #a3a3aa; font-size: .82rem; letter-spacing: .02em; }
.cat-dl-footer { margin-top: 20px; gap: 10px 18px; }
.cat-dl-footer .cat-preview { font-size: .88rem; }
@media (max-width: 640px) {
  .cat-dl { margin-top: 24px; }
  .cat-dl:not(.cat-dl-footer) .btn-cat { width: 100%; }
  .cat-dl-center { flex-direction: column; }
}

/* =========================================================
   Export & Markets page (export.html)
   ========================================================= */
.form-status.note { color: #9a5b00; }
.ex-page { background: #0e0e10; }
.ex-page section { scroll-margin-top: 84px; }
.ex-page form { scroll-margin-top: 96px; }

/* shared section heading */
.ex-head { max-width: 760px; margin: 0 0 40px; }
.ex-head h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 0 0 14px; padding-top: 18px; position: relative; }
.ex-head h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--red-2); }
.ex-head p { color: #b9b9bf; font-size: 1.05rem; line-height: 1.75; margin: 0; }
.ex-head-light h2 { color: #17171a; }
.ex-ico { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(179,20,31,.14); color: #ef5b64; border: 1px solid rgba(214,40,50,.28); }
.ex-ico svg { width: 23px; height: 23px; }

/* ---------- hero ---------- */
.ex-hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(179,20,31,.26), transparent 62%),
    radial-gradient(700px 380px at 6% 118%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #09090a 0%, #121214 62%, #0e0e10 100%);
}
.ex-hero-text > * { max-width: 760px; }
.ex-hero h1 { font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #d9d9de; margin: 0; }
.ex-accent { display: block; width: 72px; height: 3px; border-radius: 2px; margin: 18px 0 22px; background: linear-gradient(90deg, var(--red-2), #ff6b74, var(--red-2)); background-size: 200% 100%; transform-origin: left center; animation: ex-accent-in .9s ease-out both, ex-accent-shine 4.5s linear 1s infinite; }
[dir="rtl"] .ex-accent { transform-origin: right center; }
@keyframes ex-accent-in { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes ex-accent-shine { from { background-position: 200% 0; } to { background-position: 0 0; } }
.ex-headline { font-family: "Cinzel", var(--font); font-weight: 600; color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.1; letter-spacing: .01em; margin: 0 0 22px; }
.ex-hero p.lead { font-size: 1.12rem; line-height: 1.75; color: #cfcfd3; max-width: 620px; margin: 0; }
.ex-hero .hero-actions { margin-top: 34px; gap: 14px; }
.ex-hero .btn { padding: .95em 1.8em; }
[lang="ar"] .ex-hero h1 { letter-spacing: 0; font-size: 1.15rem; }
[lang="ar"] .ex-headline { font-family: var(--font); font-weight: 800; letter-spacing: 0; line-height: 1.3; }

/* ---------- world map ---------- */
.ex-map-section { padding: 84px 0 92px; background: linear-gradient(180deg, #0e0e10, #121214); border-top: 1px solid rgba(255,255,255,.06); }
.ex-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.ex-map-stage {
  position: relative; aspect-ratio: 1000 / 487; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 58% 22%, #1d1d22 0%, #121215 55%, #0b0b0d 100%);
  border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 0 80px rgba(0,0,0,.55);
}
.ex-map-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; margin: 0; color: #a3a3aa; }
.ex-map { display: block; width: 100%; height: 100%; touch-action: manipulation; }
.ex-cont { cursor: pointer; outline: none; }
.ex-cont path { fill: #34343b; stroke: #121215; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .25s; }
.ex-cont:hover path { fill: #4a4a53; }
.ex-cont.sel path { fill: #7d1a22; stroke: #e0535c; stroke-width: 1; }
.ex-cont:focus-visible path { fill: #55555f; stroke: #fff; stroke-width: 1.6; }
.ex-cont.sel:focus-visible path { fill: #8f1e27; }
.ex-tr { fill: var(--red-2); stroke: #ffb3b8; stroke-width: .8; vector-effect: non-scaling-stroke; pointer-events: none; }
.ex-lines path { fill: none; stroke: #e0535c; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: .022 .022; opacity: .8; animation: ex-line 1.8s linear infinite; pointer-events: none; }
@keyframes ex-line { from { stroke-dashoffset: .044; } to { stroke-dashoffset: 0; } }
.ex-map.zoomed .ex-lines { opacity: .35; }
.ex-marker { pointer-events: none; }
.ex-dot { fill: #fff; stroke: var(--red-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ex-pulse { fill: none; stroke: #ff6b74; stroke-width: 1.4; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ex-pulse 2.6s ease-out infinite; }
@keyframes ex-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }
.ex-labels { pointer-events: none; font-family: var(--font); font-weight: 700; text-anchor: middle; fill: #e9e9ec; paint-order: stroke; stroke: rgba(11,11,13,.85); stroke-width: 3px; stroke-linejoin: round; }
.ex-labels .ex-tr-label { fill: #fff; font-weight: 800; }
.ex-map-stage.paused .ex-lines path, .ex-map-stage.paused .ex-pulse { animation-play-state: paused; }
.ex-map-reset { position: absolute; top: 12px; inset-inline-end: 12px; font: inherit; font-weight: 700; font-size: .85rem; color: #fff; background: rgba(18,18,20,.88); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5em 1.1em; min-height: 40px; cursor: pointer; }
.ex-map-reset:hover { border-color: #fff; background: #26262b; }
.ex-legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; color: #b9b9bf; font-size: .88rem; }
.ex-legend li { display: flex; align-items: center; gap: 10px; }
.ex-key { flex: none; display: inline-block; }
.ex-key-home { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--red-2); }
.ex-key-line { width: 28px; height: 0; border-top: 2px dashed #e0535c; }
.ex-side-title { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
[lang="ar"] .ex-side-title { letter-spacing: 0; }
.ex-regions { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ex-regions li:nth-child(6), .ex-regions li:nth-child(7) { grid-column: span 1; }
.ex-regions button { width: 100%; min-height: 46px; font: inherit; font-weight: 700; font-size: .92rem; line-height: 1.25; color: #e6e6e9; background: #1b1b1f; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: .5em .7em; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ex-regions button:hover { border-color: rgba(255,255,255,.45); background: #232328; }
.ex-regions button[aria-pressed="true"] { background: var(--red); border-color: var(--red-2); color: #fff; }
.ex-panel { background: #17171a; border: 1px solid rgba(255,255,255,.1); border-inline-start: 3px solid var(--red-2); border-radius: 12px; padding: 20px 22px; min-height: 168px; }
.ex-panel h3 { color: #fff; font-size: 1.15rem; margin: 0 0 8px; }
.ex-panel p { color: #c4c4ca; line-height: 1.7; margin: 0; }
.ex-panel-link { display: inline-block; margin-top: 14px; color: #ff8a91; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ex-panel-link:hover { color: #fff; }
.ex-panel-link[hidden] { display: none; }
.ex-noscript { color: #c4c4ca; margin-top: 20px; }

/* ---------- packaging ---------- */
.ex-pack { background: #f7f4ef; padding: 92px 0; }
.ex-pack-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ex-pack-text h2 { color: #17171a; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 0 0 18px; padding-top: 18px; position: relative; }
.ex-pack-text h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--red); }
.ex-pack-text > p { color: #46464d; font-size: 1.05rem; line-height: 1.8; margin: 0 0 22px; }
.ex-pack-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ex-pack-list li { position: relative; padding-inline-start: 30px; color: #26262b; font-weight: 600; line-height: 1.5; }
.ex-pack-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .28em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 4px #f7f4ef, 0 0 0 1px var(--red); }
.ex-pack-text > p.ex-pack-terms { font-size: .93rem; color: #5d564c; border-top: 1px solid #e3dccf; padding-top: 16px; margin: 0; }
.ex-pack-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-pack-photos figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #1b1b1e; aspect-ratio: 4 / 3; }
.ex-pack-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ex-pack-photos figure:hover img { transform: scale(1.04); }
.ex-pack-photos figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 11px; color: #fff; font-weight: 700; font-size: .9rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); }
.ex-photo-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: .82rem; color: #6a6258; font-style: italic; }

/* ---------- partnership + form ---------- */
.ex-partner { padding: 92px 0; background: radial-gradient(800px 380px at 100% 0%, rgba(179,20,31,.16), transparent 60%), #141416; }
.ex-partner-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; }
.ex-benefits { display: grid; gap: 14px; }
.ex-benefit { display: flex; gap: 16px; align-items: flex-start; background: #1b1b1f; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 20px 22px; transition: border-color .25s, transform .25s; }
.ex-benefit:hover { border-color: rgba(214,40,50,.55); transform: translateY(-2px); }
.ex-benefit h3 { color: #fff; font-size: 1.08rem; margin: 0 0 6px; }
.ex-benefit p { color: #b9b9bf; line-height: 1.65; margin: 0; font-size: .97rem; }
.ex-partner-cta { margin: 12px 0 0; }
.ex-form { background: #fffdfa; border-radius: 18px; padding: 34px 34px 30px; display: grid; gap: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.ex-form h3 { color: #17171a; font-size: 1.45rem; margin: 0; }
.ex-form-lead { color: #5a5a62; margin: -8px 0 4px; line-height: 1.6; }
.ex-form .form-row { gap: 16px; }
.ex-form label { align-content: start; }
.ex-form [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.field-err { color: #b3261e; font-weight: 600; font-size: .84rem; line-height: 1.4; min-height: 0; }
.field-err:empty { display: none; }
.ex-form-note { margin: 0; font-size: .85rem; color: #5a5a62; line-height: 1.6; }
.ex-form-off { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff5e0; border: 1px solid #f0d49a; color: #7a4a00; font-weight: 600; line-height: 1.55; }
.ex-form-off[hidden] { display: none; }
.ex-form.is-off button[type="submit"] { opacity: .5; cursor: not-allowed; transform: none; }
.ex-form .form-status:empty { display: none; }
.ex-form .form-status { line-height: 1.55; }

/* ---------- why partner ---------- */
.ex-why { background: #f1ece4; padding: 92px 0; }
.ex-why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ex-why-card { background: #fffdfa; border: 1px solid #e3dccf; border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.ex-why-card:hover { border-color: rgba(179,20,31,.5); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,23,26,.1); }
.ex-why-card .ex-ico { background: #17171a; border-color: #17171a; color: #ef5b64; }
.ex-why-card h3 { color: #17171a; font-size: 1.08rem; line-height: 1.3; margin: 4px 0 0; }
.ex-why-card p { color: #46464d; line-height: 1.65; margin: 0; font-size: .96rem; }

/* ---------- contact access ---------- */
.ex-contact { background: #0e0e10; padding: 64px 0; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.ex-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.ex-contact h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.ex-contact p { color: #b9b9bf; margin: 0; line-height: 1.7; }
.ex-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ex-contact-list li { display: flex; align-items: center; gap: 12px; }
.ex-contact-list a:not(.btn) { color: #f0f0f2; font-weight: 700; text-decoration: none; }
.ex-contact-list a:not(.btn):hover { color: #ff8a91; }
.ex-contact-list .btn-wa { display: inline-flex; align-items: center; gap: .6em; }
.ex-mails { display: grid; gap: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ex-why-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ex-why-card { grid-column: span 2; }
  .ex-why-card:nth-child(4) { grid-column: 2 / span 2; }
  .ex-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .ex-map-layout { grid-template-columns: 1fr; gap: 28px; }
  .ex-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ex-panel { min-height: 0; }
  .ex-pack-grid, .ex-partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .ex-partner-cta { display: none; }     /* the form follows directly on small screens */
}
@media (max-width: 700px) {
  .ex-hero { padding: 68px 0 60px; }
  .ex-map-section, .ex-pack, .ex-partner, .ex-why { padding: 64px 0; }
  .ex-head { margin-bottom: 28px; }
  .ex-regions { grid-template-columns: 1fr 1fr; }
  .ex-why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ex-why-card, .ex-why-card:nth-child(4) { grid-column: auto; }
  .ex-why-card:nth-child(5) { grid-column: 1 / -1; }
  .ex-form { padding: 26px 20px 24px; }
  .ex-hero .hero-actions .btn { flex: 1 1 100%; }
  .ex-contact-list { flex-direction: column; align-items: flex-start; }
  .ex-contact-list .btn-wa { width: 100%; justify-content: center; }
  .ex-contact-list li:first-child { width: 100%; }
}
@media (max-width: 420px) {
  .ex-pack-photos { gap: 10px; }
  .ex-pack-photos figcaption { font-size: .8rem; padding: 20px 10px 9px; }
  .ex-why-grid { grid-template-columns: 1fr; }
  .ex-why-card:nth-child(5) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-accent, .ex-lines path, .ex-pulse { animation: none; }

  .ex-pulse { opacity: 0; }
  .ex-pack-photos img, .ex-benefit, .ex-why-card { transition: none; }
  .ex-pack-photos figure:hover img { transform: none; }
}

/* ---------- header on very narrow phones (≤ 380px): keep the menu button on screen ---------- */
@media (max-width: 380px) {
  .nav-wrap { gap: 8px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-header .brand-text b { font-size: 1.02rem; letter-spacing: .05em; }
  .site-header .brand-text small { font-size: .62rem; letter-spacing: .16em; }
  .nav-tools { gap: 4px; }
  .lang-switch button { padding-inline: .55em; font-size: .78rem; }
}

/* world map section: buttons under the map (Home page) */
.ex-map-actions { margin-top: 34px; gap: 14px; }
@media (max-width: 700px) { .ex-map-actions .btn { flex: 1 1 100%; } }

/* ---------- Products page: home lift cabin collections ---------- */
.prod-page .collection .section-head h3 { color: #fff; font-family: "Cinzel", var(--font); letter-spacing: .05em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
[lang="ar"] .prod-page .collection .section-head h2, [lang="ar"] .prod-page .collection .section-head h3 { font-family: var(--font); letter-spacing: 0; }
.prod-page .hl-intro { padding-bottom: 8px; }
.prod-page .hl-intro .section-head { margin-bottom: 40px; }
.prod-page .collection { scroll-margin-top: 84px; }

/* =========================================================
   Products page, update 3: seven categories, cabin gallery
   ========================================================= */
.prod-img img.contain { object-fit: contain; background: #fff; padding: 10px 0; }
.prod-card:hover .prod-img img.contain { transform: none; }
.prod-grid.cols-4 .prod-actions .btn { flex: 1 1 100%; }
@media (min-width: 1001px) { #elevators .prod-body h3, #components .prod-body h3 { font-size: 1.1rem; } }

/* cabin cards */
.cabin-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cabin-card { cursor: default; }
button.cabin-photo { display: block; width: 100%; padding: 0; border: 0; font: inherit; color: inherit; cursor: zoom-in; }
.cabin-photo img { object-fit: contain; background: #fff; }
.cabin-body .dlg-col { font-size: .72rem; }
.cabin-body h4.cabin-code { font-size: 1.2rem; }
.cabin-ref { margin: -6px 0 0; font-size: .8rem; color: #8d8f96; }
.cabin-nospec { margin: 0; font-size: .86rem; font-style: italic; color: #8d8f96; }
.cabin-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cabin-actions .btn { margin: 0; padding-inline: .5em; }
.cabin-card .cabin-actions .btn-outline:hover { background: rgba(255,255,255,.12); }
.cabin-card:hover .btn-outline { background: transparent; border-color: rgba(201,203,208,.6); }

/* enlarged gallery view */
.dlg-stage { display: flex; flex-direction: column; background: #fff; }
button.dlg-photo { flex: 1; min-height: 0; cursor: zoom-in; background: #fff; }
.dlg-photo img { transition: transform .25s ease; }
.dlg-photo.zoomed { cursor: zoom-out; }
.dlg-photo.zoomed img { transform: scale(2.4); }
.cabin-card:hover .cabin-photo.dlg-photo img { transform: none; }
.dlg-nav { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #17171a; color: #c6c6cb; font-size: .85rem; }
.dlg-nav button { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.dlg-nav button:hover { background: var(--red); border-color: var(--red); }
.dlg-nav svg { width: 18px; height: 18px; }
[dir="rtl"] .dlg-nav svg { transform: scaleX(-1); }
.dlg-count { font-weight: 700; min-width: 54px; text-align: center; }
.dlg-hint { margin-inline-start: auto; color: #8d8f96; font-size: .8rem; }
.dlg-info .cabin-ref { margin: -8px 0 0; }
@media (max-width: 560px) { .dlg-hint { display: none; } .cabin-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dlg-photo img { transition: none; } }

/* =========================================================
   "Design Your Elevator" – configurator upgrade
   ========================================================= */
body[data-page="config"] main { background: #f7f4ef; }
.cz-hero { padding: 44px 0 36px; }
.cz-section { padding: 28px 0 64px; }
.cz-wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: 20px; }
.cz-layout { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 24px; align-items: start; }
.cz-viewer-col { position: sticky; top: 84px; }
.cz-viewer {
  position: relative; height: min(calc(100vh - 150px), 820px); min-height: 460px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 18%, #f4efe7 0%, #ddd6ca 46%, #a39c91 100%);
  border: 1px solid #d8d0c3; box-shadow: 0 24px 60px rgba(23,23,26,.14);
}
.cz-viewer canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; outline: none; }
.cz-viewer:fullscreen, .cz-viewer:-webkit-full-screen { width: 100vw; height: 100vh; max-height: none; border-radius: 0; border: 0; }
.cz-note { text-align: center; margin: 10px 0 0; color: #5d564c; font-size: .84rem; }

/* viewer toolbars */
.cz-bar { position: absolute; z-index: 3; inset-inline: 10px; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cz-bar::-webkit-scrollbar { display: none; }
.cz-bar-top { top: 10px; }
.cz-bar-bottom { bottom: 10px; }
.cz-bar-gap { flex: 1 0 8px; }
.cz-bar button, .cz-bar select {
  flex: none; font: inherit; font-size: .84rem; font-weight: 700; line-height: 1.2; color: #fff; background: rgba(23,23,26,.82);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .62em 1.05em; min-height: 40px; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.cz-bar button:hover:not(:disabled) { border-color: #fff; background: rgba(23,23,26,.95); }
.cz-bar button.active, .cz-bar button[aria-pressed="true"] { background: var(--red); border-color: var(--red-2); }
.cz-bar button.cz-accent { background: var(--red); border-color: var(--red-2); }
.cz-bar button:disabled { opacity: .45; cursor: not-allowed; }
.cz-bar :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cz-floor-ctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.cz-floor-ctrl button { padding: .62em .8em; }
.cz-floor-ctrl select { padding-inline: .8em; max-width: 170px; }
.cz-floor-ctrl select option { color: #111; background: #fff; }
.viewer-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 70px 24px; color: #26262b; font-weight: 700; }
.viewer-loading.is-error { color: #8a1019; background: rgba(255,255,255,.6); }

/* dimension annotations */
.cz-dimlayer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.cz-dimlayer[hidden] { display: none; }
.cz-dim { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: .74rem; font-weight: 700; line-height: 1; color: #fff; background: rgba(160,16,26,.94); padding: .38em .6em; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cz-dim::after { content: " mm"; font-weight: 600; opacity: .85; }
.cz-dim-cab { background: rgba(23,23,26,.92); }

/* panel */
.cz-panel { padding: 22px; border-radius: 16px; border: 1px solid #e3dccf; background: #fffdfa; }
.cz-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 20px; }
.cz-steps button { width: 100%; font: inherit; background: none; border: 0; border-bottom: 3px solid #e3dccf; padding: 6px 2px 10px; cursor: pointer; display: grid; justify-items: center; gap: 6px; color: #6a6258; font-size: .74rem; font-weight: 700; line-height: 1.2; text-align: center; min-height: 64px; }
.cz-steps button.active { color: #17171a; border-color: var(--red); }
.cz-steps button.done { border-color: #17171a; }
.cz-step h3 { font-size: 1.2rem; color: #17171a; margin: 0 0 8px; }
.cz-hint { color: #5d564c; font-size: .88rem; line-height: 1.55; margin: 0 0 14px; }
.cz-type { min-height: 72px; }
.cz-type.active { background: #fff6f6; }
.cz-form fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.cz-form legend { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a1019; padding: 0; margin-bottom: 8px; }
.cz-form .form-row { gap: 12px; margin-bottom: 10px; }
.cz-form label { font-size: .88rem; align-content: end; }
.cz-form label small { font-weight: 600; color: #6a6258; font-size: .76rem; }
.cz-form input { direction: ltr; min-height: 44px; }
.cz-review { margin-top: 6px; display: grid; gap: 10px; }
.cz-reviewbox, .cz-problem { border-radius: 12px; padding: 12px 14px; font-size: .86rem; line-height: 1.5; }
.cz-reviewbox { background: #f3eee6; border: 1px solid #e3dccf; color: #46464d; }
.cz-reviewbox b { display: block; color: #17171a; margin-bottom: 2px; }
.cz-problem { background: #fff1f1; border: 1px solid #f0b9bd; color: #7a0e16; }
.cz-problem b { display: block; margin-bottom: 2px; }
.cz-review p { margin: 0 0 6px; }
.cz-review ul { margin: 0; padding-inline-start: 18px; }

/* option groups and swatches */
.cz-group { margin-bottom: 20px; }
.cz-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cz-group-head h4 { margin: 0; font-size: .98rem; color: #17171a; }
.cz-current { font-size: .82rem; font-weight: 700; color: #8a1019; }
.cz-options { display: grid; gap: 8px; }
.cz-opt { font: inherit; font-weight: 700; font-size: .92rem; text-align: start; color: #26262b; background: #fff; border: 1.5px solid #e3dccf; border-radius: 12px; padding: .8em 1em; min-height: 48px; cursor: pointer; transition: border-color .2s, background .2s; }
.cz-opt:hover { border-color: var(--red-2); }
.cz-opt.active { border-color: var(--red); background: #fff6f6; box-shadow: 0 0 0 3px rgba(179,20,31,.14); color: #17171a; }
.cz-opt.active::after { content: "✓"; float: inline-end; color: var(--red); }
.cz-swatches { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.sw { min-height: 88px; }
.sw i { height: 44px; border: 1px solid rgba(0,0,0,.08); }
.sw.active { background: #fff6f6; }
.cz-ceilings { max-height: 232px; }
.ceil { min-height: 44px; }
.cz-seg button { min-height: 40px; }
.cz-link { min-height: 32px; }
.cz-nav { align-items: center; }
.cz-nav .btn { min-height: 44px; min-width: 96px; }
.cz-nav .btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.cz-nav [hidden] { display: none; }
.cz-prelim { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #17171a; color: #fff; font-weight: 700; font-size: .86rem; line-height: 1.45; }
.cz-actions .btn { min-height: 48px; }
.cz-actions .cz-link { justify-self: center; }

/* live summary */
.cz-summary { border-radius: 16px; border: 1px solid #e3dccf; background: #fffdfa; }
.cz-summary h4 { margin: 14px 0 2px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a1019; }
.cz-summary h4:first-child { margin-top: 0; }
.cz-sum dt { color: #5d564c; }
.cz-summary .cz-prelim { margin: 16px 0 12px; }
.cz-quote-btn { min-height: 50px; }

/* quote dialog */
.cz-dialog textarea { min-height: 96px; }
.cz-dialog [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.cz-offline { display: grid; gap: 2px; justify-items: center; text-align: center; padding-top: 10px; border-top: 1px solid var(--border); }
.cz-offline small { color: #5d564c; font-size: .8rem; }
.cz-toast { max-width: calc(100vw - 32px); text-align: center; }

/* PDF sheet */
.pdf-head { background: #17171a; border: 0; border-bottom: 4px solid #b3141f; border-radius: 10px; padding: 14px 18px; color: #fff; }
.pdf-head img { background: none; padding: 0; width: 58px; height: 58px; object-fit: contain; }
.pdf-head b { color: #fff; }
.pdf-head span { color: #c9cbd0; }
.pdf-prelim { margin: 14px 0; padding: 10px 14px; border: 2px solid #b3141f; border-radius: 8px; color: #8a1019; font-weight: 800; font-size: 15px; text-align: center; }
.pdf-snap { height: 300px; background: #ddd6ca; }
.pdf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.pdf-sheet h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8a1019; margin: 10px 0 2px; }
.pdf-sheet table { font-size: 12.5px; }
.pdf-sheet th { width: 48%; padding: 5px 0; }
.pdf-sheet td { padding: 5px 0; }

/* tablet and phone: viewer above the controls */
@media (max-width: 1100px) {
  .cz-layout { grid-template-columns: 1fr; gap: 18px; }
  .cz-viewer-col { position: static; }
  .cz-viewer { height: 62vh; min-height: 380px; max-height: 640px; }
}
@media (max-width: 640px) {
  .cz-wrap { padding-inline: 12px; }
  .cz-hero { padding: 30px 0 24px; }
  .cz-section { padding-top: 16px; }
  .cz-viewer { height: 58vh; min-height: 340px; border-radius: 14px; }
  .cz-bar { inset-inline: 6px; gap: 5px; }
  .cz-bar button, .cz-bar select { font-size: .78rem; padding: .6em .85em; min-height: 42px; }
  .cz-panel { padding: 16px; }
  .cz-steps button { font-size: .66rem; min-height: 60px; }
  .cz-dim { font-size: .66rem; }
  .pdf-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cz-bar button, .cz-opt, .sw { transition: none; } }

/* =========================================================
   "Design Your Elevator" – stage 2: viewer modes, collection,
   selectable parts, technical view, project
   ========================================================= */
.cz-viewer [hidden], .cz-panel-col [hidden], .cz-dialog [hidden] { display: none !important; }

/* viewer mode switch */
.cz-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 10px; background: #17171a; border-radius: 14px; }
.cz-modes button { font: inherit; font-weight: 700; font-size: .92rem; color: #c9cbd0; background: none; border: 0; border-radius: 10px; padding: .7em .5em; min-height: 46px; cursor: pointer; transition: background .2s, color .2s; }
.cz-modes button:hover { color: #fff; }
.cz-modes button[aria-pressed="true"] { background: var(--red); color: #fff; }
.cz-modes button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.cz-viewer { height: min(calc(100vh - 210px), 800px); }
.cz-bar-set { display: flex; gap: 6px; flex: none; }

/* labels over the 3D view */
.cz-flabel { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: .74rem; font-weight: 700; line-height: 1; color: #17171a; background: rgba(255,253,250,.94); border: 1px solid #d8d0c3; padding: .4em .65em; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.cz-flabel::after, .cz-dim.cz-flabel::after { content: none; }

/* technical view */
.cz-viewer.is-tech { background: #fffdfa; height: auto; min-height: 0; max-height: none; }
.cz-viewer.is-tech canvas { display: none !important; }
.cz-tech { padding: 20px 20px 16px; }
.cz-tech-note { margin: 0 0 12px; padding: 9px 14px; border: 2px solid var(--red); border-radius: 8px; color: #8a1019; font-weight: 800; text-align: center; }
.cz-tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cz-tech-grid svg { display: block; width: 100%; height: auto; background: #fff; border: 1px solid #e3dccf; border-radius: 10px; }
/* Arabic (RTL): the panels, steps and toolbars mirror, but the 3D canvas, its floating labels and the
   drawings keep their own left-to-right geometry (SVG text-anchor would otherwise flip and misplace labels) */
[dir="rtl"] .cz-tech-grid svg, [dir="rtl"] .cz-viewer canvas, [dir="rtl"] .cz-dimlayer { direction: ltr; }
[dir="rtl"] .cz-tech-grid svg text { unicode-bidi: plaintext; }   /* each Arabic label still reads right to left */
[dir="rtl"] .cz-dim, [dir="rtl"] .cz-flabel { direction: rtl; unicode-bidi: isolate; }
.cz-tech-foot { margin: 12px 0 0; font-size: .84rem; color: #5d564c; text-align: center; }
.cz-tech .th { font: 800 13px var(--font); letter-spacing: .1em; fill: #17171a; }
.cz-tech .tt { font: 700 11.5px var(--font); fill: #8a1019; }
.cz-tech .tl { font: 800 10.5px var(--font); letter-spacing: .08em; fill: #5d564c; }
.cz-tech .tn { font: 600 11px var(--font); fill: #5d564c; }
.cz-tech .ts { fill: #f3eee6; stroke: #17171a; stroke-width: 2; }
.cz-tech .tc { fill: #ffffff; stroke: #17171a; stroke-width: 1.4; stroke-dasharray: 5 3; }
.cz-tech .tp { fill: #e3dccf; stroke: #17171a; stroke-width: 2; }
.cz-tech .tf { stroke: #17171a; stroke-width: 1.4; fill: none; }
.cz-tech .td { stroke: #b3141f; stroke-width: 1.1; fill: none; }
.cz-tech .tdoor { stroke: #b3141f; stroke-width: 6; fill: none; }

/* undo / redo / reset */
.cz-tools { display: flex; gap: 6px; margin: -4px 0 16px; padding-bottom: 14px; border-bottom: 1px solid #ebe5da; }
.cz-tools button { font: inherit; font-size: .84rem; font-weight: 700; color: #26262b; background: #fff; border: 1.5px solid #e3dccf; border-radius: 999px; padding: .5em 1em; min-height: 40px; cursor: pointer; }
.cz-tools button:hover:not(:disabled) { border-color: var(--red-2); }
.cz-tools button:disabled { opacity: .4; cursor: not-allowed; }

/* expandable sections */
.cz-acc { border: 1.5px solid #e3dccf; border-radius: 12px; background: #fff; margin-bottom: 8px; }
.cz-acc[open] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.1); }
.cz-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; min-height: 48px; font-weight: 700; color: #17171a; }
.cz-acc summary::-webkit-details-marker { display: none; }
.cz-acc summary::after { content: "+"; flex: none; font-size: 1.2rem; color: var(--red); line-height: 1; }
.cz-acc[open] summary::after { content: "–"; }
.cz-acc summary em { margin-inline-start: auto; font-style: normal; font-weight: 600; font-size: .8rem; color: #8a1019; text-align: end; }
.cz-acc summary:focus-visible { outline: 2px solid var(--red-2); outline-offset: 2px; border-radius: 10px; }
.cz-acc-body { padding: 2px 14px 14px; }
.cz-now { margin: 0 0 8px; font-size: .86rem; color: #46464d; }
.cz-sub { margin-top: 22px !important; }

/* cabin collection */
.cz-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.cz-card { display: flex; flex-direction: column; border: 1.5px solid #e3dccf; border-radius: 12px; background: #fff; overflow: hidden; }
.cz-card.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.12); }
.cz-card-img { aspect-ratio: 1 / 1; background: #0b0b0d; display: grid; place-items: center; border-bottom: 1px solid #ebe5da; }
.cz-card-img img { width: 100%; height: 100%; object-fit: contain; }
.cz-card-img.is-sample { background: repeating-linear-gradient(45deg, #f3eee6, #f3eee6 10px, #faf7f2 10px, #faf7f2 20px); color: #6a6258; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.cz-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cz-card-body b { color: #17171a; font-size: .98rem; }
.cz-card-body small { color: #6a6258; font-size: .76rem; }
.cz-card-body p { margin: 2px 0 8px; font-size: .8rem; line-height: 1.45; color: #46464d; }
.cz-card-body .btn { margin-top: auto; min-height: 40px; }
.cz-tag { align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.cz-tag.catalogue { background: #17171a; color: #fff; }
.cz-tag.sample { background: #f3eee6; color: #6a6258; border: 1px solid #e3dccf; }

/* compact summary */
.cz-sum { font-size: .82rem; }
.cz-sum div { padding: 4px 0; }
.cz-sum-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cz-sum-actions .btn { min-height: 48px; padding-inline: .6em; }
.cz-editing { margin: 10px 0 0; font-size: .86rem; color: #46464d; }

/* project */
.cz-project { margin-top: 16px; padding: 20px 22px; border-radius: 16px; border: 1px solid #e3dccf; background: #fffdfa; }
.cz-project:hover { transform: none; }
.cz-project h3 { font-size: 1.05rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cz-count { font-size: .8rem; font-weight: 700; color: #8a1019; }
.cz-empty { margin: 0 0 12px; padding: 16px; border: 1.5px dashed #d8d0c3; border-radius: 12px; color: #5d564c; font-size: .9rem; line-height: 1.55; text-align: center; }
.cz-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1.5px solid #e3dccf; border-radius: 12px; background: #fff; margin-bottom: 10px; }
.cz-item.editing { border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,20,31,.1); }
.cz-item-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #ece7df; display: grid; place-items: center; font-size: .72rem; color: #6a6258; text-align: center; }
.cz-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cz-item-main { display: grid; gap: 6px; min-width: 0; }
.cz-item input, .cz-item textarea { font-size: .88rem; padding: .5em .65em; min-height: 40px; }
.cz-item-name { font-weight: 700 !important; }
.cz-item-meta { margin: 0; font-size: .78rem; color: #5d564c; }
.cz-item-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cz-item-row label { display: flex; align-items: center; gap: 6px; font-size: .84rem; }
.cz-item-row input[type="number"] { width: 76px; }
.cz-check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--red); }
.cz-item textarea { min-height: 40px; resize: vertical; }
.cz-item-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.cz-item-btns button { font: inherit; font-size: .8rem; font-weight: 700; color: #26262b; background: #f7f4ef; border: 1px solid #e3dccf; border-radius: 999px; padding: .45em .9em; min-height: 36px; cursor: pointer; }
.cz-item-btns button:hover { border-color: var(--red-2); }
.cz-project-actions { display: grid; gap: 8px; }
.cz-project-actions .btn { min-height: 46px; }
.cz-project-actions .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.cz-io { display: flex; justify-content: center; gap: 22px; padding-top: 4px; }

/* quote scope + compare */
.cz-scope { border: 1.5px solid #e3dccf; border-radius: 12px; padding: 10px 14px; margin: 0; display: grid; gap: 6px; }
.cz-scope legend { font-weight: 800; font-size: .86rem; padding: 0 6px; color: #17171a; }
.cz-scope label { display: flex; align-items: center; gap: 8px; font-weight: 600; min-height: 32px; }
.cz-scope input { width: 18px; height: 18px; accent-color: var(--red); }
.cz-compare { width: min(860px, calc(100vw - 24px)); }
.cz-compare-body { overflow-x: auto; }
.cz-cmp { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cz-cmp th, .cz-cmp td { padding: 7px 10px; text-align: start; border-bottom: 1px solid #ebe5da; vertical-align: top; }
.cz-cmp thead th { width: 36%; }
.cz-cmp thead th:first-child { width: 28%; }
.cz-cmp thead img { display: block; width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: #ece7df; }
.cz-cmp tbody th { font-weight: 600; color: #5d564c; }
.cz-cmp td { font-weight: 700; color: #17171a; }
.cz-cmp-head th { background: #17171a; color: #fff !important; font-weight: 800 !important; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.cz-cmp tr.diff td { background: #fff1f1; color: #8a1019; }
.cz-cmp tr.diff th::after { content: " ≠"; color: var(--red); font-weight: 800; }

/* PDF additions */
.pdf-ref { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: 16px; }
.pdf-ref b { font-size: 20px; }
.pdf-ref span { font-weight: 700; color: #8a1019; }
.pdf-notes { font-size: 12.5px; margin: 10px 0 0; }

@media (max-width: 1100px) { .cz-viewer { height: 62vh; } }
@media (max-width: 640px) {
  .cz-modes button { font-size: .8rem; padding: .6em .3em; }
  .cz-viewer { height: 56vh; }
  .cz-tech { padding: 12px; }
  .cz-tech-grid { grid-template-columns: 1fr; }
  .cz-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cz-card-body p { font-size: .76rem; }
  .cz-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cz-project { padding: 16px; }
}
@media (max-width: 380px) { .cz-cards { grid-template-columns: 1fr; } .cz-sum-actions { grid-template-columns: 1fr; } }

/* configurator: cross-fade between finishes, and the catalogue "Real photo" */
.cz-viewer canvas.cz-fade { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 1; pointer-events: none; opacity: 0; }
.cz-photo { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 62px 16px; background: #0b0b0d; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; }
.cz-photo[hidden] { display: none; }
.cz-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cz-photo figcaption { padding-top: 8px; text-align: center; font-size: .86rem; font-weight: 700; color: #fff; }
.cz-photo small { display: block; font-weight: 600; font-size: .78rem; color: #c9cbd0; }
.cz-viewer.is-tech .cz-photo { display: none; }
@media (min-width: 900px) {
  .cz-viewer.has-photo canvas { width: 58% !important; }
  .cz-photo { inset-inline-start: 58%; }
}

/* configurator: Technical View with engineering-style drawings */
.cz-viewer.is-tech .cz-dimlayer { display: none; }
.cz-tech-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 10px; font-size: .86rem; font-weight: 700; color: #26262b; }
.cz-tech-ref { margin-inline-end: auto; }
.cz-tech-bar select { font: inherit; min-height: 40px; padding: 0 .7em; border: 1.5px solid #e3dccf; border-radius: 10px; background: #fff; }
.cz-tech-bar .btn { min-height: 40px; }
.cz-tech-grid { align-items: start; }
.cz-tech-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 3px 18px; margin: 12px 0 0; font-size: .82rem; }
.cz-tech-legend div { display: flex; gap: 8px; }
.cz-tech-legend dt { flex: none; min-width: 44px; font-weight: 800; color: #8a1019; }
.cz-tech-legend dd { margin: 0; color: #26262b; }
.cz-tech-notes { margin: 10px 0 0; padding-inline-start: 18px; font-size: .82rem; line-height: 1.5; color: #5d564c; }
@media (min-width: 900px) { .cz-tech-grid { grid-template-columns: 1.46fr 1fr; } }

/* ---------- hero v3: photo on its own side, text never covers the face ---------- */
@media (min-width: 1181px) {
  .hero-v2 { min-height: 640px; padding: 96px 0 80px; }
  .hero-v2 .hero-bg {
    inset: 50% 0 auto auto; transform: translateY(-50%);
    width: min(62vw, 1300px); aspect-ratio: 1600 / 901;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-composite: intersect;
  }
  [dir="rtl"] .hero-v2 .hero-bg {
    inset: 50% auto auto 0;
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(270deg, transparent 0, #000 14%), linear-gradient(0deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
  .hero-v2 .hero-bg img { object-position: 50% 50%; }
  .hero-v2::before {
    background: radial-gradient(600px 420px at 12% 30%, rgba(179,20,31,.18), transparent 70%);
  }
  [dir="rtl"] .hero-v2::before {
    background: radial-gradient(600px 420px at 88% 30%, rgba(179,20,31,.18), transparent 70%);
  }
  .hero-v2 .hero-content > * { max-width: 470px; }
  .hero-v2 h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
}
/* tablet + phone: photo on top, text underneath */
@media (max-width: 1180px) {
  .hero-v2 { display: block; min-height: 0; padding: 0 0 56px; }
  .hero-v2 .hero-bg {
    position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%);
            mask-image: linear-gradient(0deg, transparent 0, #000 22%);
  }
  .hero-v2 .hero-bg img { object-position: 40% 50%; }
  .hero-v2::before, [dir="rtl"] .hero-v2::before { background: none; }
  .hero-v2 .hero-content { margin-top: -24px; }
  .hero-v2 .hero-content > * { max-width: 640px; }
}
@media (max-width: 760px) {
  .hero-v2 { padding: 0 0 48px; }
  .hero-v2 .hero-bg { aspect-ratio: 1 / 1; }
  .hero-v2 .hero-bg img { object-position: 50% 12%; }
}

/* about page: same photo hero as the homepage; longer title, so slightly smaller */
.about-hero.hero-v2 h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
@media (min-width: 1181px) { .about-hero.hero-v2 .hero-content > * { max-width: 460px; } }

/* products page hero: lift photo on the empty side */
.prod-hero-photo .container { position: relative; z-index: 2; }
.prod-hero-img { position: absolute; inset: 0 0 0 auto; width: 44%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
          mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
[dir="rtl"] .prod-hero-img { inset: 0 auto 0 0;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 35%);
          mask-image: linear-gradient(270deg, transparent 0, #000 35%); }
.prod-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
@media (min-width: 981px) { .prod-hero-photo .container > * { max-width: 600px; } }
@media (max-width: 980px) {
  .prod-hero-img { width: 100%; opacity: .28;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 60%);
            mask-image: linear-gradient(0deg, transparent 0, #000 60%); }
}

/* ---------- cabin photos: shown whole on their own background, never larger than the file ---------- */
.cz-card-img, .cz-photo { background: #000; }
.cz-card-img picture, .cz-photo picture, .cabin-photo picture, .prod-img picture { display: contents; }
.cz-card-img { position: relative; aspect-ratio: 4 / 5; }   /* portrait, like the cabin photos */
.cz-card-img img { position: absolute; inset: 8px; margin: auto; width: auto; height: auto; max-width: calc(100% - 16px); max-height: calc(100% - 16px); object-fit: contain; }
.cz-photo { grid-template-rows: minmax(0, 1fr) auto; }
.cz-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; align-self: center; }
.cabin-photo:has(img) { background: #fff; }
.cabin-photo:has(img) .cabin-ph { display: none; }
.cabin-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; background: none; }

/* ---------- configurator: small catalogue photo in the corner of the 3D view ---------- */
.cz-thumb { position: absolute; z-index: 2; inset-inline-end: 12px; bottom: 62px; width: 84px; padding: 3px; border: 1px solid rgba(255,255,255,.75); border-radius: 10px; background: #000; cursor: zoom-in; box-shadow: 0 8px 24px rgba(0,0,0,.35); line-height: 0; }
.cz-thumb[hidden] { display: none; }
.cz-thumb picture { display: contents; }
.cz-thumb img { width: 100%; height: auto; border-radius: 7px; }
.cz-thumb:hover, .cz-thumb:focus-visible { border-color: var(--red-2); outline: none; }
.cz-viewer.is-tech .cz-thumb { display: none; }
@media (min-width: 900px) { .cz-thumb { width: 124px; } }

/* ---------- Export hero: animated globe (assets/js/export-globe.js) ---------- */
.ex-hero { overflow: hidden; }
.ex-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(610px, 48vw, calc(100vh - 200px))); gap: 40px; align-items: center; }
.ex-hero-text { min-width: 0; position: relative; z-index: 2; }
.ex-globe { position: relative; z-index: 1; width: 100%; min-width: 320px; aspect-ratio: 1; justify-self: end; user-select: none; -webkit-user-select: none; }
.ex-globe::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #1b1b20, #0b0b0d 70%); box-shadow: 0 0 60px rgba(214,40,50,.28); transition: opacity .6s; }
.ex-globe-on::before, .ex-globe-static::before { opacity: 0; }
.ex-globe-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s ease; }
.ex-globe-on .ex-globe-cv { opacity: 1; }
.ex-globe-cv.drag { cursor: grabbing; }
.ex-globe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ex-globe-hq, .ex-globe-tip { position: absolute; top: 0; left: 0; pointer-events: none; white-space: nowrap; will-change: transform; }
.ex-globe-hq { font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: #fff; padding: 3px 8px; border-radius: 4px; background: rgba(179,20,31,.82); box-shadow: 0 2px 10px rgba(0,0,0,.5); }
[lang="ar"] .ex-globe-hq { letter-spacing: 0; font-size: .78rem; }
.ex-globe-tip { display: grid; gap: 1px; text-align: center; padding: 7px 12px; border-radius: 8px; background: rgba(18,18,20,.94); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 24px rgba(0,0,0,.55); color: #fff; font-size: .86rem; line-height: 1.3; z-index: 3; }
.ex-globe-tip[hidden] { display: none; }
.ex-globe-tip span { color: #ef8a90; font-size: .74rem; font-weight: 600; }
@media (max-width: 1000px) {
  .ex-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ex-globe { width: min(380px, 100%); min-width: 0; justify-self: center; }
}
@media (max-width: 560px) {
  .ex-globe { width: min(300px, 86vw); margin-bottom: 26px; }      /* room below so the WhatsApp button does not sit on it at the end of the hero */
}
