/*
 * e-Sehha — design system & styles
 * Brand: blue #2B96CC + green #5DB130. Plain CSS, animated, responsive.
 */

:root {
	--brand-blue: #2b96cc;
	--brand-blue-dark: #1a78a8;
	--brand-blue-soft: #eaf6fc;
	--brand-green: #5db130;
	--brand-green-dark: #4a9426;
	--brand-green-soft: #eef8e7;

	/* Premium navy anchor (per meeting: navy / dark for a more luxurious feel).
	   Blue + green stay as accents; navy carries the dark surfaces & headings. */
	--navy: #0c2340;
	--navy-deep: #081a30;
	--navy-soft: #16365c;

	--ink: #0c2340;
	--text: #3a4a5c;
	--muted: #6a7a8a;
	--bg: #ffffff;
	--surface: #f6f9fb;
	--surface-2: #eef3f6;
	--border: #e3eaef;
	--white: #ffffff;

	--grad: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-green) 100%);
	--grad-soft: linear-gradient(120deg, #2b96cc12, #5db13012);
	/* Deep premium gradient for dark sections (hero accents, CTA, footer). */
	--grad-deep: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 52%, #13456b 100%);

	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(16, 34, 46, .06), 0 2px 8px rgba(16, 34, 46, .05);
	--shadow: 0 6px 24px rgba(16, 34, 46, .09);
	--shadow-lg: 0 24px 60px rgba(16, 34, 46, .16);
	--ring: 0 0 0 4px rgba(43, 150, 204, .18);

	--max: 1200px;
	--content: 820px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--head: "Poppins", var(--font);
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }

a { color: var(--brand-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-blue-dark); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.5rem; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--surface); }

/* ---------- Accessibility ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; clip: rect(1px,1px,1px,1px); overflow: hidden; }
/* Skip link — hidden above the viewport (not off to the side, which would
   create horizontal overflow in RTL); revealed on keyboard focus. */
.skip-link { position: absolute; left: 0; top: -100px; width: auto; height: auto; clip: auto; overflow: visible; z-index: 200; background: var(--brand-blue); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 0; transition: top .2s var(--ease); }
.skip-link:focus { top: 0; left: 0; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--head); font-weight: 600; font-size: .95rem;
	padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
	cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(43,150,204,.32); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43,150,204,.42); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--brand-blue-dark); }
.btn--white:hover { color: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

.kicker { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: .8rem; }
.kicker--light { color: rgba(255,255,255,.9); }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section__sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: var(--max); flex-wrap: wrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #cfe0ea; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.topbar a { color: #cfe0ea; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .icon { width: 15px; height: 15px; color: var(--brand-green); }
.topbar__cta a { font-weight: 600; }
.topbar__cta .icon { color: #fff; width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow .25s, padding .25s;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
/* offset the sticky header below the WordPress admin bar (logged-in users) */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; transition: min-height .25s; }
.site-header.is-stuck .site-header__inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.custom-logo { max-height: 48px; width: auto; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu a { display: block; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: .95rem; padding: .55rem .85rem; border-radius: 10px; }
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: var(--brand-blue); background: var(--brand-blue-soft); }
/* dropdowns */
.nav-menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); opacity: .7; }
.nav-menu .menu-item-has-children:hover > a .nav-caret { transform: rotate(225deg) translateY(-2px); }
.submenu-toggle { display: none; } /* desktop: hover handles it */

.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 290px; list-style: none; margin: 0; padding: .45rem;
	background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); z-index: 60;
}
/* invisible hover-bridge so the menu doesn't close in the gap */
.nav-menu .menu-item-has-children::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: .6rem; }
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; padding: .6rem .7rem; border-radius: 10px; color: var(--text); }
.nav-menu .sub-menu a:hover { background: var(--surface); color: var(--brand-blue); }
.nav-menu .sub-menu .icon { width: 18px; height: 18px; color: var(--brand-blue); flex: none; }
.nav-menu .sub-menu .sol-row--green .icon,
.nav-menu .sub-menu a:hover .icon { color: var(--brand-green); }

.menu-toggle { display: none; }

/* ---------- Hero (premium navy) ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-deep); padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(5rem, 8vw, 8rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, #2b96cc80, transparent 70%); top: -140px; right: -90px; animation: float 16s var(--ease) infinite; }
.blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, #5db13070, transparent 70%); bottom: -160px; left: -110px; animation: float 20s var(--ease) infinite reverse; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); opacity: .8; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #eaf6fc; font-weight: 600; font-size: .82rem; padding: .45rem .9rem; border-radius: 999px; backdrop-filter: blur(6px); margin-bottom: 1.2rem; }
.eyebrow .icon { width: 16px; height: 16px; color: var(--brand-green); }
.hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.08; color: #fff; }
.grad-text { background: linear-gradient(120deg, #5fc0ec 0%, #7ed957 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 560px; margin: 1.2rem 0 1.8rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero .btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.hero__badges { list-style: none; display: flex; gap: 1.4rem; padding: 0; margin: 0; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 500; }
.hero__badges li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__badges .icon { width: 18px; height: 18px; color: #7ed957; }

/* hero visual */
.hero__visual { position: relative; align-self: stretch; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.hero-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-card--main { width: 86%; padding: 1.4rem 1.5rem; position: relative; overflow: hidden; }
.hero-card__pulse { position: absolute; top: 0; left: 0; height: 4px; width: 100%; background: var(--grad); }
.hero-card__row { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); }
.hero-card__row.small { font-weight: 500; color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hero-card__row .ok { color: var(--brand-green); font-size: .8rem; display: inline-flex; align-items: center; gap: .4rem; }
.hero-card__row .ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 0 rgba(93,177,48,.5); animation: pulse 1.8s infinite; }
.hero-card__bars { display: flex; align-items: flex-end; gap: .5rem; height: 92px; margin: 1.1rem 0 .2rem; }
.hero-card__bars i { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: .85; transform-origin: bottom; animation: grow 1s var(--ease) both; }
.hero-card__bars i:nth-child(2){animation-delay:.1s} .hero-card__bars i:nth-child(3){animation-delay:.2s} .hero-card__bars i:nth-child(4){animation-delay:.3s} .hero-card__bars i:nth-child(5){animation-delay:.4s} .hero-card__bars i:nth-child(6){animation-delay:.5s}
.hero-card--float { display: none; } /* floating PACS/RIS, e-Claims & uptime cards hidden per request */
.hero-card--float.is-shown { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow-lg); }
.hero-card--float .icon { width: 26px; height: 26px; color: var(--brand-blue); }
.hero-card--float strong { display: block; font-size: .9rem; color: var(--ink); font-family: var(--head); }
.hero-card--float small { color: var(--muted); font-size: .78rem; }
.hero-card--a { top: 12%; left: -5%; animation: floatY 6s var(--ease) infinite; }
.hero-card--b { bottom: 9%; right: -3%; animation: floatY 7s var(--ease) infinite reverse; }
.hero-card--b .icon { color: var(--brand-green); }
/* uptime ring card — fills the top-right */
.hero-card--c { top: 4%; right: 0; animation: floatY 8s var(--ease) infinite; }
.hero-ring { position: relative; width: 44px; height: 44px; flex: none; }
.hero-ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.hero-ring__track { fill: none; stroke: var(--surface-2); stroke-width: 4; }
.hero-ring__prog { fill: none; stroke: var(--brand-green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; animation: ring-fill 1.6s var(--ease) .4s forwards; }
.hero-ring__pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: .6rem; color: var(--ink); }
@keyframes ring-fill { to { stroke-dashoffset: 10; } }

