/* General */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f2f2;
    color: #333;
  }
  
  .container {
    max-width: 960px;
    margin: auto;
    padding: 0 15px;
  }
  
  /* =========================
     HEADER (logo ajustado)
     ========================= */
  .site-header {
    background: #70b4b4;
    color: #fff;
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
  }
  
  /* Logo Colmena (top-left) */
  .brand {
    display: flex;
    align-items: center;
  }
  
  .logo-header {
    width: clamp(140px, 16vw, 200px);
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  /* Columna fantasma para ayudar a centrar el banner en desktop */
  .brand-spacer {
    width: clamp(140px, 16vw, 240px);
  }
  
  /* Banner principal */
  header .banner {
    text-align: center;
    padding: 6px 8px;
  }
  
  header h1 {
    margin: 0;
    font-size: 24px;
  }
  
  header h2 {
    font-size: 20px;
    margin: 10px 0;
  }
  
  header p {
    font-size: 14px;
    margin: 0;
  }
  
  /* =========================
     BLOQUES
     ========================= */
  .bloque {
    display: flex;
    gap: 15px;
    background-color: #e4ecec;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    align-items: flex-start;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  }
  
  .bloque.bg-amarillo {
    background-color: #fff6dd;
  }
  
  .bloque.bg-verde {
    background-color: #ede5f78e;
  }
  
  /* Bloque imagen + texto */
  .bloque-imagen-texto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #e2f6e9;
  }
  
  /* Imagen lateral izquierda */
  .imagen-lateral img {
    width: 280px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Texto lateral derecha */
  .texto-lateral {
    flex: 1;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }
  
  .texto-lateral p {
    font-size: 15px;
  }
  
  .texto-lateral h3 {
    margin-top: 0;
    color: #0b4d91;
    font-size: 20px;
  }
  
  .texto-lateral strong {
    color: #0077cc;
  }
  
  .texto-lateral em {
    color: #555;
    font-style: italic;
  }
  
  .contenido strong {
    color: #0077cc;
  }
  
  /* Numeración */
  .icono-numero {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #0077cc;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  /* Contenido */
  .contenido h3 {
    margin-top: 0;
    font-size: 20px;
    color: #0b4d91;
  }
  
  .subtitulo {
    margin: 0;
    font-size: 17px;
    color: #0b4d91;
  }
  
  .contenido p,
  .contenido ul {
    font-size: 15px;
    margin: 8px 0;
  }
  
  .contenido ul {
    padding-left: 18px;
  }
  
  .contenido li {
    margin-bottom: 6px;
  }
  
  .contenido a {
    text-decoration: none;
    font-weight: 500;
  }
  
  .contenido a:hover {
    text-decoration: underline;
  }
  
  .linea-con-boton {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-top: 10px;
  }
  
  .btn-inline {
    background-color: #1a4c91;
    color: white;
    padding: 14px 14px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    white-space: nowrap;
  }
  
  .btn-inline:hover {
    background-color: #0d3b75;
  }
  
  /* =========================
     FOOTER (logo centrado y proporcionado)
     ========================= */
  footer {
    background-color: #0b4d91;
    color: white;
    text-align: center;
    padding: 22px 10px;
    font-size: 14px;
  }
  
  footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
  }
  
  .espacio-logos {
    margin-top: 6px;
    font-size: 12px;
    color: #ddd;
    text-align: center;
    font-weight: bold;
  }
  
  .logo-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
  }
  
  .logo-footer img {
    width: clamp(110px, 14vw, 190px);
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 0.95;
  }
  
  /* =========================
     Responsividad
     ========================= */
  @media (max-width: 768px) {
    /* Header: apila logo arriba y centra */
    .header-inner {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
    }
  
    .brand-spacer {
      display: none;
    }
  
    .brand {
      justify-content: center;
    }
  
    header .banner {
      padding: 4px 0 6px 0;
    }
  
    .bloque-imagen-texto {
      flex-direction: column;
      text-align: center;
    }
  
    .texto-lateral {
      padding-left: 0;
      margin-top: 15px;
    }
  
    .imagen-lateral img {
      width: 80%;
      max-width: 300px;
    }
  }
  
  @media (max-width: 600px) {
    .bloque {
      flex-direction: column;
      gap: 10px;
    }
  
    .icono-numero {
      align-self: center;
    }
  
    header h1 {
      font-size: 20px;
    }
  
    header h2 {
      font-size: 16px;
    }
  
    .contenido h3 {
      font-size: 16px;
    }
  
    .btn-inline {
      width: 100%;
      text-align: center;
    }
  }