/* about-page.css — Delto /nosotros styles
   Section prefix: .ab-*
   Aligned with platform-page / technology-page design language:
   - Hero: dark teal gradient + single photo with diagonal clip-path
   - .hl is color only (no background marker)
   - Section flow: dark → cream → cream → dark → cream → cream → cream → cream
   - Reuses .sect / .sect-inner / .sect-head / .eyebrow / .sect-sub primitives
*/

/* ── HERO — dark teal, copy left + photo right (diagonal cut) ── */
.ab-hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(165deg, #011a1f 0%, #01373d 55%, #012228 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ab-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: 100vh;
  padding-left: var(--gutter);
}
@media (max-width: 1080px) {
  .ab-hero-inner { grid-template-columns: 1fr; gap: 0; padding-right: var(--gutter); }
}

/* Shift the absolutely positioned scroll hint in by the gutter so it
   aligns with the copy column (matches .pp-hero-inner override). */
.ab-hero-inner > .ha-scrollhint { left: var(--gutter); }
.ab-hero-copy {
  padding: calc(var(--nav-h) + 56px) 0 72px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.ab-hero-copy h1 {
  font-family: var(--dt-font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  margin: 18px 0 24px;
}
.ab-hero-copy h1 .hl { color: var(--dt-lime); }
.ab-hero-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 500px;
  margin: 0 0 32px;
}
.ab-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Photo — bleeds to viewport edge, soft diagonal cut */
.ab-hero-photo {
  position: relative;
  align-self: stretch;
  margin-right: calc(50% - 50vw);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.ab-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 1080px) {
  .ab-hero-photo {
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    min-height: 380px;
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  }
}

/* ── STATS BAR — playful tonal cards with animated counts ─── */
.ab-stats { padding-block: 80px 36px; }
.ab-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .ab-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) { .ab-stats-grid { grid-template-columns: 1fr; } }

.ab-stat {
  --accent: var(--dt-teal);
  --accent-soft: rgba(1,55,61,.06);
  --accent-orb: rgba(1,55,61,.10);
  position: relative;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid rgba(1,55,61,.08);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  animation: ab-fade-up .55s var(--dt-ease-out) both;
  transition: transform .35s var(--dt-ease-out), box-shadow .35s var(--dt-ease-out), border-color .35s var(--dt-ease-out);
}
.ab-stat::before {
  /* big tonal orb anchored bottom-right — gives each card a playful colored bleed */
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--accent-soft);
  z-index: -1;
  transition: transform .5s var(--dt-ease-out);
}
.ab-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(1,55,61,.18);
  box-shadow: 0 22px 38px -22px rgba(1,55,61,.28);
}
.ab-stat:hover::before { transform: scale(1.2) translate(-12px, -12px); }
.ab-stat:hover .ab-stat-ico-orb { transform: scale(1.15); }

/* Icon with orbiting halo behind it */
.ab-stat-ico {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}
.ab-stat-ico-orb {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent-orb);
  z-index: -1;
  transition: transform .35s var(--dt-ease-out);
}

.ab-stat-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .9;
  margin-bottom: 8px;
}
.ab-stat-v {
  font-family: var(--dt-font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--dt-teal);
  line-height: 1;
  letter-spacing: -.03em;
  display: flex; align-items: baseline; gap: 2px;
}
.ab-stat-suf {
  font-size: .68em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}
.ab-stat-l {
  font-size: 13px;
  color: var(--dt-fg-muted);
  margin-top: 10px;
  font-weight: 500;
  line-height: 1.35;
}

/* Per-card tonal accents */
.ab-stat-teal  { --accent: var(--dt-teal);   --accent-soft: rgba(1,55,61,.05);    --accent-orb: rgba(1,55,61,.10);  }
.ab-stat-lilac { --accent: #5a4dc2;          --accent-soft: rgba(206,199,255,.30); --accent-orb: rgba(206,199,255,.45); }
.ab-stat-lime  { --accent: #6b8f1a;          --accent-soft: rgba(192,244,61,.22); --accent-orb: rgba(192,244,61,.35); }
.ab-stat-sand  { --accent: #b46a1a;          --accent-soft: rgba(242,224,201,.55); --accent-orb: rgba(242,224,201,.85); }

/* ── BANKING FOCUS — cream, copy left + photo right ────── */
.ab-banking { padding-block: 36px 100px; }
.ab-banking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1000px) {
  .ab-banking-inner { grid-template-columns: 1fr; gap: 40px; }
}
.ab-banking-copy h2 .hl { color: var(--dt-lime-dark); }
.ab-banking-bullets {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column;
  gap: 12px;
}
.ab-banking-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px;
  color: var(--dt-teal);
  font-weight: 500;
  line-height: 1.45;
  animation: ab-fade-up .45s var(--dt-ease-out) both;
}
.ab-banking-bullet-ic {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(192,244,61,.30);
  color: var(--dt-teal);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.ab-banking-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 50px -28px rgba(1,55,61,.38);
}
.ab-banking-photo img {
  width: 100%; display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
}

/* ── TEAM — dark, centered copy + clean photo strip ───── */
.ab-team {
  padding-block: 110px;
}
.ab-team .sect-head {
  text-align: center;
  margin-left: auto; margin-right: auto;
  max-width: 720px;
  margin-bottom: 56px;
}
.ab-team .sect-head .eyebrow { justify-content: center; display: inline-flex; }
.ab-team .sect-head h2 .hl { color: var(--dt-lime); }

.ab-team-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 14px;
}
@media (max-width: 920px) {
  .ab-team-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .ab-team-strip { grid-template-columns: 1fr; }
}
.ab-team-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 32px -20px rgba(0,0,0,.5);
  animation: ab-fade-up .6s var(--dt-ease-out) both;
  transition: transform .35s var(--dt-ease-out), box-shadow .35s var(--dt-ease-out);
}
.ab-team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--dt-ease-out);
}
.ab-team-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.65);
}
.ab-team-photo:hover img { transform: scale(1.04); }

