/*
===========================================
QUOTE FORM STYLES
Reusable booking/quote form component
===========================================
*/

/* ==================== BOOTSTRAP GRID SUPPORT ==================== */
.quote-form-wrapper .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px !important;
  margin-left: -15px !important;
  gap: 0 !important;
}

.quote-form-wrapper .row > [class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .quote-form-wrapper .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .quote-form-wrapper .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .quote-form-wrapper .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .quote-form-wrapper .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .quote-form-wrapper .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==================== QUOTE SECTION WRAPPER ==================== */
.quote-section {
  background: linear-gradient(135deg, rgba(58,78,167,0.12) 0%, rgba(0,180,240,0.18) 100%);
  padding: 6rem 0;
}

.quote-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.quote-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0,180,240,0.1);
  color: var(--primary-blue);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.quote-heading {
  color: var(--primary-navy);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.quote-description {
  max-width: 650px;
  margin: 0 auto 0.75rem;
  color: var(--neutral-mid);
  font-size: 1.05rem;
  line-height: 1.6;
}

.quote-description a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* ==================== PROMO BANNER ==================== */
.quote-promo {
  margin-top: 2rem;
  display: inline-block;
  background: linear-gradient(135deg, #ff6b1a 0%, var(--accent-orange) 100%);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(255, 138, 61, 0.35);
  position: relative;
  overflow: hidden;
  max-width: 95%;
  width: auto;
}

.quote-promo-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(40px);
}

.quote-promo-content {
  position: relative;
  z-index: 1;
}

.quote-promo-text {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quote-promo-emoji {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  animation: bounce 2s infinite;
}

.quote-promo-subtext {
  margin: 0.5rem 0 0 0;
  color: rgba(255,255,255,0.95);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  text-align: center;
}

/* ==================== FORM CONTAINER ==================== */
.quote-form-wrapper {
  background: transparent;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ==================== FORM SECTIONS ==================== */
.quote-form-section {
  margin-bottom: 2.5rem;
}

.quote-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}

.quote-section-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,180,240,0.25);
}

.quote-section-title {
  color: var(--primary-navy);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.quote-section-description {
  color: var(--neutral-mid);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ==================== FORM FIELDS ==================== */
.quote-form-label {
  font-weight: 600;
  color: var(--neutral-darkest);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: block;
}

.quote-form-label.centered {
  margin-bottom: 0.75rem;
  text-align: center;
}

.quote-form-label .required {
  color: #ef4444;
}

.quote-form-control {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.875rem 1.125rem;
  font-size: 1rem;
  background: #ffffff;
  transition: all 0.2s ease;
  width: 100%;
}

.quote-form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0,180,240,0.1);
  outline: none;
}

.quote-form-control::placeholder {
  color: #94a3b8;
}

select.quote-form-control {
  cursor: pointer;
}

/* ==================== COUNTER CONTROLS ==================== */
.quote-counter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-counter-btn {
  width: 40px;
  height: 48px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: var(--neutral-dark);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-counter-btn:hover {
  border-color: var(--primary-blue);
  background: #f8fafc;
}

.quote-counter-input {
  flex: 1;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: #ffffff;
  text-align: center;
  color: var(--primary-navy);
  appearance: textfield;
  -moz-appearance: textfield;
}

.quote-counter-input::-webkit-outer-spin-button,
.quote-counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==================== RADIO BUTTONS ==================== */
.quote-radio-group {
  display: flex;
  gap: 1rem;
  margin: 0;
  flex-wrap: wrap;
}

.quote-radio-wrapper {
  flex: 1;
  min-width: 140px;
}

.quote-radio-input {
  display: none;
}

.quote-radio-label {
  display: block;
  padding: 1.125rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  font-weight: 600;
  color: var(--neutral-dark);
  font-size: 0.95rem;
}

.quote-radio-label:hover {
  border-color: var(--primary-blue);
  background: rgba(0,180,240,0.04);
}

.quote-radio-input:checked + .quote-radio-label {
  border-color: var(--primary-blue);
  background: rgba(0,180,240,0.1);
  color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(0,180,240,0.2);
}

/* ==================== CAPTCHA & SUBMIT ==================== */
.quote-captcha-wrapper {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid #f1f5f9;
}

.quote-captcha-field {
  margin-bottom: 2rem;
  text-align: center;
}

.quote-captcha-select {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.875rem 1.125rem;
  font-size: 1rem;
  background: #ffffff;
  transition: all 0.2s ease;
  max-width: 250px;
  cursor: pointer;
  margin: 0 auto;
}

.quote-captcha-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0,180,240,0.1);
  outline: none;
}

.quote-submit-wrapper {
  text-align: center;
}

.quote-submit-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
  color: white;
  border: none;
  border-radius: 16px;
  padding: 1.125rem 3.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 180, 240, 0.3);
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 180, 240, 0.4);
}

.quote-submit-note {
  margin-top: 1rem;
  color: var(--neutral-mid);
  font-size: 0.875rem;
}

/* ==================== HONEYPOT ==================== */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .quote-section {
    padding: 4rem 0;
  }

  .quote-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .quote-heading {
    font-size: 2rem;
  }

  .quote-radio-group {
    flex-direction: column;
  }

  .quote-radio-wrapper {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .quote-promo {
    padding: 1.25rem 1.5rem !important;
  }
}
