.quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 56px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #003b73, #0074d9);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 60, 120, 0.28);
  position: relative;
  z-index: 50;
}

.quote-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #002b55, #005fb3);
}

.quote-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 35, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 10px;
  overflow: hidden;
}

.quote-modal.active {
  display: flex;
}

.quote-box {
  width: 100%;
  max-width: 500px;
  max-height: 94vh;
  background: #ffffff;
  border-radius: 22px;
  padding: clamp(14px, 2.4vh, 28px);
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: quoteFade 0.3s ease;
}

@keyframes quoteFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.quote-header {
  text-align: center;
  margin-bottom: clamp(10px, 1.8vh, 18px);
}

.quote-header img {
  max-width: clamp(60px, 10vh, 120px);
  margin-bottom: 6px;
}

.quote-header h2 {
  font-size: clamp(19px, 3.4vh, 26px);
  color: #0b2f5b;
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}

.quote-header p {
  color: #64748b;
  font-size: clamp(12px, 1.8vh, 15px);
  margin: 6px auto 0;
  line-height: 1.35;
  max-width: 390px;
}

.quote-form-group {
  margin-bottom: clamp(8px, 1.4vh, 14px);
}

.quote-form-group label {
  display: block;
  font-size: clamp(12px, 1.7vh, 14px);
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 4px;
}

.quote-form-group input,
.quote-form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7dee8;
  border-radius: 13px;
  padding: clamp(8px, 1.5vh, 13px) 13px;
  font-size: clamp(12px, 1.8vh, 15px);
  outline: none;
  background: #f8fafc;
  color: #0f172a;
}

.quote-form-group textarea {
  height: clamp(58px, 13vh, 115px);
  resize: none;
  line-height: 1.45;
}

.quote-form-group input:focus,
.quote-form-group textarea:focus {
  border-color: #0b66c3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 102, 195, 0.12);
}

.quote-submit {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: clamp(10px, 1.8vh, 14px);
  background: linear-gradient(135deg, #003b73, #0074d9);
  color: #ffffff;
  font-size: clamp(13px, 1.9vh, 16px);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 80, 160, 0.25);
}

.quote-submit:hover {
  transform: translateY(-1px);
}

.quote-status {
  display: none;
  margin-top: 8px;
  padding: 9px;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
  font-weight: 700;
}

.quote-status.success {
  display: block;
  background: #ecfdf5;
  color: #047857;
}

.quote-status.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 480px) {
  .quote-btn {
    width: 165px;
    min-height: 50px;
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 12px;
  }

  .quote-modal {
    padding: 7px;
  }

  .quote-box {
    max-width: 100%;
    border-radius: 16px;
  }

  .quote-close {
    width: 29px;
    height: 29px;
    font-size: 20px;
    top: 9px;
    right: 9px;
  }

  .quote-header img {
    max-width: 58px;
  }
}

@media (max-height: 680px) {
  .quote-box {
    max-width: 470px;
    padding: 12px 18px;
  }

  .quote-header img {
    max-width: 55px;
  }

  .quote-header {
    margin-bottom: 8px;
  }

  .quote-form-group {
    margin-bottom: 7px;
  }

  .quote-form-group textarea {
    height: 52px;
  }
}