/*  Parte 2  */
   

:root{
  --bg: #f6fbf7;
  --panel: #ffffff;
  --border: #d9eadf;

  --text: #1f2a24;
  --muted: #5e7266;

  --green-1: #1b7a4b;
  --green-2: #2ea66b;
  --green-3: #bfe9cf;

  --shadow: 0 10px 28px rgba(17, 50, 31, 0.10);
  --radius: 14px;
}

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

html{
  scroll-behavior: smooth;
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;

  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 18% 10%, rgba(46,166,107,0.10), transparent 55%),
    radial-gradient(900px 600px at 88% 18%, rgba(27,122,75,0.10), 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='%231b7a4b' stroke-opacity='0.10' stroke-width='2'%3E%3Cpath d='M60 120c30-10 40-40 25-65-25 10-40 40-25 65Z'/%3E%3Cpath d='M150 165c-28-6-44-30-38-58 28 6 44 30 38 58Z'/%3E%3Cpath d='M70 130c18-12 35-8 52 6'/%3E%3Cpath d='M145 150c-14-18-33-20-56-14'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 220px 220px;
}

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.92), rgba(255,255,255,0.86));
  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(--green-1), var(--green-2));
}

.header::after{
  content:"";
  position:absolute;
  width: 380px;
  height: 380px;
  right: -220px;
  top: -250px;
  background: radial-gradient(circle at 30% 35%, rgba(46,166,107,0.25), 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(--green-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: #eaf7ef;
  border: 1px solid #cfe8d8;
  color: var(--green-1);

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

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

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

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

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

  box-shadow: 0 10px 22px rgba(27,122,75,0.18);
  border: 1px solid rgba(27,122,75,0.10);
}

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

.contenido{
  max-width: 1050px;
  margin: 22px auto 36px;
  padding: 0 18px;
}

.bloque{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  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(--green-2);
  box-shadow: 14px 0 0 rgba(46,166,107,0.35);
}

.bloque h2{
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f3ec;
  color: var(--green-1);
  letter-spacing: 0.4px;
}

.bloque h3{
  margin: 14px 0 10px;
  color: #24583e;
}

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: #fbfffc;
  border: 1px solid #e2f0e7;
  border-radius: 12px;
  padding: 14px;
}

.integrante{
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;

  background: linear-gradient(180deg, #ffffff, #fbfffc);
  border: 1px solid #cfe8d8;
}

.integrante h3{
  margin-top: 0;
}

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

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

  color: var(--muted);
}

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