/* =========================================================
   MHGSS – Main stylesheet
   ========================================================= */
:root {
  --navy: #0a2540;
  --navy-2: #0f3460;
  --blue: #1660c4;
  --blue-2: #2b7de9;
  --green: #16a34a;
  --green-2: #22c55e;
  --sun: #fbbf24;
  --sun-2: #f59e0b;
  --ink: #0f1c2e;
  --text: #4a5a6e;
  --muted: #7b8a9c;
  --line: #e4ebf3;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --grad-sun: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(10, 37, 64, .08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--bg); overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--green); }
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--sun); color: var(--navy); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent; font-family: var(--head); font-weight: 700;
  font-size: 15px; line-height: 1.2; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s, color .3s, background .3s, border-color .3s;
}
.btn::after { /* shine sweep */
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn:hover { transform: translateY(-3px); }
.btn i { transition: transform .3s; }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(22, 96, 196, .3); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(22, 163, 74, .35); }
.btn-accent { background: var(--grad-sun); color: var(--navy); box-shadow: 0 10px 24px rgba(245, 158, 11, .35); }
.btn-accent:hover { color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn.loading { pointer-events: none; opacity: .8; }
.btn.loading i { animation: spin 1s linear infinite; }
.btn.loading i::before { content: '\f110'; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--head); font-size: 14px; color: var(--blue); }
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i, a:hover .link-arrow i { transform: translateX(6px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-sun); }
.eyebrow.light { color: var(--sun); }
.section { padding: 110px 0; position: relative; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; }
.section-title.light, .light h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-sun); }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split .section-title { margin-bottom: 0; }
.lead { font-size: 17.5px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; transition: opacity .6s, visibility .6s;
}
#preloader p { color: #fff; font-family: var(--head); font-weight: 800; letter-spacing: 6px; margin: 0; animation: pulseText 1.4s infinite; }
#preloader.done { opacity: 0; visibility: hidden; }
.sun-loader { position: relative; width: 84px; height: 84px; }
.sun-loader span { position: absolute; inset: 22px; border-radius: 50%; background: var(--grad-sun); box-shadow: 0 0 40px var(--sun); }
.sun-loader i { position: absolute; inset: 0; border-radius: 50%; border: 4px dashed var(--sun); animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseText { 50% { opacity: .4; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001; background: var(--grad-sun); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.8); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a, .topbar span { color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: 8px; }
.topbar i { color: var(--sun); }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; transition: background .3s, transform .3s; }
.topbar-social a:hover { background: var(--sun); transform: translateY(-2px); }
.topbar-social a:hover i { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(10,37,64,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; transition: height .3s; }
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(10,37,64,.12); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: .5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-text small { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; }
.brand-light .brand-text small { color: rgba(255,255,255,.6); }
.brand-light .brand-text strong { background: linear-gradient(135deg,#fff,#a7f3d0); -webkit-background-clip: text; background-clip: text; }

.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-family: var(--head); font-weight: 600; font-size: 15px;
  color: var(--ink); border-radius: 30px; position: relative;
}
.main-nav > ul > li > a i { font-size: 10px; transition: transform .3s; }
.main-nav > ul > li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-sun);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav > ul > li > a.active, .main-nav > ul > li > a:hover { color: var(--blue); }
.has-sub:hover > a i { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s var(--ease); border-top: 3px solid var(--sun);
}
.sub-wide { min-width: 340px; }
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; transition: all .25s; }
.sub a i { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-soft); color: var(--blue); display: grid; place-items: center; font-size: 13px; transition: all .25s; }
.sub a:hover { background: var(--bg-soft); color: var(--blue); padding-left: 16px; }
.sub a:hover i { background: var(--grad); color: #fff; }
/* A service with sub-services opens them as a flyout to the side */
.sub-parent { position: relative; }
.sub-parent > a { font-weight: 700; color: var(--blue); }
.sub-parent > a::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 10px; margin-left: auto;
  color: var(--blue); transition: transform .3s var(--ease);
}
.sub-parent:hover > a { background: var(--bg-soft); }
.sub-parent:hover > a::after { transform: translateX(3px); }
.sub-child {
  position: absolute; top: -10px; left: 100%; min-width: 300px; background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: var(--shadow-lg); border-top: 3px solid var(--sun); opacity: 0; visibility: hidden; transform: translateX(12px);
  transition: all .3s var(--ease);
}
.sub-parent:hover > .sub-child { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-child a { font-size: 14px; }
.nav-head, .nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--blue); transition: all .3s; }
.icon-btn:hover { background: var(--grad); color: #fff; transform: rotate(-12deg); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--bg-soft); padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: .3s; }
.burger span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-overlay { position: fixed; inset: 0; background: rgba(10,37,64,.55); z-index: 1001; opacity: 0; visibility: hidden; transition: .35s; backdrop-filter: blur(3px); }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
/* The active slide stays in normal flow, so the hero grows to fit its content on short screens instead of overlapping */
.hero { --hero-h: clamp(620px, calc(100vh - 128px), 880px); position: relative; overflow: hidden; background: var(--navy); }
.hero-slides { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; display: flex; align-items: center; min-height: var(--hero-h); }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.15); }
.hero-slide.is-active .hero-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,37,64,.92) 0%, rgba(10,37,64,.7) 45%, rgba(10,37,64,.15) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-top: 70px; padding-bottom: 150px; }
.hero-content > * { max-width: 720px; opacity: 0; transform: translateY(40px); }
.hero-slide.is-active .hero-content > * { animation: heroIn .9s var(--ease) forwards; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .45s; }
.hero-slide.is-active .hero-content > *:nth-child(5) { animation-delay: .6s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-sub {
  display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 40px; font-family: var(--head);
  font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.4); color: var(--sun); margin-bottom: 24px;
}
.hero-sub i { animation: spin 8s linear infinite; }
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 68px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; margin-bottom: 22px; }
.hero-content p { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-rotator { margin-top: 30px; color: rgba(255,255,255,.75); font-family: var(--head); font-size: 17px; display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-rotator > i { color: var(--sun); }
.rotator { color: var(--sun); position: relative; display: inline-block; min-width: 130px; }
.rotator.swap { animation: wordSwap .6s var(--ease); }
@keyframes wordSwap { 0% { opacity: 0; transform: translateY(14px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 50px; z-index: 3; display: flex; align-items: center; pointer-events: none; }
.hero-controls > * { pointer-events: auto; }
/* Short laptop screens: tighten the hero so slide dots stay above the fold */
@media (min-width: 1025px) and (max-height: 860px) {
  .hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 18px; }
  .hero-sub { margin-bottom: 18px; }
  .hero-content { padding-top: 50px; padding-bottom: 110px; }
  .hero-content p { margin-bottom: 26px; }
  .hero-rotator { margin-top: 22px; }
  .hero-controls { bottom: 36px; }
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 46px; height: 5px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-dots button span { display: block; height: 100%; width: 0; background: var(--sun); }
.hero-dots button.is-active span { animation: dotFill var(--dur, 7s) linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-arrows { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.hero-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; transition: .3s; backdrop-filter: blur(6px); }
.hero-arrows button:hover { background: var(--sun); color: var(--navy); border-color: var(--sun); transform: scale(1.08); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; pointer-events: none; }
.orb-1 { width: 380px; height: 380px; right: -80px; top: -60px; background: rgba(251,191,36,.35); animation: float 10s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; right: 25%; bottom: -120px; background: rgba(34,197,94,.3); animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.1); } }
.scroll-down { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--sun); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Features ---------- */
.features { position: relative; z-index: 5; margin-top: -1px; padding: 0 0 20px; background: linear-gradient(var(--navy) 0 70px, transparent 70px); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.feature-card::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .45s; z-index: 0; }
.feature-card > * { position: relative; z-index: 1; transition: color .45s; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover h3, .feature-card:hover p { color: #fff; }
.feature-icon { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: var(--blue); background: var(--bg-soft); margin-bottom: 22px; transition: all .45s var(--ease) !important; }
.feature-card:hover .feature-icon { background: rgba(255,255,255,.18); color: var(--sun); transform: rotateY(180deg); }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { font-size: 15px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; padding: 0 60px 70px 0; }
.about-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.06); }
.about-img.main { aspect-ratio: 4/4.4; }
.about-img.second { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid #fff; }
.exp-badge {
  position: absolute; left: -24px; bottom: 110px; background: var(--grad-sun); color: var(--navy); padding: 22px 26px; border-radius: 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 18px 40px rgba(245,158,11,.4); animation: bob 4s ease-in-out infinite;
}
.exp-badge strong { font-family: var(--head); font-size: 46px; line-height: 1; font-weight: 800; }
.exp-badge > span { font-weight: 700; font-size: 14px; line-height: 1.3; font-family: var(--head); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.sun-deco { position: absolute; top: -30px; right: 30px; width: 110px; height: 110px; border-radius: 50%; border: 3px dashed var(--sun); animation: spin 20s linear infinite; z-index: -1; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 15px; }
.check-list i { color: var(--green); margin-top: 5px; }
.about-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.about-mv > div { display: flex; gap: 14px; }
.about-mv i { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; font-size: 18px; }
.about-mv h4 { font-size: 17px; margin-bottom: 4px; }
.about-mv p { font-size: 14px; margin: 0; }
.about-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ceo-mini { display: flex; align-items: center; gap: 12px; }
.ceo-mini img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sun); }
.ceo-mini strong { display: block; color: var(--ink); font-family: var(--head); font-size: 15px; }
.ceo-mini small { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); overflow: hidden; padding: 22px 0; transform: rotate(-1.5deg); margin: 20px -20px; box-shadow: 0 14px 40px rgba(22,96,196,.25); }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { color: #fff; font-family: var(--head); font-weight: 800; font-size: clamp(18px, 2.5vw, 28px); white-space: nowrap; display: flex; align-items: center; gap: 50px; }
.marquee span i { color: var(--sun); font-size: .8em; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-sec { background: var(--bg-soft); }
.services-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(22,96,196,.07), transparent 40%), radial-gradient(circle at 90% 80%, rgba(22,163,74,.08), transparent 40%); pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text);
  transition: box-shadow .4s, transform .2s ease-out; transform-style: preserve-3d; will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.service-img { height: 220px; overflow: hidden; position: relative; }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10,37,64,.6)); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.12) rotate(1deg); }
