/* Geminos Group — main stylesheet (Bootstrap 5 overrides + custom components)
   v2: refreshed visual system, motion layer and animated roadmap */
:root {
  --gm-navy: #0b1f3a;
  --gm-navy-2: #12305a;
  --gm-deep: #060f1f;
  --gm-ink: #1d2433;
  --gm-muted: #5b6577;
  --gm-accent: #4a62c0;      /* Geminos logo blue */
  --gm-accent-light: #9fb2f5;
  --gm-accent-dark: #34479a;
  --gm-cyan: #38bdf8;
  --gm-violet: #8b5cf6;
  --gm-light: #f4f6fa;
  --gm-border: #e3e7ef;
  --gm-grad: linear-gradient(120deg, #4a62c0 0%, #6d7ff0 45%, #38bdf8 100%);
  --gm-grad-soft: linear-gradient(120deg, rgba(74,98,192,.14), rgba(56,189,248,.12));
  --gm-ease: cubic-bezier(.22,1,.36,1);
  --gm-radius: 20px;
  --bs-primary: #0b1f3a;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { color: var(--gm-ink); font-family: var(--bs-body-font-family); background: #fff; animation: pageIn .6s var(--gm-ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
::selection { background: rgba(74,98,192,.25); }
h1, h2, h3, h4, h5, .navbar-brand, .display-font { font-family: "Manrope", var(--bs-body-font-family); font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--gm-navy-2); transition: color .2s; }
a:hover { color: var(--gm-accent-dark); }
.text-accent { color: var(--gm-accent) !important; }
.bg-navy { background: var(--gm-navy) !important; position: relative; overflow: hidden; }
.bg-navy::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 85% 10%, rgba(56,189,248,.14), transparent 60%),
              radial-gradient(500px 380px at 10% 90%, rgba(139,92,246,.14), transparent 60%); }
.bg-navy > .container { position: relative; }
.bg-soft { background: var(--gm-light) !important; position: relative; }
.bg-soft::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(11,31,58,.07) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.bg-soft > .container { position: relative; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 2000; transform-origin: 0 50%; transform: scaleX(0); background: var(--gm-grad); box-shadow: 0 0 12px rgba(56,189,248,.6); }

/* Buttons */
.btn { border-radius: 12px; transition: transform .25s var(--gm-ease), box-shadow .25s, background .25s, color .2s, border-color .2s; }
.btn-lg { border-radius: 14px; }
.btn-accent { position: relative; overflow: hidden; isolation: isolate; background: var(--gm-grad); background-size: 200% 100%; border: 0; color: #fff; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(74,98,192,.65); }
.btn-accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--gm-ease); }
.btn-accent:hover, .btn-accent:focus { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(56,189,248,.7); }
.btn-accent:hover::after { transform: translateX(120%); }
.btn-outline-light { font-weight: 600; border-width: 1.5px; backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { transform: translateY(-2px); }
.btn-outline-dark { font-weight: 600; border-width: 1.5px; }
.btn-outline-dark:hover { transform: translateY(-2px); }
.btn-navy { background: var(--gm-navy); color: #fff; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(11,31,58,.6); }
.btn-navy:hover { background: var(--gm-navy-2); color: #fff; transform: translateY(-2px); }
.btn i.bi-arrow-right, a i.bi-arrow-right { display: inline-block; transition: transform .25s var(--gm-ease); }
a:hover i.bi-arrow-right, .btn:hover i.bi-arrow-right { transform: translateX(4px); }

/* Top bar + navbar */
.topbar { background: var(--gm-deep); color: #c9d3e3; font-size: .85rem; }
.topbar a { color: #c9d3e3; text-decoration: none; }
.topbar a:hover { color: var(--gm-accent-light); }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(11,31,58,.06); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -12px rgba(11,31,58,.18); }
.navbar-brand { font-size: 1.55rem; color: var(--gm-navy) !important; display: flex; align-items: center; gap: .55rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--gm-navy), var(--gm-navy-2)); color: var(--gm-accent-light); display: grid; place-items: center; font-size: 1.15rem; }
.navbar .nav-link { position: relative; font-weight: 600; color: var(--gm-ink); padding: 1.5rem .85rem !important; transition: padding .3s var(--gm-ease), color .2s; }
.site-header.scrolled .navbar .nav-link { padding-top: 1.05rem !important; padding-bottom: 1.05rem !important; }
.navbar .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 1rem; height: 2px; border-radius: 2px; background: var(--gm-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--gm-ease), bottom .3s; }
.navbar .nav-link.dropdown-toggle::after { border: 0; margin: 0; vertical-align: 0; }
.site-header.scrolled .navbar .nav-link::after { bottom: .6rem; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after, .navbar .nav-link.show::after { transform: scaleX(1); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gm-accent-dark); }
.navbar .dropdown-menu { border: 1px solid rgba(11,31,58,.06); border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(11,31,58,.25); padding: .5rem; }
.navbar .dropdown-item { padding: .6rem 1rem; font-weight: 500; border-radius: 10px; transition: background .2s, color .2s, padding .25s var(--gm-ease); }
.navbar .dropdown-item:hover, .navbar .dropdown-item.active { background: var(--gm-grad-soft); color: var(--gm-accent-dark); padding-left: 1.3rem; }
@media (min-width: 992px) {
  .navbar .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--gm-ease), visibility .25s; margin-top: 0; }
  .navbar .dropdown:hover > .dropdown-menu, .navbar .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 991.98px) {
  .navbar .nav-link, .site-header.scrolled .navbar .nav-link { padding: .65rem 0 !important; }
  .navbar .nav-link::after { display: none; }
  .navbar-collapse { padding-bottom: 1rem; }
}
.logo-img { height: 44px; width: auto; transition: height .3s var(--gm-ease); }
.site-header.scrolled .logo-img { height: 38px; }
.site-footer .logo-img { height: 56px; }
@media (max-width: 575.98px) { .logo-img { height: 36px; } }

