/* Cocoa Capital - Quiénes Somos V1.0 REVIEW */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #044de0;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-hero .hero-photo {
  position: relative;
  height: 420px;
  object-fit: cover;
  width: 100%;
}
.about-hero-visual {
  min-height: 420px;
}
.about-history-section {
  padding: 32px 0 24px;
}
.about-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.about-history-img {
  height: 292px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-history-grid h2,
.about-section-title h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #071b52;
}
.about-history-grid h2:after,
.about-section-title h2:after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--cocoa-gold);
  margin-top: 9px;
}
.about-history-grid p {
  font-size: 15px;
  line-height: 1.72;
  color: #071b52;
  margin: 0 0 18px;
}
.about-mv-section {
  padding: 22px 0 18px;
}
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-mv-card {
  min-height: 178px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  align-items: start;
  background: linear-gradient(90deg, #fbfdff, #f3f7fc);
  border-radius: 18px;
  padding: 32px 34px;
  box-shadow: 0 8px 24px rgba(41, 60, 100, 0.05);
}
.about-round-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #071b52;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.about-mv-card h3 {
  font-size: 23px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #044de0;
}
.about-mv-card p {
  font-size: 14px;
  line-height: 1.58;
  margin: 0;
  color: #071b52;
}
.about-values-section {
  padding: 26px 0 28px;
}
.about-section-title p {
  font-size: 14px;
  line-height: 1.5;
  color: #071b52;
  margin: 0 0 18px;
}
.values-stair {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 0;
}
.value-step {
  position: relative;
  background: #fff;
  border: 1px solid #dbe4f1;
  min-height: 190px;
  padding: 38px 16px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(41, 60, 100, 0.06);
}
.value-step span {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #044de0;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}
.value-step i {
  display: block;
  color: #044de0;
  font-size: 32px;
  margin: 6px auto 18px;
}
.value-step h3 {
  font-size: 16px;
  line-height: 1.15;
  color: #044de0;
  margin: 0 0 12px;
}
.value-step p {
  font-size: 11px;
  line-height: 1.48;
  color: #071b52;
  margin: 0;
}
.step-1 {
  min-height: 184px;
}
.step-2 {
  min-height: 212px;
}
.step-3 {
  min-height: 240px;
}
.step-4 {
  min-height: 268px;
}
.step-5 {
  min-height: 296px;
}
.step-6 {
  min-height: 324px;
}
.step-7 {
  min-height: 352px;
}
.about-team-section {
  padding: 30px 0 26px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fd);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.team-card {
  min-height: 178px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(41, 60, 100, 0.05);
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: start;
}
.team-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
.team-card h3 {
  color: #044de0;
  font-size: 16px;
  line-height: 1.1;
  margin: 0 0 3px;
}
.team-card strong {
  display: block;
  color: #071b52;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 9px;
}
.team-card p {
  font-size: 11px;
  line-height: 1.46;
  color: #071b52;
  margin: 0;
}
.specialized-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 28px;
}
.specialized-grid h3 {
  color: #044de0;
  font-size: 22px;
  margin: 0 0 8px;
}
.specialized-grid p {
  color: #071b52;
  font-size: 13px;
  margin: 0 0 14px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.check-list li {
  position: relative;
  padding-left: 25px;
  color: #071b52;
  font-size: 13px;
  font-weight: 700;
}
.check-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #044de0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.network-visual {
  display: flex;
  justify-content: center;
}
.network-visual img {
  max-width: 470px;
  width: 100%;
}
.about-philosophy-section {
  padding: 30px 0 28px;
}
.about-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.institutional-card {
  background: linear-gradient(90deg, #fbfdff, #f4f8fd);
  border-radius: 16px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  min-height: 210px;
}
.about-line-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #044de0;
  color: #044de0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.institutional-card h3 {
  color: #044de0;
  font-size: 23px;
  margin: 0 0 14px;
}
.institutional-card p {
  color: #071b52;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.about-quote-cta {
  padding: 8px 0 18px;
}
.quote-cta-box {
  min-height: 142px;
  background: #071b52;
  color: #fff;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 0.92fr 1px 1.42fr;
  gap: 44px;
  align-items: center;
  padding: 26px 48px;
}
.quote-block p {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 12px;
}
.quote-block strong {
  color: var(--cocoa-gold);
  font-size: 14px;
}
.quote-divider {
  height: 88px;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.quote-message h2 {
  color: #fff;
  font-size: 31px;
  line-height: 1.12;
  margin: 0 0 16px;
}
.quote-message .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 1100px) {
  .about-history-grid,
  .about-mv-grid,
  .specialized-grid,
  .about-philosophy-grid,
  .quote-cta-box {
    grid-template-columns: 1fr;
  }
  .values-stair {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: stretch;
  }
  .value-step {
    min-height: 210px !important;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-divider {
    display: none;
  }
}
@media (max-width: 700px) {
  .team-grid,
  .check-list.two-cols,
  .values-stair {
    grid-template-columns: 1fr;
  }
  .about-mv-card,
  .institutional-card,
  .team-card {
    grid-template-columns: 1fr;
  }
  .quote-block p {
    font-size: 26px;
  }
  .quote-message h2 {
    font-size: 25px;
  }
}

/* PATCH V1.1 — Typography Normalization
   Objetivo: heredar la escala tipográfica aprobada en Home. */

/* Texto corporativo estándar */
.about-history-grid p,
.about-mv-card p,
.about-section-title p,
.specialized-grid p,
.institutional-card p,
.check-list li,
.team-card p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

/* Títulos principales de sección */
.about-history-grid h2,
.about-section-title h2 {
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
}

/* Títulos secundarios */
.about-mv-card h3,
.institutional-card h3,
.specialized-grid h3 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
}

