.quote-page {
  background: var(--dc-surface);
}

.quote-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(520px, 0.85fr);
  min-height: 540px;
  max-width: 1536px;
  margin-inline: auto;
  background: #f7f5f1;
}

.quote-split__media {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding-block: clamp(48px, 4.2vw, 64px);
  padding-right: clamp(34px, 4vw, 62px);
  padding-left: clamp(54px, 8.5vw, 132px);
  background:
    linear-gradient(90deg, rgba(255, 254, 253, 0.38) 0%, rgba(255, 254, 253, 0.16) 52%, rgba(255, 254, 253, 0.02) 100%),
    url("../images/quote-living-room-background.jpg") center / cover no-repeat;
}

.quote-split__copy {
  width: min(100%, 640px);
}

.quote-kicker {
  margin: 0 0 20px;
  color: var(--dc-primary);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-split h1 {
  max-width: 17.5ch;
  margin-bottom: 22px;
  color: var(--dc-primary-deep);
  font-size: clamp(2.25rem, 3.55vw, 3.2rem);
  line-height: 1.05;
}

.quote-split__copy > p:last-child {
  max-width: 43ch;
  margin: 0;
  color: var(--dc-soft-ink);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

.quote-split__form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px clamp(22px, 3vw, 42px);
  background: rgba(247, 245, 241, 0.96);
}

.quote-split__form .dexin-form-notice {
  width: 100%;
  margin: 0 0 12px;
}

.dexin-form--quote-simple {
  gap: 10px;
  width: 100%;
  padding: 20px;
  border-color: rgba(222, 216, 207, 0.92);
  background: rgba(255, 254, 253, 0.98);
  box-shadow: 0 18px 42px rgba(36, 33, 32, 0.12);
}

.dexin-form--quote-simple label {
  gap: 5px;
}

.dexin-form--quote-simple label > span,
.dexin-form--quote-simple legend {
  color: var(--dc-ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.dexin-form--quote-simple input[type="text"],
.dexin-form--quote-simple input[type="tel"],
.dexin-form--quote-simple textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-color: #d8d5cf;
  background: var(--dc-surface);
}

.dexin-form--quote-simple textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
}

.quote-form__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dexin-form--quote-simple .quote-form__needs {
  gap: 6px;
  padding: 0;
  border: 0;
}

.quote-form__choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dexin-form--quote-simple .quote-form__choice {
  position: relative;
  display: block;
}

.quote-form__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quote-form__choice-content {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid #d8d5cf;
  border-radius: 8px;
  background: var(--dc-surface);
  color: var(--dc-soft-ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.quote-form__choice-content svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.quote-form__choice-content > span {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.22;
}

.quote-form__choice:hover .quote-form__choice-content {
  border-color: rgba(47, 49, 139, 0.46);
  color: var(--dc-primary);
}

.quote-form__choice input:focus-visible + .quote-form__choice-content {
  outline: 3px solid rgba(0, 162, 233, 0.28);
  outline-offset: 2px;
}

.quote-form__choice input:focus-visible {
  outline: 0;
}

.quote-form__choice input:checked + .quote-form__choice-content {
  border-color: var(--dc-primary);
  background: var(--dc-primary-soft);
  color: var(--dc-primary);
  box-shadow: 0 0 0 1px var(--dc-primary);
}

.dexin-form--quote-simple .quote-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.dexin-form--quote-simple .quote-form__consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.dexin-form--quote-simple .quote-form__consent span {
  color: var(--dc-muted);
  font-size: 0.76rem;
  font-weight: 550;
  line-height: 1.45;
}

.dexin-form--quote-simple .button {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
}

.quote-benefits {
  padding: 22px 0;
  border-top: 1px solid var(--dc-line);
  border-bottom: 1px solid var(--dc-line);
  background: var(--dc-surface);
}

.quote-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 0 30px;
}

.quote-benefit:first-child {
  padding-left: 0;
}

.quote-benefit:last-child {
  padding-right: 0;
}

.quote-benefit + .quote-benefit {
  border-left: 1px solid var(--dc-line);
}

.quote-benefit__icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--dc-secondary-soft);
  color: var(--dc-primary-deep);
}

.quote-benefit__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quote-benefit h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.3;
}

.quote-benefit p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .quote-split {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 0.92fr);
  }

  .quote-split__media {
    padding-inline: 38px;
  }

  .quote-benefit {
    padding-inline: 22px;
  }
}

@media (max-width: 920px) {
  .quote-split {
    grid-template-columns: 1fr;
  }

  .quote-split__media {
    min-height: 390px;
    background-position: center;
  }

  .quote-split__copy {
    max-width: 610px;
  }

  .quote-split__form {
    padding-block: 32px;
  }

  .dexin-form--quote-simple {
    max-width: 720px;
    margin-inline: auto;
  }

  .quote-benefit {
    align-items: flex-start;
    gap: 12px;
    padding-inline: 18px;
  }

  .quote-benefit__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 680px) {
  .quote-split__media {
    min-height: 410px;
    align-items: flex-end;
    padding: 42px 14px;
    background:
      linear-gradient(90deg, rgba(255, 254, 253, 0.9) 0%, rgba(255, 254, 253, 0.7) 62%, rgba(255, 254, 253, 0.16) 100%),
      url("../images/quote-living-room-background.jpg") center / cover no-repeat;
  }

  .quote-kicker {
    margin-bottom: 14px;
  }

  .quote-split h1 {
    margin-bottom: 16px;
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  .quote-split__copy > p:last-child {
    font-size: 1rem;
    line-height: 1.58;
  }

  .quote-split__form {
    padding: 22px 14px 28px;
  }

  .dexin-form--quote-simple {
    gap: 13px;
    padding: 18px;
  }

  .quote-form__contact,
  .quote-benefits__grid {
    grid-template-columns: 1fr;
  }

  .quote-form__choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-form__choice-content {
    min-height: 86px;
  }

  .quote-benefits {
    padding-block: 8px;
  }

  .quote-benefit,
  .quote-benefit:first-child,
  .quote-benefit:last-child {
    padding: 18px 0;
  }

  .quote-benefit + .quote-benefit {
    border-top: 1px solid var(--dc-line);
    border-left: 0;
  }
}

@media (max-width: 360px) {
  .dexin-form--quote-simple {
    padding: 14px;
  }

  .quote-form__choice-content {
    min-height: 90px;
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-form__choice-content {
    transition: none;
  }
}
