/* ============================================================
   HMC — Hilo Almustaqbal Co. | Solar Energy Theme
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: 'AbarMid'; src: url('../fonts/AbarMid-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AbarMid'; src: url('../fonts/AbarMid-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'AbarMid'; src: url('../fonts/AbarMid-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'AbarMid'; src: url('../fonts/AbarMid-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'AbarMid'; src: url('../fonts/AbarMid-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Heuvel'; src: url('../fonts/HeuvelGrotesk-VF.ttf') format('truetype'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'HelvNow'; src: url('../fonts/HelveticaNowDisplay-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'HelvNow'; src: url('../fonts/HelveticaNowDisplay-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
:root {
	--c-primary: #145FA2;
	--c-navy: #0E2F5E;
	--c-accent: #3CA09D;
	--c-light: #DEEDF9;
	--c-bg: #F7FAFD;
	--c-ink: #12283F;
	--radius: 18px;
	--font-ar: 'AbarMid', 'Segoe UI', Tahoma, sans-serif;
	--font-en: 'Heuvel', 'HelvNow', 'Segoe UI', sans-serif;
	--shadow-sm: 0 4px 18px rgba(14, 47, 94, .07);
	--shadow-md: 0 14px 44px rgba(14, 47, 94, .12);
	--shadow-lg: 0 24px 70px rgba(14, 47, 94, .18);
	--ease: cubic-bezier(.22, .8, .3, 1);
	--grad: linear-gradient(120deg, var(--c-navy) 0%, var(--c-primary) 55%, #1e78c8 100%);
}
body {
	font-family: var(--font-ar);
	background: var(--c-bg);
	color: var(--c-ink);
	line-height: 1.75;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.dir-ltr { font-family: var(--font-en); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .25s; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; color: var(--c-navy); font-weight: 700; }
.dir-ltr h1, .dir-ltr h2, .dir-ltr h3 { letter-spacing: -.015em; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); }

/* icons */
.ic { display: inline-flex; width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.ic svg { width: 100%; height: 100%; }

/* ---------- Preloader ---------- */
#preloader {
	position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 28px;
	background: var(--c-navy);
	transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-star { width: 76px; height: 76px; animation: preSpin 2.6s var(--ease) infinite; }
.pre-star svg { width: 100%; height: 100%; }
.pre-star svg path { fill: #fff; }
@keyframes preSpin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.82); } 100% { transform: rotate(360deg) scale(1); } }
.pre-bar { width: 180px; height: 3px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--c-accent), #6ec6ff); animation: preBar 1.1s ease-in-out infinite; }
@keyframes preBar { 0% { transform: translateX(-160%); } 100% { transform: translateX(460%); } }
.dir-rtl .pre-bar i { animation-name: preBarR; }
@keyframes preBarR { 0% { transform: translateX(160%); } 100% { transform: translateX(-460%); } }

/* ---------- Scroll progress ---------- */
#progress-bar {
	position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
	background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
	z-index: 1600; border-end-end-radius: 3px; transition: width .1s linear;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--c-navy); color: #cfe3f5; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #cfe3f5; }
.topbar-item .ic { width: 1.1em; height: 1.1em; color: var(--c-accent); }
.topbar-side { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 4px; }
.topbar-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 8px; color: #cfe3f5;
	transition: .25s;
}
.topbar-social a:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 1500;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(20, 95, 162, .08);
	transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-img { max-height: 46px; width: auto; }
