
  /* ===== TERRITORIO INDUSTRIAL - DISEÑO ORIGINAL RESTAURADO ===== */

/* Variables CSS */
:root {
  /* Colores principales */
  --primary-black: #1a1a1a;
  --primary-dark: #2d2d2d;
  --primary-medium: #404040;
  --primary-light: #6c757d;

  /* Colores neutros */
  --neutral-white: #ffffff;
  --neutral-light: #f8f9fa;
  --neutral-medium: #e9ecef;
  --neutral-dark: #495057;

  /* Colores de estado y destacados */
  --success-green: #28a745;
  --warning-orange: #fd7e14;
  --danger-red: #dc3545;
  --info-blue: #17a2b8;
  --highlight-yellow: #fff2a8; /* Un amarillo suave para destacar filas */
  --highlight-yellow-darker: #fde047; /* Amarillo más fuerte para texto o bordes */

  /* Sombras */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Tipografía */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

/* Reset y base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--primary-dark);
  background-color: var(--neutral-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sistema de contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Contenedor especial para Hero para forzar centrado flex */
.hero-container-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all var(--transition-medium);
}

header.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: var(--shadow-medium);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  min-height: 70px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all var(--transition-medium);
}

.logo:hover img {
  transform: scale(1.05);
}

/* ===== NAVEGACIÓN ===== */
#desktop-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--neutral-white);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-3) var(--space-2);
  position: relative;
  transition: all var(--transition-medium);
}

.nav-link:not(.btn-primary)::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neutral-white);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-link:not(.btn-primary):hover::before,
.nav-link:not(.btn-primary).active::before {
  width: 100%;
}

.nav-link:not(.btn-primary):hover {
  color: var(--neutral-light);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--neutral-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: var(--space-3);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  color: var(--primary-dark);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--font-size-sm);
}

.dropdown-menu a:hover {
  background: var(--neutral-light);
  color: var(--primary-black);
}

/* ===== HERO SECTION - CENTRADO PERFECTO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--neutral-white);
  max-width: 800px;
  padding: 0 var(--space-6);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-content p {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  margin-bottom: var(--space-8);
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Hero específico para páginas internas - MISMA ALTURA QUE INDEX */
.page-hero {
  height: 100vh;
  min-height: 600px;
}

/* Hero específico para contacto - MISMA ALTURA QUE INDEX */
.contact-hero {
  height: 100vh;
  min-height: 600px;
}

/* Hero específico para proyectos individuales */
.project-hero {
  height: 100vh;
  min-height: 600px;
}

/* ===== BOTONES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--primary-dark);
  color: var(--neutral-white);
  padding: var(--space-4) var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: var(--primary-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--primary-dark);
  padding: var(--space-4) var(--space-6);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--neutral-white);
  transform: translateY(-2px);
}

/* ===== SECCIONES - DISEÑO ORIGINAL ===== */
section {
  padding: var(--space-16) 0;
  position: relative;
}

section h2,
.section-header h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
  text-align: center;
}

.subtitle,
.section-header p {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  text-align: center;
  margin-bottom: var(--space-10);
}

/* ===== ABOUT SECTION (INTRO) - DISEÑO ORIGINAL ===== */
.intro {
  background: var(--neutral-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-6);
}

