/* --- HEADER & NAVBAR ULTRA DINÁMICO Y LLAMATIVO --- */
/* ==========================================================================
   HEADER & NAVBAR ULTRA DINÁMICO Y LLAMATIVO
   ========================================================================== */

@media (max-width: 768px) {
  /* --- REDUCIR EL LOGO EN MÓVILES --- */
  .nav-container img {
    max-height: 45px !important; /* Altura ideal y compacta para celulares */
    width: auto !important;      /* Mantiene la proporción original sin deformarlo */
  }

  .menu-toggle {
    display: flex !important;
  }

  .nav-menu {
    display: none !important;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background: linear-gradient(135deg, #03070b, #091c24);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 9999;
    border-top: 2px solid rgba(0, 255, 136, 0.3);
    margin: 0;
    padding: 0;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    font-size: 20px;
  }
}


/* --- HEADER & NAVBAR ULTRA DINÁMICO Y LLAMATIVO --- */
  
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #03070b; /* Fondo base por seguridad */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(0, 168, 255, 0.5);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  z-index: 1000;
  padding: 8px 0;
}

/* Capa de fondo separada para que la imagen no parpadee ni desaparezca al mover el cursor */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 7, 10, 0.50), rgba(9, 28, 36, 0.60)), 
              url('imagen/encabezado1.jpg') no-repeat center center;
  background-size: cover;
  filter: brightness(1.12) contrast(1.08);
  -webkit-filter: brightness(1.12) contrast(1.08);
  z-index: -1; /* Se coloca detrás de los logos y enlaces para que nunca se oculten */
}

.header.scrolled {
  padding: 2px 0;
  border-bottom: 2px solid rgba(0, 255, 136, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
}

/* Estilo para el Logo si deseas darle un brillo al pasar el mouse */
.nav-container img {
  filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.3));
  transition: transform 0.3s ease;
}

.nav-container img:hover {
  transform: scale(1.04);
}

/* NAVEGACIÓN DESKTOP */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-link {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

/* Color llamativo al pasar el cursor o estar activo (Cian Neón / Verde Esmeralda) */
.nav-link:hover,
.nav-link.active {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

/* Línea inferior animada con degradado brillante */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00a8ff, #00ff88);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* BOTÓN HAMBURGUESA MÓVIL LLAMATIVO */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00a8ff, #00ff88);
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 168, 255, 0.5);
}

.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* MENÚ DESPLEGABLE MÓVIL RESPONSIVO */
/* ==========================================================================
   ESTILOS RESPONSIVOS (MÓVILES Y PANTALLAS PEQUEÑAS)
   ========================================================================== */
@media (max-width: 768px) {
  .header {
    padding: 20px 0;
  }

  .nav-container img {
    max-height: 42px; /* Logo más pequeño en celular como pediste */
    width: auto;
  }

  .menu-toggle {
    display: flex !important;
  }

  /* Menú desplegable a pantalla completa sin espacios en blanco */
  .nav-menu {
    display: none !important;
    position: fixed;
    top: 60px; /* <--- Se ajusta exactamente a la altura real del header móvil para evitar el hueco */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, #03070b, #091c24);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 9999;
    border-top: 2px solid rgba(0, 255, 136, 0.3);
    margin: 0;
    padding: 0;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-link {
    font-size: 20px;
  }
}


/* ==========================================================================
   HERO SLIDER - PANORÁMICO DE ANCHO TOTAL (SIN ESPACIO EN BLANCO)
   ========================================================================== */
/* ==========================================================================
   HERO SLIDER - PANORÁMICO DE ANCHO TOTAL (SIN ESPACIO EN BLANCO)
   ========================================================================== */
/* ==========================================================================
   HERO SLIDER - PANORÁMICO DE ANCHO TOTAL (SIN ESPACIO EN BLANCO)
   ========================================================================== */
.hero-slider-section {
  width: 100%;
  max-width: 100%;
  margin: 171px 0 30px 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 570px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(5, 10, 13, 0.45);
  border-top: 1.5px solid rgba(0, 168, 255, 0.35);
  border-bottom: 1.5px solid rgba(0, 168, 255, 0.35);
  border-left: none;
  border-right: none;
  background: #03070b;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.05);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 70px 15px 70px;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 7, 11, 0.85) 0%, rgba(3, 7, 11, 0.3) 50%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 650px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding-bottom: 0;
  box-shadow: none;
  transform: translateY(-40px);
}

.hero-badge,
.hero-content h1,
.hero-content p,
.hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-slide.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.hero-slide.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 168, 255, 0.2);
  border: 1px solid rgba(0, 255, 136, 0.6);
  color: #00ff88;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* Botón perfectamente alineado y sin solapamientos */
