/* Desktop only: match homepage's compact four-card booking progress. */
@media (min-width:1025px){
 body[data-page="residential"] #cotizar.section{padding-top:14px!important}
 body[data-page="residential"] .residential-journey{
  box-sizing:border-box!important;width:min(100%,1240px)!important;max-width:1240px!important;
  margin:0 auto 16px!important;padding:14px 22px 17px!important;
  border:1px solid #dce9f6!important;border-radius:16px!important;
  background:linear-gradient(105deg,#f5faff,#edf7ff)!important;
  box-shadow:none!important;text-align:center!important;
 }
 body[data-page="residential"] .residential-journey h2{
  margin:0 0 12px!important;font-size:clamp(18px,1.7vw,23px)!important;
  line-height:1.25!important;font-weight:800!important;color:#184675!important
 }
 body[data-page="residential"] .residential-journey-track{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;gap:9px!important
 }
 body[data-page="residential"] .residential-journey-track:before{display:none!important}
 body[data-page="residential"] .residential-journey-step{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:center!important;gap:10px!important;min-height:59px!important;
  padding:10px 11px!important;box-sizing:border-box!important;
  background:#fff!important;border:1px solid #dce8f4!important;
  border-radius:12px!important;box-shadow:none!important;color:#526d88!important;
  font-size:clamp(11px,1.05vw,14px)!important;font-weight:750!important;
  line-height:1.25!important;text-align:left!important
 }
 body[data-page="residential"] .residential-journey-step b{
  display:grid!important;place-items:center!important;flex:0 0 30px!important;
  width:30px!important;height:30px!important;min-width:30px!important;
  min-height:30px!important;margin:0!important;border:2px solid #fff!important;
  border-radius:50%!important;background:#e7eff9!important;color:#6a8199!important;
  box-shadow:none!important;font-size:13px!important;font-weight:850!important
 }
 body[data-page="residential"] .residential-journey-step.complete{
  background:#f1faf8!important;border-color:#cde8df!important;color:#276d66!important
 }
 body[data-page="residential"] .residential-journey-step.complete b{
  background:#2e987c!important;color:white!important
 }
 body[data-page="residential"] .residential-journey-step.active{
  background:linear-gradient(112deg,#175ac9 0%,#5a44d4 100%)!important;
  border:1px solid #554dd2!important;color:#fff!important;
  box-shadow:0 5px 14px rgba(60,74,190,.22)!important;font-weight:850!important
 }
 body[data-page="residential"] .residential-journey-step.active b{
  background:#fff!important;color:#4a4fd0!important;border:2px solid #e2e6ff!important
 }
}

/* v2: correct oversize progress panel on laptop/tablet landscape. Keep all 4 cards inside quote width. */
@media(min-width:1025px){
 body[data-page="residential"] .residential-journey{width:min(100%,900px,calc(100vw - 56px))!important;max-width:900px!important;margin:0 auto 14px!important;padding:12px 14px 14px!important;overflow:hidden!important}
 body[data-page="residential"] .residential-journey-track{width:100%!important;min-width:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
 body[data-page="residential"] .residential-journey-step{min-width:0!important;min-height:55px!important;padding:8px 7px!important;gap:7px!important;font-size:12px!important;overflow:hidden!important}
 body[data-page="residential"] .residential-journey-step span{min-width:0!important;overflow-wrap:anywhere!important;line-height:1.25!important}
 body[data-page="residential"] .residential-journey-step b{flex:0 0 27px!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
 body[data-page="residential"] .residential-journey h2{font-size:20px!important;margin-bottom:10px!important}
}
@media(min-width:769px) and (max-width:1024px){
 body[data-page="residential"] .residential-journey{width:calc(100% - 28px)!important;max-width:900px!important;box-sizing:border-box!important;margin:0 auto 14px!important;padding:12px!important;overflow:hidden!important}
 body[data-page="residential"] .residential-journey-track{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body[data-page="residential"] .residential-journey-track:before{display:none!important}
 body[data-page="residential"] .residential-journey-step{min-width:0!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:6px!important;padding:8px 5px!important;min-height:52px!important;background:#fff!important;border:1px solid #dce8f4!important;border-radius:11px!important;font-size:11px!important;line-height:1.2!important}
 body[data-page="residential"] .residential-journey-step span{min-width:0!important;overflow-wrap:anywhere!important}
 body[data-page="residential"] .residential-journey-step b{flex:0 0 27px!important;width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;border-width:2px!important;font-size:13px!important}
 body[data-page="residential"] .residential-journey-step.active{background:linear-gradient(112deg,#175ac9,#5a44d4)!important;color:#fff!important;border-color:#554dd2!important}
 body[data-page="residential"] .residential-journey-step.active b{background:#fff!important;color:#4a4fd0!important}
 body[data-page="residential"] .residential-journey-step.complete{background:#f1faf8!important;color:#276d66!important}
 body[data-page="residential"] .residential-journey-step.complete b{background:#2e987c!important;color:#fff!important}
}
