﻿/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #2457e5;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(36, 87, 229, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.logo-dot {
  font-size: 1.5rem;
  font-weight: 700;
  color: #60a5fa;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}
.btn-header:hover {
  background: #fff;
  color: #2457e5;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(170deg, #1a3fc7 0%, #2457e5 35%, #2d6af0 65%, #3b7bf7 100%);
  overflow: hidden;
  padding-top: 70px;
}

/* Background glow & wave */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 5%;
  right: -5%;
  width: 65%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(100,170,255,0.18) 0%, rgba(100,170,255,0.06) 40%, transparent 70%);
  border-radius: 50%;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 220px;
  display: block;
}

/* Container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 32px 0;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ===== Left Column ===== */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #fff;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #1e293b;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hero-badge i {
  color: #f59e0b;
  font-size: 0.85rem;
}

/* Title */
.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero-title .highlight {
  background: linear-gradient(90deg, #34d399, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-subtitle {
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #2457e5, #1d4ed8);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-primary-cta:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-primary-cta i {
  font-size: 1rem;
}

.btn-glass-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-glass-cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 4px;
}
.stat-item {
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.stat-item:first-child {
  border-radius: 12px 0 0 12px;
}
.stat-item:last-child {
  border-radius: 0 12px 12px 0;
}
.stat-item + .stat-item {
  border-left: none;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  text-transform: capitalize;
}

/* Trust */
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* ===== Right Column — Globe Orbital ===== */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-ecosystem {
  position: relative;
  width: 560px;
  height: 560px;
}

/* Globe center */
.globe-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  z-index: 3;
}
.globe-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(96, 165, 250, 0.3));
  animation: globeFloat 6s ease-in-out infinite;
}

/* Orbital rings */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.orbit-ring.ring-1 {
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
}
.orbit-ring.ring-2 {
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
}

/* Connector lines SVG */
.orbit-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ===== Orbital Cards ===== */
.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  z-index: 5;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: #fff;
  min-width: 190px;
}
.orbit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.orbit-card:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255,255,255,0.08);
  color: #fff;
}
.orbit-card:hover::before {
  opacity: 1;
}

/* Card icon */
.orbit-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.orbit-card-icon.pago          { background: linear-gradient(135deg, #10b981, #059669); }
.orbit-card-icon.factura       { background: linear-gradient(135deg, #f59e0b, #d97706); }
.orbit-card-icon.despacho      { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.orbit-card-icon.inteligencia  { background: linear-gradient(135deg, #ec4899, #db2777); }

/* Card text */
.orbit-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.orbit-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.orbit-card-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

/* Positions — floating around the globe */
.card-pos-tl {
  top: 20px;
  left: -10px;
  animation: orbitFloat1 5s ease-in-out infinite;
}
.card-pos-tr {
  top: 30px;
  right: -10px;
  animation: orbitFloat2 5.5s ease-in-out 0.3s infinite;
}
.card-pos-bl {
  bottom: 50px;
  left: -20px;
  animation: orbitFloat3 5.2s ease-in-out 0.6s infinite;
}
.card-pos-br {
  bottom: 40px;
  right: -20px;
  animation: orbitFloat4 4.8s ease-in-out 0.9s infinite;
}

/* ===== Globe & orbit animations ===== */
@keyframes globeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes orbitFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(6px, -10px); }
}
@keyframes orbitFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, -12px); }
}
@keyframes orbitFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, 10px); }
}
@keyframes orbitFloat4 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-8px, 8px); }
}

/* ===== Partners Section (bottom, like "Aceptamos:" in reference) ===== */
.partners-section {
  margin-top: 48px;
  padding-bottom: 24px;
  text-align: center;
}
.partners-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.partners-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}
.partners-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
  padding: 4px 8px;
  border-radius: 6px;
}
.partner-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.partner-sep {
  color: rgba(255,255,255,0.25);
  font-size: 1.1rem;
}
.partners-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== Particles ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 1;
}