.ab-team-quote {
  margin: 64px auto 0;
  max-width: 760px;
  text-align: center;
  padding: 0 20px;
}
.ab-team-quote-mark {
  font-family: var(--dt-font-display);
  font-size: 72px;
  line-height: .8;
  color: var(--dt-lime);
  font-weight: 700;
  opacity: .6;
  margin-bottom: 8px;
}
.ab-team-quote-text {
  font-family: var(--dt-font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: #fff;
  font-weight: 500;
}
.ab-team-quote-author {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}

/* ── VALUES — cream, 4 subtle cards ────────────────────── */
.ab-values { padding-block: 100px; }
.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .ab-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ab-values-grid { grid-template-columns: 1fr; }
}
.ab-value {
  padding: 30px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(1,55,61,.08);
  animation: ab-fade-up .5s var(--dt-ease-out) both;
  transition: transform .3s var(--dt-ease-out), box-shadow .3s var(--dt-ease-out);
}
.ab-value:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 32px -22px rgba(1,55,61,.32);
}
.ab-value-num {
  font-family: var(--dt-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--dt-lime-dark);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.ab-value-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform .3s var(--dt-ease-out);
}
.ab-value:hover .ab-value-ico { transform: scale(1.08) rotate(-3deg); }

/* Color tones — each card uses a distinct accent color per icon
   while the card chrome stays neutral white. Number stays lime-dark. */
.ab-value-teal  .ab-value-ico { background: rgba(1,55,61,.10);    color: var(--dt-teal); }
.ab-value-lime  .ab-value-ico { background: rgba(192,244,61,.35); color: #6b8f1a; }
.ab-value-lilac .ab-value-ico { background: rgba(206,199,255,.45); color: #5a4dc2; }
.ab-value-sand  .ab-value-ico { background: rgba(242,224,201,.85); color: #b46a1a; }
.ab-value-t {
  font-family: var(--dt-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dt-teal);
  margin-bottom: 8px;
  line-height: 1.25;
}
.ab-value-d {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dt-fg-muted);
}

/* ── URUGUAY / LATAM — cream, copy + globe PNG overlay ─ */
.ab-geo { padding-block: 100px; }
.ab-geo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .ab-geo-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Map wrapper — square aspect, holds the globe PNG */
.ab-geo-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  isolation: isolate;
}
.ab-geo-map-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 32px rgba(1,55,61,.10));
}

