/* ============================================================
   SKY Corporate Services FZC — "Twilight Ascent over Dubai"
   Palette: midnight navy / steel blue / amber dusk / gold / logo green
   Type:    Marcellus (display) + Manrope (body/UI)
   ============================================================ */

:root {
  --ink:      #0A1A2F;   /* midnight navy (sky top) */
  --navy:     #0E2949;   /* brand navy */
  --navy-2:   #122C4C;
  --steel:    #2E6BB0;   /* logo steel blue */
  --steel-lt: #4f93d9;
  --horizon:  #E9A94D;   /* amber dusk */
  --gold:     #F2C879;   /* gold ascent line / highlight */
  --gold-soft:#f6d99a;
  --gold-ink: #8A6310;   /* deep gold for gold-coloured TEXT on white */
  --gold-mid: #B87A20;   /* mid bronze-gold for line art on white */
  --sage:     #7CB342;   /* logo green — ACTION only */
  --sage-dk:  #5f9433;
  --mist:     #C9D9EC;   /* cool light text */
  --mist-dim: #90a6c2;
  --paper:    #F4F7FB;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  --font-display: 'Marcellus', 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --shell: min(1200px, 92vw);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* every in-page jump stops this far short, so the sticky bar never covers
     the heading it just scrolled to. One rule covers #services, #about, #contact. */
  scroll-padding-top: calc(var(--header-h, 153px) + 20px);
}
html, body { min-height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--mist);
  background: var(--ink);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Cinematic skyline backdrop (fixed) ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* real photo (drop images/skyline.jpg) layers over the SVG if present */
  background-image: url('../images/downtown-dubai.jpg'), url('../images/hero-skyline.svg');
  background-size: cover, cover;
  background-position: center center, center bottom;
  background-repeat: no-repeat, no-repeat;
  z-index: -2;
  transform: scale(1.08);
  transform-origin: 60% 70%;
  will-change: transform;
  animation: kenburns 48s ease-in-out infinite alternate;   /* slow cinematic drift */
}
/* home page gets its own backdrop; every other page keeps downtown-dubai.jpg.
   Fills the whole page below the top bar edge to edge — no empty bands. */
body.home::before {
  background-image: url('../images/home-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  top: var(--header-h);
  transform: none;
  animation: none;
}
@keyframes kenburns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.20) translate3d(-2%, -2.4%, 0); }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(130% 105% at 50% 48%, transparent 52%, rgba(4,11,22,0.62) 100%),   /* cinematic vignette */
    radial-gradient(120% 80% at 60% 100%, rgba(233,169,77,0.14), transparent 60%),
    linear-gradient(180deg, rgba(10,26,47,0.58) 0%, rgba(10,26,47,0.18) 36%, rgba(10,26,47,0.24) 64%, rgba(10,26,47,0.72) 100%);
  z-index: -1;
}

a { color: inherit; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 44px);
  background: #FDFDFF;             /* solid white, matching the services pages' bar */
  border-bottom: 1px solid rgba(10,26,47,0.10);
}

.logo-link { display: inline-flex; align-items: center; }
.logo-link img {
  height: 116px;                    /* bigger logo, per brief */
  width: auto;
  max-width: min(40vw, 340px);      /* never crowd the bar on narrow screens */
  object-fit: contain;              /* whole lockup always visible, never cropped */
  display: block;
  /* original artwork, shown as-is — its white ground melts into the white bar */
  filter: none;
  transition: transform 0.4s var(--ease);
}
.logo-link:hover img { transform: translateY(-1px) scale(1.02); }

