/* Quote — mobile (iPhone UA @ 430, flow layout) */
@media (max-width: 980px) {
  body:has(.page-quote) {
    --header-h: 89px;
  }

  body:has(.page-quote) .site-brand__logo {
    width: 80px;
    height: 78px;
  }

  body:has(.page-quote) .site-brand__name {
    display: block;
    left: 72px;
    top: 28px;
    font-size: 22px;
  }

  body:has(.page-quote) .site-header__inner {
    max-width: 320px;
    padding-inline: 0;
    margin-inline: auto;
  }

  body:has(.page-quote) .site-nav__burger {
    right: 0;
  }

  .page-quote {
    height: auto !important;
    background: #000;
    overflow: visible;
  }

  .page-quote__mobile {
    display: block;
    background: #000;
    color: rgb(60, 69, 71);
  }

  .page-quote__mobile .site-container {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    padding-inline: var(--mobile-gutter);
    box-sizing: border-box;
  }

  /* Intro */
  .qt-intro {
    padding: 60px 0 20px;
  }

  .qt-intro__title {
    margin: 0 0 12px;
    color: rgb(212, 168, 11);
    font-family: var(--font-roman);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 27px;
    text-transform: uppercase;
  }

  .qt-intro__lead {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--font-roman);
    font-size: 22px;
    font-weight: 400;
    line-height: 26.4px;
    text-transform: uppercase;
  }

  .qt-intro__copy {
    margin: 0;
    color: #fff;
    font-family: var(--font-light);
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    text-transform: uppercase;
  }

  /* Contact info */
  .qt-contact {
    padding: 20px 0 24px;
  }

  .qt-contact__title {
    margin: 0 0 10px;
    color: rgb(212, 168, 11);
    font-family: var(--font-roman);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 42px;
    text-transform: uppercase;
  }

  .qt-contact__list {
    margin: 0;
    padding: 0;
  }

  .qt-contact__item {
    margin: 0 0 12px;
  }

  .qt-contact__item:last-child {
    margin-bottom: 0;
  }

  .qt-contact__item dt {
    margin: 0;
    color: #fff;
    font-family: var(--font-roman);
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    text-transform: uppercase;
  }

  .qt-contact__item dd {
    margin: 4px 0 0;
    color: #fff;
    font-family: var(--font-roman);
    font-size: 16px;
    font-weight: 400;
    line-height: 28.8px;
    text-transform: uppercase;
  }

  /* Form panel */
  .qt-form-wrap {
    padding: 0 0 40px;
  }

  .qt-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 0;
    padding: 24px 16px 28px;
    background: #fff;
    box-sizing: border-box;
  }

  .qt-form__field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
  }

  .qt-form .page-el--label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    text-transform: none;
    pointer-events: auto;
  }

  .qt-form .page-el--field {
    position: static;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 8px 12px;
    background: #fff !important;
    border: 1px solid rgb(200, 203, 205) !important;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-transform: none;
    box-sizing: border-box;
    cursor: text;
  }

  .qt-form textarea.page-el--field {
    height: 74px;
    resize: vertical;
  }

  .qt-form .page-el--select {
    position: static;
    width: 100%;
    height: 42px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff !important;
    border: 1px solid rgb(0, 0, 0) !important;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-transform: none;
    padding: 0 36px 0 12px;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }

  .qt-form .page-el--phone-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 40px;
    background: #fff;
    border: 1px solid rgb(200, 203, 205);
    box-sizing: border-box;
    overflow: visible;
    z-index: 5;
  }

  .qt-form .page-el--country-wrap {
    position: relative;
    flex: 0 0 44px;
    border-right: 1px solid rgb(200, 203, 205);
    z-index: 6;
  }

  .qt-form .page-el--phone-country-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: rgb(0, 0, 0);
    cursor: pointer;
  }

  .qt-form .page-el--phone-country-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .qt-form .page-el--country-trigger-chevron {
    width: 10px;
    height: 10px;
    margin-left: -2px;
    flex-shrink: 0;
  }

  .qt-form .page-el--country-select__globe {
    display: block;
    width: 18px;
    height: 18px;
  }

  .qt-form .page-el--phone-country-panel {
    position: absolute;
    left: -1px;
    top: calc(100% + 2px);
    width: min(320px, calc(100vw - 48px));
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px 0px, rgba(0, 0, 0, 0.1) 0px 0px 4px 0px;
    z-index: 30;
    text-transform: none;
  }

  .qt-form .page-el--phone-country-search {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0 10px 0 36px;
  }

  .qt-form .page-el--phone-country-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.55);
    display: flex;
    pointer-events: none;
  }

  .qt-form .page-el--phone-country-search input {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-family: var(--font-light);
    text-transform: none;
  }

  .qt-form .page-el--phone-country-list {
    max-height: 240px;
    overflow-y: auto;
  }

  .qt-form .page-el--phone-country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-light);
    line-height: 20px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-transform: none;
  }

  .qt-form .page-el--phone-country-option.is-active,
  .qt-form .page-el--phone-country-option:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .qt-form .page-el--phone-country-option.is-selected {
    background: rgba(212, 168, 11, 0.12);
  }

  .qt-form .page-el--phone-country-option-flag {
    flex: 0 0 22px;
    font-size: 18px;
    line-height: 1;
    text-align: center;
  }

  .qt-form .page-el--phone-country-option-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .qt-form .page-el--phone-country-option-dial {
    flex: 0 0 auto;
    color: rgba(0, 0, 0, 0.55);
  }

  .qt-form .page-el--phone-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 12px;
    border: none;
    background: #fff;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-family: var(--font-light);
    text-transform: none;
    box-sizing: border-box;
    cursor: text;
  }

  .qt-form .page-el--phone-group.is-invalid {
    border-color: rgb(223, 42, 36) !important;
  }

  .qt-form .page-el--field-error {
    margin: 0;
    color: rgb(223, 42, 36);
    font-family: var(--font-light);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-transform: none;
  }

  .qt-form__submit {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }

  .qt-form .page-el--btn[type="submit"] {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 267px;
    max-width: 100%;
    height: 41px;
    margin: 0;
    padding: 0 24px;
    background: rgb(212, 168, 11);
    border: none;
    border-radius: 100px;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 20.8px !important;
    text-transform: none;
    cursor: pointer;
    box-sizing: border-box;
  }

  .qt-form .page-contact-form__thanks {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 8px 0;
    color: rgb(0, 0, 0);
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
  }
}
