/* ========================================
   TOC Ingeniería - Stylesheet Principal
   ======================================== */

/* ========================================
   LOADING SCREEN
   ======================================== */
#loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #206edd, #1a5cb8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 120px;
  margin-bottom: 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: #fff;
  margin-top: 15px;
  font-size: 14px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.header-scrolled {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
  margin-left: 20px;
}

.navbar a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #206edd;
}

.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar ul {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar ul.show {
    display: flex;
  }
  
  .navbar li {
    margin: 10px 0;
  }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #206edd;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #1a5cb8;
  transform: translateY(-3px);
}

/* ========================================
   HERO SECTION (INICIO)
   ======================================== */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

#divborder {
  background: linear-gradient(135deg, #206edd 0%, #1a5cb8 50%, #154a9a 100%);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(32, 110, 221, 0.3), 0 20px 60px rgba(32, 110, 221, 0.2);
}

#divborder h2,
#divborder h3,
#divborder .features-list {
  position: relative;
  z-index: 1;
}

#divborder h2 {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  #divborder {
    padding: 30px 20px;
  }
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
main section {
  padding: 60px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

main section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   INFO BANNER (SERVICES SECTION)
   ======================================== */
.info-banner {
  background: linear-gradient(135deg, #206edd 0%, #1a5cb8 50%, #154a9a 100%);
  border-radius: 20px;
  padding: 40px 50px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(32, 110, 221, 0.3), 0 20px 60px rgba(32, 110, 221, 0.2), 0 30px 90px rgba(32, 110, 221, 0.15), inset 0 0 60px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.info-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.info-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.info-banner:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(32, 110, 221, 0.4), 0 30px 80px rgba(32, 110, 221, 0.3), 0 45px 120px rgba(32, 110, 221, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.info-banner.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.info-banner.animate-on-scroll.visible {
  animation: bannerSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bannerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-banner-icon {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
  animation: pulse-glow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.8));
  }
}

.info-banner-text {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.9;
  margin: 0;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-banner-text strong {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.info-banner-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.info-banner-badge:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.info-banner-divider {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-top: 25px;
  padding-top: 25px;
  position: relative;
  z-index: 1;
}

.info-banner-dots {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.info-banner-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.info-banner-dot:nth-child(1) {
  animation-delay: 0s;
}

.info-banner-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.info-banner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .info-banner {
    padding: 30px 25px;
    margin: 30px auto;
  }
  
  .info-banner-icon {
    font-size: 2.2rem;
  }
  
  .info-banner-text {
    font-size: 1.05rem;
  }
  
  .info-banner::before {
    display: none;
  }
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: #1a1a2e;
  color: #fff;
  padding: 40px 0 20px;
}

#footer h3 {
  color: #206edd;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

#footer p {
  color: #ccc;
  line-height: 1.6;
}

#footer ul {
  list-style: none;
  padding: 0;
}

#footer ul li {
  margin-bottom: 8px;
}

#footer ul li i {
  color: #206edd;
  margin-right: 8px;
}

#footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

#footer a:hover {
  color: #206edd;
}

#footer .row {
  margin: 0;
}

#footer .col-12 {
  border-top: 1px solid #333;
  padding-top: 20px;
}

#footer .col-12 p {
  color: #999;
  margin: 0;
}

/* ========================================
   CONTACT BUTTONS
   ======================================== */
.btn-call,
.btn-email {
  background: linear-gradient(135deg, #206edd, #1a5cb8);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(32, 110, 221, 0.3);
}

.btn-call:hover,
.btn-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(32, 110, 221, 0.4);
}

.contact-info {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.contact-info p {
  margin: 0;
  font-size: 16px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   GALLERY
   ======================================== */
#gallery img {
  transition: transform 0.3s, box-shadow 0.3s;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CAROUSEL / BRANDS
   ======================================== */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  align-items: center;
}

.slick-track {
  display: flex;
  transition: transform 0.3s ease;
}

.slick {
  flex: 0 0 auto;
  padding: 10px;
}

.slick img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s;
}

