/* ============================================================
   Seccion "Solicita tu Certificado de Firma Digital" (Inicio.html)
   Acceso directo desde la portada al flujo de solicitud.

   Estilos portados 1:1 desde la app real
   (trunk/ccpsd.digifirma.web/Content/styles.css: .fx-page-title,
   .fx-choice-card*, .fx-btn*) para que el titulo y las cards se
   vean identicos a /Solicitud/Index. Todo va scopeado bajo
   #sec-solicita para no chocar con nicepage.css / Inicio.css.
   ============================================================ */

#sec-solicita {
  padding: 3.5rem 1rem;
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* Reset local: nicepage.css estiliza a / p / ul / li globalmente */
#sec-solicita * {
  box-sizing: border-box;
}

#sec-solicita p {
  margin: 0;
}

#sec-solicita ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sec-solicita a {
  text-decoration: none;
}

/* Layout: reemplaza .container / .row / .col-md-4 de Bootstrap */
#sec-solicita .sol-container {
  width: 100%;
  max-width: 1370px; /* ~20% mas ancho que el 1140 base -> cards mas anchas */
  margin: 0 auto;
  padding: 0 12px;
}

#sec-solicita .sol-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

#sec-solicita .sol-col {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  #sec-solicita .sol-col {
    flex: 0 0 calc(33.333% - 0.667rem);
    max-width: calc(33.333% - 0.667rem);
  }
}

/* ---- Titulo principal (.fx-page-title) ---- */
#sec-solicita .fx-page-title {
  text-align: center;
  margin: .5rem 0 1.75rem;
  padding: 0;
  color: #003881;
  font-size: 1.3rem;
  font-weight: 700;
}

#sec-solicita .fx-page-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: .6rem auto 0;
  background-color: #003881;
  border-radius: 2px;
}

/* ---- Card de eleccion (.fx-choice-card) ---- */
#sec-solicita .fx-choice-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 2rem 1.5rem 1.75rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  background-color: #fff;
  color: #111827;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

#sec-solicita .fx-choice-card:hover {
  border-color: #003881;
  box-shadow: 0 10px 28px rgba(0, 56, 129, .14);
  transform: translateY(-4px);
}

#sec-solicita .fx-choice-card-header {
  display: flex;
  align-items: center;
  gap: .85rem;
}

#sec-solicita .fx-choice-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(0, 56, 129, .08);
}

#sec-solicita .fx-choice-card-icon {
  width: 32px;
  max-width: 100%;
  height: auto;
}

#sec-solicita .fx-choice-card-title {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #0b2447;
}

#sec-solicita .fx-choice-card-badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: .5rem;
  margin: .4rem 0 .85rem;
}

/* Los 2 planes (1 año / 2 años) siempre en una sola fila, cada uno mitad
   del ancho -- el ano y el monto quedan uno al lado del otro. */
#sec-solicita .fx-choice-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background-color: rgba(0, 56, 129, .07);
  border: 1px solid rgba(0, 56, 129, .12);
  font-size: .78rem;
  line-height: 1.2;
  white-space: nowrap;
}

#sec-solicita .fx-choice-card-badge--price {
  background-color: rgba(0, 56, 129, .1);
  border-color: rgba(0, 56, 129, .22);
}

#sec-solicita .fx-choice-card-badge-icon {
  font-size: .72rem;
  color: #003881;
}

#sec-solicita .fx-choice-card-badge-label {
  color: #6b7280;
  font-weight: 600;
}

#sec-solicita .fx-choice-card-badge-value {
  color: #003881;
  font-weight: 800;
}

/* Las cards de la fila tienen la misma altura (.sol-row estira + card
   height:100%). Para que "Ver detalles" quede al mismo nivel en las 3
   aunque la descripcion de Facturacion sea mas larga: la descripcion
   CRECE para absorber el espacio sobrante (flex-grow) y el bloque de
   requisitos de abajo tiene una reserva fija que no se encoge -- asi el
   boton arranca a la misma altura en todas. */
#sec-solicita .fx-choice-card-desc {
  align-self: stretch;
  flex: 1 1 auto;
  min-height: 5.9rem;
  font-size: .92rem;
  font-weight: 400;
  color: #374151;
  line-height: 1.6;
}

#sec-solicita .fx-choice-card-actions {
  display: flex;
  align-self: stretch;
  flex-shrink: 0;
  gap: .6rem;
  margin-top: .75rem;
}

#sec-solicita .fx-choice-card-actions .fx-btn {
  flex: 1 1 0;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Reserva fija >= al alto del bloque de 3 requisitos (Facturacion /
   Institucional) para que Personal, que solo tiene 2, no "sobre-crezca"
   la descripcion y baje su boton respecto a las otras. */
#sec-solicita .fx-choice-card-info {
  align-self: stretch;
  flex-shrink: 0;
  width: 100%;
  min-height: 12rem;
  text-align: left;
  padding-top: .25rem;
  border-top: 1px solid #eef0f3;
}

#sec-solicita .fx-choice-card-info-row {
  margin: 0 0 .35rem;
  font-size: .92rem;
  color: #374151;
}

#sec-solicita .fx-choice-card-info-row strong {
  color: #6b7280;
  font-weight: 600;
}

#sec-solicita .fx-choice-card-info-list-label {
  margin-bottom: .15rem;
}

#sec-solicita .fx-choice-card-info-list {
  list-style: none;
  margin: 0 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-size: .92rem;
  color: #374151;
  line-height: 1.4;
}

#sec-solicita .fx-choice-card-info-list li {
  position: relative;
  padding-left: .9rem;
}

#sec-solicita .fx-choice-card-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #003881;
}

/* ---- Boton (.fx-btn) ---- */
#sec-solicita .fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

#sec-solicita .fx-btn.fx-btn-sm {
  padding: .25rem .65rem;
  font-size: .75rem;
  gap: .3rem;
}

#sec-solicita .fx-btn-primary {
  background-color: #003881;
  border-color: #003881;
  color: #fff;
}

#sec-solicita .fx-choice-card:hover .fx-btn-primary {
  background-color: #002a5c;
  border-color: #002a5c;
  color: #fff;
}

/* ---- Mobile: cards mas compactas (igual que la app, <=768px) ---- */
@media (max-width: 768px) {
  #sec-solicita .fx-choice-card {
    min-height: 0;
    padding: 1.25rem 1.25rem 1rem;
    gap: .65rem;
  }

  #sec-solicita .fx-choice-card-header {
    gap: .65rem;
  }

  #sec-solicita .fx-choice-card-icon-wrap {
    width: 46px;
    height: 46px;
  }

  #sec-solicita .fx-choice-card-icon {
    width: 27px;
  }

  #sec-solicita .fx-choice-card-title {
    font-size: 1.05rem;
  }

  #sec-solicita .fx-choice-card-desc {
    flex: 0 1 auto;
    min-height: 0;
    font-size: .85rem;
    line-height: 1.45;
  }

  /* Apiladas en 1 columna no hace falta reservar altura para alinear */
  #sec-solicita .fx-choice-card-info {
    min-height: 0;
  }

  #sec-solicita .fx-choice-card-info-row,
  #sec-solicita .fx-choice-card-info-list {
    font-size: .85rem;
  }

  #sec-solicita .fx-choice-card-badge {
    font-size: .74rem;
    padding: .3rem .6rem;
  }
}
