@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.12);
  --gold: #f0c040;
  --gold-soft: rgba(240, 192, 64, 0.12);
  --blue: #0055cc;
  --deep: #020b1a;
  --panel: rgba(6, 15, 35, 0.92);
  --panel-2: rgba(12, 28, 56, 0.9);
  --border: rgba(0, 229, 255, 0.18);
  --text: #c4d8f0;
  --muted: #7c93b3;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-main: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.18);
}

@keyframes orbA {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-18px) scale(1.06); }
}
@keyframes orbB {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-16px,20px) scale(0.97); }
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SECCIÓN SOMOS
========================= */
.somos-section {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background:
    linear-gradient(90deg, rgba(0, 85, 204, 0.06) 0%, transparent 18%, transparent 82%, rgba(240, 192, 64, 0.05) 100%);
}

.somos-section::before,
.somos-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.somos-section::before {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 85, 204, 0.08) 35%, transparent 70%);
  animation: orbA 14s ease-in-out infinite;
}

.somos-section::after {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(240, 192, 64, 0.12) 0%, rgba(240, 192, 64, 0.05) 35%, transparent 70%);
  animation: orbB 16s ease-in-out infinite;
}

.somos-inner {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(700px, 1.25fr);
  gap: 34px;
  align-items: stretch;
}

.somos-img {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeUp 0.7s ease both;
}

.somos-video-card {
  position: relative;
  background: linear-gradient(145deg, rgba(8, 19, 42, 0.94), rgba(10, 25, 50, 0.9));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-main);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.somos-video-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--gold), var(--cyan));
  background-size: 200% 100%;
  animation: shine 5s linear infinite;
  z-index: 2;
}

.somos-video-card:nth-child(1)::after {
  content: "▶ 01";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.somos-video-card:nth-child(2)::after {
  content: "▶ 02";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(240, 192, 64, 0.12);
  border: 1px solid rgba(240, 192, 64, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.somos-video-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 229, 255, 0.34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.somos-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.somos-inner--text-only { grid-template-columns: minmax(0, 850px); justify-content: center; }
.somos-video-stage { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; background: #030b18; }
.somos-video-stage[data-orientation="vertical"] { aspect-ratio: auto; height: clamp(420px, 46vw, 610px); }
.somos-video-stage::after { display: none; }
.somos-video-stage:hover { transform: none; }
.somos-video-stage .somos-video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.somos-video-stage[data-orientation="vertical"] .somos-video { width: auto; max-width: 100%; aspect-ratio: 9 / 16; }
.somos-video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.somos-video-list a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #cad9e8; border-radius: 12px; background: #fff; color: #173b65; text-decoration: none; font: 700 13px/1.3 'Syne', sans-serif; transition: border-color .2s, box-shadow .2s; }
.somos-video-list a[aria-current="true"] { border-color: #0d83ac; box-shadow: 0 0 0 2px rgba(0, 229, 255, .18); }
.somos-video-list a:hover { border-color: #0d83ac; }
.somos-video-list a:focus-visible { outline: 3px solid #0d83ac; outline-offset: 2px; }
.somos-video-list__number { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 7px; background: #e7f8fb; color: #0b7190; font: 700 11px/1 'JetBrains Mono', monospace; }
.somos-video-list__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.somos-video-list__format { margin-left: auto; color: #6a7e95; font: 500 11px/1.2 'Syne', sans-serif; }

/* Panel derecho */
.somos-info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 24, 47, 0.98), rgba(25, 37, 67, 0.94));
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 30px;
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-main);
  animation: fadeUp 0.85s ease both;
}

.somos-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.06) 0%, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(240, 192, 64, 0.05) 0%, transparent 34%);
  pointer-events: none;
}

.somos-info > * {
  position: relative;
  z-index: 1;
}

.somos-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.somos-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.somos-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  line-height: 1.08;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ffffff 0%, #cdeeff 35%, var(--cyan) 70%, #68d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.somos-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.somos-desc {
  margin: 0 0 24px;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 90%;
}

.somos-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.somos-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.14);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.somos-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-soft);
}

