/* =========================================================
   YES I CAN ROOFING & EXTERIORS
   BLOCK 05 — ESTIMATE SIMULATION
   SOLO ESTILOS DEL COTIZADOR
   NO TOCA EL BLOQUE AZUL BEFORE/AFTER
   ========================================================= */

.estimate-shell__card.estimate-calculator {
  padding: 18px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f8fb 100%);
}

.estimate-calculator__header {
  margin-bottom: 16px;
  text-align: center;
}

.estimate-calculator__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #e3131b;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.estimate-calculator .estimate-shell__title {
  margin: 0;
}

.estimate-calculator__intro {
  max-width: 520px;
  margin: 9px auto 0;
  color: #687687;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.estimate-calculator__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.estimate-calculator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.estimate-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.estimate-field__label {
  padding-left: 4px;
  color: #667486;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.estimate-field__control {
  position: relative;
  display: block;
}

.estimate-field__control::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #486075;
  border-bottom: 2px solid #486075;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.estimate-field select {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 13px;
  color: #152235;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  outline: none;
  appearance: none;
  background: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 2px 5px rgba(3, 23, 43, 0.025);
}

.estimate-field select:focus {
  border-color: #17334f;
  box-shadow: 0 0 0 3px rgba(10, 39, 67, 0.08);
}

.estimate-result {
  min-height: 94px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #cfd9e3;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.estimate-result__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cbd6e1;
  border-radius: 10px;
  background: #f7fafc;
}

.estimate-result__icon svg {
  width: 25px;
  height: 25px;
  fill: #526a80;
}

.estimate-result__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.estimate-result__label {
  margin-bottom: 3px;
  color: #5e6e7f;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.estimate-result__amount {
  color: #07192c;
  font-size: clamp(22px, 1.65vw, 30px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.025em;
}

.estimate-result__note {
  margin-top: 5px;
  color: #788596;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
}

.estimate-calculator__whatsapp {
  width: 100%;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 7px;
  background: linear-gradient(90deg, #159f35 0%, #07962c 55%, #078b29 100%);
  box-shadow: 0 8px 20px rgba(8, 145, 44, 0.15);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.estimate-calculator__whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 620px) {
  .estimate-shell__card.estimate-calculator {
    padding: 15px;
  }

  .estimate-calculator__grid {
    grid-template-columns: 1fr;
  }

  .estimate-result {
    padding: 13px;
  }

  .estimate-result__amount {
    font-size: 22px;
  }
}


/* Alineación final con el bloque Before / After */
.estimate-shell {
  height: 100%;
}

.estimate-shell__card.estimate-calculator {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.estimate-calculator__form {
  flex: 1;
}


.estimate-calculator__whatsapp--disabled,
.estimate-calculator__whatsapp--disabled:hover,
.estimate-calculator__whatsapp--disabled:focus-visible {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
  opacity: 1;
  background: linear-gradient(90deg, #159f35 0%, #07962c 55%, #078b29 100%);
}