.about-text p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  color: var(--neutral-dark);
}
.about-text p.lead {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

.about-text .btn-primary {
  margin-top: var(--space-4);
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

/* About Detailed (usado en nosotros.html) */
.about-detailed {
  background-color: var(--neutral-white);
}
.about-detailed .section-header {
  margin-bottom: var(--space-10);
}

/* Mission Vision Values (usado en nosotros.html) */
.mission-vision {
  background-color: var(--neutral-light);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.mvv-card {
  background: var(--neutral-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
  text-align: center;
}
.mvv-icon {
  font-size: var(--font-size-3xl);
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.mvv-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.mvv-card p,
.mvv-card ul {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  line-height: 1.6;
}
.mvv-card ul {
  list-style: none;
  padding-left: 0;
}
.mvv-card ul li {
  margin-bottom: var(--space-2);
}

/* Why Choose Us (usado en nosotros.html) */
.why-choose-us {
  background-color: var(--neutral-white);
}
.why-choose-us .section-header {
  margin-bottom: var(--space-10);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.advantage-card {
  background: var(--neutral-light);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-subtle);
  text-align: center;
}
.advantage-icon {
  font-size: var(--font-size-2xl);
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.advantage-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.advantage-card p {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  line-height: 1.5;
}

/* ===== CTA SECTION - DISEÑO ORIGINAL ===== */
.cta {
  background: var(--primary-dark);
  color: var(--neutral-white);
  text-align: center;
}

.cta h2 {
  color: var(--neutral-white);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--neutral-white);
  color: var(--primary-dark);
}
.cta .btn-primary:hover {
  background: var(--neutral-light);
}
.cta .btn-secondary {
  color: var(--neutral-white);
  border-color: var(--neutral-white);
}
.cta .btn-secondary:hover {
  background: var(--neutral-white);
  color: var(--primary-dark);
}

/* ===== CONTACT SECTION - DISEÑO ORIGINAL ===== */
.contact {
  background: var(--neutral-light);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--neutral-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.contact-item i {
  font-size: var(--font-size-xl);
  color: var(--primary-dark);
  margin-top: var(--space-1);
  width: 24px;
  text-align: center;
}

.contact-item h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--primary-dark);
}

.contact-item p {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  line-height: 1.5;
}

.contact-form {
  max-width: 700px;
  margin: 40px auto 0;
}

/* ===== GALERÍA MEJORADA ===== */
.gallery-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.gallery-item-enhanced {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  aspect-ratio: 4 / 3;
}

.gallery-item-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.gallery-item-enhanced img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item-enhanced:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item-enhanced:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--neutral-white);
  font-size: var(--font-size-2xl);
}

/* ===== ANIMACIONES ===== */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.animate-fade-in {
  animation: fadeInUp 1s ease forwards;
}

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

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator i {
  font-size: var(--font-size-xl);
  color: var(--neutral-white);
}

@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neutral-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-medium);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-slow);
  z-index: 999;
}

#mobile-nav.active {
  left: 0;
}

#mobile-nav ul {
  list-style: none;
  text-align: center;
}

#mobile-nav li {
  margin: var(--space-6) 0;
}

#mobile-nav .nav-link {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  display: block;
  padding: var(--space-4);
}

/* Estilos para el menú móvil con submenú */
#mobile-nav .mobile-nav-item.has-submenu > a {
  display: flex;
  justify-content: center;
  align-items: center;
}

#mobile-nav .mobile-submenu-arrow {
  font-size: 0.8em;
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

#mobile-nav .mobile-nav-item.has-submenu.open .mobile-submenu-arrow {
  transform: rotate(180deg);
}

#mobile-nav .mobile-submenu {
  list-style: none;
  padding-left: 0;
  margin-top: var(--space-2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05); /* Un fondo sutil para el submenú */
  border-radius: var(--radius-md);
}

#mobile-nav .mobile-nav-item.has-submenu.open .mobile-submenu {
  max-height: 500px; /* Un valor suficientemente grande */
}

