.phone-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 12px;
}
.phone-pair > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  font-size: inherit;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}
.phone-person-label {
  padding-inline-end: 8px;
  border-inline-end: 1px solid currentColor;
  font-weight: 800;
}
.phone-pair > a:hover { text-decoration: underline; }
footer .phone-pair > a { font-size: .94rem; }
header .phone-pair {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 4px 8px;
}
header .phone-pair > a {
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #6c6858;
  border-radius: 8px;
  font-size: .88rem;
}
header .phone-pair > .button { border-color: transparent; }
.home-page header .bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: 6px;
  padding-block: 10px 12px;
}
.home-page .bar > .uv-logo { grid-column: 1; grid-row: 1; }
.home-page header .quick-nav {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
}
.home-page .hero-media { min-width: 0; margin: 0; }
.home-page .hero-media > img { display: block; }
.home-page .hero-media .phone-pair { margin-top: 16px; }
.home-page .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
  align-items: center;
  gap: 16px 24px;
}
.home-page :is(.hero-media, .footer-top) .phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.home-page :is(.hero-media, .footer-top) .phone-pair > a {
  justify-content: center;
  min-height: 48px;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--gold);
  color: #191b19;
  font-size: .875rem;
  line-height: 1.25;
  text-align: center;
}
.home-page :is(.hero-media, .footer-top) .phone-pair > a:hover {
  background: #ffdc54;
  text-decoration: none;
}
.home-page :is(.hero-media, .footer-top) .phone-person-label {
  grid-column: 1 / -1;
  border: 0;
  padding: 0;
  color: #f2f1e9;
  font-size: 1.125rem;
  line-height: 1.25;
  text-align: center;
}
.service-dialog .phone-pair { margin-bottom: 12px; }
.service-dialog .phone-pair > a { color: var(--link); }

.request-form .form-intro { margin: 0 0 16px; }
.request-form .fields { align-items: start; }
.request-form .fields label { min-width: 0; }
.request-form .fields input[type=file] {
  min-height: 48px;
  padding-block: 7px;
}
.request-form .media-preview:empty { display: none; }

@media (max-width: 760px) {
  html { scroll-padding-bottom: 82px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .home-page .wrap { padding-inline: clamp(14px, 4vw, 24px); }
  .home-page header .bar { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .home-page .bar > .uv-logo { justify-self: center; }
  .home-page .footer-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  header .phone-pair { grid-template-columns: 1fr; text-align: center; }
  header .phone-pair > a { min-height: 48px; font-size: .83rem; }
  header .phone-pair > a:first-child { flex-direction: column; gap: 0; line-height: 1.25; }
  header .phone-person-label { padding: 0; border: 0; font-size: .94rem; }
  .home-page header .quick-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .home-page .quick-nav a {
    justify-content: center;
    padding: 5px 4px;
    border: 1px solid #55513b;
    border-radius: 8px;
    background: #28291f;
    text-align: center;
    line-height: 1.25;
  }
  .home-page .hero { padding-block: 22px 28px; }
  .home-page .hero .split { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-page .hero h1 { font-size: clamp(34px, 8.8vw, 52px); }
  .home-page .hero p:not(.region) { margin-block: 14px 18px; }
  .home-page .hero .region { margin-bottom: 12px; }
  .home-page .hero .button { width: 100%; text-align: center; }
  .home-page .hero .cargo-link { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 0; }
  .home-page .hero-media > img { height: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
  .home-page .calc-section { padding-top: 34px; }
  .home-page h2 { font-size: clamp(28px, 7vw, 38px); margin-bottom: 16px; }
  .home-page .service-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border-radius: 16px;
    overscroll-behavior: contain;
  }
  .home-page .service-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-page .service-figure img { aspect-ratio: 16 / 9; }
  .home-page .service-dialog h2 { padding-right: 36px; overflow-wrap: anywhere; }
  .home-page .service-dialog .dialog-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .service-dialog .dialog-actions .button { padding-inline: 6px; }
  .home-page .room-controls { padding: 12px 14px 16px; }
  .home-page .room-controls input { touch-action: pan-y; }
  .service-page .hero { grid-template-columns: minmax(0, 1fr); padding-block: 20px 27px; }
  .service-page .hero .button { width: 100%; justify-content: center; text-align: center; }
  .service-page figure img { aspect-ratio: 4 / 3; }
  .request-panel .fields, .request-form .fields { grid-template-columns: minmax(0, 1fr); }
  .request-media { min-width: 0; }
  .request-form input:not([type=hidden]), .request-form select, .request-form textarea {
    max-width: 100%;
    font-size: 16px;
  }
  .request-form input[type=file] { padding-inline: 7px; }
  .request-actions { align-items: stretch; flex-direction: column; }
  .request-actions > .button { width: 100%; }
  .request-contact a { flex: 1 0 auto; justify-content: center; }
  .mobile-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #191b19;
    color: white;
    border-top: 1px solid #55513b;
  }
  .mobile-contact .button { justify-content: center; }
  .mobile-contact details { position: relative; border: 0; padding: 0; }
  .mobile-contact summary {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid #6c6858;
    border-radius: 8px;
    list-style: none;
    cursor: pointer;
    font-weight: 750;
  }
  .mobile-contact summary::-webkit-details-marker { display: none; }
  .mobile-contact details div {
    position: absolute;
    inset: auto 0 calc(100% + 7px);
    background: #292b25;
    padding: 4px 8px;
    border: 1px solid #6c6858;
    border-radius: 9px;
  }
  .mobile-contact details a { display: flex; align-items: center; min-height: 44px; padding: 3px 6px; }
  body:has(.request-form :is(input, textarea, select):focus) .mobile-contact { visibility: hidden; }
}

@media (max-width: 640px) {
  .home-page .fleet-grid, .home-page .services .grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .fleet-info { padding: 14px; }
  .home-page .fleet-info dl div { display: flex; }
  .home-page .fleet-info .button { width: 100%; }
  .service-page .service-page-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 365px) {
  .home-page .service-card-link { column-gap: 8px; padding-inline: 12px; }
}

@media (min-width: 761px) {
  .service-page .mobile-contact { display: none; }
}
