/* ============================================================
   on-demand.css — Hub & Spoke Page Styles
   iCoderz Solutions 2026 — Sharp / Editorial
   ============================================================ */

/* ── Page hero ─────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--clr-dark, #0B0D2A);
  padding: var(--sp-16) 0 var(--sp-14);
  overflow: hidden;
  min-height: 380px;
}

/* Grid background */
.page-hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Radial glow */
.page-hero__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(26,86,232,.22) 0%, transparent 70%);
  pointer-events: none;
}

/* Content */
.page-hero__content { position: relative; z-index: 1; max-width: 800px; }
.page-hero__title {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1.18;
  margin: var(--sp-4) 0;
}
.page-hero__title .highlight {
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero__desc {
  font-size: var(--fs-base);
  color: rgba(255,255,255,.6);
  line-height: var(--lh-relaxed);
  max-width: 620px;
  margin: 0 0 var(--sp-6);
}
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Stats strip */
.page-hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.12);
}
.page-hero__stat { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.page-hero__stat-value {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  line-height: 1;
}
.page-hero__stat-label { font-size: var(--fs-xs); color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* ── Section & Header ──────────────────────────────── */
.section { padding: var(--sp-16) 0; }
.section-header { text-align: left; }
.section-header .overline { display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--clr-blue); text-transform: uppercase; letter-spacing: .1em; }

/* ── Two-column layout ─────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── Why-cells ─────────────────────────────────────── */
.why-cell {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-6);
  transition: border-color .2s, box-shadow .2s;
}
.why-cell:hover { border-color: var(--clr-blue); box-shadow: 0 0 0 1px var(--clr-blue); }
.why-cell__icon { width: 48px; height: 48px; margin-bottom: var(--sp-4); }
.why-cell__icon img { width: 100%; height: 100%; object-fit: contain; }
.why-cell__title { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--clr-text); margin-bottom: var(--sp-2); }
.why-cell__desc { font-size: var(--fs-sm); color: var(--clr-text-3); line-height: var(--lh-relaxed); margin: 0; }

/* ── Why Grid ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

/* ── Feature cells ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.feature-cell {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  padding: var(--sp-6);
  transition: border-color .2s, box-shadow .2s;
}
.feature-cell:hover { border-color: var(--clr-blue); box-shadow: 0 0 0 1px var(--clr-blue); }
.feature-cell__title { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--clr-text); margin-bottom: var(--sp-3); }
.feature-cell__desc { font-size: var(--fs-sm); color: var(--clr-text-3); line-height: var(--lh-relaxed); margin: 0; }

/* ── Process Steps ─────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-6);
}
.process-step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.process-step__icon { width: 48px; height: 48px; flex-shrink: 0; }
.process-step__icon img { width: 100%; height: 100%; object-fit: contain; }
.process-step__body { flex: 1; }
.process-step__title { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--clr-text); margin-bottom: var(--sp-2); }
.process-step__desc { font-size: var(--fs-sm); color: var(--clr-text-3); line-height: var(--lh-relaxed); margin: 0; }

/* ── Verticals grid ────────────────────────────────── */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-4);
}
.vertical-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: var(--sp-5);
  text-align: center;
  transition: border-color .2s;
}
.vertical-card:hover { border-color: var(--clr-blue); }
.vertical-card__icon { width: 40px; height: 40px; margin: 0 auto var(--sp-3); }
.vertical-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.vertical-card__name { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--clr-text); }

/* ── CTA Split ─────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0F1B5C 0%, #0B0D2A 100%);
  padding: var(--sp-16) 0;
}
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
@media (max-width: 768px) { .cta-split { grid-template-columns: 1fr; } }

.cta-split__left { display: flex; flex-direction: column; min-height: 420px; }
.cta-split__right { height: 100%;
  background: var(--clr-white);
  padding: var(--sp-8);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* CTA steps */
.cta-steps { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-6); }
.cta-step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.cta-step__num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--clr-white);
}
.cta-step__text { font-size: var(--fs-sm); color: rgba(255,255,255,.65); line-height: var(--lh-relaxed); }