#mobile-nav .mobile-submenu li a {
  font-size: var(--font-size-lg); /* Un poco más pequeño que los items principales */
  font-weight: 500;
  padding: var(--space-3) var(--space-4);
  display: block;
  color: var(--neutral-light);
}
#mobile-nav .mobile-submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  .about-image {
    order: -1;
    margin-bottom: var(--space-6);
  }
  .about-text .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-grid-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  #desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    background-attachment: scroll;
  }

  section {
    padding: var(--space-12) 0;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .gallery-grid-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
  }

  /* En css/style.css o responsive.css, dentro de un media query para móviles */
  .footer-phone-link {
    color: inherit !important; /* Hereda el color del texto del footer */
    text-decoration: none !important; /* Quita el subrayado */
  }

  .footer-contact li a.footer-phone-link {
    color: inherit !important; /* Hereda el color del texto del footer */
    text-decoration: none !important; /* Quita el subrayado */
  }

  /* Para centrar el reCAPTCHA */
  .form-group .g-recaptcha {
    display: flex;
    justify-content: center;
  }
  /* O si el div de reCAPTCHA tiene un width fijo */
  .form-group .g-recaptcha > div {
    /* El div interno que crea reCAPTCHA */
    margin: 0 auto !important; /* Forzar centrado */
  }

  /* Ajustes para la sección del mapa en index.html en móviles */
  .location-map-section .container {
    display: flex;
    flex-direction: column;
  }

  .location-map-section .location-content {
    display: flex;
    flex-direction: column; /* Apila los elementos */
  }

  .location-map-section .location-benefits {
    order: 1; /* Se muestra primero */
    margin-bottom: var(--space-8);
  }
  .location-map-section .location-benefits h3 {
    text-align: center;
  }

  .location-map-section .map-controls-external {
    order: 2; /* Se muestra después de los beneficios */
    margin-bottom: var(--space-6); /* Reducir margen inferior */
  }

  .location-map-section .map-container {
    order: 3; /* El mapa se muestra al final */
    height: 350px; /* Altura ajustada para móviles */
    width: 100%; /* Asegurar ancho completo */
    margin-left: 0; /* Resetear márgenes potenciales */
    margin-right: 0;
  }

  /* Asegurar que el div del mapa tome el ancho completo de su contenedor */
  #google-map {
    width: 100% !important;
    height: 100% !important; /* Asegurar que la altura también sea 100% de su contenedor */
  }

  /* Ajustes para la página BSA II en móviles */
  .bsa2-project-info .bsa2-text-content h3 {
    font-size: calc(var(--font-size-xl) * 0.9); /* Ligeramente más pequeño */
    /* text-align: center; /* Opcional: centrar este encabezado si se desea */
  }
  .bsa2-project-info .bsa2-text-content p,
  .bsa2-project-info .bsa2-text-content ul li {
    font-size: calc(var(--font-size-base) * 0.92); /* Ligeramente más pequeño para mejor ajuste */
    line-height: 1.6;
  }
  .bsa2-project-info .bsa2-text-content h4 {
    font-size: calc(var(--font-size-lg) * 0.9);
    text-align: center;
    /* text-align: center; /* Opcional: centrar este encabezado si se desea */
  }
  .bsa2-project-info .bsa2-financial-tables h4 {
    font-size: calc(var(--font-size-lg) * 0.9);
    text-align: center; /* Centrar los títulos de las tablas financieras */
  }

  .financial-table {
    font-size: calc(var(--font-size-sm) * 0.85); /* Reducir más el tamaño de fuente para el contenido de la tabla */
    min-width: auto; /* Permitir que la tabla se encoja más, confiar en el scroll del wrapper */
  }
  .financial-table th,
  .financial-table td {
    padding: var(--space-2) var(--space-2); /* Reducir más el padding */
    white-space: nowrap; /* Evitar que el texto se divida para mantener la tabla compacta, confiar en el scroll */
  }
  .financial-table th {
    font-size: calc(var(--font-size-xs) * 0.92);
  }
  .financial-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100vw; /* Asegura que no se desborde */
  box-sizing: border-box;
  margin-bottom: var(--space-6); /* Añadir espacio debajo de cada tabla */
  }

  /* Ajustes para centrado de texto en BSA II si es necesario */
  /* Si el problema de centrado se refiere a los bloques de texto principales: */
  .bsa2-project-info .bsa2-text-content {
    width: 100%; 
    box-sizing: border-box;
    /* Por defecto, el texto dentro de este bloque (p, ul) es mejor dejarlo alineado a la izquierda para legibilidad. */
    /* Si se necesita centrar todo el bloque o títulos específicos, se puede ajustar aquí. */
    /* Por ejemplo, para asegurar que el bloque ocupe el ancho y los títulos internos se centren si es necesario: */
    /* width: 100%; */
    /* box-sizing: border-box; */
  }
  .bsa2-project-info .bsa2-text-content h3,
  .bsa2-project-info .bsa2-text-content h4 {
      text-align: center;
    /* Los títulos principales de la sección ya están centrados. */
    /* Si estos subtítulos necesitan centrarse: text-align: center; */
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--space-10) 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .gallery-grid-enhanced {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILIDADES ===== */
.text-center {
  text-align: center;
}

.shadow-img {
  box-shadow: var(--shadow-strong);
}

/* Estilos para la galería original de proyectos */
.gallery-grid-original {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.gallery-item-original img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item-original img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-strong);
}

