@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@700&display=swap');

/* Hide HubSpot's auto title */
.hs_cos_wrapper.form-title {
  display: none !important;
}

form {
  border-radius: 8px !important;
}

/* Container for heading + paragraph + testimonial */
.overlay-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* was 'left' (invalid) */
  gap: 16px;
  max-width: 600px;
}

/* Background grid shell */
.full-width-background {
  display: grid;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Stack layers */
.background-container,
.content-overlay {
  grid-area: 1 / 1;
}

.background-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  display: block;
}

.content-overlay {
  position: relative;
  justify-self: center;
  align-self: center;

  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  background: rgba(255, 255, 255, 0.80);
  border: 1.5px solid rgba(128, 128, 128, 0.4);
  backdrop-filter: blur(50px);
  border-radius: 32px;
  max-width: 90%;
  padding: 20px;
  z-index: 1;
  margin: 16px;
}

.content-overlay h1 {
  margin: 0;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 110%;
  color: #000;
}

.content-overlay .lede {
  width: 100%;
  color: #000;
  max-width: 450px;
  margin: 0;
}

/* =========================
   Testimonial card styles
   ========================= */
.block-quote {
  display: flex;
  width: 100%;
  max-width: 650px;
  padding: 16px;

  flex-direction: column;
  align-items: flex-start;
  gap: 32px;              /* space between quote and author */
  flex: 1 0 0;

  border-radius: 12px;
  border: 0.75px solid rgba(128, 128, 128, 0.4);
  background: rgba(255, 255, 255, 0.70);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  
  box-sizing: border-box;
}

/* Quote text */
.block-quote .quote,
.block-quote .quote p {
  align-self: stretch;
  color: black;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
}

/* Author row */
.block-quote .author {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
}

/* Logo / avatar circle */
.block-quote .logo {
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  border-radius: 500px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* If no image is present, the bg color still shows as a circle */
.block-quote .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* works for logos or headshots */
}

/* Person block */
.block-quote .person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Name */
.block-quote .name {
  margin: 0;
  color: grey;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

/* Company */
.block-quote .company-name {
  margin: 0;
  color: grey;
  opacity: 0.5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

/* Responsive */
@media (min-width: 769px) {
  .content-overlay { flex-wrap: nowrap; }
}

@media (max-width: 768px) {
  .full-width-background { aspect-ratio: auto; }

  .content-overlay {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .overlay-header { align-items: center; }

  .content-overlay h1 {
    font-size: 32px;
    max-width: 100%;
  }

  /* Make the testimonial edge-to-edge on mobile */
  .block-quote {
    align-items: stretch;
    text-align: left;
  }
}0%;
  }
  
  .product-badges {
  display: none;
}
}
