/* SL3M Trading — Corporate Royal stylesheet */
:root {
  --navy: #0A1F44;
  --royal: #1E40AF;
  --blue: #2563EB;
  --blue-soft: #7AA0FF;
  --steel: #5B6573;
  --silver: #CCD3DC;
  --line: #E6EAF1;
  --paper: #F4F6FA;
  --ink: #0B0E14;
  --white: #FFFFFF;
  --container: 1680px;
  --pad-x: clamp(16px, 2.5vw, 36px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: 'Noto Naskh Arabic','Tajawal','Inter', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.mono { font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; color: var(--steel); }
.mono-blue { color: var(--blue); }

/* ============ TOP UTILITY BAR ============ */
.utility {
  background: var(--navy);
  color: var(--silver);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.utility .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; padding-bottom: 10px; gap: 16px; flex-wrap: wrap;
}
.utility a:hover { color: #fff; }
.util-ticker {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  width: 320px;
  max-width: 38vw;
  white-space: nowrap;
}
.util-soon {
  display: inline-block;
  color: #fff;
  font-style: italic;
  opacity: 0.9;
  white-space: nowrap;
  padding-left: 100%;
  animation: util-ticker-scroll 12s linear infinite;
}
@keyframes util-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* RTL (Arabic): scroll the opposite way */
[dir="rtl"] .util-soon {
  padding-left: 0;
  padding-right: 100%;
  animation-name: util-ticker-scroll-rtl;
}
@keyframes util-ticker-scroll-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 4px; padding-bottom: 4px;
}
.site-logo img { height: 76px; width: auto; object-fit: contain; display: block; }
@media (max-width: 760px) {
  .site-logo img { height: 60px; }
}

.main-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: 8px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--royal); }
.main-nav a.active { color: var(--royal); border-bottom-color: var(--royal); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 16px; }

/* Compact language dropdown (globe icon + current label + caret) */
.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px 8px 12px; font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.04em; transition: border-color .15s, color .15s, background .15s;
}
.lang-trigger:hover { border-color: var(--royal); color: var(--royal); }
.lang-trigger .lang-label { min-width: 18px; text-align: left; }
.lang-trigger .lang-caret { transition: transform .2s; opacity: 0.7; }
.lang-switch.open .lang-trigger { border-color: var(--royal); color: var(--royal); }
.lang-switch.open .lang-trigger .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 32px rgba(11,14,20,0.10), 0 2px 6px rgba(11,14,20,0.06);
  min-width: 168px; padding: 6px; margin: 0; list-style: none;
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s;
  z-index: 200;
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switch.open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-menu li { padding: 0; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: transparent; border: 0; padding: 9px 12px; font-size: 14px; font-weight: 500;
  color: var(--ink); border-radius: 5px; text-align: left;
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button.active { background: var(--paper); color: var(--royal); font-weight: 600; }
.lang-menu .flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 20px; background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; border-radius: 3px;
  font-family: ui-monospace, monospace;
}

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; border: 0; transition: transform .12s, background .15s, color .15s; cursor: pointer; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: #1733A0; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a1f2e; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 880px) {
  .site-header .container { flex-wrap: wrap; row-gap: 10px; }
  .main-nav { order: 3; width: 100%; gap: 18px; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .main-nav a { padding: 6px 0; font-size: 13px; white-space: nowrap; }
}

/* ============ HERO ============ */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: 80px 0 88px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 30%, rgba(37,99,235,0.35), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.hero-eyebrow { color: var(--blue-soft); font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: 0.24em; margin-bottom: 24px; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--blue-soft); }
.hero p { font-size: 17px; line-height: 1.65; color: var(--silver); max-width: 540px; margin-top: 28px; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-image { aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,0.2); position: relative; overflow: hidden; border-radius: 8px; }
.hero-image svg { display: block; width: 100%; height: 100%; }
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* preserves top of frame, trims bottom */
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { display: none; }
}