.nav-links { display: flex; gap: 10px; list-style: none; }
.nav-links a {
  --pad: 12px 24px;
  display: inline-block;
  padding: var(--pad);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  border: 1px solid rgba(201,217,236,0.28);
  border-radius: 999px;
  background: rgba(46,107,176,0.14);
  transition: color .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: var(--steel);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(46,107,176,0.4);
  transform: translateY(-2px);
  outline: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(64px, 12vh, 130px) 20px clamp(40px, 8vh, 80px);
}
.hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
}
.hero h1 .accent { color: var(--gold); }
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--mist);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* Signature: the gold ascent line + arrowhead */
.ascent {
  --w: min(360px, 60vw);
  width: var(--w);
  height: 70px;
  margin: 34px auto 0;
  display: block;
  overflow: visible;
}
.ascent path.track {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 1.8s var(--ease) 0.3s forwards;
}
.ascent path.head {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  animation: fade 0.5s ease 1.9s forwards;
}
.ascent circle { fill: var(--sage); opacity: 0; animation: fade 0.5s ease 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.scroll-cue {
  margin-top: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mist-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue span.chev {
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: rotate(45deg) translate(0,0); } 50%{ transform: rotate(45deg) translate(3px,3px); } }

/* ============================================================
   Services
   ============================================================ */
.services {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(30px, 6vh, 60px) 0 clamp(80px, 12vh, 120px);
}
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: #fff;
  margin-top: 10px;
  letter-spacing: 0.03em;
}
.section-head p { color: var(--mist-dim); margin-top: 8px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(14,41,73,0.55);
  border: 1px solid rgba(201,217,236,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-14px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(242,200,121,0.35),
              0 0 40px rgba(233,169,77,0.25);
  outline: none;
}

/* card image */
.service-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,41,73,0.85) 100%);
}
.service-card .index {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* card body */
.service-card .body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}
.service-card .desc {
  color: var(--mist-dim);
  font-size: 0.95rem;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height .45s var(--ease), opacity .3s var(--ease), transform .4s var(--ease), margin-top .3s var(--ease);
}
.service-card:hover .desc,
.service-card:focus-visible .desc {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
}
.service-card .learn {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-card .learn .arrow { transition: transform .35s var(--ease); }
.service-card:hover .learn .arrow { transform: translate(4px, -4px); }

/* ============================================================
   WhatsApp float
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 6px rgba(37,211,102,0.12);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: var(--whatsapp-dark); }
.whatsapp-float svg { width: 33px; height: 33px; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.35); }
  50%     { box-shadow: 0 12px 30px rgba(37,211,102,0.45), 0 0 0 15px rgba(37,211,102,0); }
}

/* ============================================================
   Inner pages
   ============================================================ */
.page {
  width: var(--shell);
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 90px) 0 clamp(90px, 14vh, 130px);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mist-dim);
  text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 26px;
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.back-link:hover { color: var(--gold); gap: 12px; }

.page .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  letter-spacing: 0.03em;
}
.page .lede {
  color: var(--mist);
  font-size: 1.12rem;
  margin: 16px 0 8px;
  max-width: 62ch;
}

.card-panel {
  background: rgba(14,41,73,0.5);
  border: 1px solid rgba(201,217,236,0.16);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card-panel h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.card-panel p { color: var(--mist); }
.card-panel p + p { margin-top: 12px; }
.placeholder-note { color: var(--mist-dim); font-size: 0.85rem; font-style: italic; }

.features { list-style: none; display: grid; gap: 13px; margin-top: 12px; }
.features li { position: relative; padding-left: 30px; color: var(--mist); }
.features li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 13px; height: 13px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--sage));
  box-shadow: 0 0 12px rgba(242,200,121,0.4);
  transform: rotate(45deg);
}

