/**
 * about.css — Estilos exclusivos de la página About
 * El diseñador gestiona este archivo.
 * custom.css ya contiene: hero, stats-bar, split, img-strip,
 * method-grid/cards, collage, partners, cta, fab-calc y sus responsive.
 * Este archivo complementa con lo que NO está en custom.css.
 */

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS (.sa-*)
   Usado en hero-stats, method, collage, partners,
   founding-story, cofounders, cta
══════════════════════════════════════════ */
.sa-fade-up,
.sa-fade-left,
.sa-fade-right,
.sa-scale,
.sa-fade {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.sa-fade-up {
  transform: translateY(40px);
}
.sa-fade-left {
  transform: translateX(-40px);
}
.sa-fade-right {
  transform: translateX(40px);
}
.sa-scale {
  transform: scale(0.88);
}
.sa-fade {
  transform: none;
}

.sa-fade-up.visible,
.sa-fade-left.visible,
.sa-fade-right.visible,
.sa-scale.visible,
.sa-fade.visible {
  opacity: 1;
  transform: none;
}

.sa-d1 {
  transition-delay: 0.05s;
}
.sa-d2 {
  transition-delay: 0.15s;
}
.sa-d3 {
  transition-delay: 0.25s;
}
.sa-d4 {
  transition-delay: 0.35s;
}
.sa-d5 {
  transition-delay: 0.45s;
}
.sa-d6 {
  transition-delay: 0.55s;
}

/* ══════════════════════════════════════════
   STATS BAR — complemento
   custom.css tiene el layout, esto agrega
   el comportamiento del counter animado
══════════════════════════════════════════ */
.about-stat strong {
  display: inline-block;
}

/* ══════════════════════════════════════════
   COLLAGE — hover complementario
   custom.css tiene .about-collage-item:hover img
   Esto agrega hover al contenedor
══════════════════════════════════════════ */
.about-collage-item {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}
.about-collage-item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  z-index: 2;
  position: relative;
}

/* ══════════════════════════════════════════
   METHOD CARDS — hover complementario
   custom.css tiene border-color hover,
   esto agrega box-shadow extra
══════════════════════════════════════════ */
.about-method-card:hover {
  box-shadow: 0 16px 36px rgba(38, 43, 111, 0.12);
}

/* ══════════════════════════════════════════
   PARTNERS — hover complementario
   custom.css tiene .logo_aliado:hover,
   esto agrega variante para .aliado-logo
══════════════════════════════════════════ */
.aliado-logo {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.aliado-logo:hover {
  transform: scale(1.08);
  filter: none !important;
}

/* ══════════════════════════════════════════
   ANNIVERSARY BANNER
   Completo — no existe en custom.css
══════════════════════════════════════════ */
.anniv-banner {
  position: relative;
  overflow: hidden;
}
.anniv-banner-bg {
  position: absolute;
  inset: 0;
}
.anniv-banner-bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.anniv-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 12, 45, 0.88) 0%,
    rgba(26, 30, 85, 0.8) 55%,
    rgba(120, 75, 0, 0.3) 100%
  );
}
.anniv-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 72px 48px 56px;
}
.anniv-banner-logo {
  width: clamp(140px, 18vw, 220px);
  flex-shrink: 0;
  filter: drop-shadow(0 6px 28px rgba(254, 188, 0, 0.45));
  animation: abScaleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.anniv-banner-content {
  flex: 1;
}
.anniv-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(254, 188, 0, 0.16);
  border: 1px solid rgba(254, 188, 0, 0.5);
  color: #febc00;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.anniv-banner-title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.anniv-banner-title em {
  color: #febc00;
  font-style: normal;
  position: relative;
}
.anniv-banner-title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #febc00, transparent);
  border-radius: 2px;
}
.anniv-banner-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}
.anniv-banner-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.anniv-bstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.anniv-bstat:first-child {
  padding-left: 0;
}
.anniv-bstat strong {
  font-size: 1.55rem;
  font-weight: 900;
  color: #febc00;
  line-height: 1;
}
.anniv-bstat span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 4px;
  white-space: nowrap;
}
.anniv-bstat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}
.anniv-banner-ribbon {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgba(254, 188, 0, 0.13);
  border-top: 1px solid rgba(254, 188, 0, 0.28);
  padding: 11px 0;
}
.anniv-banner-track {
  display: flex;
  width: max-content;
  animation: abMarquee 30s linear infinite;
}
.anniv-banner-track span {
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254, 188, 0, 0.9);
}

