/* ==========================================================================
   Apex Engine 1.0 — DigiVort · GHC International public theme
   One stylesheet for LTR (English) and RTL (Arabic) via logical properties.
   ========================================================================== */

@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff") format("woff"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("../fonts/plexar-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("../fonts/plexar-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("../fonts/plexar-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "PlexAr"; src: url("../fonts/plexar-Bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }

:root {
  --brand: #0B5E8E;
  --brand-2: #14A3A0;
  --ink: #0C1C2E;
  --ink-2: #2B3B4E;
  --muted: #5A6A7C;
  --line: #E3E8EE;
  --line-2: #D3DBE4;
  --bg: #FFFFFF;
  --surface: #F5F7FA;
  --surface-2: #EDF2F6;
  --success: #15803D;
  --danger: #B42318;

  --brand-50: color-mix(in oklab, var(--brand) 6%, white);
  --brand-100: color-mix(in oklab, var(--brand) 12%, white);
  --brand-200: color-mix(in oklab, var(--brand) 24%, white);
  --brand-700: color-mix(in oklab, var(--brand) 78%, black);
  --brand-900: color-mix(in oklab, var(--brand) 38%, #06121F);

  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(12, 28, 46, .06), 0 1px 1px rgba(12, 28, 46, .04);
  --sh-2: 0 10px 30px -12px rgba(12, 28, 46, .18);
  --sh-3: 0 30px 60px -20px rgba(12, 28, 46, .28);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[dir="rtl"] { --font: "PlexAr", "Jakarta", Tahoma, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[dir="rtl"] body { line-height: 1.85; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.022em; }
[dir="rtl"] :is(h1, h2, h3, h4, h5) { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.012em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 55%, white); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-200); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: #C9D4E0; }
.section--dark :is(h1, h2, h3, h4) { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 18px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; text-transform: none; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: color-mix(in oklab, var(--brand-2) 70%, white); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin: 0; max-width: 18ch; }
[dir="rtl"] .section-head h2 { max-width: 22ch; }
.section-head p { margin: 14px 0 0; max-width: 58ch; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center h2 { max-width: 24ch; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font: inherit; font-size: .98rem; font-weight: 650; line-height: 1.2; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--brand) 70%, transparent); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon-go { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon-go { transform: scaleX(-1) translateX(3px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--brand-50); color: var(--ink); border-color: var(--brand-50); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.link-go .icon { width: 1.05em; height: 1.05em; color: var(--brand); transition: transform .2s var(--ease); }
.link-go:hover { color: var(--brand); }
.link-go:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-go:hover .icon { transform: scaleX(-1) translateX(4px); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .8rem; font-weight: 600; line-height: 1.4; border: 1px solid var(--brand-100); }
.chip--plain { background: #fff; color: var(--ink-2); border-color: var(--line); }
.chip--dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); }
a.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 28, 46, .35); background: rgba(255, 255, 255, .95); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; max-width: min(260px, 48vw); object-fit: contain; object-position: left center; }
[dir="rtl"] .brand img { object-position: right center; }
.brand { min-width: 0; }
.brand-text { font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 560; font-size: .97rem; background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.2; }
.nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { color: var(--ink); background: var(--surface); }
.nav > a[aria-current="page"], .nav-drop > button.is-active { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop > button .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-drop.open > button .icon { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; transform: translate(-50%, 6px); width: min(720px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
[dir="rtl"] .mega { transform: translate(50%, 6px); }
.nav-drop.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[dir="rtl"] .nav-drop.open .mega { transform: translate(50%, 0); }
.mega a { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); color: var(--ink-2); align-items: flex-start; }
.mega a:hover { background: var(--surface); }
.mega a strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.mega a span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.mega-ico .icon { width: 22px; height: 22px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 4px; margin-top: 4px; border-top: 1px solid var(--line); font-size: .9rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.icon-btn .icon { width: 19px; height: 19px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; }
.lang-switch:hover { background: var(--surface); color: var(--ink); }
.lang-switch .icon { width: 17px; height: 17px; color: var(--brand); }
.lang-short { display: none; }
@media (max-width: 600px) { .lang-short { display: inline; } }
.menu-toggle { display: none; }
@media (max-width: 1080px) {
  .nav, .header-actions .btn, .header-actions .search-toggle { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  .header-bar { gap: 12px; height: 66px; }
  .brand img { height: 36px; }
  .lang-switch { padding: 0 11px; }
  .lang-switch .lang-label { display: none; }
  .header-actions { gap: 6px; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 30, .5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; padding: 18px 22px 28px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.drawer nav .sub a { padding: 10px 4px 10px 18px; font-weight: 500; font-size: .98rem; color: var(--ink-2); }
[dir="rtl"] .drawer nav .sub a { padding: 10px 18px 10px 4px; }
.drawer-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* Search overlay */
.search-panel { position: fixed; inset: 0; z-index: 90; background: rgba(8, 18, 30, .55); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.search-panel.open { display: flex; }
.search-box { width: min(680px, 100%); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 10px; display: flex; gap: 8px; align-items: center; }
.search-box input { flex: 1; border: 0; font: inherit; font-size: 1.15rem; padding: 12px 14px; outline: none; background: transparent; color: var(--ink); min-width: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-bg svg { position: absolute; inset-inline-end: -8%; top: -10%; width: 70%; height: 130%; opacity: .9; }
[dir="rtl"] .hero-bg svg { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero .lead { max-width: 54ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof .proof { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 1.5rem; color: var(--ink); line-height: 1.1; font-weight: 750; }
.hero-proof span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--surface-2); box-shadow: var(--sh-3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--empty { display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, var(--brand-100), var(--surface-2) 60%); }
.hero-float { position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); padding: 14px 16px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); max-width: 270px; }
.hero-float .mega-ico { width: 40px; height: 40px; }
.hero-float strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.hero-float span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.hero-float--a { inset-inline-start: -28px; bottom: 12%; }
.hero-float--b { inset-inline-end: -18px; top: 9%; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .hero-float--a { inset-inline-start: 12px; bottom: 12px; }
  .hero-float--b { inset-inline-end: 12px; top: 12px; }
}
@media (max-width: 520px) { .hero-float--b { display: none; } }
@media (max-width: 960px) { .hero-bg svg { opacity: .35; width: 130%; inset-inline-end: -40%; } .page-hero .hero-bg svg { opacity: .3; } }

/* ---------- Logo marquee ---------- */
.logos { border-block: 1px solid var(--line); padding-block: 26px; background: #fff; }
.logos-inner { display: flex; align-items: center; gap: 36px; }
.logos-label { flex: none; font-size: .82rem; color: var(--muted); font-weight: 600; max-width: 150px; line-height: 1.4; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a, .marquee-track span { display: flex; align-items: center; height: 44px; }
.marquee-track img { max-height: 36px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.marquee-track a:hover img { filter: none; opacity: 1; }
.marquee-track .logo-fallback { font-weight: 700; color: var(--muted); font-size: 1.05rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@media (max-width: 700px) { .logos-label { display: none; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); position: relative; }
a.card, .card--link { color: inherit; display: block; }
a.card:hover, .card--link:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-3px); color: inherit; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.card-ico .icon { width: 26px; height: 26px; }
.card .link-go { margin-top: 18px; }
.card-num { position: absolute; top: 22px; inset-inline-end: 24px; font-size: .82rem; font-weight: 700; color: var(--line-2); letter-spacing: .06em; }

/* Division cards */
.division-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: inherit; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.division-card:hover { box-shadow: var(--sh-3); transform: translateY(-4px); color: inherit; border-color: transparent; }
.division-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.division-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.division-card:hover .division-media img { transform: scale(1.05); }
.division-media .division-badge { position: absolute; top: 16px; inset-inline-start: 16px; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: var(--sh-1); }
.division-media .division-badge .icon { width: 24px; height: 24px; }
.division-body { padding: 24px 26px 26px; display: flex; flex-direction: column; }
.division-body .num { font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; margin-bottom: 8px; }
.division-body h3 { font-size: 1.45rem; margin-bottom: 6px; }
.division-body .tagline { color: var(--ink-2); font-weight: 560; margin-bottom: 10px; line-height: 1.45; }
.division-body p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.division-body .link-go { margin-top: auto; }
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-50), var(--surface-2)); color: var(--brand); }
.placeholder-art .icon { width: 64px; height: 64px; opacity: .55; }

/* Logo row (division partner logos) */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.logo-row span { height: 88px; min-width: 150px; padding: 16px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; }
.logo-row img { max-height: 54px; max-width: 200px; width: auto; object-fit: contain; }

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.split > div { padding: clamp(28px, 4vw, 52px); }
.split > div + div { border-inline-start: 1px solid var(--line); background: var(--surface); }
.split h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.split ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.split li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.split li a:hover { color: var(--brand); }
.split li a .icon { color: var(--muted); width: 18px; height: 18px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split > div + div { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 30px 26px 8px 0; border-inline-end: 1px solid rgba(255, 255, 255, .14); }
[dir="rtl"] .stat { padding: 30px 0 8px 26px; }
.stat:last-child { border-inline-end: 0; }
.stat + .stat { padding-inline-start: 26px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.3rem); color: #fff; line-height: 1; font-weight: 750; letter-spacing: -.03em; margin-bottom: 10px; }
.stat span { color: #A9B7C6; font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(3) { padding-inline-start: 0; } }

/* Spotlight */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.spotlight-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; background: var(--surface-2); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight .logo-inline { height: 40px; width: auto; margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--brand); width: 22px; height: 22px; margin-top: 3px; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }

/* Event cards */
.event-card { display: flex; flex-direction: column; color: inherit; }
.event-card:hover { color: inherit; }
.event-media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); margin-bottom: 18px; position: relative; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.04); }
.event-date { position: absolute; top: 14px; inset-inline-start: 14px; background: #fff; border-radius: 12px; padding: 7px 11px; text-align: center; line-height: 1.05; box-shadow: var(--sh-1); }
.event-date b { display: block; font-size: 1.2rem; color: var(--ink); }
.event-date small { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--brand); letter-spacing: .06em; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta .icon { width: 15px; height: 15px; }
.event-card h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 8px; transition: color .2s; }
.event-card:hover h3 { color: var(--brand); }
.event-card p { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.event-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); color: inherit; }
.event-featured .event-media { margin: 0; aspect-ratio: 16 / 11; }
.event-featured h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.event-featured:hover { color: inherit; }
.event-featured:hover h2 { color: var(--brand); }
@media (max-width: 860px) { .event-featured { grid-template-columns: 1fr; } }

/* Brand cards */
.brand-card { display: flex; flex-direction: column; gap: 14px; }
.brand-logo { height: 92px; display: grid; place-items: center; border-radius: var(--r); background: var(--surface); padding: 16px; margin-bottom: 4px; }
.brand-logo img { max-height: 54px; max-width: 80%; width: auto; object-fit: contain; }
.brand-logo .logo-fallback { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand-card h3 { margin: 0; font-size: 1.1rem; }
.brand-card .chip { align-self: flex-start; }

/* Product cards */
.product-card { display: flex; flex-direction: column; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.product-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); color: inherit; }
.product-media { aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; padding: 18px; }
.product-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-body { padding: 18px 20px 22px; }
.product-body small { color: var(--brand); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"] .product-body small { letter-spacing: 0; }
.product-body h3 { font-size: 1.05rem; margin: 6px 0 0; line-height: 1.4; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(40px, 6vw, 76px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .hero-bg svg { width: 55%; opacity: .7; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 20ch; margin: 0 0 16px; }
[dir="rtl"] .page-hero h1 { max-width: 26ch; }
.page-hero .lead { max-width: 64ch; margin: 0; }
.page-hero--media { padding-block-end: 0; border: 0; background: var(--ink); color: #C9D4E0; }
.page-hero--media h1 { color: #fff; }
.page-hero--media .lead { color: #B6C3D1; }
.page-hero--media .breadcrumbs, .page-hero--media .breadcrumbs a { color: #9FB0C2; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-banner { margin-top: clamp(32px, 5vw, 56px); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; aspect-ratio: 21 / 8; background: var(--ink-2); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .page-hero-grid { grid-template-columns: 1fr; } .hero-banner { aspect-ratio: 16 / 9; } }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout--left { grid-template-columns: 280px minmax(0, 1fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .layout, .layout--left { grid-template-columns: 1fr; } .sticky { position: static; } }
.aside-card { background: var(--surface); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card--brand { background: var(--ink); border-color: var(--ink); color: #B6C3D1; }
.aside-card--brand h3 { color: #fff; font-size: 1.3rem; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 550; font-size: .96rem; }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current] { color: var(--brand); }
.aside-list .count { font-size: .78rem; color: var(--muted); background: #fff; border-radius: 999px; padding: 1px 9px; border: 1px solid var(--line); }
.meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.meta-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.meta-list .icon { color: var(--brand); width: 20px; height: 20px; margin-top: 3px; }
.meta-list small { display: block; color: var(--muted); font-size: .8rem; }
.meta-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { font-size: 1.08rem; color: var(--ink-2); max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-200); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--brand); color: var(--ink); font-size: 1.2rem; font-weight: 500; }
[dir="rtl"] .prose blockquote { padding: 4px 22px 4px 0; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.prose th { color: var(--ink); background: var(--surface); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { background: none; border: 0; font: inherit; font-weight: 600; color: var(--muted); padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tabs button:hover { color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }

/* Accordion / FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 650; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--brand); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 2em 0; }
.gallery button { padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(6, 12, 20, .92); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); width: auto; border-radius: 10px; }
.lightbox .lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox .lb-close { top: 16px; inset-inline-end: 16px; }
.lightbox .lb-prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #c9d4e0; font-size: .9rem; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 2em 0; }
.videos video { width: 100%; border-radius: var(--r); background: #000; max-height: 70vh; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--sh-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field .error { color: var(--danger); font-size: .85rem; margin-top: 6px; display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.alert { border-radius: var(--r); padding: 14px 18px; margin-bottom: 20px; font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.alert--error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.alert--ok { background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-align: center; margin: 0; transition: border-color .2s, background .2s; }
.segmented label { position: relative; }
.field .segmented input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; inset: 0; }
.segmented label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--brand-200); }
.segmented .icon { width: 22px; height: 22px; }

/* Booking calendar */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .booking { grid-template-columns: 1fr; } }
.cal { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.cal-head button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .72rem; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: .92rem; cursor: pointer; color: var(--ink); }
.cal-grid button:hover:not(:disabled) { background: var(--brand-50); }
.cal-grid button:disabled { color: #C2CBD5; cursor: default; }
.cal-grid button.is-selected { background: var(--brand); color: #fff; }
.cal-grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--brand-200); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; align-content: start; max-height: 330px; overflow-y: auto; padding: 2px; }
.slots button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 6px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink); direction: ltr; }
.slots button:hover:not(:disabled) { border-color: var(--brand); }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.slots button.is-selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.slots-empty { color: var(--muted); font-size: .92rem; padding: 12px 0; grid-column: 1 / -1; margin: 0; }
.booking-summary { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: .95rem; display: none; }
.booking-summary.show { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tiles { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; }
a.contact-tile:hover { border-color: var(--brand-200); color: inherit; }
.contact-tile small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; margin-bottom: 2px; }
.contact-tile strong { color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #B6C3D1; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, color-mix(in oklab, var(--brand) 55%, transparent), transparent 60%), radial-gradient(40% 80% at 0% 100%, color-mix(in oklab, var(--brand-2) 30%, transparent), transparent 70%); z-index: -1; }
[dir="rtl"] .cta-band::before { transform: scaleX(-1); }
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value { padding: 30px 26px 0 0; }
[dir="rtl"] .value { padding: 30px 0 0 26px; }
.value + .value { border-inline-start: 1px solid var(--line); padding-inline-start: 26px; }
.value .card-ico { margin-bottom: 18px; }
.value h3 { font-size: 1.2rem; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value + .value { border-inline-start: 0; padding-inline-start: 0; } }

/* Team */
.team-card { text-align: start; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); margin-bottom: 16px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; align-items: center; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .9rem; background: #fff; }
.filters a:hover { border-color: var(--ink-2); color: var(--ink); }
.filters a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .sep { width: 1px; height: 24px; background: var(--line); margin-inline: 6px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled { opacity: .4; }

/* Empty state */
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-xl); background: var(--surface); }
.empty .icon { width: 44px; height: 44px; color: var(--brand); margin: 0 auto 14px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 48ch; margin: 0 auto 20px; }

/* Article */
.article-head > * { max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 17px; height: 17px; color: var(--brand); }
.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-block: clamp(28px, 4vw, 48px); aspect-ratio: 16 / 8; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.share { display: flex; gap: 8px; align-items: center; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 600; line-height: 1.4; }
.post-nav a:hover { border-color: var(--brand); color: var(--brand); }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; margin-bottom: 4px; }
.post-nav .next { text-align: end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* Search results */
.result { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); color: inherit; }
.result:hover h3 { color: var(--brand); }
.result-thumb { width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result h3 { font-size: 1.1rem; margin: 4px 0; }
.result p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9DAEC0; padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.site-footer a { color: #C9D4E0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand img.logo-light { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 700; }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--brand-2); margin-top: 4px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.socials a:hover { background: var(--brand); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.engine-credit { color: #7F92A6; }
.engine-credit a { color: #9DAEC0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie consent */
.consent-bar { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 20px 22px; display: none; }
.consent-bar.show { display: block; }
.consent-bar p { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.consent-bar strong { display: flex; gap: 8px; align-items: center; color: var(--ink); margin-bottom: 6px; }
.consent-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Floating WhatsApp */
.fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 999px; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.fab:hover { color: #fff; transform: translateY(-2px); }
.fab .icon { width: 28px; height: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.error-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; color: var(--brand-100); letter-spacing: -.05em; margin-bottom: 8px; }

@media print {
  .site-header, .site-footer, .consent-bar, .fab, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}

/* ==========================================================================
   Apex 1.1 — growth: quick answers, quote list, newsletter, chat, landing pages
   ========================================================================== */
.quick-answer { border: 1px solid var(--brand-100); background: linear-gradient(135deg, var(--brand-50), #fff 70%); border-radius: var(--r); padding: 18px 20px; margin: 0 0 28px; }
.quick-answer .qa-label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.quick-answer .qa-label .icon { width: 15px; height: 15px; }
.quick-answer p { margin: 8px 0 0; font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.quick-answer .qa-meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: .8rem; }
.quick-answer .qa-meta .icon { width: 14px; height: 14px; color: var(--success); }
.quick-answer:not(:has(p)) { background: none; border: 0; padding: 0; margin-bottom: 14px; }
.compliance { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.compliance .chip .icon { width: 14px; height: 14px; }
.rfq-add { display: inline-flex; }
.rfq-btn { position: relative; }
.rfq-btn.is-empty { display: none; }
.rfq-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; border-radius: 99px; background: var(--brand-2); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.rfq-list { display: grid; gap: 10px; }
.rfq-item { display: grid; grid-template-columns: 72px 1fr 96px auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.rfq-img { width: 72px; height: 72px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.rfq-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rfq-info { display: grid; gap: 2px; min-width: 0; }
.rfq-info strong { color: var(--ink); }
.rfq-qty input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; text-align: center; font: inherit; font-weight: 650; }
.rfq-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 560px) { .rfq-item { grid-template-columns: 56px 1fr; } .rfq-img { width: 56px; height: 56px; } .rfq-qty { grid-column: 2; max-width: 120px; } .rfq-item .icon-btn { grid-column: 1; grid-row: 2; } }
.site-toast { position: fixed; z-index: 120; inset-inline-start: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-3); transition: all .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
[dir="rtl"] .site-toast { transform: translate(50%, 20px); }
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .site-toast.show { transform: translate(50%, 0); }

/* Newsletter (footer) */
.newsletter { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 10px 32px; align-items: center; padding: 28px clamp(18px, 3vw, 32px); margin-bottom: 48px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.newsletter .nl-text { display: grid; gap: 4px; }
.newsletter .nl-text strong { color: #fff; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.newsletter .nl-text span { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.newsletter .nl-fields { display: flex; gap: 8px; }
.newsletter input[type="email"] { flex: 1; min-width: 0; height: 50px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 18px; font: inherit; }
.newsletter input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter input[type="email"]:focus { outline: 2px solid var(--brand-2); border-color: transparent; }
.newsletter .nl-consent { grid-column: 2; display: flex; gap: 8px; align-items: flex-start; color: rgba(255, 255, 255, .65); font-size: .8rem; }
.newsletter .nl-msg { grid-column: 1 / -1; margin: 4px 0 0; color: #A7F3D0; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.newsletter .nl-err { color: #FECACA; }
.newsletter > * { min-width: 0; }
@media (max-width: 820px) { .newsletter { grid-template-columns: minmax(0, 1fr); } .newsletter .nl-consent { grid-column: 1; } }

/* Landing pages */
.site-header--bare .header-bar { justify-content: space-between; }
.lp-hero--light { background: var(--surface); }
.lp-hero--image { position: relative; color: #fff; min-height: 70vh; display: flex; align-items: center; }
.lp-hero--image .lp-hero-img { position: absolute; inset: 0; z-index: 0; }
.lp-hero--image .lp-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero--image .lp-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 31, .82), rgba(6, 18, 31, .35)); }
[dir="rtl"] .lp-hero--image .lp-hero-img::after { background: linear-gradient(270deg, rgba(6, 18, 31, .82), rgba(6, 18, 31, .35)); }
.lp-hero--image .wrap { position: relative; z-index: 1; }
.lp-hero--image h1, .lp-hero--image .lead, .lp-hero--image .eyebrow { color: #fff; }
.lp-event { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .lp-event { grid-template-columns: 1fr; } }
.countdown { display: flex; gap: 12px; justify-content: center; }
.countdown span { flex: 1; max-width: 130px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 10px; text-align: center; box-shadow: var(--sh-2); }
.countdown b { display: block; font-size: clamp(2rem, 5vw, 3rem); color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { color: var(--muted); font-weight: 600; }
.videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }

/* Facts & portal */
.facts-table th { width: 34%; }
.facts-list { display: grid; gap: 10px; }
.facts-list a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); background: #fff; }
.facts-list a:hover { border-color: var(--brand-200); }
.facts-list strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.doc-card { display: grid; gap: 8px; padding: 22px; color: var(--ink-2); }
.doc-card strong { color: var(--ink); font-size: 1.05rem; }
.doc-card .card-ico { margin-bottom: 6px; }

/* Chat widget */
.chat-w { position: fixed; z-index: 90; inset-inline-end: 18px; bottom: 18px; font-size: .95rem; }
.chat-launch { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px color-mix(in oklab, var(--brand) 70%, black); transition: transform .2s var(--ease); position: relative; }
.chat-launch:hover { transform: translateY(-2px) scale(1.03); }
.chat-w.is-open .chat-launch { transform: scale(.9); }
.chat-dot { position: absolute; top: 4px; inset-inline-end: 4px; width: 14px; height: 14px; border-radius: 50%; background: #F04438; border: 2px solid #fff; }
.chat-panel { position: absolute; bottom: 76px; inset-inline-end: 0; width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100vh - 110px)); background: #fff; border-radius: 22px; box-shadow: var(--sh-3), 0 0 0 1px rgba(12, 28, 46, .06); display: flex; flex-direction: column; overflow: hidden; animation: chatIn .25s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; }
.chat-head > div { flex: 1; min-width: 0; display: grid; }
.chat-head strong { font-size: 1rem; }
.chat-head small { opacity: .85; font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.chat-head small i { width: 8px; height: 8px; border-radius: 50%; background: #FDB022; display: inline-block; }
.chat-head small i.on { background: #32D583; }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.chat-wa, .chat-x { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.chat-wa:hover, .chat-x:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.cm { max-width: 86%; padding: 9px 13px; border-radius: 16px; line-height: 1.55; background: #fff; border: 1px solid var(--line); align-self: flex-start; word-wrap: break-word; }
.cm.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); border-end-end-radius: 6px; }
.cm.them { border-end-start-radius: 6px; }
.cm.ai { border-color: var(--brand-100); }
.cm a { color: var(--brand); text-decoration: underline; word-break: break-all; }
.cm.me a { color: #fff; }
.cm b { display: block; font-size: .75rem; color: var(--brand); margin-bottom: 2px; }
.cm img { max-width: 100%; border-radius: 10px; margin-bottom: 4px; display: block; }
.cm small { display: block; font-size: .68rem; opacity: .6; margin-top: 3px; text-align: end; }
.cm.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.cm.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatBlink 1.2s infinite; }
.cm.typing i:nth-child(2) { animation-delay: .2s; } .cm.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes chatBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px; background: var(--surface); }
.chat-quick:not(:empty) { padding-bottom: 10px; }
.chat-quick button { border: 1px solid var(--brand-200); background: #fff; color: var(--brand-700); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chat-quick button:hover { background: var(--brand-50); }
.chat-intro { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-intro p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.chat-intro input { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font: inherit; }
.chat-intro-a { display: flex; gap: 8px; align-items: center; }
.chat-skip { border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; }
.chat-intro small a { color: var(--muted); font-size: .75rem; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 12px; font: inherit; max-height: 120px; line-height: 1.45; }
.chat-form textarea:focus, .chat-intro input:focus { outline: 2px solid var(--brand-200); border-color: var(--brand); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
[dir="rtl"] .chat-form button svg { transform: scaleX(-1); }
.chat-foot { margin: 0; padding: 0 14px 8px; font-size: .7rem; color: var(--muted); text-align: center; background: #fff; }
.chat-foot:empty { display: none; }
@media (max-width: 520px) {
  .chat-w { inset-inline-end: 12px; bottom: 12px; }
  .chat-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0; }
  .chat-w.is-open .chat-launch { display: none; }
}
@media print { .chat-w, .newsletter { display: none !important; } }
.chat-intro[hidden], .chat-form[hidden], .chat-dot[hidden] { display: none !important; }
@media (max-width: 420px) { .newsletter .nl-fields { flex-direction: column; } .newsletter .nl-fields .btn { width: 100%; } }

/* ==========================================================================
   Apex 1.2 — product-first home, focus brand (Kulzer), catalog & ordering
   ========================================================================== */
:root { --kz: #5E9F1F; --kz-50: #F1F8E8; --kz-100: #E2F0CF; }

/* Hero */
.x-hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); background:
  radial-gradient(60% 80% at 100% 0%, var(--brand-50) 0, transparent 60%),
  radial-gradient(50% 60% at 0% 100%, var(--kz-50) 0, transparent 60%); overflow: hidden; }
.x-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.x-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 99px; box-shadow: var(--sh-1); margin-bottom: 22px; }
[dir="rtl"] .x-kicker { letter-spacing: 0; text-transform: none; }
.x-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--kz); box-shadow: 0 0 0 4px var(--kz-100); }
.x-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
[dir="rtl"] .x-hero h1 { line-height: 1.25; letter-spacing: 0; }
.x-hero h1 em { font-style: normal; color: var(--brand); display: block; }
.x-hero .lead { max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.x-proof { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.x-proof div { margin: 0; }
.x-proof dt { font-size: 1.9rem; font-weight: 750; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.x-proof dd { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.x-hero-visual { position: relative; padding: 0 0 36px; }
.x-hero-photo { aspect-ratio: 4 / 5; border-radius: 40px 40px 40px 140px; overflow: hidden; background: var(--surface-2); box-shadow: var(--sh-3); max-width: 480px; margin-inline-start: auto; }
[dir="rtl"] .x-hero-photo { border-radius: 40px 40px 140px 40px; }
.x-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.x-float { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: var(--sh-2); color: var(--ink); max-width: 270px; transition: transform .3s var(--ease); }
.x-float:hover { transform: translateY(-3px); color: var(--ink); }
.x-float-img { width: 64px; height: 64px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; }
.x-float-img img { width: 100%; height: 100%; object-fit: contain; }
.x-float small { display: block; font-size: .72rem; font-weight: 700; color: var(--kz); text-transform: uppercase; letter-spacing: .05em; }
.x-float strong { display: block; font-size: .95rem; line-height: 1.25; }
.x-float--a { inset-inline-start: -8%; top: 14%; }
.x-float--b { inset-inline-start: 4%; bottom: 0; }

/* Badges */
.x-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--kz); padding: 4px 10px; border-radius: 99px; }
[dir="rtl"] .x-badge, [dir="rtl"] .x-float small { letter-spacing: 0; }

/* New launches */
.x-launches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.x-launch { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; color: var(--ink-2); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.x-launch:hover { box-shadow: var(--sh-3); transform: translateY(-4px); color: var(--ink-2); }
.x-launch-media { background: linear-gradient(160deg, var(--surface) 0%, var(--kz-50) 100%); height: clamp(220px, 26vw, 330px); display: flex; align-items: center; justify-content: center; padding: 28px; overflow: hidden; }
.x-launch-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.x-launch-body { padding: 26px 28px 28px; }
.x-launch-body h3 { font-size: 1.55rem; margin: 12px 0 8px; }
.x-specs { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 8px; }
.x-specs li { min-width: 0; display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.x-specs span { color: var(--muted); } .x-specs b { color: var(--ink); font-weight: 600; text-align: end; }

/* Workflow */
.x-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; position: relative; }
.x-flow::before { content: ""; position: absolute; inset-inline: 10%; top: 92px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.x-flow li { position: relative; }
.x-flow a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--ink); padding: 18px 12px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: border-color .2s, box-shadow .3s; }
.x-flow a:hover { border-color: var(--kz); box-shadow: var(--sh-2); color: var(--ink); }
.x-flow-n { font-size: .75rem; font-weight: 700; color: var(--kz); }
.x-flow-img { width: 100%; height: 130px; display: flex; align-items: center; justify-content: center; }
.x-flow-img img { max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; }
.x-flow small { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
[dir="rtl"] .x-flow small { letter-spacing: 0; }
.x-flow strong { font-size: .98rem; line-height: 1.3; }

/* Category tiles */
.x-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-cat { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); border: 1px solid transparent; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.x-cat:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); color: var(--ink); }
.x-cat-img { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.x-cat-img img { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.x-cat--dl { background: var(--brand-900); color: #fff; justify-content: flex-end; }
.x-cat--dl:hover { background: var(--brand-700); color: #fff; border-color: transparent; }
.x-cat--dl .x-cat-img { justify-content: flex-start; } .x-cat--dl .x-cat-img .icon { width: 54px; height: 54px; color: #B8E07F; }
.x-cat--dl small { color: rgba(255,255,255,.75); }
.x-cat strong { font-size: 1.05rem; line-height: 1.3; }
.x-cat small { color: var(--muted); font-size: .85rem; }

/* Catalog band */
.x-catalog { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: var(--r-xl); color: #fff; background:
  radial-gradient(70% 120% at 100% 0%, rgba(122,185,41,.35) 0, transparent 60%), linear-gradient(135deg, var(--brand-900), #08243A); overflow: hidden; }
.x-catalog h2 { color: #fff; margin-bottom: .3em; } .x-catalog p { color: rgba(255,255,255,.78); }
.x-catalog .eyebrow { color: #B8E07F; }
.x-catalog-cover { transform: rotate(-4deg); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); background: #fff; }
[dir="rtl"] .x-catalog-cover { transform: rotate(4deg); }
.x-catalog-cover img { width: 100%; height: auto; }

/* Divisions */
.x-divs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-div { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.x-div img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.x-div::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,18,31,0) 35%, rgba(6,18,31,.86) 100%); }
.x-div:hover img { transform: scale(1.05); } .x-div:hover { color: #fff; }
.x-div-body { position: absolute; inset-inline: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.x-div-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); margin-bottom: 8px; }
.x-div strong { font-size: 1.25rem; } .x-div small { color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.4; }

/* About + services */
.x-about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.x-about-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.x-about-media img { width: 100%; height: 100%; object-fit: cover; }
.x-about-stats { position: absolute; inset-inline: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.x-about-stats div { background: rgba(255,255,255,.95); padding: 14px; } .x-about-stats strong { display: block; font-size: 1.5rem; color: var(--ink); line-height: 1.1; } .x-about-stats span { font-size: .8rem; color: var(--muted); }
.x-services { list-style: none; margin: 22px 0 26px; padding: 0; border-top: 1px solid var(--line); }
.x-services a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.x-services a:hover { color: var(--brand); } .x-services strong { display: block; font-size: 1rem; } .x-services small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.x-services .card-ico { margin: 0; }

/* Product card 1.2 */
.product-card { position: relative; }
.product-card .x-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; }
.product-body .x-meta { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }

/* Ordering table */
.x-order { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.x-order-head { padding: 16px 18px; background: var(--surface); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.x-order-head h2 { font-size: 1.15rem; margin: 0; } .x-order-head p { margin: 0; font-size: .85rem; color: var(--muted); }
.x-order-list { max-height: 420px; overflow: auto; }
.x-order table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.x-order th, .x-order td { padding: 10px 18px; text-align: start; border-top: 1px solid var(--line); }
.x-order thead th { position: sticky; top: 0; background: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 0; }
[dir="rtl"] .x-order thead th { letter-spacing: 0; }
.x-order td:last-child { width: 1%; white-space: nowrap; }
.x-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: copy; }
.x-code:hover { border-color: var(--brand); } .x-code.is-copied { background: var(--kz-50); border-color: var(--kz); }

/* Brand page */
.x-brand-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.x-brand-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.x-brand-logo { height: 54px; margin-bottom: 18px; display: flex; align-items: center; }
.x-brand-logo img { max-height: 54px; width: auto; }
.x-brand-cover { border-radius: var(--r-xl); background: radial-gradient(80% 80% at 50% 40%, #fff 0, var(--kz-50) 100%); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 28px; border: 1px solid var(--line); }
.x-brand-cover img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.x-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-highlights div { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.x-highlights b { display: block; color: var(--ink); font-size: 1.02rem; margin: 10px 0 4px; } .x-highlights p { margin: 0; font-size: .92rem; color: var(--muted); }
.x-highlights .card-ico { margin: 0; background: var(--kz-50); color: var(--kz); }
.x-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.x-cat-tabs a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; background: #fff; }
.x-cat-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.x-group { margin-top: 40px; } .x-group:first-of-type { margin-top: 0; }
.x-group h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.3rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.x-group h3 small { color: var(--muted); font-weight: 500; font-size: .85rem; }
.x-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.x-cases figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.x-cases img { width: 100%; height: 100%; object-fit: cover; }
.x-cases figcaption { font-size: .82rem; color: var(--muted); padding-top: 6px; }
.x-doc { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: var(--ink); }
.x-doc:hover { border-color: var(--brand); color: var(--ink); }
.x-doc-thumb { width: 72px; flex: none; border-radius: 6px; overflow: hidden; box-shadow: var(--sh-2); }
.x-doc small { display: block; color: var(--muted); font-size: .84rem; }

@media (max-width: 1100px) {
  .x-flow { grid-template-columns: repeat(3, 1fr); } .x-flow::before { display: none; }
  .x-cats, .x-divs, .x-highlights, .x-cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .x-hero-grid, .x-brand-grid, .x-about, .x-launches { grid-template-columns: 1fr; }
  .x-hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .x-hero-photo { margin-inline: auto; }
  .x-float--a { inset-inline-start: 0; top: auto; bottom: 90px; }
  .x-float--b { inset-inline-start: auto; inset-inline-end: 0; bottom: 0; }
  .x-catalog { grid-template-columns: 1fr; text-align: start; } .x-catalog-cover { max-width: 160px; }
  .x-about-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .x-flow { grid-template-columns: repeat(2, 1fr); }
  .x-cats { grid-template-columns: 1fr 1fr; gap: 10px; } .x-cat { padding: 12px; } .x-cat-img { height: 100px; } .x-cat-img img { max-height: 100px; }
  .x-divs { grid-template-columns: 1fr 1fr; gap: 10px; } .x-div { aspect-ratio: 3 / 4; } .x-div-body { padding: 14px; } .x-div strong { font-size: 1.05rem; } .x-div small { display: none; }
  .x-highlights, .x-cases { grid-template-columns: 1fr 1fr; }
  .x-float { max-width: 210px; padding: 8px 12px 8px 8px; } .x-float-img { width: 48px; height: 48px; } .x-float strong { font-size: .86rem; }
  .x-proof { gap: 8px 24px; } .x-proof dt { font-size: 1.5rem; }
  .x-order th, .x-order td { padding: 9px 12px; }
  .x-about-stats strong { font-size: 1.2rem; }
}
.x-float-ico { width: 44px; height: 44px; background: var(--brand-50); color: var(--brand); }
.x-float-ico .icon { width: 22px; height: 22px; }
div.x-float small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .8rem; }

/* Apex 1.3 — built-in captcha */
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-row img { border-radius: 10px; border: 1px solid var(--line); background: #F6F9FA; width: 150px; height: 50px; }
.captcha-row input { flex: 1 1 140px; min-width: 120px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.captcha-refresh { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.captcha-refresh:hover { border-color: var(--brand); color: var(--brand); }

/* Apex 1.3.1 — inner page hero with a framed photo (signature: the asymmetric frame of the home hero) */
.page-hero--photo { padding-bottom: clamp(28px, 4vw, 56px); }
.ph-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.ph-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px 28px 28px 96px; overflow: hidden; box-shadow: var(--sh-3); background: var(--surface-2); }
[dir="rtl"] .ph-photo { border-radius: 28px 28px 96px 28px; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-photo:hover img { transform: scale(1.02); }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } .ph-photo { aspect-ratio: 16 / 9; border-radius: 20px 20px 20px 64px; } [dir="rtl"] .ph-photo { border-radius: 20px 20px 64px 20px; } }

/* 1.3.1 — vertical (phone) event videos */
.videos video.is-portrait { aspect-ratio: 9 / 16; height: auto; max-height: 78vh; width: auto; max-width: 100%; justify-self: start; }
