/* Keep all layouts and embedded content inside the mobile viewport. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 760px) {
  .hero,
  .page-hero {
    padding-top: 38px;
    padding-bottom: 52px;
    gap: 32px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.85rem, 14vw, 3.55rem);
    line-height: 0.96;
    margin-top: 18px;
    margin-bottom: 20px;
  }

  .hero-actions,
  .actions {
    margin-top: 24px;
    margin-bottom: 28px;
  }

  .hero-media {
    height: 320px;
  }

  .booking-wrap {
    margin-bottom: 68px;
    padding: 24px;
    gap: 26px;
  }

  .service-section,
  .safety-section,
  .driver-section,
  .plain-section,
  .content {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .service-grid,
  .safety-grid,
  .grid-2,
  .grid-3 {
    margin-top: 28px;
    margin-bottom: 28px;
    gap: 12px;
  }

  .service-grid article,
  .card,
  .step-grid article {
    min-height: 0;
    padding: 22px;
  }

  .service-grid h3 {
    margin-top: 30px;
  }

  .airport-section {
    margin-top: 20px;
    margin-bottom: 68px;
  }

  .airport-visual {
    min-height: 300px;
  }

  .airport-copy {
    padding: 30px 22px;
  }

  .vehicle-stack {
    height: 330px;
  }

  .vehicle-stack img {
    height: 225px;
  }

  .page-photo img,
  .community-proof img {
    max-height: 280px;
    object-fit: cover;
  }

  .content h2 {
    margin-top: 44px;
  }

  .final-cta,
  .cta {
    margin-top: 30px;
    margin-bottom: 60px;
    padding: 32px 22px;
  }

  .nav-shell,
  .site-header,
  .hero,
  .page-hero,
  .content,
  .booking-wrap,
  .service-section,
  .airport-section,
  .driver-section,
  .safety-section,
  .final-cta,
  .cta,
  footer,
  .site-footer,
  main,
  section,
  article,
  form,
  fieldset {
    min-width: 0;
    max-width: 100%;
  }

  .hero > *,
  .page-hero > *,
  .content > *,
  .booking-wrap > *,
  .airport-section > *,
  .driver-section > *,
  .final-cta > *,
  .cta > * {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  a,
  button,
  label,
  figcaption {
    overflow-wrap: anywhere;
  }

  footer,
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 20px 48px;
  }

  footer > div,
  footer nav,
  .site-footer > div,
  .site-footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
  }

  footer a,
  .site-footer a {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    border-bottom: 1px solid rgba(157, 176, 184, 0.2);
    line-height: 1.3;
    overflow-wrap: normal;
    word-break: normal;
  }

  footer a:nth-child(odd),
  .site-footer nav a:nth-child(odd) {
    padding-right: 14px;
  }

  footer a:nth-child(even),
  .site-footer nav a:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid rgba(157, 176, 184, 0.2);
  }

  footer p,
  footer small,
  .site-footer p,
  .site-footer small {
    width: 100%;
    margin: 0;
    line-height: 1.6;
  }
}