.btn-primary-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0077b6, #00ff88);
  color: #050a0d;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn-primary-neon:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 255, 136, 0.65);
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(5, 10, 13, 0.65);
  border: 1.5px solid rgba(0, 168, 255, 0.4);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.hero-nav-btn:hover {
  background: linear-gradient(135deg, #0077b6, #00ff88);
  border-color: #00ff88;
  color: #050a0d;
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 35px; }
.next-btn { right: 35px; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  right: 80px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.35s ease;
}

.hero-dot.active {
  width: 26px;
  background: #00ff88;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff88;
}

/* ==========================================================================
   ESTILOS RESPONSIVOS (MÓVILES Y PANTALLAS PEQUEÑAS)
   ========================================================================== */
/* ==========================================================================
   ESTILOS RESPONSIVOS (MÓVILES Y PANTALLAS PEQUEÑAS)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-slider-section {
    margin-top: 10px;
    padding: 0;
  }
  .hero-slider-container {
    height: 480px;
  }
  .hero-slide {
    padding: 0 20px 30px 20px;
    align-items: flex-end;
    justify-content: flex-start; /* <--- Alinea el contenido a la izquierda en celulares */
  }
  .hero-content {
    max-width: 100%;
    text-align: left;           /* <--- Texto alineado a la izquierda */
    align-items: flex-start;    /* <--- Mueve el botón y elementos hacia la izquierda */
    transform: translateY(0);
  }
  .hero-badge {
    margin: 0 0 8px 0;          /* <--- Quita el margen automático para que no se centre */
    font-size: 0.68rem;
    padding: 4px 12px;
  }
  .hero-content h1 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }
  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.45;
  }
  .btn-primary-neon {
    padding: 9px 20px;
    font-size: 0.85rem;
  }
  .hero-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .prev-btn { left: 12px; }
  .next-btn { right: 12px; }
  .hero-dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 12px;
  }
}
/* --- FIN DE SLAIDER SECCIÓN: LO QUE NOS DEFINE --- */

/* --- SECCIÓN: LO QUE NOS DEFINE --- */
.about-dynamic-section {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 85px 20px;
  color: #1e293b;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}

.about-container {
  max-width: 1140px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-badge {
  display: inline-block;
  background: rgba(0, 119, 182, 0.1);
  color: #0077b6;
  border: 1px solid rgba(0, 119, 182, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  color: #0f172a;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  margin: 15px auto 0;
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: center;
}

.about-text-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #0077b6;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-text-card:hover {
  transform: translateY(-4px);
  border-color: #00b4d8;
}

.about-text-card p {
  color: #475569;
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-text-card strong {
  color: #0f172a;
}

.about-text-card em {
  color: #0077b6;
  font-style: normal;
  font-weight: 600;
}

.about-cta-banner {
  margin-top: 25px;
  padding: 15px 20px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  color: #0f766e;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 20px;
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.pillar-item:hover {
  transform: translateX(10px);
  background: #f8fafc;
  border-color: #0077b6;
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.1);
}

.pillar-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  min-width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.pillar-icon {
  font-size: 1.6rem;
  background: rgba(0, 119, 182, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.2);
  min-width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.pillar-info h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
  color: #0f172a;
}

.pillar-info p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-title {
    font-size: 1.9rem;
  }
  .pillar-item:hover {
    transform: translateY(-4px);
  }
}

/* --- SECCIÓN: MISIÓN Y VISIÓN --- */
.main {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f4f7f9;
}

.group--color {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-bottom: 4px solid #00a8ff;
}

.group--color .container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInDown 0.8s ease-out forwards;
}

.main--tetle {
  font-size: 2.2rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main__txt {
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  color: #e0e6ed;
}

.today_special {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
}

.today_special > .today-special__title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.6rem;
  color: #1e272e;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.today_special > .today-special__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #00a8ff;
  border-radius: 2px;
}

.today_special .container__flex {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeInUp 0.9s ease-out forwards;
}

.today_special .container__flex:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);
}

.today-special__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.today_special .container__flex:hover .today-special__img {
  transform: scale(1.05);
}

.container__flex .today-special__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0077b6;
  padding: 20px 25px 10px 25px;
  border-bottom: 1px solid #eee;
}

.today-special__price {
  padding: 15px 25px 25px 25px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .today_special {
    grid-template-columns: 1fr;
  }
}

/* --- PIE DE PÁGINA (COMPACTO Y REDUCIDO) --- */
























/* --- PIE DE PÁGINA (COMPACTO, REDUCIDO Y TONALIDAD MÁS BAJA CON 'encabezado1') --- */

/* ==========================================================================
   PIE DE PÁGINA (MODERNO, REDUCIDO Y PROFESIONAL)
   ========================================================================== */
.mian-footer {
  position: relative;
  width: 100%;
  clear: both;
  background-color: #03070b;
  color: #ffffff;
  padding: 45px 20px 20px 20px;
  box-sizing: border-box;
  z-index: 10;
  overflow: hidden;
  margin-top: 0;
}

