@charset "UTF-8";
/* ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* ============================================= */
/* ============ VARIABLES GLOBALES Y RESET ======= */
/* ============================================= */
/* Azul oscuro, profesional */
/* Azul medio, para botones y links */
/* Azul claro, para acentos */
/* Fondo claro, casi blanco */
/* Texto principal oscuro */
/* Texto claro sobre fondos oscuros */
/* Gris para subtítulos y texto secundario */
/* Color para bordes sutiles */
/* Se recomienda importar Poppins desde Google Fonts */
/* ============================================= */
/* ================== FOOTER =================== */
/* ============================================= */
.main-footer {
  background-color: #0c1d38; /* Un azul aún más oscuro */
  color: #FFFFFF;
  padding: 60px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #a9b3c1;
}

.main-footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.footer-links ul {
  list-style: none;
}

.footer-links a, .footer-contact a {
  color: #a9b3c1;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
  color: #FFFFFF;
}

.footer-contact p {
  color: #a9b3c1;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  margin-right: 10px;
  color: #42A5F5;
}

.footer-social a {
  color: #a9b3c1;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #2a3a53;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: #a9b3c1;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #a9b3c1;
  text-decoration: none;
}

.logo-gtl {
  display: flex;
  align-items: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.logo-gtl .logo-symbol {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0A2E70, #4DA3FF);
  clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 24px;
  margin-right: 12px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}
.logo-gtl .logo-text {
  display: flex;
  flex-direction: column;
}
.logo-gtl .logo-text h1 {
  margin: 0;
  font-size: 28px;
  color: #0A2E70;
  letter-spacing: 2px;
}
.logo-gtl .logo-text span {
  font-size: 12px;
  color: #4DA3FF;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 2px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: bold;
  font-size: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.logo .gtl-letter {
  display: inline-block;
  padding: 0.2em 0.4em;
  border-radius: 5px;
  color: white;
}
.logo .gtl-letter.g {
  background-color: #2D9CDB;
}
.logo .gtl-letter.t {
  background-color: #27AE60;
}
.logo .gtl-letter.l {
  background-color: #EB5757;
}
.logo.logo-footer {
  font-size: 2rem;
}
.logo.logo-footer .gtl-letter.g {
  background-color: #1B4F72;
}
.logo.logo-footer .gtl-letter.t {
  background-color: #117864;
}
.logo.logo-footer .gtl-letter.l {
  background-color: #7B241C;
}

/* ============================================= */
/* ============ HEADER Y NAVEGACIÓN ============ */
/* ============================================= */
.main-header .inicio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  background-color: #FFFFFF; /* CORREGIDO: Usar blanco en lugar de lightblue */
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid #E0E0E0; /* CORREGIDO: Agregar borde visible */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* AGREGADO: Sombra sutil para mayor visibilidad */
}

/* Estado del header al hacer scroll */
.main-header.sticky {
  background-color: rgba(255, 255, 255, 0.95); /* MEJORADO: Más opaco para mejor visibilidad */
  backdrop-filter: blur(10px); /* Efecto 'glassmorphism' para navegadores modernos */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25); /* MEJORADO: Sombra más pronunciada */
  border-bottom: 1px solid #E0E0E0;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

.nav-links {
  display: flex; /* CORREGIDO: Mostrar en desktop */
  list-style: none;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

/* Efecto hover en los enlaces del menú */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #42A5F5;
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #212121;
}

.dropdown-menu a:hover {
  background-color: #F5F7FA;
}

.dropdown-menu a::after {
  display: none;
} /* Quitar subrayado en dropdown */
.btn {
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0D47A1;
  color: #FFFFFF;
  border: 1px solid #0D47A1;
}

.btn-primary:hover {
  background-color: #1976D2;
  border-color: #1976D2;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0D47A1;
  border: 1px solid #FFFFFF;
}

.btn-secondary:hover {
  background-color: transparent;
  color: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212121;
}

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

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #212121;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0D47A1;
}

.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #0D47A1;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

/* Hero Section */
.hero-nosotros {
  background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(25, 118, 210, 0.8)), url("https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=2669&auto=format&fit=crop") center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  margin-top: #FFFFFF;
}

.hero-servicios {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 50%, #2196F3 100%);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-servicios::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 50px 50px;
  opacity: 0.3;
}

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

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.hero-stat p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: #0D47A1;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #757575;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Servicios Principales */
.servicios-principales {
  padding: 5rem 0;
  background: #FFFFFF;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.servicio-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #0D47A1, #2196F3);
}