.somos-card:nth-child(2) {
  background: rgba(240, 192, 64, 0.04);
  border-color: rgba(240, 192, 64, 0.14);
}

.somos-card:nth-child(2):hover {
  border-color: rgba(240, 192, 64, 0.28);
}

.somos-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 85, 204, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.2);
  animation: floatY 3.6s ease-in-out infinite;
}

.somos-card:nth-child(2) .somos-card-icon {
  color: var(--gold);
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.16), rgba(180, 120, 0, 0.14));
  border-color: rgba(240, 192, 64, 0.22);
}

.somos-card strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.somos-card-desc {
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.somos-mision {
  position: relative;
  margin: 0 0 24px;
  padding: 18px 20px 18px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.06), rgba(240, 192, 64, 0.03));
  border: 1px solid rgba(240, 192, 64, 0.18);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
}

.somos-mision::before {
  content: '"';
  position: absolute;
  top: -4px;
  left: 10px;
  color: rgba(240, 192, 64, 0.22);
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  line-height: 1;
}

.somos-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.36);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 85, 204, 0.16));
  color: var(--cyan);
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.somos-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.22), rgba(0, 85, 204, 0.2));
  box-shadow: 0 14px 30px rgba(0, 229, 255, 0.16);
}

/* =========================
   BENEFICIOS
========================= */
.beneficios-section {
  position: relative;
  padding: 42px 0 90px;
  overflow: hidden;
}

.beneficios-wrap {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
}

.beneficios-title {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 48px;
  background: linear-gradient(90deg, #cdeeff 0%, var(--cyan) 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.beneficios-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.beneficio-card {
  background: linear-gradient(145deg, rgba(10, 21, 44, 0.96), rgba(28, 40, 68, 0.92));
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 24px;
  padding: 34px 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  min-height: 100%;
}

.beneficio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.28);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.beneficio-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 85, 204, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.beneficio-card:nth-child(2) .beneficio-icon {
  color: var(--gold);
  background: linear-gradient(135deg, rgba(240, 192, 64, 0.16), rgba(180, 120, 0, 0.14));
  border-color: rgba(240, 192, 64, 0.18);
}

.beneficio-card:nth-child(3) .beneficio-icon {
  color: #b77dff;
  background: linear-gradient(135deg, rgba(183, 125, 255, 0.14), rgba(93, 61, 180, 0.14));
  border-color: rgba(183, 125, 255, 0.18);
}

.beneficio-card:nth-child(4) .beneficio-icon {
  color: #00d68f;
  background: linear-gradient(135deg, rgba(0, 214, 143, 0.14), rgba(0, 128, 94, 0.14));
  border-color: rgba(0, 214, 143, 0.18);
}

.beneficio-card h3 {
  margin: 0 0 14px;
  font-family: 'Syne', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.beneficio-card p {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
  .somos-inner {
    grid-template-columns: 1fr 1.05fr;
    width: min(1450px, calc(100% - 36px));
  }

  .beneficios-wrap {
    width: min(1450px, calc(100% - 36px));
  }
}

@media (max-width: 1100px) {
  .somos-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .somos-desc {
    max-width: 100%;
  }

  .beneficios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .somos-section {
    padding: 20px 0;
  }

  .somos-inner,
  .beneficios-wrap {
    width: calc(100% - 24px);
  }

  .somos-info {
    padding: 26px 18px 22px;
  }

  .somos-cards {
    grid-template-columns: 1fr;
  }

  .somos-title {
    font-size: 1.7rem;
  }

  .somos-desc,
  .beneficio-card p,
  .somos-mision {
    font-size: 0.92rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .somos-btn {
    width: 100%;
    justify-content: center;
  }
  .somos-video-list { grid-template-columns: 1fr; }
  .somos-video-stage[data-orientation="vertical"] { height: min(75vh, 570px); }
}
