/* css/custom.css */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/*
    Paantec Custom Stylesheet
    ---
    Tabla de Contenidos:
    1.  Variables Globales (:root)
    2.  Estilos Base (body, a)
    3.  Header y Navegación
    4.  Footer
    5.  Sección Hero
    6.  Componentes (Botones, Tarjetas, Contadores)
    7.  Formularios
    8.  Botones Flotantes (WhatsApp)
    9.  Animaciones y Clases de Utilidad
    10. Estilos Responsivos
*/

/* 1. Variables Globales - Paleta de Colores Unificada Paantec */

:root {
  /* Inter de Milán - Paleta Principal */
  --paantec-primary: #0B1D78;
  --paantec-primary-dark: #060E3F;
  --paantec-primary-light: #1A3AB5;
  --paantec-primary-lighter: #4D6BD4;
  --paantec-primary-pale: #E8ECF8;

  /* Neutrales */
  --paantec-gray-dark: #1A1F36;
  --paantec-gray-medium: #4A5568;
  --paantec-gray-light: #CBD5E0;
  --paantec-gray-lighter: #E2E8F0;
  --paantec-gray-bg: #EDF2F7;
  --paantec-secondary: #64748B;

  /* Estado */
  --paantec-success: #16A34A;
  --paantec-warning: #EAB308;
  --paantec-danger: #DC2626;
  --paantec-info: #0B1D78;

  /* Texto - WCAG AA */
  --paantec-text-primary: #1A1F36;
  --paantec-text-secondary: #4A5568;
  --paantec-text-muted: #64748B;
  --paantec-text-light: #ffffff;
  --paantec-text-overlay: rgb(255 255 255 / 98%);

  /* Fondos */
  --paantec-bg-white: #ffffff;
  --paantec-bg-light: #F7F8FC;
  --paantec-bg-lighter: #FAFBFE;
  --paantec-bg-blue-light: #E8ECF8;
  --paantec-bg-dark: #1A1F36;

  /* Gradientes - Limpios, máximo 3 */
  --paantec-gradient-primary: linear-gradient(135deg, #0B1D78 0%, #1A3AB5 100%);
  --paantec-gradient-hero: linear-gradient(135deg, rgba(11, 29, 120, 0.92) 0%, rgba(26, 58, 181, 0.85) 100%);
  --paantec-gradient-light: linear-gradient(135deg, #F7F8FC 0%, #E8ECF8 100%);

  /* Acento dorado Inter (uso mínimo - solo badges premium) */
  --paantec-accent-gold: #C9A84C;

  /* Sombras */
  --paantec-shadow-sm: 0 1px 3px rgb(11 29 120 / 8%);
  --paantec-shadow: 0 4px 12px rgb(11 29 120 / 10%);
  --paantec-shadow-lg: 0 12px 32px rgb(11 29 120 / 12%);

  /* Tipografías */
  --font-family-sans-serif: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Espaciado y Bordes */
  --global-border-radius: 0.5rem;
  --global-border-radius-sm: 0.25rem;
  --global-border-radius-lg: 0.75rem;
}

/* 2. Estilos Base */

body {
  font-family: var(--font-family-sans-serif);
  color: var(--paantec-text-primary);
  background-color: var(--paantec-bg-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

/* Enlaces con mejores contrastes */

a {
  color: var(--paantec-primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

a:hover {
  color: var(--paantec-primary-dark);
  opacity: 1;
}

/* Footer links con contraste optimizado */

.footer-paantec a {
  color: rgb(255 255 255 / 80%) !important;
  text-decoration: none;
}

.footer-paantec a:hover {
  color: var(--paantec-text-light) !important;
}

/* Títulos con contraste mejorado */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  color: var(--paantec-primary-dark);
  margin-bottom: 0.75rem;
}

/* Títulos en secciones de fondo claro */

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6 {
  color: var(--paantec-primary-dark);
}

/* Títulos en secciones de fondo oscuro */

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
[style*="background:"] h1,
[style*="background:"] h2,
[style*="background:"] h3,
[style*="background:"] h4,
[style*="background:"] h5,
[style*="background:"] h6 {
  color: var(--paantec-text-light) !important;
}

/* Excepción para tarjetas con fondo claro */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
  color: var(--paantec-primary-dark) !important;
}

/* Texto secundario con mejor contraste */

.text-muted {
  color: var(--paantec-text-muted) !important;
}

.text-secondary {
  color: var(--paantec-text-secondary) !important;
}

/* Mejoras de contraste para texto sobre imágenes */

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
  color: var(--paantec-text-light) !important;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 70%), 0 0 10px rgb(0 0 0 / 50%) !important;
}

.hero-section p,
.hero-section .lead {
  color: var(--paantec-text-overlay) !important;
  text-shadow: 1px 1px 3px rgb(0 0 0 / 60%) !important;
}

/* Badges con colores estandarizados y mejor contraste */

.badge.bg-primary {
  background-color: var(--paantec-primary) !important;
  color: var(--paantec-text-light) !important;
}

.badge.bg-success {
  background-color: var(--paantec-success) !important;
  color: var(--paantec-text-light) !important;
}

.badge.bg-warning {
  background-color: var(--paantec-warning) !important;
  color: var(--paantec-text-primary) !important;
  font-weight: 600 !important;
}

.badge.bg-info {
  background-color: var(--paantec-info) !important;
  color: var(--paantec-text-light) !important;
}

/* Cards con sombras estandarizadas */

.card {
  box-shadow: var(--paantec-shadow-sm);
  border: none;
}

.card.shadow-sm {
  box-shadow: var(--paantec-shadow-sm) !important;
}

.card.shadow {
  box-shadow: var(--paantec-shadow) !important;
}

.card.shadow-lg {
  box-shadow: var(--paantec-shadow-lg) !important;
}

/* 3. Header y Navegación - Extended for Mega Menu */

/* Original .header-paantec styles are fine */

.header-paantec .navbar-nav .nav-item {
  margin-left: 0.5rem;
  /* Add some space between nav items */
  margin-right: 0.5rem;
}

.header-paantec .navbar-nav .nav-link {
  padding-top: 0.8rem;
  /* Adjust padding for slightly taller feel */
  padding-bottom: 0.8rem;
  position: relative;
  /* For pseudo-elements like active indicator */
}

.header-paantec .navbar-nav .nav-link.active::after,
.header-paantec .navbar-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  background: var(--paantec-primary);
  border-radius: 2px;
  display: block;
}

.header-paantec .navbar-nav .nav-link:not(.active, :hover)::after {
  display: none;
  /* Hide underline if not active and not hovered */
}


/* Styling for Dropdown/Mega Menu */

.header-paantec .dropdown-menu {
  background: linear-gradient(135deg, var(--paantec-gray-dark) 0%, var(--paantec-gray-medium) 100%);
  border: none;
  border-radius: 0 0 var(--global-border-radius) var(--global-border-radius);
  margin-top: 0.5rem;
  box-shadow: var(--paantec-shadow-lg);
  padding: 0.5rem 0;
}

.header-paantec .dropdown-item {
  color: rgb(255 255 255 / 90%);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-paantec .dropdown-item:hover,
.header-paantec .dropdown-item:focus {
  color: var(--paantec-text-light);
  background-color: var(--paantec-primary);
  padding-left: 2rem;
}

.header-paantec .dropdown-divider {
  border-top: 1px solid rgb(255 255 255 / 15%);
}

/* Customizing for "Soluciones" to be wider (simple mega menu) */

.header-paantec .navbar-nav .nav-item.dropdown .dropdown-menu#navbarDropdownSoluciones {
  min-width: 280px;
  /* Wider than default Bootstrap dropdown */
}


/* Desktop Hover Functionality for Bootstrap Dropdowns */

@media (width >=992px) {
  /* Apply only on lg and above */

  .header-paantec .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0.5rem;
    /* Ensure consistency with click */
    animation: dropdownFadeIn 0.3s ease-out;
  }

  /* Keep toggle arrow consistent */

  .header-paantec .navbar-nav .nav-item.dropdown:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
    /* Rotate arrow on hover */
    transition: transform 0.2s ease;
  }

  .header-paantec .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle::after {
    transition: transform 0.2s ease;
  }
}

