/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #00152b;
  color: #2b2b2b;
}

/* ------------------ NAV ------------------ */
.institutional-header {
  background-color: #0f275f;
  border-bottom: 4px solid #082e52;
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

/* Logo */
.logo img {
  height: 130px;
  max-width: 100%;
  object-fit: contain;
}

/* Navegación */
.nav {
  display: flex;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #e1e5ea;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

/* Hamburguesa */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

/* Responsive nav */
@media (max-width: 768px) {
  .logo img {
    height: 80px;
  }

  .menu-icon {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav {
    display: none;
    width: 100%;
    background-color: #0f275f;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }

  #menu-toggle:checked ~ .nav {
    display: flex;
  }
}



/* ------------------ CONTACTO ------------------ */
.contact-section {
  background-color: #0a1e4d; 
  color: #ffffff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-section h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  width: 100%;
  max-width: 400px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-list a:hover {
  background-color: #1e3a8a;
  transform: scale(1.05);
}

.contact-list i {
  font-size: 1.3rem;
  color: #ffffff;
}

.schedule {
  font-style: italic;
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
}

@media (max-width: 480px) {
  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-list a {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .contact-list i {
    font-size: 1.2rem;
  }

  .contact-section p,
  .schedule {
    font-size: 0.95rem;
  }
}

/* ------------------ BOTÓN WHATSAPP ------------------ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}



/* ------------------ BLOG PROFESIONAL ------------------ */
.blog-entry-container {
  max-width: 900px;
  margin: 75px auto;
  padding: 0 20px;
}

.blog-entry {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 35px;
  line-height: 1.5;
}

.blog-entry h1 {
  font-size: 2.4rem;
  color: #012244; /* Azul institucional */
  text-align: center;
  font-weight: 700;
}

.blog-entry h2 {
  font-size: 1.5rem;
  color: #26195e; /* Verde institucional */
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 2px solid #def2f1;
  padding-bottom: 5px;
}

.blog-entry h3 {
  font-size: 1.3rem;
  color: #012244;
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-entry p {
  font-size: 1rem;
  color: #2b2b2b;
  margin-bottom: 18px;
}

/* Listas profesionales */
.comunicacion-list,
.tips-list,
.referencias {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.comunicacion-list li,
.tips-list li,
.referencias li {
  list-style: none;
  position: relative;
  padding-left: 0px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #2b2b2b;
}

/* Puntos elegantes para listas */
.comunicacion-list li::before,
.tips-list li::before {
  position: absolute;
  left: 0;
  color: #2b7a78;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Call to action elegante */
.cta {
  background-color: #def2f1;
  border-left: 5px solid #2b7a78;
  padding: 20px 25px;
  border-radius: 8px;
  font-weight: 600;
  color: #012244;
  margin-top: 30px;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Responsividad */
@media (max-width: 768px) {
  .blog-entry {
    padding: 30px 20px;
  }

  .blog-entry h1 {
    font-size: 2rem;
  }

  .blog-entry h2 {
    font-size: 1.3rem;
  }

  .blog-entry h3 {
    font-size: 1.1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 15px 20px;
  }
}


/* ------------------ BANNER DEL BLOG LIMPIO ------------------ */
.blog-banner {
  width: 100%;
  margin: 15px 0;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 12px;
}

.blog-banner img {
  width: 100%;
  height: 300px;           /* Altura fija tipo banner */
  object-fit: cover;       /* Cubre todo el espacio sin deformarse */
  object-position: center; /* Centrado en la imagen */
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.blog-banner img:hover {
  transform: scale(1.03); /* Efecto sutil al pasar el cursor */
}

/* Responsividad */
@media (max-width: 768px) {
  .blog-banner img {
    height: 200px; /* Altura menor en móviles */
  }
}
