﻿/* =============================================
   Get a Quote - CTA Section
   Matches ecocosmo website design system
   ============================================= */

/* Section */
.get-a-quote-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #02415c 0%, #027589 50%, #03899e 100%);
  overflow: hidden;
}

.get-a-quote-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(69, 207, 144, 0.08);
  pointer-events: none;
}

.get-a-quote-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* Content wrapper */
.quote-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Badge / Subtitle */
.quote-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(69, 207, 144, 0.15);
  border: 1px solid rgba(69, 207, 144, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 24px;
}

.quote-cta-badge i {
  color: #45cf90;
  font-size: 14px;
}

.quote-cta-badge span {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Heading */
.quote-cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.quote-cta-title span {
  color: #45cf90;
}

/* Description */
.quote-cta-desc {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* CTA Button */
.quote-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, #3bcd98, #2ab885);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(59, 205, 152, 0.35);
  min-height: 52px;
  text-decoration: none;
}

.quote-cta-btn:hover {
  background: linear-gradient(135deg, #2ab885, #24a576);
  box-shadow: 0 8px 28px rgba(59, 205, 152, 0.45);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.quote-cta-btn:active {
  transform: translateY(0);
}

.quote-cta-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.quote-cta-btn:hover i {
  transform: translateX(4px);
}

/* Highlights row */
.quote-cta-highlights {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.quote-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-highlight-item i {
  width: 36px;
  height: 36px;
  background: rgba(69, 207, 144, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #45cf90;
  font-size: 16px;
  flex-shrink: 0;
}

.quote-highlight-item span {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* =============================================
   Contact form captcha
   ============================================= */
.form-content .captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.form-content .captcha-question {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  background: #f4f6f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 11px 18px;
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  user-select: none;
}

.form-content .captcha-wrapper .captcha-input {
  width: 160px;
  max-width: 160px;
  flex: 0 0 160px;
}

/* Quote modal captcha */
#quoteForm .captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

#quoteForm .captcha-question {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  background: #f4f6f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 11px 18px;
  white-space: nowrap;
  flex: 0 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  user-select: none;
}

#quoteForm .captcha-wrapper .captcha-input {
  width: 160px;
  max-width: 160px;
  flex: 0 0 160px;
}

/* =============================================
   Responsive - Tablet (max-width: 991px)
   ============================================= */
@media (max-width: 991px) {
  .get-a-quote-section {
    padding: 60px 0;
  }

  .quote-cta-title {
    font-size: 2rem;
  }

  .quote-cta-desc {
    font-size: 0.95rem;
  }

  .quote-cta-highlights {
    gap: 24px;
  }
}

/* =============================================
   Responsive - Mobile Landscape (max-width: 767px)
   ============================================= */
@media (max-width: 767px) {
  .get-a-quote-section {
    padding: 50px 0;
  }

  .quote-cta-title {
    font-size: 1.7rem;
  }

  .quote-cta-desc {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .quote-cta-btn {
    padding: 14px 30px;
    font-size: 0.95rem;
  }

  .quote-cta-highlights {
    gap: 20px;
    margin-top: 32px;
  }

  .quote-highlight-item span {
    font-size: 0.82rem;
  }
}

/* =============================================
   Responsive - Mobile (max-width: 576px)
   ============================================= */
@media (max-width: 576px) {
  .get-a-quote-section {
    padding: 40px 0;
  }

  .quote-cta-badge {
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .quote-cta-badge span {
    font-size: 0.75rem;
  }

  .quote-cta-title {
    font-size: 1.45rem;
  }

  .quote-cta-desc {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  .quote-cta-btn {
    padding: 13px 26px;
    font-size: 0.9rem;
    border-radius: 10px;
    width: 100%;
    justify-content: center;
  }

  .quote-cta-highlights {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }

  .quote-highlight-item i {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
}

/* =============================================
   Responsive - Very Small Phones (max-width: 380px)
   ============================================= */
@media (max-width: 380px) {
  .get-a-quote-section {
    padding: 32px 0;
  }

  .quote-cta-title {
    font-size: 1.25rem;
  }

  .quote-cta-desc {
    font-size: 0.8rem;
  }

  .quote-cta-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    min-height: 48px;
  }
}