/* ===== Services Detail Section ===== */
.services-detail {
  position: relative;
  background: linear-gradient(180deg, #2457e5 0%, #1e3a8a 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.services-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
}

.services-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: 56px;
}
.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.services-badge i {
  color: #60a5fa;
}
.services-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.services-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Service Card (simplified — no inline detail) */
.service-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.service-card:nth-child(1) { transition-delay: 0.05s; }
.service-card:nth-child(2) { transition-delay: 0.15s; }
.service-card:nth-child(3) { transition-delay: 0.25s; }
.service-card:nth-child(4) { transition-delay: 0.35s; }

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.service-icon-lg.pago          { background: linear-gradient(135deg, #10b981, #059669); }
.service-icon-lg.factura       { background: linear-gradient(135deg, #f59e0b, #d97706); }
.service-icon-lg.despacho      { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.service-icon-lg.inteligencia  { background: linear-gradient(135deg, #ec4899, #db2777); }

.service-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.status-dot.green {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
}

.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.service-brief {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  flex: 1;
}

/* ===== Service Hub Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 50, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(20, 40, 100, 0.97) 0%, rgba(10, 25, 70, 0.98) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.05);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}
.modal-panel::-webkit-scrollbar { width: 4px; }
.modal-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}
.modal-close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Modal content */
.modal-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.modal-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.modal-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.modal-url {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.modal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.modal-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.modal-feature i {
  color: #34d399;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 4px;
  text-decoration: none;
}
.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #fff;
}
.modal-cta i { transition: transform 0.25s ease; }
.modal-cta:hover i { transform: translateX(4px); }

/* Service card as direct link */
.service-link {
  text-decoration: none;
  color: inherit;
}
.service-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
  transition: all 0.3s ease;
}
.service-go i { transition: transform 0.25s ease; }
.service-link:hover .service-go {
  color: #fff;
}
.service-link:hover .service-go i {
  transform: translateX(4px);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
  animation: fadeInUp 0.6s ease-out 1.2s both;
}
.scroll-indicator-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.scroll-indicator-link:hover {
  color: rgba(255,255,255,0.9);
}
.scroll-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: bounceArrow 2s ease-in-out infinite;
}
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* Color utility backgrounds */
.pago-bg          { background: linear-gradient(135deg, #10b981, #059669); }
.factura-bg       { background: linear-gradient(135deg, #f59e0b, #d97706); }
.despacho-bg      { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.inteligencia-bg  { background: linear-gradient(135deg, #ec4899, #db2777); }

body.modal-open { overflow: hidden; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  50%      { transform: translate(10px, -25px); opacity: 0.6; }
}

.hero-left  { animation: fadeInLeft 0.75s ease-out both; }
.hero-right { animation: fadeInRight 0.75s ease-out 0.15s both; }

.hero-badge   { animation: fadeInUp 0.6s ease-out 0.1s both; }
.hero-title   { animation: fadeInUp 0.6s ease-out 0.2s both; }
.hero-subtitle{ animation: fadeInUp 0.6s ease-out 0.3s both; }
.hero-buttons { animation: fadeInUp 0.6s ease-out 0.35s both; }
.hero-stats   { animation: fadeInUp 0.6s ease-out 0.4s both; }
.hero-trust   { animation: fadeInUp 0.6s ease-out 0.45s both; }

.eco-card:nth-child(1) { animation: fadeInUp 0.5s ease-out 0.3s both; }
.eco-card:nth-child(2) { animation: fadeInUp 0.5s ease-out 0.42s both; }
.eco-card:nth-child(3) { animation: fadeInUp 0.5s ease-out 0.54s both; }
.eco-card:nth-child(4) { animation: fadeInUp 0.5s ease-out 0.66s both; }

.orbit-card.card-pos-tl { animation: fadeInUp 0.5s ease-out 0.3s both, orbitFloat1 5s ease-in-out 1.2s infinite; }
.orbit-card.card-pos-tr { animation: fadeInUp 0.5s ease-out 0.42s both, orbitFloat2 5.5s ease-in-out 1.35s infinite; }
.orbit-card.card-pos-bl { animation: fadeInUp 0.5s ease-out 0.54s both, orbitFloat3 5.2s ease-in-out 1.5s infinite; }
.orbit-card.card-pos-br { animation: fadeInUp 0.5s ease-out 0.66s both, orbitFloat4 4.8s ease-in-out 1.6s infinite; }
.globe-img { animation: fadeInUp 0.6s ease-out 0.15s both, globeFloat 6s ease-in-out 1s infinite; }

.partners-section { animation: fadeInUp 0.6s ease-out 0.8s both; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-left {
    align-items: center;
  }
  .hero-badge { margin: 0 auto; }
  .hero-subtitle { max-width: 560px; margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-trust { justify-content: center; }
  .cards-wrapper { max-width: 440px; margin: 0 auto; }
  .globe-ecosystem { width: 420px; height: 420px; margin: 0 auto; }
  .globe-center { width: 190px; height: 190px; }
  .orbit-ring.ring-1 { width: 260px; height: 260px; }
  .orbit-ring.ring-2 { width: 370px; height: 370px; }
  .orbit-card { min-width: 160px; padding: 10px 14px; }
  .orbit-card-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.95rem; }
  .orbit-card-name { font-size: 0.8rem; }
  .orbit-card-desc { font-size: 0.65rem; }
  .card-pos-tl { top: 10px; left: 0; }
  .card-pos-tr { top: 15px; right: 0; }
  .card-pos-bl { bottom: 30px; left: 0; }
  .card-pos-br { bottom: 25px; right: 0; }
  .orbit-connectors { display: none; }
  .hero-title { font-size: 2.3rem; }
  .floating-badge.badge-2 { left: -10px; }
  /* services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .hero-container { padding: 24px 16px 0; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .eco-card { padding: 22px 18px; }
  .globe-ecosystem {
    width: 100%;
    max-width: 360px;
    height: 380px;
    margin: 0 auto;
    position: relative;
  }
  .globe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
  }
  .orbit-ring { display: none; }
  .orbit-connectors { display: none; }
  .orbit-card {
    min-width: auto;
    max-width: 140px;
    padding: 7px 9px;
    gap: 6px;
    border-radius: 10px;
  }
  .orbit-card-icon { width: 28px; height: 28px; min-width: 28px; font-size: 0.75rem; border-radius: 8px; }
  .orbit-card-name { font-size: 0.68rem; }
  .orbit-card-desc { font-size: 0.52rem; }
  .card-pos-tl { top: 0; left: 5px; right: auto; bottom: auto; }
  .card-pos-tr { top: 0; right: 5px; left: auto; bottom: auto; }
  .card-pos-bl { bottom: 0; left: 5px; top: auto; right: auto; }
  .card-pos-br { bottom: 0; right: 5px; top: auto; left: auto; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-item { padding: 8px 18px; }
  .stat-value { font-size: 1.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .partners-links { flex-wrap: wrap; justify-content: center; }
  /* services */
  .services-detail { padding: 48px 0 60px; }
  .services-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .services-title { font-size: 1.5rem; }
  .services-subtitle { font-size: 0.88rem; }
  .services-header { margin-bottom: 36px; }
  /* modal responsive */
  .modal-panel { padding: 28px 20px; border-radius: 18px; max-height: 90vh; }
  .hub-option { padding: 12px 14px; }
  .hub-option-icon { width: 38px; height: 38px; font-size: 0.95rem; }
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #1e3a8a 0%, #0f2260 100%);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.footer-copy {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.footer-copy strong {
  color: #fff;
  font-weight: 700;
}
.footer-dev {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-brouter {
  color: #3b9dff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-brouter:hover {
  color: #60b4ff;
}
.footer-dot {
  color: #3b9dff;
}
