/* ─── SOBRE NOSOTROS — Tecnocash ─── */

main, section, header, footer { display: block; }

/* Reuse from blog/styles.css: cursor, glass, navbar, mobile-menu, section-eyebrow, footer */

/* Override nav so all links stay on one line — including "Sobre nosotros" */
nav { gap: 24px !important; padding: 10px 14px 10px 22px !important; white-space: nowrap; }
.nav-links { gap: 22px !important; align-items: center; }
.nav-links li { white-space: nowrap; }
.nav-links a { font-size: 12.5px !important; white-space: nowrap; }

/* ─── HERO ─── */
.sn-hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sn-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.sn-hero-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-text);
  margin-bottom: 22px;
}
.sn-hero-title .accent {
  color: var(--c-neon);
  background: linear-gradient(135deg, #00DF81 0%, #00DFB1 50%, #2CC295 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sn-hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--c-pista);
  max-width: 580px;
  text-wrap: pretty;
}

.sn-hero-orb {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}
.orb-core {
  position: absolute;
  inset: 25% 25%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,223,177,0.95) 0%, rgba(0,223,129,0.5) 35%, rgba(46,123,120,0.2) 70%, transparent 100%);
  filter: blur(20px);
  animation: orb-pulse 8s ease-in-out infinite;
}
.orb-ring {
  position: absolute;
  inset: 5% 5%;
  border-radius: 50%;
  border: 1px solid rgba(0,223,129,0.10);
  animation: orb-spin 28s linear infinite;
}
.orb-ring::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 8px; height: 8px;
  background: var(--c-neon);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--c-neon);
  transform: translate(-50%, -50%);
}
.orb-ring-2 {
  inset: 18% 18%;
  border-color: rgba(0,223,177,0.14);
  animation: orb-spin-rev 22s linear infinite;
}
.orb-ring-2::before { background: var(--c-mint); box-shadow: 0 0 16px var(--c-mint); }

@keyframes orb-spin   { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orb-spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes orb-pulse  {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* ─── SECTIONS ─── */
.sn-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
}
.sn-section-head { text-align: left; max-width: 720px; margin-bottom: 56px; }
.sn-section-title {
  font-family: var(--f-head);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin: 12px 0 16px;
  text-wrap: pretty;
}
.sn-section-title .accent { color: var(--c-neon); }
.sn-section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-pista);
  max-width: 580px;
}

/* ─── TRAYECTORIA ─── */
.trayectoria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trayectoria-stat {
  padding: 32px 26px 28px;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), border-color 0.3s;
}
.trayectoria-stat:hover { transform: translateY(-4px); border-color: rgba(0,223,129,0.25); }
.trayectoria-stat .ts-num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-neon);
}
.trayectoria-stat .ts-lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-pista);
  font-weight: 600;
  margin-top: 14px;
}
.trayectoria-stat .ts-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-dim);
  margin-top: 6px;
}

/* ─── MISIÓN / VISIÓN ─── */
.sn-mv { padding-top: 40px; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.mv-card {
  padding: 44px 40px 40px;
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.mv-card:hover { transform: translateY(-3px); border-color: rgba(0,223,129,0.22); }
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,223,129,0.4), transparent);
}
.mv-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(0,223,129,0.08);
  border: 1px solid rgba(0,223,129,0.18);
  color: var(--c-neon);
}
.mv-icon svg { width: 30px; height: 30px; }
.mv-icon-vision { background: rgba(0,223,177,0.08); border-color: rgba(0,223,177,0.20); color: var(--c-mint); }
.mv-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 12px;
}
.mv-card h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 18px;
}
.mv-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-pista);
  text-wrap: pretty;
}
.mv-card em { color: var(--c-neon); font-style: normal; font-weight: 600; }

/* ─── FOUNDERS ─── */
.sn-founders {
  padding-top: 100px;
  padding-bottom: 120px;
}
.sn-founders .sn-section-head { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sn-founders .section-eyebrow { display: inline-flex; }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 56px auto 0;
  perspective: 1500px;
}

.founder-card {
  position: relative;
  border-radius: 26px;
  background: #08201a;
  border: 1px solid rgba(168,200,196,0.10);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  padding: 22px 22px 26px;
  transition: border-color 0.4s, box-shadow 0.5s;
  cursor: none;
  perspective: 900px;
}
/* Override .reveal's transition-delay so the hover isn't laggy on cards w/ reveal-d1 */
.founder-card.visible { transition-delay: 0s; }
.founder-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.2,.85,.3,1);
  will-change: transform;
}
.founder-card:hover {
  border-color: rgba(0,223,129,0.30);
  box-shadow:
    0 44px 100px -30px rgba(0,0,0,0.75),
    0 0 80px -20px rgba(0,223,129,0.25);
}
.founder-card:hover .founder-photo img { transform: scale(1.045); }