.servicio-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0D47A1, #2196F3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.servicio-icon i {
  font-size: 2rem;
  color: #FFFFFF;
}

.servicio-card h3 {
  font-size: 1.8rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.servicio-card p {
  color: #757575;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.servicio-features {
  list-style: none;
  margin-bottom: 2rem;
}

.servicio-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: #212121;
}

.servicio-features i {
  color: #4CAF50;
  margin-right: 1rem;
  font-size: 1.1rem;
}

.servicio-precio {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

/* Proceso de Trabajo */
.proceso-trabajo {
  padding: 5rem 0;
  background: #F5F7FA;
}

.proceso-timeline {
  position: relative;
  margin-top: 4rem;
}

.proceso-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #0D47A1, #2196F3);
  transform: translateX(-50%);
}

.proceso-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.proceso-item:nth-child(even) {
  flex-direction: row-reverse;
}

.proceso-content {
  flex: 1;
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 2rem;
  position: relative;
}

.proceso-number {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0D47A1, #2196F3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

.proceso-content h4 {
  font-size: 1.5rem;
  color: #0D47A1;
  margin-bottom: 1rem;
}

.proceso-content p {
  color: #757575;
  line-height: 1.7;
}

/* Sectores Especializados */
.sectores-especializados {
  padding: 5rem 0;
  background: #FFFFFF;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.sector-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: #F5F7FA;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sector-card:hover {
  background: #42A5F5;
  border-color: #2196F3;
  transform: translateY(-5px);
}

.sector-card i {
  font-size: 3rem;
  color: #0D47A1;
  margin-bottom: 1rem;
}

.sector-card h4 {
  font-size: 1.2rem;
  color: #0D47A1;
  margin-bottom: 0.5rem;
}

.sector-card p {
  color: #757575;
  font-size: 0.9rem;
}

/* Testimonios */
.testimonios {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
}

.testimonios .section-title,
.testimonios .section-subtitle {
  color: #FFFFFF;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonio-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonio-autor img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonio-info h5 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonio-info span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: #FFFFFF;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: #757575;
  margin-bottom: 2.5rem;
}

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

.btn-secondary {
  background: transparent;
  color: #0D47A1;
  border: 2px solid #0D47A1;
}

.btn-secondary:hover {
  background: #0D47A1;
  color: #FFFFFF;
}

/* Footer */
.main-footer {
  background: #212121;
  color: #FFFFFF;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

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

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #2196F3;
}

.footer-contact p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #2196F3;
  text-decoration: none;
}

.footer-social a {
  color: #ccc;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #2196F3;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  color: #ccc;
}

.footer-bottom a {
  color: #2196F3;
  text-decoration: none;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Historia Section */
.historia-section {
  background: #FFFFFF;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-text h3 {
  font-size: 2rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.historia-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.historia-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.historia-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Valores Section */
.valores-section {
  padding: 4rem 0;
  background-color: #F5F7FA;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valor-card {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.valor-card i {
  font-size: 3rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.valor-card h4 {
  font-size: 1.5rem;
  color: #0D47A1;
  margin-bottom: 1rem;
}

.valor-card p {
  color: #757575;
  line-height: 1.6;
}

/* Equipo Section */
.equipo-section {
  background: #FFFFFF;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #0D47A1;
}

.team-member h4 {
  font-size: 1.3rem;
  color: #0D47A1;
  margin-bottom: 0.5rem;
}

.team-member .position {
  color: #1976D2;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member p {
  color: #757575;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Metodologia Section */
.metodologia-section {
  padding: 4rem 0;
  background-color: #F5F7FA;
}

.metodologia-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.step-card:hover::before {
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}
.step-number {
  width: 60px;
  height: 60px;
  background: #FFFFFF;
  color: #0D47A1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.step-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.step-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Stats Section específico */
.stats-nosotros {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 4rem 0;
  text-align: center;
  margin: 2rem 0;
  border-radius: 15px;
}

.stats-nosotros .section-title {
  color: #FFFFFF;
}

.stats-nosotros .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

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

.stat-item h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Importar la fuente desde Google Fonts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #212121;
  background-color: #FFFFFF;
  line-height: 1.6;
}

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

/* ============================================= */
/* ================= HERO SECTION ================ */
/* ============================================= */
.hero-section {
  height: 100vh;
  min-height: 650px;
  color: #FFFFFF;
}

.hero-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay oscuro para mejorar la legibilidad del texto */
.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.slide-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.slide-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.slide-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Estilos para los controles de Swiper */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #FFFFFF;
  transition: transform 0.2s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  transform: scale(1.2);
}

.hero-slider .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.7);
  width: 12px;
  height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
  background-color: #FFFFFF;
}

/* ============================================= */
/* ============= SECCIONES COMUNES ============= */
/* ============================================= */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0D47A1;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #757575;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

/* ============================================= */
/* ================ SERVICIOS ================== */
/* ============================================= */
.services-section {
  background-color: #F5F7FA;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #FFFFFF;
  padding: 40px 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.15);
}

