/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats-strip {
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item strong {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(120deg, #fff, #9CA3AF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Why Choose Us, icon cards
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: 28px 24px;
}
.why-card .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  color: #fff;
  margin-bottom: 18px;
}
.why-card .ic svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ==========================================================================
   Services grid (premium hover cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint);
  color: var(--brn-primary);
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .ic { background: var(--grad-primary); color: #fff; transform: scale(1.08); }
.service-card .ic svg { width: 25px; height: 25px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 18px; }

.service-card .sub-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-card .sub-list span {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--text-secondary);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brn-primary);
}
.service-card .card-link svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  padding: 22px 14px;
  text-align: center;
  border-radius: var(--radius-md);
}
.industry-card .ic {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint);
  color: var(--brn-secondary);
  transition: background 0.3s ease, color 0.3s ease;
}
.industry-card:hover .ic { background: var(--grad-primary); color: #fff; }
.industry-card .ic svg { width: 21px; height: 21px; }
.industry-card span { font-size: 0.84rem; font-weight: 600; }

/* ==========================================================================
   Process timeline (real sequence, numbering justified here)
   ========================================================================== */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
  counter-reset: step;
}
.process-rail::before {
  content: '';
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-tint) 0 8px, transparent 8px 14px);
  z-index: 0;
}
@media (max-width: 980px) {
  .process-rail { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-lg); }
  .process-rail::before { display: none; }
}
@media (max-width: 560px) {
  .process-rail { grid-template-columns: 1fr; }
}

.process-step { position: relative; z-index: 1; text-align: center; }
.process-step .num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brn-primary);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.process-step:hover .num { background: var(--grad-primary); color: #fff; border-color: transparent; transform: scale(1.08); }
.process-step h3 { font-size: 0.98rem; margin-bottom: 8px; }
.process-step p { font-size: 0.84rem; color: var(--text-secondary); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-track-wrap { overflow: hidden; position: relative; }
.testimonial-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 14px);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 980px) { .testimonial-card { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 640px) { .testimonial-card { flex: 0 0 100%; } }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; color: #F59E0B; }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-card p.quote { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 22px; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-data); font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.9rem; }
.testimonial-person span { font-size: 0.78rem; color: var(--text-muted); }

.testimonial-nav { display: flex; justify-content: center; gap: 10px; margin-top: var(--space-lg); }
.testimonial-nav button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.testimonial-nav button:hover { background: var(--bg-tint); border-color: var(--brn-primary); }
.testimonial-nav svg { width: 18px; height: 18px; }

/* ==========================================================================
   Case studies
   ========================================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  padding: 30px;
}
.case-card .tag { margin-bottom: 16px; }
.case-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.case-card dl { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.case-card dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-family: var(--font-data); }
.case-card dd { font-size: 0.88rem; color: var(--text-secondary); margin-top: 2px; }
.case-metrics { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.case-metrics div strong { display: block; font-family: var(--font-data); font-size: 1.3rem; color: var(--brn-primary); }
.case-metrics div span { font-size: 0.74rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background 0.25s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--brn-primary);
  transition: transform 0.3s ease;
}
.faq-q .plus::before { width: 12px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 12px; }
.faq-item.is-open .faq-q .plus { background: var(--grad-primary); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after { background: #fff; }
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg) scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 24px 22px; font-size: 0.92rem; color: var(--text-secondary); }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band {
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin: 0 24px;
}
.cta-band::before {
  content: '';
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(6,182,212,0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124,58,237,0.3) 0%, transparent 45%);
}
.cta-band-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-on-dark-muted); margin-bottom: var(--space-lg); font-size: 1.02rem; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid.full { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.field label .req { color: var(--brn-secondary); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  font-size: 0.94rem;
  color: var(--text-primary);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brn-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .error-msg { font-size: 0.78rem; color: #3B82F6; min-height: 1em; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #3B82F6; }
.field.has-error .error-msg { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.form-success.is-visible { display: block; }
.form-success .ic-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--brn-primary);
  animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.form-success .ic-wrap svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* --- newsletter --- */
.newsletter-box {
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-full);
  padding: 6px;
}
.newsletter-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.9rem;
}
.newsletter-box input::placeholder { color: var(--text-on-dark-muted); }
.newsletter-box input:focus { outline: none; }
.newsletter-box button {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ==========================================================================
   World map (Global Presence section)
   ========================================================================== */
.map-wrap {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
}
.map-wrap svg { width: 100%; height: auto; max-width: 900px; margin: 0 auto; display: block; }
.map-dots circle { fill: #CBD5E1; }
.map-pin-pulse {
  fill: none; stroke: var(--brn-primary); stroke-width: 2;
  transform-origin: center;
  animation: nodepulse 2.6s ease-out infinite;
}
.map-pin { fill: var(--brn-secondary); }
.map-label {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  fill: var(--text-primary);
}

.map-legend { display: flex; gap: var(--space-lg); justify-content: center; margin-top: var(--space-md); flex-wrap: wrap; }
.map-legend .item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-secondary); }
.map-legend .swatch { width: 12px; height: 12px; border-radius: 50%; }
