/* ============================================================
   APUESTA ELITE ARGENTINA – About Page Supplementary Styles
   File: css/sobre.css
   Depends on: css/style.css (CSS variables must be loaded first)
   ============================================================ */

/* ============================================================
   PAGE HERO
   ============================================================ */
.sn2-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--c-navy);
  overflow: hidden;
  margin-top: calc(var(--hh) + var(--th));
  border-bottom: 1px solid var(--c-border-b);
}

/* Animated grid background */
.sn2-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,79,214,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,214,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: heroGridMove2 20s linear infinite;
}

@keyframes heroGridMove2 {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

/* Glow blob */
.sn2-hero-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(26,79,214,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.sn2-hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 20px;
}

.sn2-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--c-white);
  margin: 14px 0 12px;
  line-height: 1.1;
}

.sn2-hero-sub {
  font-size: 1.05rem;
  color: var(--c-gray-l);
  max-width: 560px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-gray);
}

.breadcrumb2 a {
  color: var(--c-gray-l);
  transition: color 0.2s;
}

.breadcrumb2 a:hover { color: #4f9eff; }

.breadcrumb2 i {
  font-size: 0.65rem;
  color: var(--c-gray);
}

.breadcrumb2 span[aria-current="page"] {
  color: #4f9eff;
  font-weight: 600;
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.sn2-section {
  background: var(--c-dark);
}

.sn2-dark-section {
  background: var(--c-dark2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

/* ============================================================
   INTRO GRID
   ============================================================ */
.sn2-intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.sn2-intro-text p {
  font-size: 0.97rem;
  color: var(--c-gray-l);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sn2-intro-text p strong { color: var(--c-white); }

/* Badges row */
.sn2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sn2-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(26,79,214,0.1);
  border: 1px solid rgba(26,79,214,0.25);
  color: #7aaeff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

.sn2-badge i { color: #4f9eff; font-size: 0.85rem; }

/* ============================================================
   STATS CARD (right column of intro)
   ============================================================ */
.sn2-intro-card {
  background: var(--c-dark3);
  border: 1px solid var(--c-border-b);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--sh-blue);
  position: sticky;
  top: calc(var(--hh) + var(--th) + 20px);
}

.sn2-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.sn2-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sn2-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #4f9eff;
  line-height: 1;
}

.sn2-lbl {
  font-size: 0.78rem;
  color: var(--c-gray);
  line-height: 1.3;
}

.sn2-divider {
  height: 1px;
  background: var(--c-border);
  margin-bottom: 20px;
}

.sn2-quote {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sn2-quote i {
  color: rgba(26,79,214,0.5);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.sn2-quote p {
  font-size: 0.9rem;
  color: var(--c-gray-l);
  line-height: 1.65;
  font-style: italic;
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.sn2-vals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sn2-val-card {
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sn2-val-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-blue);
  border-color: rgba(26,79,214,0.35);
}

.sn2-val-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.sn2-blue {
  background: rgba(26,79,214,0.15);
  color: #4f9eff;
  border: 1px solid rgba(26,79,214,0.3);
}

.sn2-red {
  background: rgba(204,0,34,0.12);
  color: #ff4466;
  border: 1px solid rgba(204,0,34,0.3);
}

.sn2-val-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 10px;
}

.sn2-val-card p {
  font-size: 0.88rem;
  color: var(--c-gray-l);
  line-height: 1.75;
}

/* ============================================================
   METHODOLOGY GRID
   ============================================================ */
.sn2-metodo-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.sn2-metodo-text p {
  font-size: 0.95rem;
  color: var(--c-gray-l);
  line-height: 1.75;
}

/* Steps list */
.sn2-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sn2-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.2s;
}

.sn2-step:last-child { border-bottom: none; }

.sn2-step-n {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(26,79,214,0.35);
  min-width: 42px;
  line-height: 1;
  padding-top: 3px;
  flex-shrink: 0;
}

.sn2-step-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
}

.sn2-step-body p {
  font-size: 0.87rem;
  color: var(--c-gray-l);
  line-height: 1.7;
}

/* ============================================================
   ASIDE — Weight bars
   ============================================================ */
.sn2-metodo-aside {
  background: var(--c-dark3);
  border: 1px solid var(--c-border-b);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  position: sticky;
  top: calc(var(--hh) + var(--th) + 20px);
}

.sn2-metodo-aside h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 22px;
}

.sn2-bar {
  margin-bottom: 16px;
}

.sn2-bar-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--c-gray-l);
  margin-bottom: 6px;
}

.sn2-pct {
  font-weight: 700;
  color: var(--c-silver);
}

.sn2-track {
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 7px;
  overflow: hidden;
}

.sn2-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px rgba(26,79,214,0.4);
}

.sn2-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  background: rgba(26,79,214,0.08);
  border: 1px solid rgba(26,79,214,0.2);
  border-radius: var(--r-md);
  padding: 12px 14px;
}

.sn2-note i {
  color: #4f9eff;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.sn2-note p {
  font-size: 0.81rem;
  color: var(--c-gray-l);
  line-height: 1.6;
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.sn2-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sn2-team-card {
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sn2-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,79,214,0.3);
}

