/* ===================================================
   BINARIES SOLUTIONS - PALETA DE COLORES (LogoBS.svg)
   =================================================== */

:root {
  /* Extraídos de LogoBS.svg */
  --bs-teal: #2A9D8F;       /* Círculo 1 - Documento */
  --bs-teal-dark: #1E6B60;
  --bs-orange: #E76F51;     /* Círculo 2 - Idea */
  --bs-yellow: #F4A261;     /* Círculo 3 - Cursor */
  --bs-green: #8AB17D;      /* Círculo 4 - Soporte */
  --bs-blue: #3A86FF;       /* Texto Principal */
  --bs-blue-dark: #1D53B7;
  
  /* Fondos y Neutros */
  --bs-dark-bg: #111827;
  --bs-light-bg: #F8FAFC;
  --bs-text-main: #334155;
  --bs-text-muted: #64748B;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--bs-text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* ===================================================
   NAVBAR & NAVEGACIÓN
   =================================================== */
#mainNav {
  padding: 0.8rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--bs-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

#mainNav .logo-img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

#mainNav .nav-link {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.25s ease;
}

/* Colores de menú basados en el logo */
.nav-link-acerca { color: var(--bs-teal) !important; }
.nav-link-servicios { color: var(--bs-blue) !important; }
.nav-link-clientes { color: var(--bs-orange) !important; }
.nav-link-contacto { color: var(--bs-green) !important; }

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  background-color: var(--bs-blue);
  color: #ffffff !important;
}

/* ===================================================
   HERO / CARROUSEL
   =================================================== */
.masthead {
  padding-top: 75px;
}

.carousel-bg {
  height: calc(85vh - 75px);
  min-height: 450px;
  object-fit: cover;
  filter: brightness(0.65);
}

.carousel-caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Badges de Colores */
.bg-badge-teal { background-color: var(--bs-teal); }
.bg-badge-orange { background-color: var(--bs-orange); }
.bg-badge-blue { background-color: var(--bs-blue); }
.bg-badge-green { background-color: var(--bs-green); }
.bg-badge-yellow { background-color: var(--bs-yellow); }

/* ===================================================
   SECCIONES Y TITULOS
   =================================================== */
.page-section {
  padding: 5rem 0;
}

.bg-light-bs {
  background-color: var(--bs-light-bg);
}

.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.min-h-180 { min-height: 180px; }

.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bs-dark-bg);
}

.heading-line {
  width: 70px;
  height: 4px;
  background-color: var(--bs-blue);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.heading-line.bg-teal {
  background-color: var(--bs-teal);
}

.text-brand-blue { color: var(--bs-blue); }
.text-brand-teal { color: var(--bs-teal); }

/* ===================================================
   TIMELINE (NUESTRA HISTORIA)
   =================================================== */
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 3px;
  margin-left: -1.5px;
  content: "";
  background-color: #E2E8F0;
}

.timeline > li {
  position: relative;
  min-height: 80px;
  margin-bottom: 50px;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 10;
  left: 0;
  width: 80px;
  height: 80px;
  border: 4px solid #ffffff;
  border-radius: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  background-color: var(--bs-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bs-blue);
  background-color: #EFF6FF;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}

.bg-gradient-brand {
  background: linear-gradient(135deg, var(--bs-blue) 0%, var(--bs-teal) 100%) !important;
}

.timeline-end-text {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }

  .timeline > li {
    margin-bottom: 80px;
    min-height: 100px;
  }

  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }

  .timeline > li .timeline-image {
    left: 50%;
    width: 110px;
    height: 110px;
    margin-left: -55px;
  }

  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }

  .timeline-end-text {
    font-size: 0.9rem;
  }
}

/* ===================================================
   TARJETAS DE SERVICIOS
   =================================================== */
.service-card {
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.icon-wrapper {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
}

.icon-teal { background-color: var(--bs-teal); }
.icon-orange { background-color: var(--bs-orange); }
.icon-yellow { background-color: var(--bs-yellow); }
.icon-green { background-color: var(--bs-green); }
.icon-blue { background-color: var(--bs-blue); }

/* ===================================================
   CLIENTES
   =================================================== */
.client-box {
  background-color: #ffffff;
  border: 1px solid #F1F5F9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}

.client-img {
  max-height: 65px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-box:hover .client-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===================================================
   FORMULARIO Y CONTACTO
   =================================================== */
.section-contact {
  background-color: var(--bs-dark-bg);
}

.btn-primary-bs {
  background-color: var(--bs-blue);
  border-color: var(--bs-blue);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-primary-bs:hover {
  background-color: var(--bs-blue-dark);
  border-color: var(--bs-blue-dark);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.btn-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
}

.btn-whatsapp img {
  width: 35px;
  height: 35px;
}

/* ===================================================
   FOOTER
   =================================================== */
.bg-dark-bs {
  background-color: #0B0F19;
}

.btn-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s ease;
}

.btn-facebook:hover { background-color: #1877F2; }
.btn-instagram:hover { background-color: #E4405F; }





.section-contact-vibrant {
  /*background: linear-gradient(135deg, #F0F7FF 0%, #E6FFFA 50%, #F5F3FF 100%);*/
  position: relative;
  overflow: hidden;
}

/* Efecto de puntos tecnológicos de fondo */
.section-contact-vibrant::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(42, 157, 143, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Tarjeta Flotante de Contacto */
.contact-card {
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(58, 134, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* Estilos de los inputs */
.contact-card .form-control {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding-left: 1rem;
  transition: all 0.25s ease;
  background-color: #FFFFFF;
}

.contact-card .form-control:focus {
  border-color: var(--bs-blue);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.15);
}

.contact-card label {
  color: var(--bs-text-muted);
}

.text-brand-orange { color: var(--bs-orange); }
.text-brand-green { color: var(--bs-green); }
.text-brand-yellow { color: var(--bs-yellow); }

/* ===================================================
   NUEVO FOOTER VIBRANTE
   =================================================== */
.footer-vibrant {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
}

/* Barra superior decorativa con los colores exactos del logo */
.footer-top-bar {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, 
    var(--bs-teal) 0%, 
    var(--bs-orange) 25%, 
    var(--bs-yellow) 50%, 
    var(--bs-green) 75%, 
    var(--bs-blue) 100%
  );
}

.footer-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1); /* Convierte el logo a blanco elegante */
  opacity: 0.9;
}

.extra-small {
  font-size: 0.75rem;
}

.btn-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-facebook:hover {
  background-color: #1877F2;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.btn-instagram:hover {
  background-color: #E4405F;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(228, 64, 95, 0.4);
}