/* Max Medica — public site. Navy + red from the company emblem; logical properties so RTL (ar, ku) mirrors. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/PlusJakartaSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/PlusJakartaSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 400; font-display: swap; src: url(../fonts/NotoSansArabic-Regular.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans Arabic'; font-weight: 600 800; font-display: swap; src: url(../fonts/NotoSansArabic-SemiBold.woff2) format('woff2'); }

:root {
  --navy: #091d5d;
  --navy-2: #12307f;
  --navy-ink: #050f36;
  --red: #c70306;
  --red-soft: #fdecec;
  --ink: #101a33;
  --muted: #5a6580;
  --line: #e2e7f1;
  --tint: #f3f6fb;
  --tint-2: #e9eef8;
  --bg: #ffffff;
  --wa: #1fa855;
  --radius: 18px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(9, 29, 93, .06), 0 2px 8px rgba(9, 29, 93, .05);
  --shadow: 0 2px 4px rgba(9, 29, 93, .05), 0 12px 32px rgba(9, 29, 93, .09);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-rtl: 'Noto Sans Arabic', 'Plus Jakarta Sans', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
[dir=rtl] body { font-family: var(--font-rtl); line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 800; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { letter-spacing: 0; line-height: 1.45; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
[dir=rtl] .flip { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid #f2a33a; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 639px) { .hide-s { display: none !important; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; white-space: nowrap; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 8px 22px rgba(9, 29, 93, .25); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--red); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-ghost-inv { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-inv:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924a; color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; margin-top: 14px; }

/* kicker */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
[dir=rtl] .kicker { letter-spacing: 0; font-size: .9rem; }
.kicker-inv { color: #ffb3b4; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(9, 29, 93, .06); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); min-width: 0; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-txt b { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand-txt small { font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
[dir=rtl] .brand-txt small { font-size: .78rem; }
.nav { margin-inline-start: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > ul > li > a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 650; font-size: .95rem; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--navy); background: var(--tint); }
.nav > ul > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 10px 10px 4px 4px; }
.only-m { display: none !important; }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; background: var(--tint); border-radius: 999px; padding: 3px; }
.langs a { padding: 6px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); line-height: 1.3; }
.langs a[lang^=ar], .langs a[lang^=ku] { font-family: var(--font-rtl); }
.langs a[aria-current] { background: #fff; color: var(--navy); box-shadow: var(--shadow-s); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--tint); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .ic { width: 24px; height: 24px; }
.burger .i-close { display: none; }

.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 8px); inset-inline-start: -40px; display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 6px 28px; width: max-content; max-width: 760px;
  padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col a { color: var(--muted); font-size: .9rem; padding: 3px 0; }
.mega-col a:hover { color: var(--red); }
.mega-col .mega-h { color: var(--navy); font-weight: 800; font-size: .95rem; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--tint-2); }