.service-body { padding: 0 30px 32px; position: relative; flex: 1; display: flex; flex-direction: column; }
.service-icon {
  width: 74px; height: 74px; margin-top: -37px; margin-bottom: 18px; border-radius: 20px; background: var(--grad); color: #fff; font-size: 28px;
  display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 12px 26px rgba(22,96,196,.35); border: 4px solid #fff; transition: transform .5s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-10deg) scale(1.08); background: var(--grad-sun); color: var(--navy); }
.service-num { position: absolute; right: 26px; top: 14px; font-family: var(--head); font-size: 50px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--line); line-height: 1; transition: .4s; }
.service-card:hover .service-num { -webkit-text-stroke-color: var(--sun); }
.service-body h3 { font-size: 21px; transition: color .3s; }
.service-card:hover h3 { color: var(--blue); }
.service-body p { font-size: 15px; flex: 1; }
.service-sub-count {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-bottom: 14px; padding: 5px 12px; border-radius: 30px;
  background: var(--bg-soft); color: var(--blue); font-family: var(--head); font-size: 12.5px; font-weight: 600;
}

/* ---------- Sub-services ---------- */
.sub-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sub-service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow);
  color: var(--text); border-top: 3px solid transparent; transition: box-shadow .4s, transform .4s var(--ease), border-color .4s;
}
.sub-service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-top-color: var(--sun); color: var(--text); }
.ss-icon {
  width: 58px; height: 58px; margin-bottom: 18px; border-radius: 16px; background: var(--bg-soft); color: var(--blue); font-size: 22px;
  display: grid; place-items: center; transition: all .4s var(--ease);
}
.sub-service-card:hover .ss-icon { background: var(--grad); color: #fff; transform: rotate(-8deg); }
.sub-service-card h3 { font-size: 18px; margin-bottom: 10px; transition: color .3s; }
.sub-service-card:hover h3 { color: var(--blue); }
.sub-service-card p { font-size: 14.5px; flex: 1; margin-bottom: 16px; }
.sub-services-inline { grid-template-columns: repeat(2, 1fr); margin-top: 22px; }
.sub-services-block { margin-top: 90px; padding-top: 70px; border-top: 1px dashed #cfdbe8; position: relative; }
.sub-services-block .section-head { margin-bottom: 40px; }
.block-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.process-line { position: absolute; top: 30px; left: 12%; width: 76%; height: 60px; z-index: 0; overflow: visible; }
.process-line path { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: 10 10; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step-icon {
  width: 120px; height: 120px; margin: 0 auto 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 40px; color: var(--blue);
  box-shadow: var(--shadow); position: relative; transition: all .5s var(--ease);
}
.step-icon::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(22,96,196,.3); animation: spin 18s linear infinite; }
.step-icon span { position: absolute; top: 0; right: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-sun); color: var(--navy); font-size: 16px; font-weight: 800; font-family: var(--head); display: grid; place-items: center; border: 3px solid #fff; }
.process-step:hover .step-icon { background: var(--grad); color: #fff; transform: translateY(-8px); }
.process-step h3 { font-size: 21px; }

/* ---------- Stats ---------- */
.parallax { background-size: cover; background-position: center; background-attachment: fixed; }
.stats-sec { position: relative; padding: 120px 0; color: rgba(255,255,255,.85); }
.stats-sec::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,37,64,.96), rgba(15,52,96,.88) 60%, rgba(22,163,74,.75)); }
.stats-sec .container { position: relative; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.offer-card { display: flex; gap: 22px; align-items: center; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); margin-top: 28px; }
.offer-badge { flex-shrink: 0; width: 104px; height: 104px; border-radius: 50%; background: var(--grad-sun); color: var(--navy); display: grid; place-items: center; align-content: center; font-family: var(--head); font-size: 30px; font-weight: 800; line-height: 1; animation: pulseRing 2.5s infinite; }
.offer-badge small { font-size: 14px; letter-spacing: 2px; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(251,191,36,.6); } 70% { box-shadow: 0 0 0 22px rgba(251,191,36,0); } 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); } }
.offer-card h4 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.offer-card p { font-size: 14.5px; margin-bottom: 12px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat { padding: 32px 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-align: center; transition: .4s var(--ease); }
.stat:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); border-color: var(--sun); }
.stat i { font-size: 30px; color: var(--sun); margin-bottom: 12px; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(32px, 4vw, 46px); color: #fff; line-height: 1.1; font-weight: 800; }
.stat > span { font-size: 14.5px; }

/* ---------- Projects ---------- */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 40px; font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--ink); transition: .3s; }
.filter-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.filter-tabs button.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(22,96,196,.25); }
/* Flex layout: an incomplete last row is centred instead of leaving a hole */
.projects-grid { --cols: 3; --gap: 24px; --card-h: 300px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.project-card {
  --w: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  flex: 0 0 var(--w); max-width: var(--w); height: var(--card-h);
  position: relative; border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); transition: opacity .4s, transform .4s var(--ease);
}
.project-card.wide { flex-basis: calc(var(--w) * 2 + var(--gap)); max-width: calc(var(--w) * 2 + var(--gap)); }
.projects-grid.is-filtered .project-card.wide { flex-basis: var(--w); max-width: var(--w); }
.project-card.hidden { display: none; }
.project-card.fade-in { animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover img { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; background: linear-gradient(transparent 35%, rgba(10,37,64,.92)); }
.project-overlay h3 { color: #fff; font-size: 22px; margin: 10px 0 6px; transform: translateY(10px); transition: transform .4s var(--ease); }
.project-overlay p { font-size: 14px; margin: 0; opacity: .85; transform: translateY(10px); transition: transform .4s var(--ease) .05s; }
.project-card:hover .project-overlay h3, .project-card:hover .project-overlay p { transform: none; }
.tag { display: inline-block; align-self: flex-start; padding: 4px 14px; border-radius: 30px; background: var(--grad-sun); color: var(--navy); font-size: 12px; font-weight: 700; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; }
.project-plus { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .45s var(--ease); }
.project-card:hover .project-plus { transform: scale(1) rotate(0); }

/* ---------- Calculator teaser ---------- */
.calc-teaser { padding: 0 0 20px; }
.calc-teaser-inner { display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, #fff7e0, #ecfdf3); border: 1px solid #fde68a; }
.calc-teaser-inner > div:nth-child(2) { flex: 1; }
.calc-teaser-inner h3 { font-size: 24px; margin-bottom: 4px; }
.calc-teaser-inner p { margin: 0; }
.calc-teaser-icon { width: 76px; height: 76px; flex-shrink: 0; border-radius: 20px; background: var(--grad-sun); display: grid; place-items: center; font-size: 30px; color: var(--navy); animation: bob 3s ease-in-out infinite; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); overflow: hidden; }
.t-slider { --pv: 3; position: relative; }
/* extra room around the clip so card shadows aren't cut; inner padding keeps cards aligned to the container */
.t-viewport { overflow: hidden; margin: -24px -24px -40px; padding: 24px 12px 56px; }
.t-track { display: flex; transition: transform .7s var(--ease); }
.t-slide { flex: 0 0 calc(100% / var(--pv)); padding: 0 12px; display: flex; }
.t-card {
  background: #fff; padding: 38px 34px 32px; border-radius: 24px; box-shadow: var(--shadow); position: relative; width: 100%; display: flex; flex-direction: column;
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s;
}
.t-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-sun); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.t-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.t-card:hover::after { transform: scaleX(1); }
.t-quote { position: absolute; right: 28px; top: 26px; font-size: 52px; color: rgba(22,96,196,.08); transition: color .4s, transform .4s var(--ease); }
.t-card:hover .t-quote { color: rgba(251,191,36,.35); transform: rotate(-8deg) scale(1.1); }
.t-author { padding-top: 20px; border-top: 1px dashed var(--line); }
.t-nav.single { display: none; }
.stars { color: var(--sun); margin-bottom: 16px; display: flex; gap: 4px; }
.t-card p { font-size: 16.5px; font-style: italic; flex: 1; color: var(--ink); }
.t-author { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.t-author img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sun); }
.t-author strong { display: block; color: var(--ink); font-family: var(--head); }
.t-author span { font-size: 14px; color: var(--muted); }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.t-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .3s; }
.t-nav button:hover { background: var(--grad); color: #fff; border-color: transparent; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: #cbd6e2; transition: .35s; }
.t-dots button.is-active { width: 30px; background: var(--grad); }

/* ---------- FAQ / Accordion ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.faq-contact { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.faq-contact small { display: block; color: var(--muted); }
.faq-contact a { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--ink); }
.pulse-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px; animation: pulseBlue 2s infinite; }
@keyframes pulseBlue { 0% { box-shadow: 0 0 0 0 rgba(22,96,196,.5); } 70% { box-shadow: 0 0 0 18px rgba(22,96,196,0); } 100% { box-shadow: 0 0 0 0 rgba(22,96,196,0); } }
.faq-img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.acc-item.open { box-shadow: var(--shadow); border-color: transparent; }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: 0; background: none; text-align: left; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); }
.acc-head i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--blue); transition: transform .4s var(--ease), background .3s, color .3s; }
.acc-item.open .acc-head { color: var(--blue); }
.acc-item.open .acc-head i { transform: rotate(135deg); background: var(--grad); color: #fff; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body p { padding: 0 24px 22px; margin: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-img { position: relative; display: block; height: 230px; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.08); }
.post-date { position: absolute; left: 20px; top: 20px; background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.2; text-transform: uppercase; }
.post-date strong { display: block; font-size: 22px; color: var(--blue); font-family: var(--head); }
.post-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-meta i { color: var(--green); margin-right: 4px; }
.post-body h3 { font-size: 20px; }
.post-body h3 a { color: var(--ink); background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 2px no-repeat; transition: background-size .4s; }
.post-body h3 a:hover { background-size: 100% 2px; }
.post-body p { font-size: 15px; flex: 1; }

/* ---------- CTA Band ---------- */
.cta-band { position: relative; padding: 90px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(22,96,196,.95), rgba(22,163,74,.88)); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); position: relative; padding-top: 110px; }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 60px; }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-wave path { fill: #16a34a; opacity: .0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 50px; padding-bottom: 60px; }
.footer-about p { margin: 22px 0; font-size: 15px; }
.site-footer h4 { color: #fff; font-size: 19px; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--grad-sun); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 10px; transition: all .3s; font-size: 15px; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--sun); font-size: 12px; transition: transform .3s; }
.footer-links a:hover { color: #fff; transform: translateX(6px); }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 15px; }
.footer-contact i { color: var(--sun); width: 18px; margin-top: 5px; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .35s var(--ease); }
.footer-social a:hover { background: var(--grad-sun); color: var(--navy); transform: translateY(-4px) rotate(8deg); }
.newsletter label { display: block; color: #fff; font-weight: 600; font-size: 14px; margin: 8px 0 10px; }
.newsletter-row { display: flex; background: rgba(255,255,255,.08); border-radius: 50px; padding: 5px; border: 1px solid rgba(255,255,255,.12); }
.newsletter-row input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 0 16px; font: inherit; font-size: 14px; outline: none; }
.newsletter-row input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-row button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad-sun); color: var(--navy); transition: transform .3s; }
.newsletter-row button:hover { transform: rotate(-20deg) scale(1.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--sun); }

/* ---------- Floating buttons ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 25px rgba(37,211,102,.45); animation: waPulse 2.2s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.1); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-top { position: fixed; right: 24px; bottom: 92px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); display: grid; place-items: center; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-top circle { fill: none; stroke: var(--sun); stroke-width: 3; stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .1s; }
.back-top:hover { background: var(--grad); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,37,64,.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-dialog { position: relative; width: 100%; max-width: 940px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 26px; display: grid; grid-template-columns: .85fr 1.15fr; opacity: 0; transform: translateY(40px) scale(.96); transition: all .45s var(--ease); }
.modal.open .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); transition: .3s; }
.modal-close:hover { background: #fee2e2; color: #dc2626; transform: rotate(90deg); }
.modal-side { position: relative; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 34px; color: #fff; min-height: 300px; }
.modal-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(10,37,64,.95)); }
.modal-side > div { position: relative; }
.modal-side h3 { color: #fff; font-size: 26px; }
.modal-side li { display: flex; gap: 10px; margin-bottom: 6px; }
.modal-side li i { color: var(--sun); margin-top: 6px; }
.modal-form { padding: 40px 36px; }
.modal-form h3 { font-size: 26px; margin-bottom: 4px; padding-right: 44px; }

/* ---------- Forms (floating labels) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 8px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-soft); outline: none; transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical; appearance: none;
}
.field select { padding-top: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b8a9c' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22,96,196,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.up { top: 6px; font-size: 11.5px; color: var(--blue); font-weight: 600; letter-spacing: .3px; }
.field.error input, .field.error textarea { border-color: #ef4444; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form-success { text-align: center; padding: 30px 10px; animation: popIn .5s var(--ease); }
.form-success .check { width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: var(--green); font-size: 38px; display: grid; place-items: center; margin: 0 auto 18px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 280px; max-width: 360px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: flex-start; border-left: 4px solid var(--green); animation: toastIn .45s var(--ease); font-size: 14.5px; color: var(--ink); }
.toast.error { border-color: #ef4444; }
.toast i { color: var(--green); margin-top: 3px; }
.toast.error i { color: #ef4444; }
.toast.hide { animation: toastOut .4s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(5,15,28,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 90vw; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; margin: 0 auto; transform: scale(.9); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-family: var(--head); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 18px; transition: .3s; }
.lightbox button:hover { background: var(--sun); color: var(--navy); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 130px 0 110px; overflow: hidden; color: #fff; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 12s ease-out forwards; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(10,37,64,.93), rgba(15,52,96,.82) 60%, rgba(22,163,74,.7)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
.breadcrumb { display: inline-flex; align-items: center; gap: 12px; padding: 10px 24px; border-radius: 40px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 14.5px; flex-wrap: wrap; justify-content: center; }
.breadcrumb a { color: #fff; } .breadcrumb a:hover { color: var(--sun); }
.breadcrumb > i { font-size: 10px; color: var(--sun); }
.breadcrumb span { color: var(--sun); }
.page-hero-sun { position: absolute; z-index: 1; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 3px dashed rgba(251,191,36,.45); animation: spin 30s linear infinite; }

/* ---------- Inner page components ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.prose { color: var(--text); font-size: 16.5px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--green); }
.prose ol { padding-left: 22px; }
.prose img { border-radius: 16px; margin: 1em 0; }
.prose blockquote { margin: 1.5em 0; padding: 22px 26px; border-left: 4px solid var(--sun); background: var(--bg-soft); border-radius: 0 14px 14px 0; font-style: italic; color: var(--ink); }
.prose a { text-decoration: underline; }
.detail-img { border-radius: 24px; overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.detail-img img { width: 100%; max-height: 480px; object-fit: cover; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.widget { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.widget h4 { font-size: 19px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.widget h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-sun); }
.widget-links li + li { margin-top: 8px; }
.widget-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; transition: all .3s; }
.widget-links a i { transition: transform .3s; color: var(--blue); }
.widget-links a:hover, .widget-links a.active { background: var(--grad); color: #fff; }
.widget-links a:hover i, .widget-links a.active i { color: #fff; transform: translateX(4px); }
.widget-sublinks { margin: 8px 0 0 14px; padding-left: 12px; border-left: 2px solid #d5dfeb; }
.widget-sublinks li + li { margin-top: 6px; }
.widget-sublinks a { display: block; padding: 9px 14px; border-radius: 10px; background: #fff; color: var(--muted); font-size: 13.5px; font-weight: 500; transition: all .3s; }
.widget-sublinks a:hover, .widget-sublinks a.active { background: var(--navy); color: #fff; }
.widget-cta { background: linear-gradient(rgba(10,37,64,.85), rgba(10,37,64,.92)), url('../images/solar-worker.jpg') center/cover; color: #fff; text-align: center; }
.widget-cta h4 { color: #fff; } .widget-cta h4::after { left: 50%; transform: translateX(-50%); }
.widget-cta .big-phone { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--sun); display: block; margin: 10px 0 18px; }
.info-list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #d5dfeb; font-size: 15px; }
.info-list li:last-child { border: 0; }
.info-list strong { color: var(--ink); }
.feature-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.feature-pills div { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); padding: 16px 18px; border-radius: 14px; font-weight: 600; color: var(--ink); font-size: 15px; transition: .3s; }
.feature-pills div:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-pills i { color: var(--green); font-size: 18px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/4.6; margin-bottom: 18px; box-shadow: var(--shadow); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.25); }
.team-card:hover .team-photo img { transform: scale(1.08); filter: none; }
.team-social { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; transform: translateY(80px); transition: transform .45s var(--ease); }
.team-card:hover .team-social { transform: none; }
.team-social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.team-social a:hover { background: var(--sun); color: var(--navy); }
.team-card h3 { font-size: 19px; margin-bottom: 2px; }
.team-card span { color: var(--green); font-size: 14px; font-weight: 600; }

/* team page: stats strip */
.team-stats { position: relative; z-index: 3; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.team-stats > div { position: relative; padding: 28px 20px; text-align: center; transition: background .35s; }
.team-stats > div + div::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.team-stats > div:hover { background: var(--bg-soft); }
.team-stats i { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--grad); color: #fff; font-size: 20px; margin-bottom: 10px; box-shadow: 0 10px 22px rgba(22,96,196,.25); }
.team-stats strong { display: block; font-family: var(--head); font-size: clamp(26px, 3vw, 36px); color: var(--ink); line-height: 1.1; font-weight: 800; }
.team-stats span { font-size: 14px; color: var(--muted); font-weight: 600; }
.team-stats strong span { font-size: inherit; color: inherit; }

/* team page: filter */
.team-filter { justify-content: center; margin: -20px 0 60px; }
.team-filter button { display: inline-flex; align-items: center; gap: 8px; }
.team-filter button i { color: var(--green); font-size: 13px; }
.team-filter button.is-active i { color: #fff; }
.team-filter small { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bg-soft); color: var(--navy); font-size: 12px; display: inline-grid; place-items: center; }
.team-filter button.is-active small { background: rgba(255,255,255,.25); color: #fff; }

/* team page: org hierarchy */
.org { position: relative; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.org::before { content: ''; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.org.is-filtered::before { display: none; }
.org > .hidden { display: none; }
.org > .fade-in { animation: popIn .5s var(--ease); }
.org-ceo { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; max-width: 900px; width: 100%; background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); isolation: isolate; }
.org-ceo::before { content: ''; position: absolute; inset: -2px; border-radius: 30px; background: linear-gradient(135deg, var(--sun), var(--green) 50%, var(--blue)); z-index: -2; }
.org-ceo::after { content: ''; position: absolute; inset: 0; border-radius: 28px; background: #fff radial-gradient(circle at 100% 0, rgba(251,191,36,.16), transparent 45%); z-index: -1; }
.org-ceo-photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/4.8; box-shadow: var(--shadow); }
.org-ceo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.org-ceo:hover .org-ceo-photo img { transform: scale(1.05); }
.org-ceo-tag { position: absolute; left: 14px; bottom: 14px; background: var(--grad-sun); color: var(--navy); font-size: 12.5px; font-weight: 800; padding: 6px 14px; border-radius: 30px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.org-ceo-body h3 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 2px; }
.org-ceo-body blockquote { margin: 18px 0 12px; padding-left: 18px; border-left: 4px solid var(--sun); font-family: var(--head); font-size: 17px; font-weight: 600; font-style: italic; color: var(--ink); line-height: 1.5; }
.org-ceo-body p { margin: 0 0 18px; }
.org-role { color: var(--green); font-weight: 700; }
.org-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); color: var(--navy); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 30px; }
.org-badge i { color: var(--sun-2); }
.org-ceo-facts { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.org-ceo-facts li { flex: 1; min-width: 110px; background: var(--bg-soft); border-radius: 14px; padding: 10px 14px; font-size: 13px; line-height: 1.3; }
.org-ceo-facts strong { display: block; font-family: var(--head); font-size: 22px; color: var(--blue); }
.org-ceo-actions { display: flex; align-items: center; gap: 12px; }
.org-tier { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.org-tier-head { position: relative; display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 12px 10px 10px; border-radius: 40px; box-shadow: var(--shadow); }
.org-tier-head h3 { color: #fff; font-size: 17px; margin: 0; }
.org-tier-head i { color: var(--sun); }
.org-tier-head small { background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 20px; font-size: 12.5px; }
.org-level { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-sun); color: var(--navy); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.team-grid.org-grid { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.org-grid .team-card { width: calc((100% - 3 * 26px) / 4); max-width: 290px; position: relative; background: #fff; border-radius: 24px; padding: 10px 10px 22px; box-shadow: 0 4px 18px rgba(10,37,64,.06); transition: transform .45s var(--ease), box-shadow .45s; }
.org-grid .team-card::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--grad); transform: scaleX(0); transition: transform .45s var(--ease); }
.org-grid .team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.org-grid .team-card:hover::after { transform: none; }
.org-grid .team-photo { margin-bottom: 16px; box-shadow: none; border-radius: 18px; }
.team-dept-icon { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--blue); display: grid; place-items: center; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.team-city { position: absolute; top: 14px; right: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 20px; }
.team-card .team-city { color: #fff; font-size: 12px; }
.team-city i { color: var(--sun) !important; margin-right: 3px; }

/* initials avatar (no photo uploaded) */
.team-avatar { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(150deg, #1660c4, #0a2540); transition: transform .8s var(--ease); }
.team-avatar::before, .team-avatar::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); }
.team-avatar::before { width: 120%; aspect-ratio: 1; right: -60%; top: -40%; }
.team-avatar::after { width: 70%; aspect-ratio: 1; left: -25%; bottom: -25%; background: rgba(255,255,255,.06); }
.team-avatar span { position: relative; z-index: 1; width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.35); color: #fff !important; font-family: var(--head); font-size: clamp(26px, 3vw, 40px) !important; font-weight: 800 !important; letter-spacing: 1px; backdrop-filter: blur(4px); }
.team-card:hover .team-avatar { transform: scale(1.06); }
.team-avatar.av-leadership { background: linear-gradient(150deg, #f59e0b, #b45309); }
.team-avatar.av-branches { background: linear-gradient(150deg, #0f3460, #0a2540); }
.team-avatar.av-sales { background: linear-gradient(150deg, #22c55e, #15803d); }
.team-avatar.av-engineering { background: linear-gradient(150deg, #2b7de9, #1660c4); }

/* team page: careers */
.join-card { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.join-icon { width: 90px; height: 90px; border-radius: 26px; background: var(--grad-sun); color: var(--navy); display: grid; place-items: center; font-size: 36px; box-shadow: 0 14px 30px rgba(245,158,11,.3); }
.join-text .section-title { margin-bottom: 8px; }
.join-text p { margin: 0; }
.join-actions { display: flex; flex-direction: column; gap: 12px; }

/* CEO */
.ceo-grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: start; }
.ceo-photo { position: sticky; top: 110px; }
.ceo-photo .frame { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.ceo-photo .frame::after { content: ''; position: absolute; inset: 0; border-radius: 26px; border: 3px solid rgba(255,255,255,.3); margin: 14px; pointer-events: none; }
.ceo-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ceo-name { background: var(--grad); color: #fff; border-radius: 18px; padding: 20px 24px; margin: -50px 26px 0; position: relative; text-align: center; box-shadow: var(--shadow); }
.ceo-name strong { display: block; font-family: var(--head); font-size: 20px; }
.ceo-quote { font-family: var(--head); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; color: var(--ink); font-weight: 700; margin-bottom: 26px; position: relative; padding-left: 30px; border-left: 5px solid var(--sun); }
.signature { font-family: 'Brush Script MT', cursive; font-size: 40px; color: var(--blue); margin-top: 20px; }

/* gallery page */
.gallery-grid { columns: 3; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin-bottom: 20px; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; display: block; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; transition: transform .8s var(--ease); }
.gallery-item:nth-child(3n+1) img { aspect-ratio: 4/5; object-fit: cover; }
.gallery-item:nth-child(3n+2) img { aspect-ratio: 4/3; object-fit: cover; }
.gallery-item:nth-child(3n) img { aspect-ratio: 1; object-fit: cover; }
.gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; color: #fff; background: rgba(22,96,196,.55); opacity: 0; transition: opacity .4s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.hidden { display: none; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.contact-card { text-align: center; padding: 40px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .4s var(--ease); position: relative; overflow: hidden; }
.contact-card::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transition: transform .4s var(--ease); }
.contact-card:hover { transform: translateY(-8px); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-card .ci { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; background: var(--grad); color: #fff; font-size: 28px; display: grid; place-items: center; }
.contact-card h3 { font-size: 20px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); }
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-form-box { padding: 50px; background: #fff; }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(1.1); }

/* calculator */
.calc-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.calc-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.range-field { margin-bottom: 28px; }
.range-field label { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 12px; font-family: var(--head); }
.range-field output { color: var(--blue); font-weight: 800; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 30%), var(--line) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--sun); box-shadow: 0 4px 12px rgba(0,0,0,.2); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--sun); cursor: grab; }
.seg { display: flex; background: var(--bg-soft); border-radius: 14px; padding: 5px; gap: 5px; }
.seg button { flex: 1; border: 0; padding: 12px; border-radius: 10px; background: none; font-weight: 600; color: var(--text); transition: .3s; font-family: var(--head); }
.seg button.is-active { background: #fff; color: var(--blue); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.calc-results { background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.calc-results::before { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(251,191,36,.25); filter: blur(30px); }
.calc-results h3 { color: #fff; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; position: relative; }
.res { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.res small { color: rgba(255,255,255,.65); display: block; font-size: 13px; }
.res strong { font-family: var(--head); font-size: 26px; color: #fff; display: block; }
.res.hl { background: var(--grad-sun); border: 0; grid-column: 1 / -1; }
.res.hl small { color: rgba(10,37,64,.7); } .res.hl strong { color: var(--navy); font-size: 34px; }
.calc-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin: 10px 0 6px; }
.calc-bars div { flex: 1; background: linear-gradient(var(--sun), var(--green)); border-radius: 6px 6px 0 0; transition: height .8s var(--ease); min-height: 4px; }
.calc-bars-labels { display: flex; gap: 8px; font-size: 11px; color: rgba(255,255,255,.55); }
.calc-bars-labels span { flex: 1; text-align: center; }

/* pagination & misc */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); font-weight: 700; transition: .3s; }
.pagination a:hover, .pagination .current { background: var(--grad); color: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 50px; color: var(--line); margin-bottom: 14px; }
.load-more-wrap { text-align: center; margin-top: 46px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share strong { color: var(--ink); font-family: var(--head); }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue); }
.share a:hover { background: var(--grad); color: #fff; }
.search-box { display: flex; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; padding: 14px 16px; font: inherit; outline: none; min-width: 0; }
.search-box button { border: 0; background: var(--grad); color: #fff; padding: 0 18px; }
.recent-post { display: flex; gap: 14px; align-items: center; }
.recent-post + .recent-post { margin-top: 16px; }
.recent-post img { width: 76px; height: 66px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-post a { color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.4; display: block; }
.recent-post a:hover { color: var(--blue); }
.recent-post small { color: var(--muted); font-size: 12.5px; }
.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { font-size: clamp(90px, 18vw, 180px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
  .main-nav > ul > li > a { padding: 10px 10px; font-size: 14.5px; }
  .header-actions .icon-btn, .brand-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid .team-card { width: calc((100% - 2 * 26px) / 3); }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  /* backdrop-filter would make the header the containing block of the fixed off-canvas menu */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand-text small { display: block; }
  .hero { --hero-h: clamp(560px, calc(100vh - 118px), 720px); }
  .hero-arrows { right: 20px; }
  .hero-arrows button { width: 46px; height: 46px; }
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1002; background: #fff; padding: 22px; overflow-y: auto;
    transform: translateX(105%); transition: transform .45s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.15);
  }
  .main-nav.open { transform: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .nav-head img { width: 54px; border-radius: 10px; }
  .nav-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 18px; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li { opacity: 0; transform: translateX(30px); transition: all .4s var(--ease); }
  .main-nav.open > ul > li { opacity: 1; transform: none; }
  .main-nav.open > ul > li:nth-child(2) { transition-delay: .05s; } .main-nav.open > ul > li:nth-child(3) { transition-delay: .1s; }
  .main-nav.open > ul > li:nth-child(4) { transition-delay: .15s; } .main-nav.open > ul > li:nth-child(5) { transition-delay: .2s; }
  .main-nav.open > ul > li:nth-child(6) { transition-delay: .25s; } .main-nav.open > ul > li:nth-child(7) { transition-delay: .3s; }
  .main-nav > ul > li > a { justify-content: space-between; padding: 14px 16px; border-radius: 12px; font-size: 16px; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li > a.active { background: var(--bg-soft); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  /* no room for a flyout on touch screens: sub-services stay inline under their parent */
  .sub-child { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 10px; margin: 2px 0 8px 12px; border-left: 2px solid var(--line); }
  .sub-child a { font-size: 13.5px; color: var(--muted); }
  .sub-parent > a::after { display: none; }
  .has-sub.open > a i { transform: rotate(180deg); }
  .has-sub:hover .sub { transform: none; }
  .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 24px; }
  .nav-mobile-cta .btn-outline-light { border-color: var(--blue); color: var(--blue); }
  .about-grid, .faq-grid, .why-grid, .content-grid, .calc-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 50px; }
  .ceo-grid { grid-template-columns: 1fr; }
  .ceo-photo { position: static; max-width: 420px; margin: 0 auto; }
  .sidebar { position: static; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .blog-grid, .sub-services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { --cols: 2; --card-h: 280px; }
  .t-slider { --pv: 2; }
  .about-media { max-width: 600px; }
  .parallax { background-attachment: scroll; }
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-side { display: none; }
}

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .hide-md { display: none !important; }
  .org { gap: 56px; }
  .org-ceo { grid-template-columns: 220px 1fr; gap: 24px; }
  .team-stats { grid-template-columns: 1fr 1fr; margin-top: -44px; }
  .team-stats > div { padding: 22px 12px; }
  .team-stats > div:nth-child(3)::before { display: none; }
  .team-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team-filter { margin: -16px 0 44px; }
  .join-card { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; gap: 20px; }
  .join-icon { margin: 0 auto; width: 74px; height: 74px; font-size: 30px; }
  .join-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .topbar-inner { justify-content: center; }
  .topbar-social { display: none; }
  .topbar-info { gap: 16px; justify-content: center; font-size: 12.5px; }
  .hero { --hero-h: 600px; }
  .hero-content { padding-top: 50px; padding-bottom: 120px; }
  .hero-sub { font-size: 12px; padding: 7px 14px; margin-bottom: 18px; letter-spacing: .5px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 42px); letter-spacing: -.5px; }
  .hero-content p { margin-bottom: 26px; }
  .hero-rotator { font-size: 15px; margin-top: 22px; }
  .hero-controls { bottom: 34px; }
  .hero-arrows { display: none; }
  .scroll-down { display: none; }
  .services-grid, .blog-grid, .sub-services-grid, .process-grid, .contact-cards { grid-template-columns: 1fr; }
  /* filter chips scroll sideways on one line instead of wrapping into a tall block */
  .section-head.split { align-items: stretch; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 20px); margin-right: -20px; padding: 4px 20px 10px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tabs button { flex-shrink: 0; }
  .projects-grid { --cols: 1; --gap: 18px; --card-h: 260px; }
  .project-card.wide { flex-basis: 100%; max-width: 100%; }
  .process-line { display: none; }
  .check-list, .about-mv, .feature-pills { grid-template-columns: 1fr; }
  .about-media { padding: 0 30px 50px 0; }
  .exp-badge { left: 0; bottom: 70px; padding: 16px 18px; }
  .exp-badge strong { font-size: 36px; }
  .t-slider { --pv: 1; }
  .t-card { padding: 32px 26px 28px; }
  .calc-teaser-inner { flex-direction: column; text-align: center; padding: 30px 24px; }
  .gallery-grid { columns: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-box, .calc-card, .calc-results { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-form { padding: 34px 22px; }
  .offer-card { flex-direction: column; text-align: center; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; }
  .page-hero { padding: 90px 0 80px; }
  .marquee { padding: 16px 0; }
  .team-grid { gap: 16px; }
}

@media (max-width: 520px) {
  .hide-sm { display: none !important; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; padding: 22px 20px; }
  .feature-icon { width: 56px; height: 56px; font-size: 22px; margin: 0; grid-row: span 2; }
  .feature-card h3 { font-size: 18px; margin-bottom: 4px; }
  .feature-card p { font-size: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 12px; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { display: none; }
  .res-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .org-grid .team-card { width: calc((100% - 16px) / 2); padding: 6px 6px 14px; }
  .org-grid .team-card h3 { font-size: 16px; }
  .org-grid .team-card span { font-size: 12.5px; }
  .org-ceo { grid-template-columns: 1fr; text-align: center; padding: 18px; gap: 18px; }
  .org-ceo-photo { max-width: 240px; margin: 0 auto; }
  .org-ceo-body blockquote { text-align: left; font-size: 15.5px; }
  .org-ceo-actions { justify-content: center; }
  .org-ceo-facts li { min-width: 0; padding: 8px; }
  .org-tier-head { padding-right: 18px; }
  .org-tier-head h3 { font-size: 15px; }
  .org-tier-head small { display: none; }
  .team-stats i { width: 44px; height: 44px; font-size: 17px; border-radius: 13px; }
  .team-dept-icon { width: 30px; height: 30px; font-size: 12px; top: 8px; left: 8px; }
  .team-card .team-city { top: auto; bottom: 8px; right: 8px; font-size: 11px; padding: 4px 9px; }
  .team-filter button { padding: 8px 14px; font-size: 13px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 26px; right: 16px; bottom: 16px; }
  .back-top { width: 48px; height: 48px; right: 18px; bottom: 80px; }
}
