/* Elvaris Estimate Calculator */

.estimate-hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 175px 0 95px;
  background: #12272f;
  color: #fff;
}

.estimate-hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.02);
}

.estimate-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,rgba(10,27,34,.98),rgba(11,30,37,.9) 48%,rgba(11,30,37,.45)),linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.38));
}

.estimate-hero:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  right: -240px;
  top: -310px;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 0 0 75px rgba(255,255,255,.023),0 0 0 150px rgba(255,255,255,.014);
}

.estimate-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) 365px;
  gap: 80px;
  align-items: center;
}

.estimate-hero-copy {
  max-width: 790px;
}

.estimate-hero-copy h1 {
  font-size: clamp(52px,6vw,88px);
  margin-bottom: 28px;
}

.estimate-hero-copy .serif {
  color: #efd5c0;
}

.estimate-hero-copy>p {
  max-width: 650px;
  color: rgba(255,255,255,.7);
  font-size: 19px;
}

.estimate-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.estimate-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.64);
  font-size: 12px;
}

.estimate-trust-row span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.estimate-trust-row i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201,117,77,.16);
  color: #f2b899;
  font-style: normal;
}

.estimate-hero-preview {
  position: relative;
  padding: 27px;
  border-radius: 25px;
  color: var(--ink);
  background: linear-gradient(145deg,rgba(255,253,249,.97),rgba(239,229,215,.92));
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 34px 90px rgba(2,16,21,.34),inset 0 1px 0 #fff;
  overflow: hidden;
  animation: estimateFloat 8s ease-in-out infinite;
}

.estimate-hero-preview:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -105px;
  top: -105px;
  background: rgba(201,117,77,.13);
}

.estimate-preview-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 800 10px "Manrope";
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.estimate-preview-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a7866;
  font-size: 9px;
}

.estimate-preview-head b:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71a58e;
  box-shadow: 0 0 0 5px rgba(113,165,142,.13);
}

.estimate-preview-total {
  margin: 32px 0 24px;
}

.estimate-preview-total small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.estimate-preview-total strong {
  font: 800 54px/1 "Manrope";
  letter-spacing: -.07em;
  color: var(--terracotta-dark);
}

.estimate-preview-total span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.estimate-preview-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.estimate-preview-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.estimate-preview-list span {
  font-size: 12px;
  color: var(--muted);
}

.estimate-preview-list b {
  font: 800 12px "Manrope";
}

.estimate-preview-link {
  margin-top: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 800 10px "Manrope";
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--terracotta-dark);
}

.estimate-preview-link i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201,117,77,.11);
  font-style: normal;
  transition: .25s;
}

.estimate-preview-link:hover i {
  background: var(--terracotta);
  color: #fff;
  transform: translate(2px,-2px);
}

@keyframes estimateFloat {
  50% {
    transform: translate(-3px,-7px);
  }
}

.estimate-section {
  padding: 115px 0;
  background: radial-gradient(circle at 90% 8%,rgba(201,117,77,.08),transparent 26%),var(--sand-2);
}

.estimate-builder {
  display: grid;
  grid-template-columns: 285px minmax(0,1fr);
  gap: 26px;
  align-items: start;
}

.estimate-progress-card {
  position: sticky;
  top: 105px;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(circle at 0 100%,rgba(201,117,77,.14),transparent 32%),linear-gradient(150deg,var(--navy),#14272f);
  color: #fff;
  box-shadow: 0 28px 72px rgba(13,33,40,.2);
  overflow: hidden;
}

.estimate-progress-card:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -110px;
  top: -100px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 0 28px rgba(255,255,255,.02);
}

.estimate-progress-card>span {
  display: block;
  position: relative;
  z-index: 1;
  color: #f1b99b;
  font: 800 9px "Manrope";
  letter-spacing: .16em;
  text-transform: uppercase;
}

.estimate-progress-card h3 {
  position: relative;
  z-index: 1;
  margin: 12px 0 9px;
  font-size: 25px;
}

