/* ============================================================
   SPROVAB NIGERIA — Global Stylesheet
   Logistics | Manpower | Procurement
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy:        #12102E;
  --navy-2:      #1A1740;
  --indigo:      #2E2A7A;
  --indigo-2:    #3E3A9B;
  --orange:      #F58634;
  --orange-2:    #FF9A4D;
  --ink:         #17162B;
  --paper:       #F7F5F0;
  --paper-2:     #EFECE4;
  --white:       #FFFFFF;
  --gray:        #66647C;
  --gray-light:  #B9B7C9;
  --line:        rgba(18, 16, 46, 0.10);
  --line-light:  rgba(255, 255, 255, 0.14);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 18px 50px -18px rgba(18, 16, 46, 0.28);
  --shadow-lg: 0 34px 80px -30px rgba(18, 16, 46, 0.45);

  --nav-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  animation: pageIn 0.7s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

::selection { background: var(--orange); color: var(--navy); }

/* ---------- 3. Utilities ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(52px, 6vw, 88px) 0; }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--navy { background: var(--navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.kicker--plain::before { display: none; }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--gray); max-width: 62ch; }
.section--navy .lead { color: var(--gray-light); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--orange { background: var(--orange); color: var(--navy); box-shadow: 0 12px 30px -10px rgba(245, 134, 52, 0.55); }
.btn--orange:hover { background: var(--orange-2); transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(245, 134, 52, 0.65); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,0.45); color: var(--white); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--indigo); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--indigo);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.text-link:hover { gap: 14px; color: var(--orange); }

/* ---------- 4. Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--indigo-2), var(--orange));
  z-index: 1200; transition: width 0.1s linear;
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s, height 0.45s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, 92%); margin-inline: auto; }

.nav__logo { display: flex; align-items: center; gap: 12px; z-index: 1150; }
.nav__logo img {
  height: 64px; width: auto;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  filter:
    brightness(1.14) saturate(1.08)
    drop-shadow(0 0 10px rgba(245, 134, 52, 0.42))
    drop-shadow(0 0 26px rgba(62, 58, 155, 0.38));
}
.nav__logo:hover img {
  transform: scale(1.05);
  filter:
    brightness(1.2) saturate(1.12)
    drop-shadow(0 0 14px rgba(245, 134, 52, 0.6))
    drop-shadow(0 0 34px rgba(62, 58, 155, 0.5));
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--navy);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(245,134,52,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--orange-2); transform: translateY(-2px); }

/* scrolled state */
.nav.is-scrolled {
  height: 68px;
  background: rgba(18, 16, 46, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px -14px rgba(0,0,0,0.5);
}
.nav.is-scrolled .nav__logo img { height: 38px; }

/* hamburger */
.nav__toggle { display: none; z-index: 1150; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 1120;
  background: linear-gradient(160deg, var(--navy) 0%, var(--indigo) 130%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 8% 48px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 44px); font-weight: 700;
  color: var(--white); padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.drawer a.drawer__link small { font-size: 13px; color: var(--orange); letter-spacing: 0.2em; }
.drawer a.drawer__link:hover { color: var(--orange); }
.drawer.is-open a.drawer__link { opacity: 1; transform: translateY(0); }
.drawer.is-open a.drawer__link:nth-child(1) { transition-delay: 0.12s; }
.drawer.is-open a.drawer__link:nth-child(2) { transition-delay: 0.20s; }
.drawer.is-open a.drawer__link:nth-child(3) { transition-delay: 0.28s; }
.drawer.is-open a.drawer__link:nth-child(4) { transition-delay: 0.36s; }
.drawer__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 30px; color: var(--gray-light); font-size: 14.5px; }
.drawer__foot a { color: var(--white); }
.drawer__foot a:hover { color: var(--orange); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero--inner { min-height: 62svh; align-items: center; }
.hero__bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-2%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,16,46,0.55) 0%, rgba(18,16,46,0.18) 40%, rgba(18,16,46,0.86) 100%),
    linear-gradient(100deg, rgba(18,16,46,0.72) 0%, rgba(46,42,122,0.24) 55%, rgba(18,16,46,0.10) 100%);
}
.hero__content { padding: calc(var(--nav-h) + 40px) 0 clamp(60px, 8vw, 110px); width: 100%; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--orange-2); margin-bottom: 22px;
  padding: 9px 18px; border: 1px solid rgba(245,134,52,0.4); border-radius: 999px;
  background: rgba(18,16,46,0.35); backdrop-filter: blur(6px);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--orange); font-style: normal; position: relative; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,0.85);
}
.hero p.hero__sub { font-size: clamp(16px, 1.8vw, 20px); color: rgba(255,255,255,0.82); max-width: 56ch; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__scroll {
  position: absolute; right: clamp(20px, 4vw, 56px); bottom: 42px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.75); font-size: 11.5px; letter-spacing: 0.28em;
  text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1.5px; height: 64px; background: linear-gradient(var(--orange), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0% { transform: scaleY(0.3); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0.3); transform-origin: top; } }