/* Animación para dropdown */

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras visuales adicionales para navegación */

.header-paantec .navbar-nav .nav-link {
  position: relative;
  overflow: hidden;
}

.header-paantec .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 10%), transparent);
  transition: left 0.5s;
}

.header-paantec .navbar-nav .nav-link:hover::before {
  left: 100%;
}

/* Badge para indicar secciones especiales */

.nav-link-badge {
  position: relative;
}

.nav-link-badge::after {
  content: 'Nuevo';
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--paantec-success);
  color: white;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
  animation: badgePulse 2s infinite;
}

/* Badge especial para proyectos mejorados */

.nav-link-premium {
  position: relative;
}

.nav-link-premium::after {
  content: '★';
  position: absolute;
  top: -8px;
  right: -12px;
  background: linear-gradient(45deg, var(--paantec-accent-gold), var(--paantec-accent-gold));
  color: white;
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 50%;
  font-weight: 700;
  animation: premiumGlow 3s infinite;
  box-shadow: 0 0 10px rgb(255 215 0 / 50%);
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes premiumGlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgb(255 215 0 / 50%);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgb(255 215 0 / 80%);
  }
}


/* Section Specific Styling */

/* Styles for Puntos Clave items (assuming .card class was intentionally removed from direct items) */

.section-puntos-clave .col-md-4 .h-100 {
  /* Targeting the div that wraps card-body */
  background-color: transparent;
  /* Puntos clave items on bg-light will be transparent */
  border: none;
  transition: transform 0.3s ease;
}

.section-puntos-clave .col-md-4:hover .h-100 {
  transform: translateY(-5px);
  /* Apply hover effect to the container */
}

.section-puntos-clave .display-1 {
  /* Target the icon container */
  font-size: 3.5rem;
  /* Adjust icon size */
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.section-puntos-clave .col-md-4:hover .display-1 {
  /* Hover effect on the icon via column hover */
  transform: scale(1.1);
}


/* 3. Header y Navegación (Ensure this is not duplicated, original seems to be higher up) */

/* Consolidating .header-paantec styles if they were duplicated. */

/* If the styles below are exact duplicates of ones higher up, they can be removed. */

/* For safety, assuming they might be slightly different or the tool needs a specific anchor. */

.header-paantec {
  background-color: var(--paantec-primary-dark);
  color: var(--paantec-text-light);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.header-paantec .navbar-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.header-paantec .navbar-brand:hover img {
  transform: scale(1.05);
}

.header-paantec .nav-link {
  color: rgb(255 255 255 / 80%);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-paantec .nav-link:hover,
.header-paantec .nav-link.active {
  color: var(--paantec-text-light);
}

.header-paantec .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 3px;
  background: var(--paantec-primary);
  border-radius: 2px;
}

/* 4. Footer - Gris profesional con mejor contraste */

.footer-paantec {
  background: linear-gradient(135deg, var(--paantec-gray-dark) 0%, var(--paantec-gray-medium) 100%);
  color: var(--paantec-text-light);
  flex-shrink: 0;
}

.footer-paantec a {
  color: rgb(255 255 255 / 85%);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-paantec a:hover {
  color: var(--paantec-text-light);
  text-decoration: underline;
  text-decoration-color: var(--paantec-gray-lighter);
}

.footer-paantec .text-white-50 {
  color: rgb(255 255 255 / 70%) !important;
}

.footer-paantec .border-secondary {
  border-color: rgb(255 255 255 / 15%) !important;
}

/* 5. Sección Hero */

.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(13 44 84 / 60%);
  /* Superposición de color oscuro */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

/* Hero Section Adjustments */

.hero-section .hero-content h1.display-2 {
  /* New hero headline size */
  font-weight: 700;
  /* Make it bolder */
  text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
  /* Add text shadow for better readability over video */
}

.hero-section .hero-content p.fs-5 {
  /* New hero sub-headline */
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
  margin-bottom: 2.5rem !important;
  /* Ensure spacing before buttons */
}

.hero-section .btn {
  /* General styling for buttons in hero */
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  /* Default padding */
}

.hero-section .btn-outline-light {
  border-width: 2px;
}


/* Key Services Section Styling */

#key-services {
  background: var(--paantec-gradient-light);
  position: relative;
}

#key-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgb(0 94 184 / 2%) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgb(0 123 255 / 1.5%) 0%, transparent 40%);
  z-index: 0;
}

#key-services .container {
  position: relative;
  z-index: 1;
}

#key-services .display-5 {
  /* Section title */
  color: var(--paantec-primary-dark);
  font-weight: 700;
  /* Bolder title for key services */
}

.service-card {
  /* This class is added to the card in HTML */
  background-color: var(--paantec-bg-white);
  border: 1px solid var(--paantec-gray-lighter);
  /* Slightly softer border */
  border-radius: var(--global-border-radius);
  padding: 2rem 1.5rem;

  /* lift-on-hover class will handle transform and box-shadow */
}

.service-icon i {
  /* Targeting the Bootstrap Icon within the service-icon div */
  transition: transform 0.3s ease;
  font-size: 3rem;
  /* Ensuring icon size is applied if not directly on i */
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
  /* Slightly scale icon on hover */
}

.service-card .card-title {
  /* h4 in this case */
  color: var(--paantec-primary-dark);
  font-weight: 600;
  margin-top: 0.5rem;
  /* Space between icon and title */
  margin-bottom: 0.75rem;
}

.service-card .card-text {
  font-size: 0.95rem;
  color: var(--paantec-text-secondary);
  /* Darker gray for better readability */
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card .btn-outline-primary {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border-color: var(--paantec-primary);
  color: var(--paantec-primary);
}

.service-card .btn-outline-primary:hover {
  background-color: var(--paantec-primary);
  color: var(--paantec-text-light);
}

/* Client Logos Section Styling */

#client-logos {
  background: var(--paantec-gradient-light);
  position: relative;
}

#client-logos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgb(0 94 184 / 2%) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgb(40 167 69 / 2%) 0%, transparent 50%);
  z-index: 0;
}

#client-logos .container {
  position: relative;
  z-index: 1;
}

#client-logos .display-5 {
  /* Section title */
  color: var(--paantec-primary-dark);
  font-weight: 700;
}

.client-logo-item {
  max-height: 70px;
  /* Adjust as needed */
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* News/Blog Highlights Section Styling */

#news-highlights {
  background-color: var(--paantec-bg-light);
}

#news-highlights .display-5 {
  /* Section title */
  color: var(--paantec-primary-dark);
  font-weight: 700;
}

.news-card {
  background-color: var(--paantec-bg-white);
  border: 1px solid var(--paantec-gray-lighter);
  border-radius: var(--global-border-radius);

  /* lift-on-hover class handles transform and shadow */
}

.news-card .card-img-top {
  height: 200px;
  /* Fixed height for news images */
  object-fit: cover;
  border-radius: var(--global-border-radius) var(--global-border-radius) 0 0;
}

.news-card .card-body {
  padding: 1.5rem;
}