@keyframes abMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes abScaleIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .anniv-banner-inner {
    flex-direction: column;
    gap: 24px;
    padding: 48px 24px 40px;
    text-align: center;
  }
  .anniv-banner-logo {
    width: clamp(110px, 35vw, 160px);
  }
  .anniv-banner-stats {
    justify-content: center;
  }
  .anniv-banner-title em::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .anniv-bstat {
    padding: 0 14px;
  }
  .anniv-bstat strong {
    font-size: 1.15rem;
  }
}

/* ══════════════════════════════════════════
   FOUNDING STORY
   Completo — no existe en custom.css
══════════════════════════════════════════ */
.founding-story {
  background: linear-gradient(160deg, #0f172a 0%, #1a1e55 50%, #0f172a 100%);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}
.founding-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.founding-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.founding-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(254, 188, 0, 0.08) 0%,
    transparent 65%
  );
  top: -200px;
  right: -100px;
}
.founding-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 65%
  );
  bottom: -100px;
  left: -80px;
}
.founding-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
}
.founding-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254, 188, 0, 0.85);
  margin-bottom: 16px;
}
.founding-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 28px;
}
.founding-title em {
  font-style: normal;
  color: #febc00;
}
.founding-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ft-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  position: relative;
}
.ft-item:not(:last-child) .ft-dot-col::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 40px;
  bottom: -8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.ft-dot-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}
.ft-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(254, 188, 0, 0.15);
  border: 2px solid rgba(254, 188, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.ft-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #febc00;
}
.ft-content {
  padding: 6px 0 28px 8px;
}
.ft-year {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #febc00;
  margin-bottom: 5px;
}
.ft-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
.founding-quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(10px);
  position: relative;
}
.founding-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 28px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(254, 188, 0, 0.25);
  font-family: Georgia, serif;
  pointer-events: none;
}
.founding-quote-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 24px;
}
.founding-quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.founding-quote-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(254, 188, 0, 0.4);
}
.founding-quote-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.founding-quote-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}
.founding-img {
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  margin-top: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.founding-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .founding-story {
    padding: 72px 28px;
  }
  .founding-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ══════════════════════════════════════════
   CO-FOUNDERS
   Completo — no existe en custom.css
══════════════════════════════════════════ */
.cofounders {
  background: #f8fafc;
  padding: 96px 48px;
}
.cofounders-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cofounders-intro {
  text-align: center;
  margin-bottom: 64px;
}
.cofounders-intro .section-badge {
  margin-bottom: 16px;
}
.cofounders-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.cofounders-intro h2 em {
  font-style: normal;
  color: #262b6f;
}
.cofounders-intro p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}
.cofounders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cofounder-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.cofounder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(38, 43, 111, 0.12);
}
.cofounder-photo {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.cofounder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.cofounder-card:hover .cofounder-photo img {
  transform: scale(1.04);
}
.cofounder-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.7) 0%,
    transparent 55%
  );
}
.cofounder-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(254, 188, 0, 0.92);
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.cofounder-body {
  padding: 28px 30px 32px;
}
.cofounder-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cofounder-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: #262b6f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.cofounder-quote {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.72;
  font-style: italic;
  border-left: 3px solid #febc00;
  padding-left: 14px;
  margin-bottom: 20px;
}
.cofounder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cofounder-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #262b6f;
  background: rgba(38, 43, 111, 0.07);
  border: 1px solid rgba(38, 43, 111, 0.12);
  padding: 4px 12px;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .cofounders {
    padding: 72px 24px;
  }
  .cofounders-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
