/* === QUOTE PAGE CSS === */

.quote-hero{
  padding: 110px 0 80px;
  background: #000; 
  text-align: center;
}

/* inner container */
.quote-hero .container{
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

/* FREE QUOTE badge */
.quote-hero .section-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.4);

  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;

  margin-bottom: 22px;
}

/* Main heading */
.quote-hero h1{
  margin: 0 0 16px;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 900;
  color: #fff;
}

/* Subtitle text */
.quote-hero p{
  margin: 0 auto;
  max-width: 60ch;

  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.7;
}

.section-quote{
  padding: 90px 0 110px;
  background: radial-gradient(circle at top, #15181c 0%, #0f1114 45%, #0b0d10 100%);
}

/* shared container */
.section-quote .container{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* HERO / HEADER */
.section-header.center{
  text-align: center;
  margin-bottom: 48px;
}


.section-header .section-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(196,30,58,0.12);
  border: 1px solid rgba(196,30,58,0.35);

  color: rgba(255,255,255,0.85);
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;

  margin: 0 0 16px;
}

/* big title  */
.section-header.center h3{
  margin: 0 0 10px;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 900;
  color: #fff;
}

/* subtitle */
.section-header.center p{
  margin: 0 auto;
  max-width: 60ch;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-size: 16px;
}

/* FORM CARD */
.quote-form{
  width: min(820px, 100%);
  margin: 0 auto;

  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  box-shadow: 0 22px 80px rgba(0,0,0,0.55);
  padding: 34px;
}

/* fieldset reset */
.quote-form .form-group{
  border: none;
  margin: 0;
  padding: 0;
}

/* spacing between sections */
.quote-form .form-group + .form-group{
  margin-top: 26px;
}

/* legend/title */
.quote-form .form-title,
.quote-form legend{
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
}

/* required star */
.quote-form .required{
  color: #c41e3a;
  font-weight: 900;
}

/* labels */
.quote-form label{
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 700;
}

/* inputs/select/textarea */
.quote-form input,
.quote-form select,
.quote-form textarea{
  width: 100%;
  padding: 12px 14px;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);

  color: #fff;
  outline: none;

  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

.quote-form select{
  color: rgba(255,255,255,0.75);
}

.quote-form select option {
  background: #1a1a1a;
  color: #f3f3f3;
}

/* focus glow */
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus{
  border-color: rgba(196,30,58,0.55);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.18);
  background: rgba(255,255,255,0.08);
}

/* each field spacing */
.quote-form .form-field{
  margin-bottom: 18px;
}

/* VEHICLE INFO GRID (Make / Model / Year) */
.quote-form .form-group:nth-of-type(3){
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.quote-form .form-group:nth-of-type(3) .form-grid{
  display: contents;
}

/* Description textarea spans full width */
.quote-form .form-group:nth-of-type(3) .form-field:last-child{
  grid-column: 1 / -1;
  margin-bottom: 0;
}


.quote-form .form-group:nth-of-type(3) .form-field{
  margin-bottom: 0;
}

/* UPLOAD BOX */
.upload-box{
  display: block;
  width: 100%;
  margin-top: 6px;

  border-radius: 14px;
  border: 2px dashed rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);

  padding: 26px 18px;
  text-align: center;

  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.upload-content{
  display: grid;
  gap: 6px;
  justify-items: center;
}

.upload-icon{
  font-size: 28px;
  opacity: 0.8;
}

.upload-text{
  color: rgba(255,255,255,0.85);
  font-weight: 800;
}

.upload-hint{
  color: rgba(255,255,255,0.55);
}

.upload-box:hover{
  border-color: rgba(196,30,58,0.55);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.14);
  background: rgba(196,30,58,0.06);
}

/* SUBMIT BUTTON AREA */
.form-actions{
  margin-top: 26px;
}


.form-actions .btn-primary{
  width: 100%;
  border: none;
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 820px){
  .quote-form{
    padding: 26px 18px;
  }

  .quote-form .form-group:nth-of-type(3){
    grid-template-columns: 1fr;
  }
}