/* Estilos para la sección de brochure rediseñada (BSA II) */
.brochure-redesigned-section {
  background-color: var(--neutral-light);
}
.brochure-redesigned-section .section-header {
  margin-bottom: var(--space-10);
}
.brochure-redesigned-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-10);
  align-items: center;
  background-color: var(--neutral-white);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}
.brochure-visual-content {
  text-align: center;
}
.brochure-icon-large {
  font-size: 8rem;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.brochure-text-content-redesigned h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.brochure-text-content-redesigned p {
  font-size: var(--font-size-base);
  color: var(--neutral-dark);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.brochure-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-6);
}
.brochure-features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  margin-bottom: var(--space-3);
}
.brochure-features-list i {
  color: var(--primary-dark);
  width: 20px;
  text-align: center;
}
.brochure-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Responsive for brochure */
@media (max-width: 992px) {
  .brochure-redesigned-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brochure-text-content-redesigned h3,
  .brochure-text-content-redesigned p {
    text-align: center;
  }
  .brochure-features-list {
    display: inline-block;
    text-align: left;
  }
  .brochure-features-list li {
    justify-content: flex-start;
  }
  .brochure-buttons {
    justify-content: center;
  }
  .brochure-visual-content {
    margin-bottom: var(--space-6);
  }
}

/* Estilos para la nueva sección de información de BSA II */
.bsa2-project-info {
  background-color: var(--neutral-white);
}

.bsa2-project-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: var(--space-2); /* Reducido para acercar al subtítulo */
  letter-spacing: 2px;
  text-align: center;
}
.bsa2-project-info .subtitle {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  text-align: center;
  margin-bottom: var(--space-10);
}

.bsa2-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas por defecto */
  gap: var(--space-10);
  align-items: flex-start; /* Alinea los items al inicio */
}

.bsa2-text-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}

.bsa2-text-content p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--neutral-dark);
  margin-bottom: var(--space-4);
}

.bsa2-text-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.bsa2-text-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-4);
}

.bsa2-text-content ul li {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.bsa2-text-content ul li strong {
  color: var(--primary-dark);
}

.bsa2-financial-tables h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}
.bsa2-financial-tables h4:first-child {
  margin-top: 0;
}

/* Estilos para las tablas financieras */
.financial-table-wrapper {
  overflow-x: auto; /* Permite scroll horizontal en móviles */
  -webkit-overflow-scrolling: touch;
}

.financial-table {
  width: 100%;
  min-width: 500px; /* Evita que la tabla se comprima demasiado */
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  background-color: var(--neutral-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.financial-table th,
.financial-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--neutral-medium);
}

.financial-table th {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-xs);
}

.financial-table tbody tr:last-child td {
  border-bottom: none;
}

.financial-table tbody tr:hover {
  background-color: var(--neutral-light);
}

.financial-table .highlight-row {
  background-color: var(--highlight-yellow);
  font-weight: 600;
}

.financial-table .highlight-row td:first-child {
  color: var(--primary-black);
}

.financial-table .highlight-row:hover {
  background-color: #fef08a; /* Un poco más oscuro al pasar el mouse */
}

/* Responsive para la nueva sección de BSA II */
@media (max-width: 992px) {
  .bsa2-info-grid {
    grid-template-columns: 1fr; /* Una columna en tablets y móviles */
  }
  .bsa2-financial-tables {
    margin-top: var(--space-8); /* Espacio entre texto y tablas en móviles */
  }
}