/* ---------- Stats ---------- */
.stats { margin-top: 0; padding-top: 3.5rem; position: relative; z-index: 1; }
.stats__grid { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); padding: 2rem 1rem; }
.stat { text-align: center; padding: .5rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--border); }
.stat__num { font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.about__media { display: grid; gap: 1.2rem; }
.about__panel { background: var(--brand-blue-soft); border: 1px solid #d3ebf6; border-radius: var(--radius); padding: 1.6rem; }
.about__panel--alt { background: var(--brand-green-soft); border-color: #d8eecb; }
.about__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; margin-bottom: .8rem; }
.about__panel--alt .about__icon { background: linear-gradient(120deg, var(--brand-green), var(--brand-green-dark)); }
.about__panel h3 { font-size: 1.2rem; }
.about__panel p { margin: 0; color: var(--text); font-size: .96rem; }
.ticklist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.ticklist li { display: flex; align-items: center; gap: .7rem; font-weight: 500; color: var(--ink); }
.ticklist .icon { width: 22px; height: 22px; color: #fff; background: var(--brand-green); border-radius: 50%; padding: 4px; flex: none; }

/* ---------- Solutions ---------- */
.solutions__group { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; margin: 2.5rem 0 1.4rem; color: var(--brand-blue-dark); }
.solutions__group .icon { width: 26px; height: 26px; }
.solutions__group--green { color: var(--brand-green-dark); margin-top: 3.2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.solutions__cta { text-align: center; margin-top: 2.6rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; margin-bottom: 1rem; transition: transform .25s var(--ease); }
.card__icon--green { background: var(--brand-green-soft); color: var(--brand-green-dark); }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: 1.15rem; margin-bottom: .4rem; }
.card__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-family: var(--head); font-size: .9rem; }
.card__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.card__link:hover .icon { transform: translateX(4px); }
.card__link--green { color: var(--brand-green-dark); }

/* ---------- Vision banner ---------- */
.vision { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; }
.vision__bg { position: absolute; inset: 0; background: var(--grad); z-index: 0; }
.vision__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%); }
.vision__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.vision__text { max-width: 640px; }
.vision__text h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.vision__text p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin-bottom: 1.5rem; }
.vision__badge { width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; align-content: center; backdrop-filter: blur(4px); flex: none; }
.vision__badge span { font-family: var(--head); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.vision__badge small { letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; opacity: .9; }
.vision__logo { flex: none; background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 2.1rem; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.vision__logo img { width: clamp(170px, 20vw, 220px); height: auto; display: block; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why__item { text-align: center; padding: 1.5rem; border-radius: var(--radius); transition: background .25s; }
.why__item:hover { background: var(--surface); }
.why__icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 18px; background: var(--grad-soft); color: var(--brand-blue); display: grid; place-items: center; }
.why__icon .icon { width: 30px; height: 30px; }
.why__item h4 { font-size: 1.1rem; }
.why__item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Clients marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.client-chip { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-family: var(--head); font-weight: 600; color: var(--ink); white-space: nowrap; box-shadow: var(--shadow-sm); }

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { position: relative; display: block; height: 340px; background: var(--grad-deep) center / cover no-repeat; overflow: hidden; }
.news-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: .45; }
.news-card__placeholder .icon { width: 54px; height: 54px; }
.news-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,26,48,.94) 0%, rgba(8,26,48,.55) 38%, rgba(8,26,48,.04) 72%); transition: background .4s var(--ease); }
.news-card:hover .news-card__scrim { background: linear-gradient(to top, rgba(8,26,48,.96) 0%, rgba(8,26,48,.82) 55%, rgba(8,26,48,.42) 100%); }
.news-card__content { position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem; z-index: 1; }
.news-card__title { color: #fff; font-size: 1.2rem; line-height: 1.35; margin: 0; }
.news-card__excerpt { color: rgba(255,255,255,.9); font-size: .92rem; line-height: 1.6; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: max-height .45s var(--ease), opacity .35s, transform .35s, margin-top .45s var(--ease); }
.news-card:hover .news-card__excerpt { max-height: 9rem; opacity: 1; transform: translateY(0); margin-top: .65rem; }
.news-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.1rem; margin-top: auto; }
.news-card__cat { background: var(--brand-blue); color: #fff; font-family: var(--head); font-size: .78rem; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.news-card__cat:hover { background: var(--brand-blue-dark); color: #fff; }
.news-card__meta { display: flex; align-items: center; gap: .85rem; }
.news-card__date { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.news-card__more { display: inline-flex; align-items: center; gap: .35rem; color: var(--brand-blue); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.news-card__more:hover { color: var(--brand-blue-dark); }
.news-card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.news-card__more:hover .icon { transform: translateX(4px); }
[dir="rtl"] .news-card__more:hover .icon { transform: translateX(-4px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-deep); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Generic page / blog ---------- */
.page-wrap { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero { background: var(--grad-soft); border-bottom: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; }
.page-hero .page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero .breadcrumb { color: var(--muted); font-size: .9rem; }
.content-area { display: grid; gap: 2.5rem; }
.has-sidebar .content-area-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 3rem; }
@media (max-width: 980px) { .has-sidebar .content-area-wrap { grid-template-columns: 1fr; } }

.posts-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card__body { padding: 1.4rem; }
.entry-title { font-size: 1.3rem; margin-bottom: .5rem; }
.entry-title a { color: var(--ink); }
.entry-title a:hover { color: var(--brand-blue); }
.entry-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
.read-more { font-weight: 600; font-family: var(--head); display: inline-block; margin-top: .4rem; }

/* singular article */
.single-article { max-width: var(--content); margin-inline: auto; }
.single-article .entry-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.single-article .entry-content { font-size: 1.08rem; }
.single-article .entry-content > * { margin-bottom: 1.2em; }
.single-article .entry-content h2 { margin-top: 1.6em; }
.post-thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.entry-footer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }

/* sidebar / widgets */
.widget-area { display: grid; gap: 1.6rem; align-content: start; }
.widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.widget-title { font-size: 1rem; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 2px solid var(--brand-blue-soft); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.widget li:last-child { border-bottom: none; }

/* pagination & nav */
.pagination, .post-navigation { margin-top: 3rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers, .post-navigation a { padding: .55rem .95rem; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); background: #fff; font-weight: 500; }
.pagination .current, .pagination a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.post-navigation { justify-content: space-between; }
.nav-subtitle { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* forms */
input[type=text], input[type=search], input[type=email], input[type=url], input[type=tel], textarea, select {
	width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-blue); box-shadow: var(--ring); }
button, input[type=submit] { background: var(--grad); color: #fff; border: none; padding: .85rem 1.6rem; border-radius: 999px; font-family: var(--head); font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s; }
button:hover, input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43,150,204,.3); }

/* comments */
.comments-area { max-width: var(--content); margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebecb; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 1.5rem; }
.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo .brand-logo { height: 58px; }
.footer-about { font-size: .94rem; line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-size: .85rem; font-weight: 700; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--brand-blue); transform: translateY(-2px); }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { color: #aebecb; font-size: .94rem; }
.footer-list a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--brand-green); flex: none; margin-top: 3px; }
.footer-contact a { color: #aebecb; }
.footer-contact a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; }
.site-info { margin: 0; font-size: .85rem; color: #7e93a2; }

/* back to top */
.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); z-index: 90; box-shadow: var(--shadow); }
.back-to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }
.back-to-top:hover .icon { transform: rotate(-90deg); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-24px) scale(1.06); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(93,177,48,.5); } 70% { box-shadow: 0 0 0 8px rgba(93,177,48,0); } 100% { box-shadow: 0 0 0 0 rgba(93,177,48,0); } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.about__grid { grid-template-columns: 1fr; }
	.cards, .news__grid { grid-template-columns: repeat(2, 1fr); }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
	.stat:nth-child(3)::before { display: none; }
}
@media (max-width: 768px) {
	.topbar__contact .topbar__loc, .topbar__cta { display: none; }
	.menu-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
		background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0; z-index: 110;
	}
	.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
	.menu-toggle__bar::before { transform: translateY(-7px); }
	.menu-toggle__bar::after { transform: translateY(5px); }
	.main-navigation.is-open .menu-toggle__bar { background: transparent; }
	.main-navigation.is-open .menu-toggle__bar::before { transform: rotate(45deg); }
	.main-navigation.is-open .menu-toggle__bar::after { transform: rotate(-45deg); }
	.main-navigation .nav-menu {
		/* The sticky header uses backdrop-filter, which makes it the containing
		   block for fixed children — so use viewport-relative height (100dvh)
		   instead of bottom:0, otherwise the drawer is clamped to header height. */
		position: fixed; top: 0; inset-inline-end: 0; bottom: auto; inset-inline-start: auto;
		height: 100vh; height: 100dvh; width: min(320px, 86vw);
		flex-direction: column; align-items: stretch; gap: .2rem;
		background: #fff; padding: 5.5rem 1.2rem 2rem; box-shadow: var(--shadow-lg);
		transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
	}
	.main-navigation.is-open .nav-menu { transform: translateX(0); }

	/* Mobile: dropdowns become collapsible accordions toggled by a caret button. */
	.nav-menu li { position: relative; }
	.nav-menu .menu-item-has-children > a { display: flex; }
	.nav-menu .menu-item-has-children::after { content: none; }
	.submenu-toggle {
		display: block; position: absolute; top: 0; inset-inline-end: 0; width: 46px; height: 44px;
		background: transparent; border: 0; cursor: pointer;
	}
	.submenu-toggle::before {
		content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
		margin: -6px 0 0 -5px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
		transform: rotate(45deg); transition: transform .2s var(--ease);
	}
	.submenu-toggle[aria-expanded="true"]::before { transform: rotate(225deg); }
	.nav-caret { display: none; }
	.nav-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; border-inline-start: 2px solid var(--border); border-radius: 0;
		margin: 0 0 .3rem; padding: 0 0 0 .8rem; max-height: 0; overflow: hidden; transition: max-height .28s var(--ease);
	}
	.nav-menu .menu-item-has-children.is-open > .sub-menu { max-height: 30rem; }
	.nav-menu .sub-menu a { font-size: .92rem; }
}
@media (max-width: 560px) {
	.cards, .news__grid, .why__grid, .stats__grid { grid-template-columns: 1fr; }
	.stat::before { display: none !important; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
	.hero__title { font-size: clamp(1.9rem, 8vw, 2.4rem); overflow-wrap: break-word; }
	.hero__lead { font-size: 1.05rem; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { justify-content: center; }
	.hero__badges { gap: 1rem; font-size: .86rem; }
	.vision__inner { flex-direction: column; text-align: center; }
	.vision__badge { margin-inline: auto; }
	.cta-band__inner { flex-direction: column; text-align: center; align-items: stretch; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.marquee__track { animation: none !important; }
}

/* =========================================================================
 * e-Sehha — full-rebuild additions (real content components)
 * ====================================================================== */

/* topbar working hours */
.topbar__cta { display: flex; align-items: center; gap: 1.4rem; }
.topbar__hours { display: inline-flex; align-items: center; gap: .4rem; color: #cfe0ea; }
.topbar__hours .icon { color: var(--brand-green); }

/* language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.lang-switch a { color: #9fb3c2; padding: .1rem .15rem; border-radius: 4px; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { color: #fff; }
.lang-switch span { color: rgba(255,255,255,.3); }

/* about icons now hold SVGs */
.about__icon .icon { width: 24px; height: 24px; color: #fff; }

/* centered section head */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__sub { margin-inline: auto; }

/* vision list */
.vision__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.vision__list li { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.95); font-weight: 500; }
.vision__list .icon { width: 22px; height: 22px; flex: none; color: #fff; background: rgba(255,255,255,.18); border-radius: 50%; padding: 4px; }

/* ---------- Partners ---------- */
/* Logos sit on a transparent background (no white card/border) and are
   enlarged + clickable — per the 15 Jun 2026 meeting. */
/* Partners — dark "E-Services" style panel */
.partner-panel {
	background: var(--navy);
	background-image: radial-gradient(120% 120% at 100% 0%, rgba(43,150,204,.14), transparent 55%);
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 30px;
	padding: clamp(2rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3.4rem);
	box-shadow: var(--shadow-lg);
}
.partner-panel .section__head { margin-bottom: 2.6rem; }
.partner-panel .kicker { color: #7fd0f2; }
.partner-panel .section__title { color: #fff; }
.partner-panel .section__sub { color: rgba(255,255,255,.72); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.partner-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	text-decoration: none; color: inherit;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 20px; padding: 1.1rem 1.1rem 1.4rem;
	transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.partner-card:hover { transform: translateY(-6px); border-color: rgba(127,208,242,.55); background: rgba(255,255,255,.06); }
.partner-card__logo {
	display: grid; place-items: center; width: 100%; box-sizing: border-box;
	min-height: 128px; padding: 1.3rem; margin-bottom: 1.1rem;
	background: #fff; border-radius: 14px;
}
.partner-card__logo img { max-height: 74px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.partner-card:hover .partner-card__logo img { transform: scale(1.06); }
.partner-card__desc { color: rgba(255,255,255,.82); font-size: .92rem; line-height: 1.5; margin: 0 0 .9rem; }
.partner-card__more {
	margin-top: auto; display: inline-flex; align-items: center; gap: .35rem;
	color: #7fd0f2; font-weight: 600; font-size: .88rem;
	opacity: .8; transition: opacity .25s, gap .25s var(--ease);
}
.partner-card__more .icon { width: 16px; height: 16px; }
.partner-card:hover .partner-card__more { opacity: 1; gap: .6rem; }
[dir="rtl"] .partner-card__more .icon { transform: scaleX(-1); }

/* Partner detail page */
.partner-hero__head { display: flex; align-items: center; gap: 1.6rem; }
.partner-hero__logo {
	flex: none; display: grid; place-items: center;
	width: 160px; min-height: 108px; padding: 1.1rem;
	background: #fff; border-radius: 16px; box-shadow: var(--shadow);
}
.partner-hero__logo img { max-width: 100%; max-height: 78px; width: auto; height: auto; object-fit: contain; }
.detail-hero__tagline { color: var(--muted); font-size: 1.05rem; margin: .5rem 0 0; }
.detail__body { color: var(--text); line-height: 1.75; }
.detail__body p { margin: 0 0 1rem; }
.detail__body h2, .detail__body h3 { margin: 1.6rem 0 .6rem; }
.detail__body ul, .detail__body ol { margin: 0 0 1rem; padding-inline-start: 1.3rem; }
.detail__body li { margin-bottom: .4rem; }
.detail__body a { color: var(--brand-blue); }
.detail__siblings--partners a { align-items: center; gap: .9rem; }
.detail__sib-logo {
	flex: none; display: grid; place-items: center;
	width: 64px; height: 44px; padding: .35rem;
	background: #fff; border: 1px solid var(--border); border-radius: 9px;
}
.detail__sib-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 560px) { .partner-hero__head { flex-direction: column; align-items: flex-start; gap: 1rem; } }

/* "More" dropdown button */
.more-menu { position: relative; display: inline-block; }
.more-menu__btn { cursor: pointer; }
.more-menu__caret {
	display: inline-block; width: .5em; height: .5em; margin-inline-start: .45em;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease);
}
.more-menu.is-open .more-menu__caret { transform: rotate(-135deg) translateY(2px); }
.more-menu__list {
	position: absolute; inset-inline-start: 0; top: calc(100% + .55rem); z-index: 30;
	min-width: 230px; margin: 0; padding: .4rem; list-style: none;
	background: #fff; border: 1px solid var(--border); border-radius: 14px;
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.more-menu.is-open .more-menu__list { opacity: 1; visibility: visible; transform: none; }
.more-menu__list a {
	display: flex; align-items: center; gap: .6rem;
	padding: .7rem .9rem; border-radius: 9px;
	color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
	transition: background .2s, color .2s;
}
.more-menu__list a:hover, .more-menu__list a:focus-visible { background: var(--surface); color: var(--brand-blue); outline: none; }
.more-menu__list .icon { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .more-menu__caret { margin-inline-start: .45em; }
[dir="rtl"] .more-menu__list .icon { transform: scaleX(-1); }

/* partners page — alternating feature rows */
.partner-feature-list { display: grid; gap: 1.6rem; }
.partner-feature { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 2.2rem; transition: box-shadow .25s, transform .25s var(--ease); }
.partner-feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner-feature__logo { display: grid; place-items: center; min-height: 110px; background: transparent; border-radius: var(--radius); padding: 1.4rem; }
.partner-feature__logo img { max-height: 100px; width: auto; object-fit: contain; transition: transform .3s; }
.partner-feature__logo a:hover img { transform: scale(1.06); }
.partner-feature__link { color: inherit; }
.partner-feature__link:hover { color: var(--brand-blue); }
.partner-feature__body h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.partner-feature__body p { color: var(--text); margin: 0 0 .9rem; }
.partner-feature__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand-blue); font-weight: 600; font-size: .95rem; text-decoration: none; }
.partner-feature__more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.partner-feature__more:hover { color: var(--brand-blue-dark); }
.partner-feature__more:hover .icon { transform: translateX(3px); }
[dir="rtl"] .partner-feature__more .icon { transform: scaleX(-1); }
[dir="rtl"] .partner-feature__more:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Client logo marquee ---------- */
.marquee--logos { padding: .6rem 0; }
.marquee--logos .marquee__track { gap: 1.4rem; animation-duration: 48s; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.client-logo { flex: none; display: grid; place-items: center; width: 210px; height: 120px; padding: 1rem 1.3rem; background: transparent; border: 0; border-radius: 14px; overflow: hidden; }
.client-logo img { max-height: 92px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.client-logo:hover img { transform: scale(1.07); }
.clients__cta { text-align: center; margin-top: 2.4rem; }

/* ---------- Client grid (clients page) ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.client-tile { margin: 0; background: transparent; border: 0; border-radius: var(--radius); padding: 1.4rem 1.2rem 1.1rem; text-align: center; transition: transform .25s var(--ease); }
.client-tile:hover { transform: translateY(-5px); }
.client-tile img { max-height: 104px; max-width: 100%; width: auto; height: auto; margin: 0 auto .9rem; object-fit: contain; transition: transform .3s; }
.client-tile:hover img { transform: scale(1.06); }
.client-tile figcaption { font-size: .82rem; color: var(--muted); font-weight: 500; line-height: 1.4; }

/* ---------- Gradient page hero ---------- */
.page-hero--grad { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3fafd, #fff); text-align: left; border-bottom: 1px solid var(--border); padding: clamp(3rem, 6vw, 5rem) 0; }
.page-hero--grad .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--grad .blob { opacity: .4; }
.page-hero--grad .container { position: relative; z-index: 1; }
.page-hero__lead { font-size: 1.15rem; color: var(--text); max-width: 680px; margin: .6rem 0 0; }

/* staggered entrance for inner-page hero text (no markup needed) */
.page-hero--grad .kicker      { animation: heroIn .7s var(--ease) .00s both; }
.page-hero--grad .page-title  { animation: heroIn .7s var(--ease) .10s both; }
.page-hero--grad .page-hero__lead { animation: heroIn .7s var(--ease) .20s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Dynamic banner (video / animated placeholder) ---------- */
.hero-banner { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(300px, 38vw, 460px); padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--navy-deep); isolation: isolate; }
.hero-banner--sm { min-height: clamp(220px, 26vw, 320px); }
.hero-banner--lg { min-height: clamp(420px, 56vw, 640px); }
.hero-banner__media { position: absolute; inset: 0; z-index: -1; }
.hero-banner__video,
.hero-banner__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* animated placeholder: deep navy gradient + drifting brand glows + grid */
.hero-banner--placeholder .hero-banner__media { background: var(--grad-deep); }
.hero-banner--placeholder .blob { position: absolute; }
.hero-banner--placeholder .blob--1 { width: 520px; height: 520px; background: radial-gradient(circle, #2b96cc70, transparent 70%); top: -160px; right: -90px; animation: float 17s var(--ease) infinite; }
.hero-banner--placeholder .blob--2 { width: 460px; height: 460px; background: radial-gradient(circle, #5db13066, transparent 70%); bottom: -180px; left: -110px; animation: float 21s var(--ease) infinite reverse; }
.hero-banner--placeholder .grid-overlay { background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); }
/* scrim keeps text legible over video/imagery */
.hero-banner__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,48,.82) 0%, rgba(8,26,48,.5) 55%, rgba(8,26,48,.25) 100%); }
.hero-banner__inner { position: relative; z-index: 1; }
.hero-banner__title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); margin: .4rem 0 0; max-width: 18ch; }
.hero-banner__lead { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 60ch; margin: 1rem 0 0; }
.hero-banner__cta { margin: 1.6rem 0 0; }
[dir="rtl"] .hero-banner__scrim { background: linear-gradient(270deg, rgba(8,26,48,.82) 0%, rgba(8,26,48,.5) 55%, rgba(8,26,48,.25) 100%); }
@media (prefers-reduced-motion: reduce) {
	.hero-banner--placeholder .blob { animation: none; }
}

/* partner feature logo subtle zoom on hover */
.partner-feature__logo img { transition: transform .35s var(--ease); }
.partner-feature:hover .partner-feature__logo img { transform: scale(1.06); }

/* ---------- Info cards (about) ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card__icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 16px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; }
.info-card__icon--green { background: var(--brand-green-soft); color: var(--brand-green-dark); }
.info-card__icon .icon { width: 28px; height: 28px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.info-card p { color: var(--muted); margin: 0; }
.info-card a { color: inherit; }
.info-card a:hover { color: var(--brand-blue); }

/* ---------- Company journey — expanding panels (About) ---------- */
.journey {
	list-style: none; margin: 3rem 0 0; padding: 0;
	display: flex; gap: .9rem; height: 520px;
	/* shared tint gradients */
	--tint-flat: linear-gradient(180deg, rgba(43,150,204,.50), rgba(26,120,168,.62));
	--tint-deep: linear-gradient(180deg, rgba(43,150,204,.16) 0%, rgba(12,35,64,.55) 52%, rgba(12,35,64,.92) 100%);
}
/* full-bleed timeline (spans the whole viewport width, with a small gutter) */
.journey--full { padding-inline: clamp(1rem, 3.5vw, 3rem); }
.journey__panel {
	position: relative; flex: 1 1 0; min-width: 0;
	border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
	background: var(--grad); background-size: cover; background-position: center;
	box-shadow: var(--shadow-sm); outline: none;
	transition: flex-grow .55s var(--ease), box-shadow .35s;
}
.journey__panel.is-active { flex-grow: 5.2; box-shadow: var(--shadow-lg); }
/* When the row is hovered, all panels collapse except the one under the cursor. */
.journey:hover .journey__panel { flex-grow: 1; box-shadow: var(--shadow-sm); }
.journey:hover .journey__panel:hover { flex-grow: 5.2; box-shadow: var(--shadow-lg); }
.journey__panel:focus-visible { box-shadow: 0 0 0 3px var(--brand-blue), var(--shadow-lg); }

/* readability tint */
.journey__overlay { position: absolute; inset: 0; background: var(--tint-flat); transition: background .5s var(--ease); }
.journey__panel.is-active .journey__overlay { background: var(--tint-deep); }
.journey:hover .journey__panel .journey__overlay { background: var(--tint-flat); }
.journey:hover .journey__panel:hover .journey__overlay { background: var(--tint-deep); }

/* content — hidden until the panel is open */
.journey__content {
	position: absolute; inset-inline-start: 0; bottom: 4.6rem; width: 22rem; max-width: 100%;
	padding-inline: 1.9rem; box-sizing: border-box; color: #fff; z-index: 1;
	text-align: start;
	opacity: 0; transform: translateY(10px); pointer-events: none;
	transition: opacity .45s var(--ease) .05s, transform .45s var(--ease) .05s;
}
.journey__icon { margin-inline: 0; }
.journey__panel.is-active .journey__content { opacity: 1; transform: none; }
.journey:hover .journey__panel .journey__content { opacity: 0; transform: translateY(10px); }
.journey:hover .journey__panel:hover .journey__content { opacity: 1; transform: none; }
.journey__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.16); margin-bottom: 1rem; }
.journey__icon .icon { width: 28px; height: 28px; color: #fff; }
.journey__title { color: #fff; font-size: 1.4rem; margin: 0 0 .5rem; }
.journey__text { color: rgba(255,255,255,.9); font-size: .98rem; line-height: 1.55; margin: 0; }

/* the year — always visible */
.journey__year {
	position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 1; text-align: center;
	font-family: var(--head); font-weight: 700; font-size: 1.7rem; color: #fff;
	letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

@media (max-width: 860px) {
	/* stack into normal image cards; everything visible, no hover needed */
	.journey { flex-direction: column; height: auto; gap: 1rem; }
	.journey__panel,
	.journey:hover .journey__panel,
	.journey:hover .journey__panel:hover { flex: none; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-sm); }
	.journey__overlay,
	.journey:hover .journey__panel .journey__overlay { background: var(--tint-deep); }
	.journey__content,
	.journey:hover .journey__panel .journey__content { position: static; opacity: 1; transform: none; width: auto; padding: 1.6rem 1.6rem 0; pointer-events: auto; }
	.journey__year { position: static; text-align: start; padding: .35rem 1.6rem 1.5rem; }
}

/* ---------- Solutions detail rows ---------- */
.sol-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-bottom: 1rem; }
.sol-row { display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.sol-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sol-row__icon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; }
.sol-row__icon--green { background: var(--brand-green-soft); color: var(--brand-green-dark); }
.sol-row__icon .icon { width: 28px; height: 28px; }
.sol-row__body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.sol-row__body p { color: var(--muted); font-size: .95rem; margin: 0; }
.sol-row--link { align-items: center; color: inherit; text-decoration: none; }
.sol-row--link .sol-row__body { flex: 1 1 auto; }
.sol-row__arrow { flex: none; color: var(--brand-blue); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.sol-row--green .sol-row__arrow { color: var(--brand-green-dark); }
.sol-row__arrow .icon { width: 22px; height: 22px; }
.sol-row--link:hover .sol-row__arrow,
.sol-row--link:focus-visible .sol-row__arrow { opacity: 1; transform: translateX(0); }

/* ---------- Solutions — in-depth feature rows ---------- */
.sol-features { display: grid; gap: 1.8rem; }
.sol-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2.6rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; transition: box-shadow .25s, transform .25s var(--ease); }
.sol-feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sol-feature:nth-child(even) .sol-feature__media { order: 2; }
.sol-feature__media { align-self: stretch; }
.sol-feature__media img { width: 100%; height: 100%; max-height: 320px; object-fit: contain; border-radius: var(--radius); background: var(--surface); padding: 1rem; }
.sol-feature__panel { height: 100%; min-height: 230px; border-radius: var(--radius); background: var(--grad-soft); display: grid; place-items: center; }
.sol-feature__panel .icon { width: 88px; height: 88px; color: var(--brand-blue); opacity: .85; }
.sol-feature__icon { width: 50px; height: 50px; border-radius: 13px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; margin-bottom: .9rem; }
.sol-feature__icon .icon { width: 26px; height: 26px; }
.sol-feature__body h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.sol-feature__body > p { color: var(--text); }
.sol-feature .ticklist { margin: 1rem 0 0; grid-template-columns: 1fr 1fr; }
.sol-feature .ticklist li { font-weight: 500; font-size: .94rem; align-items: flex-start; }
.sol-feature .ticklist .icon { margin-top: 2px; }
.sol-feature__highlight { margin-top: 1.3rem; background: var(--brand-blue-soft); border: 1px solid #d3ebf6; border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.sol-feature__highlight > strong { display: flex; align-items: center; gap: .5rem; color: var(--brand-blue-dark); font-family: var(--head); margin-bottom: .6rem; }
.sol-feature__highlight > strong .icon { width: 18px; height: 18px; color: var(--brand-green); }
.sol-feature__highlight .ticklist { margin: 0; grid-template-columns: 1fr; gap: .5rem; }
.ticklist--blue .icon { background: var(--brand-blue); }
.sol-feature__outro { margin-top: 1rem; color: var(--muted); font-size: .95rem; font-style: italic; }
@media (max-width: 860px) {
	.sol-feature { grid-template-columns: 1fr; gap: 1.4rem; }
	.sol-feature:nth-child(even) .sol-feature__media { order: 0; }
	.sol-feature .ticklist { grid-template-columns: 1fr; }
	.sol-feature__media img { max-height: 240px; }
}

/* ---------- Solution / Service detail page ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--brand-blue-dark); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb__current { color: var(--ink); font-weight: 600; }
.detail-hero__head { display: flex; align-items: center; gap: 1.2rem; }
.detail-hero__icon { flex: none; width: 66px; height: 66px; border-radius: 18px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; }
.detail-hero__icon--green { background: var(--brand-green-soft); color: var(--brand-green-dark); }
.detail-hero__icon .icon { width: 34px; height: 34px; }
.detail-hero__head .kicker { margin-bottom: .2rem; }
.detail-hero__head .page-title { margin: 0; }

.detail__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: start; }
.detail__lead { font-size: 1.18rem; color: var(--text); margin-bottom: 1.8rem; }
.detail__main h2 { font-size: 1.4rem; margin: 0 0 1rem; }
.detail__main .ticklist { margin: 0 0 2rem; }
.detail__cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.detail__cta-row .btn--ghost .icon { transform: scaleX(-1); }

.detail__aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 90px; }
.detail__aside-title { font-size: 1.1rem; margin: 0 0 1rem; }
.detail__siblings { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.detail__siblings a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; color: var(--text); font-weight: 500; font-size: .92rem; transition: background .2s, color .2s; }
.detail__siblings a:hover { background: #fff; color: var(--brand-blue); box-shadow: var(--shadow-sm); }
.detail__siblings .icon { width: 20px; height: 20px; color: var(--brand-blue); flex: none; }
@media (max-width: 860px) {
	.detail__grid { grid-template-columns: 1fr; gap: 2rem; }
	.detail__aside { position: static; }
	.detail-hero__head { gap: .9rem; }
	.detail-hero__icon { width: 54px; height: 54px; }
}

/* ---------- Careers ---------- */
.jobs-list { display: grid; gap: 1.2rem; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .7rem; }
.job-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--brand-blue-dark); background: var(--brand-blue-soft); border-radius: 999px; padding: .3rem .7rem; }
.job-tag .icon { width: 15px; height: 15px; }
.job-card__title { font-size: 1.25rem; margin: 0 0 .4rem; }
.job-card__desc { color: var(--muted); margin: 0; font-size: .95rem; max-width: 60ch; }
.job-card__action { flex: none; }
@media (max-width: 680px) {
	.job-card { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
	.job-card__action { align-self: stretch; }
	.job-card__action .btn { width: 100%; justify-content: center; }
}
.jobs-empty { text-align: center; max-width: 540px; margin: 0 auto; padding: 2.5rem 1rem; }
.jobs-empty__icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 1.2rem; display: grid; place-items: center; background: var(--brand-blue-soft); color: var(--brand-blue); }
.jobs-empty__icon .icon { width: 34px; height: 34px; }
.jobs-empty h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.jobs-empty p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 1.4rem; }
/* Map fills the space under the contact details, bottom-aligning with the form. */
.contact-info__map { position: relative; flex: 1 1 auto; min-height: 320px; margin-top: .4rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); line-height: 0; }
.contact-info__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(1.05); }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-blue-soft); color: var(--brand-blue); display: grid; place-items: center; }
.contact-item__icon .icon { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-item a { color: var(--brand-blue-dark); }
.contact-item a:hover { color: var(--brand-blue); }
.contact-item--support { background: var(--brand-green-soft); border: 1px solid #d8eecb; border-radius: var(--radius); padding: 1.1rem; }

.contact__form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow); }
.contact__form-wrap h2 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--ink); font-family: var(--head); }
.contact-form button { justify-self: start; display: inline-flex; align-items: center; gap: .5rem; }
.contact-form button .icon { width: 18px; height: 18px; }
.contact-form__note { display: flex; align-items: center; gap: .6rem; background: var(--brand-green-soft); color: var(--brand-green-dark); border: 1px solid #d8eecb; border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; margin: 0 0 1.2rem; }
.contact-form__note[hidden] { display: none; }
.contact-form__note--error { background: #fdeceb; color: #c0392b; border-color: #f5c6c2; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__note .icon { width: 20px; height: 20px; color: #fff; background: var(--brand-green); border-radius: 50%; padding: 3px; flex: none; }

.contact-item--sales { background: var(--brand-blue-soft); border: 1px solid #cfe8f5; border-radius: var(--radius); padding: 1.1rem; }
.contact-map-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-family: var(--head); font-size: .88rem; margin-top: .3rem; }
.contact-map-link .icon { width: 16px; height: 16px; }

/* native contact form */
.contact-form .form-field--full { grid-column: 1 / -1; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; align-items: center; gap: .6rem; border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; margin: 0 0 1.3rem; }
.form-notice .icon { width: 20px; height: 20px; flex: none; }
.form-notice--ok { background: var(--brand-green-soft); color: var(--brand-green-dark); border: 1px solid #d8eecb; }
.form-notice--ok .icon { color: #fff; background: var(--brand-green); border-radius: 50%; padding: 3px; }
.form-notice--err { background: #fdeceb; color: #c0392b; border: 1px solid #f5c6c2; }

.contact-map__overlay-link { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; font-size: .85rem; line-height: 1; padding: .7rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow); }
.contact-map__overlay-link .icon { width: 16px; height: 16px; }
.contact-map__overlay-link:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); }

/* ---------- Contact Form 7 — match the theme design ---------- */
.contact__form-wrap .wpcf7-form { display: grid; gap: 1.1rem; }
.contact__form-wrap .wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact__form-wrap .wpcf7-form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--ink); font-family: var(--head); margin: 0; }
.contact__form-wrap .wpcf7-form label span:first-child { display: block; }
.contact__form-wrap .wpcf7-form-control-wrap { display: block; }
.contact__form-wrap .wpcf7-form input[type="text"],
.contact__form-wrap .wpcf7-form input[type="email"],
.contact__form-wrap .wpcf7-form input[type="tel"],
.contact__form-wrap .wpcf7-form textarea { width: 100%; }
.contact__form-wrap .wpcf7-form textarea { min-height: 130px; resize: vertical; }
.contact__form-wrap .wpcf7-submit { justify-self: start; }
/* validation tips */
.contact__form-wrap .wpcf7-not-valid-tip { color: #c0392b; font-size: .82rem; font-weight: 500; margin-top: .3rem; }
.contact__form-wrap .wpcf7-form-control.wpcf7-not-valid { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,.12); }
/* response output (success / error banner) */
.contact__form-wrap .wpcf7-response-output { display: block; margin: 1rem 0 0 !important; padding: .9rem 1.1rem !important; border-radius: 12px; border: 1px solid var(--border) !important; font-weight: 600; }
.contact__form-wrap .wpcf7 form.sent .wpcf7-response-output { background: var(--brand-green-soft); color: var(--brand-green-dark); border-color: #d8eecb !important; }
.contact__form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.contact__form-wrap .wpcf7 form.unaccepted .wpcf7-response-output,
.contact__form-wrap .wpcf7 form.spam .wpcf7-response-output { background: #fdeceb; color: #c0392b; border-color: #f5c6c2 !important; }
.contact__form-wrap .wpcf7-spinner { margin: 0 0 0 .6rem; }
@media (max-width: 560px) { .contact__form-wrap .wpcf7-form .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer support block ---------- */
.footer-support { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: .3rem; }
.footer-support__label { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: .9rem; font-family: var(--head); }
.footer-support__label .icon { width: 18px; height: 18px; color: var(--brand-green); }
.footer-support__num { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: #fff !important; letter-spacing: .04em; }
.footer-support a { color: #aebecb; }

/* ---------- Responsive for new components ---------- */
@media (max-width: 980px) {
	.partner-grid { grid-template-columns: repeat(2, 1fr); }
	.client-grid { grid-template-columns: repeat(3, 1fr); }
	.info-cards { grid-template-columns: 1fr; }
	.sol-list { grid-template-columns: 1fr; }
	.contact__grid { grid-template-columns: 1fr; }
	.partner-feature { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; }
	.partner-feature__logo { min-height: 90px; }
}
@media (max-width: 560px) {
	.partner-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-form .form-row { grid-template-columns: 1fr; }
	.topbar__cta .topbar__hours { display: none; }
	.client-logo { width: 150px; height: 86px; }
}

/* =========================================================================
 * Imagery, motion & transitions
 * ====================================================================== */

/* page load fade-in */
body { animation: pageFade .5s var(--ease) both; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }

/* directional scroll reveals (must keep .in winning — defined last) */
[data-reveal] { will-change: opacity, transform; }
[data-reveal][data-dir="left"]  { transform: translateX(-44px); }
[data-reveal][data-dir="right"] { transform: translateX(44px); }
[data-reveal][data-dir="up"]    { transform: translateY(36px); }
[data-reveal][data-dir="scale"] { transform: scale(.93); }
[data-reveal].in { opacity: 1 !important; transform: none !important; }

/* parallax layers */
[data-parallax] { will-change: transform; }

/* scroll progress bar */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; will-change: transform; box-shadow: 0 0 8px rgba(43,150,204,.5); }

/* ---------- About: image, ken-burns, floating badge & chip ---------- */
.about__media { position: relative; }
.about__image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__image img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; display: block; }
.ken-burns { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.about__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,34,46,.28)); pointer-events: none; }
.about__image-glow { position: absolute; right: -18%; bottom: -22%; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(93,177,48,.5), transparent 70%); filter: blur(30px); z-index: -1; }

