/* Logo */
.logo {
  display: inline-block;
}

.logo-img {
  height: 100px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .logo-img:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 80px;
  }
}

.logo-img--footer {
  height: 100px;
  margin: 0 auto 1.25rem;
}

@media (max-width: 768px) {
  .logo-img--footer {
    height: 72px;
  }
}

/* Redes sociales del footer */
.footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.footer-social a {
  color: var(--color-text-mute);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-cyan);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

/* Firma de cierre (fin de página, fuera del footer) */
.signature-block {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  justify-content: flex-end;
}

.signature-block img {
  width: 100px;
  filter: invert(1);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.signature-block img:hover {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease-out;
}

.btn:hover {
  transform: translateY(-2px) !important;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn--primary {
  background: var(--color-green);
  color: #000000;
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.badge--activo {
  background: var(--color-green-dim);
  color: var(--color-green);
}

.badge--proximamente {
  background: var(--color-cyan-dim);
  color: var(--color-cyan);
}

.badge--highlight {
  background: var(--color-green);
  color: #000000;
}

.badge--elite {
  background: var(--color-cyan);
  color: #000000;
}

/* Generic card */
.card {
  background: var(--color-bg-elev);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow: hidden;
}

/* Glowing border: Misión/Visión/Quiénes-somos + Precios cards only */
#quienes-somos .about-cards .card,
#precios .grid-6 .card,
#que-incluye .about-cards .card,
.precios-table {
  animation: card-glow-pulse-cyan 4s ease-in-out infinite;
}

#precios .grid-6 .pricing-card--highlight-green {
  animation: card-glow-pulse-green 4s ease-in-out infinite;
}

@keyframes card-glow-pulse-cyan {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15), 0 0 12px rgba(34, 211, 238, 0.2); }
  50%      { box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.28), 0 0 20px rgba(34, 211, 238, 0.35); }
}

@keyframes card-glow-pulse-green {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15), 0 0 12px rgba(34, 197, 94, 0.2); }
  50%      { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.28), 0 0 20px rgba(34, 197, 94, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  #quienes-somos .about-cards .card,
  #precios .grid-6 .card,
  #que-incluye .about-cards .card,
  .precios-table {
    animation: none;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2), 0 0 14px rgba(34, 211, 238, 0.25);
  }
  #precios .grid-6 .pricing-card--highlight-green {
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 0 14px rgba(34, 197, 94, 0.25);
  }
}

/* Avatar placeholder (círculo con inicial) */
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: #000000;
}

.avatar--green { background: var(--color-green); }
.avatar--cyan { background: var(--color-cyan); }
.avatar--neutral {
  background: linear-gradient(135deg, var(--color-green), var(--color-cyan));
}

/* Mentor cards */
.mentor-card {
  text-align: center;
}

.mentor-role {
  color: var(--color-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.mentor-card p {
  font-size: 0.8rem;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card h3 {
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 0.25rem;
}

.pricing-price-normal {
  font-size: 0.85rem;
  color: var(--color-text-mute);
  text-decoration: line-through;
  margin-bottom: 1.25rem;
}

.pricing-features {
  text-align: left;
  font-size: 0.85rem;
  color: var(--color-text-mute);
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--color-border);
}

.pricing-features li:first-child {
  border-top: none;
}

.pricing-card--highlight-green {
  border-color: var(--color-green);
}

.pricing-card--highlight-cyan {
  border-color: var(--color-cyan);
}

/* Trust callout (Humanidad + IA) */
.callout {
  background: var(--color-bg-elev);
  border-left: 3px solid var(--color-cyan);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-mute);
}

/* Why-us icon grid */
.why-item {
  text-align: center;
}

.why-item h3 {
  color: var(--color-green);
  font-size: 1.1rem;
}

.why-item p {
  font-size: 0.85rem;
}

.why-icon {
  width: 260px;
  height: 260px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

#por-que .why-icon {
  height: 160px;
  object-fit: cover;
}

#como-funciona .why-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.why-item--leadership {
  max-width: 640px;
  margin: 3rem auto 0;
}

.why-item--leadership h3,
.why-item--leadership p {
  text-align: center;
}

.why-signatures {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1rem;
}

.why-item--leadership .why-signatures {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.why-signature {
  height: 260px;
  width: auto;
  object-fit: contain;
}

.why-signature--chris {
  transform: rotate(-2deg);
}

.why-signature--ursula {
  height: 300px;
  transform: rotate(-3deg);
  margin-top: -0.5rem;
}

@media (max-width: 768px) {
  .why-signature {
    height: 180px;
  }

  .why-signature--ursula {
    height: 180px;
  }
}

/* Nicho / Vital Zone visual (imagen de card, candado superpuesto) */
.visual-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}

.card .visual-slot {
  margin-top: -1.75rem;
  margin-left: -1.75rem;
  margin-right: -1.75rem;
}

.visual-slot img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lock-overlay {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 22%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.grid-media-2 .card h3 {
  font-size: 1.1rem;
}

.grid-media-2 .card p {
  font-size: 0.85rem;
}

/* Video embed (marco de mentor / bienvenida CEO, video real pendiente) */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-embed__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}

.video-embed__slot {
  position: absolute;
  inset: 26%;
  background: #000000;
  border-radius: calc(var(--radius) / 2);
  z-index: 1;
}

.video-embed__slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.ai-disclosure {
  color: var(--color-text-mute);
  font-size: 0.75rem;
  margin-top: 0.35rem;
  text-align: center;
}

.bienvenida-caption {
  text-align: center;
  max-width: 700px;
  margin: 1.25rem auto 0;
}

.mentor-locked {
  text-align: center;
  margin-top: 0.75rem;
}

.mentor-locked .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0;
}

.video-embed--gold {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.video-embed--vertical {
  aspect-ratio: 9 / 16;
  max-width: 405px;
  margin-left: auto;
  margin-right: auto;
}

.video-embed--vertical .video-embed__slot {
  inset: 0;
}

.video-embed--frame-chris {
  border: 4px solid #D4AF37;
  box-sizing: border-box;
}

.video-embed--frame-chris .video-embed__frame {
  display: none;
}

.video-embed--frame-chris .video-embed__slot {
  inset: 0;
}

.mentor-card .video-embed {
  margin-top: -1.75rem;
  margin-left: -1.75rem;
  margin-right: -1.75rem;
}

#bienvenida .video-embed__slot,
.video-embed--active .video-embed__slot,
.video-embed--vertical .video-embed__slot {
  z-index: 3;
}

/* Arquitectura del Ecosistema (bloque dentro de Humanidad + IA) */
.architecture-block {
  margin-top: 3rem;
  text-align: center;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.architecture-image {
  width: 100%;
  border-radius: var(--radius);
}

.architecture-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.architecture-heading h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .architecture-grid {
    grid-template-columns: 1fr;
  }
}

.architecture-closing {
  color: var(--color-green);
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