.slick img:hover {
  transform: scale(1.1);
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #206edd;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

.slick-arrow:hover {
  background: #1a5cb8;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Fade In Up */
.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Delays */
.fade-in-delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.fade-in-delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.fade-in-delay-4 {
  animation-delay: 0.8s;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Justify Text */
.justify-text {
  text-align: justify;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #fff;
  font-size: 16px;
}

.features-list li i {
  color: #fff;
  font-size: 20px;
}

/* Icon Boxes */
.icon-box {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.icon-box h4 {
  margin: 20px 0 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.icon-box h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.icon-box h4 a:hover {
  color: #206edd;
}

.icon-box p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.icon-box .icon {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
}

.icon-box .icon svg {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.icon-box .icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: #206edd;
  z-index: 1;
}

/* Icon Box Colors */
.iconbox-blue .icon i {
  color: #206edd;
}

.iconbox-orange .icon i {
  color: #ff6b35;
}

.iconbox-teal .icon i {
  color: #00adb5;
}

/* Why Us Section */
.why-us .box {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.why-us .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us .box h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about .row.content {
  background: linear-gradient(135deg, #206edd 0%, #1a5cb8 50%, #154a9a 100%);
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(32, 110, 221, 0.3), 0 20px 60px rgba(32, 110, 221, 0.2), 0 30px 90px rgba(32, 110, 221, 0.15), inset 0 0 60px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  margin: 0;
}

.about .row.content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer-about 8s infinite;
  pointer-events: none;
}

@keyframes shimmer-about {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.about .row.content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about .row.content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(32, 110, 221, 0.4), 0 30px 80px rgba(32, 110, 221, 0.3), 0 45px 120px rgba(32, 110, 221, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Todos los elementos de texto dentro de about - FORZAR COLOR BLANCO */
.about .row.content h2,
.about .row.content h3,
.about .row.content p,
.about .row.content ul,
.about .row.content ul li,
.about .row.content ul li i,
.about .row.content .fst-italic,
.about .row.content .justify-text,
.about .row.content [class*="fade"] {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
}

.about .row.content h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about .row.content h3 {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 25px;
}

.about .row.content p {
  font-size: 15px;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.about .row.content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .row.content ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.about .row.content ul li i {
  font-size: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.about .row.content .fst-italic {
  font-style: italic;
  text-align: center;
  margin-top: 20px;
}

/* Fade animations - asegurar visibilidad */
.about .fade-in-up {
  animation: fadeInUp 0.8s ease;
  opacity: 1 !important;
  color: #ffffff !important;
}

.about .fade-in-delay-1,
.about .fade-in-delay-2,
.about .fade-in-delay-3,
.about .fade-in-delay-4 {
  opacity: 1 !important;
  color: #ffffff !important;
  animation-fill-mode: forwards;
}

.about .justify-text {
  text-align: justify;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Iconos - FORZAR color blanco */
.about .row.content i[class*="ri-"],
.about .row.content i[class*="bi-"] {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .about .row.content {
    padding: 35px 25px;
  }
  
  .about .row.content::before {
    display: none;
  }
  
  .about .row.content h2 {
    font-size: 24px;
  }
  
  .about .row.content h3 {
    font-size: 14px;
  }
}

/* Why Us Section */
.why-us .box {
  text-align: center;
  margin-bottom: 40px;
}

.services .section-title {
  text-align: center;
}

.services .section-title h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.services .section-title p {
  text-align: center;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.services .section-title .info-banner {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   TÍTULO SEPARADOR DE SECCIÓN
   ======================================== */
.services .section-title .title-divider {
  position: relative;
  margin: 40px auto 30px;
  max-width: 900px;
  text-align: center;
}

/* Línea Superior */
.services .section-title .divider-line-top {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #206edd 20%, #206edd 80%, transparent 100%);
  margin-bottom: 25px;
  overflow: hidden;
}

.services .section-title .divider-line-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(32, 110, 221, 0.6), transparent);
  animation: lineSlide 3s ease-in-out infinite;
}

@keyframes lineSlide {
  0%, 100% {
    left: -100%;
  }
  50%, 90% {
    left: 100%;
  }
}

/* Title H2 */
.services .section-title .title-divider h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Icon */
.services .section-title .title-divider .divider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #206edd, #1a5cb8);
  border-radius: 50%;
  animation: iconPulse 2s ease-in-out infinite;
}

.services .section-title .title-divider .divider-icon i {
  font-size: 24px;
  color: #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Title Text */
.services .section-title .title-divider .divider-text {
  background: linear-gradient(90deg, #206edd, #1a5cb8, #206edd);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Línea Inferior */
.services .section-title .divider-line-bottom {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #206edd 10%, #206edd 90%, transparent 100%);
  margin-top: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .services .section-title .title-divider {
    margin: 30px auto 20px;
  }
  
  .services .section-title .title-divider h2 {
    font-size: 20px;
    flex-direction: column;
    gap: 10px;
  }
  
  .services .section-title .title-divider .divider-icon {
    width: 40px;
    height: 40px;
  }
  
  .services .section-title .title-divider .divider-icon i {
    font-size: 20px;
  }
}

.services .content img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Grid */
#gallery .row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

#gallery .col-lg-4 {
  padding: 10px;
}

#gallery .rounded {
  border-radius: 10px;
  overflow: hidden;
}

#gallery .mb-4 {
  margin-bottom: 1.5rem;
}

#gallery .w-100 {
  width: 100%;
}

/* Contact Section */
#contact-info .section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff !important;
  text-align: center;
}

#contact-info .section-subtitle {
  font-size: 16px;
  color: #f0f0f0 !important;
  margin-bottom: 30px;
  text-align: center;
}

#contact-info .button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #header {
    background: #fff;
  }
  
  .navbar ul {
    top: 60px;
  }
  
  #inicio {
    padding-top: 60px;
  }
  
  #divborder {
    padding: 25px 20px;
  }
  
  .info-banner {
    padding: 25px 20px;
    margin: 30px auto;
  }
  
  #footer {
    padding: 30px 0 15px;
  }
  
  .btn-call,
  .btn-email {
    width: 100%;
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  #loading-screen,
  #header,
  .back-to-top,
  .toc-chat-btn,
  .toc-chat {
    display: none !important;
  }
  
  main section {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   ESTILOS ESPECIALES (DEL INDEX.HTML)
   ======================================== */

/* Banner Informativo Servicios - Efectos Especiales */
.info-banner {
  background: linear-gradient(135deg, #206edd 0%, #1a5cb8 50%, #154a9a 100%);
  border-radius: 20px;
  padding: 40px 50px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(32, 110, 221, 0.3), 0 20px 60px rgba(32, 110, 221, 0.2), 0 30px 90px rgba(32, 110, 221, 0.15), inset 0 0 60px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.info-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer 6s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.info-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.info-banner:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(32, 110, 221, 0.4), 0 30px 80px rgba(32, 110, 221, 0.3), 0 45px 120px rgba(32, 110, 221, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.info-banner.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.info-banner.animate-on-scroll.visible {
  animation: bannerSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bannerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-banner-icon {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
  animation: pulse-glow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.8));
  }
}

.info-banner-text {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.9;
  margin: 0;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-banner-text strong {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.info-banner-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.info-banner-badge:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.info-banner-divider {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-top: 25px;
  padding-top: 25px;
  position: relative;
  z-index: 1;
}

.info-banner-dots {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.info-banner-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.info-banner-dot:nth-child(1) {
  animation-delay: 0s;
}

.info-banner-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.info-banner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .info-banner {
    padding: 30px 25px;
    margin: 30px auto;
  }
  
  .info-banner-icon {
    font-size: 2.2rem;
  }
  
  .info-banner-text {
    font-size: 1.05rem;
  }
  
  .info-banner::before {
    display: none;
  }
}

/* Divborder Sección Inicio - Efectos Especiales */
#divborder {
  background: linear-gradient(135deg, #206edd 0%, #1a5cb8 50%, #154a9a 100%);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(32, 110, 221, 0.3), 0 20px 60px rgba(32, 110, 221, 0.2), 0 30px 90px rgba(32, 110, 221, 0.15), inset 0 0 60px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

#divborder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer-border 8s infinite;
  pointer-events: none;
}

@keyframes shimmer-border {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

#divborder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

#divborder:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(32, 110, 221, 0.4), 0 30px 80px rgba(32, 110, 221, 0.3), 0 45px 120px rgba(32, 110, 221, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

#divborder.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

#divborder.animate-on-scroll.visible {
  animation: borderSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes borderSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#divborder h2,
#divborder h3,
#divborder .features-list,
#divborder .texto-block {
  position: relative;
  z-index: 1;
}

#divborder h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#divborder .features-list li {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #divborder {
    padding: 30px 20px;
  }
  
  #divborder::before {
    display: none;
  }
}

/* Footer Estilos Adicionales */
#footer {
  background: #1a1a2e;
  color: #fff;
  padding: 40px 0 20px;
}

#footer h3 {
  color: #206edd;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

#footer p {
  color: #ccc;
  line-height: 1.6;
}

#footer ul {
  list-style: none;
  padding: 0;
}

#footer ul li {
  margin-bottom: 8px;
}

#footer ul li i {
  color: #206edd;
  margin-right: 8px;
}

#footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

#footer a:hover {
  color: #206edd;
}

#footer .row {
  margin: 0;
}

#footer .col-12 {
  border-top: 1px solid #333;
  padding-top: 20px;
}

#footer .col-12 p {
  color: #999;
  margin: 0;
}

/* Secciones - Animación Scroll */
main section {
  padding: 60px 0;
  opacity: 1; /* Visible por defecto para fallback */
  transform: translateY(0); /* Sin transformación por defecto */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

main section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación scroll solo si está activo el animate-on-scroll */
main section.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

main section.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HERO IMAGE - SIN EFECTOS
   ======================================== */
#inicio .hero-img {
  position: relative;
  overflow: hidden;
}

#inicio .hero-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 450px;
}

@media (max-width: 991px) {
  #inicio .hero-img {
    margin-top: 30px;
  }
  
  #inicio .hero-img img {
    max-height: 350px;
  }
}