.about__badge { position: absolute; right: -1rem; bottom: 1.6rem; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1rem 1.3rem; max-width: 180px; }
.about__badge-num { font-family: var(--head); font-weight: 800; font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge-label { font-size: .78rem; color: var(--muted); font-weight: 500; margin-top: .25rem; line-height: 1.35; }
.about__chip { position: absolute; top: 1.3rem; left: -1rem; background: #fff; border-radius: 999px; padding: .5rem .95rem; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .82rem; font-family: var(--head); color: var(--brand-blue-dark); animation: floatY 6s var(--ease) infinite; }
.about__chip .icon { width: 16px; height: 16px; color: var(--brand-green); }

/* who/what panel row */
.about__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
.about__panels .about__panel { transition: transform .25s var(--ease), box-shadow .25s; }
.about__panels .about__panel:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

@media (max-width: 980px) {
	.about__badge { right: 1rem; }
	.about__chip { left: 1rem; }
}
@media (max-width: 640px) {
	.about__panels { grid-template-columns: 1fr; }
	.about__image img { aspect-ratio: 4 / 3.2; }
}

/* ============ Optional hero background media (image/video) ============ */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media__video,
.hero-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,42,71,.66), rgba(13,42,71,.80)); }

/* page-hero (about/services/clients/partners/careers/contact) with media */
.page-hero { position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--media .kicker { color: #bfe3f5; }
.page-hero--media .page-title,
.page-hero--media .page-hero__lead { color: #fff; }

/* front-page hero with media (text is already light) */
.hero .hero-media { z-index: 0; }
.hero .hero-media__overlay { background: linear-gradient(180deg, rgba(8,26,48,.55), rgba(8,26,48,.78)); }

/* =========================================================================
   HOMEPAGE REDESIGN — floating header, full-screen overlay menu, video hero,
   and the 3-card panel.
   ========================================================================= */

/* ---- Floating homepage header ---- */
.home-header-wrap { position: absolute; top: 0; inset-inline: 0; z-index: 60; }
.admin-bar .home-header-wrap { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .home-header-wrap { top: 46px; } }
.topbar--home { background: rgba(9,24,45,.55); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.home-header { position: relative; z-index: 1; padding: 1.15rem 0; }
.home-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; }
.home-header__brand { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; }
.home-header__brand img, .home-header__brand .brand-logo { height: 50px; width: auto; }
.home-header__tools { display: flex; align-items: center; gap: 1rem; }
.home-lang { color: #fff; font-family: var(--head); font-weight: 600; font-size: .95rem; opacity: .92; }
.home-lang:hover { color: #fff; opacity: 1; }
.home-menu-toggle { width: 50px; height: 50px; border-radius: 50%; background: var(--brand-blue); border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; transition: background .2s var(--ease), transform .2s; }
.home-menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.home-menu-toggle:hover { background: var(--brand-blue-dark); transform: translateY(-1px); }

/* ---- Full-screen overlay menu ---- */
.overlay-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.overlay-menu.is-open { visibility: visible; opacity: 1; }
.overlay-menu__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(140deg, #0c2340 0%, #134a73 60%, #0c2340 100%); }
.overlay-menu__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 30%, rgba(43,150,204,.20), transparent 70%); }
.overlay-menu__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem clamp(1rem, 4vw, 3rem); }
.overlay-menu__tools { display: flex; align-items: center; gap: 1.2rem; }
.omenu-lang { color: #fff; font-family: var(--head); font-weight: 600; }
.omenu-lang:hover { color: #fff; opacity: .85; }
.overlay-menu__close { width: 50px; height: 50px; border-radius: 50%; background: var(--brand-blue); border: 0; cursor: pointer; position: relative; transition: background .2s; }
.overlay-menu__close:hover { background: var(--brand-blue-dark); }
.overlay-menu__close span { position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.overlay-menu__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.overlay-menu__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.overlay-menu__body { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; padding-block: 2rem; }
.overlay-menu__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.overlay-menu__nav li { margin-bottom: 1.3rem; break-inside: avoid; }
.overlay-menu__nav a { color: rgba(255,255,255,.82); font-family: var(--head); font-weight: 500; font-size: clamp(1.2rem, 1.9vw, 1.7rem); transition: color .2s, letter-spacing .2s; }
.overlay-menu__nav a:hover { color: #fff; letter-spacing: .01em; }
.overlay-menu__aside { color: #fff; border-inline-start: 1px solid rgba(255,255,255,.14); padding-inline-start: 3rem; }
.overlay-menu__brand img, .overlay-menu__brand .brand-logo { height: 66px; width: auto; margin-bottom: 1.6rem; }
.overlay-menu__loc { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.6rem; }
.overlay-menu__loc .icon { color: #6fc3ec; margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; }
.overlay-menu__loc-label { display: block; font-size: .78rem; color: #6fc3ec; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .2rem; }
.overlay-menu__loc p { margin: 0; color: rgba(255,255,255,.85); line-height: 1.6; }
.overlay-menu__social { display: flex; gap: .6rem; }
.overlay-menu__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-content: center; font-weight: 600; transition: background .2s, transform .2s; }
.overlay-menu__social a:hover { background: var(--brand-blue); color: #fff; transform: translateY(-2px); }
body.menu-open { overflow: hidden; }

/* ---- Video hero ---- */
.vhero { position: relative; min-height: calc(100vh - 30px); display: flex; flex-direction: column; overflow: hidden; background: var(--navy-deep); }
.vhero__media { position: absolute; inset: 0; z-index: 0; }
.vhero__video, .vhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,48,.78) 0%, rgba(8,26,48,.5) 38%, rgba(8,26,48,.86) 100%); }
.vhero__inner { position: relative; z-index: 2; flex: 1; display: flex; justify-content: center; align-items: center; padding: 6rem 0 3rem; }
.vhero__content { max-width: 760px; margin: 0 auto; text-align: center; color: #fff; }
.eyebrow--light { display: inline-flex; align-items: center; gap: .5rem; color: #dff1fb; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.2rem; backdrop-filter: blur(4px); text-transform: none; letter-spacing: normal; font-size: .82rem; }
.eyebrow--light .icon { width: 16px; height: 16px; color: var(--brand-green); }
.vhero__title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.16; margin: 0 0 1rem; }
.vhero__title .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.vhero__lead { color: rgba(255,255,255,.88); font-size: 1.12rem; line-height: 1.75; max-width: 54ch; margin: 0 auto 1.8rem; }
.vhero__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.vhero__badges { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.vhero__badges li { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.9); font-size: .92rem; }
.vhero__badges .icon { width: 18px; height: 18px; color: var(--brand-green); }

/* ---- 3-card panel ---- */
.vhero__panel { position: relative; z-index: 3; background: transparent; margin-top: 0; padding: 20px 0 1.5rem; }
/* Folded-corner tray: horizontal top on the cards side, angling down to reveal
   the video on the other side (matches the Health Holding reference). */
.vhero__panel::before { content: ""; position: absolute; inset: 0; background: #ffffff00; z-index: -1;
}

.vhero__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 0; width: 62%; max-width: 900px; margin-inline-start: auto; margin-inline-end: 0; padding-inline: clamp(1rem, 3vw, 2.5rem); box-sizing: border-box; }
.hcard { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-height: 112px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.hcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-blue-soft); }
.hcard__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-content: center; background: var(--brand-blue-soft); color: var(--brand-blue); }
.hcard__icon .icon { width: 19px; height: 19px; }
.hcard__body { display: flex; flex-direction: column; gap: .15rem; }
.hcard__title { color: var(--ink); font-family: var(--head); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.hcard__sub { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hcard__arrow { margin-top: auto; color: var(--brand-blue); display: grid; place-content: center; transition: transform .2s; }
.hcard__arrow .icon { width: 18px; height: 18px; }
.hcard:hover .hcard__arrow { transform: translateX(5px); }
[dir="rtl"] .hcard__arrow .icon { transform: scaleX(-1); }
[dir="rtl"] .hcard:hover .hcard__arrow { transform: translateX(-5px); }

@media (max-width: 900px) {
	.vhero__inner { grid-template-columns: 1fr; }
	.vhero .hero__visual { display: none; }
	.vhero__cards { grid-template-columns: 1fr; width: 100%; }
	.vhero__panel::before, [dir="rtl"] .vhero__panel::before { clip-path: none; }
	.overlay-menu__body { grid-template-columns: 1fr; gap: 2rem; align-content: center; }
	.overlay-menu__nav ul { columns: 1; }
	.overlay-menu__aside { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.6rem; }
	.home-header__brand img, .home-header__brand .brand-logo { height: 40px; }
}

/* ---- About intro (centered, single column) ---- */
.about__intro { max-width: 880px; margin-inline: auto; text-align: center; }
.about__intro > p { color: var(--muted); }
.ticklist--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: 1.3rem; }
.ticklist--inline li { margin: 0; }
.strategy__sub { color: var(--brand-blue); text-align: center; font-family: var(--head); font-weight: 600; margin: 2.6rem 0 1.4rem; }

/* ---- Strategy: expanding number cards (brand colours) ---- */
.strategy__grid { display: flex; gap: 1rem; align-items: stretch; }
.strat-card { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 22px; padding: 1.6rem 1.7rem; min-height: 340px; background: var(--brand-blue); color: #fff; display: flex; flex-direction: column; cursor: pointer; transition: flex .5s var(--ease), background .3s; }
.strat-card--navy { background: var(--navy); }
.strategy__grid > .strat-card:nth-child(3) { background: var(--brand-green); }
.strategy__grid:hover .strat-card { flex: .7 1 0; }
.strategy__grid .strat-card:hover, .strategy__grid .strat-card:focus-within { flex: 3.2 1 0; }
.strat-card__icon { align-self: flex-start; transition: all .4s var(--ease); }
.strat-card__icon .icon { width: 44px; height: 44px; color: #fff; }
.strat-card__label { font-family: var(--head); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: #fff; margin: 1rem 0 0; white-space: nowrap; transition: all .4s var(--ease); }
.strat-card__num { font-family: var(--head); font-weight: 800; font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: .9; color: #fff; margin-top: auto; transition: opacity .4s, font-size .4s; }
.strat-card__details { position: absolute; inset: 0; padding: 5rem 1.9rem 1.9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; align-content: center; opacity: 0; visibility: hidden; transition: opacity .35s .1s; list-style: none; margin: 0; pointer-events: none; }
.strat-card:hover .strat-card__details, .strat-card:focus-within .strat-card__details { opacity: 1; visibility: visible; }
.strat-card__details li { display: flex; align-items: center; gap: .5rem; font-size: .93rem; line-height: 1.4; color: rgba(255,255,255,.96); }
.strat-card__details .icon { width: 18px; height: 18px; color: rgba(255,255,255,.85); flex: 0 0 auto; }
.strat-card:hover .strat-card__num, .strat-card:focus-within .strat-card__num { position: absolute; bottom: .3rem; inset-inline-start: 1.4rem; font-size: 8rem; opacity: .1; margin: 0; }
.strat-card:hover .strat-card__label, .strat-card:focus-within .strat-card__label { position: absolute; top: 1.7rem; inset-inline-end: 1.9rem; margin: 0; }
.strat-card:hover .strat-card__icon, .strat-card:focus-within .strat-card__icon { position: absolute; top: 1.7rem; inset-inline-end: 5.5rem; }

@media (max-width: 820px) {
	.strategy__grid { flex-direction: column; }
	.strat-card, .strategy__grid:hover .strat-card, .strategy__grid .strat-card:hover { flex: 1 1 auto; min-height: auto; }
	.strat-card__details { position: static; opacity: 1; visibility: visible; grid-template-columns: 1fr; padding: 1rem 0 0; margin: 0; pointer-events: auto; }
	.strat-card:hover .strat-card__num, .strat-card:hover .strat-card__label, .strat-card:hover .strat-card__icon { position: static; font-size: inherit; opacity: 1; }
	.strat-card__num, .strat-card:hover .strat-card__num { font-size: 3rem; }
}
