/* ============================================================
   NOSOTROS — Premium About Page Styles
   ============================================================ */

/* -- Hero cinematic -- */
.about-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(124,77,255,.08), transparent 50%),
    radial-gradient(ellipse at 75% 70%, rgba(43,184,212,.06), transparent 50%),
    var(--vt-bg);
}
.about-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Giant watermark logo behind hero */
.hero-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 600px);
  height: auto;
  opacity: .12;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.about-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
}
.about-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(124,77,255,.18);
  background: rgba(124,77,255,.05);
  color: var(--vt-violet);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.about-hero-label svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.about-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
}
.about-hero h1 .line {
  display: block;
}
.about-hero .hero-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--vt-muted);
  opacity: 0;
  transform: translateY(30px);
}
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vt-muted);
  opacity: 0;
  animation: fadeInUp .8s 1.2s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--vt-grad);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.5); opacity: 1; }
}

/* -- Animated counters banner -- */
.stats-banner {
  position: relative;
  padding: 80px 0;
  background: var(--vt-bg2);
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,77,255,.2), rgba(43,184,212,.2), transparent);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-block {
  opacity: 0;
  transform: translateY(24px);
}
.stat-block:not([data-count]) {
  opacity: 1;
  transform: none;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  background: var(--vt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.stat-number .suffix {
  font-size: .6em;
}
.stat-desc {
  font-size: .88rem;
  color: var(--vt-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* -- Manifesto section -- */
.manifesto {
  padding: 120px 0;
  position: relative;
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-col {
  opacity: 0;
  transform: translateX(-40px);
}
.manifesto-col:last-child {
  transform: translateX(40px);
}
.manifesto-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--vt-violet);
  margin-bottom: 20px;
}
.manifesto-col h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}
.manifesto-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--vt-muted);
}
.manifesto-line {
  width: 48px;
  height: 3px;
  background: var(--vt-grad);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* -- Principles section -- */
.principles {
  padding: 120px 0;
  background: var(--vt-bg-alt);
  position: relative;
}
.principles-header {
  text-align: center;
  margin-bottom: 64px;
}
.principles-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.principles-header p {
  color: var(--vt-muted);
  max-width: 480px;
  margin: 12px auto 0;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.principle-card {
  position: relative;
  background: var(--vt-white);
  border: 1px solid rgba(30,30,47,.05);
  border-radius: 20px;
  padding: 44px 28px 36px;
  text-align: left;
  overflow: hidden;
  transition: .4s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 2px 16px rgba(30,30,47,.03);
  opacity: 0;
  transform: translateY(30px);
}
.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vt-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
}
.principle-card:hover::before {
  transform: scaleX(1);
}
.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(124,77,255,.1);
  border-color: rgba(124,77,255,.12);
}
.principle-num {
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--vt-violet);
  opacity: .5;
  margin-bottom: 20px;
  display: block;
}
.principle-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(138,92,245,.08), rgba(45,226,251,.08));
  color: var(--vt-violet);
}
.principle-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.principle-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--vt-text);
}
.principle-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--vt-muted);
}

/* -- Timeline section -- */
.journey {
  padding: 120px 0;
  position: relative;
}
.journey-header {
  text-align: center;
  margin-bottom: 80px;
}
.journey-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--vt-violet), var(--vt-cyan), transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding-right: 52px;
  margin-bottom: 48px;
  text-align: right;
  opacity: 0;
  transform: translateY(30px);
}
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 52px;
  text-align: left;
}
.tl-dot {
  position: absolute;
  top: 4px;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--vt-grad);
  box-shadow: 0 0 0 4px var(--vt-bg), 0 0 20px rgba(124,77,255,.3);
  z-index: 2;
}
.tl-item:nth-child(even) .tl-dot {
  right: auto;
  left: -9px;
}
.tl-content {
  /* Content fills the tl-item padding area */
}
.tl-year {
  font-family: 'Orbitron', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--vt-violet);
  margin-bottom: 8px;
  display: block;
}
.tl-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tl-content p {
  font-size: .9rem;
  color: var(--vt-muted);
  line-height: 1.65;
}

/* -- Team section -- */
.team {
  padding: 120px 0;
  background: var(--vt-bg-alt);
}
.team-header {
  text-align: center;
  margin-bottom: 64px;
}
.team-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.team-header p {
  color: var(--vt-muted);
  max-width: 440px;
  margin: 12px auto 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  position: relative;
  background: var(--vt-white);
  border: 1px solid rgba(30,30,47,.05);
  border-radius: 20px;
  padding: 48px 24px 36px;
  text-align: center;
  overflow: hidden;
  transition: .4s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 2px 16px rgba(30,30,47,.03);
  opacity: 0;
  transform: translateY(30px);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(124,77,255,.1);
  border-color: rgba(124,77,255,.12);
}
.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(138,92,245,.1), rgba(45,226,251,.1));
  border: 2px solid rgba(124,77,255,.15);
  overflow: hidden;
  position: relative;
}
.team-avatar svg {
  width: 40px;
  height: 40px;
  color: var(--vt-violet);
  opacity: .5;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  font-size: .82rem;
  font-weight: 600;
  background: var(--vt-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: block;
}
.team-card p {
  font-size: .88rem;
  color: var(--vt-muted);
  line-height: 1.65;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124,77,255,.06);
  color: var(--vt-violet);
  transition: .3s ease;
}
.team-social a:hover {
  background: var(--vt-violet);
  color: #fff;
}
.team-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* -- Capabilities / tech stack -- */
.capabilities {
  padding: 120px 0;
}
.capabilities-header {
  text-align: center;
  margin-bottom: 64px;
}
.capabilities-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.capabilities-header p {
  color: var(--vt-muted);
  max-width: 500px;
  margin: 12px auto 0;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-item {
  padding: 36px 28px;
  background: var(--vt-white);
  border: 1px solid rgba(30,30,47,.05);
  border-radius: 16px;
  text-align: center;
  transition: .35s ease;
  box-shadow: 0 2px 12px rgba(30,30,47,.03);
  opacity: 0;
  transform: translateY(20px);
}
.cap-item:hover {
  transform: translateY(-4px);
  border-color: rgba(124,77,255,.1);
  box-shadow: 0 12px 36px rgba(124,77,255,.07);
}
.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(138,92,245,.08), rgba(45,226,251,.08));
  color: var(--vt-violet);
}
.cap-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.cap-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cap-item p {
  font-size: .85rem;
  color: var(--vt-muted);
  line-height: 1.6;
}

/* -- CTA -- */
.about-cta {
  position: relative;
  padding: 100px 0;
  background: var(--vt-grad);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.05), transparent 50%);
}
.about-cta .container {
  position: relative;
  z-index: 2;
}
.about-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.about-cta p {
  font-size: 1.05rem;
  opacity: .9;
  max-width: 540px;
  margin: 0 auto 36px;
}
.about-cta .btn-vt {
  background: #fff;
  color: var(--vt-violet);
}
.about-cta .btn-vt:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}
.about-cta .btn-ghost {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.about-cta .btn-ghost:hover {
  border-color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-hero { min-height: 80vh; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-col,
  .manifesto-col:last-child { transform: translateY(30px) !important; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .principles-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .cap-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 18px; }
  .tl-item,
  .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 52px;
    padding-right: 0;
    text-align: left;
  }
  .tl-dot,
  .tl-item:nth-child(even) .tl-dot {
    left: 9px;
    right: auto;
  }
}
@media (max-width: 480px) {
  .about-hero h1 { font-size: 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* -- Reveal animation base -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1);
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