/* ── FAQ Accordion ─────────────────────────────────── */
.faq-accordion { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-trigger {
  width: 100%; text-align: left; background: none; border: none;
  padding: var(--sp-5) 0;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--clr-text);
  cursor: pointer; transition: color .2s;
}
.faq-trigger:hover { color: var(--clr-blue); }
.faq-trigger[aria-expanded="true"] { color: var(--clr-blue); }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-icon { flex-shrink: 0; color: var(--clr-text-3); transition: transform .3s; }
.faq-body { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-body[style*="max-height"] { overflow: visible; }
.faq-body__inner { padding: 0 0 var(--sp-5); font-size: var(--fs-sm); color: var(--clr-text-3); line-height: var(--lh-relaxed); }
.faq-body__inner p { margin: 0; }

/* ── Hub link banner ───────────────────────────────── */
.hub-link-banner {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-blue);
  padding: var(--sp-5) var(--sp-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.hub-link-banner__text { font-size: var(--fs-sm); color: var(--clr-text-3); }
.hub-link-banner__text strong { color: var(--clr-text); font-weight: var(--fw-semibold); }

/* ── Breadcrumb ────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-1);
  list-style: none; padding: 0; margin: 0 0 var(--sp-6);
  font-size: var(--fs-xs);
}
.breadcrumb li a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.breadcrumb li a:hover { color: rgba(255,255,255,.9); }
.breadcrumb__current { color: rgba(255,255,255,.35); }
.breadcrumb__sep { color: rgba(255,255,255,.25); display: flex; align-items: center; }

/* ── Hero badge ────────────────────────────────────── */
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px;
  font-size: var(--fs-xs); color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .06em;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

/* ── Border box ────────────────────────────────────── */
.border-box {
  border: 1px solid var(--clr-border);
  padding: var(--sp-6);
  background: var(--clr-surface);
}

/* ── Overline ──────────────────────────────────────── */
.overline {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  color: var(--clr-blue); text-transform: uppercase; letter-spacing: .1em;
}
.overline--white { color: rgba(255,255,255,.55); }

/* ── Reveal animation ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  .verticals-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .page-hero__stat { min-width: 100px; }
  .hub-link-banner { flex-direction: column; align-items: flex-start; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER — matching old site structure
   ============================================================ */

/* ① Flag ticker — exact old site countries__slider styles */
.footer-flags-strip {
  background: var(--clr-dark, #0b0d2a);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-flags-strip .countries {
  background: var(--clr-dark, #0b0d2a);
  border: none;
}
/* Linear transition = continuous smooth marquee scroll (critical — same as old site) */
.footer-flags-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}
.footer-flags-swiper .swiper-slide {
  width: 18rem;
  height: 6rem !important;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.footer-flags-swiper .swiper-slide:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-flags-swiper .countries__logo-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-flags-swiper .countries__logo {
  width: 44px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.footer-flags-swiper .countries__name {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

/* ② Main row */
.footer-top { background: #0b0d2a; padding: 56px 0 48px; }
.footer-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) { .footer-main-row { grid-template-columns: 1fr; } }

/* Brand col */
.footer-brand__logo-link { display: inline-block; margin-bottom: 16px; }
.footer-brand__desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; margin: 0 0 28px; }

.footer-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 28px; }
.footer-office__country { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.footer-office__addr { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.55; margin: 0; }

.footer-inquiry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.footer-inquiry__title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.footer-inquiry__line { font-size: 12px; color: rgba(255,255,255,0.45); margin: 0 0 4px; }
.footer-inquiry__line a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-inquiry__line a:hover { color: #fff; }

/* Right col */
.footer-right-col { display: flex; flex-direction: column; gap: 28px; }
.footer-nav-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-nav-group__title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-nav-group__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-nav-group__list a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; line-height: 1.5; }
.footer-nav-group__list a:hover { color: #fff; }
.footer-nav-group__double { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.footer-partners__title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-partners__logos { display: flex; align-items: center; gap: 20px; }
.footer-partners__logos img { opacity: 0.75; transition: opacity .2s; }
.footer-partners__logos img:hover { opacity: 1; }

.footer-social__title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-social__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social__list a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social__list a:hover { background: var(--clr-blue); color: #fff; }
.footer-social__list svg { display: block; }

/* ③ Mega menu */
.footer-mega {
  background: #070920;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0;
}
.footer-mega__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .footer-mega__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-mega__grid { grid-template-columns: 1fr; } }
.footer-mega__heading { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-mega__list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.footer-mega__list a { font-size: 12px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color .15s; }
.footer-mega__list a:hover { color: rgba(255,255,255,0.9); }
.footer-mega__more { font-size: 11px; color: var(--clr-blue); text-decoration: none; font-weight: 500; }
.footer-mega__more:hover { text-decoration: underline; }

/* ④ Ratings ticker */
.footer-ratings-strip {
  background: #0b0d2a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  overflow: hidden;
  width: 100%;
}
.footer-ratings-swiper {
  overflow: visible;
  width: 100%;
}
.footer-ratings-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}
.footer-ratings-swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  padding: 0 30px;
  display: flex;
  align-items: center;
}
.footer-ratings-swiper img { height: 44px; width: auto; opacity: 0.85; display: block; }

/* ⑤ Footer bottom */
.footer-bottom {
  background: #070920;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom__copy { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom__inner img { opacity: 0.7; }