.news-card .card-title {
  /* h5 in this case */
  color: var(--paantec-primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card .small {
  /* Date/Category text */
  color: var(--paantec-secondary);
  /* Bootstrap's text-muted color */
  margin-bottom: 0.75rem;
  display: block;
}

.news-card .card-text {
  /* Excerpt */
  font-size: 0.9rem;
  color: var(--paantec-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.news-card .btn-outline-primary {
  padding: 0.4rem 1.2rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Nuestras Soluciones Page Styling */

.solution-category {
  /* py-4 and mb-5 classes in HTML handle most spacing */

  /* bg-light is applied directly in HTML for alternating sections */
}

.solution-category .display-5 {
  /* Category titles */
  font-weight: 700;
  color: var(--paantec-primary-dark);
}

.solution-card {
  background-color: var(--paantec-bg-white);
  border: 1px solid var(--paantec-gray-lighter);
  border-radius: var(--global-border-radius);

  /* lift-on-hover is on the card for hover effects */
}

.solution-card .card-img-top {
  height: 200px;
  /* Standard height for solution images */
  object-fit: cover;
  border-radius: var(--global-border-radius) var(--global-border-radius) 0 0;
}

.solution-card .card-body {
  padding: 1.5rem;
}

.solution-card .card-title {
  /* h5 */
  color: var(--paantec-primary-dark);
  font-weight: 600;
  /* Consistent with other card titles */
  margin-bottom: 0.5rem;
}

.solution-card .card-text {
  font-size: 0.9rem;
  /* Slightly smaller text for solution descriptions */
  color: var(--paantec-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  /* Space before the button */
}

.solution-card .btn-sm {
  /* Specific to "Ver Detalles" buttons */
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Proyectos Page - Modal Styling */

#projectModal .modal-body p strong {
  /* Style for labels like "Cliente:" */
  color: var(--paantec-primary-dark);
}

/* Quienes Somos Page Styling */

#quienes-somos-main-intro {
  /* If a specific intro p is added */
  font-size: 1.1rem;
  line-height: 1.7;
}

#mision-vision .values-list li {
  margin-bottom: 0.5rem;
  /* Add some space between value items */
  font-size: 1.05rem;
  /* Slightly larger font for values */
}

#compromiso-social .display-5 {
  font-weight: 700;
  color: var(--paantec-primary-dark);
}

#compromiso-social h3.h4 {
  /* Subheadings for Comunidad and Medio Ambiente */
  color: var(--paantec-primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
}

#compromiso-social h3.h4 i {
  font-size: 1.5rem;
  /* Adjust icon size if needed */
}

/* Carrera Page Styling */

#porque-paantec .display-5,
#ofertas-empleo .display-5 {
  font-weight: 700;
  color: var(--paantec-primary-dark);
}

#porque-paantec .col-md-4 .p-4 {
  /* Container for icon, title, text */
  /* Maybe add a light border or background if desired, for now, relies on spacing */
}

#porque-paantec i.display-3 {
  /* Icons in "Porque Paantec" */
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

#porque-paantec .col-md-4:hover i.display-3 {
  transform: scale(1.1);
}

#ofertas-empleo .alert-info {
  background-color: var(--paantec-bg-blue-light);
  /* Lighter blue for info */
  border-color: var(--paantec-gray-lighter);
  color: var(--paantec-primary-dark);
  /* Darker blue text for contrast WCAG AA */
}

#ofertas-empleo .alert-info .alert-link {
  color: var(--paantec-primary-dark);
  /* Ensure proper contrast */
  font-weight: 600;
  text-decoration: underline;
}

/* Placeholder for job-listing cards if they were active */

.job-listing {
  border: 1px solid var(--paantec-gray-lighter);
  border-radius: var(--global-border-radius);
  background-color: var(--paantec-bg-white);
}

.job-listing .card-body {
  padding: 1.5rem;
}

.job-listing .card-title {
  color: var(--paantec-primary-dark);
}


/* 6. Componentes */

/* --- Botones --- */

.btn {
  transition: transform 0.2s cubic-bezier(.25, .8, .25, 1), box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.btn-primary {
  background-color: var(--paantec-primary);
  border-color: var(--paantec-primary);
  color: var(--paantec-text-light);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--paantec-primary-dark);
  border-color: var(--paantec-primary-dark);
  color: var(--paantec-text-light);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  background-color: var(--paantec-primary);
  border-color: var(--paantec-primary);
  color: var(--paantec-text-light);
}

/* Botones adicionales con colores estandarizados */

.btn-success {
  background-color: var(--paantec-success);
  border-color: var(--paantec-success);
  color: var(--paantec-text-light);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background-color: var(--paantec-success);
  border-color: var(--paantec-success);
  color: var(--paantec-text-light);
}

.btn-info {
  background-color: var(--paantec-info);
  border-color: var(--paantec-info);
  color: var(--paantec-text-light);
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background-color: var(--paantec-primary-light);
  border-color: var(--paantec-primary-light);
  color: var(--paantec-text-light);
}

.btn-warning {
  background-color: var(--paantec-warning);
  border-color: var(--paantec-warning);
  color: var(--paantec-text-primary);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background-color: var(--paantec-warning);
  border-color: var(--paantec-warning);
  color: var(--paantec-text-primary);
}

/* --- Tarjetas (Cards) --- */

.card {
  border: none;
  border-radius: var(--global-border-radius);
}

.project-card {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: var(--global-border-radius);
}

.project-card .card-img-top {
  transition: transform 0.4s ease;
}

.project-card:hover .card-img-top {
  transform: scale(1.05);
}

.project-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 0%) 100%);
  color: var(--paantec-text-light);
}

.project-card .card-title {
  color: var(--paantec-text-light);
  font-weight: 600;
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(11, 29, 120, 0.95), rgba(11, 29, 120, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.25rem;
  overflow: hidden;
  transition: height 0.4s ease, padding 0.4s ease;
  color: white;
}

.project-card:hover .project-card-overlay {
  height: 100%;
  padding: 1.25rem;
}

.project-card-overlay .overlay-badge {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4em 0.8em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.project-card-overlay h4 {
  margin-bottom: 0.5rem;
}

.card-img-top {
  /* Default for larger screens, e.g., service cards */
  height: 220px;
  /* Adjusted default height for service cards */
  object-fit: cover;
  border-radius: var(--global-border-radius) var(--global-border-radius) 0 0;
}

.project-card .card-img-top {
  /* Specific for project cards which might have different needs */
  height: 350px;
  /* Keep original height for project cards as they have overlay text */
}


.client-logo {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* --- Contadores --- */

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--paantec-primary-dark);
}

/* 7. Formularios */

.form-control:focus,
.form-select:focus {
  border-color: var(--paantec-primary);
  box-shadow: 0 0 0 0.25rem rgb(0 94 184 / 25%);
}

/* 8. Utilidades de Interacción */

.lift-on-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift-on-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem rgb(0 48 135 / 15%) !important;
}

/* 9. Botones Flotantes */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: var(--paantec-success);
  color: var(--paantec-text-light);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--paantec-shadow);
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite cubic-bezier(.66, 0, 0, 1);
}

.whatsapp-float:hover {
  background-color: var(--paantec-success);
  transform: scale(1.1);
  animation: none;
}

/* 10. Animaciones */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(37 211 102 / 50%);
  }

  70% {
    box-shadow: 0 0 0 15px rgb(37 211 102 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(37 211 102 / 0%);
  }
}

/* 11. Estilos Responsivos */