.founder-card-inner-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #08201a;
  /* mask hack: fuerza un recorte basado en máscara en vez del recorte por
     border-radius, que es el que produce la "costura" diagonal de Chrome
     cuando el elemento se transforma en 3D. */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
}

.founder-front {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 20px;
  background: #08201a;
}

.founder-photo {
  position: absolute;
  inset: 0;
  background: var(--c-deep);
  border-radius: 20px;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 20px;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.7s cubic-bezier(.2,.85,.3,1);
}
/* hover-scale removed — was causing subpixel edge artifacts */

/* .founder-shine removed permanently — was causing the diagonal artifact */

/* Meta on top of photo, glassy band */
.founder-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 26px 22px 22px;
  background: linear-gradient(to top, rgba(2,21,16,0.95) 30%, rgba(2,21,16,0.6) 70%, transparent);
  border-radius: 0 0 20px 20px;
  text-align: center;
}
.founder-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-neon);
  font-weight: 700;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(0,223,129,0.10);
  border: 1px solid rgba(0,223,129,0.30);
}
.founder-meta h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0 0 14px;
}
.founder-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.founder-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(0,223,129,0.12);
  border: 1px solid rgba(0,223,129,0.30);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-neon);
  letter-spacing: 0.04em;
  transition: gap 0.3s, background 0.3s, transform 0.3s;
  cursor: none;
}
.founder-card:hover .founder-arrow {
  gap: 14px;
  background: rgba(0,223,129,0.20);
}
.founder-arrow svg { width: 16px; height: 16px; }
.founder-linkedin {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10,102,194,0.15);
  border: 1px solid rgba(10,102,194,0.45);
  color: #69a8ed;
  transition: transform 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: none;
}
.founder-linkedin:hover {
  transform: translateY(-2px);
  background: rgba(10,102,194,0.30);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(10,102,194,0.40);
}
.founder-linkedin svg { width: 20px; height: 20px; }

/* Bio panel — appears below the card; lines fade in on scroll */
.founder-bio {
  margin-top: 26px;
  padding: 4px 4px 0;
}
.founder-bio-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--c-mint);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.founder-bio-eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--c-mint);
}
.founder-bio h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.founder-bio .bio-line {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-pista);
  margin-bottom: 14px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
  text-wrap: pretty;
}
.founder-bio .bio-line.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ─── CTA ─── */
.sn-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.sn-cta-box {
  border-radius: 30px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(0,223,129,0.18), transparent 70%),
    linear-gradient(135deg, rgba(46,123,120,0.16), rgba(46,123,120,0.06));
  border: 1px solid rgba(0,223,129,0.22);
}
.sn-cta-box h2 {
  font-family: var(--f-head);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.sn-cta-box p {
  font-size: 17px;
  color: var(--c-pista);
  margin-bottom: 32px;
}
.sn-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ─── BTN ─── */
.btn-primary {
  background: var(--c-neon);
  color: var(--c-deep) !important;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: none;
  box-shadow: 0 0 30px rgba(0,223,129,0.40);
  cursor: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--c-mint);
  box-shadow: 0 8px 40px rgba(0,223,129,0.55);
}
.btn-secondary {
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text);
  background: rgba(241,247,246,0.04);
  border: 1px solid rgba(168,200,196,0.18);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: none;
}
.btn-secondary:hover {
  background: rgba(0,223,129,0.08);
  border-color: rgba(0,223,129,0.32);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .trayectoria-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 540px; gap: 36px; }
  .sn-hero-orb { width: 400px; height: 400px; right: -180px; opacity: 0.5; }
}
@media (max-width: 640px) {
  body { cursor: auto; }
  #cursor-glow, #cursor-dot { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta-desktop { display: none; }
  .sn-hero { padding: 140px 20px 60px; min-height: auto; }
  .sn-hero-inner { max-width: 100%; }
  .sn-hero, .sn-hero *, .sn-section, .sn-section *, .mv-card, .mv-card *, .founder-card, .founder-card *, .founder-bio, .founder-bio *, .trayectoria-stat, .trayectoria-stat *, .sn-cta-box, .sn-cta-box * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
  }
  .sn-hero-title .accent, .sn-section-title .accent {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .sn-hero .section-eyebrow, .sn-section .section-eyebrow {
    color: #ffffff !important;
  }
  .founder-bio .bio-line,
  .founder-bio .bio-line.show {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .sn-hero-title, .sn-hero-sub { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
  .sn-hero-orb { display: block; right: -220px; width: 420px; height: 420px; opacity: 0.35; filter: blur(2px); }
  .orb-core { filter: blur(18px); opacity: 0.8; }
  .sn-section { padding: 60px 20px; }
  .trayectoria-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 26px; }
  .sn-cta-box { padding: 48px 24px; }
  .founder-card { padding: 16px 16px 20px; }
  .founder-meta { padding: 22px 18px 18px; }
  .founder-meta h3 { font-size: 26px; }
  .founder-card, .founder-card:hover, .btn-primary, .btn-secondary { cursor: pointer !important; }
}
