/* ── ANIMACIONES BASE ── */

/* Reveal desde abajo */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal con clip (texto que sube como cortina) */
.reveal-clip {
  display: block;
  overflow: hidden;
}

.reveal-clip::after {
  content: '';
  display: block;
}

.reveal-clip > span,
.reveal-clip {
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-clip.is-visible {
  transform: translateY(0);
}

/* Reveal de secciones completas */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Items con stagger */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para stagger */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }


/* ── PAGE HERO ── */
.page-hero {
  padding-top: 72px;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #39ff14;
  margin-bottom: 24px;
}

.page-hero__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.page-hero__desc {
  font-size: 16px;
  color: #777;
  max-width: 480px;
  line-height: 1.75;
  letter-spacing: 0.3px;
}

/* Línea verde animada que recorre el ancho */
.page-hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: #39ff14;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.page-hero__line.is-visible {
  width: 100%;
}


/* ── GRID DE TARJETAS ── */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.pg-card {
  background: #0c0c0c;
  padding: 44px 36px;
  transition: background 0.3s;
}

.pg-card:hover {
  background: #111;
}

.pg-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.pg-card__num {
  font-size: 10px;
  letter-spacing: 3px;
  color: #39ff14;
}

.pg-card__line {
  flex: 1;
  height: 1px;
  background: rgba(57, 255, 20, 0);
  transition: background 0.4s ease;
}

.pg-card:hover .pg-card__line {
  background: rgba(57, 255, 20, 0.3);
}

.pg-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.pg-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}


/* ── FEATURE (2 columnas) ── */
.pg-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pg-feature__text .section__title {
  margin-bottom: 20px;
}

.pg-placeholder {
  aspect-ratio: 4/3;
  border: 1px solid rgba(57, 255, 20, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.pg-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57,255,20,0.03) 0%, transparent 60%);
}


/* ── LISTA ── */
.pg-list {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

.pg-list__item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pg-list__item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pg-list__num {
  font-size: 11px;
  letter-spacing: 3px;
  color: #39ff14;
  padding-top: 4px;
  min-width: 32px;
}

.pg-list__item h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

.pg-list__item p {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
}


/* ── RESPONSIVE TABLET ── */
@media (max-width: 1024px) {
  .page-hero {
    padding: 100px 40px 56px;
  }

  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-feature { gap: 48px; }
}

/* ── RESPONSIVE MÓVIL ── */
@media (max-width: 768px) {
  .page-hero {
    padding: 96px 20px 40px;
    min-height: 42vh;
  }

  .pg-grid {
    grid-template-columns: 1fr;
  }

  .pg-feature {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
