/* ===== SISTEMA DE ADMISIÓN NOS - ESTILOS PRINCIPALES ===== */

/* ===== VARIABLES DE COLOR ===== */
:root {
  /* Paleta de colores principal - consistente con dashboard y login */
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #e7fbe9;
  --primary-lighter: #86efac;
  
  /* Colores de estado */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #3b82f6;
  
  /* Colores neutros */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Bordes */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  
  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR PROFESIONAL ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  transition: all var(--transition-normal);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition-normal);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition-normal);
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}

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

/* ===== HERO SECTION MEJORADO ===== */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 50%, rgba(134, 239, 172, 0.05) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(134, 239, 172, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--gray-800);
  padding: 0 2rem;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: var(--gray-600);
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* ===== BOTÓN HERO MEJORADO ===== */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
  text-decoration: none;
}

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

.btn-hero i {
  transition: transform var(--transition-fast);
}

.btn-hero:hover i {
  transform: translateX(5px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== SECCIONES ADICIONALES ===== */
.features-section {
  padding: 5rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== SECCIONES DE ENCABEZADO ===== */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SECCIÓN DE CARRERAS ===== */
.careers-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.career-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.career-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.career-card:hover .career-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.career-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.career-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.career-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.career-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
}

.career-features i {
  color: var(--success-color);
  font-size: 1.1rem;
}

.btn-career {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-block;
}

.btn-career:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
  text-decoration: none;
}

/* ===== SECCIÓN DE ESTADÍSTICAS ===== */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== SECCIÓN CTA ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
}

.btn-cta-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* ===== FOOTER PROFESIONAL ===== */
.footer-section {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.footer-section h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.footer-divider {
  border-color: var(--gray-700);
  margin: 2rem 0;
}

.contact-info a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--primary);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--primary);
  margin-top: 0.25rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .btn-hero {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-section {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn-hero {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .career-card {
    padding: 2rem 1.5rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    width: 30px;
    height: 30px;
  }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== MODO OSCURO (OPCIONAL) ===== */
@media (prefers-color-scheme: dark) {
  body {
    background: var(--gray-900);
    color: var(--gray-200);
  }
  
  .hero-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(22, 163, 74, 0.05) 50%, rgba(134, 239, 172, 0.02) 100%);
  }
  
  .hero-content h1 {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-content p {
    color: var(--gray-300);
  }
  
  .features-section {
    background: var(--gray-800);
  }
  
  .feature-card {
    background: var(--gray-700);
    border-color: var(--gray-600);
  }
  
  .feature-card h3 {
    color: var(--white);
  }
  
  .feature-card p {
    color: var(--gray-300);
  }
}

/* ===== HERO INSTITUCIONAL MEJORADO ===== */
.hero-banner-institucional {
  position: relative;
  min-height: 100vh;
  background: url('../images/banner.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-banner-institucional .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* Overlay negro translúcido para contraste */
  z-index: 2;
}
.hero-banner-institucional .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.25);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #f3f4f6;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease-out 0.4s both;
}
.btn-hero.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--white);
  box-shadow: none;
}
.btn-hero.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* HEADER INSTITUCIONAL MEJORADO */
.navbar-brand span span:last-child {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 0 2px #22c55e;
  opacity: 0.92;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar-brand span span:first-child {
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.1rem !important;
  border-radius: 2rem;
  transition: all 0.18s;
  position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  background: rgba(255,255,255,0.13);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  text-decoration: none;
}
.navbar-nav .nav-link.btn-light {
  background: #fff !important;
  color: var(--primary-dark) !important;
  font-weight: 700;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(34,197,94,0.10);
  transition: all 0.18s;
}
.navbar-nav .nav-link.btn-light:hover, .navbar-nav .nav-link.btn-light:focus {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: #fff;
}

/* HERO: refuerzo de contraste y legibilidad */
.hero-banner-institucional .hero-title {
  color: #fff !important;
  text-shadow: 0 6px 32px rgba(0,0,0,0.65), 0 2px 4px rgba(0,0,0,0.35);
}
.hero-banner-institucional .hero-subtitle {
  color: #f3f4f6 !important;
}

@media (max-width: 768px) {
  .hero-banner-institucional .hero-content {
    padding: 2rem 0.5rem;
  }
  .hero-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