.hero-stats {
  position: relative; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: nowrap;
}
.hero-stats > div { flex: 1 1 0; min-width: 0; }
.hero-stats .stat-num { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.hero-stats .stat-lbl { font-size: 10px; letter-spacing: 0.14em; color: var(--blue-soft); margin-top: 8px; text-transform: uppercase; line-height: 1.3; }
@media (max-width: 1100px) {
  .hero-stats .stat-num { font-size: 26px; }
  .hero-stats .stat-lbl { font-size: 9px; }
}
@media (max-width: 720px) {
  .hero-stats { flex-wrap: wrap; gap: 18px 24px; }
  .hero-stats > div { flex: 1 1 30%; }
  .hero-stats .stat-num { font-size: 24px; }
  .hero-stats .stat-lbl { font-size: 10px; }
}

/* ============ SECTION ============ */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: #fff; border-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 42px); margin: 8px 0 0; letter-spacing: -0.02em; font-weight: 700; }
.section-head .link { color: var(--royal); font-size: 14px; font-weight: 600; }
.section-head .link:hover { text-decoration: underline; }

/* ============ PARTNERS GRID ============ */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .partners-grid { grid-template-columns: 1fr; } }
/* Wide layout for the partner + product showcase sections — break out of the 1280 cap */
.section.wide > .container { max-width: min(1700px, calc(100vw - 48px)); }
@media (max-width: 720px) { .section.wide > .container { max-width: 100%; } }
.partner-card { border: 1px solid var(--line); padding: 28px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.partner-card:hover { border-color: var(--royal); box-shadow: 0 8px 24px rgba(30,64,175,0.08); }
.partner-card .logo-box { height: 88px; display: flex; align-items: center; }
.partner-card .logo-box img { max-height: 72px; max-width: 200px; object-fit: contain; }
.partner-card .badge { display: inline-block; font-size: 11px; letter-spacing: 0.16em; color: var(--royal); margin-top: 20px; text-transform: uppercase; font-weight: 600; }
.partner-card h3 { font-size: 22px; margin: 6px 0 4px; letter-spacing: -0.01em; }
.partner-card .sub { font-size: 13px; color: var(--steel); }
.partner-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--royal); font-weight: 600; font-size: 13px; margin-top: 16px; }

/* ============ PRODUCTS GRID ============ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }
.product-card { background: #fff; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.product-card:hover { border-color: var(--royal); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 4/3; background: var(--paper); overflow: hidden; }
.product-card .thumb svg { width: 100%; height: 100%; display: block; }
.product-card .body { padding: 16px; }
.product-card .tag { font-size: 11px; letter-spacing: 0.14em; color: var(--royal); text-transform: uppercase; font-weight: 700; }
.product-card .name { font-size: 15px; font-weight: 600; margin-top: 4px; }
.product-card .name-alt { font-size: 13px; color: var(--steel); margin-top: 2px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--silver); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #1a1f2e; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer-grid a, .footer-grid li, .footer-grid p { font-size: 14px; line-height: 1.7; color: var(--silver); }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-brand img { height: 90px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 320px; font-size: 13px; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #6B7280; flex-wrap: wrap; gap: 8px; }

/* ============ PAGE HEADER (interior pages) ============ */
.page-header { background: var(--navy); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 90% 50%, rgba(37,99,235,0.3), transparent 70%);
}
.page-header .container { position: relative; }
.page-header .mono { color: var(--blue-soft); }
.page-header h1 { font-size: clamp(32px, 4vw, 54px); margin: 12px 0 0; letter-spacing: -0.02em; font-weight: 700; }
.page-header .lede { font-size: 17px; color: var(--silver); margin-top: 16px; max-width: 720px; line-height: 1.6; }
.breadcrumb { color: var(--blue-soft); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }

