* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #21335d;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  z-index: 1;
}

.container {
  max-width: 1200px;
  width: 100%;
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}


.titulo {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #FFF    ;
}

.contenido {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 40px;
  align-items: center;
}

.columna {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.descripcion {
  font-size: 1rem;
  margin-bottom: 20px;
}

.boton {
  display: inline-block;
  padding: 12px 20px;
  background-color: #4993d0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.boton:hover {
  background-color: #003d80;
}

.separador {
  display: flex;
  justify-content: center;
  align-items: center;
}

.linea {
  width: 4px;
  height: 100px;
  background-color: #d0d0d0;
  border-radius: 2px;
}

.background-pattern {
  position: fixed;
  inset: 0;
  background-image: url('pattern-hex.svg');
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.3;
  z-index: -2;
  animation: moverFondo 20s linear infinite;
}

@keyframes moverFondo {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 300px 300px;
  }
}

/* —— Divisor horizontal animado —— */
.divisor {
  position: relative;
  height: 24px;
  margin: 50px auto 0;
  max-width: 960px;
}
.divisor span {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, #24b4f7d9, transparent);
  border-radius: 2px;
}

/* —— Bloque Encuesta —— */
.encuesta {
  display: flex;
  justify-content: center;
  padding: 20px 0 0;
}
.encuesta-card {
  width: 100%;
  max-width: 820px;
  text-align: center;
  border: 2px solid rgba(60, 140, 231, 0.85);          /* rojo sutil para diferenciar */
  border-radius: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0);             /* glas-like sobre el fondo azul */
  color: #fff;
  box-shadow: 0 0 0 0 rgba(109, 187, 238, 0.35);
  transition: box-shadow .3s ease, transform .2s ease;
}
.encuesta-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px rgba(32, 161, 236, 0.12),
    0 10px 30px rgba(0,0,0,.25);
}
.encuesta-card h2 {
  margin-bottom: 6px;
  color: #ffffff;                                 /* título con matiz cálido */
  font-weight: 700;
}
.encuesta-card p {
  margin-bottom: 16px;
  color: rgba(255,255,255,.85);
}

/* Botón variante encuesta (rojo) */
.boton--encuesta {
  background-color: #3ca8e7;
}
.boton--encuesta:hover {
  background-color: #34aaf8;
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .divisor { margin: 30px auto 0; }
  .encuesta-card { padding: 22px; }
}


@media (max-width: 768px) {
  .contenido {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .separador {
    display: none;
  }

  .columna {
    padding: 20px;
  }
}