.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 6px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border: 1px solid rgba(242,200,121,0.3);
}
.contact-list .icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { color: var(--mist); text-decoration: none; border-bottom: 1px dashed rgba(242,200,121,0.35); }
.contact-list a:hover { color: var(--gold); }
.contact-list strong { color: #fff; font-weight: 700; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 4px;
  padding: 14px 28px;
  background: var(--sage);
  color: #06210a;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(124,179,66,0.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-wa:hover { transform: translateY(-2px); background: var(--sage-dk); color: #fff; box-shadow: 0 16px 34px rgba(124,179,66,0.45); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(242,200,121,0.14);
  background: rgba(10,26,47,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--mist-dim);
  font-size: 0.85rem;
}
.footer-inner .tag { font-family: var(--font-display); font-style: italic; color: var(--mist); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .logo-link img { height: 84px; }
  .nav-links a { padding: 10px 16px; letter-spacing: 0.16em; }
  .hero { padding-top: 54px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .logo-link img { height: 68px; }
  .nav-links { gap: 6px; }
  .nav-links a { padding: 9px 12px; font-size: 0.66rem; }
}

/* ============================================================
   INTERACTIVITY & MOTION  (added for the interactive homepage)
   ============================================================ */

/* Scroll-reveal utility (JS toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Staggered hero entrance on load */
.hero .eyebrow,
.hero h1,
.hero .tagline,
.hero .hero-cta,
.hero .scroll-cue {
  opacity: 0;
  animation: heroUp .9s var(--ease) forwards;
}
.hero .eyebrow   { animation-delay: .15s; }
.hero h1         { animation-delay: .32s; }
.hero .tagline   { animation-delay: .52s; }
.hero .hero-cta  { animation-delay: .72s; }
.hero .scroll-cue{ animation-delay: 1.1s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulsing glow behind the hero title */
.hero { isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 38%;
  width: min(620px, 82vw); height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(233,169,77,0.28), transparent 68%);
  filter: blur(10px);
  z-index: -1;
  animation: glowPulse 5.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: .9;  transform: translate(-50%,-50%) scale(1.08); }
}

/* Hero CTA buttons */
.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
}
.btn .b-arrow { transition: transform .3s var(--ease); }
.btn:hover .b-arrow { transform: translateX(4px); }
.btn-primary {
  color: #0a1a0f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--horizon));
  box-shadow: 0 12px 30px rgba(233,169,77,0.4);
  animation: ctaPulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 44px rgba(233,169,77,0.55);
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 12px 30px rgba(233,169,77,0.4), 0 0 0 0 rgba(242,200,121,0.45); }
  50%     { box-shadow: 0 12px 30px rgba(233,169,77,0.4), 0 0 0 12px rgba(242,200,121,0); }
}
.btn-ghost {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(201,217,236,0.45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(46,107,176,0.35);
}

/* ---- Animated stats band ---- */
.stats-band {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(20px, 5vh, 40px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: rgba(14,41,73,0.5);
  border: 1px solid rgba(201,217,236,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 22px 46px rgba(0,0,0,0.4), 0 0 30px rgba(233,169,77,0.2);
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  transition: transform .35s var(--ease), text-shadow .35s var(--ease);
}
/* pulse while the number is counting up */
.stat.counting .stat-num {
  transform: scale(1.14);
  text-shadow: 0 0 26px rgba(242,200,121,0.6), 0 0 8px rgba(233,169,77,0.5);
}
.stat.counting { border-color: var(--gold); }
.stat .stat-num .suffix { color: var(--horizon); }
.stat .stat-label {
  margin-top: 10px;
  color: var(--mist-dim);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---- Service cards: pop on reveal + pointer tilt ---- */
.services-grid .service-card { transform-style: preserve-3d; }
.service-card .thumb .index {
  transition: transform .4s var(--ease);
}
.service-card:hover .thumb .index { transform: translateY(-2px) scale(1.15); }

/* ---- CTA band ---- */
.cta-band {
  width: var(--shell);
  margin: 0 auto clamp(70px, 12vh, 110px);
}
.cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 7vw, 70px) clamp(24px, 5vw, 60px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(30,77,139,0.55), rgba(10,26,47,0.6));
  border: 1px solid rgba(242,200,121,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.4);
}
.cta-inner::after {
  content: "";
  position: absolute;
  top: -60%; left: -20%;
  width: 60%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
  transform: rotate(18deg);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen {
  0%   { left: -30%; }
  55%  { left: 120%; }
  100% { left: 120%; }
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: #fff;
  letter-spacing: .02em;
}
.cta-inner p { color: var(--mist); margin: 12px auto 26px; max-width: 52ch; }

/* ---- Responsive for new pieces ---- */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 22px 10px; }
  .hero-cta .btn { padding: 13px 22px; font-size: .74rem; }
}

/* ============================================================
   COMPANY START UP page (Meydan Free Zone) — original build
   ============================================================ */
.wide-page { width: var(--shell); margin: 0 auto; padding: clamp(40px,7vh,80px) 0 clamp(70px,11vh,110px); }
.block { margin-top: clamp(44px, 8vh, 78px); }
.lede-center { max-width: 72ch; margin: 16px auto 0; text-align: center; color: var(--mist); font-size: 1.1rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.badge-chip { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(242,200,121,0.3);
  background: rgba(46,107,176,0.16); color: var(--mist); font-size: 0.8rem; letter-spacing: 0.04em; font-weight: 600; }
.badge-chip b { color: var(--gold); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 22px; margin-top: 10px; }
.info-card { background: rgba(14,41,73,0.5); border: 1px solid rgba(201,217,236,0.16); border-radius: var(--radius);
  padding: 28px 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.info-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 22px 46px rgba(0,0,0,0.4), 0 0 30px rgba(233,169,77,0.18); }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--steel), var(--steel-lt)); margin-bottom: 16px; }