/* Hero slider */
.hero { position: relative; background: var(--gm-deep); }
.hero .carousel-item { height: 86vh; min-height: 560px; overflow: hidden; }
.hero-slide { height: 100%; display: flex; align-items: center; color: #fff; position: relative; overflow: hidden; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; }
.hero-slide::after { content: ""; position: absolute; z-index: 1; width: 640px; height: 640px; right: -160px; top: -140px; border-radius: 50%; border: 1px solid rgba(159,178,245,.25); box-shadow: 0 0 0 60px rgba(74,98,192,.06), 0 0 0 140px rgba(74,98,192,.04); animation: ringSpin 30s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hs-1 { background: linear-gradient(120deg, #0b1f3a 0%, #12305a 60%, #1c4a7d 100%); }
.hs-2 { background: linear-gradient(120deg, #0a1a30 0%, #173b63 55%, #0e5964 100%); }
.hs-3 { background: linear-gradient(120deg, #101a2e 0%, #23365c 55%, #3a2f63 100%); }
.hs-4 { background: linear-gradient(120deg, #0b1f3a 0%, #19345a 55%, #4a3b16 100%); }
.hero-slide.has-photo { background-size: cover; background-position: center; }
.hero-slide.has-photo::before { background-image: linear-gradient(100deg, rgba(6,15,31,.94) 0%, rgba(11,31,58,.8) 45%, rgba(11,31,58,.35) 100%); background-size: auto; }
.carousel-item.active .hero-slide.has-photo { animation: kenBurns 9s ease-out both; }
@keyframes kenBurns { from { background-position: 35% 40%; } to { background-position: 60% 55%; } }
.hero-slide .container { position: relative; z-index: 3; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gm-accent-light); margin-bottom: 1.25rem; padding: .45rem 1rem .45rem .7rem; border-radius: 50px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gm-cyan); box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.6); } 70% { box-shadow: 0 0 0 10px rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }
.hero-slide h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 820px; letter-spacing: -0.03em; }
.hero-slide p { font-size: 1.15rem; color: #d3dbea; max-width: 600px; }
/* Text entrance on every active slide */
.hero .carousel-item .hero-slide .container > * { opacity: 0; transform: translateY(28px); }
.hero .carousel-item.active .hero-slide .container > * { animation: riseIn .9s var(--gm-ease) forwards; }
.hero .carousel-item.active .hero-slide .container > *:nth-child(2) { animation-delay: .12s; }
.hero .carousel-item.active .hero-slide .container > *:nth-child(3) { animation-delay: .24s; }
.hero .carousel-item.active .hero-slide .container > *:nth-child(4) { animation-delay: .36s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.hero .carousel-indicators { z-index: 5; margin-bottom: 2.2rem; }
.hero .carousel-indicators [data-bs-target] { width: 44px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); border: 0; opacity: 1; position: relative; overflow: hidden; }
.hero .carousel-indicators .active { background: rgba(255,255,255,.35); }
.hero .carousel-indicators .active::after { content: ""; position: absolute; inset: 0; background: var(--gm-grad); transform-origin: left; animation: indicatorFill 6s linear forwards; }
@keyframes indicatorFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 5; width: 7%; }
/* Floating aurora blobs (injected by JS into .hero and .page-hero) */
.aurora { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; mix-blend-mode: screen; animation: floatBlob 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 420px; height: 420px; background: #4a62c0; left: -80px; bottom: -120px; }
.aurora span:nth-child(2) { width: 360px; height: 360px; background: #38bdf8; right: 10%; top: -120px; opacity: .3; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 300px; height: 300px; background: #8b5cf6; right: -60px; bottom: 5%; opacity: .32; animation-duration: 26s; animation-delay: -12s; }
@keyframes floatBlob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.12); } 100% { transform: translate(-40px,30px) scale(.94); } }
.scroll-cue { position: absolute; left: 50%; bottom: 72px; z-index: 5; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollCue 1.8s var(--gm-ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 767.98px) { .scroll-cue { display: none; } .hero .carousel-control-prev, .hero .carousel-control-next { display: none; } }

/* Marquee strip */
.marquee { background: var(--gm-deep); color: #c9d3e3; overflow: hidden; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: .75rem; white-space: nowrap; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.marquee-track i { color: var(--gm-cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Page header (inner pages) */
.page-hero { color: #fff; padding: 110px 0 90px; position: relative; overflow: hidden; background: linear-gradient(100deg, rgba(6,15,31,.94), rgba(11,31,58,.78)), url("../assets/img/dubai-skyline.jpg") center 60% / cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); animation: gridDrift 20s linear infinite; }
@keyframes gridDrift { to { background-position: 48px 48px, 48px 48px; } }
.page-hero::after { content: ""; position: absolute; z-index: 1; width: 440px; height: 440px; right: -120px; bottom: -220px; border-radius: 50%; border: 1px solid rgba(159,178,245,.3); box-shadow: 0 0 0 50px rgba(74,98,192,.07), 0 0 0 110px rgba(74,98,192,.04); animation: ringSpin 40s linear infinite; }
.page-hero .container > * { animation: riseIn .9s var(--gm-ease) both; opacity: 0; transform: translateY(24px); }
.page-hero .container > *:nth-child(2) { animation-delay: .12s; }
.page-hero .container > *:nth-child(3) { animation-delay: .24s; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; }
.page-hero .breadcrumb { margin: 0; display: inline-flex; padding: .4rem 1rem; border-radius: 50px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); font-size: .9rem; }
.page-hero .breadcrumb a { color: #c9d3e3; text-decoration: none; }
.page-hero .breadcrumb-item { color: #c9d3e3; }
.page-hero .breadcrumb-item.active { color: var(--gm-accent-light); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #8a97ad; }

/* Section headings */
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gm-accent-dark); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gm-grad); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: .5rem 0 1rem; letter-spacing: -0.025em; }
.section-title .hl, .hl { background: var(--gm-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: gradShift 6s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% center; } }
.lead-muted { color: var(--gm-muted); font-size: 1.08rem; line-height: 1.75; }

/* Cards (spotlight follows the cursor via --mx/--my set in JS) */
.icon-card, .group-card, .step-card, .logo-tile, .news-card, .pub-item, .form-card { --mx: 50%; --my: 50%; }
.icon-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--gm-border); border-radius: var(--gm-radius); padding: 2.1rem; height: 100%; transition: transform .45s var(--gm-ease), box-shadow .45s, border-color .3s; }
.icon-card::before, .step-card::before, .logo-tile::before, .group-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(74,98,192,.12), transparent 45%); }
.icon-card:hover::before, .step-card:hover::before, .logo-tile:hover::before, .group-card:hover::before { opacity: 1; }
.icon-card > *, .step-card > *, .group-card > * { position: relative; }
.icon-card:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -20px rgba(11,31,58,.25); border-color: rgba(74,98,192,.35); }
.icon-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--gm-grad-soft); color: var(--gm-accent-dark); margin-bottom: 1.3rem; transition: transform .5s var(--gm-ease), background .3s, color .3s; }
.icon-card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); background: var(--gm-grad); color: #fff; }
.icon-card h3, .icon-card h4 { font-size: 1.2rem; }
.icon-card p { color: var(--gm-muted); margin-bottom: 0; }
.card-dark { background: linear-gradient(160deg, var(--gm-navy), #152f57); color: #fff; border-color: rgba(255,255,255,.08); }
.card-dark::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(56,189,248,.18), transparent 45%) !important; }
.card-dark p { color: #c3cddd; }
.icon-card.card-dark .icon-badge { background: rgba(159,178,245,.15); color: var(--gm-accent-light); }
.icon-card.card-dark:hover .icon-badge { background: var(--gm-grad); color: #fff; }

/* Group companies */
.group-card { position: relative; overflow: hidden; border-radius: var(--gm-radius); padding: 1.25rem 1.25rem 1.5rem; background: #fff; border: 1px solid var(--gm-border); height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--gm-ease), box-shadow .45s, border-color .3s; }
.group-card:hover { transform: translateY(-8px); border-color: rgba(74,98,192,.35); box-shadow: 0 28px 50px -20px rgba(11,31,58,.25); }
.group-card .group-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; transition: transform .7s var(--gm-ease); }
.group-card:hover .group-img { transform: scale(1.04); }
.group-card .initials { width: 52px; height: 52px; border-radius: 50%; background: var(--gm-navy); color: var(--gm-accent-light); display: grid; place-items: center; font-weight: 800; font-family: "Manrope", "Inter", system-ui, sans-serif; margin-bottom: 1rem; }
.group-card a.more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* Counters */
.counter-box { text-align: center; padding: 1.75rem 1rem; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: transform .4s var(--gm-ease), background .3s; height: 100%; }
.counter-box:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.row > [class*="col"] > .counter-box { margin: .35rem 0; }
.counter-box .num { font-family: "Manrope", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 3.1rem; line-height: 1; background: linear-gradient(120deg, #c7d2fe, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter-box .label { color: #c9d3e3; font-weight: 600; margin-top: .6rem; }
.bg-soft .counter-box .num, .icon-card:not(.card-dark) .counter-box .num { background: var(--gm-grad); -webkit-background-clip: text; background-clip: text; }

/* CTA band */
.cta-band { background: linear-gradient(115deg, var(--gm-navy) 0%, #183a6b 55%, #20407e 100%); color: #fff; border-radius: 28px; padding: 3.5rem; position: relative; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11,31,58,.6); }
.cta-band::before { content: ""; position: absolute; inset: -2px; background: conic-gradient(from 0deg at 80% 0%, transparent 0 60%, rgba(56,189,248,.25) 75%, transparent 90%); animation: ringSpin 14s linear infinite; pointer-events: none; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%); animation: floatBlob 12s ease-in-out infinite alternate; }
@media (max-width: 575.98px) { .cta-band { padding: 2.25rem 1.5rem; } }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .9rem; }
.check-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--gm-accent); font-size: 1.15rem; }

/* Visual panel */
.visual-panel { border-radius: 24px; min-height: 400px; background: linear-gradient(140deg, #0b1f3a, #1c4a7d); position: relative; overflow: hidden; color: #fff; padding: 2.5rem; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 30px 60px -28px rgba(11,31,58,.55); }
.visual-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; }
.visual-panel .vp-icon { position: absolute; top: 2rem; right: 2rem; font-size: 6rem; color: rgba(159,178,245,.35); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.visual-panel > * { position: relative; }
.visual-panel.has-photo { background-size: cover; background-position: 40% center; transition: background-position 1.6s var(--gm-ease); }
.visual-panel.has-photo:hover { background-position: 60% center; }
.visual-panel.has-photo::before { background-image: linear-gradient(0deg, rgba(6,15,31,.95) 0%, rgba(6,15,31,.35) 70%); background-size: auto; }
.visual-panel .text-accent, .visual-panel .eyebrow { color: var(--gm-accent-light) !important; }

/* ===== Roadmap (vertical, scroll-driven) ===== */
.roadmap { --progress: 0; position: relative; max-width: 980px; margin: 0 auto; padding: 1rem 0; list-style: none; }
.roadmap::before, .roadmap::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; }
.roadmap::before { background: repeating-linear-gradient(180deg, var(--gm-border) 0 10px, transparent 10px 18px); }
.roadmap::after { background: linear-gradient(180deg, var(--gm-accent), var(--gm-cyan), var(--gm-violet)); transform-origin: top; transform: scaleY(var(--progress)); box-shadow: 0 0 16px rgba(56,189,248,.5); }
.rm-step { position: relative; width: 50%; padding: 0 3.25rem 3.25rem; }
.rm-step:nth-child(odd) { left: 0; text-align: right; }
.rm-step:nth-child(even) { left: 50%; }
.rm-node { position: absolute; top: 4px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; background: #fff; color: var(--gm-muted); border: 3px solid var(--gm-border); transition: background .5s var(--gm-ease), color .4s, border-color .4s, transform .6s var(--gm-ease), box-shadow .4s; }
.rm-step:nth-child(odd) .rm-node { right: -23px; }
.rm-step:nth-child(even) .rm-node { left: -23px; }
.rm-step.reached .rm-node { background: var(--gm-grad); color: #fff; border-color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(74,98,192,.18), 0 10px 24px -6px rgba(56,189,248,.6); }
.rm-step.reached .rm-node::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gm-cyan); animation: nodePing 2.4s var(--gm-ease) infinite; }
@keyframes nodePing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.rm-card { position: relative; background: #fff; border: 1px solid var(--gm-border); border-radius: 18px; padding: 1.4rem 1.6rem; box-shadow: 0 18px 40px -26px rgba(11,31,58,.35); opacity: 0; transition: opacity .8s var(--gm-ease), transform .8s var(--gm-ease), border-color .3s, box-shadow .3s; }
.rm-step:nth-child(odd) .rm-card { transform: translateX(-40px); }
.rm-step:nth-child(even) .rm-card { transform: translateX(40px); }
.rm-step.reached .rm-card { opacity: 1; transform: none; }
.rm-card:hover { border-color: rgba(74,98,192,.4); box-shadow: 0 26px 50px -24px rgba(11,31,58,.4); }
.rm-card::before { content: ""; position: absolute; top: 18px; width: 14px; height: 14px; background: #fff; border: 1px solid var(--gm-border); transform: rotate(45deg); }
.rm-step:nth-child(odd) .rm-card::before { right: -8px; border-left: 0; border-bottom: 0; }
.rm-step:nth-child(even) .rm-card::before { left: -8px; border-right: 0; border-top: 0; }
.rm-tag { display: inline-block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 50px; background: var(--gm-grad-soft); color: var(--gm-accent-dark); margin-bottom: .6rem; }
.rm-year { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; background: var(--gm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }
.rm-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.rm-card p { color: var(--gm-muted); font-size: .95rem; margin: 0; }
.rm-card img { width: 100%; border-radius: 12px; margin-bottom: .9rem; aspect-ratio: 16/9; object-fit: cover; }
.rm-step.future .rm-node { border-style: dashed; }
.rm-step.future .rm-card { background: repeating-linear-gradient(135deg, #fff 0 12px, #f8f9fc 12px 24px); border-style: dashed; }
.rm-end { position: relative; z-index: 2; display: table; margin: 0 auto; padding: .7rem 1.4rem; border-radius: 50px; font-weight: 700; color: #fff; background: var(--gm-navy); box-shadow: 0 14px 30px -12px rgba(11,31,58,.6); }
.rm-end i { color: var(--gm-cyan); }
@media (max-width: 767.98px) {
  .roadmap::before, .roadmap::after { left: 23px; }
  .rm-step, .rm-step:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 2.25rem 4.25rem; }
  .rm-step:nth-child(odd) .rm-node, .rm-step:nth-child(even) .rm-node { left: 0; right: auto; }
  .rm-step:nth-child(odd) .rm-card, .rm-step:nth-child(even) .rm-card { transform: translateY(24px); }
  .rm-step.reached .rm-card { transform: none; }
  .rm-step:nth-child(odd) .rm-card::before { left: -8px; right: auto; border: 1px solid var(--gm-border); border-right: 0; border-top: 0; }
  .rm-end { margin-left: 0; }
}

/* ===== Road journey (horizontal winding road on home page) ===== */
.road { position: relative; padding: 1rem 0 0; }
.road-svg { position: absolute; left: 0; right: 0; top: 1rem; width: 100%; height: 300px; pointer-events: none; overflow: visible; }
.road-svg .road-base { fill: none; stroke: #0b1f3a; stroke-width: 34; stroke-linecap: round; opacity: .96; }
.road-svg .road-edge { fill: none; stroke: url(#roadGrad); stroke-width: 42; stroke-linecap: round; opacity: .35; }
.road-svg .road-dash { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 14 14; stroke-linecap: round; animation: roadDash 1.4s linear infinite; }
.road-svg .road-draw { fill: none; stroke: url(#roadGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--gm-ease); filter: drop-shadow(0 0 6px rgba(56,189,248,.7)); }
.road.in-view .road-draw { stroke-dashoffset: 0; }
@keyframes roadDash { to { stroke-dashoffset: -28; } }
.road-stops { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.road-stop { text-align: center; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--gm-ease), transform .7s var(--gm-ease); }
.road-stop:nth-child(even) { margin-top: 210px; }
.road.in-view .road-stop { opacity: 1; transform: none; }
.road.in-view .road-stop:nth-child(1) { transition-delay: .2s; }
.road.in-view .road-stop:nth-child(2) { transition-delay: .65s; }
.road.in-view .road-stop:nth-child(3) { transition-delay: 1.1s; }
.road.in-view .road-stop:nth-child(4) { transition-delay: 1.55s; }
.road.in-view .road-stop:nth-child(5) { transition-delay: 2s; }
.road-pin { position: relative; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--gm-grad); box-shadow: 0 16px 30px -10px rgba(74,98,192,.7); transform: rotate(-6deg); transition: transform .4s var(--gm-ease); }
.road-stop:hover .road-pin { transform: rotate(0) scale(1.08); }
.road-pin b { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-family: "Manrope", sans-serif; background: #fff; color: var(--gm-navy); box-shadow: 0 4px 10px rgba(11,31,58,.2); transform: rotate(6deg); }
.road-stop .rs-card { background: rgba(255,255,255,.9); backdrop-filter: blur(6px); border: 1px solid var(--gm-border); border-radius: 18px; padding: 1.1rem 1rem 1.25rem; box-shadow: 0 18px 40px -26px rgba(11,31,58,.4); }
.road-stop h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.road-stop p { color: var(--gm-muted); font-size: .9rem; margin: 0; }
.road-stop .rs-when { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gm-accent); margin-bottom: .35rem; }
@media (max-width: 991.98px) {
  .road-svg { display: none; }
  .road-stops { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 0; }
  .road-stops::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--gm-grad); }
  .road-stop, .road-stop:nth-child(even) { margin-top: 0; display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; text-align: left; padding-bottom: 1.5rem; }
  .road-pin { margin: 0; }
}

/* Legacy timeline (kept for compatibility) */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--gm-border); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 2.5rem 3rem; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gm-accent); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gm-accent); }
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-year { font-family: "Manrope", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--gm-navy); }
.tl-card { background: #fff; border: 1px solid var(--gm-border); border-radius: 14px; padding: 1.25rem 1.5rem; margin-top: .5rem; }
.tl-card img { width: 100%; border-radius: 10px; margin-bottom: .75rem; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 767.98px) {
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 2.5rem 2.6rem; }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 1px; right: auto; }
}

/* Quote */
.quote-block { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--gm-navy); border-left: 4px solid; border-image: var(--gm-grad) 1; padding-left: 1.5rem; }
.leader-quote { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 2.75rem; color: #fff; backdrop-filter: blur(8px); }
.leader-quote .bi-quote { font-size: 3.2rem; line-height: 1; background: var(--gm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }

/* Logo wall */
.logo-tile { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--gm-border); border-radius: 18px; padding: 1.4rem 1rem; min-height: 130px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: transform .45s var(--gm-ease), box-shadow .45s, border-color .3s; }
.logo-tile:hover { border-color: rgba(74,98,192,.4); transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(11,31,58,.35); }
.logo-tile i { position: relative; font-size: 1.8rem; color: var(--gm-navy-2); margin-bottom: .55rem; transition: transform .45s var(--gm-ease), color .3s; }
.logo-tile:hover i { transform: translateY(-3px) scale(1.12); color: var(--gm-accent); }
.logo-tile span { position: relative; font-weight: 600; font-size: .92rem; line-height: 1.3; }

/* Steps */
.step-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--gm-border); border-radius: var(--gm-radius); padding: 2rem 1.75rem; height: 100%; transition: transform .45s var(--gm-ease), box-shadow .45s, border-color .3s; }
.step-card:hover { transform: translateY(-8px); border-color: rgba(74,98,192,.35); box-shadow: 0 28px 50px -22px rgba(11,31,58,.28); }
.step-num { font-family: "Manrope", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1; margin-bottom: .75rem; background: var(--gm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; transition: opacity .3s; }
.step-card:hover .step-num { opacity: 1; }

/* Pills */
.service-pill { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--gm-border); border-radius: 50px; padding: .6rem 1.15rem; margin: .3rem; font-weight: 500; transition: transform .3s var(--gm-ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.service-pill:hover { background: var(--gm-navy); color: #fff; border-color: var(--gm-navy); transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(11,31,58,.6); }
.service-pill i { color: var(--gm-accent-dark); transition: color .3s; }
.service-pill:hover i { color: var(--gm-cyan); }

/* News */
.news-card { border: 1px solid var(--gm-border); border-radius: var(--gm-radius); overflow: hidden; height: 100%; background: #fff; transition: transform .45s var(--gm-ease), box-shadow .45s; }
.news-card:hover { box-shadow: 0 28px 50px -24px rgba(11,31,58,.35); transform: translateY(-8px); }
.news-thumb { height: 200px; display: grid; place-items: center; font-size: 3.2rem; color: var(--gm-accent-light); background: linear-gradient(135deg, var(--gm-navy), #1c4a7d); }
.news-thumb.has-img { display: block; overflow: hidden; padding: 0; background: #fff; }
.news-thumb.has-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gm-ease); }
.news-card:hover .news-thumb.has-img img { transform: scale(1.07); }
.news-body { padding: 1.5rem; }
.news-date { font-size: .8rem; color: var(--gm-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* Publications */
.pub-item { background: #fff; border: 1px solid var(--gm-border); border-radius: 16px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; display: flex; gap: 1.25rem; transition: transform .35s var(--gm-ease), border-color .3s, box-shadow .35s; }
.pub-item:hover { border-color: rgba(74,98,192,.4); transform: translateX(6px); box-shadow: 0 16px 34px -22px rgba(11,31,58,.35); }
.pub-item.pub-in { animation: riseIn .5s var(--gm-ease) both; opacity: 0; transform: translateY(12px); }
.pub-year { flex: 0 0 auto; font-family: "Manrope", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--gm-grad); border-radius: 12px; padding: .55rem .8rem; height: fit-content; }
.pub-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; }
.pub-meta { color: var(--gm-muted); font-size: .92rem; }
.pub-filter .btn { border-radius: 50px; margin: .2rem; }

/* Contact */
.contact-info { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--gm-navy), #183a6b); color: #fff; border-radius: 24px; padding: 2.5rem; height: 100%; }
.contact-info::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.3), transparent 70%); animation: floatBlob 14s ease-in-out infinite alternate; }
.contact-info > * { position: relative; z-index: 1; }
.contact-info .ci-row { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.contact-info .ci-row i { font-size: 1.2rem; color: var(--gm-accent-light); width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.contact-info a { color: #fff; text-decoration: none; }
.form-card { background: #fff; border: 1px solid var(--gm-border); border-radius: 24px; padding: 2.5rem; box-shadow: 0 30px 60px -40px rgba(11,31,58,.4); }
.form-control, .form-select { padding: .8rem 1rem; border-radius: 12px; border-color: var(--gm-border); transition: border-color .2s, box-shadow .2s, background .2s; background: #fbfcfe; }
.form-control:focus, .form-select:focus { background: #fff; border-color: var(--gm-accent); box-shadow: 0 0 0 .25rem rgba(74,98,192,.15); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 24px; display: block; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--gm-deep); color: #a9b5c9; padding-top: 80px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gm-grad); }
.site-footer::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(74,98,192,.22), transparent 70%); pointer-events: none; }
.site-footer > .container { position: relative; z-index: 1; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.site-footer a { color: #a9b5c9; text-decoration: none; }
.site-footer a:hover { color: var(--gm-accent-light); }
.site-footer .footer-links li { margin-bottom: .6rem; }
.site-footer .footer-links a { display: inline-block; transition: transform .25s var(--gm-ease), color .2s; }
.site-footer .footer-links a:hover { transform: translateX(4px); }
.site-footer .navbar-brand { color: #fff !important; }
.site-footer .form-control { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.site-footer .form-control::placeholder { color: #8a97ad; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; margin-right: .4rem; transition: transform .3s var(--gm-ease), background .3s; }
.social a:hover { background: var(--gm-grad); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .9rem; }

/* Dark-surface accents */
.bg-navy .text-accent, .cta-band .text-accent, .card-dark .text-accent, .contact-info .text-accent,
.site-footer .text-accent, .topbar .text-accent, .leader-quote .text-accent { color: var(--gm-accent-light) !important; }
.bg-navy .eyebrow, .cta-band .eyebrow, .visual-panel .eyebrow { color: var(--gm-accent-light); }
.bg-navy .hl, .cta-band .hl, .card-dark .hl, .page-hero .hl, .hero .hl { background: linear-gradient(120deg, #c7d2fe, #7dd3fc); -webkit-background-clip: text; background-clip: text; }

.diff-icon { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 1rem; display: block; transition: transform .5s var(--gm-ease); }
.icon-card:hover .diff-icon { transform: translateY(-4px) scale(1.08); }
.photo-frame { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(11,31,58,.45); }
.photo-frame img { width: 100%; display: block; transition: transform 1s var(--gm-ease); }
.photo-frame:hover img { transform: scale(1.05); }

/* Back to top with progress ring */
#backToTop { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--gm-navy); color: #fff; border: 0; display: grid; place-items: center; z-index: 1040; box-shadow: 0 12px 26px -8px rgba(11,31,58,.6); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .4s var(--gm-ease), visibility .3s; }
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--gm-accent); }
#backToTop::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(var(--gm-cyan) calc(var(--sp, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }

/* Reveal on scroll (JS sets --d for stagger) */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--gm-ease), transform .9s var(--gm-ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .rm-card, .road-stop { opacity: 1 !important; transform: none !important; }
  .hero .carousel-item .hero-slide .container > *, .page-hero .container > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* =====================================================================
   v3 — modern layer: floating pill nav, video hero, bento grid,
   word reveals, grain, cursor, page transitions
   ===================================================================== */
:root { --gm-radius: 24px; --nav-h: 68px; }

/* Smooth page-to-page transitions (Chromium; others just navigate) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--gm-ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--gm-ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* Film grain */
body::after { content: ""; position: fixed; inset: 0; z-index: 3000; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Custom cursor (fine pointers only, added by JS) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 3001; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gm-accent); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(74,98,192,.55); transition: width .3s var(--gm-ease), height .3s var(--gm-ease), background .3s, border-color .3s; }
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.6); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* Topbar slimmer */
.topbar { font-size: .8rem; letter-spacing: .01em; }

/* Floating pill navigation */
.site-header { top: 12px; margin: 12px auto 0; width: calc(100% - 32px); max-width: 1280px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.72); box-shadow: 0 10px 40px -18px rgba(11,31,58,.35), inset 0 1px 0 rgba(255,255,255,.8); }
.site-header.scrolled { background: rgba(255,255,255,.86); box-shadow: 0 18px 50px -20px rgba(11,31,58,.45), inset 0 1px 0 rgba(255,255,255,.8); }
.site-header .navbar { padding: .45rem .6rem .45rem 1.1rem; }
.site-header .container { max-width: none; padding: 0; }
.navbar .nav-link, .site-header.scrolled .navbar .nav-link { padding: .55rem 1rem !important; border-radius: 999px; transition: background .25s, color .2s; }
.navbar .nav-link::after { display: none; }
.navbar .nav-link:hover, .navbar .nav-link.show { background: rgba(74,98,192,.08); }
.navbar .nav-link.active { background: var(--gm-navy); color: #fff !important; }
.navbar .dropdown-menu { margin-top: .6rem !important; }
.site-header .btn-accent { border-radius: 999px; }
.logo-img, .site-header.scrolled .logo-img { height: 38px; }
@media (max-width: 991.98px) {
  .site-header { border-radius: 26px; }
  .navbar-collapse { padding: .75rem .25rem 1rem; }
  .navbar .nav-link, .site-header.scrolled .navbar .nav-link { padding: .65rem 1rem !important; }
  .navbar-toggler { border: 0; border-radius: 50%; width: 46px; height: 46px; background: rgba(11,31,58,.06); }
  .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(74,98,192,.25); }
}

/* Glass button */
.btn-glass { color: #fff; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { color: var(--gm-navy); background: #fff; transform: translateY(-2px); }
.btn-lg { border-radius: 999px; padding-top: .85rem; padding-bottom: .85rem; }
.btn-accent, .btn-navy, .btn-outline-dark { border-radius: 999px; }
.magnetic { will-change: transform; }

/* ===== Video hero ===== */
.hero { margin-top: calc(-1 * (var(--nav-h) + 12px)); }
.hero .carousel-item { height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px; }
.hero-slide { padding-top: var(--nav-h); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 1.2s var(--gm-ease); }
.hero-video.playing { opacity: 1; }
.hero-video.failed { display: none; }
.hero-slide.has-photo::before { background-image: linear-gradient(95deg, rgba(6,15,31,.92) 0%, rgba(6,15,31,.7) 42%, rgba(6,15,31,.25) 100%), linear-gradient(0deg, rgba(6,15,31,.85) 0%, transparent 35%); }
.hero-slide::after { display: none; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem) !important; line-height: .98 !important; letter-spacing: -0.045em !important; max-width: 900px !important; }
.hero .carousel-item.active .hero-slide .container > .hero-title { animation: none; opacity: 1; transform: none; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding-bottom: 2.25rem; }
.hero .hero-tabs { position: static; margin: 0; padding: 0; display: flex; justify-content: flex-start; gap: 1.5rem; flex: 1; max-width: 760px; }
.hero .hero-tabs [data-bs-target] { flex: 1 1 0; width: auto; height: auto; margin: 0; padding: .25rem 0 0; text-indent: 0; border: 0; background: none; opacity: 1; box-sizing: border-box; text-align: left; color: rgba(255,255,255,.55); transition: color .3s; overflow: visible; }
.hero .hero-tabs [data-bs-target]:hover, .hero .hero-tabs .active { color: #fff; background: none; }
.hero .hero-tabs .active::after { display: none; }
.ht-num { display: block; font-family: "Manrope", sans-serif; font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.ht-label { display: block; font-weight: 600; font-size: .92rem; margin: .15rem 0 .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-bar { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.ht-bar::after { content: ""; position: absolute; inset: 0; background: var(--gm-grad); transform: scaleX(0); transform-origin: left; }
.hero-tabs .active .ht-bar::after { animation: indicatorFill 8s linear forwards; }
.hero-arrows { display: flex; gap: .6rem; }
.hero-arrows button { width: 54px; height: 54px; border-radius: 50%; color: #fff; font-size: 1.15rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); transition: background .3s, color .3s, transform .3s var(--gm-ease); }
.hero-arrows button:hover { background: #fff; color: var(--gm-navy); transform: scale(1.06); }
.hero-float { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.glass-chip { position: absolute; display: flex; align-items: center; gap: .85rem; padding: .85rem 1.2rem .85rem .9rem; border-radius: 20px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: chipFloat 7s ease-in-out infinite; }
.glass-chip i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem; background: var(--gm-grad); }
.glass-chip b { display: block; font-family: "Manrope", sans-serif; font-size: 1.25rem; line-height: 1.1; }
.glass-chip span { font-size: .8rem; color: #c9d3e3; }
.chip-1 { right: 7%; top: 28%; }
.chip-2 { right: 17%; top: 47%; animation-delay: -2.3s; }
.chip-3 { right: 5%; top: 63%; animation-delay: -4.6s; }
@keyframes chipFloat { 50% { transform: translateY(-14px); } }
@media (max-width: 991.98px) { .hero { margin-top: calc(-1 * (var(--nav-h) + 12px)); } .hero-tabs .ht-label { display: none; } .hero-tabs { gap: .75rem; } }
@media (max-width: 575.98px) { .hero-arrows { display: none; } .hero-ui { padding-bottom: 1.5rem; } }

/* Word-by-word heading reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .9s var(--gm-ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > i { transform: none; }
.hero .carousel-item:not(.active) .split .w > i { transition: none; transform: translateY(110%); }

/* ===== Bento grid ===== */
.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto);
  grid-template-areas: "bi bi cloud stat" "dt dt cloud photo"; }
.bento > :nth-child(1) { grid-area: bi; } .bento > :nth-child(2) { grid-area: cloud; } .bento > :nth-child(3) { grid-area: stat; }
.bento > :nth-child(4) { grid-area: photo; } .bento > :nth-child(5) { grid-area: dt; }
.bento-item { position: relative; overflow: hidden; border-radius: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.bento-item:hover { color: inherit; }
.bento-item.card-dark, a.bento-item.card-dark:hover { color: #fff; }
.bento-item.icon-card { padding: 2rem; }
.bento-link { margin-top: auto; padding-top: 1.25rem; font-weight: 600; color: var(--gm-accent-dark); }
a.bento-item:hover .bento-link i { transform: translateX(4px); }
.bento-chart { position: absolute; right: 2rem; bottom: 2rem; display: flex; align-items: flex-end; gap: 7px; height: 110px; width: 42%; }
.bento-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--gm-grad); opacity: .22; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--gm-ease), opacity .4s; }
.bento-chart span:nth-child(n) { transition-delay: calc(var(--n, 0) * 1ms); }
.reveal.visible .bento-chart span { transform: none; }
a.bento-item:hover .bento-chart span { opacity: .55; }
.bento-item.b-wide p { max-width: 52%; }
.bento-orbit { position: relative; width: 190px; height: 190px; margin: 1.75rem auto .5rem; border-radius: 50%; border: 1px dashed rgba(159,178,245,.35); animation: ringSpin 22s linear infinite; }
.bento-orbit::before { content: ""; position: absolute; inset: 38px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.55), rgba(74,98,192,.15) 60%, transparent 70%); animation: pulseGlow 3s ease-in-out infinite; }
@keyframes pulseGlow { 50% { transform: scale(1.15); opacity: .7; } }
.bento-orbit i { position: absolute; width: 42px; height: 42px; margin: -21px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); animation: ringSpin 22s linear infinite reverse; }
.bento-orbit i:nth-child(1) { left: 50%; top: 0; } .bento-orbit i:nth-child(2) { left: 100%; top: 50%; }
.bento-orbit i:nth-child(3) { left: 50%; top: 100%; } .bento-orbit i:nth-child(4) { left: 0; top: 50%; }
.b-stat { justify-content: flex-end; padding: 2rem; color: #fff; background: radial-gradient(circle at 80% 10%, rgba(56,189,248,.55), transparent 55%), linear-gradient(150deg, #4a62c0, #2a3d8f); }
.b-stat .num { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.b-stat .label { color: rgba(255,255,255,.8); font-weight: 600; margin-top: .4rem; }
.b-photo { background-size: cover; background-position: center; justify-content: flex-end; padding: 1.25rem; min-height: 250px; transition: background-size .8s var(--gm-ease); }
.b-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,15,31,.6), transparent 60%); }
.glass-tag { position: relative; align-self: flex-start; display: inline-flex; gap: .4rem; align-items: center; padding: .5rem 1rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: .9rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); }
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "bi bi" "cloud stat" "cloud photo" "dt dt"; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "bi" "cloud" "stat" "photo" "dt"; }
  .bento-chart { position: relative; right: auto; bottom: auto; width: 100%; height: 80px; margin-top: 1.25rem; }
  .bento-item.b-wide p { max-width: none; }
}

/* Bigger, softer cards everywhere */
.icon-card, .step-card, .group-card, .news-card { border-radius: 28px; }
.logo-tile { border-radius: 22px; }
.section { padding: 120px 0; }
@media (max-width: 767.98px) { .section { padding: 80px 0; } }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; }
.eyebrow { padding: .38rem .9rem .38rem .75rem; border-radius: 999px; background: rgba(74,98,192,.08); border: 1px solid rgba(74,98,192,.15); letter-spacing: .16em; font-size: .7rem; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; }
.bg-navy .eyebrow, .cta-band .eyebrow, .visual-panel .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }

/* Inner page hero: taller, mesh glow and giant outline watermark */
.page-hero { margin-top: calc(-1 * (var(--nav-h) + 12px)); padding: calc(150px + var(--nav-h)) 0 110px; border-radius: 0 0 40px 40px;
  background: radial-gradient(800px 420px at 85% 0%, rgba(56,189,248,.28), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(139,92,246,.25), transparent 60%), linear-gradient(100deg, rgba(6,15,31,.95), rgba(11,31,58,.82)), url("../assets/img/dubai-skyline.jpg") center 60% / cover; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.ph-watermark { position: absolute; z-index: 1; right: -1rem; bottom: -.18em; font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(5rem, 15vw, 14rem); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(159,178,245,.22); pointer-events: none; user-select: none; }
.page-hero::after { display: none; }
@media (max-width: 767.98px) { .page-hero { padding: calc(100px + var(--nav-h)) 0 80px; border-radius: 0 0 28px 28px; } }

/* Footer: giant brand word */
.footer-giant { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -0.06em; text-align: center; margin: 60px 0 -0.08em; background: linear-gradient(180deg, rgba(159,178,245,.35), rgba(159,178,245,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.site-footer { border-radius: 40px 40px 0 0; margin-top: 40px; }
.site-footer .footer-bottom { margin-top: 0; }
@media (max-width: 767.98px) { .site-footer { border-radius: 28px 28px 0 0; } }

/* Marquee: two rows, opposite directions */
.marquee-track.rev { animation-direction: reverse; margin-top: .8rem; opacity: .55; }
.marquee { padding: 1.4rem 0; }

@media (prefers-reduced-motion: reduce) {
  .split .w > i { transform: none !important; }
  .hero-video { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ===== Group companies: expanding panel gallery ===== */
.group-meta { display: flex; align-items: center; gap: .9rem; color: var(--gm-muted); font-size: .95rem; line-height: 1.35; }
.group-meta b { font-family: "Manrope", sans-serif; font-size: 3.2rem; line-height: 1; letter-spacing: -0.05em; background: var(--gm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gp-wrap { display: flex; gap: 14px; height: 540px; }
.gp { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 30px; color: #fff; cursor: pointer; isolation: isolate; outline: none; background: var(--gm-navy);
  transition: flex-grow .8s var(--gm-ease), box-shadow .5s, transform .5s var(--gm-ease); box-shadow: 0 20px 40px -28px rgba(11,31,58,.6); }
.gp.is-active { flex-grow: 4.2; cursor: default; box-shadow: 0 40px 70px -34px rgba(11,31,58,.75); }
.gp:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gm-accent); }
.gp-media { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; transform: scale(1.12); filter: saturate(.6) brightness(.75); transition: transform 1.2s var(--gm-ease), filter .8s; }
.gp.is-active .gp-media { transform: scale(1); filter: none; }
.gp::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .6s;
  background: linear-gradient(0deg, rgba(6,15,31,.95) 0%, rgba(6,15,31,.55) 45%, rgba(6,15,31,.15) 75%), linear-gradient(90deg, rgba(6,15,31,.35), transparent 60%); }
.gp:not(.is-active)::before { background: linear-gradient(0deg, rgba(6,15,31,.9) 10%, rgba(11,31,58,.45)); }
.gp::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; border: 1px solid rgba(255,255,255,.12); }
.gp-logo .gp-media { background-size: contain; background-color: #4a62c0; transform: none; filter: none; }
.gp-art .gp-media { display: grid; place-items: center; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px), radial-gradient(600px circle at 75% 15%, rgba(56,189,248,.55), transparent 55%), linear-gradient(150deg, #142f5c, #0b1f3a); background-size: 22px 22px, auto, auto; filter: none; }
.gp-art-2 .gp-media { background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px), radial-gradient(600px circle at 75% 15%, rgba(139,92,246,.6), transparent 55%), linear-gradient(150deg, #2b2366, #0b1f3a); }
.gp-art-icon { font-size: 9rem; color: rgba(255,255,255,.12); transform: translateY(-40px) rotate(-8deg); transition: transform 1s var(--gm-ease), color .6s; }
.gp.is-active .gp-art-icon { color: rgba(255,255,255,.22); transform: translateY(-60px) rotate(0) scale(1.1); }
.gp-index { position: absolute; top: 1.4rem; left: 1.5rem; font-family: "Manrope", sans-serif; font-weight: 800; font-size: .85rem; letter-spacing: .12em; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.gp-vertical { position: absolute; left: 50%; bottom: 1.75rem; display: flex; align-items: center; gap: .7rem; white-space: nowrap; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.05rem; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity .35s, transform .5s var(--gm-ease); }
.gp-vertical i { transform: rotate(90deg); color: var(--gm-accent-light); }
.gp.is-active .gp-vertical { opacity: 0; transform: translateX(-50%) rotate(180deg) translateY(-20px); pointer-events: none; }
.gp:not(.is-active):hover .gp-vertical { color: var(--gm-accent-light); }
.gp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem; max-width: 560px; opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .6s var(--gm-ease); pointer-events: none; }
.gp.is-active .gp-body { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.gp-tag { display: inline-flex; gap: .45rem; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.gp-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.05; margin: 1rem 0 .6rem; }
.gp-body p { color: #d3dbea; margin-bottom: 1.25rem; }
.gp-link { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 600; color: var(--gm-navy); background: #fff; text-decoration: none; transition: background .3s, color .3s, transform .3s var(--gm-ease); }
.gp-link:hover { background: var(--gm-cyan); color: var(--gm-navy); transform: translateY(-2px); }
.gp-link i { transition: transform .3s var(--gm-ease); }
.gp-link:hover i { transform: translate(3px, -3px); }
@media (max-width: 991.98px) {
  .gp-wrap { flex-direction: column; height: auto; }
  .gp, .gp.is-active { flex: none; height: 92px; transition: height .7s var(--gm-ease); }
  .gp.is-active { height: 420px; }
  .gp-vertical { writing-mode: horizontal-tb; transform: none; left: 5.2rem; right: 1.25rem; bottom: auto; top: 1.65rem; overflow: hidden; }
  .gp-vertical { display: block; text-overflow: ellipsis; }
  .gp-vertical i { margin-right: .6rem; }
  .gp-vertical i { transform: none; }
  .gp.is-active .gp-vertical { transform: translateY(-10px); }
  .gp-index { top: 1.55rem; }
  .gp-body { padding: 1.5rem; }
}

/* ===== FAQ (AEO) ===== */
.faq-list { display: grid; gap: .85rem; }
.faq-item { border: 1px solid var(--gm-border); border-radius: 22px; background: #fff; transition: border-color .3s, box-shadow .4s, background .3s; }
.faq-item[open] { border-color: rgba(74,98,192,.35); box-shadow: 0 24px 44px -30px rgba(11,31,58,.4); background: linear-gradient(180deg, #fff, #f9faff); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.08rem; color: var(--gm-navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gm-grad-soft); color: var(--gm-accent-dark); transition: transform .4s var(--gm-ease), background .3s, color .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--gm-grad); color: #fff; }
.faq-a { padding: 0 1.5rem 1.35rem; color: var(--gm-muted); line-height: 1.7; }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: riseIn .5s var(--gm-ease) both; opacity: 0; transform: translateY(8px); }

/* ===== Latest news (API feed) ===== */
.news-feed { display: grid; gap: 1.25rem; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, 1fr); }
.news-feed.is-fallback { display: block; }
.nf-card, .news-skel { position: relative; display: grid; grid-template-columns: 170px 1fr; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--gm-border); text-decoration: none; color: var(--gm-ink); min-height: 150px; }
.nf-card { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--gm-ease), transform .7s var(--gm-ease), box-shadow .45s, border-color .3s; transition-delay: var(--d, 0s); }
.nf-card.in { opacity: 1; transform: none; }
.nf-card:hover { color: var(--gm-ink); border-color: rgba(74,98,192,.35); box-shadow: 0 28px 50px -26px rgba(11,31,58,.35); transform: translateY(-4px); transition-delay: 0s; }
.nf-img { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--gm-navy), #1c4a7d); }
.nf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--gm-ease); }
.nf-card:hover .nf-img img { transform: scale(1.07); }
.nf-body { padding: 1.15rem 1.35rem; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.nf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; color: var(--gm-muted); }
.nf-cat { padding: .25rem .65rem; border-radius: 999px; background: var(--gm-grad-soft); color: var(--gm-accent-dark); font-weight: 700; letter-spacing: .04em; }
.nf-body h3 { font-size: 1rem; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nf-more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--gm-accent-dark); }
.nf-more i { display: inline-block; transition: transform .3s var(--gm-ease); }
.nf-card:hover .nf-more i { transform: translate(3px, -3px); }
.nf-featured { grid-row: 1 / span 3; grid-template-columns: 1fr; grid-template-rows: minmax(260px, 1fr) auto; color: #fff; border: 0; background: var(--gm-navy); }
.nf-featured:hover { color: #fff; }
.nf-featured .nf-img { grid-row: 1 / span 2; grid-column: 1; }
.nf-featured .nf-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,15,31,.95) 5%, rgba(6,15,31,.55) 45%, rgba(6,15,31,.05) 80%); }
.nf-featured .nf-body { grid-row: 2; grid-column: 1; position: relative; z-index: 1; padding: 2rem; gap: .7rem; }
.nf-featured .nf-meta { color: #c9d3e3; }
.nf-featured .nf-cat { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.nf-featured h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; -webkit-line-clamp: 3; }
.nf-featured p { color: #d3dbea; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-featured .nf-more { color: var(--gm-cyan); margin-top: .4rem; }
.news-skel span { display: block; border-radius: 10px; background: linear-gradient(90deg, #eef1f7 0%, #f8f9fc 50%, #eef1f7 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.news-skel span:first-child { height: 100%; border-radius: 0; }
.news-skel span:nth-child(2) { height: 14px; width: 40%; margin: 1.3rem 1.3rem .7rem; grid-column: 2; grid-row: 1; align-self: start; }
.news-skel span:nth-child(3) { height: 18px; width: 80%; margin: 3rem 1.3rem 0; grid-column: 2; grid-row: 1; align-self: start; }
.news-skel:first-child { grid-row: 1 / span 3; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 991.98px) {
  .news-feed { grid-template-columns: 1fr; grid-template-rows: none; }
  .nf-featured, .news-skel:first-child { grid-row: auto; }
  .nf-featured { grid-template-rows: minmax(300px, auto); }
}
@media (max-width: 575.98px) { .nf-card:not(.nf-featured), .news-skel { grid-template-columns: 110px 1fr; } }

/* Media page: full news grid with Load more */
.news-feed.nf-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
.nf-grid .nf-card:not(.nf-featured) { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.nf-grid .nf-card:not(.nf-featured) .nf-img { aspect-ratio: 16 / 10; }
.nf-grid .nf-card:not(.nf-featured) .nf-body { padding: 1.35rem 1.5rem 1.5rem; }
.nf-grid .nf-card:not(.nf-featured) h3 { font-size: 1.08rem; }
.nf-grid .nf-card:not(.nf-featured) p { color: var(--gm-muted); font-size: .92rem; margin: 0 0 .4rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nf-grid .nf-featured { grid-column: span 2; grid-row: span 2; min-height: 520px; }
.nf-grid .news-skel { grid-template-columns: 1fr; grid-template-rows: 200px auto auto; min-height: 340px; }
.nf-grid .news-skel span:first-child { grid-row: 1; }
.nf-grid .news-skel span:nth-child(2), .nf-grid .news-skel span:nth-child(3) { grid-column: 1; grid-row: auto; margin: 1.2rem 1.3rem 0; }
.nf-grid .news-skel:first-child { grid-column: span 2; grid-row: span 2; }
.news-more-wrap { text-align: center; margin-top: 3rem; }
.news-more-wrap .btn[hidden] { display: none; }
.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy .bi { display: inline-block; animation: ringSpin 1s linear infinite; }
@media (max-width: 991.98px) {
  .news-feed.nf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .news-feed.nf-grid { grid-template-columns: 1fr; }
  .nf-grid .nf-featured, .nf-grid .news-skel:first-child { grid-column: auto; grid-row: auto; min-height: 420px; }
}

.newsletter-msg { margin-top: .75rem; padding: .6rem .9rem; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.newsletter-msg.ok { background: rgba(56,189,248,.12); color: #a5e4fb; border: 1px solid rgba(56,189,248,.3); }
.newsletter-msg.err { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); }
a.service-pill { text-decoration: none; color: var(--gm-ink); }
