
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #FFFFFF;
  color: #002F4F;
}

header {
  background: #01253f;
  color: white;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, #004080, #0066cc);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}
 #textTitle {
  font-size: 25px;
  font-weight:bolder  ;
} 

.countdown {
  font-size: 1.5rem;
  margin-top: 20px;
  font-weight: bold;
}

.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: #002F4F;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section p {
  font-weight: 300;
  line-height: 1.6;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 45%;
  border-left: 5px solid #6BD3BB;
}

footer {
  background: #002F4F;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.mail{
  color: white;
}
.redes-sociales {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.logo-red {
  height: 32px;
  transition: transform 0.3s ease;
}

.logo-red:hover {
  transform: scale(1.2);
  cursor: pointer;
}


.countdown .resaltado {
  color: #00C2B3;
  font-weight: bold;
  font-size: 2rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: #002F4F;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #002F4F;
  cursor: pointer;
}

.logo {
  height: 100px;
  padding: 0%;
  margin: 0%;
  position: relative;
  top: 20px;
}

.accordion-button {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left;
  width: 100%;
  padding: 0;
  cursor: pointer;
  color: #002F4F;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 10px;
}

.accordion-panel p {
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
}
.empresas-container {
  display: flex;
  
  align-items: center;         /* Alinea verticalmente */
  gap: 20px;                   /* Espacio entre imágenes (ajustable) */
}

.empresaCatel {
  height: 110px;
}
.empresaColsecor{
  height: 100px;
}
.imagen-animada {
  height: 80px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-animada:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


.empresa {
  height: 70px;
}
.imagen-referente-jose {
  height: 130px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-referente-jose:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.referente {
  text-align: center;
}

.texto-referente {
  margin-top: 5px;
  font-size: 14px;
  color: #002F4F;
}





/* --- HAMBURGUESA Y RESPONSIVE --- */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
padding: 0 0;
}

.hamburger {
  font-size: 50px;
  background: none;
  border: none;
  color: white;
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #01253f;
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin: 10px 0;
  }

  .logo {
    height: 80px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  #textTitle {
    font-size: 20px;
  }

  .countdown {
    font-size: 1.2rem;
  }

  .countdown .resaltado {
    font-size: 1.5rem;
  }

  .cards {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
  }

  .empresas-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .empresaCatel,
  .empresaColsecor,
  .empresa,
  

  #texctReferente {
    font-size: 14px;
    left: 40px;
  }

  .modal-content {
    margin-top: 40%;
    padding: 20px;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p,
  .section p {
    font-size: 0.95rem;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .accordion-button {
    font-size: 1rem;
  }

  footer {
    font-size: 0.85rem;
  }

  .redes-sociales {
    flex-direction: column;
  }

  .logo-red {
    height: 28px;
  }
}


@media (min-width: 769px) {
  #navbar {
    display: flex;
    gap: 20px;
    margin-right: 20px;
  }

  header {
    flex-wrap: nowrap;
  }

  .header-container {
    flex-grow: 1;
    padding: 0 0;
  }
}
@media (min-width: 769px) {
  #navbar {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  header {
    flex-wrap: nowrap;
  }

  .logo {
    height: 100px;
    position: relative;
   
  }
}


/* === FIXES DE OVERFLOW === */

body {
  overflow-x: hidden;
}

header {
  width: 100%;
 
  box-sizing: border-box;
}

.header-container {
  max-width: 100%;
  
}

@media (max-width: 768px) {
  nav {
    overflow-x: hidden;
  }
}


.empresa-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.imagen-empresa {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
}

.texto-empresa {
  font-size: 10px;
  color: #002F4F;
  margin: 0;
}

/* Responsive fix for empresa container */
@media (max-width: 768px) {
  .empresas-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Mejora para imágenes responsive */
.imagen-empresa, .logo {
  max-width: 100%;
  height: auto;
}

/* Mejora contenedor de empresas en mobile */
@media (max-width: 768px) {
  .empresas-container {
    flex-direction: column !important;
    align-items: center;
    width: 100%;
  }
  .empresa-box {
    width: 100%;
  }
  .imagen-empresa {
    height: auto;
    width: 80%;
  }
}

/* --- FIXES GLOBALES RESPONSIVE --- */
* {
  box-sizing: border-box;
  max-width: 100%;
}

html, body {
  overflow-x: hidden;
}

/* LOGO responsive */
.logo {
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 100%;
  margin: 10px;
  position: static;
}

/* Asegura que no haya flex horizontal overflow en cards o containers */
.cards,
.empresas-container,
.header-container {
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

/* -- CARTAS EN COLUMNA -- */

.cards {
  display: block;
}

.card {
  width: 100%;
  margin-bottom: 20px;
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 20px;
  border-left: 5px solid #6BD3BB;
}

/* -- QUIÉNES IMPULSAN ALT+ RESPONSIVE -- */

/* Contenedor de empresas */
.empresas-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

/* Caja individual */
.empresa-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Imagen adaptativa */
.imagen-empresa {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-empresa:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Texto debajo de imagen */
.texto-empresa {
  font-size: 10px;
  color: #002F4F;
  margin: 0;
}
.lista-sin-punto a {
  text-decoration: none;
  color: #002F4F;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lista-sin-punto a:hover {
  text-decoration: underline;
}


/* Responsive: columna en móvil */
@media (max-width: 768px) {
  .empresas-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .imagen-empresa {
    height: 90px;
    width: auto;
  }
}

/* --- QUIÉNES IMPULSAN ALT+: RESPONSIVE FIJO --- */

/* Estructura base */
.empresas-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.empresa-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: auto;
}

.imagen-empresa {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.texto-empresa {
  font-size: 10px;
  color: #002F4F;
  margin: 0;
}

/* En escritorio: fila horizontal */
@media (min-width: 769px) {
  .empresas-container {
    flex-direction: row;
  }
}

/* En móvil: columna vertical */
@media (max-width: 768px) {
  .empresas-container {
    flex-direction: column;
    align-items: center;
  }
  .empresa-box {
    width: 100%;
  }
  .imagen-empresa {
    height: auto;
    max-height: 90px;
  }
}