@media (width <=991.98px) {
  /* Responsive Navigation - Hamburger and Mobile Menu */

  .header-paantec .navbar-collapse {
    /* This is the part that collapses */
    background-color: var(--paantec-primary-dark);
    padding: 1rem;
    margin-top: 0.5rem;
    /* Space from the navbar itself */
    border-radius: var(--global-border-radius);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
  }

  .header-paantec .navbar-nav .nav-item {
    margin-left: 0;
    /* Reset for vertical layout */
    margin-right: 0;
  }

  .header-paantec .nav-link.active::after,
  .header-paantec .nav-link:hover::after {
    display: none;
    /* No underlines for mobile nav items */
  }

  .header-paantec .navbar-nav .nav-item.dropdown .dropdown-menu {
    margin-top: 0;
    /* Remove gap for mobile */
    box-shadow: none;
    /* Remove shadow for sub-menus in mobile */
    border-radius: 0;
    /* Flatten sub-menu appearance */
    background-color: transparent;
    /* Make sub-menu background transparent to blend */
  }

  .header-paantec .navbar-nav .dropdown-item {
    padding-left: 2rem;
    /* Indent sub-items on mobile */
    color: rgb(255 255 255 / 70%);
  }

  .header-paantec .navbar-nav .dropdown-item:hover,
  .header-paantec .navbar-nav .dropdown-item:focus {
    color: var(--paantec-text-light);
    background-color: rgb(0 94 184 / 50%);
    /* Lighter blue for hover */
  }

  .hero-section {
    min-height: 70vh;
    /* Adjusted for better mobile hero */
  }

  .hero-content h1.display-2 {
    /* Responsive Hero h1 */
    font-size: calc(1.475rem + 2.7vw);
    /* Corresponds to Bootstrap's .display-4 approx */
  }

  .hero-content p.fs-5 {
    /* Responsive Hero sub-headline */
    font-size: 1rem;
    /* Corresponds to Bootstrap's .lead approx */
  }

  h2.display-6,
  #key-services .display-5,
  #client-logos .display-5,
  #news-highlights .display-5 {
    /* Section titles */
    font-size: calc(1.3rem + 0.6vw);
    /* Corresponds to Bootstrap's h2 approx */
  }
}

@media (width <=767.98px) {
  .card-img-top {
    /* General cards, like services */
    height: 200px;
    /* Slightly more height for mobile service cards */
  }

  .project-card .card-img-top {
    /* Project cards on mobile */
    height: 280px;
  }

  .display-4 {
    /* General .display-4, if used elsewhere */
    font-size: calc(1.375rem + 1.5vw);
    /* Keep Bootstrap's responsive sizing */
  }

  /* Ensure hero-section on carrera page is responsive like others */

  .hero-section[style*="min-height: 40vh"] .hero-content h1.display-4 {
    /* Carrera hero title */
    font-size: calc(1.425rem + 2.1vw);
    /* Approx .display-5 */
  }

  .hero-section[style*="min-height: 40vh"] .hero-content p.lead {
    /* Carrera hero lead */
    font-size: 1rem;
  }

  .hero-content {
    padding: 1rem;
    /* Ensure padding on small screens for hero */
  }

  .hero-content h1.display-2 {
    /* Hero h1 on mobile */
    font-size: calc(1.425rem + 2.1vw);
    /* Bootstrap's .display-5 ish */
  }

  .section-puntos-clave .display-1 {
    /* Icon size in Puntos Clave */
    font-size: 3rem;
  }

  #key-services .display-5,
  #client-logos .display-5,
  #news-highlights .display-5,
  .solution-category .display-5,
  #compromiso-social .display-5,
  #porque-paantec .display-5,
  #ofertas-empleo .display-5 {
    /* Section titles on mobile */
    font-size: calc(1.3rem + 0.6vw);
  }

  .news-card .card-img-top {
    height: 180px;
    /* Adjust news image height for mobile */
  }

  .solution-card .card-img-top {
    height: 180px;
    /* Adjust solution card image height for mobile */
  }

  .footer-paantec .text-md-start {
    /* Ensure footer columns stack and text aligns center */
    text-align: center !important;
  }

  .footer-paantec .list-unstyled {
    padding-left: 0;
    /* Remove default padding for centered lists */
  }
}

@media (width <=575.98px) {
  /* Extra small devices */

  .hero-content h1.display-2 {
    /* Hero h1 on extra small screens */
    font-size: calc(1.375rem + 1.5vw);
    /* Further reduce */
  }

  .hero-content p.fs-5 {
    /* Hero sub-headline on extra small screens */
    font-size: 0.9rem;
  }

  /* Ensure hero-section on carrera page is responsive like others for very small screens */

  .hero-section[style*="min-height: 40vh"] .hero-content h1.display-4 {
    /* Carrera hero title */
    font-size: calc(1.375rem + 1.5vw);
  }

  h2.display-6,
  #key-services .display-5,
  #client-logos .display-5,
  #news-highlights .display-5,
  .solution-category .display-5,
  #compromiso-social .display-5,
  #porque-paantec .display-5,
  #ofertas-empleo .display-5 {
    /* Section titles on extra small screens */
    font-size: calc(1.275rem + 0.3vw);
    /* Bootstrap's h3 approx */
  }

  .card-img-top {
    /* General cards, like services */
    height: 180px;
  }

  .project-card .card-img-top {
    /* Project cards on mobile */
    height: 250px;
  }
}

/* 5. Sección Hero Premium - ESPECTACULAR */

.hero-section-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--paantec-gray-dark) 0%, var(--paantec-gray-medium) 25%, var(--paantec-gray-light) 50%, var(--paantec-gray-medium) 75%, var(--paantec-gray-dark) 100%);
}

/* Rascacielos animados */

.buildings-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.building {
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, rgb(0 123 255 / 10%) 0%, rgb(0 94 184 / 20%) 100%);
  border: 1px solid rgb(0 191 255 / 30%);
  box-shadow:
    0 0 20px rgb(0 191 255 / 20%),
    inset 0 0 20px rgb(0 191 255 / 10%);
  animation: buildingGlow 4s ease-in-out infinite alternate;
}

.building-1 {
  left: 5%;
  width: 60px;
  height: 300px;
  animation-delay: 0s;
}

.building-2 {
  left: 15%;
  width: 80px;
  height: 400px;
  animation-delay: 0.5s;
}

.building-3 {
  left: 25%;
  width: 50px;
  height: 250px;
  animation-delay: 1s;
}

.building-4 {
  right: 25%;
  width: 70px;
  height: 350px;
  animation-delay: 1.5s;
}

.building-5 {
  right: 15%;
  width: 90px;
  height: 450px;
  animation-delay: 2s;
}

.building-6 {
  right: 5%;
  width: 55px;
  height: 280px;
  animation-delay: 2.5s;
}

@keyframes buildingGlow {
  0% {
    box-shadow: 0 0 20px rgb(0 191 255 / 20%), inset 0 0 20px rgb(0 191 255 / 10%);
    opacity: 0.6;
  }

  100% {
    box-shadow: 0 0 40px rgb(0 191 255 / 40%), inset 0 0 30px rgb(0 191 255 / 20%);
    opacity: 0.8;
  }
}

/* Ascensores animados */

.elevator-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.elevator-shaft {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgb(0 191 255 / 40%) 50%, rgb(0 191 255 / 60%) 100%);
  box-shadow: 0 0 10px rgb(0 191 255 / 50%);
}

.shaft-1 {
  left: 10%;
  animation: shaftPulse 3s ease-in-out infinite;
}

.shaft-2 {
  left: 50%;
  animation: shaftPulse 3s ease-in-out infinite 1s;
}

.shaft-3 {
  right: 10%;
  animation: shaftPulse 3s ease-in-out infinite 2s;
}

@keyframes shaftPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

.elevator-car {
  position: absolute;
  width: 20px;
  height: 15px;
  background: linear-gradient(45deg, var(--paantec-gray-light), var(--paantec-gray-medium));
  border-radius: 2px;
  left: -8px;
  box-shadow:
    0 0 15px rgb(0 191 255 / 80%),
    0 2px 10px rgb(0 0 0 / 30%);
}

.car-1 {
  animation: elevatorMove1 8s ease-in-out infinite;
}

.car-2 {
  animation: elevatorMove2 10s ease-in-out infinite;
}

.car-3 {
  animation: elevatorMove3 12s ease-in-out infinite;
}

@keyframes elevatorMove1 {

  0%,
  100% {
    bottom: 10%;
  }

  50% {
    bottom: 90%;
  }
}