.service-card i {
  font-size: 3rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ============================================= */
/* ================ ESTADÍSTICAS =============== */
/* ============================================= */
.stats-section {
  background-color: #0D47A1;
  color: #FFFFFF;
  text-align: center;
}

.stats-section .section-title, .stats-section .section-subtitle {
  color: #FFFFFF;
}

.stat-item h3 {
  font-size: 5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.stat-item p {
  font-size: 1.2rem;
}

/* ============================================= */
/* ============== UNDERSTANDING (NOSOTROS) ===== */
/* ============================================= */
.pillars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.pillar {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  padding: 30px;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  text-align: center;
}

.pillar i {
  font-size: 2.5rem;
  color: #1976D2;
  margin-bottom: 1.5rem;
}

.pillar h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar .read-more {
  color: #1976D2;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

/* ============================================= */
/* ================== BLOG ===================== */
/* ============================================= */
.blog-preview-section {
  background-color: #F5F7FA;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content .blog-category {
  color: #1976D2;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card-content h5 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  flex-grow: 1; /* Hace que el título ocupe espacio para alinear botones */
}

.blog-card-content .read-more {
  color: #0D47A1;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start; /* Alinea el botón a la izquierda */
}

/* ============================================= */
/* ============ MEDIA QUERIES / RESPONSIVE ===== */
/* ============================================= */
/* Tablets y escritorios pequeños */
@media (max-width: 992px) {
  .nav-links {
    /* CORREGIDO: Ocultar solo en tablets y móviles */
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slide-content h1 {
    font-size: 2.5rem;
  }
}
/* Móviles */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-links {
    display: none;
  } /* AGREGADO: Asegurar que esté oculto en móviles */
  .main-nav .btn-primary {
    display: none;
  }
  .slide-content h1 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .pillars-container {
    flex-direction: column;
  }
  .pillar {
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-about, .footer-contact, .footer-social {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
/* Hero Section específico para blog */
.hero-blog {
  background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(25, 118, 210, 0.8)), url("https://images.unsplash.com/photo-1586953208448-b95a79798f07?q=80&w=2670&auto=format&fit=crop") center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  margin-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Container */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Blog Posts Section */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post-card {
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #0D47A1;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #757575;
}

.post-meta i {
  color: #1976D2;
}

.post-title {
  font-size: 1.5rem;
  color: #0D47A1;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-excerpt {
  color: #757575;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more-btn {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.widget-title {
  font-size: 1.3rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F5F7FA;
}

/* Search Widget */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid #F5F7FA;
  border-radius: 8px;
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: #1976D2;
}

.search-btn {
  background: #0D47A1;
  color: #FFFFFF;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #1976D2;
}

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
}

.categories-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #F5F7FA;
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  color: #757575;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.categories-list a:hover {
  color: #0D47A1;
}

.category-count {
  background: #F5F7FA;
  color: #0D47A1;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-post-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F5F7FA;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content h4 {
  font-size: 0.9rem;
  color: #0D47A1;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.recent-post-date {
  font-size: 0.8rem;
  color: #757575;
}

/* Newsletter Widget */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: 0.8rem;
  border: 2px solid #F5F7FA;
  border-radius: 8px;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: #1976D2;
}

.newsletter-btn {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
}

.newsletter-text {
  font-size: 0.9rem;
  color: #757575;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Featured Section */
.featured-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 4rem 0;
  text-align: center;
  margin: 2rem 0;
  border-radius: 15px;
}

.featured-section .section-title {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.featured-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.featured-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.featured-post-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.featured-post-card:hover {
  transform: translateY(-5px);
}

.featured-post-card h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.featured-post-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.featured-post-card .read-more-btn {
  background: #FFFFFF;
  color: #0D47A1;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a {
  background: #FFFFFF;
  color: #0D47A1;
  border: 2px solid #F5F7FA;
}

.pagination a:hover {
  background: #0D47A1;
  color: #FFFFFF;
  border-color: #0D47A1;
}

.pagination .current {
  background: #0D47A1;
  color: #FFFFFF;
  border: 2px solid #0D47A1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .blog-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .featured-posts-grid {
    grid-template-columns: 1fr;
  }
  .post-content {
    padding: 1.5rem;
  }
}
/* Header and Footer styles (assuming from app.css) */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0D47A1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1976D2;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: #0D47A1;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #757575;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer styles */
.main-footer {
  background: #0D47A1;
  color: #FFFFFF;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about p,
.footer-contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

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

.footer-links a,
.footer-contact a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 0.8;
}

.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

.footer-bottom a {
  color: #FFFFFF;
  text-decoration: none;
}

/* Contacto Page Styles */
/* Estilos específicos para la página de contacto */
/* Hero Section específico para contacto */
.hero-contacto {
  background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(25, 118, 210, 0.8)), url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?q=80&w=2574&auto=format&fit=crop") center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  margin-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Información de Contacto */
.contacto-info {
  background: #FFFFFF;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contacto-text h3 {
  font-size: 2rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.contacto-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.contacto-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #F5F7FA;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contacto-item:hover {
  transform: translateX(10px);
}

.contacto-item i {
  font-size: 1.5rem;
  color: #0D47A1;
  width: 30px;
  text-align: center;
}

.contacto-item-content h5 {
  font-size: 1.1rem;
  color: #0D47A1;
  margin-bottom: 0.25rem;
}

.contacto-item-content p {
  color: #757575;
  margin: 0;
  font-size: 0.95rem;
}

/* Formulario de Contacto */
.formulario-section {
  padding: 4rem 0;
  background-color: #F5F7FA;
}

.section-title {
  font-size: 2.5rem;
  color: #0D47A1;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #757575;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-container {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1/-1;
}

.form-group label {
  font-weight: 600;
  color: #0D47A1;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0D47A1;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* Mapa y Oficinas */
.oficinas-section {
  background: #FFFFFF;
  padding: 4rem 0;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mapa-container {
  margin-top: 3rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mapa-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D47A1;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Horarios de Atención */
.horarios-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  text-align: center;
  margin: 2rem 0;
  border-radius: 15px;
}

.horarios-section .section-title {
  color: #FFFFFF;
}

.horarios-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.horario-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.horario-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.horario-item h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.horario-item p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0.5rem 0;
}

/* Call to Action */
.cta-urgente {
  background: #ff5722;
  color: #FFFFFF;
  padding: 3rem 0;
  text-align: center;
  margin: 2rem 0;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.cta-urgente::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: sweep 3s infinite;
}

@keyframes sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.cta-urgente h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-urgente p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-urgente {
  background: #FFFFFF;
  color: #ff5722;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-urgente:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .main-content {
    padding: 0 1rem;
  }
  .form-container {
    padding: 2rem;
  }
  .horarios-grid {
    grid-template-columns: 1fr;
  }
}
/* Header y Footer básicos */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #757575;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0D47A1;
}

.main-footer {
  background: #333;
  color: #FFFFFF;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #999;
}

.footer-bottom a {
  color: #999;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Licitaciones Page Styles */
/* ================================================= */
/* ========= ESTILOS GLOBALES Y REUTILIZADOS ========= */
/* ================================================= */
/* Estos estilos se basan en tu página de contacto para mantener la consistencia.
    En un proyecto real, estarían en un archivo CSS centralizado (ej: app.css). */
:root {
  --primary-blue: #0d47a1;
  --secondary-blue: #1976d2;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --text-dark: #333333;
  --grey: #666666;
  --header-height: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  margin: 0;
  background-color: #F5F7FA;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #757575;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: #0D47A1;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

.section-title {
  font-size: 2.5rem;
  color: #0D47A1;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: #757575;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.main-footer {
  background: #333;
  color: #FFFFFF;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #999;
}

.footer-bottom a {
  color: #999;
  text-decoration: none;
}

/* ================================================= */
/* ========= ESTILOS PÁGINA DE LICITACIONES ========== */
/* ================================================= */
/* Hero Section para Licitaciones */
.hero-licitaciones {
  background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(25, 118, 210, 0.85)), url("https://images.unsplash.com/photo-1554224155-1696413565d3?q=80&w=2574&auto=format&fit=crop") center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  margin-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.main-content {
  padding: 2rem 0;
}

/* Sección de Proceso */
.proceso-section {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  counter-reset: step-counter; /* Inicia el contador para los pasos */
}

.proceso-paso {
  position: relative;
  background: #F5F7FA;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border-left: 5px solid #0D47A1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proceso-paso:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.proceso-paso::before {
  counter-increment: step-counter; /* Incrementa el contador */
  content: counter(step-counter, decimal-leading-zero); /* Muestra el número con un cero adelante */
  position: absolute;
  top: -20px;
  left: -15px;
  background: #1976D2;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 3px #1976D2;
}

.proceso-paso i {
  font-size: 2.5rem;
  color: #0D47A1;
  margin-bottom: 1.5rem;
}

.proceso-paso h4 {
  font-size: 1.4rem;
  color: #0D47A1;
  margin-bottom: 1rem;
}

.proceso-paso p {
  color: #757575;
  line-height: 1.7;
}

/* Sección de Sectores Destacados */
.sectores-section {
  padding: 4rem 2rem;
}

/* Sección CTA de Tecnología */
.tecnologia-cta {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 5rem 2rem;
  margin: 2rem 0;
  border-radius: 15px;
}

.tecnologia-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tecnologia-icon {
  text-align: center;
  font-size: 8rem;
}

.tecnologia-icon i {
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.tecnologia-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.tecnologia-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-light {
  background-color: #FFFFFF;
  color: #0D47A1;
  font-weight: bold;
}

.btn-light:hover {
  background-color: #F5F7FA;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tecnologia-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tecnologia-icon {
    margin-bottom: 2rem;
    font-size: 6rem;
  }
}
/* Inicio de Sesión Page Styles */
/* Estilos específicos para la página de login */
.hero-login {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 80px 0 40px;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  max-width: 450px;
  margin: 60px auto 60px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.login-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.login-header h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-weight: 600;
}

.login-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.login-form {
  padding: 40px 30px 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #3b82f6;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remember-me input[type=checkbox] {
  width: auto;
  margin: 0;
}

.forgot-password {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-divider {
  margin: 30px 0;
  text-align: center;
  position: relative;
}

.login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.login-divider span {
  background: white;
  padding: 0 20px;
  color: #6b7280;
  font-size: 0.9rem;
}

.register-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.register-link a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .login-container {
    margin: -40px 20px 40px;
  }
  .login-form {
    padding: 30px 20px 20px;
  }
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
/* Dashboard Page Styles */
/* Estilos específicos para la página de dashboard */
/* Variables CSS para el tema */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --light-blue: #dbeafe;
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --danger-red: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
}

/* Layout Principal */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--gray-200);
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.sidebar-logo {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.sidebar-logo .logo-symbol {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 12px;
}

.sidebar-logo .logo-text h2 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.sidebar-logo .logo-text span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.sidebar-nav {
  padding: 20px 0;
}

.nav-section {
  margin-bottom: 30px;
}

.nav-section-title {
  padding: 0 20px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  list-style: none;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.nav-link.active {
  background: var(--light-blue);
  color: var(--primary-blue);
  border-right: 3px solid var(--primary-blue);
}

.nav-link i {
  width: 20px;
  margin-right: 12px;
  text-align: center;
}

.nav-link .badge {
  background: var(--secondary-blue);
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.75rem;
  margin-left: auto;
  font-weight: 600;
}

.nav-submenu {
  padding-left: 52px;
  background: var(--gray-50);
}

.nav-submenu .nav-link {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
}

/* Top Header */
.top-header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-title h1 {
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.header-title p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* Dashboard Content */
.dashboard-content {
  padding: 24px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.stat-card-icon.blue {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.stat-card-icon.green {
  background: linear-gradient(135deg, #059669, var(--success-green));
}

.stat-card-icon.orange {
  background: linear-gradient(135deg, #d97706, var(--warning-orange));
}

.stat-card-icon.red {
  background: linear-gradient(135deg, #dc2626, var(--danger-red));
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1;
}

.stat-label {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.stat-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-change.positive {
  color: var(--success-green);
}

.stat-change.negative {
  color: var(--danger-red);
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* Recent Activities Table */
.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--gray-50);
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-200);
}

.data-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--gray-100);
}

.data-table tr:hover {
  background: var(--gray-50);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 4px;
}

.status-badge.en-proceso {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.status-badge.presentada {
  background: #fef3c7;
  color: #d97706;
}

.status-badge.adjudicada {
  background: #d1fae5;
  color: #059669;
}

.status-badge.descartada {
  background: #fee2e2;
  color: #dc2626;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  gap: 12px;
}

.action-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--gray-50);
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.action-item:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.action-item i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

/* Progress Chart */
.progress-item {
  margin-bottom: 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}

.progress-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-fill.blue {
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.progress-fill.green {
  background: linear-gradient(90deg, #059669, var(--success-green));
}

.progress-fill.orange {
  background: linear-gradient(90deg, #d97706, var(--warning-orange));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-content {
    padding: 16px;
  }
  .top-header {
    padding: 16px;
  }
  .header-actions {
    gap: 8px;
  }
}
/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  border-top-color: var(--primary-blue);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Estudio de Mercado Page Styles */
/* Variables CSS para el tema */
/* ESTUDIO DE MERCADO PAGINA - CORREGIDO */
/* Estudio de Mercado Page Styles */
/* Variables CSS para el tema */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f8fafc;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --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;
  --border-radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
}

.dashboard-layout {
  display: grid;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: 0;
  position: fixed;
  height: 100vh;
  width: 280px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-700);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
}

.logo-symbol {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
}

.logo-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-nav {
  padding: 1rem 0;
}

.nav-section {
  margin-bottom: 2rem;
}

.nav-section-title {
  padding: 0 1.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.nav-menu {
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.dsh-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
}

.nav-link.active {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-right: 4px solid var(--primary-color);
}

.nav-link i {
  width: 20px;
  text-align: center;
}

.badge {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: auto;
}

/* Main Content - CORREGIDO */
.main-content .estuio-mercado {
  margin-left: 280px; /* Cambiado de 28px a 280px para hacer espacio al sidebar */
  min-height: 100vh;
  background: var(--gray-50);
  width: calc(100% - 280px); /* Añadido para asegurar el ancho correcto */
}

.top-header {
  background: white;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%; /* Añadido para tomar todo el ancho */
}

.header-title h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.header-title p {
  color: var(--gray-600);
  font-size: 1rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.user-avatar:hover {
  transform: scale(1.05);
}

/* Market Study Content */
.market-content {
  padding: 2rem;
  width: 100%; /* Añadido para tomar todo el ancho disponible */
}

.market-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  width: 100%; /* Añadido para tomar todo el ancho */
}

.market-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.market-header p {
  opacity: 0.9;
  font-size: 1.125rem;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%; /* Añadido */
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-label {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.stat-change {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-change.positive {
  color: var(--success-color);
}

.stat-change.negative {
  color: var(--danger-color);
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.stat-card-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-card-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card-icon.orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.content-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%; /* Añadido */
}

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

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

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.card-body {
  padding: 1.5rem;
}

.chart-container {
  height: 400px;
  padding: 1rem;
}

.competitor-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.competitor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.competitor-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.competitor-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.competitor-details h4 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.competitor-details p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.competitor-metrics {
  display: flex;
  gap: 2rem;
  text-align: right;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
}

.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.opportunity-card {
  background: var(--gray-50);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border-left: 4px solid var(--success-color);
  transition: var(--transition);
}

.opportunity-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.opportunity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.opportunity-title {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.opportunity-sector {
  background: var(--success-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.opportunity-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 600;
}

.detail-value {
  font-weight: 600;
  color: var(--gray-900);
}

.trend-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
}

.trend-up {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.trend-down {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.trend-stable {
  background: rgba(107, 114, 128, 0.1);
  color: var(--gray-600);
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.export-section {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  text-align: center;
}

.export-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Media Queries - MEJORADO */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    width: 100%;
  }
  .content-grid.two-columns,
  .content-grid.three-columns {
    grid-template-columns: 1fr;
  }
  .market-stats {
    grid-template-columns: 1fr;
  }
  .top-header {
    padding: 1rem;
  }
  .market-content {
    padding: 1rem;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  .proceso-timeline::before {
    left: 20px;
  }
  .proceso-item {
    flex-direction: column !important;
    padding-left: 50px;
  }
  .proceso-number {
    left: 20px;
  }
  .proceso-content {
    margin: 0;
  }
  .nav-links {
    display: none;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
}