/* Equipo directivo */
.team-card h3 {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.team-card strong {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

/* Valores: escala controlada para conservar escalera */
.value-step h3 {
  font-size: 17px;
  line-height: 1.18;
  font-weight: 800;
}

.value-step p {
  font-size: 14px;
  line-height: 1.55;
}

/* Ajustes de contención por aumento tipográfico */
.about-mv-card {
  min-height: 210px;
}

.team-card {
  min-height: 220px;
}

.institutional-card {
  min-height: 250px;
}

.step-1 {
  min-height: 210px;
}
.step-2 {
  min-height: 238px;
}
.step-3 {
  min-height: 266px;
}
.step-4 {
  min-height: 294px;
}
.step-5 {
  min-height: 322px;
}
.step-6 {
  min-height: 350px;
}
.step-7 {
  min-height: 378px;
}

/* Hero consistente con Home */
.about-hero p {
  font-size: 17px;
  line-height: 1.65;
}

.quote-block strong {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .value-step p {
    font-size: 15px;
  }
  .team-card {
    min-height: 230px;
  }
}

@media (max-width: 700px) {
  .about-history-grid p,
  .about-mv-card p,
  .about-section-title p,
  .specialized-grid p,
  .institutional-card p,
  .check-list li,
  .team-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .about-history-grid h2,
  .about-section-title h2 {
    font-size: 32px;
  }
}

/* PATCH V1.2 — Values Stair + Team Layout Balance
   Alcance estricto:
   - Corregir escalera de valores.
   - Equipo Directivo 3 arriba + 1 centrada abajo.
   - Avatar 72px → 96px.
   - Mejorar ancho útil de tarjetas.
   - Reducir altura visual de tarjetas aprox. 15%.
   - No modificar tipografía ni otras secciones.
*/

/* Valores: corregir desbalance de altura y alinear peldaños */
.values-stair {
  align-items: end;
}

.value-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 18px 18px;
}

.step-1 {
  min-height: 238px;
}
.step-2 {
  min-height: 258px;
}
.step-3 {
  min-height: 278px;
}
.step-4 {
  min-height: 298px;
}
.step-5 {
  min-height: 318px;
}
.step-6 {
  min-height: 338px;
}
.step-7 {
  min-height: 358px;
}

/* Equipo Directivo: 3 tarjetas arriba + Elizabeth centrada abajo */
.team-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: stretch;
}

.team-card {
  grid-column: span 2;
  min-height: 190px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 22px 24px;
  align-items: start;
}

.team-card:nth-child(4) {
  grid-column: 3 / span 2;
}

/* Avatar aumentado según solicitud */
.team-card img {
  width: 96px;
  height: 96px;
}

/* Responsive conserva equilibrio sin afectar tipografía */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card,
  .team-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }
}

/* PATCH V1.3 — Values Content + Team Responsive Break
   Alcance estricto:
   - Ajuste de contenido en valor #1.
   - Breakpoint para equipo directivo en pantallas tipo laptop 14".
   - No modificar tipografía ni otras secciones.
*/

/* Equipo Directivo: pasar a 2 tarjetas por fila antes para evitar texto angosto */
@media (max-width: 1366px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card,
  .team-card:nth-child(4) {
    grid-column: auto;
  }
}

/* Conserva 1 tarjeta por fila en móvil */
@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
