/* ============================================================
   Cotizador SOAT — estilos clonados de la landing original
   (sin branding de terceros)
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

/* ---------- Contenedor principal ---------- */
.landingSuraCo {
  font-size: 16px;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}

/* ---------- Header: logo + stepper ---------- */
.landingSuraCo .header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  z-index: 2;
}

.landingSuraCo .header__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 992px) {
  .landingSuraCo .header__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 12px;
  }
}

.landingSuraCo .header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.landingSuraCo .header__brand {
  font-size: 22px;
  font-weight: 700;
  color: #0033a0;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .landingSuraCo .header__brand {
    font-size: 26px;
  }
}

/* Stepper */
.landingSuraCo .steps {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 8px 0 0;
  padding: 0;
}

.landingSuraCo .steps__item {
  margin-right: 4px;
}

@media (min-width: 768px) {
  .landingSuraCo .steps__item {
    margin-right: 24px;
  }
}

.landingSuraCo .steps__item-inner {
  display: flex;
  align-items: center;
}

.landingSuraCo .steps__step {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6e6e6;
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
}

.landingSuraCo .steps__step_success {
  background: #00aec7;
  color: #fff;
}

/* Paso actual (paso 2 en celeste) */
.landingSuraCo .steps__step_current {
  background: #00aec7;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 174, 199, 0.25);
}

.landingSuraCo .steps__check {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
}

.landingSuraCo .steps__btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  color: #6c757d;
  cursor: default;
}

.landingSuraCo .steps__btn_success {
  color: #0033a0;
  font-weight: 600;
}

@media (max-width: 767px) {
  .landingSuraCo .steps__btn {
    display: none;
  }
}

/* ---------- Banner principal ---------- */
.landingSuraCo .landingBanner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 350px;
  background-color: #2d6df6;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../img/banner.png');
}

/* ---------- Tarjeta de cotización ---------- */
.landingSuraCo .landingCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 1pc;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.landingSuraCo .landingCard__title,
.landingSuraCo .landingCard__text,
.landingSuraCo .landingCard__input-wrap,
.landingSuraCo .landingCard__btn {
  width: 250px;
  margin-bottom: 15px;
}

.landingSuraCo .landingCard__title {
  color: #2d6df6;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0;
  line-height: 1.2;
}

.landingSuraCo .landingCard__text {
  color: gray;
  margin-top: 0;
}

.landingSuraCo .landingCard__input-wrap {
  position: relative;
  margin-bottom: 15px;
}

.landingSuraCo .landingCard__input {
  width: 100%;
  height: 50px;
  padding: 0.5em;
  border-radius: 1pc;
  outline: none;
  background: #fff;
  border: 2px solid gray;
  text-transform: uppercase;
  font-size: 25px;
  color: gray;
  text-align: center;
  box-sizing: border-box;
}

.landingSuraCo .landingCard__input::placeholder {
  font-size: 20px;
  color: #d3d3d3;
  text-transform: capitalize;
}

.landingSuraCo .landingCard__input:focus {
  border-color: #2d6df6;
}

.landingSuraCo .landingCard__btn {
  padding: 10px;
  border-radius: 1.5pc;
  background-color: #e3e829;
  border: none;
  color: #0033a0;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0;
  outline: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background-color 0.15s,
    color 0.15s;
}

.landingSuraCo .landingCard__btn:hover {
  color: #fff;
  background-color: #00aec7;
}

.landingSuraCo .landingCard__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.invalid-message {
  color: #d92d20;
  font-size: 0.85rem;
  margin: 6px 0 0;
  text-align: center;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 51, 160, 0.3);
  border-top-color: #0033a0;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Franja informativa ---------- */
.landingSuraCo .landingInfo {
  padding: 20px;
  color: #0033a0;
  text-align: center;
  background-color: #e3e829;
  font-size: 1rem;
}
.landingSuraCo .landingInfo span {
  font-weight: 700;
}

/* ---------- Items / beneficios ---------- */
.landingSuraCo .landingItems {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-align: center;
  color: #fff;
  background-color: #2d6df6;
}
@media (min-width: 1024px) {
  .landingSuraCo .landingItems {
    flex-direction: row;
  }
}
.landingSuraCo .landingItems__item {
  width: 400px;
  border: none;
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .landingSuraCo .landingItems__item:nth-child(2) {
    margin: 0 20px;
    padding: 0 20px;
    border: 1px solid rgba(211, 211, 211, 0.384);
    border-top: none;
    border-bottom: none;
  }
}
.landingSuraCo .landingItems__title {
  margin-bottom: 30px;
  font-size: 1.4rem;
}
.landingSuraCo .landingItems__content {
  margin: 0;
}