.info-card .ic svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-card h3 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.info-card p { color: var(--mist-dim); font-size: 0.92rem; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px,1fr)); gap: 22px; margin-top: 18px; }
.pkg { position: relative; background: rgba(14,41,73,0.5); border: 1px solid rgba(201,217,236,0.16); border-radius: var(--radius);
  padding: 32px 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.pkg:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 22px 46px rgba(0,0,0,0.4); }
.pkg.featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(242,200,121,0.4), 0 22px 50px rgba(0,0,0,0.45); }
.pkg .tag-top { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--horizon)); color: #0a1a0f; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.pkg h3 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: 1.4rem; text-align: center; }
.pkg .price { text-align: center; color: var(--gold); font-family: var(--font-display); font-size: 1.02rem; margin: 6px 0 18px; }
.pkg ul { list-style: none; display: grid; gap: 10px; }
.pkg li { padding-left: 26px; position: relative; color: var(--mist); font-size: 0.92rem; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.pkg .btn { margin-top: 24px; width: 100%; justify-content: center; }

.steps { display: grid; gap: 16px; margin-top: 10px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: rgba(14,41,73,0.42);
  border: 1px solid rgba(201,217,236,0.14); border-radius: var(--radius); padding: 22px 24px;
  transition: transform .3s var(--ease), border-color .3s var(--ease); }
.step:hover { transform: translateX(6px); border-color: var(--gold); }
.step .n { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: #0a1a0f; background: linear-gradient(135deg, var(--gold), var(--horizon)); }
.step h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: var(--mist-dim); font-size: 0.92rem; }

.faq { display: grid; gap: 12px; margin-top: 10px; }
.faq details { background: rgba(14,41,73,0.45); border: 1px solid rgba(201,217,236,0.16); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; color: #fff; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist-dim); padding: 0 0 20px; font-size: 0.94rem; }

/* Keep everything legible if motion is reduced */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ascent path.track { stroke-dashoffset: 0; }
  .ascent path.head, .ascent circle { opacity: 1; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero .eyebrow, .hero h1, .hero .tagline, .hero .hero-cta, .hero .scroll-cue { opacity: 1 !important; }
  /* exception: the stats count-up is text ticking, not vestibular motion — keep its pulse */
  .stat .stat-num { transition: transform .35s var(--ease), text-shadow .35s var(--ease) !important; }
}

/* ============================================================
   Downtown Dubai showcase band (homepage)
   ============================================================ */
.showcase { width: var(--shell); margin: 0 auto; padding: clamp(18px,4vh,38px) 0; }
.showcase-frame {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  border: 1px solid rgba(242,200,121,0.28); box-shadow: 0 26px 60px rgba(0,0,0,0.45);
}
.showcase-frame img {
  width: 100%; height: clamp(260px, 46vh, 520px); object-fit: cover; display: block;
  transition: transform 8s ease;
}
.showcase-frame:hover img { transform: scale(1.06); }
.showcase-frame .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(24px,5vw,48px);
  background: linear-gradient(180deg, transparent, rgba(6,17,33,0.85));
}
.showcase-frame .cap .kicker {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
}
.showcase-frame .cap h2 {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); margin-top: 8px; text-shadow: 0 6px 24px rgba(0,0,0,0.5);
}
.showcase-frame .cap p { color: var(--mist); margin-top: 8px; max-width: 52ch; }