.mian-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 7, 10, 0.75), rgba(9, 28, 36, 0.82)), 
              url('imagen/encabezado1.jpg') no-repeat center center;
  background-size: cover;
  filter: brightness(0.9) contrast(1.05) saturate(0.9);
  -webkit-filter: brightness(0.9) contrast(1.05) saturate(0.9);
  z-index: -1;
}

.mian-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 3px;
  background: linear-gradient(90deg, #00a8ff, #00ff88, #00a8ff, #0051ff, #00a8ff);
  animation: dataFlow 4s linear infinite;
}

.mian-footer .container--flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mian-footer .column--33 {
  flex: 1;
  min-width: 260px;
  box-sizing: border-box;
}

.mian-footer .column__title {
  font-size: 1.15rem;
  color: #00a8ff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  padding-bottom: 6px;
  display: inline-block;
  font-weight: 800;
}

.mian-footer .column__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: #00ff88;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mian-footer .column--33:hover .column__title::after {
  width: 100%;
}

.mian-footer .column__txt {
  position: relative;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #00ff88;
}

.mian-footer .column__txt:not(:has(a)):not(:has(span)) {
  cursor: pointer;
}

.mian-footer .column__txt:not(:has(a)):not(:has(span)):hover {
  color: #ffffff;
  transform: translateX(6px);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #00ff88;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  animation: pulseSignal 2s infinite;
}

@media (min-width: 768px) {
  .mian-footer .column--33:not(:last-child) {
    border-right: 1px solid rgba(0, 168, 255, 0.2);
    margin-right: 15px;
    padding-right: 25px;
  }
}

/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */
.social-icons {
  display: flex;
  gap: 12px;
  margin: 14px 0 8px 0;
}

.social-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(0, 168, 255, 0.12);
  border: 1px solid rgba(0, 168, 255, 0.35);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-btn:hover {
  background-color: #00ff88;
  color: #03070b;
  border-color: #00ff88;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 255, 136, 0.45);
}

/* ==========================================================================
   INSIGNIAS DE CORREO (CELDA INDEPENDIENTE POR COLUMNA)
   ========================================================================== */
.email-badges-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.email-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.12), rgba(0, 255, 136, 0.12));
  border: 1px solid rgba(0, 168, 255, 0.35);
  color: #f1f5f9;
  padding: 7px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.email-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.email-badge:hover::after {
  left: 100%;
}

.email-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background-color: #00a8ff;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.6rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 168, 255, 0.5);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.email-badge:hover {
  background: linear-gradient(135deg, #0077b6, #00ff88);
  color: #03070b;
  border-color: #00ff88;
  transform: translateX(5px) translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 255, 136, 0.4);
}

.email-badge:hover .email-icon {
  background-color: #03070b;
  color: #00ff88;
  transform: rotate(15deg) scale(1.1);
}

.mian-footer .copy {
  width: 100%;
  text-align: center;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   ADAPTACIÓN PARA MODO CELULAR
   ========================================================================== */
@media (max-width: 768px) {
  .email-badges-wrapper {
    align-items: flex-start;
    width: 100%;
  }

  .email-badge {
    width: auto;
    max-width: 100%;
    font-size: 0.76rem;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes dataFlow {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@keyframes pulseSignal {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}




















/* --- FORMULARIO DE CORREO SECCIÓN DE CONTACTO --- */
.contact-section {
  background: linear-gradient(135deg, #eef2f7, #e2e8f0);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 1px solid rgba(0, 168, 255, 0.3); 
  border-bottom: 3px solid #cbd5e1; 
}

.contact-box {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(45deg, #0077b6, #00b4d8, #90e0ef, #0077b6);
  background-size: 300% 300%;
  animation: borderGlow 6s ease infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 35px;
}

.contact-title {
  color: #0f2027;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-subtitle {
  color: #555555;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.dynamic-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 10px;
  background: #f8fafc;
  border: none;
  border-bottom: 2px solid #cbd5e1;
  color: #1e293b;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  border-radius: 6px 6px 0 0;
  transition: background 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  background: #f1f5f9;
}

.input-group label {
  position: absolute;
  top: 12px;
  left: 10px;
  color: #64748b;
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -18px;
  left: 2px;
  font-size: 0.8rem;
  color: #0077b6;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.input-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.input-group input:focus ~ .input-line,
.input-group textarea:focus ~ .input-line {
  width: 100%;
}

.submit-btn {
  margin-top: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 119, 182, 0.3);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.5);
  background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(6px);
}

.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 22px;
  text-align: center;
  animation: fadeInAlert 0.4s ease;
}

.success-alert:not(:empty) {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}

.error-alert:not(:empty) {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- ANIMACIONES GENERALES --- */
@keyframes dataFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseSignal {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}