/* ---------- Botones secundarios ---------- */
.btn-secondary {
  background: #eef2f7;
  color: #101828;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  padding: 12px 22px;
}
.btn-secondary:hover {
  background: #e2e8f0;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .landingSuraCo .landingBanner {
    height: auto;
    padding: 30px 15px;
  }
  .landingSuraCo .landingCard {
    width: 100%;
  }
  .landingSuraCo .landingItems {
    padding: 30px 20px;
  }
  .landingSuraCo .landingItems__item {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.landingSuraCo .footer {
  background-color: #0033a0;
  padding: 60px 50px 40px;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.landingSuraCo .footer__text {
  max-width: 1140px;
  margin: 0 auto 16px;
}

.landingSuraCo .footer__text p {
  margin: 0;
}

.landingSuraCo .footer__list {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.landingSuraCo .footer__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landingSuraCo .footer__list a {
  color: #fff;
  text-decoration: none;
}

.landingSuraCo .footer__list a:hover {
  text-decoration: underline;
}

/* ---------- Páginas legales ---------- */
.landingSuraCo .legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  color: #333;
  line-height: 1.7;
}

.landingSuraCo .legal h1 {
  font-size: 1.8rem;
  color: #0033a0;
  margin-bottom: 20px;
}

.landingSuraCo .legal h2 {
  font-size: 1.15rem;
  color: #2d6df6;
  margin: 24px 0 8px;
}

.landingSuraCo .legal p {
  margin: 0 0 12px;
}

.landingSuraCo .legal__back {
  margin-top: 32px;
}

.landingSuraCo .legal__back a {
  color: #0033a0;
  font-weight: 600;
  text-decoration: none;
}

.landingSuraCo .legal__back a:hover {
  text-decoration: underline;
}

/* ============================================================
   MODAL "Estás comprando"
   ============================================================ */
body.modal-open {
  overflow: hidden;
}

/* El atributo [hidden] debe ganar siempre a display:flex/grid */
[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(33, 37, 41, 0.5);
}

.modal-dialog {
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-confirmar-placa {
  padding: 28px 32px 24px;
}

.modal-confirmar-placa__title {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0033a0;
}

.modal-confirmar-placa__content-placa {
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  overflow: hidden;
}

.modal-confirmar-placa__content-placa .header {
  background: #0033a0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  font-size: 0.95rem;
}

.modal-confirmar-placa__content-placa .body {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
}

.body__valor-placa,
.body__valor-pretarifa {
  flex: 1 1 200px;
  text-align: center;
}

.body__valor-placa__titulo,
.body__valor-pretarifa__titulo {
  display: block;
  color: #667085;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.body__valor-placa__numero-placa {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #101828;
}

.body__valor-pretarifa__cantidad {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2d6df6;
}

.modal-confirmar-placa__informacion {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #667085;
}

.modal-confirmar-placa__container-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.modal-confirmar-placa__container-botones__return {
  background: #eef2f7;
  color: #101828;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 12px 20px;
}
.modal-confirmar-placa__container-botones__return:hover {
  background: #e2e8f0;
}

.modal-confirmar-placa__container-botones__confirmar {
  background: #e3e829;
  color: #0033a0;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 12px 26px;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.modal-confirmar-placa__container-botones__confirmar:hover {
  background: #00aec7;
  color: #fff;
}

/* ============================================================
   PASO 2 — Datos del tomador
   ============================================================ */
#view-datos {
  background: #f7f9fc;
  padding: 24px 16px 48px;
}

#view-datos .container {
  max-width: 1140px;
  margin: 0 auto;
}

#view-datos .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#view-datos .col-lg-8 {
  flex: 1 1 620px;
}

#view-datos .col-lg-4 {
  flex: 1 1 300px;
}

#view-datos .col-lg-8 > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#view-datos .col-lg-6 {
  flex: 1 1 280px;
}

/* Información del vehículo */
.vehicle-information {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.vehicle-information__label {
  display: block;
  font-weight: 700;
  color: #0033a0;
  margin-bottom: 12px;
  font-size: 1rem;
}

.vehicle-information__list-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vehicle-information__list-group li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.92rem;
  color: #344054;
}
.vehicle-information__list-group li:last-child {
  border-bottom: none;
}
.vehicle-information__list-group strong {
  color: #101828;
}

/* Formulario tomador */
.tomador-form {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.tomador-form__title {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: #0033a0;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 12px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field__label {
  display: block;
  font-size: 0.82rem;
  color: #667085;
  margin-bottom: 6px;
}

.form-field__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #101828;
  background: #fff;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.form-field__input:focus {
  border-color: #2d6df6;
  box-shadow: 0 0 0 3px rgba(45, 109, 246, 0.15);
}

.form-field__input.is-invalid {
  border-color: #d92d20;
}

.form-field .invalid-message {
  text-align: left;
  margin-top: 4px;
}

.container-advertencia-numero-correo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eef4ff;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0 16px;
}

.container-advertencia-numero-correo__text-blue {
  color: #1d4ed8;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Tarifa lateral */
.tarifa {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
  position: sticky;
  top: 16px;
}

.descuentos__total-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e4e7ec;
}
.descuentos__total-price p {
  margin: 0;
}
.descuentos__total-price .font-weight-bold {
  font-weight: 700;
  color: #101828;
}
#tarifa-total {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2d6df6;
}

.descuentos__informacion {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #667085;
}

.tarifa__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.button-secondary {
  background: #e3e829;
  color: #0033a0;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  padding: 13px 22px;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.button-secondary:hover {
  background: #00aec7;
  color: #fff;
}

/* ============================================================
   PASO 3 — Pago
   ============================================================ */
#view-pago {
  background: #f7f9fc;
  padding: 24px 16px 48px;
}

.pago-container {
  max-width: 900px;
  margin: 0 auto;
}

.pago-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.pago-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  margin: 0 auto 16px;
}

.pago-text {
  color: #374151;
  font-size: 18px;
  font-weight: 500;
}

.pago-sub {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 6px;
}

.pago-iframe {
  width: 100%;
  min-height: 80vh;
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}
