/* Ultimate Solutions — ultimate.carrefour.et
   Visual language cloned from ultimate-sa.com: deep navy ground, white cards with
   large radii, green accents, the Ultimate custom face, wave-line backgrounds. */

@font-face { font-family: "Ultimate"; font-weight: 300; font-display: swap; src: url("../fonts/Ultimate-Light.ttf") format("truetype"); }
@font-face { font-family: "Ultimate"; font-weight: 400; font-display: swap; src: url("../fonts/Ultimate-Regular.ttf") format("truetype"); }
@font-face { font-family: "Ultimate"; font-weight: 500; font-display: swap; src: url("../fonts/Ultimate-Medium.ttf") format("truetype"); }
@font-face { font-family: "Ultimate"; font-weight: 600; font-display: swap; src: url("../fonts/Ultimate-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Ultimate"; font-weight: 700; font-display: swap; src: url("../fonts/Ultimate-Bold.ttf") format("truetype"); }
@font-face { font-family: "Ultimate"; font-weight: 800; font-display: swap; src: url("../fonts/Ultimate-ExtraBold.ttf") format("truetype"); }
/* Ethiopic glyphs for the Amharic pages: Noto Sans Ethiopic (variable weight), Latin stays Ultimate */
@font-face { font-family: "Noto Sans Ethiopic"; font-weight: 300 800; font-display: swap; src: url("../fonts/NotoSansEthiopic-ethiopic.woff2") format("woff2"); unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE; }
@font-face { font-family: "Noto Sans Ethiopic"; font-weight: 300 800; font-display: swap; src: url("../fonts/NotoSansEthiopic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF; }

:root {
  --navy: #050065;
  --navy-2: #0a0a8a;
  --navy-3: #252772;
  --navy-btn: #2C2F88;
  --green: #13A438;
  --green-2: #0d8f2f;
  --ink: #1b1b3a;
  --muted: #5f6170;
  --muted-2: #8a8c99;
  --line: #e4e6f0;
  --bg: #ffffff;
  --bg-soft: #f4f5fa;
  --bg-tint: #eef0fa;
  --card-shadow: 0 24px 60px rgba(5, 0, 101, .10);
  --radius: 24px;
  --radius-s: 14px;
  --container: 1280px;
  --font: "Ultimate", "Tajawal", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; color: var(--navy-3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
html[lang="am"] { --font: "Ultimate", "Noto Sans Ethiopic", "Nyala", "Abyssinica SIL", system-ui, sans-serif; }
html[lang="am"] body { line-height: 1.8; }
html[lang="am"] h1, html[lang="am"] h2, html[lang="am"] h3 { line-height: 1.35; }
.lang-menu { list-style: none; margin: 0; padding: 0; }
.lang-menu > li { position: relative; }
.lang-menu .lang > a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-3); font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.lang-menu .lang > a:hover { color: var(--green); }
.lang-menu .lang > a svg:first-child { width: 18px; height: 18px; color: var(--green); }
.lang-menu .dropdown { inset-inline-start: auto; inset-inline-end: 0; min-width: 170px; }
.lang-menu .lang .caret { width: 12px; height: 12px; opacity: .7; }
.dropdown a.current { color: var(--green); font-weight: 700; }
.drawer-langs { display: flex; gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-langs a { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.drawer-langs a.current { background: #fff; color: var(--navy); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { inset-inline-start: 8px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: 88px 0; position: relative; }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); display: inline-flex; align-items: center; gap: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section.navy .section-head p { color: rgba(255,255,255,.82); }
.chev { display: inline-block; vertical-align: middle; width: 22px; height: 22px; color: var(--green); flex: none; }
.chev svg { width: 100%; height: 100%; }
[dir="rtl"] .chev { transform: scaleX(-1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px; font-weight: 600; font-size: 15.5px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn.green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(19,164,56,.28); }
.btn.green:hover { background: var(--green-2); }
.btn.navy { background: var(--navy-btn); color: #fff; }
.btn.navy:hover { background: var(--navy); }
.btn.outline { border-color: var(--navy-3); color: var(--navy-3); background: #fff; }
.btn.outline:hover { background: var(--navy-3); color: #fff; }
.btn.outline-w { border-color: #fff; color: #fff; }
.btn.outline-w:hover { background: #fff; color: var(--navy); }
.btn.small { padding: 9px 22px; font-size: 14px; border-radius: 6px; }
.btn .arrow { width: 16px; height: 16px; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ───────────────────────────── header ───────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900; background: #fff;
  box-shadow: 0 2px 0 rgba(5,0,101,.06); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(5,0,101,.12); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .2s; }
.scrolled .header-row { height: 68px; }
.logo { display: flex; align-items: center; gap: 14px; flex: none; }
.logo img { height: 34px; width: auto; }
.scrolled .logo img { height: 30px; }
.logo .et { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 700; border-inline-start: 2px solid var(--line); padding-inline-start: 12px; line-height: 1.2; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; gap: 2px; align-items: center; white-space: nowrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li.has-mega { position: static; }
.header-row { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 8px;
  color: var(--navy-3); font-weight: 500; font-size: 14.5px; background: none; border: 0; cursor: pointer;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover, .main-nav > ul > li.active > a { color: var(--green); }
.main-nav .caret { width: 12px; height: 12px; opacity: .7; }
.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-3); font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.lang:hover { color: var(--green); }
.lang svg { width: 18px; height: 18px; color: var(--green); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.burger span { display: block; height: 2.5px; background: var(--navy-3); margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* dropdown (services / contact) */
.dropdown { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 240px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(5,0,101,.16); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
li.has-menu:hover > .dropdown, li.has-menu:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.dropdown a:hover { background: var(--bg-tint); color: var(--navy-3); }

/* mega menu */
.mega { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px); width: min(1240px, calc(100vw - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(5,0,101,.22); padding: 18px; opacity: 0; visibility: hidden; transition: .18s; display: grid; grid-template-columns: 250px 1fr; gap: 22px; text-align: start; }
li.has-mega:hover > .mega, li.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-tabs { background: var(--navy); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mega-tabs button { text-align: center; width: 100%; padding: 12px 14px; border-radius: 10px; border: 0; background: transparent; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.mega-tabs button:hover, .mega-tabs button.active { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.mega-panels { position: relative; min-height: 360px; }
.mega-panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 8px 28px; padding: 10px 6px; }
.mega-panel.active { display: grid; }
.mega-group h4 { font-size: 19px; color: var(--navy-3); margin: 6px 0 10px; font-weight: 700; }
.mega-group li { margin: 0 0 8px; }
.mega-group a, .mega-group span.dead { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; }
.mega-group a::before, .mega-group span.dead::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-3); flex: none; }
.mega-group a:hover { color: var(--green); }
.mega-group span.dead { color: var(--muted-2); }
.mega-blurb { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-tint); color: var(--muted); font-size: 14.5px; }
.mega-blurb img { height: 44px; width: auto; max-width: none; background: var(--navy); border-radius: 8px; padding: 6px 12px; }
.mega-blurb a { color: var(--green); font-weight: 700; white-space: nowrap; }

/* ───────────────────────────── hero ───────────────────────────── */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 96px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.png") center / cover no-repeat; opacity: .55; pointer-events: none; }
.hero .container { position: relative; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 0 0 6px; }
.hero h2 { color: #fff; font-size: clamp(24px, 3.4vw, 42px); font-weight: 400; margin: 0 0 18px; }
.hero p { max-width: 900px; margin: 0 auto 28px; font-size: 17px; color: rgba(255,255,255,.88); }
.hero .dash { position: absolute; top: -40px; right: 12%; width: 220px; opacity: .55; }
[dir="rtl"] .hero .dash { right: auto; left: 12%; transform: scaleX(-1); }
.marquee-band { margin-top: 72px; background: rgba(0,0,0,.28); backdrop-filter: blur(2px); position: relative; padding: 26px 0; overflow: hidden; }
.marquee { display: flex; gap: 90px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.hero-foot { height: 110px; background: #fff url("../img/illus/lines-light.png") left top / 560px auto no-repeat; }
[dir="rtl"] .hero-foot { background-position: right top; transform: scaleX(-1); }

/* ───────────────────────────── about block ───────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.about-lead h2 { font-size: clamp(28px, 3.2vw, 36px); }
.about-lead p { color: var(--muted); font-size: 17px; }
.about-lead .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 28px; }
.card h3 { font-size: 21px; color: var(--navy-3); display: flex; align-items: center; gap: 8px; }
.card h3 .chev { width: 18px; height: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ───────────────────────────── solutions tiles ───────────────────────────── */
.section.solutions { background: var(--navy) url("../img/waves.png") center / cover no-repeat; }
.section.solutions::before { content: ""; position: absolute; inset: 0; background: rgba(5,0,101,.72); }
.section.solutions .container { position: relative; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.tile { display: flex; align-items: center; justify-content: center; height: 128px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 16px; background: rgba(255,255,255,.03); transition: .18s; position: relative; }
.tile img { height: 66px; width: auto; filter: brightness(0) invert(1); }
.tile:hover { background: #fff; border-color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.tile:hover img { filter: none; }
.tile .tip { position: absolute; bottom: -12px; left: 50%; transform: translate(-50%, 100%); background: #fff; color: var(--navy-3); font-size: 13px; padding: 6px 12px; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.25); opacity: 0; transition: .15s; white-space: nowrap; pointer-events: none; z-index: 2; }
.tile:hover .tip { opacity: 1; transform: translate(-50%, 0); }

/* ───────────────────────────── split sections ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 36px); display: flex; align-items: center; gap: 10px; }
.split p { color: var(--muted); font-size: 17px; }
.split .pts li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; color: var(--ink); font-weight: 500; }
.split .pts li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 3px; }
.section.einvoice { background: #fff url("../img/illus/lines-light.png") right bottom / 520px auto no-repeat; }
[dir="rtl"] .section.einvoice { background-position: left bottom; }

/* ───────────────────────────── integration ring ───────────────────────────── */
.ring-wrap { position: relative; width: min(760px, 100%); aspect-ratio: 1.55; margin: 20px auto 0; }
.ring-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 220px; height: 190px; background: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 50px rgba(0,0,0,.35); z-index: 2; }
.ring-center img { width: 170px; }
.chip { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-size: 13px; font-weight: 700; line-height: 1.25; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.35); transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }
.chip:nth-child(6n+1) { background: #5c3ba1; } .chip:nth-child(6n+2) { background: #3d8b99; } .chip:nth-child(6n+3) { background: #f3701c; }
.chip:nth-child(6n+4) { background: #8b2f5a; } .chip:nth-child(6n+5) { background: #13a438; } .chip:nth-child(6n+6) { background: #6b4532; }
.ring-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.ring-lines circle { fill: none; stroke: rgba(255,255,255,.35); stroke-dasharray: 10 8; }

/* ───────────────────────────── phones ───────────────────────────── */
.section.apps { background: var(--navy); overflow: hidden; }
.section.apps::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.png") center / cover no-repeat; opacity: .35; }
.section.apps .container { position: relative; }
.phones { display: flex; justify-content: center; align-items: flex-end; margin: 36px auto 0; height: 420px; position: relative; }
.phones img { height: 300px; width: auto; margin: 0 -22px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transition: transform .25s; transform: translateY(var(--dy, 0)) scale(var(--s, 1)); }
.phones img:hover { transform: translateY(-14px) scale(1.06); z-index: 3; }
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ───────────────────────────── services ───────────────────────────── */
.section.services { background: linear-gradient(to bottom, var(--navy) 0, var(--navy) 62%, #fff 62%); }
.section.services .section-head h2 { color: #fff; }
.section.services .section-head p { color: rgba(255,255,255,.82); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 30px 26px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc img { height: 150px; width: auto; margin-bottom: 14px; }
.svc h3 { font-size: 22px; color: var(--navy-3); }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }

/* ───────────────────────────── partners ───────────────────────────── */
.featured { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.featured .logo-card { width: 300px; height: 150px; }
.logo-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(5,0,101,.08); display: flex; align-items: center; justify-content: center; padding: 22px; }
.logo-card img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card .label { font-weight: 700; color: var(--navy-3); text-align: center; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-grid .logo-card { height: 118px; }
.logo-grid img { max-height: 80px; }

/* ───────────────────────────── support map ───────────────────────────── */
.section.support { background: var(--navy); overflow: hidden; }
.map { position: relative; margin: 40px auto 0; width: min(100%, 980px); aspect-ratio: 4 / 3; }
.map::before { content: ""; position: absolute; inset: 0; background: url("../img/world.png") center / 100% 100% no-repeat; opacity: .28; }
.pin { position: absolute; transform: translate(-50%, -100%); z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.4); white-space: nowrap; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: var(--green); transform: translateX(-50%) rotate(45deg); }
.pin.home { background: #fff; color: var(--navy); font-size: 14px; padding: 7px 14px; }
.pin.home::after { background: #fff; }
.pin svg { width: 12px; height: 12px; }

/* ───────────────────────────── footer ───────────────────────────── */
.site-footer { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("../img/world.png") right center / 60% auto no-repeat; opacity: .08; pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 40px; }
.site-footer h4 { color: var(--green); font-size: 18px; margin: 0 0 14px; font-weight: 700; }
.site-footer li { margin: 0 0 8px; font-size: 15px; }
.site-footer a:hover { color: var(--green); }
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.8); font-size: 14.5px; margin: 0 0 8px; }
.offices-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.certs { position: relative; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 22px 0 34px; border-top: 1px solid rgba(255,255,255,.12); }
.certs img { height: 84px; width: auto; }
.certs .cert-label { color: rgba(255,255,255,.75); font-size: 14px; margin-inline-end: auto; }
.cert-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.cert-chip svg { width: 20px; height: 20px; color: var(--green); }
.footer-bar { position: relative; background: var(--green); color: #fff; font-size: 14px; }
.footer-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.social { display: flex; align-items: center; gap: 12px; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.18); }
.social a:hover { background: #fff; color: var(--green); }
.social svg { width: 16px; height: 16px; }
.to-top { position: fixed; inset-inline-start: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy-3); box-shadow: 0 10px 24px rgba(0,0,0,.2); display: none; align-items: center; justify-content: center; z-index: 800; }
.to-top.show { display: inline-flex; }
.help { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 800; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy-3); font-weight: 700; padding: 10px 16px 10px 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(5,0,101,.25); }
.help img { width: 36px; height: 36px; border-radius: 50%; }
[dir="rtl"] .help { padding: 10px 10px 10px 16px; }

/* ───────────────────────────── inner pages ───────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding: 84px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/waves.png") center / cover no-repeat; opacity: .35; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); margin: 0; font-weight: 800; }
.page-hero .crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 14px; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .lead { max-width: 820px; margin: 12px 0 0; color: rgba(255,255,255,.88); font-size: 17px; }
.blocks { position: relative; height: 34px; margin-top: -34px; background: repeating-linear-gradient(to right, var(--green) 0 120px, transparent 120px 240px, var(--navy-3) 240px 340px, transparent 340px 470px); opacity: .95; }
.blocks::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 17px; background: repeating-linear-gradient(to right, transparent 0 60px, #d9dbe9 60px 150px, transparent 150px 300px, var(--navy-3) 300px 360px, transparent 360px 520px); }
.prose { max-width: 900px; }
.prose h2 { font-size: 28px; margin-top: 40px; display: flex; align-items: center; gap: 10px; }
.prose h3 { font-size: 22px; margin-top: 28px; }
.prose p, .prose li { color: var(--ink); font-size: 16.5px; }
.prose ol, .prose ul { padding-inline-start: 22px; margin: 0 0 18px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: 0 0 8px; }
.prose .lead { font-size: 18px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 100px; }
.aside .card { padding: 24px; margin-bottom: 18px; }
.aside .card h3 { font-size: 19px; }
.aside .card > img { width: auto; }
.aside .card li { margin: 0 0 8px; }
.aside .card li a { color: var(--muted); font-weight: 500; display: flex; gap: 8px; align-items: center; }
.aside .card li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.aside .card li a:hover { color: var(--navy-3); }
.aside .card li a.current { color: var(--navy-3); font-weight: 700; }
.cta-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.cta-box h3 { color: #fff; font-size: 24px; margin: 0; }
.cta-box p { color: rgba(255,255,255,.8); margin: 4px 0 16px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0 8px; }
.fact { background: var(--bg-tint); border-radius: 16px; padding: 22px; text-align: center; }
.fact b { display: block; font-size: 34px; color: var(--navy-3); font-weight: 800; line-height: 1; }
.fact span { color: var(--muted); font-size: 14px; }
.product-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); margin-top: -40px; position: relative; }
.product-head img { height: 84px; width: auto; max-width: none; background: var(--navy); border-radius: 14px; padding: 14px 22px; }
.product-head p { margin: 0; color: var(--muted); font-size: 17px; }
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.family-card { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 26px; display: flex; flex-direction: column; }
.family-card .fam-logo { height: 64px; display: inline-flex; align-items: center; margin-bottom: 14px; background: var(--navy); border-radius: 12px; padding: 10px 18px; align-self: flex-start; }
.family-card .fam-logo img { height: 44px; width: auto; max-width: none; }
.family-card h3 { font-size: 22px; }
.family-card p { color: var(--muted); font-size: 15px; flex: 1; }
.family-card .mods { color: var(--muted-2); font-size: 13.5px; margin-bottom: 14px; }
.module-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.module-list a, .module-list span { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--navy-3); transition: .15s; }
.module-list a:hover { border-color: var(--green); box-shadow: var(--card-shadow); transform: translateY(-2px); }
.module-list span { color: var(--muted-2); font-weight: 500; }
.module-list i { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-tint); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--green); }
.module-list i svg { width: 18px; height: 18px; }
.group-title { font-size: 20px; color: var(--navy-3); margin: 34px 0 14px; display: flex; align-items: center; gap: 8px; }
.group-title:first-of-type { margin-top: 0; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card { display: flex; gap: 16px; background: #fff; border-radius: 18px; box-shadow: var(--card-shadow); padding: 20px; }
.app-card img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: var(--bg-tint); padding: 8px; flex: none; }
.app-card h3 { font-size: 18px; margin: 0 0 4px; }
.app-card p { font-size: 14px; color: var(--muted); margin: 0; }
.app-card a.more { color: var(--green); font-weight: 700; font-size: 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; }
.contact-card i { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--navy-3); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-card i svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted-2); font-size: 13px; }
.contact-card b { font-weight: 600; color: var(--ink); font-size: 16px; word-break: break-word; }
.office-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; margin-top: 16px; }
.office-list li { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.office-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 34px; }
.form h2 { font-size: 24px; }
.form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--navy-3); margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(19,164,56,.15); }
.form textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; margin: 8px 0 22px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--green); }
.form .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.form .note { color: var(--muted); font-size: 14px; }
.form .msg { display: none; background: #eefbf1; border: 1px solid #bfe8c9; border-radius: 12px; padding: 14px 16px; color: #0d6b27; margin-top: 16px; }
.form .msg.show { display: block; }
.quote-hero { background: var(--navy) url("../img/waves.png") center / cover no-repeat; position: relative; }
.quote-hero::before { content: ""; position: absolute; inset: 0; background: rgba(5,0,101,.6); }
.quote-hero .container { position: relative; display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.quote-hero img { height: 300px; width: auto; justify-self: center; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.quote-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.quote-hero p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 620px; }
.quote-form-wrap { margin-top: -60px; position: relative; padding-bottom: 80px; }
.legal { max-width: 900px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p { color: var(--ink); font-size: 15.5px; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .marquee { animation: none; } }

/* ───────────────────────────── responsive ───────────────────────────── */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mega-panel { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .logo img { height: 40px; }
  .about-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .phones { height: 330px; }
  .phones img { height: 230px; margin: 0 -26px; }
  .phones img:nth-child(n+6) { display: none; }
  .ring-wrap { aspect-ratio: 1; }
  .chip { width: 92px; height: 92px; margin: -46px 0 0 -46px; font-size: 11.5px; }
  .ring-center { width: 160px; height: 140px; } .ring-center img { width: 120px; }
  .pin { font-size: 11px; padding: 4px 8px; } .pin.home { font-size: 12px; }
  .quote-hero .container { grid-template-columns: 1fr; } .quote-hero img { display: none; }
  .product-head { grid-template-columns: 1fr; text-align: center; } .product-head img { margin: 0 auto; }
  .form .grid { grid-template-columns: 1fr; }
  .blocks { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .svc-grid, .cards-2, .footer-top, .offices-2, .facts { grid-template-columns: 1fr; }
  .featured .logo-card { width: 100%; }
  .marquee img { height: 40px; } .marquee { gap: 54px; }
  .hero p { font-size: 15.5px; }
  .section-head h2 { font-size: 26px; }
  .phones img:nth-child(n+4) { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; } .tile { height: 100px; } .tile img { height: 44px; }
  .footer-bar .container { justify-content: center; text-align: center; }
  .help span { display: none; } .help { padding: 6px; }
  .to-top { bottom: 84px; }
}

/* ───────────────────────────── mobile drawer ───────────────────────────── */
.drawer { position: fixed; inset: 0; background: var(--navy); color: #fff; z-index: 950; transform: translateX(100%); transition: transform .25s; overflow-y: auto; padding: 18px 22px 40px; }
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer .top img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.drawer svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.drawer .close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.drawer a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 17px; font-weight: 600; }
.drawer details { border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer summary { padding: 12px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 22px; opacity: .7; }
.drawer details[open] > summary::after { content: "−"; }
.drawer details details { border: 0; padding-inline-start: 12px; }
.drawer details details summary { font-size: 15px; color: var(--green); padding: 8px 0; }
.drawer details a { font-size: 15px; font-weight: 500; padding: 9px 0 9px 12px; border: 0; color: rgba(255,255,255,.88); }
.drawer .drawer-cta { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.drawer .drawer-cta a { border: 0; padding: 12px 20px; }
body.no-scroll { overflow: hidden; }