@media (max-width: 1320px) { .hdr .brand-txt small { display: none; } }
@media (max-width: 1180px) {
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .burger { display: inline-flex; }
  .langs-d { display: none; }
  .only-m { display: block !important; }
  .nav { position: fixed; inset: var(--hdr) 0 0 0; background: #fff; padding: 18px 20px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  [dir=rtl] .nav { transform: translateX(-100%); }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .burger .i-open { display: none; }
  .nav-open .burger .i-close { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { padding: 14px 6px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > ul > li > a[aria-current] { box-shadow: none; color: var(--red); background: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 6px 14px; display: block; width: auto; }
  .mega-col { margin-bottom: 10px; }
  .mega-col a:not(.mega-h) { display: none; }
  .mega-col .mega-h { border: 0; padding: 4px 0; margin: 0; font-weight: 650; color: var(--muted); }
  .langs-m { margin-top: 22px; justify-content: center; }
  .langs-m a { flex: 1; text-align: center; padding: 10px; font-size: .95rem; }
  .brand-txt small { max-width: 22ch; }
}
@media (max-width: 420px) { .brand-txt small { display: none; } }

/* hero */
.hero { position: relative; color: #fff; padding: 64px 0 0; background:
  radial-gradient(900px 500px at 85% 20%, rgba(70, 110, 230, .35), transparent 60%),
  radial-gradient(700px 420px at 10% 90%, rgba(199, 3, 6, .22), transparent 60%),
  linear-gradient(135deg, #0a2168 0%, var(--navy) 45%, var(--navy-ink) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 480px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 26px; }
.hero-art { position: relative; aspect-ratio: 1 / .92; }
.hero-tile { position: absolute; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); padding: 18px 18px 40px; display: flex; align-items: center; justify-content: center; }
.hero-tile img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.hero-tile span { position: absolute; inset-inline: 18px; bottom: 12px; font-size: .78rem; font-weight: 800; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; }
.hero-tile.t1 { inset-inline-start: 4%; top: 6%; width: 56%; height: 58%; transform: rotate(-2deg); }
.hero-tile.t2 { inset-inline-end: 0; top: 0; width: 40%; height: 40%; transform: rotate(3deg); }
.hero-tile.t3 { inset-inline-end: 6%; bottom: 4%; width: 46%; height: 44%; transform: rotate(-1deg); }
.hero-seal { position: absolute; inset-inline-start: 14%; bottom: 6%; width: 92px; height: 92px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.hero-seal img { border-radius: 50%; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; background: #fff; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .12); }
.stats div { padding: 24px 28px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 2px; }
.stats div:first-child { border-inline-start: 0; }
.stats dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.stats dd { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .stats div:nth-child(3) { border-inline-start: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats div { padding: 18px 20px; }
}

/* sections */
.sec { padding: 92px 0; }
.sec-tight { padding: 44px 0 80px; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 1.06rem; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.sec-head-row > div { max-width: 680px; }
@media (max-width: 700px) { .sec { padding: 64px 0; } }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.chips li, .chips a { font-size: .78rem; font-weight: 650; color: var(--navy-2); background: var(--tint-2); padding: 4px 10px; border-radius: 999px; line-height: 1.5; }
[dir=rtl] .chips li, [dir=rtl] .chips a { font-size: .85rem; }
.chips li:has(a) { padding: 0; background: none; }
.chips a:hover { background: var(--navy); color: #fff; }
.chip-more { background: var(--navy) !important; color: #fff !important; }

/* divisions */
.divs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.div-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .25s, transform .25s, border-color .25s; }
.div-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.div-img { height: 240px; background: radial-gradient(circle at 50% 40%, #fff, var(--tint-2)); display: flex; align-items: center; justify-content: center; padding: 22px; }
.div-img img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.div-card:hover .div-img img { transform: scale(1.04); }
.div-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.div-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin: -48px 0 14px; position: relative; box-shadow: 0 8px 20px rgba(9, 29, 93, .3); }
.div-ic .ic { width: 24px; height: 24px; }
.div-body p { color: var(--muted); margin-bottom: 4px; }
.div-body .chips { margin-bottom: 18px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 750; color: var(--red); }
@media (max-width: 900px) { .divs { grid-template-columns: 1fr; max-width: 560px; } }

/* logo wall */
.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-wall a { display: flex; align-items: center; justify-content: center; height: 104px; padding: 18px; background: #fff; border-radius: var(--radius-s); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.logo-wall img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-wall a:hover { box-shadow: var(--shadow-s); border-color: transparent; }
.logo-wall a:hover img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } .logo-wall a { height: 88px; } }

/* why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--red-soft); color: var(--red); margin-bottom: 16px; }
.why-ic .ic { width: 26px; height: 26px; }
.why-item p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* product-line cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card-a { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.card-a:hover { color: var(--ink); }
.card-img { height: 236px; background: radial-gradient(circle at 50% 45%, #fff 0, var(--tint) 75%); display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid var(--line); }
.card-img img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-brand { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; min-width: 0; }
.card-logo { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; padding: 3px; flex: none; }
.card-logo img { max-height: 100%; object-fit: contain; }
.card-bn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-cc { margin-inline-start: auto; color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.card-t { font-size: 1.12rem; margin-bottom: 6px; }
.card-s { color: var(--muted); font-size: .94rem; margin: 0; }

/* trust: letters + events */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.trust p:not(.kicker) { color: var(--muted); }
.letters-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.letter { display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); aspect-ratio: 3 / 4; transition: transform .25s, box-shadow .25s; position: relative; }
.letter img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.letter:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; gap: 10px; margin-top: 22px; }
.mosaic a { border-radius: 12px; overflow: hidden; display: block; }
.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; gap: 48px; } }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy-ink), var(--navy) 55%, #18328c); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; inset-inline-end: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; }

/* page head + breadcrumbs */
.phead { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.phead h1 { margin-bottom: 10px; }
.phead .lead { margin: 0; }
.phead-brand { padding: 22px 0 0; border: 0; background: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--red); }
.crumbs a:not(:last-child)::after { content: '/'; margin-inline-start: 8px; color: #b9c1d3; }

/* filters */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters .tabs { margin: 0; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 650 .92rem/1.3 inherit; font-family: inherit; cursor: pointer; transition: .2s; }
.tabs a:hover, .tabs button:hover { border-color: var(--navy); color: var(--navy); }
.tabs [aria-current], .tabs [aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs [aria-current]:hover, .tabs [aria-pressed=true]:hover { color: #fff; }
.tabs .ic { width: 18px; height: 18px; }
.n { font-size: .75rem; font-weight: 800; background: var(--tint-2); color: var(--navy); border-radius: 999px; padding: 1px 8px; }
[aria-current] > .n, [aria-pressed=true] > .n { background: rgba(255, 255, 255, .18); color: #fff; }
.search { position: relative; flex: 0 1 340px; min-width: 240px; }
.search .ic { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line); padding-inline: 44px 16px; font: inherit; background: #fff; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18, 48, 127, .1); }
.chips-filter { margin: 0 0 18px; }
.chips-filter a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; font-size: .84rem; }
.chips-filter a[aria-current] { background: var(--red); color: #fff; }
.chips-filter a[aria-current] .n { background: rgba(255, 255, 255, .25); color: #fff; }
.count { color: var(--muted); font-size: .92rem; margin: 6px 0 20px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 1.1rem; }

/* product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-media { position: sticky; top: calc(var(--hdr) + 20px); }
.pd-main { display: flex; align-items: center; justify-content: center; height: clamp(300px, 40vw, 520px); background: radial-gradient(circle at 50% 45%, #fff 0, var(--tint) 75%); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; cursor: zoom-in; }
.pd-main img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs a { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; display: flex; align-items: center; justify-content: center; cursor: zoom-in; transition: border-color .2s; }
.pd-thumbs a:hover { border-color: var(--navy); }
.pd-thumbs img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.pd-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pd-logo { width: 74px; height: 74px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; flex: none; }
.pd-logo img { max-height: 100%; object-fit: contain; }
.pd-bn { display: block; font-weight: 800; color: var(--navy); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.pd-cc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.pd-info h1 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.pd-info .chips { margin: 20px 0 22px; }
.prose { font-size: 1.02rem; }
.prose h3 { font-size: 1.08rem; margin: 22px 0 6px; color: var(--navy); }
.prose ul { padding-inline-start: 0; list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-inline-start: 26px; margin-bottom: 6px; }
.prose li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 32px; } .pd-media { position: static; } }

/* brands page */
.brand-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.brand-grid a { display: flex; flex-direction: column; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: .25s; }
.brand-grid a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.bg-logo { height: 76px; display: flex; align-items: center; margin-bottom: 14px; }
.bg-logo img { max-height: 64px; max-width: 70%; object-fit: contain; }
.bg-name { font-weight: 800; color: var(--navy); }
.bg-cc { font-size: .85rem; color: var(--muted); }
.bg-line { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.brand-grid li[hidden] { display: none; }

/* about */
.about { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: start; }
.about-txt .lead { color: var(--ink); font-weight: 600; max-width: none; }
.about-txt p { color: #34405c; }
.facts { background: var(--tint); border-radius: var(--radius); padding: 28px; text-align: center; }
.facts-logo { width: 180px; margin: 0 auto 18px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: var(--shadow-s); }
.facts dl { margin: 0; text-align: start; }
.facts dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
[dir=rtl] .facts dt { letter-spacing: 0; font-size: .88rem; }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.vm-card h2 { font-size: 1.5rem; }
.vm-card p { color: #34405c; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: #34405c; }
.ticks .ic { color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid a { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: block; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .about, .vm { grid-template-columns: 1fr; } .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* letters page */
.letter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.letter-cap { position: absolute; inset: auto 0 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(5, 15, 54, .85)); color: #fff; font-size: .82rem; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.ci { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ci h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 4px; font-weight: 800; }
[dir=rtl] .ci h2 { letter-spacing: 0; font-size: .92rem; }
.ci p { margin: 0; color: var(--ink); font-weight: 600; }
.ci a { display: block; font-weight: 650; color: var(--ink); word-break: break-word; }
[dir=rtl] .ci a[dir=ltr] { text-align: right; }
.ci a:hover { color: var(--red); }
.ci-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--navy); }
.form-card input, .form-card textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #d4dbe8; border-radius: 12px; padding: 12px 14px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18, 48, 127, .1); background: #fff; }
.form-card textarea { resize: vertical; min-height: 140px; }
[dir=rtl] .form-card input[dir=ltr] { text-align: right; }
.form-card button { justify-self: start; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.alert-ok { background: #e7f7ee; color: #146c3b; }
.alert-err { background: var(--red-soft); color: #9b0205; }
.map { position: relative; height: 420px; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-open { position: absolute; inset-inline-start: 20px; bottom: 20px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* 404 */
.nf-box { text-align: center; max-width: 620px; }
.nf-box .lead { margin-inline: auto; }
.nf-box .btns { justify-content: center; }
.nf-code { font-size: 6rem; font-weight: 800; color: var(--tint-2); margin: 0; line-height: 1; }

/* footer */
.ftr { background: var(--navy-ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.brand-inv { color: #fff; margin-bottom: 16px; }
.brand-inv:hover { color: #fff; }
.brand-inv small { color: rgba(255, 255, 255, .6); }
.ftr-about p { max-width: 42ch; }
.ftr-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 8px 0 18px; }
[dir=rtl] .ftr-h { letter-spacing: 0; font-size: .95rem; }
.ftr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a { color: rgba(255, 255, 255, .82); }
.ftr a:hover { color: #fff; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .ic { color: #ff8a8c; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials .ic { width: 22px; height: 22px; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }

/* WhatsApp floating button */
.wa-fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(31, 168, 85, .45); transition: transform .2s; }
.wa-fab:hover { color: #fff; transform: scale(1.07); }
.wa-fab .ic { width: 30px; height: 30px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5, 12, 40, .92); display: flex; align-items: center; justify-content: center; padding: 60px 72px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); width: auto; object-fit: contain; border-radius: 8px; background: #fff; }
.lb figcaption { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb button .ic { width: 24px; height: 24px; }
.lb-x { top: 16px; inset-inline-end: 16px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev .ic { transform: scaleX(-1); }
[dir=rtl] .lb-prev .ic { transform: none; }
[dir=rtl] .lb-next .ic { transform: scaleX(-1); }
@media (max-width: 600px) { .lb { padding: 64px 10px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .wa-fab, .cta, .map { display: none; } }
