/* ST System — corrección visual Fase 1 */
:root { --nav-height: 86px; }

/* Cabecera oscura y legible */
.navbar,
.navbar.scrolled {
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.99), rgba(26, 8, 8, 0.98) 52%, rgba(8, 8, 9, 0.99));
  border-bottom: 1px solid rgba(239, 68, 68, 0.24);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}
.nav-container { max-width: 1440px; gap: 0.75rem; }
.logo-shell,
.footer-logo-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.logo-img { width: auto; height: 60px; filter: drop-shadow(0 7px 16px rgba(239, 68, 68, 0.3)); }
.footer-logo-img { filter: drop-shadow(0 7px 16px rgba(239, 68, 68, 0.28)); }
.nav-links { gap: 0.15rem; }
.nav-item {
  padding: 0.45rem 0.68rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.81rem;
}
.nav-item:hover,
.nav-item.active {
  color: #fff4bd;
  background: rgba(250, 204, 21, 0.11);
}
.nav-cta { padding: 0.62rem 1.08rem; white-space: nowrap; }
.language-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font: 700 0.75rem/1 var(--font-display);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.language-switcher:hover { background: rgba(250, 204, 21, 0.14); border-color: rgba(250, 204, 21, 0.65); }
.language-switcher img { width: 24px; height: 17px; object-fit: cover; }

