.brigades-prototype {
  color: #1f2937;
}

.brigades-prototype img {
  display: block;
  max-width: 100%;
}

.brigades-prototype button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.brigades-dot-pattern {
  background-image: radial-gradient(
    circle at 2px 2px,
    white 1px,
    transparent 0
  );
  background-size: 32px 32px;
}

.brigades-prototype .timeline-container {
  position: relative;
}

.brigades-prototype .timeline-container::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  z-index: 0;
  width: 4px;
  background-color: #e2e8f0;
  content: "";
}

.brigades-prototype .slider-wrapper {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.brigades-prototype .prose ul {
  list-style: none;
}

.brigades-prototype .audience-notice {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  padding: 0.625rem 1rem;
  border-left: 3px solid #a8c7dc;
  border-radius: 0.5rem;
  background-color: #f5f9fc;
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.brigades-prototype .audience-notice a {
  color: #0d4f91;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brigades-prototype .audience-notice a:hover,
.brigades-prototype .audience-notice a:focus-visible {
  color: #083b6b;
}

.brigades-prototype .legal-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.brigades-prototype .legal-card:hover,
.brigades-prototype .legal-card:focus-within {
  transform: translateY(-4px);
  border-color: #e74c3c;
  background-color: #fff;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.12);
}

.brigades-prototype .legal-card:focus-within {
  outline: 3px solid #e74c3c;
  outline-offset: 3px;
}

.brigades-prototype .legal-card-icon {
  transition:
    color 200ms ease,
    transform 200ms ease;
}

.brigades-prototype .legal-card:hover .legal-card-icon,
.brigades-prototype .legal-card:focus-within .legal-card-icon {
  color: #e74c3c;
  transform: scale(1.08);
}

.brigades-prototype .legal-card-cta {
  display: block;
  margin-top: 0.75rem;
  color: #c0392b;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.brigades-prototype .legal-card-cta:hover,
.brigades-prototype .legal-card-cta:focus-visible {
  color: #a93226;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brigades-prototype .legal-card-cta:focus-visible {
  outline: 2px solid #e74c3c;
  outline-offset: 3px;
}

.brigades-prototype .legal-card-cta i {
  margin-left: 0.2rem;
  font-size: 0.7rem;
}

.brigades-prototype .contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.brigades-prototype .contact-cta-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.375rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.brigades-prototype .contact-cta-button:hover {
  transform: translateY(-2px);
}

.brigades-prototype .contact-cta-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.brigades-prototype .contact-cta-button img {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  object-fit: contain;
}

.brigades-prototype .contact-cta-whatsapp {
  background-color: #25d366;
}

.brigades-prototype .contact-cta-whatsapp:hover {
  background-color: #1ebe5d;
}

.brigades-prototype .contact-cta-email {
  background-color: #009ee3;
}

.brigades-prototype .contact-cta-email:hover {
  background-color: #008ac7;
}

@media (max-width: 639px) {
  .brigades-prototype .contact-cta-actions {
    align-items: center;
    flex-direction: column;
  }

  .brigades-prototype .contact-cta-button {
    width: 100%;
    max-width: 24rem;
  }
}

@media (min-width: 768px) {
  .brigades-prototype .timeline-container::before {
    left: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brigades-prototype .legal-card,
  .brigades-prototype .legal-card-icon,
  .brigades-prototype .contact-cta-button {
    transition: none;
  }

  .brigades-prototype .legal-card:hover,
  .brigades-prototype .legal-card:focus-within,
  .brigades-prototype .legal-card:hover .legal-card-icon,
  .brigades-prototype .legal-card:focus-within .legal-card-icon,
  .brigades-prototype .contact-cta-button:hover {
    transform: none;
  }
}

/* =========================================================
GRÁFICO DE ADN DIAGONAL (Instructores con ADN Industrial)
========================================================= */
@keyframes dna-diagonal-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(38deg) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) rotate(38.6deg) translateY(-14px);
  }
}

.adn-industrial {
  position: relative;
  overflow: hidden;
}

.adn-industrial::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 1850px;
  background-image: url("../assets/adn.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(38deg);
  animation: dna-diagonal-float 10s ease-in-out infinite;
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .adn-industrial::before {
    animation: none;
  }
}
/* =========================================================
FIN GRÁFICO DE ADN DIAGONAL (Instructores con ADN Industrial)
========================================================= */