/* stats strip overlapping hero bottom */
.hero-stats {
  position: relative; z-index: 5;
  margin-top: clamp(-70px, -6vw, -52px);
}
.hero-stats__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat { padding: clamp(22px, 3vw, 36px) clamp(18px, 2.5vw, 34px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; color: var(--indigo); letter-spacing: -0.02em; }
.stat__num sup { color: var(--orange); font-size: 0.62em; }
.stat__label { font-size: 13.5px; color: var(--gray); margin-top: 4px; letter-spacing: 0.02em; }

/* ---------- 7. Ticker / marquee ---------- */
.ticker { background: var(--navy); padding: 20px 0; overflow: hidden; border-block: 1px solid var(--line-light); }
.ticker__track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.72);
  white-space: nowrap;
}
.ticker__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Split & overlap sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse > .split__media { order: 2; }

.split__media { position: relative; }
.split__media .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media .img-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.6; transition: transform 1.2s var(--ease); }
.split__media:hover .img-main img { transform: scale(1.05); }
.split__media--wide .img-main img { aspect-ratio: 4/3; }

/* floating overlap card */
.overlap-card {
  position: absolute; right: -8%; bottom: -8%;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 26px 30px;
  max-width: 300px; box-shadow: var(--shadow-lg);
}
.overlap-card .big { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; }
.overlap-card p { font-size: 14px; color: var(--gray-light); margin-top: 8px; line-height: 1.55; }
.overlap-badge {
  position: absolute; left: -7%; top: -7%;
  background: var(--orange); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em;
  padding: 14px 20px; border-radius: 14px;
  box-shadow: 0 16px 36px -12px rgba(245,134,52,0.55);
  transform: rotate(-4deg);
}

.split__body h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 20px; }
.split__body p + p { margin-top: 14px; }
.split__body .text-link, .split__body .btn { margin-top: 30px; }

.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.check-list li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
.check-list li strong { font-family: var(--font-display); font-weight: 600; display: block; }
.check-list li span { color: var(--gray); }

/* ---------- 9. Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; height: 240px; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.09); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18,16,46,0.55)); }
.service-card__num {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--white); background: rgba(18,16,46,0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 999px;
}
.service-card__body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { font-size: 22px; margin-bottom: 12px; }
.service-card__body p { font-size: 15px; color: var(--gray); flex: 1; }
.service-card__body .text-link { margin-top: 22px; font-size: 14px; align-self: flex-start; }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-2));
  display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: 0 10px 22px -8px rgba(46,42,122,0.55);
}
.service-card__icon svg { width: 23px; height: 23px; color: var(--white); }

/* value cards */
.value-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value-card h4 { font-size: 18px; margin: 18px 0 10px; }
.value-card p { font-size: 14.5px; color: var(--gray); }
.value-card .dot { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,134,52,0.14); display: grid; place-items: center; }
.value-card .dot svg { width: 22px; height: 22px; color: var(--orange); }

/* ---------- 10. Parallax banner ---------- */
.pbanner {
  position: relative; min-height: 68svh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate; color: var(--white);
}
.pbanner__bg { position: absolute; inset: -22% 0; z-index: -2; will-change: transform; }
.pbanner__bg img { width: 100%; height: 100%; object-fit: cover; }
.pbanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(18,16,46,0.88) 10%, rgba(46,42,122,0.55) 55%, rgba(18,16,46,0.35)); }
.pbanner__content { max-width: 640px; padding: 90px 0; }
.pbanner__content h2 { color: var(--white); font-size: clamp(30px, 4.2vw, 52px); margin-bottom: 18px; }
.pbanner__content h2 .accent { color: var(--orange); }
.pbanner__content p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 17px; }

/* ---------- 11. Horizontal scroll gallery ---------- */
.hscroll { position: relative; }
.hscroll__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.hscroll__nav { display: flex; gap: 10px; }
.hscroll__btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line-light); color: var(--white);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.hscroll__btn svg { width: 20px; height: 20px; }
.hscroll__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); transform: scale(1.06); }
.hscroll__btn[disabled] { opacity: 0.35; pointer-events: none; }

.hscroll__track {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: none;
  cursor: grab;
}
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.hcard {
  position: relative; flex: 0 0 min(78vw, 460px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/4.8;
  user-select: none;
}
.hcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.hcard:hover img { transform: scale(1.06); }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(185deg, rgba(18,16,46,0) 42%, rgba(18,16,46,0.88)); }
.hcard__caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--white); }
.hcard__caption .tag { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-2); }
.hcard__caption h3 { color: var(--white); font-size: 21px; margin-top: 6px; }
.hcard__caption p { font-size: 13.5px; color: rgba(255,255,255,0.78); margin-top: 6px; line-height: 1.55; }

