/* ============================================================================
   S-CORE - SISTEMA DE CONTROL DE REDES FTTH/GPON
   Hoja de Estilos Principal (Completo)
   ============================================================================ */

:root {
  --blue: #7226FF;
  --purple: #7226FF;
  --primary: #7226FF;
  --secondary: #716078;
  --light: #FFFFFF;
  --dark: #010030;
  --custom-main: #7226FF;
  --custom-accent: #716078;
  --custom-bg: #010030;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: var(--font-family-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #656565;
  text-align: left;
  background-color: #F3F3F3;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.display-3 { font-size: 4.5rem; font-weight: 700; line-height: 1.2; }
.display-4 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; }

.font-weight-bold { font-weight: 700 !important; }
.font-weight-bolder { font-weight: bolder !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-light { font-weight: 300 !important; }

p { margin-top: 0; margin-bottom: 1rem; }

abbr[title], abbr[data-original-title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}

address { margin-bottom: 1rem; font-style: normal; line-height: inherit; }
dt { font-weight: 700; }
dd { margin-bottom: .5rem; margin-left: 0; }
blockquote { margin: 0 0 1rem; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }

a {
  color: #3032b7;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.15s ease-in-out;
}

a:hover { color: #21207a; text-decoration: underline; }

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
  height: auto;
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container, .container-sm { max-width: 540px; }
}

@media (min-width: 768px) {
  .container, .container-sm, .container-md { max-width: 720px; }
}

@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1140px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-12, .col-sm-6, .col-md-4, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
  .col-md-4 { flex: 0 0 33.33333%; max-width: 33.33333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.33333%; max-width: 33.33333%; }
  .col-lg-5 { flex: 0 0 41.66667%; max-width: 41.66667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.33333%; max-width: 58.33333%; }
}

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }

@media (min-width: 992px) {
  .d-lg-block { display: block !important; }
}