/* ── Cobe globe (reemplaza al PNG estático) ────────────── */
.cobe-globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  filter: drop-shadow(0 24px 40px rgba(1, 55, 61, .12));
}
.cobe-globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
  touch-action: none;
}
.cobe-globe-pin {
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity .35s ease;
  opacity: 0;
}
.cobe-globe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--dt-lime, #c0f43d);
  opacity: 0;
  animation: cobe-pulse-expand 2.2s ease-out infinite;
}
.cobe-globe-dot {
  width: 8px; height: 8px;
  background: var(--dt-lime, #c0f43d);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--dt-teal, #01373d),
    0 0 0 5px color-mix(in srgb, var(--dt-lime, #c0f43d) 55%, transparent),
    0 0 14px color-mix(in srgb, var(--dt-lime, #c0f43d) 80%, transparent);
}
@keyframes cobe-pulse-expand {
  0%   { transform: scale(.35); opacity: .85; }
  100% { transform: scale(2.2);  opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .cobe-globe-ring { animation: none; }
}

/* ── SUSTAINABILITY — official UN SDG colors per goal ─── */
.ab-sus { padding-block: 100px; }
.ab-sus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) {
  .ab-sus-grid { grid-template-columns: 1fr; }
}
.ab-sus-card {
  --sdg-color: var(--dt-teal);
  padding: 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(1,55,61,.08);
  overflow: hidden;
  animation: ab-fade-up .55s var(--dt-ease-out) both;
  transition: transform .3s var(--dt-ease-out), box-shadow .3s var(--dt-ease-out);
}
.ab-sus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px -22px rgba(1,55,61,.30);
}

/* SDG color block — large number on left, pill tag on right */
.ab-sus-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 28px 22px;
  background: var(--sdg-color);
  color: #fff;
}
.ab-sus-num {
  font-family: var(--dt-font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.ab-sus-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  color: #fff;
  text-transform: uppercase;
}
.ab-sus-t {
  font-family: var(--dt-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dt-teal);
  margin: 24px 28px 10px;
  line-height: 1.2;
}
.ab-sus-d {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dt-fg-muted);
  margin: 0 28px 28px;
}

/* Official UN SDG colors per goal */
.ab-sus-red   { --sdg-color: #ff3a21; }   /* SDG 5  Gender Equality */
.ab-sus-wine  { --sdg-color: #a21942; }   /* SDG 8  Decent Work */
.ab-sus-green { --sdg-color: #3f7e44; }   /* SDG 13 Climate Action */

/* ── RECOGNITION — cream, partner logos + press ──────── */
.ab-rec { padding-block: 100px; }
.ab-rec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 820px) {
  .ab-rec-row { grid-template-columns: repeat(2, 1fr); }
}
.ab-rec-logo {
  padding: 36px 24px 24px;
  background: #fff;
  border: 1px solid rgba(1,55,61,.08);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 20px;
  text-align: center;
  min-height: 180px;
  transition: transform .3s var(--dt-ease-out), box-shadow .3s var(--dt-ease-out), border-color .3s var(--dt-ease-out);
}
.ab-rec-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(1,55,61,.18);
  box-shadow: 0 20px 36px -22px rgba(1,55,61,.28);
}
.ab-rec-logo > img,
.ab-rec-logo > .ab-rec-gptw-svg {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}
/* Per-logo sizing — the SVGs have very different intrinsic sizes,
   so we calibrate each one individually. */
.ab-rec-logo-ms img    { height: 44px; width: auto; max-width: 80%; }
.ab-rec-logo-meta img  { height: 28px; width: auto; max-width: 80%; }
.ab-rec-logo-medal img { height: 80px; width: auto; max-width: 100%; }
.ab-rec-gptw-svg svg   { width: 64px; height: 64px; display: block; }

.ab-rec-logo-l {
  font-size: 12px;
  color: var(--dt-fg-muted);
  font-weight: 600;
  letter-spacing: .3px;
}

/* Press section — "Delto en los medios" */
.ab-rec-press {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(1,55,61,.10);
}
.ab-rec-press-h {
  font-family: var(--dt-font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--dt-teal);
  margin-bottom: 28px;
}
.ab-rec-press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) {
  .ab-rec-press-grid { grid-template-columns: 1fr; }
}
.ab-rec-press-item {
  position: relative;
  padding: 28px 26px 22px;
  background: #fff;
  border: 1px solid rgba(1,55,61,.10);
  border-radius: 14px;
  transition: transform .3s var(--dt-ease-out), box-shadow .3s var(--dt-ease-out), border-color .3s var(--dt-ease-out);
  animation: ab-fade-up .45s var(--dt-ease-out) both;
}
.ab-rec-press-item::before {
  content: '"';
  position: absolute;
  top: 14px; left: 22px;
  font-family: var(--dt-font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--dt-lime);
  opacity: .9;
  font-weight: 700;
}
.ab-rec-press-item:hover {
  transform: translateY(-3px);
  border-color: rgba(1,55,61,.20);
  box-shadow: 0 18px 30px -20px rgba(1,55,61,.28);
}
.ab-rec-press-quote {
  font-family: var(--dt-font-display);
  font-size: 16px;
  line-height: 1.45;
  color: var(--dt-teal);
  font-weight: 500;
  margin-top: 28px;
  margin-bottom: 22px;
  font-style: italic;
}
.ab-rec-press-meta {
  display: flex; align-items: center; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(1,55,61,.08);
  font-size: 12px;
}
.ab-rec-press-name {
  font-family: var(--dt-font-display);
  font-weight: 700;
  color: var(--dt-teal);
  letter-spacing: .2px;
}
.ab-rec-press-dot {
  color: rgba(1,55,61,.30);
}
.ab-rec-press-loc {
  color: var(--dt-fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 11px;
}

/* ── KEYFRAMES ────────────────────────────────────────── */
@keyframes ab-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ab-team-photo,
  .ab-value,
  .ab-sus-card,
  .ab-rec-press-item,
  .ab-geo-pin,
  .ab-geo-pin-pulse,
  .ab-banking-bullets li,
  .ab-stat {
    animation: none !important;
  }
}
