/* Landing /nuestro-equipo/ — estilos aislados bajo .eq para no afectar al menú ni al footer de la web */
.eq {
  --navy: #01162b;
  --green: #8fd300;
  --green-d: #4a7c00;
  --bg: #f6f8f3;
  --ink: #16202a;
  --mut: #5a6672;
  --card: #fff;
  --line: #dfe6d6;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
.eq p { margin: 0 0 12px; }
.eq a { color: var(--green-d); }
.eq picture { display: contents; }
.eq .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Miga de pan */
.eq .crumbs { display: block; font-size: 13px; color: #9fb0bd; margin: 0 0 18px; }
.eq .crumbs a { color: #9fb0bd; text-decoration: none; }
.eq .crumbs a:hover { color: #fff; text-decoration: underline; }
.eq .crumbs span { font-weight: 700; color: #fff; }

/* Botones */
.eq .btn { display: inline-block; background: var(--green); color: var(--navy); padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--green); font-family: inherit; font-size: 16px; cursor: pointer; transition: filter .2s, transform .2s; }
.eq .btn:hover { filter: brightness(1.08); transform: scale(1.05); }
.eq .btn.o { background: transparent; border-color: #fff; color: #fff; }

/* Hero */
.eq .hero { background: var(--navy); color: #fff; padding: 28px 0 64px; }
.eq .hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 14px; color: #fff; }
.eq .hero p { max-width: 720px; font-size: 18px; color: #d5e1ea; }
.eq .hero .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.eq .hero b, .eq .cta b { color: inherit; }

/* Cifras */
.eq .stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: -34px; position: relative; }
.eq .stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.eq .stat b { display: block; font-size: 34px; color: var(--green-d); line-height: 1.3; }
.eq .stat span { font-size: 14px; color: var(--mut); }

/* Secciones */
.eq section { padding: 48px 0; }
.eq h2 { font-size: 28px; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
.eq p.lead { color: var(--mut); margin: 0 0 26px; max-width: 760px; }
.eq .band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eq .sub, .eq .prov > h3 { font-size: 19px; margin: 26px 0 12px; border-left: 6px solid var(--green); padding-left: 10px; }
.eq .prov > h3 { font-size: 22px; margin-top: 0; }

/* Rejillas */
.eq .grid { display: grid; gap: 18px; }
.eq .g2 { grid-template-columns: repeat(2, 1fr); }
.eq .g3 { grid-template-columns: repeat(3, 1fr); }
.eq .g4 { grid-template-columns: repeat(4, 1fr); }
.eq .grid > *, .eq .ceo > *, .eq .step { min-width: 0; }
.eq .g2:has(> .person) { grid-template-columns: repeat(3, 1fr); }

/* Fichas de persona */
.eq .person { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.eq .person.real { border-color: var(--green); }
.eq .ph { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; display: grid; position: relative; }
.eq .ph img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.eq .wide .ph { aspect-ratio: 16 / 10; }
.eq .person h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.35; }
.eq .role { margin: 0; color: var(--green-d); font-weight: 700; font-size: 14px; }
.eq .meta { margin: 6px 0 0; font-size: 13px; color: var(--mut); }
.eq .meta a { color: var(--green-d); font-weight: 700; }
.eq .meta b { color: var(--ink); }

/* Dirección */
.eq .ceo { display: grid; grid-template-rows: auto 1fr; gap: 12px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.eq .ceo h3 { margin: 0; font-size: 19px; }
.eq .ceo > div:last-child { display: flex; flex-direction: column; height: 100%; }
.eq .ceo q { display: block; margin-top: 8px; color: var(--mut); flex: 1; }
.eq .ceo > div > .meta:last-child { margin-top: auto; }
.eq .ceo .ph { width: 100%; justify-self: stretch; } /* con aspect-ratio, el grid no la estira solo: en móvil quedaba más estrecha que la ficha */

/* Pasos */
.eq .steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eq .step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.eq .step:before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.eq .step h3 { margin: 0 0 4px; font-size: 16px; }
.eq .step p { margin: 0; font-size: 14px; color: var(--mut); }

/* Asociaciones, premios y citas */
.eq .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.eq .chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.eq .quote { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 12px; padding: 16px; }
.eq .quote small { color: var(--mut); }
.eq figure { margin: 0; }
.eq figure img { height: auto; } /* deja que mande el aspect-ratio y no el atributo height */

/* Preguntas frecuentes */
.eq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.eq summary { cursor: pointer; font-weight: 700; }
.eq details p { margin: 10px 0 0; }

/* Llamada a la acción */
.eq .cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 34px; text-align: center; }
.eq .cta h2 { color: #fff; }
.eq .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

@media (min-width: 861px) {
  .eq .ceo .role { min-height: 6.2em; }
}
@media (max-width: 860px) {
  .eq .g4, .eq .steps, .eq .stats { grid-template-columns: repeat(2, 1fr) !important; }
  .eq .g3 { grid-template-columns: 1fr 1fr; }
  .eq .g2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .eq .g3, .eq .g4, .eq .steps, .eq .g2:has(> .person) { grid-template-columns: 1fr !important; }
  .eq .hero { padding: 20px 0 56px; }
  .eq .cta { padding: 26px 18px; }
}