.brand-star { width: 40px; height: 40px; display: inline-flex; transition: transform .6s var(--ease); }
.brand:hover .brand-star { transform: rotate(90deg); }
.brand-star svg { width: 100%; height: 100%; }
.brand-star svg path { fill: var(--c-primary); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 1.35rem; color: var(--c-primary); font-weight: 800; letter-spacing: .02em; }
.brand-text small { font-size: .68rem; color: var(--c-ink); opacity: .75; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
	position: relative; display: block; padding: 10px 15px; font-weight: 600;
	font-size: .95rem; color: var(--c-ink); border-radius: 12px; transition: .25s;
}
.nav-list a::after {
	content: ''; position: absolute; inset-inline: 15px; bottom: 5px; height: 2.5px;
	border-radius: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
	transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.nav-list a:hover { color: var(--c-primary); }
.nav-list a:hover::after, .nav-list .current a::after { transform: scaleX(1); }
.nav-list .current a { color: var(--c-primary); }

.header-side { display: flex; align-items: center; gap: 12px; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px;
	border: 1.5px solid rgba(20, 95, 162, .25); border-radius: 999px;
	font-weight: 700; font-size: .82rem; color: var(--c-primary); transition: .25s;
}
.lang-switch:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2.5px; border-radius: 3px; background: var(--c-navy); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
	position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 84vw);
	background: #fff; z-index: 1700; padding: 90px 26px 30px;
	transform: translateX(var(--slide, 110%)); transition: transform .45s var(--ease);
	box-shadow: var(--shadow-lg); overflow-y: auto;
}
.dir-rtl .mobile-nav { --slide: -110%; }
.mobile-nav.open { transform: translateX(0); }
.mnav-list a { display: block; padding: 13px 10px; font-weight: 700; font-size: 1.05rem; color: var(--c-ink); border-bottom: 1px solid rgba(20,95,162,.07); }
.mnav-list a:hover { color: var(--c-primary); padding-inline-start: 16px; }
.mnav-lang { margin-top: 20px; justify-content: center; display: flex; }
.mobile-overlay {
	position: fixed; inset: 0; background: rgba(14, 47, 94, .5); backdrop-filter: blur(3px);
	opacity: 0; visibility: hidden; transition: .35s; z-index: 1650;
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: .95rem;
	font-family: inherit; border: 0; cursor: pointer; overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
	will-change: transform;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit;
	background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
	transform: translateX(-110%); transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(110%); }