/* --- Phone number in the main-site header --- */
.site-phone{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:.95rem;color:#fff;
  padding:10px 16px;border:1.5px solid rgba(255,255,255,.45);border-radius:999px;white-space:nowrap;
  text-decoration:none;margin-left:auto;margin-right:20px;transition:border-color .2s,background .2s}
.site-phone svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-phone:hover{border-color:#fff;background:rgba(255,255,255,.12)}
/* logo stays left; phone + nav group together on the right (margin-left:auto on .site-phone) */
.site-header{display:flex;align-items:center;justify-content:flex-start}
.site-header nav{display:flex;align-items:center}
@media(max-width:760px){ .site-phone{padding:10px 13px;margin-right:12px;font-size:.85rem} }
/* --- Call Us / About Us / Contact Us in brand gold, tuned for the white bar ---
   #F2C879 on white is only ~1.6:1, so text uses the deeper --gold-ink and the
   bright brand gold carries the fills and borders. */
.site-phone {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(233,169,77,.34);
}
.site-phone:hover,
.site-phone:focus-visible {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--horizon);
  box-shadow: 0 12px 26px rgba(233,169,77,.46);
}
/* About Us / Contact Us wear exactly the Call Us treatment */
.nav-links a {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(233,169,77,.34);
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--horizon);
  box-shadow: 0 12px 26px rgba(233,169,77,.46);
}

/* keep the "Call Us" label on small phones by tightening the bar instead of hiding it */
@media(max-width:560px){
  .site-header{ gap:10px; padding-left:12px; padding-right:12px; }
  .site-phone{ padding:8px 11px; margin-right:6px; font-size:.78rem; gap:6px; }
  .site-phone svg{ width:15px; height:15px; }
  .nav-links{ gap:5px; }
  .nav-links a{ padding:8px 10px; font-size:.6rem; letter-spacing:.1em; }
}

/* --- Company name + tagline, moved out of the hero and into the top bar --- */
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  margin-left: clamp(10px, 1.4vw, 20px);
  min-width: 0;
}
.brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.75vw, 1.55rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--ink);              /* was #fff — the bar is white now */
  white-space: nowrap;
}
.brand-name .accent { color: #000; }
.brand-tag {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.68rem, 0.92vw, 0.86rem);
  letter-spacing: 0.04em;
  color: var(--gold-mid);         /* golden, deepened so it reads on the white bar */
  white-space: nowrap;
}
/* the gold ascent line, sitting under the tagline inside the bar */
.brand-text .ascent {
  --w: clamp(150px, 17vw, 240px);
  width: var(--w);
  height: 26px;
  margin: 2px 0 0;
}
.brand-text .ascent path.track,
.brand-text .ascent path.head {
  stroke-width: 4;
  stroke: var(--gold-mid);        /* deeper gold so it reads on white */
}
.brand-text .ascent circle { r: 7; fill: var(--sage-dk); }
/* below this the bar runs out of room — logo alone carries the brand */
@media (max-width: 1040px) { .brand-text { display: none; } }

/* --- First screen ends at the Explore Services button --- */
:root { --header-h: 153px; }                       /* logo 116 + 18px padding x2 + 1px border */
@media (max-width: 720px) { :root { --header-h: 121px; } }   /* logo 84  */
@media (max-width: 420px) { :root { --header-h: 105px; } }   /* logo 68  */