/* Cabecera principal integrada, sin imágenes ni carrusel */
.business-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: var(--nav-height) 0 0;
  color: #fff;
  background: #07090b;
  border-top: 2px solid #ef4444;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.business-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
  align-items: center;
  width: min(100%, 1440px);
  min-height: 620px;
  margin: 0 auto;
  padding: 44px 64px 48px;
}
.hero-tech-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.tech-rail {
  position: absolute;
  display: block;
  height: 1px;
  background: rgba(239, 68, 68, 0.22);
  transform-origin: left center;
}
.tech-rail-one { top: 18%; left: -4%; width: 39%; transform: rotate(-8deg); }
.tech-rail-two { right: -5%; bottom: 16%; width: 43%; transform: rotate(7deg); }
.tech-rail-three { top: 48%; left: 40%; width: 68%; background: rgba(250, 204, 21, 0.1); transform: rotate(-20deg); }
.tech-marker {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  background: #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.75);
  animation: techMarker 5s ease-in-out infinite;
}
.tech-marker-one { top: 17%; left: 17%; }
.tech-marker-two { right: 13%; bottom: 18%; animation-delay: -1.8s; }
.tech-marker-three { top: 45%; right: 35%; width: 6px; height: 6px; background: #facc15; animation-delay: -3.2s; }
.business-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding-right: 54px;
  text-align: left;
}
.business-hero-copy > * {
  opacity: 0;
  animation: heroCopyIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.business-hero-copy > :nth-child(1) { animation-delay: 0.08s; }
.business-hero-copy > :nth-child(2) { animation-delay: 0.17s; }
.business-hero-copy > :nth-child(3) { animation-delay: 0.27s; }
.business-hero-copy > :nth-child(4) { animation-delay: 0.37s; }
.business-hero-copy > :nth-child(5) { animation-delay: 0.47s; }
.business-hero-eyebrow {
  align-self: flex-start;
  margin-bottom: 1.15rem;
  padding: 0.6rem 0.8rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: 800 0.73rem/1.15 var(--font-display);
}
.business-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font: 900 4.25rem/1.02 var(--font-display);
}
.business-hero h1 span { color: #facc15; }
.business-hero-copy > p {
  max-width: 690px;
  margin: 1.2rem 0 1.65rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.65;
}
.business-hero-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.business-hero-primary,
.business-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.87rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.business-hero-primary {
  gap: 0.55rem;
  color: #17120a;
  background: #facc15;
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.16);
}
.business-hero-secondary { color: #fff; background: rgba(8, 10, 12, 0.62); border: 1px solid rgba(255, 255, 255, 0.24); }
.business-hero-primary:hover,
.business-hero-secondary:hover { transform: translateY(-3px); }
.business-hero-primary:hover { background: #ffe25f; box-shadow: 0 16px 34px rgba(250, 204, 21, 0.24); }
.business-hero-secondary:hover { border-color: #facc15; background: rgba(250, 204, 21, 0.08); }
.business-hero-primary i { transition: transform 0.2s ease; }
.business-hero-primary:hover i { transform: translateX(4px); }
.business-hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 700;
}
.business-hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.business-hero-trust i { color: #22c55e; }
.systems-visual {
  position: relative;
  min-width: 0;
  padding: 18px 0 12px 34px;
  text-align: left;
  opacity: 0;
  animation: heroVisualIn 0.9s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.systems-visual-head,
.systems-visual-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.systems-visual-head { margin-bottom: 0.35rem; padding: 0 6px; }
.systems-visual-head div { display: grid; gap: 0.25rem; }
.systems-visual-head small { color: #ef4444; font: 800 0.67rem/1 var(--font-display); }
.systems-visual-head strong { color: #fff; font: 800 1.22rem/1.2 var(--font-display); }
.systems-visual-head > span,
.systems-visual-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #facc15;
  font-size: 0.69rem;
  font-weight: 800;
}
.systems-visual-head > span i,
.systems-visual-status span i {
  width: 7px;
  height: 7px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.8);
  animation: statusPulse 1.7s ease-in-out infinite;
}
.systems-network {
  position: relative;
  min-height: 405px;
}
.network-ring {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  display: block;
  border: 1px solid rgba(239, 68, 68, 0.14);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: networkRotate 24s linear infinite;
}
.network-ring-one { width: 224px; height: 224px; }
.network-ring-two { width: 322px; height: 322px; border-color: rgba(250, 204, 21, 0.08); animation-direction: reverse; animation-duration: 34s; }
.network-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: 37%;
  height: 1px;
  background: rgba(239, 68, 68, 0.38);
  transform-origin: left center;
}
.network-line::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 3px;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.62);
  animation: dataFlow 2.4s linear infinite;
}
.network-line-1 { transform: rotate(-150deg); }
.network-line-2 { transform: rotate(-30deg); }
.network-line-3 { transform: rotate(150deg); }
.network-line-4 { transform: rotate(30deg); }
.network-line-2::after { animation-delay: -0.6s; }
.network-line-3::after { animation-delay: -1.2s; }
.network-line-4::after { animation-delay: -1.8s; }
.systems-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  place-content: center;
  width: 112px;
  height: 112px;
  color: #fff;
  background: #0d1013;
  border: 1px solid rgba(239, 68, 68, 0.72);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.04), 0 18px 46px rgba(0, 0, 0, 0.45);
  animation: corePulse 3s ease-in-out infinite;
}
.systems-core > * { transform: rotate(-45deg); text-align: center; }
.systems-core span { color: #ef4444; font: 900 1.3rem/1 var(--font-display); }
.systems-core strong { margin-top: 0.18rem; color: #fff; font: 800 0.8rem/1 var(--font-display); }
.systems-core small { margin-top: 0.3rem; color: #22c55e; font-size: 0.52rem; font-weight: 900; }
.system-module {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  width: 42%;
  min-height: 78px;
  padding: 0.72rem 0.78rem;
  color: #fff;
  background: rgba(12, 15, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  animation: moduleFloat 4.2s ease-in-out infinite;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.system-module:hover { background: #12161a; border-color: rgba(250, 204, 21, 0.5); animation-play-state: paused; }
.system-module > i { grid-row: 1 / span 2; color: #facc15; font-size: 1rem; text-align: center; }
.system-module span { min-width: 0; font-size: 0.76rem; font-weight: 800; line-height: 1.25; }
.system-module b { margin-top: 0.2rem; color: #22c55e; font-size: 0.52rem; }
.system-module-1 { top: 25px; left: 0; }
.system-module-2 { top: 25px; right: 0; animation-delay: -1.1s; }
.system-module-3 { right: 0; bottom: 25px; animation-delay: -2.2s; }
.system-module-4 { bottom: 25px; left: 0; animation-delay: -3.3s; }
.systems-visual-status {
  min-height: 36px;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.systems-visual-status span { color: rgba(255, 255, 255, 0.63); font-weight: 700; }
.systems-visual-status b { color: #22c55e; font-size: 0.72rem; }

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroVisualIn {
  from { opacity: 0; transform: translateX(38px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes techMarker {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-12px); }
}
@keyframes statusPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.78); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes networkRotate {
  from { transform: translate(-50%, -50%) rotate(45deg); }
  to { transform: translate(-50%, -50%) rotate(405deg); }
}
@keyframes dataFlow {
  from { transform: translateX(0); opacity: 0; }
  15%, 85% { opacity: 1; }
  to { transform: translateX(180px); opacity: 0; }
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.04), 0 18px 46px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 0 0 18px rgba(239, 68, 68, 0.08), 0 20px 52px rgba(0, 0, 0, 0.52); }
}
@keyframes moduleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Ritmo general más compacto */
.services,
.products-top,
.solution-form-section,
.store-cta,
.about,
.coverage,
.contact { padding: 4.25rem 0; }
.custom-cta { padding: 3.75rem 0; }
.section-header { margin-bottom: 2.15rem; }
.section-header h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-header p { max-width: 680px; margin-inline: auto; }

/* Servicios compactos */
.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  min-height: 0;
  padding: 1.2rem;
  border-radius: 18px;
}
.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  font-size: 1.05rem;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-card h3 { margin-bottom: 0.5rem; font-size: 0.96rem; line-height: 1.25; }
.service-card p { font-size: 0.8rem; line-height: 1.48; }
.service-link { margin-top: 0.75rem; font-size: 0.8rem; }

/* Resto de tarjetas y bloques */
.product-card,
.diff-card,
.coverage-card,
.contact-card { padding: 1.45rem; border-radius: 20px; }
.product-card h3 { font-size: 1.15rem; }
.product-card p,
.product-features span,
.diff-card p,
.coverage-card p,
.contact-card p { font-size: 0.86rem; line-height: 1.5; }
.products-grid,
.coverage-grid,
.contact-grid { gap: 1.15rem; }
.cta-content { padding-block: 0.5rem; }
.solution-form,
.diagnosis-summary { padding: 1.5rem; }
.footer { padding-top: 3.5rem; }
.footer-grid { gap: 2rem; }

.section-feature-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.store-feature-image { max-width: 620px; margin-inline: auto; }
.about-feature-image { max-width: 590px; margin-inline: auto; }

@media (max-width: 1100px) {
  .business-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr); padding-inline: 40px; }
  .business-hero-copy { padding-right: 32px; }
  .business-hero h1 { font-size: 3.55rem; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-item { padding-inline: 0.5rem; font-size: 0.75rem; }
  .logo-img { height: 54px; }
  .language-switcher { margin-left: auto; }
}

@media (max-width: 980px) {
  .business-hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 58px 32px 38px; }
  .business-hero-copy { max-width: 760px; padding-right: 0; }
  .systems-visual { width: min(100%, 720px); margin: 42px auto 0; padding-left: 0; }
  .systems-network { min-height: 390px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  body { text-align: center; }
  .navbar,
  .navbar.scrolled { background: rgba(6, 6, 7, 0.99); }
  .logo-img { height: 47px; }
  .nav-links {
    background: rgba(7, 7, 8, 0.99);
    border-top-color: rgba(239, 68, 68, 0.25);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.3rem;
  }
  .nav-item,
  .nav-cta { width: 100%; justify-content: center; }
  .nav-item { padding: 0.7rem; font-size: 0.88rem; }
  .hamburger span { background: #facc15; }
  .business-hero { width: 100%; margin-top: var(--nav-height); }
  .business-hero-grid { padding: 44px 20px 30px; }
  .business-hero-copy { padding: 0; text-align: left; }
  .business-hero h1 { font-size: 2.75rem; }
  .business-hero-copy > p { margin: 1rem 0 1.3rem; font-size: 0.9rem; }
  .business-hero-actions { align-items: stretch; }
  .business-hero-primary,
  .business-hero-secondary { width: 100%; }
  .business-hero-trust { flex-wrap: wrap; gap: 0.7rem 1rem; }
  .systems-visual { margin-top: 36px; }
  .systems-network { min-height: 365px; }
  .systems-visual-head { align-items: flex-start; }
  .system-module { width: 43%; }
  .network-ring-two { width: 286px; height: 286px; }
  .services,
  .products-top,
  .solution-form-section,
  .store-cta,
  .about,
  .coverage,
  .contact { padding: 2.65rem 0; }
  .custom-cta { padding: 2.4rem 0; }
  .section-header { margin-bottom: 1.45rem; }
  .section-header h2 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .section-header p { font-size: 0.88rem; line-height: 1.5; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .service-card {
    width: 100%;
    padding: 0.85rem;
    border-radius: 15px;
    text-align: center;
    margin-inline: auto;
  }
  .service-icon { width: 36px; height: 36px; margin: 0 auto 0.55rem; font-size: 0.88rem; }
  .service-card h3 { font-size: 0.82rem; margin-bottom: 0.35rem; }
  .service-card p { font-size: 0.7rem; line-height: 1.35; }
  .service-link { justify-content: center; margin-top: 0.5rem; font-size: 0.7rem; }
  .services-grid,
  .products-grid,
  .coverage-grid,
  .contact-grid,
  .footer-grid { justify-items: center; }
  .product-card,
  .diff-card,
  .coverage-card,
  .contact-card { width: 100%; padding: 1.05rem; text-align: center; margin-inline: auto; }
  .product-features span,
  .footer-contact-item { justify-content: center; }
  .slide-actions,
  .store-country-preview,
  .footer-social { justify-content: center; }
  .solution-form,
  .diagnosis-summary { padding: 1rem; }
  .footer-brand,
  .footer-links,
  .footer-contact { text-align: center; margin-inline: auto; }
}

@media (max-width: 480px) {
  .container { padding-inline: 14px; }
  .business-hero-grid { padding: 38px 14px 24px; }
  .business-hero-eyebrow { font-size: 0.65rem; }
  .business-hero h1 { font-size: 2.25rem; }
  .business-hero-copy > p { font-size: 0.86rem; line-height: 1.55; }
  .business-hero-trust { display: grid; grid-template-columns: 1fr; font-size: 0.7rem; }
  .systems-visual-head strong { font-size: 1rem; }
  .systems-visual-head > span { font-size: 0.58rem; }
  .systems-network { min-height: 340px; }
  .systems-core { width: 90px; height: 90px; }
  .network-ring-one { width: 182px; height: 182px; }
  .network-ring-two { width: 248px; height: 248px; }
  .network-line { width: 34%; }
  .system-module { width: 44%; min-height: 74px; grid-template-columns: 26px minmax(0, 1fr); padding: 0.58rem 0.5rem; }
  .system-module > i { font-size: 0.82rem; }
  .system-module span { font-size: 0.64rem; }
  .systems-visual-status { align-items: flex-start; }
  .systems-visual-status span { max-width: 75%; text-align: left; }
  .services-grid { grid-template-columns: 1fr; gap: 0.62rem; }
  .service-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 0.7rem;
    padding: 0.72rem 0.8rem;
    text-align: left;
  }
  .service-icon { grid-row: 1 / span 3; margin: 0; align-self: start; }
  .service-card h3 { margin: 0 0 0.22rem; }
  .service-card p { margin: 0; }
  .service-link { justify-content: flex-start; margin-top: 0.35rem; }
  .language-switcher { width: 40px; padding: 0; justify-content: center; }
  .language-switcher span { display: none; }
  .product-card,
  .diff-card,
  .coverage-card,
  .contact-card { padding: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .business-hero-copy > *,
  .systems-visual,
  .tech-marker,
  .systems-visual-head > span i,
  .systems-visual-status span i,
  .network-ring,
  .network-line::after,
  .systems-core,
  .system-module { animation: none !important; opacity: 1; }
}
