/* 5 Stars for Trade and Import — public site styles.
   One stylesheet for both directions: layout uses logical properties (inline-start/end). */

:root {
  --navy-900: #0a2a43;
  --navy: #0e3a5a;
  --blue: #1c6ea4;
  --sky: #4fa9e2;
  --lime: #a4c639;
  --lime-600: #86a81f;
  --lime-50: #f1f7dc;
  --ink: #14262f;
  --muted: #586a76;
  --line: #e1e9ee;
  --tint: #f3f7fa;
  --white: #fff;
  --wa: #1fae54;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(14, 58, 90, .22);
  --shadow-lg: 0 24px 60px -24px rgba(10, 42, 67, .45);
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
}
html[lang="ar"] { --font: "Cairo", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--white); overflow-x: hidden; }
html[lang="ar"] body { font-size: 17px; line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.3; color: var(--navy); font-weight: 800; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.5; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ic { flex: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95em; line-height: 1.4; transition: transform .15s, background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px var(--blue); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--lime { background: var(--lime); color: var(--navy-900); }
.btn--lime:hover { background: #b6d94a; color: var(--navy-900); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--blue); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17964a; color: #fff; }
.btn--block { width: 100%; }
[dir="rtl"] .btn .ic:last-child:not(:first-child), [dir="rtl"] .link .ic { transform: scaleX(-1); }
[dir="rtl"] .btn--wa .ic { transform: none; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.link:hover .ic { translate: 4px 0; }
[dir="rtl"] .link:hover .ic { translate: -4px 0; }
.link .ic { transition: translate .15s; }

.tag { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: .78em; font-weight: 700; background: var(--tint); color: var(--navy); }
.tag--inactivated, .tag--event { background: #e3f0fa; color: #135a89; }
.tag--live, .tag--news { background: var(--lime-50); color: #55700c; }
.tag--cat { background: var(--navy); color: #fff; }
.tag--cat:hover { color: var(--lime); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy-900); color: #cfe0ec; font-size: .82em; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 24px; align-items: center; min-width: 0; }
.topbar a, .topbar span { color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--lime); }
.topbar__lang { font-weight: 700; color: #fff !important; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 8px 24px -16px rgba(10, 42, 67, .5); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn) { padding: 8px 11px; color: var(--ink); font-weight: 600; font-size: .9em; border-radius: 8px; position: relative; white-space: nowrap; }
.nav > a:not(.btn):hover { color: var(--blue); background: var(--tint); }
.nav > a.is-active { color: var(--blue); }
.nav > a.is-active::after { content: ""; position: absolute; inset-inline: 11px; bottom: 0; height: 3px; border-radius: 3px; background: var(--lime); }
.nav__cta { margin-inline-start: 10px; padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 45%, #175f8e 100%); color: #fff; padding-top: 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(112deg, transparent 0 57%, var(--lime) 57% 58.2%, transparent 58.2%),
    linear-gradient(112deg, transparent 0 58.2%, rgba(255, 255, 255, .06) 58.2%); }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-bottom: 116px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(164, 198, 57, .16); color: #d6ee8a; font-weight: 700; font-size: .85em; border: 1px solid rgba(164, 198, 57, .4); }
.hero__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 20px 0 18px; }
.hero__text > p { font-size: 1.1em; color: #d3e3ee; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__panel { position: relative; aspect-ratio: 1 / 1; background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__panel::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 9px; background: linear-gradient(90deg, var(--lime), var(--sky)); }
.hero__bottle { position: absolute; bottom: 7%; height: 70%; width: auto; max-width: none; mix-blend-mode: multiply; }
.hero__bottle--1 { height: 84%; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__bottle--2 { left: 3%; }
.hero__bottle--3 { right: 3%; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo--contain { inset: 7%; width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.hero__photo--cover { object-fit: cover; }

/* slider: slides share one grid cell so the hero keeps the height of the tallest slide */
.hero__slides { position: relative; display: grid; }
.hero__slides > .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero__slides > .slide.is-active { opacity: 1; visibility: visible; }
.slide .hero__text > *, .slide .hero__panel { transition: transform .7s ease; transform: translateY(18px); }
.slide.is-active .hero__text > *, .slide.is-active .hero__panel { transform: none; }
.hero__nav { position: absolute; bottom: 38px; inset-inline-start: 0; display: flex; align-items: center; gap: 14px; }
.hero__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s, color .15s; }
.hero__arrow:hover { background: var(--lime); border-color: var(--lime); color: var(--navy-900); }
.hero__arrow--prev .ic, [dir="rtl"] .hero__arrow--next .ic { transform: scaleX(-1); }
[dir="rtl"] .hero__arrow--prev .ic { transform: none; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 30px; background: var(--lime); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: translateY(50%); margin-top: -64px; }
.stats > div { padding: 22px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stats > div:first-child { border: 0; }
.stats dt { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--blue); line-height: 1.2; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: .88em; font-weight: 600; }
.hero + .section { padding-top: 150px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(120deg, var(--navy-900), var(--navy)); color: #dbe8f1; }
.section--navy h2 { color: #fff; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--lime-600); font-weight: 800; font-size: .85em; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .95em; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--lime); }
.section--navy .kicker { color: var(--lime); }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.prose { color: var(--muted); }
.prose--lg { font-size: 1.06em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1em; display: grid; gap: 8px; }
.prose li { position: relative; padding-inline-start: 22px; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
html[lang="ar"] .prose li::before { top: .8em; }

/* ---------- split (text + photos) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; padding-block-end: 44px; padding-inline-end: 44px; }
.split__media::before { content: ""; position: absolute; inset-block: 28px 0; inset-inline: 28px 0; border-radius: var(--radius); background: linear-gradient(135deg, var(--lime), var(--sky)); opacity: .25; }
.split__media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--single { padding: 0 0 28px; }
.split__media .split__media-sm { position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; border: 6px solid #fff; }
.checks { display: grid; gap: 12px; margin: 24px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks .ic { color: var(--lime-600); margin-top: .35em; }
.checks strong { color: var(--navy); }

/* ---------- cards ---------- */
.pcard, .ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover, .ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; background: #f4f5f6; padding: 18px; }
.pcard__img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__img .tag { position: absolute; top: 14px; inset-inline-start: 14px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.pcard__cat { color: var(--lime-600); font-size: .8em; font-weight: 700; }
.pcard h3 { font-size: 1.02em; margin: 4px 0 8px; }
.pcard h3 a, .ncard h3 a { color: inherit; }
.pcard h3 a:hover, .ncard h3 a:hover { color: var(--blue); }
.pcard p { color: var(--muted); font-size: .9em; margin-bottom: 14px; }
.pcard .link { margin-top: auto; font-size: .9em; }

.ncard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard__img img { transform: scale(1.06); }
.ncard__body { padding: 20px 22px 24px; }
.ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: .85em; margin-bottom: 10px; }
.ncard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ncard h3 { font-size: 1.08em; }
.ncard p { color: var(--muted); font-size: .92em; margin: 0; }

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--lime-50); color: var(--navy); margin-bottom: 16px; flex: none; }
.feature__icon--sm { width: 38px; height: 38px; border-radius: 10px; margin: 0; }
.feature h3 { font-size: 1.1em; }
.feature p { color: var(--muted); margin: 0; font-size: .95em; }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline: 0; top: 21px; height: 2px; background: rgba(255, 255, 255, .2); }
.timeline li { position: relative; padding: 0 14px; text-align: center; }
.timeline__year { position: relative; display: inline-block; padding: 5px 18px; border-radius: 999px; background: var(--lime); color: var(--navy-900); font-weight: 800; font-size: 1.05em; margin-bottom: 16px; }
.timeline p { margin: 0; font-size: .93em; }

/* ---------- logos / partners ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logos__item, .partner__logo { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; height: 120px; }
.logos__item img, .partner__logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.partner { display: block; text-align: center; color: inherit; }
.partner__logo { height: 150px; margin-bottom: 14px; transition: box-shadow .2s, transform .2s; }
.partner:hover .partner__logo { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner h2 { font-size: 1em; margin-bottom: 4px; }
.partner p { color: var(--muted); font-size: .88em; margin: 0; }
.clients { display: grid; gap: 20px; }
.clients img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 20px; }

/* ---------- cta band ---------- */
.cta-band { position: relative; background: linear-gradient(110deg, var(--blue), var(--navy)); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 78%, var(--lime) 78% 79.5%, rgba(255, 255, 255, .07) 79.5%); }
[dir="rtl"] .cta-band::before { transform: scaleX(-1); }
.cta-band__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-block: 52px; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d3e3ee; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #175f8e); color: #d3e3ee; padding: 54px 0 60px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 72%, var(--lime) 72% 73.2%, rgba(255, 255, 255, .06) 73.2%); }
[dir="rtl"] .page-hero::before { transform: scaleX(-1); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 22em; margin: 0; }
.page-hero p { margin: 10px 0 0; max-width: 60ch; font-size: 1.05em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85em; margin-bottom: 14px; color: #a9c3d6; }
.crumbs a { color: #cfe0ec; }
.crumbs a:hover { color: var(--lime); }

/* ---------- about ---------- */
.mv { background: #fff; border-radius: var(--radius); padding: 34px 32px; border: 1px solid var(--line); border-top: 5px solid var(--blue); }
.mv--vision { border-top-color: var(--lime); }
.mv h2 { font-size: 1.4em; }
.leaders { margin-bottom: 26px; }
.leader { text-align: center; padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.leader__avatar { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; margin-bottom: 14px; }
.leader h3 { font-size: 1.1em; margin-bottom: 4px; }
.leader p { color: var(--muted); margin: 0; font-size: .92em; }
.dept { background: var(--tint); border-radius: var(--radius); padding: 22px; }
.dept .ic { color: var(--lime-600); }
.dept h3 { font-size: 1em; margin: 8px 0 4px; }
.dept p { color: var(--muted); font-size: .88em; margin: 0; }

/* ---------- products list ---------- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.filters__search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); transition: border-color .15s; }
.filters__search:focus-within { border-color: var(--blue); }
.filters__search input { flex: 1; border: 0; outline: 0; padding: 14px 0; font: inherit; background: none; color: var(--ink); min-width: 0; }
.filters__select { display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .9em; font-weight: 600; }
.filters__select select { border: 0; outline: 0; background: none; font: inherit; font-weight: 700; color: var(--navy); padding: 14px 0; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 700; font-size: .9em; border: 2px solid transparent; transition: background .15s, color .15s; }
.chip b { font-size: .82em; background: #fff; color: var(--muted); border-radius: 999px; padding: 0 8px; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--navy); color: #fff; }
.results { color: var(--muted); font-size: .9em; margin-bottom: 18px; }
.results b { color: var(--navy); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--tint); border-radius: var(--radius); }

/* ---------- product detail ---------- */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; margin-bottom: 56px; }
.product__img { position: relative; display: block; width: 100%; border: 1px solid var(--line); border-radius: 24px; background: #f4f5f6; padding: 34px; aspect-ratio: 1 / 1; cursor: zoom-in; }
.product__img img { position: absolute; inset: 34px; width: calc(100% - 68px); height: calc(100% - 68px); object-fit: contain; mix-blend-mode: multiply; }
.product__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.product__summary { font-size: 1.15em; color: var(--ink); }
.facts { margin: 24px 0 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 20px; }
.facts > div:nth-child(odd) { background: var(--tint); }
.facts dt { color: var(--muted); font-weight: 600; font-size: .92em; }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); font-size: .95em; overflow-wrap: anywhere; }
[dir="rtl"] .facts dd[dir="ltr"] { text-align: right; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.spec h2 { display: flex; align-items: center; gap: 12px; font-size: 1.15em; margin-bottom: 14px; }
.note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding: 16px 20px; border-radius: 12px; background: #fff8e6; color: #6b5310; font-size: .9em; border: 1px solid #f2dfa3; }
.note .ic { margin-top: .3em; }

/* ---------- services ---------- */
.services { display: grid; gap: 28px; }
.service { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.service:nth-child(even) .service__media { order: 2; }
.service--plain { grid-template-columns: 1fr; background: var(--tint); border-color: transparent; }
.service__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.service__body { position: relative; padding: 40px 44px; align-self: center; }
.service__num { position: absolute; top: 22px; inset-inline-end: 32px; font-size: 3.4rem; font-weight: 800; color: var(--line); line-height: 1; }
.service--plain .service__num { color: #dde6ec; }
.service h2 { font-size: 1.4em; }

/* ---------- news article ---------- */
.article { max-width: 880px; }
.article__cover { display: block; width: 100%; padding: 0; border: 0; background: none; margin: 8px 0 28px; cursor: zoom-in; }
.article__cover img { width: 100%; border-radius: 24px; }
.article__h { font-size: 1.3em; margin: 40px 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button { padding: 0; border: 0; background: var(--tint); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.06); }
.link--back { margin-top: 36px; }
.link--back .ic { transform: scaleX(-1); }
[dir="rtl"] .link--back .ic { transform: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .feature__icon { margin: 0; }
.info-card h2 { font-size: 1em; margin-bottom: 2px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { color: var(--muted); font-weight: 600; }
.info-card a:hover { color: var(--blue); }
[dir="rtl"] .keep-start { text-align: right; }
.form { background: var(--tint); border-radius: 24px; padding: 36px; display: grid; gap: 18px; scroll-margin-top: 110px; }
.form h2 { font-size: 1.4em; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9em; color: var(--navy); }
.form label small { color: var(--muted); font-weight: 500; }
.form input, .form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); }
[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .95em; }
.alert--ok { background: #e4f6ea; color: #17663a; }
.alert--err { background: #fde8e8; color: #9b1c1c; }
.map { margin-top: 48px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #b9cedd; font-size: .93em; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-block: 64px 48px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 18px; }
.footer__logo img { height: 56px; width: auto; }
.footer h3 { color: #fff; font-size: 1.02em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: inherit; }
.footer a:hover { color: var(--lime); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--lime); margin-top: .35em; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--lime); color: var(--navy-900); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .88em; text-align: center; }

/* ---------- floating whatsapp, lightbox, 404 ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 174, 84, .7); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(6, 22, 35, .92); padding: 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); border-radius: 12px; background: #fff; }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; }
.notfound { text-align: center; }
.notfound__code { display: block; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; }
  .nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 42, 67, .5); padding: 10px 20px 20px; display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 13px 8px; font-size: 1em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a.is-active::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; padding-bottom: 124px; }
  .hero__nav { bottom: 58px; inset-inline: 0; justify-content: center; }
  .hero__visual { max-width: 440px; width: 100%; margin-inline: auto; }
  .split, .product, .contact { grid-template-columns: 1fr; gap: 40px; }
  .product__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none !important; }
  .hero::before { display: none; }
  .page-hero::before { background: linear-gradient(112deg, transparent 0 90%, var(--lime) 90% 92%, rgba(255, 255, 255, .06) 92%); }
  .timeline { grid-auto-flow: row; gap: 22px; padding-inline-start: 8px; }
  .timeline::before { inset-inline: 8px auto; inset-block: 6px; top: 6px; width: 2px; height: auto; }
  .timeline li { text-align: start; padding-inline-start: 30px; }
  .timeline li::before { content: ""; position: absolute; inset-inline-start: -5px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
  .timeline__year { margin-bottom: 8px; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .grid--2, .grid--3, .specs, .form__row { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .depts.grid--4, .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); transform: translateY(40%); }
  .stats > div:nth-child(3) { border-inline-start: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero + .section { padding-top: 170px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos__item { height: 96px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .pcard__body { padding: 14px; }
  .pcard p { display: none; }
  .pcard h3 { font-size: .92em; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 24px 20px; }
  .service__body { padding: 30px 24px; }
  .hide-sm { display: none !important; }
  .brand img { height: 48px; }
  .header__in { min-height: 68px; }
  .hero__actions .btn, .cta-band__actions .btn, .product__actions .btn { flex: 1 1 auto; }
  .split__media { padding-block-end: 30px; padding-inline-end: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