.estimate-progress-card>p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.estimate-progress {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.estimate-progress button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 13px;
  background: transparent;
  color: rgba(255,255,255,.56);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  cursor: default;
  transition: .3s;
}

.estimate-progress button>span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  font: 800 10px "Manrope";
}

.estimate-progress button strong {
  display: block;
  font: 700 13px "Manrope";
}

.estimate-progress button small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.38);
  font-size: 10px;
}

.estimate-progress button.active {
  color: #fff;
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.09);
  box-shadow: inset 3px 0 0 var(--terracotta);
}

.estimate-progress button.active>span,.estimate-progress button.complete>span {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

.estimate-progress button.complete {
  color: rgba(255,255,255,.78);
}

.estimate-config {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.11);
  display: grid;
  gap: 10px;
}

.estimate-config div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.estimate-config span {
  color: rgba(255,255,255,.45);
}

.estimate-config b {
  font: 800 11px "Manrope";
  color: #f1b99b;
}

.estimate-panel {
  min-height: 690px;
  padding: 38px;
  border-radius: 28px;
  background: rgba(255,253,249,.96);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 26px 76px rgba(27,43,50,.14),inset 0 1px 0 #fff;
  overflow: hidden;
  position: relative;
}

.estimate-panel:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  right: -150px;
  top: -145px;
  background: rgba(201,117,77,.065);
}

.estimate-step {
  display: none;
  position: relative;
  z-index: 1;
}

.estimate-step.active {
  display: block;
  animation: estimateStepIn .5s var(--ease) both;
}

@keyframes estimateStepIn {
  from {
    opacity: 0;
    transform: translateY(17px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.estimate-step-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  margin-bottom: 29px;
}

.estimate-step-head h2 {
  font-size: 38px;
  margin: 0 0 9px;
}

.estimate-step-head p {
  margin: 0;
  color: var(--muted);
  max-width: 610px;
}

.estimate-count-badge {
  flex: 0 0 auto;
  min-width: 108px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--sand-2);
  border: 1px solid rgba(201,117,77,.14);
  color: var(--terracotta-dark);
  text-align: center;
  font: 800 10px "Manrope";
  text-transform: uppercase;
  letter-spacing: .08em;
}

.estimate-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.estimate-service {
  position: relative;
  display: block;
  cursor: pointer;
}

.estimate-service input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.estimate-service-card {
  position: relative;
  display: block;
  min-height: 196px;
  padding: 23px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 100% 0,rgba(201,117,77,.06),transparent 33%),linear-gradient(150deg,#fff,#fbf7f1);
  box-shadow: 0 10px 27px rgba(27,43,50,.045);
  transition: transform .32s var(--ease),box-shadow .32s,border-color .25s,background .25s;
  overflow: hidden;
}

.estimate-service-card:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(23,39,45,.17);
  background: #fff;
  transition: .25s;
}

.estimate-service-card:before {
  content: "✓";
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  opacity: 0;
  transform: scale(.6);
  transition: .25s;
}

.estimate-service:hover .estimate-service-card {
  transform: translateY(-5px);
  border-color: rgba(201,117,77,.23);
  box-shadow: 0 22px 54px rgba(27,43,50,.12);
}

.estimate-service input:checked+.estimate-service-card {
  border-color: var(--terracotta);
  background: radial-gradient(circle at 100% 0,rgba(201,117,77,.13),transparent 34%),linear-gradient(150deg,#fff,#f9eee2);
  box-shadow: 0 22px 58px rgba(157,78,48,.15),inset 0 0 0 1px rgba(201,117,77,.14);
  transform: translateY(-4px);
}

.estimate-service input:checked+.estimate-service-card:after {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.estimate-service input:checked+.estimate-service-card:before {
  opacity: 1;
  transform: none;
}

.estimate-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--sand-2);
  color: var(--terracotta-dark);
  font: 800 16px "Manrope";
  margin-bottom: 18px;
  transition: .3s;
}