.sn2-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sn2-av-blue {
  background: rgba(26,79,214,0.15);
  color: #4f9eff;
  border: 2px solid rgba(26,79,214,0.35);
}

.sn2-av-red {
  background: rgba(204,0,34,0.12);
  color: #ff4466;
  border: 2px solid rgba(204,0,34,0.3);
}

.sn2-team-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 4px;
}

.sn2-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4f9eff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.sn2-team-card p {
  font-size: 0.87rem;
  color: var(--c-gray-l);
  line-height: 1.7;
}

/* ============================================================
   JUEGO RESPONSABLE SECTION
   ============================================================ */
.sn2-jr-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.sn2-jr-text p {
  font-size: 0.96rem;
  color: var(--c-gray-l);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sn2-jr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.sn2-jr-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-gray-l);
  line-height: 1.5;
}

.sn2-jr-list li i {
  color: #4f9eff;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.sn2-jr-cta {
  background: rgba(26,79,214,0.07);
  border: 1px solid rgba(26,79,214,0.2);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}

.sn2-jr-cta p {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-white) !important;
  margin-bottom: 14px !important;
}

.sn2-jr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sn2-help-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-dark3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--c-gray-l);
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

.sn2-help-link:hover {
  border-color: rgba(26,79,214,0.4);
  color: #4f9eff;
}

.sn2-help-link img {
  height: 20px;
  width: auto;
  filter: brightness(10) grayscale(1);
  opacity: 0.7;
}

/* ============================================================
   ORG PANEL (right column of JR section)
   ============================================================ */
.sn2-org-panel {
  background: var(--c-dark3);
  border: 1px solid var(--c-border-b);
  border-radius: var(--r-xl);
  padding: 28px 24px;
}

.sn2-org-panel h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 6px;
}

.sn2-org-sub {
  font-size: 0.82rem;
  color: var(--c-gray);
  margin-bottom: 20px;
}

.sn2-org-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sn2-org-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}

.sn2-org-item:hover {
  background: rgba(26,79,214,0.08);
}

.sn2-org-item img {
  width: 62px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(10) grayscale(1);
  opacity: 0.75;
}

/* GamStop in org list */
.sn2-org-item .gamstop-img {
  filter: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Colorful logos in org list */
.sn2-org-item .color-img {
  filter: brightness(1.3) saturate(0.7);
  opacity: 0.8;
}

/* saberjugar webp — natural photo */
.sn2-org-item img[alt="Saber Jugar"] {
  filter: none;
  opacity: 0.9;
}

.sn2-org-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sn2-org-item div strong {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--c-white);
}

.sn2-org-item div span {
  font-size: 0.76rem;
  color: var(--c-gray);
}

/* eCOGRA inline badge */
.ecogra2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 30px;
  background: linear-gradient(135deg, #003a82 0%, #0055cc 100%);
  border-radius: 5px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.sn2-cta {
  background: linear-gradient(135deg, #0a1628 0%, #0d1c3a 50%, #0a1628 100%);
  border-top: 1px solid var(--c-border-b);
  border-bottom: 1px solid var(--c-border-b);
  padding: 64px 0;
}

.sn2-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sn2-cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.sn2-cta-inner p {
  font-size: 0.95rem;
  color: var(--c-gray-l);
}

.sn2-cta-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL REVEAL (reuses .reveal2 from style.css if present,
   otherwise define here as fallback)
   ============================================================ */
.sn2-val-card,
.sn2-team-card,
.sn2-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.sn2-val-card.visible,
.sn2-team-card.visible,
.sn2-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet: ≤ 1024px ---- */
@media (max-width: 1024px) {
  .sn2-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sn2-intro-card {
    position: static;
  }

  .sn2-stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sn2-metodo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sn2-metodo-aside {
    position: static;
  }

  .sn2-vals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sn2-jr-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sn2-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .sn2-cta-btns {
    justify-content: center;
  }
}

/* ---- Mobile: ≤ 768px ---- */
@media (max-width: 768px) {
  .sn2-hero {
    min-height: 220px;
  }

  .sn2-hero-content {
    padding: 44px 20px;
  }

  .sn2-hero-title {
    font-size: 1.6rem;
  }

  .sn2-hero-sub {
    font-size: 0.92rem;
  }

  .sn2-vals-grid {
    grid-template-columns: 1fr;
  }

  .sn2-team-grid {
    grid-template-columns: 1fr;
  }

  .sn2-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sn2-team-card {
    flex-direction: column;
    gap: 14px;
  }

  .sn2-jr-links {
    flex-direction: column;
  }

  .sn2-help-link {
    width: 100%;
    justify-content: center;
  }

  .sn2-org-item {
    padding: 8px;
  }

  .sn2-org-item img {
    width: 48px;
    height: 24px;
  }

  .sn2-cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .sn2-cta-btns a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .sn2-badges {
    flex-direction: column;
  }

  .section2-pad { padding: 52px 0; }
}

/* ---- Small Mobile: ≤ 480px ---- */
@media (max-width: 480px) {
  .sn2-hero-title { font-size: 1.35rem; }
  .sn2-num        { font-size: 1.65rem; }
  .sn2-step-n     { font-size: 1.3rem; min-width: 34px; }
}