@keyframes elevatorMove2 {

  0%,
  100% {
    bottom: 80%;
  }

  50% {
    bottom: 20%;
  }
}

@keyframes elevatorMove3 {

  0%,
  100% {
    bottom: 30%;
  }

  50% {
    bottom: 85%;
  }
}

/* Partículas flotantes */

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, var(--paantec-gray-lighter), transparent);
  border-radius: 50%;
  opacity: 0;
}

.particle-1 {
  left: 20%;
  animation: particleFloat1 6s ease-in-out infinite;
}

.particle-2 {
  left: 40%;
  animation: particleFloat2 8s ease-in-out infinite;
}

.particle-3 {
  left: 60%;
  animation: particleFloat3 7s ease-in-out infinite;
}

.particle-4 {
  left: 80%;
  animation: particleFloat4 9s ease-in-out infinite;
}

.particle-5 {
  left: 10%;
  animation: particleFloat5 5s ease-in-out infinite;
}

.particle-6 {
  left: 90%;
  animation: particleFloat6 10s ease-in-out infinite;
}

@keyframes particleFloat1 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat2 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  15% {
    opacity: 0.6;
  }

  85% {
    opacity: 0.6;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat3 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  12% {
    opacity: 0.7;
  }

  88% {
    opacity: 0.7;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat4 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  8% {
    opacity: 0.9;
  }

  92% {
    opacity: 0.9;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat5 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat6 {

  0%,
  100% {
    bottom: 0%;
    opacity: 0;
  }

  5% {
    opacity: 0.8;
  }

  95% {
    opacity: 0.8;
  }

  100% {
    bottom: 100%;
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 20%) 0%, rgb(0 0 0 / 50%) 100%);
  z-index: 2;
}

.hero-content-premium {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

.hero-title-premium {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--paantec-text-light);
  text-shadow:
    0 0 10px rgb(0 191 255 / 50%),
    0 4px 8px rgb(0 0 0 / 30%);
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-title-premium .text-primary {
  color: var(--paantec-gray-light) !important;
  text-shadow:
    0 0 20px rgb(0 191 255 / 80%),
    0 0 40px rgb(0 191 255 / 40%);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow:
      0 0 20px rgb(0 191 255 / 80%),
      0 0 40px rgb(0 191 255 / 40%);
  }

  100% {
    text-shadow:
      0 0 30px rgb(0 191 255 / 100%),
      0 0 60px rgb(0 191 255 / 60%),
      0 0 90px rgb(0 191 255 / 30%);
  }
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.6;
  color: rgb(255 255 255 / 90%);
  max-width: 950px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
  font-weight: 300;
}

.hero-badge .badge {
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--paantec-gray-lighter), var(--paantec-gray-light), var(--paantec-gray-lighter));
  background-size: 200% 200%;
  box-shadow:
    0 8px 25px rgb(0 191 255 / 30%),
    0 0 20px rgb(0 191 255 / 50%);
  animation: badgeShimmer 3s ease-in-out infinite;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border: 2px solid rgb(255 255 255 / 20%);
}

@keyframes badgeShimmer {

  0%,
  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }

  50% {
    background-position: 100% 50%;
    transform: scale(1.05);
  }
}

/* Estadísticas Hero mejoradas */

.hero-stats {
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 2.5rem;
  border: 1px solid rgb(255 255 255 / 20%);
  box-shadow:
    0 20px 60px rgb(0 0 0 / 20%),
    0 0 40px rgb(0 191 255 / 10%);
  animation: statsFloat 8s ease-in-out infinite;
}

@keyframes statsFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.stat-item {
  padding: 1rem;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgb(0 191 255 / 10%);
  box-shadow: 0 10px 30px rgb(0 191 255 / 30%);
}

.stat-number {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  color: var(--paantec-gray-light) !important;
  text-shadow:
    0 0 20px rgb(0 191 255 / 80%),
    0 4px 8px rgb(0 0 0 / 30%);
  margin-bottom: 0.5rem;
  background: var(--paantec-gradient-primary);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: numberGlow 2s ease-in-out infinite alternate;
}

@keyframes numberGlow {
  0% {
    filter: brightness(1);
  }

  100% {
    filter: brightness(1.2);
  }
}

.stat-label {
  color: rgb(255 255 255 / 90%);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}

/* CTAs Premium mejorados */

.hero-cta-primary {
  background: linear-gradient(45deg, var(--paantec-primary), var(--paantec-primary-light), var(--paantec-primary));
  background-size: 200% 200%;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  box-shadow:
    0 8px 30px rgb(0 94 184 / 40%),
    0 0 20px rgb(0 191 255 / 30%);
  color: white;
  position: relative;
  overflow: hidden;
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  animation: ctaPrimary 3s ease-in-out infinite;
}

@keyframes ctaPrimary {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
  transition: left 0.6s;
}

.hero-cta-primary:hover::before {
  left: 100%;
}

.hero-cta-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 15px 40px rgb(0 94 184 / 60%),
    0 0 30px rgb(0 191 255 / 50%);
  color: white;
}

.hero-cta-secondary {
  border: 3px solid rgb(255 255 255 / 80%);
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(15px);
  color: white;
  transition: all 0.4s ease;
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgb(255 255 255 / 10%), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.hero-cta-secondary:hover::before {
  transform: translateX(100%);
}

.hero-cta-secondary:hover {
  background: rgb(255 255 255 / 90%);
  border-color: white;
  color: var(--paantec-primary);
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 15px 40px rgb(255 255 255 / 30%),
    0 0 30px rgb(255 255 255 / 20%);
}

/* Indicador de Scroll mejorado */

.scroll-indicator {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgb(255 255 255 / 80%);
}

.scroll-down-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  font-size: 2rem;
  cursor: pointer;
  color: var(--paantec-text-light);
  text-shadow:
    0 0 10px rgb(0 191 255 / 80%),
    0 0 20px rgb(0 191 255 / 40%);
  transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
  transform: scale(1.2);
  text-shadow:
    0 0 20px rgb(0 191 255 / 100%),
    0 0 40px rgb(0 191 255 / 60%);
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

/* Responsividad del hero */

@media (width <=768px) {
  .hero-title-premium {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .hero-stats {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem !important;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .buildings-background .building {
    width: 30px;
    height: 150px;
  }
}

/* Call to Action Premium con Fondo Espectacular */

.cta-premium-section {
  background: linear-gradient(135deg, var(--paantec-gray-dark) 0%, var(--paantec-gray-medium) 25%, var(--paantec-gray-light) 50%, var(--paantec-gray-medium) 75%, var(--paantec-gray-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 20%) 0%, rgb(0 0 0 / 40%) 100%);
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem) !important;
  line-height: 1.2;
  text-shadow:
    0 0 10px rgb(0 191 255 / 30%),
    0 4px 8px rgb(0 0 0 / 30%);
}

.cta-title .text-warning {
  color: var(--paantec-gray-light) !important;
  text-shadow:
    0 0 15px rgb(0 191 255 / 60%),
    0 0 30px rgb(0 191 255 / 30%);
  animation: ctaTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes ctaTitleGlow {
  0% {
    text-shadow:
      0 0 15px rgb(0 191 255 / 60%),
      0 0 30px rgb(0 191 255 / 30%);
  }

  100% {
    text-shadow:
      0 0 25px rgb(0 191 255 / 80%),
      0 0 50px rgb(0 191 255 / 50%);
  }
}

.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.cta-badge .badge {
  font-weight: 600;
  border-radius: 50px;
  background: var(--paantec-gradient-primary);
  box-shadow: 0 4px 15px rgb(40 167 69 / 40%);
  animation: ctaBadgePulse 2s ease-in-out infinite alternate;
  border: 2px solid rgb(255 255 255 / 20%);
}

@keyframes ctaBadgePulse {
  from {
    box-shadow: 0 4px 15px rgb(40 167 69 / 40%);
    transform: scale(1);
  }

  to {
    box-shadow: 0 8px 25px rgb(40 167 69 / 60%), 0 0 20px rgb(40 167 69 / 30%);
    transform: scale(1.02);
  }
}

.benefit-item {
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.benefit-item:hover {
  transform: translateX(10px);
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(10px);
}

/* CTA Action Card mejorada */

.cta-action-card {
  position: relative;
}

.cta-action-card .card {
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(15px);
  border: 1px solid rgb(255 255 255 / 20%);
}

.cta-action-card .card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 25px 50px rgb(0 0 0 / 20%),
    0 0 30px rgb(0 191 255 / 20%);
}

.cta-icon {
  animation: ctaIconPulse 2s ease-in-out infinite;
}

@keyframes ctaIconPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgb(0 94 184 / 30%));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgb(0 94 184 / 60%));
  }
}