@media (max-width: 576px) {
  section {
    padding: var(--space-10) 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .gallery-grid-enhanced {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILIDADES ===== */
.text-center {
  text-align: center;
}

.shadow-img {
  box-shadow: var(--shadow-strong);
}

/* Estilos para la galería original de proyectos */
.gallery-grid-original {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.gallery-item-original img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item-original img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-strong);
}

/* Estilos para la sección de brochure rediseñada (BSA II) */
.brochure-redesigned-section {
  background-color: var(--neutral-light);
}
.brochure-redesigned-section .section-header {
  margin-bottom: var(--space-10);
}
.brochure-redesigned-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-10);
  align-items: center;
  background-color: var(--neutral-white);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}
.brochure-visual-content {
  text-align: center;
}
.brochure-icon-large {
  font-size: 8rem;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.brochure-text-content-redesigned h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}
.brochure-text-content-redesigned p {
  font-size: var(--font-size-base);
  color: var(--neutral-dark);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.brochure-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-6);
}
.brochure-features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  margin-bottom: var(--space-3);
}
.brochure-features-list i {
  color: var(--primary-dark);
  width: 20px;
  text-align: center;
}
.brochure-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Responsive for brochure */
@media (max-width: 992px) {
  .brochure-redesigned-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brochure-text-content-redesigned h3,
  .brochure-text-content-redesigned p {
    text-align: center;
  }
  .brochure-features-list {
    display: inline-block;
    text-align: left;
  }
  .brochure-features-list li {
    justify-content: flex-start;
  }
  .brochure-buttons {
    justify-content: center;
  }
  .brochure-visual-content {
    margin-bottom: var(--space-6);
  }
}

/* Estilos para la nueva sección de información de BSA II */
.bsa2-project-info {
  background-color: var(--neutral-white);
}

.bsa2-project-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: var(--space-2); /* Reducido para acercar al subtítulo */
  letter-spacing: 2px;
  text-align: center;
}
.bsa2-project-info .subtitle {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  text-align: center;
  margin-bottom: var(--space-10);
}

.bsa2-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas por defecto */
  gap: var(--space-10);
  align-items: flex-start; /* Alinea los items al inicio */
}

.bsa2-text-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
}

.bsa2-text-content p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--neutral-dark);
  margin-bottom: var(--space-4);
}

.bsa2-text-content h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.bsa2-text-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-4);
}

.bsa2-text-content ul li {
  font-size: var(--font-size-sm);
  color: var(--neutral-dark);
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.bsa2-text-content ul li strong {
  color: var(--primary-dark);
}

.bsa2-financial-tables h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}
.bsa2-financial-tables h4:first-child {
  margin-top: 0;
}

/* Estilos para las tablas financieras */
.financial-table-wrapper {
  overflow-x: auto; /* Permite scroll horizontal en móviles */
  -webkit-overflow-scrolling: touch;
}

.financial-table {
  width: 100%;
  min-width: 500px; /* Evita que la tabla se comprima demasiado */
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  background-color: var(--neutral-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.financial-table th,
.financial-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--neutral-medium);
}

.financial-table th {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-xs);
}

.financial-table tbody tr:last-child td {
  border-bottom: none;
}

.financial-table tbody tr:hover {
  background-color: var(--neutral-light);
}

.financial-table .highlight-row {
  background-color: var(--highlight-yellow);
  font-weight: 600;
}

.financial-table .highlight-row td:first-child {
  color: var(--primary-black);
}

.financial-table .highlight-row:hover {
  background-color: #fef08a; /* Un poco más oscuro al pasar el mouse */
}

/* Responsive para la nueva sección de BSA II */
@media (max-width: 992px) {
  .bsa2-info-grid {
    grid-template-columns: 1fr; /* Una columna en tablets y móviles */
  }
  .bsa2-financial-tables {
    margin-top: var(--space-8); /* Espacio entre texto y tablas en móviles */
  }
}
a[href^="tel"] {
  text-decoration: none;
  color: inherit;
}
