:root{
  --bg: #f6f9ff;
  --panel: #ffffff;
  --border: #d7e3f6;

  --text: #1f2a37;
  --muted: #5b6b82;

  --purple-1: #1e4fa3;  /* ahora azul */
  --purple-2: #3b82f6;  /* ahora azul */
  --purple-3: #dbeafe;  /* ahora azul */

  --shadow: 0 10px 28px rgba(30, 64, 175, 0.12);
  --radius: 14px;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.4px;

  background-color: var(--bg);
  background-image:
  radial-gradient(900px 600px at 18% 10%, rgba(59,130,246,0.12), transparent 55%),
  radial-gradient(900px 600px at 88% 18%, rgba(30,79,163,0.12), transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%231e4fa3' stroke-opacity='0.10' stroke-width='2'%3E%3Crect x='40' y='40' width='40' height='40' rx='6'/%3E%3Crect x='140' y='40' width='40' height='40' rx='6'/%3E%3Crect x='90' y='120' width='40' height='40' rx='6'/%3E%3Cpath d='M60 80v20M80 60h20M160 80v20M140 60h20M110 120v-20M90 140h20'/%3E%3Cpath d='M50 170h120'/%3E%3Ctext x='85' y='190' font-size='16' fill='%231e4fa3' fill-opacity='0.15'%3E&lt;/&gt;%3C/text%3E%3C/g%3E%3C/svg%3E");
}

section{
  scroll-margin-top: 140px;
}

.header{
  max-width: 1050px;
  margin: 24px auto 0;
  padding: 26px 18px 18px;

  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);

  position: relative;
  overflow: hidden;
}

.header::before{
  content:"";
  position:absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
}

.header::after{
  content:"";
  position:absolute;
  width: 380px;
  height: 380px;
  right: -220px;
  top: -250px;
  background: radial-gradient(circle at 30% 35%, rgba(59,130,246,0.30), transparent 60%);
  pointer-events: none;
}

.header h1{
  text-align: center;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  color: var(--purple-1);
}

.menu{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.menu a{
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;

  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  color: var(--purple-1);

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.menu a:hover{
  transform: translateY(-1px);
  background: #dbeafe;
  border-color: #bcd7ff;
}

.btn-volver{
  display: block;
  margin: 12px auto 0;
  text-align: center;
  width: fit-content;
  padding: 10px 14px;

  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;

  background: linear-gradient(90deg, var(--purple-1), var(--purple-2));
  color: #ffffff;

  box-shadow: 0 10px 22px rgba(30, 79, 163, 0.25);
  border: 1px solid rgba(30, 79, 163, 0.15);
}

.btn-volver:hover{
  filter: brightness(1.05);
}

.contenido{
  max-width: 1280px; 
  margin: 22px auto 36px;
  padding: 0 18px;
}
.imagen1{
  text-align: center;
  margin: 20px 0;
}

.imagen1 img{
  max-width: 45%;
  height: auto;
}




.bloque{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 64px 52px;
  margin-bottom: 18px;

  box-shadow: var(--shadow);
  position: relative;
}

.bloque::before{
  content:"";
  position:absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 14px 0 0 rgba(59,130,246,0.35);
}


.bloque h2{
  position: relative;
  margin-bottom: 22px;
  padding: 14px 16px 14px 48px;

  background: linear-gradient(90deg, rgba(59,130,246,0.12), transparent);
  border-left: 6px solid var(--purple-2);
  border-radius: 10px;

  color: var(--purple-1);
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.35;
}

.bloque h2::before{
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow:
    0 0 0 4px rgba(59,130,246,0.25),
    0 0 0 8px rgba(59,130,246,0.12);
}


.bloque p{
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.8;
  margin-bottom: 14px;
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
}

.bloque h3{
  margin: 18px 0 10px;
  color: #1e3a8a;
  font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
}

ul{
  padding-left: 22px;
  margin: 10px 0 0;
}

ul li{
  margin: 6px 0;
  color: var(--text);
}

.placeholder{
  margin-top: 8px;
  color: var(--muted);
  font-style: italic;
}

.dos-columnas{
  display:flex;
  gap:16px;
  margin-top:12px;
}

.dos-columnas > div{
  flex:1;
  background: #f4f8ff;
  border:1px solid #d7e3f6;
  border-radius:12px;
  padding:14px;
}

.footer{
  max-width:1050px;
  margin:0 auto 30px;
  padding:14px 18px;
  text-align:center;

  background: rgba(255,255,255,0.88);
  border:1px solid var(--border);
  border-radius: var(--radius);

  color: var(--muted);
}

@media (max-width:900px){
  .dos-columnas{
    flex-direction: column;
  }
}