/* ============ ABOUT / PARTNER LONG TEXT ============ */
.prose { max-width: 760px; font-size: 16px; line-height: 1.75; color: #2A2F3A; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--royal); font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.two-col .label { position: sticky; top: 120px; }

/* ============ PARTNER FULL ============ */
.partner-full { padding: 64px 0; border-bottom: 1px solid var(--line); }
.partner-full + .partner-full { padding-top: 64px; }
.partner-full .partner-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.partner-full .partner-head .logo-frame { width: 200px; height: 100px; border: 1px solid var(--line); padding: 16px; display: flex; align-items: center; justify-content: center; background: #fff; }
.partner-full .partner-head .logo-frame img { max-height: 64px; max-width: 168px; object-fit: contain; }
.partner-full h2 { font-size: 36px; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
.partner-full .partner-head .badge { display: inline-block; font-size: 11px; letter-spacing: 0.16em; color: var(--royal); margin-top: 6px; text-transform: uppercase; font-weight: 700; border: 1px solid var(--royal); padding: 4px 8px; }

/* ============ PRODUCT DETAIL CARDS ============ */
.product-grid-large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .product-grid-large { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid-large { grid-template-columns: 1fr; } }
.product-detail { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.product-detail .thumb { aspect-ratio: 4/3; background: var(--paper); }
.product-detail .body { padding: 22px; }
.product-detail .tag { font-size: 11px; letter-spacing: 0.14em; color: var(--royal); text-transform: uppercase; font-weight: 700; }
.product-detail h3 { font-size: 20px; margin: 6px 0 4px; letter-spacing: -0.01em; }
.product-detail .alt { font-size: 13px; color: var(--steel); }
.product-detail .desc { font-size: 14px; color: #2A2F3A; margin-top: 12px; line-height: 1.6; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-form { display: grid; gap: 16px; }
.contact-form label { font-size: 12px; letter-spacing: 0.14em; color: var(--steel); text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; font: inherit; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 4px; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 0; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(30,64,175,0.12); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.form-status { font-size: 14px; padding: 12px 16px; border-radius: 4px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.form-status.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

.info-card { background: var(--navy); color: #fff; padding: 32px; }
.info-card h3 { font-size: 20px; margin: 0 0 20px; letter-spacing: -0.01em; }
.info-card .info-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); align-items: flex-start; }
.info-card .info-row:first-of-type { border-top: 0; }
.info-card .info-row .ico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 4px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--blue-soft); }
.info-card .info-row .lbl { font-size: 11px; letter-spacing: 0.16em; color: var(--blue-soft); text-transform: uppercase; }
.info-card .info-row .val { font-size: 15px; color: #fff; margin-top: 2px; line-height: 1.5; }
.info-card .info-row a:hover { text-decoration: underline; }

.qr-card { background: #fff; border: 1px solid var(--line); padding: 24px; margin-top: 16px; display: flex; gap: 20px; align-items: center; }
.qr-card #qr { width: 120px; height: 120px; flex-shrink: 0; }
.qr-card #qr img, .qr-card #qr canvas { width: 100%; height: 100%; }
.qr-card .qr-text .mono { color: var(--steel); }
.qr-card .qr-text strong { display: block; font-size: 15px; margin-top: 4px; color: var(--ink); }
.qr-card .qr-text p { font-size: 13px; color: var(--steel); margin: 6px 0 0; }

/* ============ CTA STRIP ============ */
.cta-strip { background: var(--royal); color: #fff; padding: 48px 0; }
.cta-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h3 { font-size: clamp(22px, 2.5vw, 28px); margin: 0; letter-spacing: -0.015em; font-weight: 700; }
.cta-strip p { margin: 6px 0 0; color: #DCE6FF; font-size: 14px; }

/* ============ MAP EMBED ============ */
.map-embed { border: 1px solid var(--line); overflow: hidden; border-radius: 4px; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ============ VIDEO ============ */
.video-wrap { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============ PARTNER SECTION (partners.html) ============ */
.partner-section .partner-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.partner-section .partner-row.reverse { direction: rtl; }
.partner-section .partner-row.reverse > * { direction: ltr; }
html[dir="rtl"] .partner-section .partner-row.reverse { direction: ltr; }
@media (max-width: 880px) { .partner-section .partner-row { grid-template-columns: 1fr; gap: 24px; direction: ltr; } }
.partner-media .logo-frame { background: var(--navy); padding: 36px; display: flex; align-items: center; justify-content: center; min-height: 220px; border: 1px solid var(--line); }
.partner-media .logo-frame.light { background: #fff; }
.partner-media .logo-frame img { max-height: 140px; max-width: 100%; object-fit: contain; }
.partner-media .meta { margin-top: 16px; border: 1px solid var(--line); background: #fff; }
.partner-media .meta .meta-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14px; }
.partner-media .meta .meta-row:first-child { border-top: 0; }
.partner-media .meta .meta-row .mono { font-size: 11px; }
.partner-media .meta .meta-row .exclusive { color: var(--royal); font-weight: 700; }
.partner-body h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 18px; letter-spacing: -0.02em; font-weight: 700; }
.partner-body h2 .muted { color: var(--steel); font-weight: 500; font-size: 0.55em; letter-spacing: 0; display: inline-block; vertical-align: middle; margin-left: 8px; }
.partner-body p { font-size: 16px; line-height: 1.7; color: #2A2F3A; margin: 0 0 16px; max-width: 720px; }
.partner-body .btn { margin-top: 12px; }

/* ============ PRODUCT FILTER + GRID FULL ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { background: #fff; border: 1px solid var(--line); padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--steel); border-radius: 999px; transition: all .15s; }
.chip:hover { border-color: var(--royal); color: var(--royal); }
.chip.active { background: var(--royal); border-color: var(--royal); color: #fff; }
.products-grid.full { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 980px) { .products-grid.full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid.full { grid-template-columns: 1fr; } }
.product-card .body .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.product-card .body .best { font-size: 10px; letter-spacing: 0.14em; color: #B45309; text-transform: uppercase; font-weight: 700; }
.product-card .body .desc { font-size: 13px; color: #2A2F3A; margin-top: 8px; line-height: 1.55; }
.product-card .body .more { display: inline-block; margin-top: 12px; color: var(--royal); font-weight: 600; font-size: 13px; }

/* ============ VIDEO + MAP FRAMES ============ */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.video-frame svg { width: 100%; height: 100%; display: block; }
.video-frame .video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
.video-frame .play-btn { width: 72px; height: 72px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px rgba(0,0,0,0.4); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.video-frame .video-cap { position: absolute; bottom: 18px; left: 18px; color: var(--blue-soft); font-size: 11px; letter-spacing: 0.18em; }

.map-frame { border: 1px solid var(--line); aspect-ratio: 1200/360; overflow: hidden; }
.map-frame svg { width: 100%; height: 100%; display: block; }

/* ============ CONTACT INFO PANEL ============ */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-block .mono { color: var(--steel); margin-bottom: 6px; display: block; }
.info-block .big-link { display: block; font-size: 18px; font-weight: 600; color: var(--ink); padding: 2px 0; letter-spacing: -0.01em; }
.info-block .big-link:hover { color: var(--royal); }
.info-block .address { font-size: 15px; line-height: 1.65; color: #2A2F3A; }
.qr-card { background: var(--paper); border: 1px solid var(--line); padding: 20px; display: flex; gap: 18px; align-items: center; margin-top: 0; }
.qr-card canvas { width: 120px; height: 120px; flex-shrink: 0; background: #fff; padding: 8px; border: 1px solid var(--line); }
.qr-card .qr-label { font-size: 14px; color: #2A2F3A; margin-top: 4px; }

/* ============ CONTACT FORM (new fields) ============ */
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form label > span { font-size: 11px; letter-spacing: 0.14em; color: var(--steel); text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 6px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .mono { font-size: 11px; }
.form-success { display: none; padding: 14px 18px; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; border-radius: 4px; font-size: 14px; font-weight: 500; }

/* ============ RTL FIXES ============ */
html[dir="rtl"] .mono, html[dir="rtl"] .breadcrumb { letter-spacing: 0; }
html[dir="rtl"] .hero-stats .stat-lbl { letter-spacing: 0; }
html[dir="rtl"] .footer-grid h4 { letter-spacing: 0; }

/* === LOGO HARDENING (added by preview tooling) === */
.site-logo { display:inline-flex; align-items:center; }
.site-logo img { display:block; height:96px; width:auto; max-width:520px; object-fit:contain; }
.footer-brand img { display:block; height:128px; width:auto; max-width:208px; object-fit:contain; }
.footer-brand p { display: none !important; } /* hide "Connecting markets. Delivering success." tagline */
.partner-card .logo-box { display:flex; align-items:center; justify-content:center; min-height:120px; padding:18px; background:#FFFFFF; border-radius:8px; }
.partner-card .logo-box img { max-height:80px; max-width:100%; width:auto; height:auto; object-fit:contain; }
/* Product card thumbnails — fill the box neatly with cover-fit */
.product-card .thumb { overflow: hidden; }
.product-card .thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.product-card .thumb svg { display:block; width:100%; height:100%; }

/* === STICKY HEADER (added by preview tooling) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 rgba(15,46,110,0.08), 0 8px 24px -16px rgba(15,46,110,0.18);
  transition: box-shadow 0.2s ease;
}
/* Keep top utility bar above the sticky header so phone/email don't cover it */
.utility { position: relative; z-index: 101; }

/* === HEADER LOGO SIZING (added by preview tooling) ===
   Logo VISUALLY ~40% larger than before, on a NARROWER header.
   Layout footprint shrunk so header height collapses; transform scales
   the image so it renders much larger but doesn't push the bar taller. */
.site-header {
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}
.site-header > .container { overflow: visible; align-items: center; }
.site-header .site-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 102;
}
.site-header .site-logo img {
  height: 60px;                 /* small layout box → narrow header */
  width: auto;
  max-width: 280px;
  display: block;
  transform: scale(3.4);        /* visual ≈ 204px tall (≈40% larger) */
  transform-origin: left center;
  margin-right: 180px;          /* reserve visual overflow width */
}
@media (max-width: 1024px) {
  .site-header .site-logo img {
    height: 52px;
    transform: scale(3.0);
    max-width: 240px;
    margin-right: 140px;
  }
}
@media (max-width: 720px) {
  .site-header .site-logo img {
    height: 44px;
    transform: scale(2.4);
    max-width: 200px;
    margin-right: 90px;
  }
}