/* ---------- 12. Feature / innovation block ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.feature__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.feature__media .chip {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(18,16,46,0.72); color: var(--white); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22);
}
.feature__body h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.feature__body h2 .accent { color: var(--orange); }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--indigo) 0%, var(--navy) 70%); border-radius: var(--radius-lg); padding: clamp(46px, 6vw, 80px) clamp(28px, 5vw, 70px); }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,134,52,0.35), transparent 65%);
}
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.cta-band::after { width: 300px; height: 300px; left: -100px; bottom: -140px; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 42px); max-width: 22ch; }
.cta-band h2 .accent { color: var(--orange); }
.cta-band p { color: var(--gray-light); margin-top: 12px; max-width: 52ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy); color: var(--gray-light); padding: clamp(60px, 7vw, 90px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.footer__brand img { height: 58px; margin-bottom: 20px; }
.footer__brand p { font-size: 14.5px; line-height: 1.75; max-width: 34ch; }
.footer h4 { color: var(--white); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.footer h4::after { content: ""; display: block; width: 26px; height: 2px; background: var(--orange); margin-top: 10px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 14.5px; transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer__links a:hover { color: var(--orange); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; line-height: 1.6; }
.footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px;
}
.footer__bottom a { color: var(--white); }
.footer__bottom a:hover { color: var(--orange); }

/* back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 1000;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(245,134,52,0.6);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background 0.3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange-2); }

/* ---------- 15. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--indigo-2);
  box-shadow: 0 0 0 4px rgba(62,58,155,0.12);
}
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214,69,69,0.10); }
.form-field .error-msg { font-size: 12.5px; color: #D64545; display: none; }
.form-field.has-error .error-msg { display: block; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 16px; }
.form-status { margin-top: 18px; font-size: 14.5px; font-weight: 500; display: none; }
.form-status.is-ok { display: block; color: #1D7A4F; }

/* office cards */
.office-card {
  position: relative; background: var(--white);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.office-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--indigo-2), var(--orange)); }
.office-card .city { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); }
.office-card h3 { font-size: 21px; margin: 10px 0 16px; }
.office-card ul { display: grid; gap: 12px; font-size: 14.5px; color: var(--gray); }
.office-card li { display: flex; gap: 12px; align-items: flex-start; }
.office-card li svg { flex: none; width: 18px; height: 18px; color: var(--indigo-2); margin-top: 3px; }
.office-card a { color: var(--ink); font-weight: 500; }
.office-card a:hover { color: var(--orange); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- 16. Timeline ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--indigo-2), var(--orange)); }
.timeline__item { position: relative; padding: 0 0 40px 62px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 8px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--orange);
  box-shadow: 0 0 0 5px rgba(245,134,52,0.15);
}
.timeline__year { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--orange); text-transform: uppercase; }
.timeline__item h4 { font-size: 19px; margin: 6px 0 8px; }
.timeline__item p { font-size: 14.5px; color: var(--gray); max-width: 58ch; }

/* leader card */
.leader-card {
  display: flex; gap: 24px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.leader-card__avatar {
  flex: none; width: 92px; height: 92px; border-radius: 24px;
  background: linear-gradient(135deg, var(--indigo), var(--orange));
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--white);
}
.leader-card h4 { font-size: 19px; }
.leader-card .role { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 4px 0 8px; }
.leader-card p { font-size: 14px; color: var(--gray); }

/* ---------- 17. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 18. Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 58svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,16,46,0.6), rgba(18,16,46,0.28) 45%, rgba(18,16,46,0.9)), linear-gradient(100deg, rgba(18,16,46,0.65), rgba(46,42,122,0.15)); }
.page-hero__content { padding: calc(var(--nav-h) + 60px) 0 70px; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero h1 .accent { color: var(--orange); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 18px; font-family: var(--font-display); letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span.sep { color: var(--orange); }

/* service detail rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.svc-row:last-of-type { border-bottom: none; }
.svc-row__media { position: relative; }
.svc-row__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3.1; }
.svc-row__media .num {
  position: absolute; top: -26px; left: -14px;
  font-family: var(--font-display); font-size: clamp(64px, 8vw, 110px); font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px var(--orange);
  line-height: 1; opacity: 0.9;
}
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__body h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.svc-row__body > p { color: var(--gray); }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.svc-row__tags span {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--indigo);
}

/* contact layout */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info-card { background: var(--navy); color: var(--gray-light); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 46px); }
.contact-info-card h3 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.contact-info-card > p { font-size: 14.5px; margin-bottom: 28px; }
.contact-info-card ul { display: grid; gap: 20px; }
.contact-info-card li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(245,134,52,0.14); display: grid; place-items: center; }
.contact-info-card .ico svg { width: 20px; height: 20px; color: var(--orange); }
.contact-info-card strong { display: block; font-family: var(--font-display); color: var(--white); font-size: 14px; margin-bottom: 3px; }
.contact-info-card a, .contact-info-card span.txt { font-size: 14.5px; }
.contact-info-card a:hover { color: var(--orange); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1020px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-stats__card { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .overlap-card { right: 4%; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .split, .feature, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > .split__media, .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .overlap-card { position: static; margin: 18px 6% 0; max-width: none; }
  .overlap-badge { left: auto; right: 6%; top: -24px; }
  .hscroll__head { flex-direction: column; align-items: flex-start; }
  .svc-row__media .num { left: 4px; top: -30px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .cards-3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero-stats__card { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hcard { flex-basis: 82vw; aspect-ratio: 4/5; }
  .to-top { right: 18px; bottom: 18px; }
}