.flex-column { flex-direction: column !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-lg-left { text-align: left !important; }
.text-white { color: #fff !important; }
.text-primary { color: var(--primary) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }
.text-dark { color: #212121 !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .text-lg-left { text-align: left !important; }
}

.m-0 { margin: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.ml-auto { margin-left: auto !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.mx-0 { margin-right: 0 !important; margin-left: 0 !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pl-3 { padding-left: 1rem !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

@media (min-width: 768px) {
  .mb-md-3 { margin-bottom: 1rem !important; }
  .mb-md-4 { margin-bottom: 1.5rem !important; }
  .py-md-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .px-md-5 { padding-right: 3rem !important; padding-left: 3rem !important; }
  .mt-md-2 { margin-top: 0.5rem !important; }
}

.bg-light { background-color: #FFFFFF !important; }
.bg-dark { background-color: #212121 !important; }
.bg-white { background-color: #fff !important; }

.btn {
  display: inline-block;
  font-weight: 400;
  color: #656565;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover { color: #656565; text-decoration: none; }

.btn-primary {
  color: #fff !important;
  background-color: #31087c !important;
  border-color: #31087c !important;
}

.btn-primary:hover {
  color: #fff !important;
  background-color: #22065a !important;
  border-color: #22065a !important;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.btn-square {
  width: 36px;
  height: 36px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.nav-bar { position: relative; z-index: 1030 !important; }

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.navbar .container, .navbar .container-fluid, .navbar .container-sm, .navbar .container-md, .navbar .container-lg, .navbar .container-xl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

.navbar-brand:hover, .navbar-brand:focus { text-decoration: none; }

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-nav .nav-link { padding-right: 0; padding-left: 0; }

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.navbar-toggler:hover, .navbar-toggler:focus { text-decoration: none; }

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid, .navbar-expand-lg > .container-sm, .navbar-expand-lg > .container-md, .navbar-expand-lg > .container-lg, .navbar-expand-lg > .container-xl {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: 0.5rem; padding-left: 0.5rem; }
  .navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid, .navbar-expand-lg > .container-sm, .navbar-expand-lg > .container-md, .navbar-expand-lg > .container-lg, .navbar-expand-lg > .container-xl { flex-wrap: nowrap; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
}

.navbar-light .navbar-brand { color: rgba(0, 0, 0, 0.9); }
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { color: rgba(0, 0, 0, 0.9); }
.navbar-light .navbar-nav .nav-link { color: #212121; }
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { color: var(--primary) !important; }
.navbar-light .navbar-nav .nav-link.disabled { color: rgba(0, 0, 0, 0.3); }
.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active { color: var(--primary) !important; }
.navbar-light .navbar-toggler { color: rgba(0, 0, 0, 0.5); border-color: rgba(0, 0, 0, 0.1); }
.navbar-light .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

.carousel { position: relative; }
.carousel.pointer-event { touch-action: pan-y; }
.carousel-inner { position: relative; width: 100%; overflow: hidden; }
.carousel-inner::after { display: block; clear: both; content: ""; }

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item { transition: none; }
}

.carousel-item.active, .carousel-item-next, .carousel-item-prev { display: block; }
.carousel-item-next:not(.carousel-item-left), .active.carousel-item-right { transform: translateX(100%); }
.carousel-item-prev:not(.carousel-item-right), .active.carousel-item-left { transform: translateX(-100%); }

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.carousel-fade .carousel-item.active, .carousel-fade .carousel-item-next.carousel-item-left, .carousel-fade .carousel-item-prev.carousel-item-right { z-index: 1; opacity: 1; }
.carousel-fade .active.carousel-item-left, .carousel-fade .active.carousel-item-right { z-index: 0; opacity: 0; transition: opacity 0s 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-left, .carousel-fade .active.carousel-item-right { transition: none; }
}

.carousel-control-prev, .carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev, .carousel-control-next { transition: none; }
}

.carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus { color: #fff; text-decoration: none; outline: 0; opacity: 0.9; }
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-control-prev-icon, .carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg ' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e"); }
.carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg ' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e"); }

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicators li { transition: none; }
}

.carousel-indicators .active { opacity: 1; }

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 20px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

/* ============================================================================
   COMPONENTES PERSONALIZADOS S-CORE
   ============================================================================ */

.destination-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.destination-overlay {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: .5s;
  z-index: 1;
}

.destination-item:hover .destination-overlay {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  border-width: 30px;
}

.team-item {
  transition: .5s;
  background-color: #fff;
  margin-bottom: 1.5rem;
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background-color: #f0f0f0;
}

.team-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-img-container.portrait { padding-top: 125%; }

.team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .5s;
  opacity: 0;
}

.team-social a.btn {
  position: relative;
  margin: 0 3px;
  margin-top: 100px;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-item:hover { box-shadow: 0 0 30px #CCCCCC; }
.team-item:hover .team-social { background: rgba(0, 0, 0, 0.5); opacity: 1; }
.team-item:hover .team-social a.btn:first-child { opacity: 1; margin-top: 0; transition: .3s 0s; }
.team-item:hover .team-social a.btn:nth-child(2) { opacity: 1; margin-top: 0; transition: .3s .05s; }
.team-item:hover .team-social a.btn:nth-child(3) { opacity: 1; margin-top: 0; transition: .3s .1s; }
.team-item:hover .team-img img { transform: scale(1.2); }

.position-relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }
.w-100 { width: 100% !important; }

.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }
.gap-3 { gap: 1rem; }

.footer-black { background-color: #000000 !important; border: none !important; }
.footer-tight-bottom { margin-top: 90px; padding-bottom: 0 !important; }
.footer-copyright { padding-bottom: 0; }

.footer-logo-cantv {
  max-height: 80px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo-cantv:hover { opacity: 1; }

.cintillo-ministerial {
  width: 100%;
  background-color: #f8f9fa;
  border-top: 3px solid #7c4dff;
}

.cintillo-ministerial .container-fluid { padding-left: 0; padding-right: 0; }

.cintillo-img {
  width: 100%;
  max-width: 40%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  display: block;
  margin-left: 20px;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top.show { display: block; opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

#btnBackToTop {
  position: fixed;
  display: none;
  width: 46px;
  height: 46px;
  right: 30px;
  bottom: 30px;
  z-index: 9999;
  cursor: pointer;
  border: none;
  border-radius: 0;
  background-color: #31087c;
  color: white;
  text-align: center;
  line-height: 46px;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#btnBackToTop.show { display: block; opacity: 1; visibility: visible; }
#btnBackToTop:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); background-color: #22065a; }
#btnBackToTop i { font-size: 20px; line-height: 46px; }

/* ============================================================================
   SECCIÓN ECOSISTEMA MODULAR - IMÁGENES FLOTANTES (COMPACTO)
   ============================================================================ */

.ecosistema-section {
  position: relative;
  overflow: hidden;
  background: #0a0a1a;
  margin-top: 60px;
}

.ecosistema-wrapper {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.ecosistema-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(114, 38, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(49, 8, 124, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(114, 38, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.ecosistema-content { position: relative; z-index: 2; }

.ecosistema-text-col { padding-right: 30px; }
.ecosistema-text-wrapper { max-width: 480px; }

.ecosistema-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(114, 38, 255, 0.15);
  border: 1px solid rgba(114, 38, 255, 0.3);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.ecosistema-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #7226FF 0%, #a78bfa 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ecosistema-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.ecosistema-description strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

.ecosistema-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(114, 38, 255, 0.2);
  transform: translateX(4px);
}

.feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--icon-color);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--icon-color);
  color: #fff;
  box-shadow: 0 0 15px var(--icon-color);
}

.feature-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  margin-top: 0;
}

.feature-info p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
}

.btn-ecosistema {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7226FF 0%, #31087c 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(114, 38, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-ecosistema::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-ecosistema:hover::before { left: 100%; }
.btn-ecosistema:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(114, 38, 255, 0.4); text-decoration: none; color: #fff !important; }
.btn-ecosistema i { transition: transform 0.3s ease; }
.btn-ecosistema:hover i { transform: translateX(4px); }

/* ============================================================================
   COLUMNA VISUAL - IMÁGENES FLOTANTES (MÁS COMPACTAS)
   ============================================================================ */

.ecosistema-visual-col {
  position: relative;
  min-height: 420px;
}

.ecosistema-visual-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
}

.visual-card {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: floatCard 6s ease-in-out infinite;
  cursor: pointer;
  background: #151528;
  border: 1px solid rgba(114, 38, 255, 0.15);
}

.visual-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 
    0 25px 50px -10px rgba(114, 38, 255, 0.3),
    0 0 0 1px rgba(114, 38, 255, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
  z-index: 100 !important;
  border-color: rgba(114, 38, 255, 0.3);
}

.visual-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.visual-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10,10,26,0) 60%, rgba(10,10,26,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
  display: block;
}

.visual-card:hover img { transform: scale(1.08); }

.visual-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.visual-card:hover .visual-card-overlay { opacity: 1; }

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dashboard-badge { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.map-badge { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.inventory-badge { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.reports-badge { background: rgba(139, 92, 246, 0.2); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }

.visual-card-main {
  width: 54%;
  height: 46%;
  top: 2%;
  left: 2%;
  z-index: 10;
  animation-delay: 0s;
  transform: rotateY(-5deg) rotateX(2deg);
}

.visual-card-map {
  width: 40%;
  height: 34%;
  top: 3%;
  right: 0%;
  z-index: 20;
  animation-delay: -1.5s;
  transform: rotateY(5deg) rotateX(-2deg);
}

.visual-card-inventory {
  width: 48%;
  height: 36%;
  bottom: 4%;
  left: 3%;
  z-index: 15;
  animation-delay: -3s;
  transform: rotateY(-3deg) rotateX(3deg);
}

.visual-card-reports {
  width: 44%;
  height: 34%;
  bottom: 2%;
  right: 1%;
  z-index: 25;
  animation-delay: -4.5s;
  transform: rotateY(4deg) rotateX(-1deg);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
  50% { transform: translateY(-12px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
}

.visual-card-main { --ry: -5deg; --rx: 2deg; }
.visual-card-map { --ry: 5deg; --rx: -2deg; }
.visual-card-inventory { --ry: -3deg; --rx: 3deg; }
.visual-card-reports { --ry: 4deg; --rx: -1deg; }

.visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

.visual-glow-1 {
  width: 200px;
  height: 200px;
  background: #7226FF;
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.visual-glow-2 {
  width: 150px;
  height: 150px;
  background: #3b82f6;
  top: 60%;
  right: 20%;
  animation-delay: -1.3s;
}

.visual-glow-3 {
  width: 180px;
  height: 180px;
  background: #10b981;
  bottom: 10%;
  left: 20%;
  animation-delay: -2.6s;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.2); }
}

/* ============================================================================
   RESPONSIVE ECOSISTEMA
   ============================================================================ */

@media (max-width: 991px) {
  .ecosistema-section { margin-top: 40px; }
  .ecosistema-wrapper { padding: 30px 0; min-height: auto; }
  .ecosistema-text-col { padding-right: 15px; margin-bottom: 30px; }
  .ecosistema-title { font-size: 1.8rem; }
  .ecosistema-visual-col { min-height: 350px; }
  .ecosistema-visual-wrapper { height: 350px; }
  .visual-card-main { width: 60%; height: 40%; }
  .visual-card-map { width: 44%; height: 32%; }
  .visual-card-inventory { width: 50%; height: 34%; }
  .visual-card-reports { width: 48%; height: 32%; }
}

@media (max-width: 576px) {
  .ecosistema-section { margin-top: 30px; }
  .ecosistema-wrapper { padding: 24px 0; }
  .ecosistema-title { font-size: 1.5rem; }
  .ecosistema-description { font-size: 0.85rem; }
  .ecosistema-visual-col { min-height: 280px; }
  .ecosistema-visual-wrapper { height: 280px; }
  .visual-card-main { width: 66%; height: 38%; top: 5%; left: 2%; }
  .visual-card-map { width: 48%; height: 28%; top: 2%; right: 0%; }
  .visual-card-inventory { width: 54%; height: 30%; bottom: 5%; left: 1%; }
  .visual-card-reports { width: 52%; height: 28%; bottom: 3%; right: 0%; }
  .feature-item { padding: 8px 10px; }
  .feature-icon { width: 28px; height: 28px; min-width: 28px; font-size: 0.8rem; }
  .feature-info h5 { font-size: 0.8rem; }
  .feature-info p { font-size: 0.7rem; }
  .btn-ecosistema { padding: 10px 20px; font-size: 0.85rem; }
}

/* ============================================================================
   RESPONSIVE GENERAL
   ============================================================================ */

@media (max-width: 576px) {
  .carousel-caption h4 { font-size: 18px; }
  .carousel-caption h1 { font-size: 30px; }
  .display-3 { font-size: 2.5rem; }
  .cintillo-img { max-width: 200px; margin-left: 10px; }
  .footer-logo-cantv { max-height: 40px; }
}

@media (max-width: 768px) {
  .footer-cintillo { max-width: 200px; margin-top: 10px; }
}

@media (min-width: 992px) {
  #header-carousel { margin-top: -42px; }
}

@media (max-width: 1200px) {
  h1 { font-size: calc(1.375rem + 1.5vw); }
  h2 { font-size: calc(1.325rem + 0.9vw); }
  .display-3 { font-size: calc(2rem + 1.5vw); }
}

/* ============================================================================
   ACCESIBILIDAD
   ============================================================================ */

a:focus-visible, button:focus-visible {
  outline: 3px solid #7c4dff;
  outline-offset: 2px;
}

.text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }

#btnBackToTop:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .team-item:hover .team-img img { transform: none; }
  .destination-item:hover .destination-overlay { transition: none; }
}

/* ============================================================================
   LOGO CANTV 3D
   ============================================================================ */

.footer-logo-3d-wrapper {
  position: relative;
  display: inline-block;
  width: 220px;
  height: 130px;
  transform-style: preserve-3d;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transition: transform 0.15s ease-out;
}

.footer-logo-3d-wrapper:active { cursor: grabbing; }
.footer-logo-3d-wrapper.dragging { transition: none !important; }

.footer-logo-3d-wrapper::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.footer-logo-3d-wrapper:hover::after {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.footer-logo-cantv-animado {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 35px rgba(0,0,0,0.9)) brightness(1.1);
  transform-style: preserve-3d;
  backface-visibility: visible;
  pointer-events: none;
  transition: filter 0.2s ease;
}

@keyframes flotarFooter {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.footer-logo-cantv-animado.flotando-footer { animation: flotarFooter 3s ease-in-out infinite; }

@keyframes estrellaFooter3D {
  0% { transform: rotateY(0deg) rotateX(0deg) scale(1); filter: drop-shadow(0 12px 35px rgba(0,0,0,0.9)) brightness(1.1); }
  10% { transform: rotateY(90deg) rotateX(10deg) scale(1.1); filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.8)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.5)) brightness(1.4); }
  20% { transform: rotateY(180deg) rotateX(20deg) scale(1.2); filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.9)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.6)) brightness(1.6); }
  30% { transform: rotateY(270deg) rotateX(10deg) scale(1.1); filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 60px rgba(37, 99, 235, 0.5)) brightness(1.4); }
  40% { transform: rotateY(360deg) rotateX(0deg) scale(1); filter: drop-shadow(0 12px 35px rgba(0,0,0,0.9)) brightness(1.1); }
  50% { transform: rotateY(450deg) rotateX(-10deg) scale(1.1); filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.8)) drop-shadow(0 0 60px rgba(37, 99, 235, 0.5)) brightness(1.4); }
  60% { transform: rotateY(540deg) rotateX(-20deg) scale(1.2); filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.9)) drop-shadow(0 0 80px rgba(124, 58, 237, 0.6)) brightness(1.6); }
  70% { transform: rotateY(630deg) rotateX(-10deg) scale(1.1); filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.8)) brightness(1.4); }
  80% { transform: rotateY(720deg) rotateX(0deg) scale(1); filter: drop-shadow(0 12px 35px rgba(0,0,0,0.9)) brightness(1.1); }
  90% { transform: rotateY(810deg) rotateX(8deg) scale(1.05); filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.5)) brightness(1.2); }
  100% { transform: rotateY(1080deg) rotateX(0deg) scale(1); filter: drop-shadow(0 12px 35px rgba(0,0,0,0.9)) brightness(1.1); }
}