.btn-solid { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(20, 95, 162, .35); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 95, 162, .45); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--c-primary); border: 1.5px solid rgba(20,95,162,.35); }
.btn-ghost-dark:hover { background: var(--c-primary); color: #fff; transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.btn-wa { background: #23b558; color: #fff; box-shadow: 0 10px 24px rgba(35, 181, 88, .35); }
.btn-wa:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 34px rgba(35, 181, 88, .45); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--c-navy); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1200px 700px at 75% -10%, #1e78c8 0%, var(--c-primary) 34%, var(--c-navy) 78%); }
.hero-rays {
	position: absolute; inset: -40%;
	background: conic-gradient(from 0deg at 76% 22%,
		transparent 0deg, rgba(255,255,255,.055) 8deg, transparent 16deg,
		transparent 40deg, rgba(255,255,255,.05) 48deg, transparent 56deg,
		transparent 90deg, rgba(255,255,255,.045) 98deg, transparent 106deg,
		transparent 150deg, rgba(255,255,255,.05) 158deg, transparent 166deg,
		transparent 220deg, rgba(255,255,255,.045) 228deg, transparent 236deg,
		transparent 300deg, rgba(255,255,255,.05) 308deg, transparent 316deg, transparent 360deg);
	animation: raysSpin 60s linear infinite;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-a { width: 420px; height: 420px; background: #2b8fdd; top: -120px; inset-inline-start: -100px; animation: orbFloat 9s ease-in-out infinite alternate; }
.orb-b { width: 340px; height: 340px; background: var(--c-accent); bottom: -140px; inset-inline-end: 8%; opacity: .34; animation: orbFloat 12s ease-in-out infinite alternate-reverse; }
@keyframes orbFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hero-grid-pat {
	position: absolute; inset: 0; opacity: .16;
	background-image:
		radial-gradient(rgba(255,255,255,.5) .8px, transparent 1.4px),
		radial-gradient(rgba(255,255,255,.28) .8px, transparent 1.4px);
	background-size: 34px 34px, 34px 34px;
	background-position: 0 0, 17px 17px;
	mask-image: linear-gradient(180deg, transparent 0%, #000 30%, transparent 90%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, transparent 90%);
}
.hero-star {
	position: absolute; inset-inline-end: -140px; top: 50%; margin-top: -260px;
	width: 520px; height: 520px; opacity: .1; animation: starSpin 90s linear infinite;
}
.hero-star svg { width: 100%; height: 100%; }
.hero-star svg path { fill: #fff; }
@keyframes starSpin { to { transform: rotate(360deg); } }

.hero-slides { position: relative; z-index: 3; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 90px 0 130px; }
.hero-slide:not(.has-media) .hero-inner { grid-template-columns: 1fr; }
.hero-copy { color: #fff; }
.hero-kicker {
	display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px; font-size: .85rem; font-weight: 600; color: #d9ecff;
	backdrop-filter: blur(8px); margin-bottom: 22px;
	animation: fadeUp .8s var(--ease) both;
}
.hero-kicker .ic { color: #ffd66e; animation: sunPulse 3s ease-in-out infinite; }
@keyframes sunPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(20deg); } }
.hero-title {
	color: #fff; font-size: clamp(1.9rem, 4.3vw, 3.4rem); font-weight: 800;
	line-height: 1.3; margin-bottom: 18px; animation: fadeUp .8s .12s var(--ease) both;
}
.hero-title em { font-style: normal; color: #8fd6ff; position: relative; }
.hero-sub {
	font-size: clamp(1rem, 1.6vw, 1.15rem); color: #cbe2f7; max-width: 560px;
	margin-bottom: 30px; animation: fadeUp .8s .24s var(--ease) both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .8s .36s var(--ease) both; }
.hero-media { position: relative; animation: fadeUp .9s .3s var(--ease) both; }
.hero-img-wrap {
	position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden;
	box-shadow: var(--shadow-lg); transform: perspective(900px) rotateY(var(--ry, 0)) rotateX(var(--rx, 0));
	transition: transform .2s ease-out;
}
.hero-img-wrap img { width: 100%; }
.hero-img-glow { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,255,255,.18) 0%, transparent 40%); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

.hero-nav { position: absolute; bottom: 96px; inset-inline: 0; z-index: 5; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 6px; border-radius: 6px; border: 0; background: rgba(255,255,255,.28); cursor: pointer; overflow: hidden; transition: .3s; }
.hero-dot i { display: block; height: 100%; width: 0; background: #fff; border-radius: 6px; }
.hero-dot.active i { animation: dotFill var(--slide-time, 7s) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; z-index: 4; }
.hero-wave svg { display: block; width: 100%; height: 90px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 92px 0; }
.bg-white { background: #fff; }
.bg-light { background: linear-gradient(180deg, var(--c-light) 0%, var(--c-bg) 100%); }
.bg-navy { background: radial-gradient(1000px 500px at 50% -20%, var(--c-primary), var(--c-navy) 70%); color: #d7e8f8; }
.bg-navy .sec-title, .bg-navy h3 { color: #fff; }
.bg-navy .sec-sub { color: #b9d4ec; }
.bg-gradient { background: var(--grad); color: #e5f1fc; }
.bg-gradient .sec-title { color: #fff; }
.bg-pattern {
	background:
		radial-gradient(rgba(20, 95, 162, .09) 1px, transparent 1.6px) 0 0 / 30px 30px,
		linear-gradient(180deg, #fff, var(--c-bg));
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker {
	display: inline-flex; align-items: center; gap: 9px; color: var(--c-primary);
	font-weight: 700; font-size: .88rem; margin-bottom: 12px;
	padding: 7px 16px; border-radius: 999px; background: rgba(20, 95, 162, .08);
}
.bg-navy .kicker { background: rgba(255,255,255,.1); color: #9fd1ff; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(60, 160, 157, .2); }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.sec-title.sm { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 26px; }
.sec-sub { color: #51708e; font-size: 1.02rem; }
.sec-more { text-align: center; margin-top: 46px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
body.no-anim .reveal { opacity: 1; transform: none; transition: none; }
body.no-anim .hero-kicker, body.no-anim .hero-title, body.no-anim .hero-sub,
body.no-anim .hero-btns, body.no-anim .hero-media,
body.no-anim .hero-rays, body.no-anim .hero-orb, body.no-anim .hero-star { animation: none !important; opacity: 1; transform: none; }
body.no-anim .hero-orb { opacity: .5; }
body.no-anim .hero-star { opacity: .1; }
body.no-anim #preloader { display: none; }
html:has(body.no-anim) { scroll-behavior: auto; }

/* ---------- Marquee ---------- */
.sec-marquee { padding: 44px 0; background: #fff; border-block: 1px solid rgba(20, 95, 162, .07); overflow: hidden; }
.marquee-title { text-align: center; color: #51708e; font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; }
.marquee-item img { max-height: 52px; width: auto; filter: grayscale(1) opacity(.55); transition: filter .3s, transform .3s; }
.marquee-item:hover img { filter: none; transform: scale(1.08); }

/* ---------- About / Split ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sec-split.rev .split-grid > .about-media { order: 2; }
.about-media { position: relative; }
.about-img-frame {
	position: relative; border-radius: calc(var(--radius) + 10px); overflow: hidden;
	box-shadow: var(--shadow-md);
}
.about-img-frame img { width: 100%; transition: transform .8s var(--ease); }
.about-img-frame:hover img { transform: scale(1.05); }
.frame-deco {
	position: absolute; inset: 14px; border: 1.5px solid rgba(255, 255, 255, .5);
	border-radius: var(--radius); pointer-events: none;
}
.about-placeholder { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--c-light), #fff); }
.about-placeholder svg { width: 40%; height: auto; opacity: .3; }
.float-card {
	position: absolute; bottom: 26px; inset-inline-end: -22px;
	background: #fff; border-radius: var(--radius); padding: 20px 26px;
	box-shadow: var(--shadow-lg); text-align: center;
	display: flex; flex-direction: column; gap: 2px;
	animation: floatCard 5s ease-in-out infinite alternate;
	border-top: 3px solid var(--c-accent);
}
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.float-num { font-size: 2rem; font-weight: 800; color: var(--c-primary); line-height: 1.2; }
.float-label { font-size: .82rem; color: #51708e; font-weight: 600; }
.about-copy .kicker { margin-bottom: 14px; }
.about-text { color: #41607f; margin: 14px 0 22px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 28px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.about-points .ic { color: var(--c-accent); width: 1.5em; height: 1.5em; }

/* ---------- Stats ---------- */
.sec-stats { padding: 74px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.stat {
	text-align: center; padding: 34px 18px; border-radius: var(--radius);
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	backdrop-filter: blur(8px); transition: transform .35s var(--ease), background .35s;
}
.stat:hover { transform: translateY(-8px); background: rgba(255,255,255,.11); }
.bg-white .stat, .bg-light .stat, .bg-pattern .stat { background: #fff; border-color: rgba(20,95,162,.09); box-shadow: var(--shadow-sm); }
.stat-icon { display: flex; justify-content: center; margin-bottom: 12px; }
.stat-icon .ic { width: 46px; height: 46px; color: var(--c-accent); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.2; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.bg-white .stat-num, .bg-light .stat-num, .bg-pattern .stat-num { color: var(--c-primary); }
.stat-num em { font-style: normal; font-size: 1.4rem; color: var(--c-accent); }
.stat-label { color: inherit; opacity: .85; font-weight: 600; margin-top: 6px; }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; }
.svc-card {
	position: relative; background: #fff; border-radius: var(--radius); padding: 36px 28px;
	box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.07);
	transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden;
}
.svc-card::after {
	content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 0;
	background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
	transition: width .35s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.svc-card:hover::after { width: 4px; }
.svc-icon {
	width: 62px; height: 62px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(20,95,162,.1), rgba(60,160,157,.12));
	margin-bottom: 20px; transition: .4s var(--ease);
}
.svc-icon .ic { width: 30px; height: 30px; color: var(--c-primary); }
.svc-card:hover .svc-icon { background: var(--grad); transform: rotate(-6deg) scale(1.06); }
.svc-card:hover .svc-icon .ic { color: #fff; }
.svc-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.svc-card p { color: #51708e; font-size: .93rem; }
.svc-line { position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); transform: scaleX(0); transform-origin: var(--tx, left); transition: transform .4s var(--ease); }
.dir-rtl .svc-line { --tx: right; }
.svc-card:hover .svc-line { transform: scaleX(1); }
.bg-navy .svc-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-navy .svc-card p { color: #b9d4ec; }

/* ---------- Product tabs & cards ---------- */
.ptabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.ptab {
	padding: 10px 24px; border-radius: 999px; border: 1.5px solid rgba(20,95,162,.2);
	background: transparent; color: var(--c-ink); font-family: inherit; font-weight: 700;
	font-size: .9rem; cursor: pointer; transition: .3s;
}
.ptab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.ptab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(20,95,162,.3); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.pcard {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.07);
	transition: transform .4s var(--ease), box-shadow .4s, opacity .3s;
}
.pcard.hide { display: none; }
.pcard:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }
.pcard-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(140deg, var(--c-light), #fff); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.08); }
.pcard-ph { display: flex; align-items: center; justify-content: center; height: 100%; }
.pcard-ph .ic { width: 64px; height: 64px; color: rgba(20,95,162,.25); }
.pcard-ph.big .ic { width: 110px; height: 110px; }
.pcard-badge {
	position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
	background: var(--c-navy); color: #ffd66e; padding: 6px 14px; border-radius: 999px;
	font-size: .78rem; font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.pcard-body { padding: 22px 22px 24px; }
.pcard-brand {
	display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
	color: var(--c-accent); text-transform: uppercase; margin-bottom: 6px;
}
.pcard-brand.big { font-size: .9rem; }
.pcard-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.pcard-body h3 a { color: var(--c-navy); }
.pcard-body h3 a:hover { color: var(--c-primary); }
.pcard-body p { color: #51708e; font-size: .88rem; margin-bottom: 14px; }
.pcard-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; }
.pcard-link svg { transition: transform .3s; }
.pcard-link:hover svg { transform: translateX(4px); }
.dir-rtl .pcard-link svg { transform: scaleX(-1); }
.dir-rtl .pcard-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: step; }
.step {
	position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px;
	box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.07);
	transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-num {
	font-size: 2.6rem; font-weight: 800; line-height: 1;
	background: linear-gradient(180deg, rgba(20,95,162,.28), rgba(20,95,162,.05));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: rgba(60,160,157,.12); }
.step-icon .ic { width: 26px; height: 26px; color: var(--c-accent); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: #51708e; font-size: .92rem; }
.bg-navy .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-navy .step p { color: #b9d4ec; }
.bg-light .step, .bg-pattern .step { background: #fff; }

/* ---------- Certificates ---------- */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.cert-card {
	position: relative; background: #fff; border-radius: var(--radius); padding: 40px 30px 32px;
	text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.08);
	transition: transform .45s var(--ease), box-shadow .45s; overflow: hidden;
}
.cert-card::before {
	content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px;
	background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-primary));
	background-size: 200% 100%; animation: certShimmer 4s linear infinite;
}
@keyframes certShimmer { to { background-position: -200% 0; } }
.cert-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-md); }
.cert-seal { position: relative; width: 84px; height: 84px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.cert-seal .ic { width: 42px; height: 42px; color: var(--c-primary); z-index: 2; }
.cert-ring {
	position: absolute; inset: 0; border-radius: 50%;
	border: 2px dashed rgba(20,95,162,.35); animation: sealSpin 14s linear infinite;
}
@keyframes sealSpin { to { transform: rotate(360deg); } }
.cert-std { display: inline-block; background: rgba(60,160,157,.12); color: #23726f; font-weight: 800; font-size: .8rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 10px; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cert-card p { color: #51708e; font-size: .88rem; margin-bottom: 14px; }
.cert-meta { text-align: start; background: var(--c-bg); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: .84rem; }
.cert-meta li { padding: 3px 0; color: #41607f; }
.cert-meta b { color: var(--c-navy); }
.bg-navy .cert-card { background: rgba(255,255,255,.97); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 24px; }
.partner-card {
	background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
	box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.07);
	transition: transform .4s var(--ease), box-shadow .4s;
}
.partner-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.partner-logo { height: 74px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.partner-logo img { max-height: 100%; max-width: 170px; object-fit: contain; }
.partner-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.partner-card p { color: #51708e; font-size: .86rem; margin-bottom: 10px; }

.brands-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.brand-tile {
	background: #fff; border: 1px solid rgba(20,95,162,.08); border-radius: 14px;
	min-height: 92px; display: flex; align-items: center; justify-content: center; padding: 18px;
	transition: .35s var(--ease); font-weight: 800; color: #51708e;
}
.brand-tile img { max-height: 48px; filter: grayscale(1) opacity(.6); transition: .35s; }
.brand-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(20,95,162,.2); }
.brand-tile:hover img { filter: none; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.proj-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.proj-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }
.proj-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(140deg, var(--c-light), #fff); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.07); }
.proj-cap {
	position: absolute; bottom: 14px; inset-inline-start: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(14,47,94,.85); color: #ffd66e; backdrop-filter: blur(6px);
	padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.proj-body { padding: 20px 22px; }
.proj-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.proj-body h3 a { color: var(--c-navy); }
.proj-loc { display: flex; align-items: center; gap: 7px; color: #51708e; font-size: .86rem; }
.proj-loc .ic { color: var(--c-accent); }

/* ---------- Testimonials ---------- */
.tslider { max-width: 780px; margin: 0 auto; position: relative; }
.tslider-track { position: relative; min-height: 300px; }
.tcard {
	position: absolute; inset: 0; opacity: 0; transform: translateY(24px) scale(.98);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
	background: #fff; border-radius: calc(var(--radius) + 6px); padding: 44px 46px 34px;
	box-shadow: var(--shadow-md); text-align: center; pointer-events: none;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tcard.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.tquote { font-size: 4.5rem; line-height: .6; color: var(--c-light); font-weight: 800; margin-bottom: 14px; }
.tcard blockquote { font-size: 1.08rem; color: #35516e; margin-bottom: 16px; font-weight: 500; }
.tstars { margin-bottom: 16px; color: #d6dee8; font-size: 1.1rem; letter-spacing: 3px; }
.tstars .on { color: #f6b93b; }
.tcard figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tcard figcaption img, .tavatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--c-light); display: flex; align-items: center; justify-content: center; color: var(--c-primary); }
.tcard figcaption b { display: block; color: var(--c-navy); }
.tcard figcaption small { color: #51708e; }
.tslider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.tprev, .tnext {
	width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(20,95,162,.25);
	background: #fff; color: var(--c-primary); font-size: 1.4rem; cursor: pointer; transition: .3s;
	display: flex; align-items: center; justify-content: center; line-height: 1;
}
.tprev:hover, .tnext:hover { background: var(--c-primary); color: #fff; }
.tdots { display: flex; gap: 8px; }
.tdot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(20,95,162,.2); cursor: pointer; transition: .3s; }
.tdot.active { background: var(--c-primary); transform: scale(1.35); }

/* ---------- CTA ---------- */
.sec-cta { padding: 40px 0 92px; }
.cta-box {
	position: relative; overflow: hidden; border-radius: calc(var(--radius) + 10px);
	background: var(--grad); padding: 60px 56px;
	display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
	box-shadow: var(--shadow-lg);
}
.cta-rays { position: absolute; inset: -60%; background: conic-gradient(from 0deg at 85% 30%, transparent 0deg, rgba(255,255,255,.07) 10deg, transparent 20deg, transparent 60deg, rgba(255,255,255,.06) 70deg, transparent 80deg, transparent 160deg, rgba(255,255,255,.06) 170deg, transparent 180deg, transparent 270deg, rgba(255,255,255,.06) 280deg, transparent 290deg, transparent 360deg); animation: raysSpin 46s linear infinite; }
.cta-star { position: absolute; inset-inline-end: -70px; bottom: -80px; width: 280px; opacity: .12; animation: starSpin 70s linear infinite; }
.cta-star svg path { fill: #fff; }
.cta-copy { position: relative; z-index: 2; color: #fff; max-width: 600px; }
.cta-copy h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cta-copy p { color: #d7e8f8; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
	background: #fff; border-radius: var(--radius); border: 1px solid rgba(20,95,162,.09);
	box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 20px 26px; font-weight: 700;
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	color: var(--c-navy); transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--c-primary); }
.faq-x { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.faq-x::before { inset-inline: 0; top: 10px; height: 2.4px; }
.faq-x::after { inset-block: 0; inset-inline-start: 10px; width: 2.4px; }
.faq-item[open] .faq-x::after { transform: rotate(90deg); }
.faq-a { padding: 0 26px 22px; color: #51708e; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.bg-navy .contact-info { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.cinfo-row { display: flex; align-items: flex-start; gap: 13px; }
.cinfo-row .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(20,95,162,.09); color: var(--c-primary); }
.bg-navy .cinfo-row .ic { background: rgba(255,255,255,.12); color: #9fd1ff; }
.cinfo-row a, .cinfo-row span { font-weight: 600; color: var(--c-ink); padding-top: 6px; }
.bg-navy .cinfo-row a, .bg-navy .cinfo-row span { color: #d7e8f8; }
.cinfo-row a:hover { color: var(--c-primary); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-md); }
.fgroup { position: relative; margin-bottom: 20px; }
.fgroup input, .fgroup textarea {
	width: 100%; padding: 15px 17px; border-radius: 13px;
	border: 1.5px solid rgba(20,95,162,.16); background: var(--c-bg);
	font-family: inherit; font-size: .95rem; color: var(--c-ink);
	transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical;
}
.fgroup input:focus, .fgroup textarea:focus { outline: 0; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(20,95,162,.1); }
.fgroup label {
	position: absolute; top: 15px; inset-inline-start: 17px; color: #7b93aa;
	font-size: .92rem; pointer-events: none; transition: .25s var(--ease);
	background: transparent; padding: 0 6px;
}
.fgroup input:focus + label, .fgroup input:not(:placeholder-shown) + label,
.fgroup textarea:focus + label, .fgroup textarea:not(:placeholder-shown) + label {
	top: -10px; font-size: .74rem; color: var(--c-primary); background: #fff; border-radius: 6px; font-weight: 700;
}
.form-status { margin-top: 14px; font-weight: 700; font-size: .9rem; min-height: 1.4em; }
.form-status.ok { color: #1d9d55; }
.form-status.err { color: #d7282f; }
.map-wrap { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gitem { position: relative; border-radius: 16px; overflow: hidden; display: block; aspect-ratio: 4/3; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gitem:hover img { transform: scale(1.08); }
.gzoom {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(14,47,94,.45); color: #fff; font-size: 2.4rem; font-weight: 300;
	opacity: 0; transition: opacity .35s;
}
.gitem:hover .gzoom { opacity: 1; }
.lightbox {
	position: fixed; inset: 0; z-index: 2000; background: rgba(10, 25, 47, .92);
	display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
	opacity: 0; visibility: hidden; transition: .35s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 22px; inset-inline-end: 26px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ---------- Video ---------- */
.video-box { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-md); cursor: pointer; background: var(--c-navy); }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-cover-ph { position: absolute; inset: 0; background: var(--grad); }
.video-play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.95); color: var(--c-primary);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: playPulse 2.2s infinite;
	transition: transform .3s;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.1); }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 26px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--c-navy); padding: 84px 0 64px; overflow: hidden; }
.page-hero-sm { padding: 60px 0 46px; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(900px 500px at 70% -20%, #1e78c8, var(--c-primary) 40%, var(--c-navy) 85%); }
.page-hero .container { position: relative; z-index: 2; }
.page-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.page-sub { color: #c4dcf1; max-width: 640px; margin-bottom: 8px; }
.crumbs { display: flex; align-items: center; gap: 9px; color: #9cbcdd; font-size: .85rem; margin-top: 14px; flex-wrap: wrap; }
.crumbs a { color: #cfe3f5; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #8fd6ff; font-weight: 600; }

/* ---------- Product single ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-main-img { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.product-main-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: contain; background: #fff; padding: 8px; }
.product-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pthumb { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #fff; padding: 0; transition: .25s; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb.active, .pthumb:hover { border-color: var(--c-primary); }
.product-name { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 12px; }
.product-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { background: rgba(20,95,162,.09); color: var(--c-primary); font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.product-desc { color: #41607f; margin-bottom: 24px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.specs-box { background: #fff; border-radius: var(--radius); padding: 26px 26px 14px; box-shadow: var(--shadow-sm); border: 1px solid rgba(20,95,162,.08); }
.specs-box h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.specs-box h3::before { content: ''; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, var(--c-primary), var(--c-accent)); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid rgba(20,95,162,.07); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table th { text-align: start; padding: 11px 4px; color: #51708e; font-weight: 600; font-size: .88rem; width: 45%; }
.specs-table td { padding: 11px 4px; font-weight: 700; color: var(--c-navy); font-size: .9rem; }
.related-box { margin-top: 70px; }

/* ---------- Rich content ---------- */
.rich-content { color: #35516e; }
.rich-content h2, .rich-content h3 { margin: 1.4em 0 .5em; }
.rich-content p { margin-bottom: 1em; }
.rich-content ul, .rich-content ol { padding-inline-start: 1.4em; margin-bottom: 1em; }
.rich-content ul { list-style: disc; }
.rich-content img { border-radius: var(--radius); }
.rich-content a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.sec-404 { padding: 120px 0; }
.err-star { width: 110px; margin: 0 auto 20px; opacity: .9; animation: starSpin 26s linear infinite; }
.err-star svg path { fill: var(--c-light); }
.err-code { font-size: 6rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.sec-404 .page-sub { color: #51708e; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--c-navy); color: #b9d4ec; overflow: hidden; }
.footer-pattern {
	position: absolute; inset: 0; opacity: .5;
	background:
		radial-gradient(700px 300px at 85% 0%, rgba(30,120,200,.35), transparent 60%),
		radial-gradient(500px 260px at 8% 100%, rgba(60,160,157,.16), transparent 60%);
}
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 46px; padding: 64px 0 44px; }
.footer-logo { max-height: 54px; width: auto; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-star svg path { fill: #fff; }
.footer-brand b { color: #fff; font-size: 1.5rem; font-weight: 800; }
.fcol > p { font-size: .92rem; color: #a7c4e0; max-width: 340px; }
.fcol h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; padding-bottom: 10px; position: relative; }
.fcol h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 38px; height: 2.5px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent), transparent); }
.footer-links li { margin-bottom: 4px; }
.footer-links a { color: #a7c4e0; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; transition: .25s; }
.footer-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); opacity: .6; transition: .25s; }
.footer-links a:hover { color: #fff; padding-inline-start: 5px; }
.footer-links a:hover::before { opacity: 1; box-shadow: 0 0 8px var(--c-accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; font-size: .92rem; }
.footer-contact .ic { color: var(--c-accent); margin-top: 3px; }
.footer-contact a { color: #a7c4e0; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a {
	width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08); color: #cfe3f5; transition: .3s;
}
.footer-social a:hover { background: var(--c-primary); color: #fff; transform: translateY(-4px); }
.footer-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; text-align: center; font-size: .84rem; color: #8fb0d2; }

/* ---------- Floating helpers ---------- */
.wa-float {
	position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 1400;
	width: 58px; height: 58px; border-radius: 50%; background: #23b558; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px rgba(35, 181, 88, .45);
	animation: waPulse 2.6s infinite; transition: transform .3s;
}
.wa-float:hover { transform: scale(1.12); color: #fff; }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(35,181,88,.45), 0 0 0 0 rgba(35,181,88,.35); } 70% { box-shadow: 0 12px 30px rgba(35,181,88,.45), 0 0 0 20px rgba(35,181,88,0); } 100% { box-shadow: 0 12px 30px rgba(35,181,88,.45), 0 0 0 0 rgba(35,181,88,0); } }
.to-top {
	position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 1400;
	width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
	background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: .35s var(--ease); box-shadow: 0 10px 24px rgba(20,95,162,.4);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero-inner { grid-template-columns: 1fr; padding: 70px 0 120px; }
	.hero-media { max-width: 480px; }
	.split-grid { gap: 40px; }
	.contact-grid { grid-template-columns: 1fr; }
	.product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.main-nav, .header-cta { display: none; }
	.burger { display: flex; }
	.topbar .topbar-social { display: none; }
	.split-grid { grid-template-columns: 1fr; }
	.sec-split.rev .split-grid > .about-media { order: 0; }
	.float-card { inset-inline-end: 10px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 50px 0 30px; }
	.sec { padding: 68px 0; }
	.hero { min-height: 76vh; }
	.hero-nav { bottom: 80px; }
	.cta-box { padding: 44px 30px; }
	.tcard { padding: 34px 24px 28px; }
	.about-points { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.topbar-in { justify-content: center; }
	.topbar-side { display: none; }
	.hero-btns .btn { width: 100%; }
	.products-grid { grid-template-columns: 1fr; }
	.wa-float { bottom: 18px; inset-inline-start: 18px; width: 52px; height: 52px; }
	.to-top { bottom: 18px; inset-inline-end: 18px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}
body.no-anim .hero { min-height: 800px; }

/* ---------- Polish v1.0.7 ---------- */
/* hero scroll indicator */
.hero-scroll {
	position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%);
	z-index: 6; background: none; border: 0; cursor: pointer; opacity: .85; transition: opacity .3s;
}
.hero-scroll:hover { opacity: 1; }
.hs-mouse {
	display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7);
	border-radius: 15px; position: relative;
}
.hs-mouse i {
	position: absolute; top: 7px; left: 50%; margin-left: -2px;
	width: 4px; height: 8px; border-radius: 3px; background: #fff;
	animation: mouseWheel 1.8s ease-in-out infinite;
}
@keyframes mouseWheel { 0% { opacity: 1; transform: translateY(0); } 60% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (max-width: 860px) { .hero-scroll { display: none; } }

/* shine sweep on card media */
.pcard-media::after, .proj-media::after {
	content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
	transform: translateX(-130%) skewX(-10deg); transition: transform .1s;
}
.pcard:hover .pcard-media::after, .proj-card:hover .proj-media::after {
	transform: translateX(130%) skewX(-10deg); transition: transform .8s ease;
}

/* hero media gentle float (after entrance) */
.hero-media { animation: fadeUp .9s .3s var(--ease) both, heroFloat 7s 1.6s ease-in-out infinite alternate; }
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-13px); } }
body.no-anim .hero-media { animation: none !important; }

/* marquee logos: slightly larger, soft card */
.marquee-item {
	background: #fff; border: 1px solid rgba(20,95,162,.08); border-radius: 14px;
	padding: 14px 26px; box-shadow: 0 3px 12px rgba(14,47,94,.05);
	transition: transform .3s, box-shadow .3s;
}
.marquee-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.marquee-item img { max-height: 44px; filter: grayscale(1) opacity(.65); }
.marquee-track { gap: 34px; }
.marquee-title { font-weight: 700; color: var(--c-primary); }

/* partner card logo pop */
.partner-card .partner-logo img { transition: transform .35s var(--ease); }
.partner-card:hover .partner-logo img { transform: scale(1.1); }

/* hero title em underline glow */
.hero-title em { position: relative; white-space: nowrap; }
.hero-title em::after {
	content: ''; position: absolute; inset-inline: 2px; bottom: .04em; height: .14em;
	background: linear-gradient(90deg, var(--c-accent), #8fd6ff); border-radius: 4px;
	opacity: .55; z-index: -1;
}
