/* Drone Shine — HubSpot quote form wrapper (contact page)
   The HubSpot form itself renders inside a HubSpot-hosted iframe, so field
   colors/fonts/buttons are set in HubSpot's form editor (Style tab).
   This file brands everything around it. */

.ds-quote {
  position: relative;
  overflow: hidden;
  border-top: 3px solid #34a85c;
  box-shadow: 0 30px 80px -40px rgba(78, 196, 114, 0.35);
}
.ds-quote::before {
  content: "";
  pointer-events: none;
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(52, 168, 92, 0.12);
  filter: blur(80px);
}

/* Light panel that holds the iframe: keeps HubSpot's dark default text
   readable and gives the form a crisp, clean surface on the dark page. */
.ds-quote__frame {
  position: relative;
  margin-top: 1.75rem;
  min-height: 520px;
  padding: 1.5rem 1.5rem 0.75rem;
  border-radius: 1rem;
  background: #f6faf7;
  border: 1px solid rgba(78, 196, 114, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ds-quote__frame:empty::after,
.ds-quote__frame .hs-form-frame:empty::after {
  content: "Loading form…";
  display: block;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #5b6b60;
}
.ds-quote__frame .hs-form-frame,
.ds-quote__frame iframe {
  width: 100% !important;
  border: 0;
}

/* "Project details copied" note from the planner */
.ds-quote__note {
  position: relative;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(78, 196, 114, 0.4);
  background: rgba(52, 168, 92, 0.1);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e5e5e5;
}
.ds-quote__note strong {
  color: #4ec472;
  font-weight: 600;
}
.ds-quote__note-text {
  display: block;
  margin-top: 0.5rem;
  color: #a3a3a3;
  user-select: all;
}

/* On phones/tablets the form is the main event: show it before the contact card */
@media (max-width: 1023px) {
  .ds-quote {
    order: -1;
  }
}

@media (max-width: 640px) {
  .ds-quote.p-8 {
    padding: 1.25rem;
  }
  .ds-quote__frame {
    margin-top: 1.25rem;
    padding: 0.75rem 0.5rem 0.25rem;
  }
}