body.home .hero {
  /* 100vh resolves to the LARGE viewport on mobile, so the scroll cue stays
     below the fold even while the browser chrome is showing */
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(20px, 4vh, 44px);
  padding-bottom: clamp(20px, 4vh, 44px);
}
.scroll-cue-wrap { text-align: center; padding: clamp(18px, 4vh, 36px) 20px 0; }

/* --- About / Contact panels living on the home page --- */
.home-panel {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(30px, 6vh, 60px) 0 clamp(40px, 7vh, 70px);
  /* header clearance now comes from html{scroll-padding-top} — see the top of this file */
}
.panel-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}
.home-panel .card-panel { margin: 0; }

/* --- About: "Our Core Solutions" ------------------------------------------
   A second head inside the same panel needs air above it, and the numbered
   solution cards carry a pictogram in the heading. The mark is decorative
   (aria-hidden in the markup), so it only has to sit on the baseline nicely. */
.section-head.solutions-head { margin-top: clamp(48px, 6vw, 76px); }
.sol-mark {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.25em;
  line-height: 1;
  vertical-align: -0.08em;
  /* emoji fonts ignore `color`, so this only affects the fallback glyph */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.card-panel .features li b { color: #fff; font-weight: 600; }
/* the closing full-width card sits below a grid, so it needs its own gap back */
.home-panel .card-panel.stands-for { margin-top: 22px; }

/* ============================================================
   HOME PAGE REFINEMENTS
   ============================================================ */

/* --- Brand name in bold ---------------------------------------------------
   .brand-name is Marcellus, which ships a single weight (400). font-weight
   alone therefore changes nothing — the browser has no heavier face to switch
   to and leaves the glyph metrics identical. Thickening the strokes is what
   actually reads as bold on a display face. The italic tagline underneath is
   left alone so the two still contrast. */
.brand-name{
  font-weight:700;
  -webkit-text-stroke:.7px currentColor;
}
.brand-name .accent{ -webkit-text-stroke:.7px #000 }

/* --- Shorter top bar ------------------------------------------------------
   Height comes off the padding and the logo, NOT the type: .brand-name and
   .brand-tag keep their clamp() sizes exactly as they were. */
.site-header{ padding-top:9px; padding-bottom:9px }
.logo-link img{ height:92px }

/* The sticky-header offset that the hero's min-height subtracts has to track
   the new bar: logo 92 + 9px padding x2 + 1px border. */
:root{ --header-h:111px }
@media (max-width:720px){
  :root{ --header-h:89px }
  .logo-link img{ height:70px }
}
@media (max-width:420px){
  :root{ --header-h:79px }
  .logo-link img{ height:60px }
}

/* --- "Talk to us" matched to "Explore Services" ---------------------------
   Same gold treatment, same shape. The one difference is the attention pulse:
   two buttons throbbing side by side in sync fights for the eye and neither
   wins, so the pulse stays on the primary action only. */
.btn-secondary-cta{ animation:none }

/* --- Hero buttons lifted -------------------------------------------------
   The hero is a full-height flex box that centres its content, so padding is
   not what positions these — a transform is. 1.5in is exactly 144px in CSS,
   and because a transform does not affect layout the hero keeps its height
   and nothing below it shifts. */
.hero .hero-cta{ transform:translateY(-1.5in) }

/* On a short viewport a full 1.5in would slide the buttons up under the
   sticky bar, so the lift eases back rather than hiding them. */
@media (max-height:760px){ .hero .hero-cta{ transform:translateY(-0.9in) } }
@media (max-height:620px){ .hero .hero-cta{ transform:translateY(-0.4in) } }

/* --- "Explore Services" pull-up ------------------------------------------
   Clicking Explore Services draws the three service cards up from below, and
   the sections underneath follow them up a beat later.

   As everywhere else on this site the resting state is the visible one: the
   class is added by script and only then does the keyframe run. Without JS the
   link is still a plain anchor to #services and the page is unchanged. */
@keyframes skyPullUp{
  from{ opacity:0; transform:translateY(110px) }
  to  { opacity:1; transform:none }
}
.pull-up{
  animation:skyPullUp .78s var(--ease) both;
  animation-delay:var(--pd,0ms);
  will-change:transform,opacity;
}
/* the cards carry a tilt transform of their own — clear it for the duration so
   the two do not compound into a skew */
.service-card.pull-up{ transform:none }

@media (prefers-reduced-motion:reduce){
  .pull-up{ animation:none }
  .hero .hero-cta{ transform:none }
}

/* ============================================================================
   HOME PAGE REFINEMENTS
   ========================================================================== */

/* --- 8. the cool light-blue body text reads as clear white ---------------- */
:root{
  --mist:     #FFFFFF;
  --mist-dim: #F1F5FB;
  --logo-blue:#002ED9;   /* sampled from the logo artwork */
  --logo-green:#275E17;  /* the green of the logo's bars — matches "Company Setup" */
}

/* --- 4. brand lockup: no arrow, logo blue + logo green, a size up --------- */
.brand-text{ gap:5px }
.brand-name{
  font-size:clamp(1.18rem,2.25vw,2.05rem);
  color:var(--logo-blue);
  -webkit-text-stroke:.6px var(--logo-blue);
}
.brand-name .accent{
  color:var(--logo-blue);
  -webkit-text-stroke:.6px var(--logo-blue);
}
.brand-tag{
  font-size:clamp(.84rem,1.22vw,1.12rem);
  color:var(--logo-green);
  font-weight:600;
}

/* --- 1. the hero buttons sit just above the middle of the picture --------- */
.hero .hero-cta{ transform:translateY(-60px) }
@media (max-height:760px){ .hero .hero-cta{ transform:translateY(-26px) } }
@media (max-height:620px){ .hero .hero-cta{ transform:translateY(-12px) } }

/* --- 2. a brighter, richer, punchier backdrop ----------------------------- */
body.home::before{
  filter:brightness(1.14) contrast(1.16) saturate(1.26);
}
/* the vignette was tuned for the darker original, so it eases off to let the
   extra light through */
body.home::after{
  background:
    radial-gradient(132% 108% at 50% 46%, transparent 62%, rgba(4,11,22,0.42) 100%),
    linear-gradient(180deg, rgba(4,11,22,0.24) 0%, rgba(4,11,22,0.06) 34%, rgba(4,11,22,0.30) 100%);
}

/* --- 5. every box gets a static gold outline ------------------------------
   The counter tiles and the three service cards keep their own treatment. */
.card-panel,
.cta-inner,
.contact-list .icon,
.btn-wa{
  border:2px solid var(--gold);
}
.card-panel{ box-shadow:0 14px 34px rgba(0,0,0,.28) }
.cta-inner{ border-width:2px }
/* static means static — no colour change on hover */
.card-panel:hover,
.cta-inner:hover{ border-color:var(--gold) }

/* --- 6. the section labels: bigger and bold, same gold -------------------- */
.section-head .kicker{
  font-size:1.02rem;
  font-weight:800;
  letter-spacing:.26em;
}
@media (max-width:600px){
  .section-head .kicker{ font-size:.88rem; letter-spacing:.2em }
}

/* --- Brand name in the logo's metallic blue ------------------------------
   The logo's ribbon is not a flat colour: it runs from a deep navy-blue core
   through a bright band to a near-white specular highlight and back down.
   Those stops are sampled from the artwork itself (#001a66 core, #2a66ee
   rise, #94ccff specular) and painted through the type instead of a single
   solid fill. The thin stroke is kept so the name holds the same visual
   weight it had before; it just picks up a mid-blue from the same ramp. */
.brand-name{
  background-image:linear-gradient(177deg,
    #0A2E86 0%,
    #1240BE 16%,
    #2A66EE 34%,
    #94CCFF 46%,
    #1B4CD6 54%,
    #001A66 70%,
    #062583 86%,
    #0E3AA4 100%);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .brand-name,
  .brand-name .accent{
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    -webkit-text-stroke:.5px #0B3AA6;
  }
  .brand-name{
    filter:drop-shadow(0 1px 0 rgba(255,255,255,.6));
  }
}
