/* Nosotros: jerarquía ligera, fotografías editables y datos accesibles. */
.about-page { --about-ink: #21533b; --about-line: #dce7df; }
.about-page .about-top { margin-right: 0; padding: 126px 0 48px; border-radius: 0 0 56px 0; }
.about-page .about-intro { width: calc(100% - 80px); max-width: var(--wrap); margin-inline: auto; min-height: 0; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); border-radius: 36px; }
.about-page .about-intro > figure { min-height: 440px; }
.about-page .about-intro > figure img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center 54%; }
.about-page .about-intro-copy { padding: 36px 40px; align-self: center; }
.about-page .about-intro h1 { margin: 0 0 20px; font-size: clamp(25px,2.3vw,32px); line-height: 1.2; letter-spacing: -.02em; }
.about-page .about-intro-copy > p { font-size: 14px; line-height: 1.7; }
.about-page .about-intro-copy > p + p { margin-top: 14px; }
.about-page .about-proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #ffffff40; }
.about-page .about-proof-item { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 8px; align-items: start; }
.about-page .about-proof-item::before { content: ''; width: 22px; height: 22px; background: currentColor; mask: var(--about-icon) center/contain no-repeat; }
.about-page .about-proof-item p { font-size: 11px; line-height: 1.5; font-weight: 500; }
.about-page .about-proof-item--seed { --about-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 14C5 14 4 7 4 5c6 0 8 3 8 7M12 10c0-5 3-7 8-7 0 6-3 9-8 9M7 21h10'/%3E%3C/svg%3E"); }
.about-page .about-proof-item--advice { --about-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15v-4a7 7 0 0 1 14 0v4M5 11H3v6h4v-6H5M19 11h2v6h-4v-6h2M19 17v2a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E"); }
.about-page .about-proof-item--field { --about-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-3a6 6 0 0 1 12 0v3M17 5a3 3 0 0 1 0 6M18 15a5 5 0 0 1 3 5'/%3E%3C/svg%3E"); }
.about-page .specialists { padding-block: 56px; }
.about-page .specialists h2 { margin: 0 0 20px; max-width: 850px; font-size: clamp(25px,2.6vw,34px); line-height: 1.24; letter-spacing: -.015em; }
.about-page .specialists > p { max-width: 900px; font-size: 15px; line-height: 1.7; }
.about-page .about-team-gallery { margin-top: 30px; border-radius: 28px; overflow: hidden; isolation: isolate; }
.about-page .about-team-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; border-radius: 28px; background: #007d3b; }
.about-page .about-team-track::-webkit-scrollbar { display: none; }
.about-page .about-team-track:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.about-page .about-team-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.about-page .about-team-photo { position: relative; flex: 0 0 100%; min-width: 0; height: clamp(280px,32vw,420px); margin: 0; overflow: hidden; scroll-snap-align: start; }
.about-page .about-team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; -webkit-user-drag: none; }
.about-page .about-team-photo--team img { object-position: center 45%; }
.about-page .about-team-photo--meeting img { object-position: center 48%; }
.about-page .about-team-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to bottom, transparent, #009245); pointer-events: none; }
.about-page .about-team-photo figcaption { position: absolute; inset: auto 0 0; z-index: 1; padding: 0 28px 20px; background: none; color: white; font-size: 14px; line-height: 1.5; pointer-events: none; }
.about-page .about-gallery-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.about-page .about-gallery-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff90; background: transparent; color: white; font: 400 30px/1 Arial,sans-serif; }
.about-page .about-gallery-button:hover { background: #ffffff18; }
.about-page .about-gallery-status { min-width: 44px; text-align: center; font-size: 13px; line-height: 1.5; }
.about-page .stats { border-radius: 48px 0 48px 0; padding-block: 44px; }
.about-page .stats-head { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; align-items: center; }
.about-page .stats-head h2 { font-size: clamp(26px,2.4vw,32px); line-height: 1.2; letter-spacing: -.015em; }
.about-page .stats-head p { font-size: 14px; line-height: 1.7; }
.about-page .stat-row { min-height: 84px; gap: 24px; }
.about-page .stat-row > p:first-child { font-size: 15px; line-height: 1.6; font-weight: 400; }
.about-page .stat-value { font-size: clamp(34px,3.6vw,48px); font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -.025em; }
.about-page .alliances { padding-block: 56px; }
.about-page .alliances > .eyebrow { font-size: 12px; letter-spacing: .07em; }
.about-page .alliances > h2 { margin: 14px 0 0; font-size: clamp(25px,2.5vw,32px); line-height: 1.25; }
.about-page .alliance-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 28px; padding: 28px 12px; border-radius: 32px; background: white; }
.about-page .alliance-card { min-width: 0; min-height: 0; padding: 12px 24px; border-radius: 0; background: transparent; color: var(--about-ink); border-left: 1px solid var(--about-line); }
.about-page .alliance-card:first-child { border-left: 0; }
.about-page .alliance-card figure { position: relative; width: min(160px,100%); height: 72px; margin: 0 auto 18px; overflow: hidden; }
.about-page .alliance-card img { position: absolute; left: 50%; top: 50%; width: calc(100% * var(--logo-scale)); height: auto; max-width: none; transform: translate(var(--logo-x,-50%),var(--logo-y,-50%)); }
.about-page .alliance-card:nth-child(1) { --logo-scale: 1.25073; --logo-y: -50.063%; }
.about-page .alliance-card:nth-child(2) { --logo-scale: 1.53631; }
.about-page .alliance-card:nth-child(3) { --logo-scale: 1.19711; --logo-x: -51.048%; }
.about-page .alliance-card:nth-child(4) { --logo-scale: 1.275; --logo-x: -50.201%; --logo-y: -49.937%; }
.about-page .alliance-card h3 { margin: 0; }
.about-page .alliance-card p { font-size: 13px; line-height: 1.7; }
.about-page .values { margin-bottom: 56px; grid-template-columns: 1fr 1fr; min-height: 0; border-radius: 32px; background: #fffdf7; color: var(--green); }
.about-page .values-copy { padding: 36px; overflow: visible; }
.about-page .values-copy::after { display: none; }
.about-page .values-copy > .eyebrow { margin-bottom: 24px; font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .07em; }
.about-page .values-copy h3 { position: relative; display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 19px; line-height: 1.3; font-weight: 500; white-space: normal; }
.about-page .values-copy h3::before { content: ''; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; background: var(--green); mask: var(--value-icon) center/22px no-repeat; border-radius: 50%; }
.about-page .values-copy h3:nth-of-type(1) { --value-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M8 14a6 6 0 1 1 8 0l-1 2H9l-1-2ZM12 1V0M4 4 2 2M20 4l2-2'/%3E%3C/svg%3E"); }
.about-page .values-copy h3:nth-of-type(2) { --value-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 8 3v6c0 5-4 8-8 11-4-3-8-6-8-11V5l8-3ZM8 11l3 3 5-6'/%3E%3C/svg%3E"); }
.about-page .values-copy h3:nth-of-type(3) { --value-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9h4l4 4h5a2 2 0 0 1 0 4h-6l-3-2H3V9ZM13 8V2M10 5h6M19 10l2-2M5 4l2 2'/%3E%3C/svg%3E"); }
.about-page .values-copy h3:nth-of-type(4) { --value-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21 3 12a6 6 0 0 1 9-8 6 6 0 0 1 9 8l-9 9ZM7 11h3l2-4 2 7 2-3h2'/%3E%3C/svg%3E"); }
.about-page .values-copy h3:nth-of-type(5) { --value-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='7' r='3'/%3E%3Ccircle cx='17' cy='8' r='2'/%3E%3Cpath d='M2 21v-3a6 6 0 0 1 12 0v3M16 15a4 4 0 0 1 6 4v2'/%3E%3C/svg%3E"); }
.about-page .values-copy p:not(.eyebrow) { margin-top: 3px; padding-left: 40px; font-size: 13px; line-height: 1.6; color: var(--about-ink); }
.about-page .purpose { position: relative; min-height: 450px; padding: 32px; isolation: isolate; }
.about-page .purpose .section-background { z-index: -1; }
.about-page .purpose .section-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-page .purpose-card { width: 340px; min-height: 0; padding: 28px; border-radius: 28px; background: #fffdf7; box-shadow: 0 10px 24px #033b1d14; }
.about-page .purpose-card .eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .05em; }
.about-page .purpose-card h3 { margin: 14px 0; color: var(--green); font-size: 22px; line-height: 1.25; font-weight: 700; }
.about-page .purpose-card > p:last-child { font-size: 13px; line-height: 1.6; color: var(--about-ink); }
/* Una sola franja horizontal; el texto completo se abre fuera del flujo. */
.about-page .history.history-compact { padding: 28px 0 24px; border-radius: 32px 32px 0 0; }
.about-page .history-compact > .wrap::before { display: none; }
.about-page .history-compact .history-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; margin: 0 0 16px; padding: 0; text-align: left; }
.about-page .history-compact .history-heading h2 { margin: 0; font-size: 28px; line-height: 1.2; }
.about-page .history-compact .history-heading p { margin: 0; font-size: 14px; line-height: 1.5; }
.about-page .timeline-track { --history-columns: 4; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px)/4); gap: 20px; padding: 6px 0 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; cursor: grab; }
.about-page .timeline-track::-webkit-scrollbar { display: none; }
.about-page .timeline-track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.about-page .timeline-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.about-page .timeline-track .timeline-row, .about-page .timeline-track .timeline-row:first-child { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 164px; gap: 0; margin: 0; padding: 14px 12px 0; border: 0; border-top: 1px solid #cfded2; scroll-snap-align: start; }
.about-page .timeline-track .timeline-row::before { content: ''; position: absolute; top: -4px; left: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.about-page .timeline-track .year { display: block; margin: 0; padding: 0; border-radius: 0; background: none; color: var(--green); font-size: 13px; line-height: 20px; font-weight: 500; }
.about-page .timeline-track h3 { min-height: 40px; margin: 8px 0 0; color: var(--green); font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: 0; }
.about-page .timeline-track .timeline-excerpt { min-height: 34px; margin-top: 8px; color: var(--about-ink); font-size: 12px; line-height: 17px; }
.about-page .timeline-track .timeline-story { overflow: visible; width: 100%; margin-top: auto; padding-top: 8px; border-radius: 0; background: transparent; color: var(--about-ink); }
.about-page .timeline-story summary { display: inline-flex; justify-content: flex-start; gap: 8px; min-height: 32px; padding: 2px 0; color: var(--green); font: 500 12px/1.5 Montserrat,Arial,sans-serif; letter-spacing: 0; }
.about-page .timeline-story summary::after { content: '↗'; width: 16px; height: auto; background: none; font-size: 17px; line-height: 1; transform: none; }
.about-page .timeline-story[open] summary::after { content: '−'; transform: none; }
.about-page .timeline-story > p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.about-page .timeline-story > figure { position: static; margin-top: 12px; width: 100%; height: auto; aspect-ratio: auto; border-radius: 12px; }
.about-page .timeline-story > figure img { width: 100%; height: auto; object-fit: contain; }
.about-page .history-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.about-page .history-status { color: var(--about-ink); font-size: 12px; line-height: 1.5; }
.about-page .history-arrows { display: flex; gap: 8px; }
.about-page .history-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #bed2c3; border-radius: 50%; background: transparent; color: var(--green); font: 400 26px/1 Arial,sans-serif; }
.about-page .history-arrow:hover:not(:disabled) { background: #f1f6ed; }
.about-page .history-arrow:disabled { opacity: .3; cursor: default; }
.history-dialog { width: min(620px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 32px; border: 0; border-radius: 24px; background: #fffdf7; color: #21533b; overflow-y: auto; }
.history-dialog::backdrop { background: #003d28b3; }
.history-dialog h2 { margin: 8px 36px 24px 0; color: var(--green); font-size: 24px; line-height: 1.3; font-weight: 500; }
.history-dialog-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--green); font: 400 28px/1 Arial,sans-serif; }
.history-dialog-close:hover { background: #e9f1e4; }
.history-dialog-body figure { margin: 0 0 20px; }
.history-dialog-body img { display: block; width: 100%; max-height: 240px; object-fit: contain; border-radius: 12px; }
.history-dialog-body p { margin: 0; font-size: 15px; line-height: 1.7; }
@media (min-width: 768px) and (max-width: 1099px) {
  .about-page .timeline-track { --history-columns: 3; grid-auto-columns: calc((100% - 40px)/3); }
}
@media (max-width: 1023px) {
  .about-page .about-intro-copy { padding: 28px; }
  .about-page .about-proof-grid { gap: 10px; }
  .about-page .about-proof-item { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .about-page .alliance-card { padding-inline: 16px; }
  .about-page .values-copy { padding: 28px; }
  .about-page .purpose { padding: 24px; }
}
@media (max-width: 767px) {
  .about-page .about-top { padding: 104px 0 32px; border-radius: 0 0 36px 0; }
  .about-page .about-intro { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); border-radius: 28px; }
  .about-page .about-intro > figure { min-height: 0; height: 260px; aspect-ratio: auto; }
  .about-page .about-intro > figure img { object-position: center 55%; }
  .about-page .about-intro-copy { padding: 28px 24px; }
  .about-page .about-intro h1 { font-size: 27px; }
  .about-page .about-proof-grid { margin-top: 22px; gap: 12px; }
  .about-page .about-proof-item p { font-size: 11px; }
  .about-page .specialists, .about-page .alliances { padding-block: 40px; }
  .about-page .specialists h2 br, .about-page .alliances h2 br { display: none; }
  .about-page .about-team-gallery, .about-page .about-team-track { border-radius: 20px; }
  .about-page .about-team-photo { height: 260px; }
  .about-page .about-team-photo figcaption { padding: 0 20px 14px; font-size: 12px; }
  .about-page .stats { padding-block: 36px; border-radius: 32px 0 32px 0; }
  .about-page .stats-head { grid-template-columns: minmax(0,1fr); gap: 18px; margin-bottom: 22px; }
  .about-page .stats-head p { max-width: none; justify-self: stretch; text-align: left; }
  .about-page .stat-row { min-height: 88px; gap: 16px; }
  .about-page .stat-row > p:first-child { max-width: 74%; font-size: 14px; }
  .about-page .stat-value { font-size: 36px; }
  .about-page .alliance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; margin-top: 24px; border-radius: 24px; }
  .about-page .alliance-card { padding: 18px 14px; }
  .about-page .alliance-card:nth-child(odd) { border-left: 0; }
  .about-page .alliance-card:nth-child(n+3) { border-top: 1px solid var(--about-line); }
  .about-page .alliance-card figure { height: 62px; margin-bottom: 14px; }
  .about-page .alliance-card p { font-size: 12px; line-height: 1.7; }
  .about-page .values { grid-template-columns: minmax(0,1fr); border-radius: 28px; }
  .about-page .values-copy { padding: 28px 24px; }
  .about-page .values-copy > .eyebrow { margin-bottom: 20px; }
  .about-page .values-copy h3 { font-size: 18px; }
  .about-page .purpose { min-height: 320px; padding: 24px; }
  .about-page .purpose-card { padding: 24px; border-radius: 24px; }
  .about-page .purpose-card h3 { font-size: 20px; }
  .about-page .history.history-compact { padding: 18px 0; border-radius: 24px 24px 0 0; }
  .about-page .history-compact .history-heading { display: block; margin-bottom: 12px; }
  .about-page .history-compact .history-heading h2 { font-size: 24px; line-height: 1.2; }
  .about-page .history-compact .history-heading p { margin-top: 6px; font-size: 13px; }
  .about-page .timeline-track { --history-columns: 1; grid-auto-columns: 100%; gap: 16px; }
  .about-page .timeline-track .timeline-row { padding-inline: 12px; }
  .history-dialog { padding: 28px 24px; }
  .history-dialog h2 { font-size: 21px; }

}
@media (prefers-reduced-motion: reduce) {
  .about-page .about-team-track, .about-page .timeline-track { scroll-behavior: auto; }
}
