.quote {
    position: relative;
    background: url("/static/img/quotebg.png") center/cover no-repeat;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .quote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.69);
  }
  
  
  .quote-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    padding: 3rem;
    color: #fff;
  }
  
  
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.8;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
  }
  
  .hero-text p {
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .services {
    display: grid;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 100px 15%;
  }
  
  .services li {
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  /* QUOTE FORM */
  .quote-box {
    background: #ffffff;
    color: #333;
    padding: 2rem;
    border-radius: 14px;
    height: 57vh;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
        height: auto;
        min-height: unset;
        align-self: flex-start;
      
  }
  
  
  .quote-box h3 {
    margin-bottom: 1rem;
  }
  
  .quote-box textarea {
    width: 100%;
    height: 90px;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    resize: none;
  }
  
  .form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .form-row input {
    flex: 1;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #ddd;
  }
  
  .quote-box button {
    width: 100%;
    padding: 0.8rem;
    background: black;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .quote-box button:hover {
    background: #2e233c;
  }
  
  .quote-section {
    background-color: #c0bcc6; /* purple */
    padding: 4rem 1.5rem;
  }
  

  @media (max-width: 900px) {
    .quote-content {
      grid-template-columns: 1fr;
    }
  
    .quote-hero {
      border-radius: 14px;
    }
  }
  
/* =============================================
   QUOTE HOME MOBILE FIXES
   ============================================= */

@media (max-width: 768px) {
  .quote {
    border-radius: 12px;
    margin: 0 16px;
  }

  .quote-content {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  /* Fix the huge padded services list */
  .services {
    padding: 20px 0 !important;
    grid-template-columns: 1fr 1fr;
  }

  .quote-box {
    height: auto;
    min-height: unset;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .quote-section {
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .services {
    grid-template-columns: 1fr;
  }
}