/* CTA Buttons mejorados */

.cta-phone-btn {
  background: linear-gradient(45deg, var(--paantec-gray-medium), var(--paantec-gray-light));
  border: none;
  border-radius: 15px;
  transition: all 0.4s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 15px rgb(0 94 184 / 30%);
}

.cta-phone-btn:hover {
  background: linear-gradient(45deg, var(--paantec-gray-light), var(--paantec-gray-medium));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgb(0 94 184 / 50%);
  color: white;
}

.cta-whatsapp-btn {
  background: linear-gradient(45deg, #25D366, #128C7E);
  border: none;
  border-radius: 15px;
  transition: all 0.4s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 15px rgb(37 211 102 / 30%);
}

.cta-whatsapp-btn:hover {
  background: linear-gradient(45deg, #128C7E, #25D366);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgb(37 211 102 / 50%);
  color: white;
}

.cta-form-btn {
  border: 2px solid var(--paantec-primary);
  border-radius: 15px;
  transition: all 0.4s ease;
  padding: 1rem;
  background: rgb(255 255 255 / 90%);
}

.cta-form-btn:hover {
  background: var(--paantec-primary);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgb(0 94 184 / 30%);
}

/* Clases de Gradientes Estandarizados */

.bg-gradient-primary {
  background: var(--paantec-gradient-primary) !important;
}

.bg-gradient-hero {
  background: var(--paantec-gradient-hero) !important;
}

.bg-gradient-accent {
  background: var(--paantec-gradient-light) !important;
}

.bg-gradient-light {
  background: var(--paantec-gradient-light) !important;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--paantec-gray-dark) 0%, var(--paantec-gray-medium) 50%, var(--paantec-gray-light) 100%) !important;
}

.bg-gradient-success {
  background: var(--paantec-gradient-primary) !important;
}

/* Clases para mejorar el contraste de texto */

.text-contrast-white {
  color: var(--paantec-text-light) !important;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 70%) !important;
}

.text-contrast-overlay {
  color: var(--paantec-text-overlay) !important;
  text-shadow: 1px 1px 3px rgb(0 0 0 / 60%) !important;
}

.text-contrast-dark {
  color: var(--paantec-text-primary) !important;
  text-shadow: none !important;
}

/* Mejoras para badges con mejor contraste */

.badge-contrast {
  font-weight: 700 !important;
  text-shadow: none !important;
  border: 1px solid rgb(0 0 0 / 12.5%) !important;
}

.badge-contrast.bg-warning {
  color: var(--paantec-text-primary) !important;
  background-color: var(--paantec-warning) !important;
  font-weight: 800 !important;
}

.badge-contrast.bg-light {
  color: var(--paantec-text-primary) !important;
  background-color: var(--paantec-bg-light) !important;
  border: 1px solid var(--paantec-secondary) !important;
  font-weight: 600 !important;
}

.badge-contrast.bg-white {
  color: var(--paantec-text-primary) !important;
  background-color: var(--paantec-bg-white) !important;
  border: 1px solid var(--paantec-secondary) !important;
  font-weight: 600 !important;
}

.cta-guarantee {
  border-top: 1px solid rgb(0 0 0 / 10%);
  padding-top: 1rem;
  background: rgb(248 249 250 / 50%);
  border-radius: 10px;
  margin-top: 1rem;
}

/* ================================
   RESPONSIVE DESIGN MEJORAS
   ================================ */

/* Mejor navegación móvil */

@media (width <=991.98px) {
  .navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 1.25rem !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  .navbar-collapse {
    margin-top: 1rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
    padding-top: 1rem;
  }
}

/* Mejoras para tablets */

@media (width <=768px) {
  /* Container responsive */

  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* Secciones con mejor espaciado */

  section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Botones más grandes en móvil */

  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
  }

  .btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }

  /* Formularios más usables */

  .form-control,
  .form-select {
    padding: 0.875rem !important;
    font-size: 1rem !important;
    border-radius: 0.5rem !important;
  }

  /* Cards con mejor espaciado */

  .card {
    margin-bottom: 1.5rem !important;
  }

  .card-body {
    padding: 1.25rem !important;
  }

  /* Modales más pequeños */

  .modal-dialog {
    margin: 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }

  /* Headers más pequeños */

  .display-1 {
    font-size: 3.5rem !important;
  }

  .display-2 {
    font-size: 3rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .display-6 {
    font-size: 1.5rem !important;
  }
}

/* Mejoras para móviles pequeños */

@media (width <=576px) {
  /* Container más estrecho */

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Secciones más compactas */

  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Headers aún más pequeños */

  .display-1 {
    font-size: 2.5rem !important;
  }

  .display-2 {
    font-size: 2rem !important;
  }

  .display-3 {
    font-size: 1.75rem !important;
  }

  .display-4 {
    font-size: 1.5rem !important;
  }

  .display-5 {
    font-size: 1.25rem !important;
  }

  .display-6 {
    font-size: 1.125rem !important;
  }

  /* WhatsApp float más pequeño */

  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    bottom: 15px !important;
    right: 15px !important;
    font-size: 24px !important;
  }

  /* Cards más compactas */

  .card-body {
    padding: 1rem !important;
  }

  /* Formularios optimizados para móvil */

  .form-control,
  .form-select,
  .form-check-input {
    padding: 0.75rem !important;
    font-size: 16px !important;
    /* Previene zoom en iOS */
  }

  /* Botones con mejor touch target */

  .btn {
    min-height: 44px !important;
    /* iOS accessibility guideline */
    padding: 0.75rem 1.25rem !important;
  }

  /* Grid más apretado */

  .row {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
  }

  .col,
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12,
  .col-auto,
  .col-sm,
  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-auto {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

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

/* Focus indicators más visibles */

.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: 2px solid var(--paantec-primary) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 0.2rem rgb(0 94 184 / 25%) !important;
}

/* Skip links para accesibilidad */

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--paantec-primary-dark);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  color: white;
}

/* Reduced motion para usuarios con preferencias de accesibilidad */

@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;
  }

  .whatsapp-float {
    animation: none !important;
  }

  .hero-section .elevator-animation,
  .hero-section .buildings-background,
  .hero-section .floating-particles {
    display: none !important;
  }
}

/* ================================
   PRINT STYLES
   ================================ */

@media print {

  .whatsapp-float,
  .btn,
  .navbar,
  .footer-paantec,
  .hero-section .buildings-background,
  .hero-section .elevator-animation,
  .hero-section .floating-particles {
    display: none !important;
  }

  .container {
    max-width: none !important;
  }

  .hero-section {
    min-height: auto !important;
    padding: 2rem 0 !important;
    background: white !important;
    color: black !important;
  }

  .hero-section h1,
  .hero-section h2,
  .hero-section p {
    color: black !important;
    text-shadow: none !important;
  }

  .card {
    border: 1px solid var(--paantec-gray-lighter) !important;
    box-shadow: none !important;
  }
}

/* Mapa de Colombia Espectacular */