.estimate-service input:checked+.estimate-service-card .estimate-service-icon {
  background: var(--terracotta);
  color: #fff;
}

.estimate-service-card h3 {
  font-size: 18px;
  margin: 0 44px 7px 0;
}

.estimate-service-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  min-height: 39px;
}

.estimate-service-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.estimate-service-meta span {
  font-size: 10px;
  color: var(--muted);
}

.estimate-service-meta strong {
  color: var(--terracotta-dark);
  font: 800 18px "Manrope";
  letter-spacing: -.03em;
}

.estimate-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 29px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.estimate-actions-note {
  color: var(--muted);
  font-size: 11px;
}

.estimate-actions-group {
  display: flex;
  gap: 10px;
}

.estimate-actions .btn[disabled] {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.estimate-error {
  display: none;
  padding: 11px 14px;
  border-radius: 10px;
  background: #f9e5df;
  color: #8d3f2b;
  font-size: 12px;
  margin-top: 15px;
}

.estimate-error.show {
  display: block;
}

.estimate-summary-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 245px;
  gap: 20px;
}

.estimate-summary-list {
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
}

.estimate-summary-empty {
  padding: 28px;
  color: var(--muted);
}

.estimate-summary-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}

.estimate-summary-row:last-child {
  border-bottom: 0;
}

.estimate-summary-row>span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--sand-2);
  color: var(--terracotta-dark);
  font-weight: 800;
}

.estimate-summary-row strong {
  display: block;
  font: 700 14px "Manrope";
}

.estimate-summary-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.estimate-summary-row b {
  font: 800 15px "Manrope";
  color: var(--terracotta-dark);
}

.estimate-total-card {
  padding: 24px;
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0,rgba(201,117,77,.14),transparent 33%),var(--navy);
  color: #fff;
  box-shadow: 0 20px 52px rgba(20,39,47,.18);
}

.estimate-total-card>div>span {
  font: 800 9px "Manrope";
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #efb696;
}

.estimate-total-card strong {
  display: block;
  font: 800 39px/1 "Manrope";
  letter-spacing: -.06em;
  margin: 17px 0 9px;
}

.estimate-total-card p {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin: 0;
}

.estimate-total-details {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 10px;
}

.estimate-total-details div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}

.estimate-total-details span {
  color: rgba(255,255,255,.48);
}

.estimate-total-details b {
  font: 800 11px "Manrope";
}

.estimate-disclaimer {
  margin-top: 14px;
  padding: 13px;
  border-radius: 12px;
  background: var(--sand-2);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.estimate-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 250px;
  gap: 22px;
}

.estimate-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.estimate-field {
  display: grid;
  gap: 7px;
}

.estimate-field.full {
  grid-column: 1/-1;
}

.estimate-field label {
  font: 800 9px "Manrope";
  text-transform: uppercase;
  letter-spacing: .11em;
}

.estimate-field input,.estimate-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: var(--cream);
  outline: 0;
  transition: .25s;
}

.estimate-field textarea {
  min-height: 115px;
  resize: vertical;
}

.estimate-field input:hover,.estimate-field textarea:hover {
  background: #fff;
}

.estimate-field input:focus,.estimate-field textarea:focus {
  background: #fff;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201,117,77,.11);
}

.estimate-field input.invalid,.estimate-field textarea.invalid {
  border-color: #b74f37;
}

.estimate-privacy {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.estimate-privacy input {
  margin-top: 3px;
  accent-color: var(--terracotta);
}

.estimate-contact-summary {
  padding: 23px;
  border-radius: 19px;
  background: var(--sand-2);
  border: 1px solid rgba(201,117,77,.12);
}

.estimate-contact-summary>span {
  font: 800 9px "Manrope";
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.estimate-contact-summary h3 {
  font-size: 22px;
  margin: 13px 0 17px;
}

.estimate-contact-summary-list {
  display: grid;
  gap: 10px;
}

.estimate-contact-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(23,39,45,.09);
  font-size: 11px;
}

.estimate-contact-summary-list span {
  color: var(--muted);
}

.estimate-contact-summary-list b {
  font: 800 11px "Manrope";
}

.estimate-contact-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-top: 19px;
}

