@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

#calculadora-sst {
  max-width: 900px;
  margin: 60px auto;
  font-family: 'Poppins', sans-serif;
  color: #002443;
}

/* ==========================
   STEPS
========================== */

.sst-step {
  display: none;
  animation: fadeIn .35s ease;
}

.sst-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}

/* ==========================
   BARRA DE PROGRESO
========================== */

#sst-progress {
  width: 100%;
  background: #e6eef4;
  height: 12px;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
}

#sst-bar {
  height: 12px;
  width: 0%;
  background: #0078B2;
  transition: width .4s ease;
}

/* ==========================
   FORMULARIO
========================== */

.sst-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.sst-field {
  display: flex;
  flex-direction: column;
}

.sst-field label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.sst-field input,
.sst-field select {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid #d6e0ea;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: #f9fcff;
  transition: .2s ease;
}

.sst-field input:focus,
.sst-field select:focus {
  outline: none;
  border-color: #0078B2;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0,120,178,.12);
}

/* ==========================
   TARJETAS ESTÁNDARES
========================== */

.card-sst {
  background: #ffffff;
  border: 1px solid #e0e8ef;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
  transition: .25s ease;
}

.card-sst:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.sst-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sst-code {
  font-size: 12px;
  font-weight: 600;
  color: #0078B2;
  background: #e9f3fb;
  padding: 6px 14px;
  border-radius: 30px;
}

.sst-value {
  font-size: 13px;
  font-weight: 500;
}

.sst-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.sst-help {
  font-size: 14px;
  color: #5c7a90;
  line-height: 1.5;
  margin-bottom: 18px;
}

.sst-options label {
  margin-right: 24px;
  font-size: 14px;
  cursor: pointer;
}

/* ==========================
   NAVEGACIÓN
========================== */

.sst-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

button {
  padding: 14px 34px;
  border-radius: 14px;
  background: #002443;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: .25s ease;
}

button:hover {
  background: #0078B2;
}

button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ==========================
   TÍTULOS
========================== */

h2 {
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 25px;
}

h3 {
  color: #0078B2;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 24px;
}

/* ==========================
   RESULTADO
========================== */

.sst-result-box {
  margin-top: 40px;
  padding: 30px;
  border-radius: 18px;
  background: #f4f9fd;
  border: 1px solid #dbeaf5;
}

.sst-result-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.sst-result-box p {
  font-size: 14px;
  color: #5c7a90;
}

/* ==========================
   BLOQUE COMERCIAL
========================== */

.sst-offer-box {
  margin-top: 40px;
  padding: 35px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e0e8ef;
  box-shadow: 0 14px 35px rgba(0,0,0,.06);
}

.sst-offer-box h3 {
  color: #002443;
  margin-bottom: 18px;
}

.sst-offer-list {
  margin: 15px 0 25px 0;
  line-height: 1.7;
  font-size: 15px;
}

.sst-price {
  font-size: 20px;
  font-weight: 600;
  color: #0078B2;
  margin-bottom: 30px;
}

.sst-offer-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sst-btn-primary {
  background: #002443;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.sst-btn-primary:hover {
  background: #0078B2;
}

.sst-btn-secondary {
  border: 2px solid #002443;
  color: #002443;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.sst-btn-secondary:hover {
  background: #002443;
  color: #ffffff;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 640px) {

  .sst-offer-buttons {
    flex-direction: column;
  }

  .sst-btn-primary,
  .sst-btn-secondary {
    text-align: center;
    width: 100%;
  }

  button {
    width: 100%;
  }

  .sst-nav {
    flex-direction: column;
    gap: 15px;
  }
}