/* Partículas flotantes para el mapa */
.floating-particles-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle-map {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 191, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.particle-map.particle-1 {
  top: 10%;
  left: 15%;
  animation: particleFloat1 8s ease-in-out infinite;
}

.particle-map.particle-2 {
  top: 25%;
  left: 85%;
  animation: particleFloat2 6s ease-in-out infinite;
}

.particle-map.particle-3 {
  top: 40%;
  left: 10%;
  animation: particleFloat3 10s ease-in-out infinite;
}

.particle-map.particle-4 {
  top: 60%;
  left: 90%;
  animation: particleFloat4 7s ease-in-out infinite;
}

.particle-map.particle-5 {
  top: 75%;
  left: 20%;
  animation: particleFloat5 9s ease-in-out infinite;
}

.particle-map.particle-6 {
  top: 90%;
  left: 80%;
  animation: particleFloat6 8s ease-in-out infinite;
}

.particle-map.particle-7 {
  top: 50%;
  left: 50%;
  animation: particleFloat7 11s ease-in-out infinite;
}

.particle-map.particle-8 {
  top: 30%;
  left: 70%;
  animation: particleFloat8 6.5s ease-in-out infinite;
}

@keyframes particleFloat1 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.6;
  }

  33% {
    transform: translateY(-20px) translateX(10px);
    opacity: 1;
  }

  66% {
    transform: translateY(10px) translateX(-15px);
    opacity: 0.4;
  }
}

@keyframes particleFloat2 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-30px) translateX(-20px);
    opacity: 0.8;
  }
}

@keyframes particleFloat3 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.5;
  }

  25% {
    transform: translateY(15px) translateX(20px);
    opacity: 0.9;
  }

  75% {
    transform: translateY(-10px) translateX(-10px);
    opacity: 0.3;
  }
}

@keyframes particleFloat4 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.7;
  }

  50% {
    transform: translateY(25px) translateX(15px);
    opacity: 0.2;
  }
}

@keyframes particleFloat5 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.6;
  }

  40% {
    transform: translateY(-15px) translateX(-25px);
    opacity: 1;
  }

  80% {
    transform: translateY(5px) translateX(10px);
    opacity: 0.4;
  }
}

@keyframes particleFloat6 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-35px) translateX(-30px);
    opacity: 0.8;
  }
}

@keyframes particleFloat7 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.4;
  }

  33% {
    transform: translateY(20px) translateX(-15px);
    opacity: 0.9;
  }

  66% {
    transform: translateY(-25px) translateX(25px);
    opacity: 0.6;
  }
}

@keyframes particleFloat8 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.6;
  }

  50% {
    transform: translateY(30px) translateX(20px);
    opacity: 0.3;
  }
}

/* Contenedor del mapa */
.map-container-spectacular {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 191, 255, 0.1);
}

.colombia-map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 0 20px rgba(0, 191, 255, 0.1);
}

.colombia-map-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(1.1) contrast(1.2);
  transition: all 0.3s ease;
}

.colombia-map-wrapper:hover .colombia-map-image {
  filter: brightness(1.3) contrast(1.4);
  transform: scale(1.02);
}

/* Overlay del mapa */
.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Marcadores de ciudades */
.city-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.city-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
}

.city-marker.capital {
  z-index: 15;
}

/* Núcleo del marcador */
.marker-core {
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, var(--paantec-gray-medium), var(--paantec-gray-light));
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
  animation: markerPulse 2s ease-in-out infinite;
}

.city-marker.capital .marker-core {
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, var(--paantec-gray-medium), var(--paantec-gray-light), var(--paantec-gray-medium));
  animation: markerPulseCapital 1.5s ease-in-out infinite;
}

/* Pulso del marcador */
.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 191, 255, 0.6);
  border-radius: 50%;
  animation: markerRipple 2s ease-out infinite;
}

.city-marker.capital .marker-pulse {
  width: 40px;
  height: 40px;
  animation: markerRippleCapital 1.5s ease-out infinite;
}

/* Resplandor del marcador */
.marker-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 191, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: markerGlow 3s ease-in-out infinite;
}

.city-marker.capital .marker-glow {
  width: 60px;
  height: 60px;
  animation: markerGlowCapital 2s ease-in-out infinite;
}

/* Animaciones de marcadores */
@keyframes markerPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8);
  }
}

@keyframes markerPulseCapital {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 191, 255, 1);
  }
}

@keyframes markerRipple {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.5);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

@keyframes markerRippleCapital {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.3);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
}

@keyframes markerGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes markerGlowCapital {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* Etiquetas de ciudades */
.city-label {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 191, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.city-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
}

.city-marker:hover .city-label {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.city-name {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--paantec-gray-medium);
}

.city-phone {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* Conexiones entre ciudades */
.city-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connections-svg {
  width: 100%;
  height: 100%;
}

/* Estadísticas espectaculares */
.coverage-stats-spectacular {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 1px solid rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(0, 191, 255, 0.1);
}

.stat-item-spectacular {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item-spectacular:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.stat-number-glow {
  text-shadow:
    0 0 10px rgba(0, 191, 255, 0.6),
    0 0 20px rgba(0, 191, 255, 0.4);
  font-weight: 900 !important;
}

/* Líneas de emergencia */
.emergency-lines {
  background: rgba(220, 53, 69, 0.1);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.emergency-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(220, 53, 69, 0.2);
  transition: all 0.3s ease;
}

.emergency-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.city-emergency {
  color: var(--paantec-text-light);
  font-weight: 600;
}

.phone-emergency {
  color: var(--paantec-gray-medium);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* ================================
   TIMELINE DE PROYECTOS
   ================================ */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--paantec-primary), var(--paantec-accent));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--paantec-primary);
  border: 3px solid white;
  border-radius: 50%;
  top: 28px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(11, 29, 120, 0.3);
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -8px;
}

.timeline-content {
  background: white;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-year {
  display: inline-block;
  background: var(--paantec-primary);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.timeline-content h4 {
  color: var(--paantec-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* Timeline responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 12px;
    right: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .map-container-spectacular {
    padding: 1rem;
  }

  .coverage-stats-spectacular {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    font-size: 1.2rem;
  }

  .city-label {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .marker-core {
    width: 12px;
    height: 12px;
  }

  .city-marker.capital .marker-core {
    width: 16px;
    height: 16px;
  }

  .emergency-grid {
    grid-template-columns: 1fr;
  }

  .emergency-item {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
}

@media (max-width: 576px) {
  .city-label {
    display: none;
  }

  .marker-core {
    width: 10px;
    height: 10px;
  }

  .city-marker.capital .marker-core {
    width: 14px;
    height: 14px;
  }
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--paantec-primary) 0%, var(--paantec-primary-dark) 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.cookie-banner-text strong {
  color: var(--paantec-text-light);
  font-weight: 600;
}

.cookie-banner-text a {
  color: var(--paantec-primary-lighter);
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
  color: var(--paantec-text-light);
}

.cookie-banner .btn-primary {
  background: var(--paantec-gradient-primary);
  border: none;
  padding: 8px 20px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(11, 29, 120, 0.3);
}

.cookie-banner .btn-primary:hover {
  background: var(--paantec-gradient-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(11, 29, 120, 0.4);
}

.cookie-banner .btn-outline-secondary {
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.cookie-banner .btn-outline-secondary:hover {
  color: var(--paantec-text-light);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Cookie Banner Animations */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px 0;
  }

  .cookie-banner-text {
    font-size: 0.875rem;
    margin-bottom: 15px;
  }

  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .cookie-banner .btn:last-child {
    margin-bottom: 0;
  }
}

/* Mapa de Google Maps Espectacular */
.colombia-map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 94, 184, 0.3);
  background: linear-gradient(135deg, var(--paantec-primary) 0%, var(--paantec-primary-dark) 100%);
  padding: 20px;
  margin: 20px 0;
}

.google-map-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.google-map-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.google-map-wrapper iframe {
  transition: all 0.3s ease;
}

.google-map-wrapper:hover iframe {
  filter: brightness(1.1) contrast(1.1);
}

/* Efectos de partículas flotantes */
.map-overlay-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--paantec-gradient-primary);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}

.particle-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle-2 {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.particle-3 {
  top: 80%;
  left: 25%;
  animation-delay: 2s;
}

.particle-4 {
  top: 30%;
  left: 70%;
  animation-delay: 3s;
}

.particle-5 {
  top: 70%;
  left: 60%;
  animation-delay: 4s;
}

.particle-6 {
  top: 40%;
  left: 85%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Marcadores de ciudades espectaculares */
.city-markers-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 20;
}

.city-marker-spectacular {
  position: absolute;
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.city-marker-spectacular:hover {
  transform: scale(1.5);
  z-index: 30;
}

.marker-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 3px solid var(--paantec-accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s ease-out infinite;
}

.marker-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, var(--paantec-accent-gold), var(--paantec-accent-gold));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: pulse-core 2s ease-out infinite;
}

.marker-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: glow 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes pulse-core {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes glow {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Tooltips de ciudades */
.city-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  border-radius: 10px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 40;
}

.city-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.city-marker-spectacular:hover .city-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

.city-tooltip h5 {
  margin: 0 0 8px 0;
  color: var(--paantec-accent-gold);
  font-size: 1rem;
}

.city-tooltip p {
  margin: 4px 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Líneas de conexión animadas */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 15;
}

.connections-svg {
  width: 100%;
  height: 100%;
  position: absolute;
}

/* Efectos adicionales para el mapa */
.colombia-map-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--paantec-gray-medium), var(--paantec-gray-light), var(--paantec-gray-lighter), var(--paantec-bg-white));
  border-radius: 22px;
  z-index: -1;
  animation: border-glow 4s linear infinite;
  background-size: 400% 400%;
}