.estimate-contact-total span {
  font-size: 11px;
  color: var(--muted);
}

.estimate-contact-total strong {
  color: var(--terracotta-dark);
  font: 800 26px "Manrope";
}

.estimate-benefits {
  padding: 100px 0;
  background: var(--cream);
}

.estimate-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.estimate-benefit {
  padding: 27px;
  border-radius: 21px;
  background: linear-gradient(150deg,#fff,#faf5ee);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 13px 32px rgba(27,43,50,.065);
  transition: .35s var(--ease);
}

.estimate-benefit:hover {
  transform: translateY(-7px);
  box-shadow: 0 27px 65px rgba(27,43,50,.14);
}

.estimate-benefit>span {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--sand-2);
  color: var(--terracotta-dark);
  font: 800 11px "Manrope";
  margin-bottom: 20px;
}

.estimate-benefit h3 {
  font-size: 19px;
}

.estimate-benefit p {
  color: var(--muted);
  font-size: 13px;
}

.estimate-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.estimate-modal.open {
  opacity: 1;
  visibility: visible;
}

.estimate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,18,23,.78);
  backdrop-filter: blur(9px);
}

.estimate-modal-dialog {
  position: relative;
  width: min(720px,100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  scrollbar-width: none;
  border-radius: 27px;
  background: #fffdf9;
  box-shadow: 0 38px 110px rgba(0,0,0,.32);
  transform: translateY(20px) scale(.98);
  transition: .35s var(--ease);
}

.estimate-modal-dialog::-webkit-scrollbar {
  display: none;
}

.estimate-modal.open .estimate-modal-dialog {
  transform: none;
}

.estimate-modal-top {
  padding: 31px 34px 25px;
  color: #fff;
  background: radial-gradient(circle at 90% 0,rgba(201,117,77,.24),transparent 31%),linear-gradient(140deg,var(--navy),#14272f);
  position: relative;
  overflow: hidden;
}

.estimate-modal-check {
  width: 53px;
  height: 53px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--terracotta);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 15px 32px rgba(201,117,77,.27);
  margin-bottom: 20px;
}

.estimate-modal-top>span {
  font: 800 9px "Manrope";
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #efb696;
}

.estimate-modal-top h2 {
  font-size: 34px;
  margin: 9px 0 8px;
}

.estimate-modal-top p {
  margin: 0;
  color: rgba(255,255,255,.61);
  font-size: 13px;
}

.estimate-modal-close {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.estimate-modal-close:hover {
  background: #fff;
  color: var(--navy);
}

.estimate-print-area {
  padding: 30px 34px;
}

.estimate-reference {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 13px;
  background: var(--sand-2);
  margin-bottom: 23px;
}

.estimate-reference span {
  font-size: 11px;
  color: var(--muted);
}

.estimate-reference strong {
  font: 800 13px "Manrope";
  color: var(--terracotta-dark);
}

.estimate-print-section {
  margin-top: 24px;
}

.estimate-print-section h3 {
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.estimate-print-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.estimate-print-row span {
  font-size: 12px;
  color: var(--muted);
}

.estimate-print-row b {
  font: 800 12px "Manrope";
}

.estimate-print-client {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  padding-top: 14px;
}

.estimate-print-client div span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.estimate-print-client div strong {
  display: block;
  font: 700 12px "Manrope";
  margin-top: 4px;
}

.estimate-print-client .full {
  grid-column: 1/-1;
}

.estimate-print-total {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}

.estimate-print-total span {
  font-size: 11px;
  color: rgba(255,255,255,.56);
}

.estimate-print-total strong {
  font: 800 30px "Manrope";
  color: #f0b99b;
}

.estimate-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 34px 30px;
}

.estimate-submit-loading {
  pointer-events: none;
}

.estimate-submit-loading .estimate-submit-label {
  opacity: 0;
}

.estimate-submit-loading:after {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: estimateSpin .75s linear infinite;
}

@keyframes estimateSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width:1050px) {
  .estimate-hero .container {
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 45px;
  }

  .estimate-builder {
    grid-template-columns: 240px minmax(0,1fr);
  }

  .estimate-summary-layout,.estimate-contact-layout {
    grid-template-columns: 1fr;
  }

  .estimate-total-card,.estimate-contact-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
  }

  .estimate-total-details {
    margin: 0;
    padding: 0 0 0 18px;
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width:860px) {
  .estimate-hero {
    padding-top: 145px;
  }

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

  .estimate-hero-preview {
    max-width: 430px;
  }

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

  .estimate-progress-card {
    position: relative;
    top: 0;
  }

  .estimate-progress {
    grid-template-columns: repeat(3,1fr);
  }

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

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

@media (max-width:640px) {
  .estimate-hero {
    min-height: auto;
    padding: 125px 0 75px;
  }

  .estimate-hero-copy h1 {
    font-size: 47px;
  }

  .estimate-section {
    padding: 78px 0;
  }

  .estimate-panel {
    padding: 25px 18px;
    border-radius: 22px;
  }

  .estimate-step-head {
    display: block;
  }

  .estimate-count-badge {
    display: inline-flex;
    margin-top: 14px;
  }

  .estimate-step-head h2 {
    font-size: 31px;
  }

  .estimate-service-grid,.estimate-form-grid {
    grid-template-columns: 1fr;
  }

  .estimate-field.full,.estimate-privacy {
    grid-column: auto;
  }

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

  .estimate-total-card,.estimate-contact-summary {
    display: block;
  }

  .estimate-total-details {
    margin-top: 20px;
    padding: 17px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .estimate-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .estimate-actions-group {
    width: 100%;
  }

  .estimate-actions-group .btn {
    flex: 1;
  }

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

  .estimate-modal {
    padding: 10px;
  }

  .estimate-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 21px;
  }

  .estimate-modal-top,.estimate-print-area {
    padding-left: 22px;
    padding-right: 22px;
  }

  .estimate-modal-actions {
    padding-left: 22px;
    padding-right: 22px;
    flex-direction: column-reverse;
  }

  .estimate-modal-actions .btn {
    width: 100%;
  }

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

  .estimate-print-client .full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion:reduce) {
  .estimate-hero-preview {
    animation: none;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .estimate-modal,.estimate-modal * {
    visibility: visible !important;
  }

  .estimate-modal {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fff !important;
  }

  .estimate-modal-backdrop,.estimate-modal-close,.estimate-modal-actions {
    display: none !important;
  }

  .estimate-modal-dialog {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .estimate-modal-top,.estimate-print-total {
    background: #17272d !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/*=========================================================
 *   ELVARIS 1.6.0 — CALCULATOR GRID CONSISTENCY
 *   =========================================================
 */

.estimate-hero .container > *,
.estimate-builder > *,
.estimate-service-grid > *,
.estimate-summary-layout > *,
.estimate-contact-layout > *,
.estimate-form-grid > *,
.estimate-benefit-grid > * {
  min-width: 0;
}

.estimate-service-grid, .estimate-benefit-grid {
  align-items: stretch;
}

.estimate-service, .estimate-service-card, .estimate-benefit {
  height: 100%;
}

.estimate-service-card, .estimate-benefit {
  display: flex;
  flex-direction: column;
}

.estimate-service-meta {
  margin-top: auto;
}

@media (max-width:640px) {
  .estimate-panel {
    width: 100%;
  }

  .estimate-actions-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .estimate-actions-group .btn {
    width: 100%;
  }
}

@media (max-width:360px) {
  .estimate-actions-group {
    grid-template-columns: 1fr;
  }
}
