/* Request A Quote Section */


.quote-page{
  background:#F4F6F9;
}

.quote-hero{
  padding:160px 8% 90px;
  text-align:center;
  background:#1D4355;
  color:#fff;
}

.quote-hero h1{
  max-width:900px;
  margin:18px auto;
  font-size:4rem;
  line-height:1.1;
}

.quote-hero > p{
  max-width:760px;
  margin:0 auto;
  font-size:1.1rem;
  line-height:1.8;
  color:#e8eef1;
}

.quote-hero .service-label{
  color:#F4F6F9;
}

.quote-trust{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:35px;
}

.quote-trust span{
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  font-weight:600;
}

.request-quote-section{
  padding:90px 8%;
}

.request-quote-card{
  max-width:1100px;
  margin:auto;
  padding:55px;
  background:#fff;
  border-radius:28px;
  box-shadow:0 20px 55px rgba(29,67,85,.12);
}

.quote-form-heading{
  text-align:center;
  max-width:760px;
  margin:0 auto 50px;
}

.quote-form-heading h2{
  margin:15px 0;
  color:#1D4355;
  font-size:2.8rem;
}

.quote-form-heading p{
  color:#66747d;
}

.request-quote-form fieldset{
  margin:0 0 35px;
  padding:30px;
  border:1px solid #dfe6ea;
  border-radius:20px;
}

.request-quote-form legend{
  float:none;
  width:auto;
  padding:0 12px;
  color:#1D4355;
  font-size:1.25rem;
  font-weight:700;
}

.quote-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.quote-full-width{
  grid-column:1 / -1;
}

.quote-form-group{
  margin-bottom:20px;
}

.quote-form-grid .quote-form-group{
  margin-bottom:0;
}

.quote-form-group label{
  display:block;
  margin-bottom:8px;
  color:#1D4355;
  font-weight:700;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea{
  width:100%;
  padding:15px 17px;
  border:1px solid #cfd9de;
  border-radius:13px;
  background:#fff;
  color:#1D4355;
  font:inherit;
  outline:none;
  transition:.25s ease;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus{
  border-color:#365B6D;
  box-shadow:0 0 0 4px rgba(54,91,109,.12);
}

.quote-form-group textarea{
  resize:vertical;
  min-height:150px;
}

.quote-form-group small{
  display:block;
  margin-top:8px;
  color:#6b7280;
}

.optional-text{
  color:#6b7280;
  font-weight:400;
}

.conditional-fields{
  display:none;
}

.quote-agreements{
  display:grid;
  gap:16px;
  margin:35px 0;
  padding:25px;
  border-radius:18px;
  background:#F4F6F9;
}

.quote-checkbox{
  display:flex;
  align-items:flex-start;
  gap:13px;
  line-height:1.65;
  color:#46565f;
}

.quote-checkbox input{
  width:18px;
  height:18px;
  margin-top:4px;
  flex-shrink:0;
}

.quote-checkbox a{
  color:#1D4355;
  font-weight:700;
}

.quote-submit-btn{
  display:block;
  width:100%;
  padding:18px 28px;
  border:0;
  border-radius:15px;
  background:#1D4355;
  color:#fff;
  font-size:1.05rem;
  font-weight:700;
  cursor:pointer;
  transition:.3s ease;
}

.quote-submit-btn:hover{
  background:#365B6D;
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(29,67,85,.2);
}

.quote-response-note{
  margin:18px 0 0;
  text-align:center;
  color:#66747d;
  font-size:.95rem;
  line-height:1.6;
}

.deep-offer-note{
  margin:0 0 25px;
  padding:16px 20px;
  background:#edf8f1;
  border-left:5px solid #2f855a;
  border-radius:12px;
  color:#245c42;
  font-weight:700;
  line-height:1.6;
}
/* =========================================
   QUOTE FORM PHOTO PREVIEW
========================================= */

.photo-preview{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:15px;
  margin-top:20px;
}

.preview-item{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:#F4F6F9;
  border:1px solid #dce4e8;
  aspect-ratio:1 / 1;
}

.preview-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.preview-file-name{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:8px 10px;
  background:rgba(29,67,85,.82);
  color:#fff;
  font-size:.75rem;
  text-align:center;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.photo-preview-message{
  grid-column:1 / -1;
  margin:0;
  padding:14px;
  border-radius:12px;
  background:#F4F6F9;
  color:#1D4355;
  text-align:center;
  font-weight:600;
}

@media(max-width:768px){
  .photo-preview{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:768px){

  .quote-hero{
    padding:135px 6% 70px;
  }

  .quote-hero h1{
    font-size:2.7rem;
  }

  .request-quote-section{
    padding:60px 5%;
  }

  .request-quote-card{
    padding:30px 20px;
  }

  .quote-form-heading h2{
    font-size:2.1rem;
  }

  .request-quote-form fieldset{
    padding:22px 16px;
  }

  .quote-form-grid{
    grid-template-columns:1fr;
  }

  .quote-full-width{
    grid-column:auto;
  }
}
