.mgp-quote-page {
  color: var(--mgp-ink);
  background: var(--mgp-white);
}

.mgp-quote-hero {
  position: relative;
  padding: 78px 0 86px;
  overflow: hidden;
  background: linear-gradient(118deg, #ffffff 0%, #f7f5f0 56%, #f7ece4 100%);
}

.mgp-quote-hero::before {
  position: absolute;
  top: -310px;
  right: -210px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(242, 107, 29, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.mgp-quote-hero__glow {
  position: absolute;
  bottom: -220px;
  left: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 119, 152, 0.15), rgba(42, 119, 152, 0));
  pointer-events: none;
}

.mgp-quote-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 74px;
  align-items: center;
}

.mgp-quote-hero__copy {
  max-width: 720px;
}

.mgp-quote-hero h1 {
  margin: 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(2.85rem, 5.2vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.mgp-quote-hero__lead {
  max-width: 690px;
  margin: 25px 0 0;
  color: var(--mgp-copy);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.mgp-quote-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.mgp-quote-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(11, 37, 53, 0.12);
  border-radius: 999px;
  color: var(--mgp-navy-900);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.mgp-quote-facts svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--mgp-teal-600);
}

.mgp-quote-partner {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 53, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(23, 35, 49, 0.14);
}

.mgp-quote-partner::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 107, 29, 0.07);
  content: "";
  pointer-events: none;
}

.mgp-quote-partner__logo {
  display: flex;
  min-height: 84px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid var(--mgp-line);
  border-radius: 16px;
  background: var(--mgp-white);
}

.mgp-quote-partner__logo img {
  width: auto;
  max-width: 210px;
  max-height: 64px;
  object-fit: contain;
}

.mgp-quote-partner__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  border-radius: 17px;
  color: var(--mgp-orange-600);
  background: var(--mgp-orange-100);
  place-items: center;
}

.mgp-quote-partner__icon svg {
  width: 29px;
  height: 29px;
}

.mgp-quote-partner__label,
.mgp-quote-form-heading__label {
  margin: 0;
  color: var(--mgp-orange-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.mgp-quote-partner h2 {
  margin: 8px 0 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mgp-quote-partner > p:not(.mgp-quote-partner__label) {
  margin: 16px 0 0;
  color: var(--mgp-copy);
  font-size: 0.92rem;
  line-height: 1.6;
}

.mgp-quote-partner__status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--mgp-teal-600);
  font-size: 0.78rem;
  font-weight: 800;
}

.mgp-quote-partner__status i {
  width: 9px;
  height: 9px;
  border: 2px solid rgba(22, 138, 124, 0.2);
  border-radius: 50%;
  background: var(--mgp-teal-600);
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.1);
}

.mgp-quote-form-section {
  padding: 88px 0 110px;
  background: #f7f5f0;
}

.mgp-quote-form-wrap {
  max-width: 1040px;
}

.mgp-quote-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.mgp-quote-form-heading__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: var(--mgp-orange-600);
  background: var(--mgp-orange-100);
  place-items: center;
}

.mgp-quote-form-heading__icon svg {
  width: 25px;
  height: 25px;
}

.mgp-quote-form-heading h2 {
  margin: 5px 0 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.mgp-quote-form-heading > div > p:last-child {
  margin: 13px 0 0;
  color: var(--mgp-copy);
}

.mgp-quote-embed {
  min-height: 320px;
  padding: 34px 38px 44px;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 53, 0.09);
  border-radius: 28px;
  background: var(--mgp-white);
  box-shadow: 0 24px 65px rgba(23, 35, 49, 0.11);
}

.mgp-quote-embed > *:first-child,
.mgp-quote-embed > p:first-child {
  margin-top: 0;
}

.mgp-quote-embed > *:last-child,
.mgp-quote-embed > p:last-child {
  margin-bottom: 0;
}

.mgp-quote-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
}

.mgp-quote-after {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 760px;
  margin: 26px auto 0;
  padding: 18px 21px;
  border: 1px solid rgba(22, 138, 124, 0.16);
  border-radius: 16px;
  color: var(--mgp-copy);
  background: var(--mgp-teal-100);
}

.mgp-quote-after svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--mgp-teal-600);
}

.mgp-quote-after p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.55;
}

.mgp-quote-after strong {
  color: var(--mgp-navy-900);
}

@media (max-width: 900px) {
  .mgp-quote-hero {
    padding: 64px 0 70px;
  }

  .mgp-quote-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mgp-quote-partner {
    max-width: 680px;
  }

  .mgp-quote-form-section {
    padding: 72px 0 90px;
  }
}

@media (max-width: 540px) {
  .mgp-quote-hero {
    padding: 49px 0 56px;
  }

  .mgp-quote-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.45rem);
  }

  .mgp-quote-facts {
    display: grid;
  }

  .mgp-quote-facts li {
    width: fit-content;
  }

  .mgp-quote-partner {
    padding: 27px 23px;
    border-radius: 21px;
  }

  .mgp-quote-form-section {
    padding: 58px 0 70px;
  }

  .mgp-quote-form-heading {
    gap: 13px;
    margin-bottom: 24px;
  }

  .mgp-quote-form-heading__icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
  }

  .mgp-quote-form-heading h2 {
    font-size: 2rem;
  }

  .mgp-quote-embed {
    min-height: 240px;
    padding: 10px 6px 24px;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(23, 35, 49, 0.09);
  }

  .mgp-quote-after {
    padding: 16px;
  }
}
