/* ui8.css: enterprise look (cinematic hero, big-number band, mega-menu, dark rhythm). Visual only; loaded last.
   Delete this file + its <link> in views/site/layout.php to revert. */

/* ---------- Cinematic hero (all pages) ---------- */
.hero, .hero.on-dark {
  position: relative; overflow: hidden; color: #cdd7ec !important; border-bottom: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(230, 194, 122, .22), transparent 62%),
    radial-gradient(1100px 600px at 6% -10%, rgba(54, 96, 190, .38), transparent 60%),
    linear-gradient(180deg, #08142e 0%, #0b1b3a 55%, #0d2146 100%) !important;
}
.hero::before { display: block !important; content: ""; position: absolute; inset: auto 0 0 0; height: min(46vw, 420px); background: url("/assets/img/dubai-skyline.svg") center bottom / cover no-repeat; opacity: .9; pointer-events: none; mask-image: none !important; z-index: 0; }
.hero::after { display: none !important; }
.x-hero-glow { display: none !important; }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1, .hero.on-dark h1, .hero h1[style] { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
.hero h1 .h1-accent, .hero .h1-accent { color: #e6c27a !important; -webkit-text-fill-color: #e6c27a !important; background: none !important; }
.hero .lead, .hero p { color: #b9c6e0 !important; -webkit-text-fill-color: #b9c6e0 !important; }
.hero .eyebrow { color: #e6c27a !important; -webkit-text-fill-color: #e6c27a !important; }
.hero .eyebrow::before, .hero .eyebrow::after { content: none !important; display: none !important; }
.hero .eyebrow { padding-left: 0 !important; }
.hero .breadcrumb { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .18) !important; }
.hero .breadcrumb, .hero .breadcrumb a, .hero .breadcrumb span { color: #d6def0 !important; -webkit-text-fill-color: #d6def0 !important; }
.hero .breadcrumb a:hover { color: #fff !important; }
.hero-note, .hero .hero-note span { color: #9fb0cf !important; -webkit-text-fill-color: #9fb0cf !important; }
.hero-note span::before { background: #e6c27a !important; }
.hero-wa { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.hero .btn.btn-primary, .hero.on-dark .btn.btn-primary, .x-hero .btn.btn-primary { background: #e6c27a !important; border-color: #e6c27a !important; color: #0b1b3a !important; -webkit-text-fill-color: #0b1b3a !important; box-shadow: 0 18px 40px -16px rgba(230, 194, 122, .6) !important; }
.hero .btn.btn-primary:hover, .x-hero .btn.btn-primary:hover { background: #f1d596 !important; }
.hero .btn-ghost { background: rgba(255, 255, 255, .06) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35) !important; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .14) !important; border-color: #fff !important; }
.hero { padding-bottom: clamp(120px, 14vw, 220px) !important; }

/* ---------- Home hero: left-aligned two columns, big-number band ---------- */
.x-hero { text-align: left !important; padding-top: clamp(64px, 8vw, 120px) !important; }
@media (min-width: 981px) {
  .x-hero-in { display: grid !important; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); column-gap: clamp(32px, 5vw, 80px); align-items: center; justify-items: start; }
  .x-hero-in > .eyebrow, .x-hero-in > h1, .x-hero-in > .lead, .x-hero-in > .cta-row, .x-hero-in > .hero-note { grid-column: 1; margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; justify-content: flex-start !important; }
  .x-hero-in > .x-stage { grid-column: 2; grid-row: 1 / span 5; width: 100%; margin: 0; }
  .x-hero-in > .x-stats { grid-column: 1 / -1; grid-row: 6; margin-top: clamp(48px, 6vw, 88px); }
  .x-hero h1 { font-size: clamp(3rem, 5.4vw, 5.2rem) !important; max-width: 12ch !important; letter-spacing: -.045em; }
}
.x-stats { background: rgba(8, 20, 46, .55) !important; border: 1px solid rgba(230, 194, 122, .28) !important; border-radius: 4px !important; backdrop-filter: blur(14px); box-shadow: none !important; }
.x-stats li { color: #aebbd6 !important; -webkit-text-fill-color: #aebbd6 !important; border-color: rgba(255, 255, 255, .12) !important; padding: 26px 24px !important; }
.x-stats strong, .x-stats li:first-child strong { font-size: clamp(2rem, 3.4vw, 3rem) !important; font-weight: 600 !important; letter-spacing: -.04em; background: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.x-stats li:first-child strong { color: #e6c27a !important; -webkit-text-fill-color: #e6c27a !important; }
.x-stage .st-caption { color: #8ea0c4 !important; }

/* ---------- Marquee: thin navy ticker ---------- */
.marquee, .x-marquee { background: #08142e !important; border-block: 1px solid rgba(230, 194, 122, .25) !important; }
.marquee span { color: #dbe4f6 !important; -webkit-text-fill-color: #dbe4f6 !important; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.marquee span:nth-child(3n) { color: #e6c27a !important; -webkit-text-fill-color: #e6c27a !important; }

/* ---------- Sharper enterprise geometry ---------- */
.card, .why, .ind, .ind-card, .x-ind, .x-why-item, .deliver li, .sw-card { border-radius: 4px !important; }
.btn, .btn-primary, .btn-ghost, .nav .btn, .site-header .nav .btn { border-radius: 2px !important; letter-spacing: .01em; }
.x-head h2, .section h2 { font-weight: 600; letter-spacing: -.035em; }
.x-head h2::after { width: 72px; height: 2px; }
.section { padding-block: clamp(80px, 10vw, 150px); }

/* Industries: dark navy section for rhythm */
.x-industries { background: linear-gradient(180deg, #0b1b3a, #08142e) !important; }
.x-industries h2, .x-industries .x-head h2 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.x-industries .eyebrow { color: #e6c27a !important; }
.x-industries .lead { color: #aebbd6 !important; }
.x-industries .x-ind:not(.big) { background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(255, 255, 255, .12) !important; box-shadow: none !important; }
.x-industries .x-ind:not(.big) strong { color: #fff !important; }
.x-industries .x-ind:not(.big) .x-ind-txt { color: #aebbd6 !important; }
.x-industries .x-ind em { color: #e6c27a !important; }
.x-industries .x-ind.big { background: linear-gradient(135deg, #16305f, #0f2347) !important; border-color: rgba(230, 194, 122, .35) !important; }
.x-industries .x-ind:hover { border-color: #e6c27a !important; background: rgba(255, 255, 255, .08) !important; }
.x-industries .x-ind-ico { background: rgba(230, 194, 122, .12) !important; color: #e6c27a !important; }
.x-industries .btn-ghost { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; }

/* ---------- Mega-menu (desktop) ---------- */
@media (min-width: 981px) {
  .site-header .has-menu { position: static; }
  .site-header .bar { position: relative; }
  .site-header .has-menu .menu-panel {
    left: 50% !important; right: auto !important; width: min(960px, calc(100vw - 48px)); transform: translateX(-50%);
    display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; padding: 28px 32px !important; border-radius: 4px !important; top: calc(100% - 6px) !important;
    background: #fff !important; border: 1px solid var(--c-line) !important; border-top: 3px solid #b08a3e !important; box-shadow: 0 40px 80px -30px rgba(11, 27, 58, .45) !important;
  }
  .site-header .has-menu:hover .menu-panel, .site-header .has-menu:focus-within .menu-panel, .site-header .has-menu.open .menu-panel { display: grid; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-header .menu-panel a { padding: 10px 12px; border-radius: 4px; font-weight: 500; font-size: .95rem; }
  .site-header .menu-panel a:hover { background: var(--c-stone) !important; color: var(--c-navy) !important; }
  .site-header .menu-panel .menu-all { grid-column: 1 / -1; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--c-line); background: none !important; font-weight: 600; }
}

/* ---------- Footer: darker ---------- */
.site-footer { background: #08142e !important; }

/* ---------- Contact page: icon cards for the contact details ---------- */
.channels-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.channels-cards li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 4px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s, background .25s; }
.channels-cards li:hover { border-color: rgba(230, 194, 122, .6); background: rgba(255, 255, 255, .08); }
.channels-cards .ch-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: rgba(230, 194, 122, .14); color: #e6c27a; }
.channels-cards .ch-ico svg { width: 20px; height: 20px; }
.channels-cards .ch-label { display: block; margin-bottom: 4px; color: #e6c27a !important; }
.channels-cards a, .channels-cards .ch-text { display: block; color: #fff; font-weight: 500; line-height: 1.45; }
.channels-cards .ch-map { margin-top: 8px; font-size: .88rem; font-weight: 600; color: #e6c27a; text-decoration: none; }
.channels-cards .ch-map::after { content: " \2192"; }
.channels-cards .ch-map:hover { text-decoration: underline; }

/* ---------- Footer redesign: 4 balanced columns, compact, clean legal bar ---------- */
.site-footer { padding: clamp(44px, 5vw, 72px) 0 0 !important; background: #08142e !important; border-top: 3px solid #b08a3e; }
.site-footer .foot-top { padding: 0 0 28px !important; margin: 0 0 32px !important; grid-template-columns: 1fr !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr) !important; gap: 36px clamp(24px, 4vw, 64px); align-items: start; }
.foot-stack { display: grid; gap: 28px; align-content: start; }
.site-footer .foot-title { margin: 0 0 16px !important; padding-bottom: 12px; font-size: .72rem !important; letter-spacing: .16em; color: #e6c27a !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .foot-grid li { margin: 0 0 9px !important; line-height: 1.4 !important; font-size: .92rem; }
.site-footer .foot-grid a { color: #b8c4de; transition: color .2s, padding-left .2s; }
.site-footer .foot-grid a:hover { color: #fff; padding-left: 4px; }
.foot-company ul { columns: 2; column-gap: 28px; }
.foot-company li { break-inside: avoid; }
.foot-follow .foot-title { border: 0; padding: 0; margin-bottom: 10px !important; }

/* legal bar */
.foot-bottom { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin: clamp(36px, 4vw, 56px) 0 0 !important; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)) !important; border-top: 1px solid rgba(255, 255, 255, .12) !important; font-size: .84rem; color: #8ea0c4; }
.foot-copy { margin: 0; color: #8ea0c4; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.foot-legal a { position: relative; padding: 4px 14px; color: #b8c4de !important; font-weight: 500; text-decoration: none; }
.foot-legal a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: rgba(255, 255, 255, .22); }
.foot-legal a:hover { color: #fff !important; }
.foot-legal .foot-top-link { margin-left: 8px; padding: 7px 14px; border: 1px solid rgba(230, 194, 122, .5); border-radius: 2px; color: #e6c27a !important; }
.foot-legal .foot-top-link::before { display: none; }
.foot-legal .foot-top-link:hover { background: #e6c27a; color: #0b1b3a !important; }

@media (max-width: 980px) {
  .site-footer .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .foot-company { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer .foot-grid { grid-template-columns: 1fr !important; gap: 8px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
  .foot-legal a { padding-left: 0; padding-right: 14px; }
  .foot-legal a + a::before { display: none; }
  .foot-legal .foot-top-link { margin-left: 0; }
}

/* ---------- Spacing rhythm: tighter gaps between blocks ---------- */
.section { padding-block: clamp(48px, 5.4vw, 84px) !important; }
.x-why { padding-bottom: clamp(48px, 5.4vw, 84px) !important; }
.x-head { margin-bottom: clamp(24px, 3vw, 40px) !important; }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.x-cta, .section.dark.x-cta { padding-block: clamp(48px, 5.4vw, 80px) !important; }
.hero { padding-bottom: clamp(96px, 11vw, 168px) !important; }
.site-header, .site-header.scrolled { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