@keyframes border-glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Responsive para el mapa */
@media (max-width: 768px) {
  .colombia-map-container {
    padding: 10px;
    margin: 10px 0;
  }

  .google-map-wrapper iframe {
    height: 300px;
  }

  .city-marker-spectacular {
    width: 15px;
    height: 15px;
  }

  .marker-pulse-ring {
    width: 30px;
    height: 30px;
  }

  .marker-core {
    width: 8px;
    height: 8px;
  }

  .city-tooltip {
    font-size: 0.75rem;
    padding: 10px;
  }
}

/* Efectos de hover mejorados */
.colombia-map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 94, 184, 0.4);
}

.colombia-map-container:hover .floating-particle {
  animation-duration: 3s;
}

/* Efectos de carga */
.colombia-map-container.loading {
  background: linear-gradient(90deg, var(--paantec-gray-bg) 25%, var(--paantec-gray-lighter) 50%, var(--paantec-gray-bg) 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* ==========================================
   SISTEMA DE MULTI-IDIOMA
   ========================================== */

/* Contenedor de botones de idioma */
.language-switcher {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: auto;
  margin-right: 1rem;
  order: 1;
}

/* Botones de idioma */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 2px solid var(--paantec-primary);
  background: transparent;
  color: var(--paantec-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}

.lang-btn:hover {
  background: var(--paantec-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 94, 184, 0.3);
}

.lang-btn.active {
  background: var(--paantec-primary);
  border-color: var(--paantec-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 94, 184, 0.4);
}

.lang-btn.active:hover {
  background: var(--paantec-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 94, 184, 0.6);
}

/* Iconos de banderas */
.flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Asegurar que el toggler esté al final */
.navbar-toggler {
  order: 2;
}

/* Responsive para móviles */
@media (max-width: 991px) {
  .language-switcher {
    margin-right: 0.75rem;
  }
}

@media (max-width: 768px) {
  .language-switcher {
    margin-right: 0.5rem;
    gap: 3px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .flag-icon {
    width: 16px;
    height: 12px;
  }
}

@media (max-width: 576px) {
  .language-switcher {
    margin-right: 0.25rem;
    gap: 2px;
  }

  .lang-btn {
    padding: 4px 6px;
    font-size: 0.7rem;
    gap: 3px;
  }

  .flag-icon {
    width: 14px;
    height: 10px;
  }
}

/* Efectos de carga para traducciones */
.translating {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.translated {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Mejoras para accesibilidad */
.lang-btn:focus {
  outline: 2px solid var(--paantec-primary);
  outline-offset: 2px;
}

.lang-btn:focus:not(:focus-visible) {
  outline: none;
}

/* Transiciones suaves para cambios de idioma */
[data-translate],
[data-translate-html] {
  transition: opacity 0.2s ease;
}

.changing-language [data-translate],
.changing-language [data-translate-html] {
  opacity: 0.5;
}

/* ================================
   HOTFIXES FOR CONTRAST AND SPACING ISSUES
   ================================ */

/* Fix text contrast issues - ensure dark text on light backgrounds */
.text-contrast-dark {
  color: var(--paantec-gray-dark) !important; /* Darker color for better contrast */
  font-weight: 500;
}

/* Fix for light text that appears on light backgrounds */
.text-muted {
  color: var(--paantec-secondary) !important; /* Standard Bootstrap muted color with good contrast */
}

/* Better contrast for lead text */
.lead.text-contrast-dark {
  color: var(--paantec-gray-dark) !important;
  font-weight: 400;
}

/* Fix hero spacing issues - remove excessive gaps */
.hero-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove white space bars between header and sections */
main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure sections connect smoothly */
section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Fix for sections following hero */
.hero-section + section,
.hero-section + .container,
.hero-section + div {
  margin-top: 0 !important;
  padding-top: 3rem !important; /* Controlled spacing */
}

/* Badge contrast improvements */
.badge.bg-warning {
  color: var(--paantec-text-primary) !important; /* Black text on yellow background */
  font-weight: 600;
}

.badge.bg-warning.badge-contrast {
  color: var(--paantec-text-primary) !important;
  border: 1px solid rgba(0,0,0,0.2);
}

/* Fix for any text that might be too light */
.text-white-50 {
  opacity: 0.8 !important; /* Slightly more visible */
}

/* Card text contrast fixes */
.card-text.text-contrast-dark {
  color: var(--paantec-gray-dark) !important;
}

/* Section background fixes for better text visibility */
section[style*="background: linear-gradient"] .text-contrast-dark {
  color: var(--paantec-gray-dark) !important;
  text-shadow: none !important;
}

/* Fix dropdown active state for better navigation */
.header-paantec .nav-link.active,
.header-paantec .dropdown-toggle.active {
  color: var(--paantec-text-light) !important;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Utility Classes - Secciones */
.section-hero-dark {
  background: var(--paantec-gradient-primary);
  color: var(--paantec-text-light);
}

.section-hero-overlay {
  background: var(--paantec-gradient-hero);
  background-size: cover;
  background-position: center;
  color: var(--paantec-text-light);
}

.section-light {
  background: var(--paantec-gradient-light);
}

.section-dark {
  background: var(--paantec-bg-dark);
  color: var(--paantec-text-light);
}

/* Fix text-primary contrast on dark backgrounds */
.section-dark .text-primary,
.section-hero-dark .text-primary,
.section-dark .text-inter-blue,
.section-hero-dark .text-inter-blue {
  color: var(--paantec-primary-lighter) !important;
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6,
.section-dark p, .section-dark small, .section-dark span,
.section-dark li, .section-dark strong {
  color: var(--paantec-text-light);
}

.text-inter-blue {
  color: var(--paantec-primary) !important;
}

.bg-inter-blue {
  background-color: var(--paantec-primary) !important;
}

.badge-gold {
  background: var(--paantec-accent-gold);
  color: var(--paantec-text-primary);
}