.footer-logo-cantv-animado.giro-estrella-footer { animation: estrellaFooter3D 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }

@media (max-width: 768px) {
  .footer-logo-3d-wrapper { width: 160px; height: 95px; }
}

/* ============================================================================
   FIN
   ============================================================================ */

/* ============================================================================
   FIXES PARA MENÚ MÓVIL Y ERRORES
   ============================================================================ */

/* Fix: Menú hamburguesa en móvil - mostrar links correctamente */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 15px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .navbar-nav {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #212121 !important;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(114, 38, 255, 0.05);
    color: var(--primary) !important;
    padding-left: 20px !important;
  }

  /* Asegurar que el navbar-toggler sea visible y funcional */
  .navbar-toggler {
    display: block !important;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(114, 38, 255, 0.25);
  }

  .navbar-toggler:hover {
    background: rgba(114, 38, 255, 0.05);
  }
}

/* Fix: Asegurar que navbar-expand-lg funcione correctamente */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none !important;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 0;
  }
}

/* Fix: Animación suave para el menú colapsado */
.navbar-collapse.collapsing {
  transition: height 0.35s ease;
}

.navbar-collapse.show {
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fix: Asegurar que el logo no empuje el toggler fuera de pantalla */
.logo-score-navbar {
  max-width: calc(100% - 60px);
  overflow: hidden;
}