/* Hero matrícula ( Formaliza tu matrícula + pasos ) */
.ft-matricula-hero {
  --ft-mat-navy: #081828;
  --ft-mat-navy-2: #0b273d;
  --ft-mat-gold: #febc32;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ft-mat-navy);
}

.ft-matricula-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 28%;
  z-index: 0;
  background-position: 62% 48%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 18%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 18%, #000 48%);
}

.ft-matricula-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    #081828 0%,
    #081828 42%,
    rgba(8, 24, 40, 0.82) 62%,
    rgba(8, 24, 40, 0.55) 82%,
    rgba(8, 24, 40, 0.38) 100%
  );
}

.ft-matricula-hero__inner {
  position: relative;
  z-index: 2;
  padding: 1.75rem 0 1.35rem;
}

.ft-matricula-hero__content {
  max-width: 38rem;
}

.ft-matricula-hero__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin: 0 0 0.45rem;
  font-family: Poppins, "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.ft-matricula-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ft-mat-gold);
  font-size: 0.92em;
  line-height: 1;
}

.ft-matricula-hero__title-accent {
  color: var(--ft-mat-gold);
}

.ft-matricula-hero__subtitle {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.ft-matricula-hero__secure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.85);
}

.ft-matricula-hero__secure .fa {
  color: var(--ft-mat-gold);
  font-size: 0.9em;
}

.ft-matricula-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-matricula-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.84rem;
  font-weight: 500;
}

.ft-matricula-steps__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 3px;
  margin: 0 0.65rem 0 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
}

.ft-matricula-steps__item--done:not(:last-child)::after,
.ft-matricula-steps__item--active:not(:last-child)::after {
  background: var(--ft-mat-gold);
}

.ft-matricula-steps__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.55);
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.ft-matricula-steps__item--done .ft-matricula-steps__dot {
  border-color: var(--ft-mat-gold);
  background: var(--ft-mat-gold);
  color: #081828;
}

.ft-matricula-steps__item--active .ft-matricula-steps__dot {
  border-color: var(--ft-mat-gold);
  background: var(--ft-mat-gold);
  color: #081828;
}

.ft-matricula-steps__item--done .ft-matricula-steps__label,
.ft-matricula-steps__item--active .ft-matricula-steps__label {
  color: #fff;
  font-weight: 650;
}

.ft-matricula-steps__item--active .ft-matricula-steps__label {
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .ft-matricula-hero__bg {
    left: 0;
    background-position: 70% 50%;
    opacity: 0.28;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ft-matricula-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(8, 24, 40, 0.96) 0%,
      rgba(8, 24, 40, 0.9) 100%
    );
  }

  .ft-matricula-hero__inner {
    padding: 1.4rem 0 1.15rem;
  }

  .ft-matricula-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .ft-matricula-steps__item:not(:last-child)::after {
    display: none;
  }
}

/* Estilo formulario matrícula (cercano al original Odoo) */
.ft-matricula-page {
  font-family: Poppins, system-ui, sans-serif;
  background: #fff;
  color: #4a4a4a;
}

.ft-matricula-intro {
  font-size: 1.05rem;
}

.ft-matricula-form .form-label {
  font-weight: 500;
  color: #5c5c5c;
  font-size: 0.92rem;
}

.ft-matricula-form .form-control,
.ft-matricula-form .form-select {
  border-radius: 0.25rem;
  border-color: #ced4da;
  font-family: inherit;
}

.ft-matricula-row {
  display: grid;
  grid-template-columns: minmax(160px, 28%) 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 767.98px) {
  .ft-matricula-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.ft-matricula-label {
  font-weight: 600;
  color: #6c6c6c;
  padding-top: 0.35rem;
}

.ft-matricula-alert {
  border-radius: 0.35rem;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ft-matricula-alert--ok {
  background: #eaf7ee;
  border: 1px solid #b7e0c2;
  color: #1f6b3a;
}

.ft-matricula-alert--info {
  background: #eef5ff;
  border: 1px solid #c5d8f5;
  color: #2c4a73;
}

.ft-matricula-form .card {
  border: 1px solid #ececec !important;
  box-shadow: none !important;
  border-radius: 0.35rem;
}

.ft-matricula-form .card-body h2 {
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.15rem;
  color: #714B67;
}

.ft-matricula-cursos .form-check {
  padding: 0.35rem 0;
}

.ft-matricula-page .btn-primary {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 600;
}
