/* Four-page pilot, loaded after page styles. All copy and enquiry links stay
   available; the compact spacing and type apply only at phone widths. */
@media screen and (max-width: 768px) {
  .mobile-pilot {
    --component-padding-y: 32px;
    --space-xl: 2.5rem;
    --space-lg: 2rem;
  }

  .mobile-pilot .header .container {
    padding-block: 0.625rem;
    column-gap: 0.75rem;
    row-gap: 0;
  }

  .mobile-pilot > section h1 {
    font-size: clamp(2rem, 8.6vw, 2.5rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  /* Override the inline heading sizes and margins in these page templates. */
  .mobile-pilot > section h2 {
    font-size: clamp(1.625rem, 6.8vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 0.875rem !important;
  }

  .mobile-pilot > section :is(.section-header, .section-head-row) {
    margin-bottom: 1.5rem !important;
  }

  .mobile-pilot > section :is(.hero-content, .hero-layout, .sicily-layout, .home-service-layout) {
    gap: 1.5rem;
  }

  .mobile-pilot > section :is(.hero-lead, .hero-desc, .hero-intro, .hero-support) {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .mobile-pilot > section :is(.hero-actions, .vehicle-actions) {
    gap: 0.75rem;
  }

  .mobile-pilot :is(.btn, .route-link, .hero-whatsapp-link, .section-head-link) {
    min-height: 48px;
  }

  .mobile-pilot :is(.route-link, .hero-whatsapp-link, .section-head-link) {
    display: inline-flex;
    align-items: center;
  }

  .mobile-pilot .btn {
    max-width: 100%;
    padding-inline: 1.25rem;
    text-align: center;
  }

  .mobile-pilot :is(.hero-visual-frame, .hero-img-frame) {
    aspect-ratio: 3 / 2;
  }

  .mobile-pilot--transfers .hero-layout > div > img {
    aspect-ratio: 3 / 2 !important;
  }

  .mobile-pilot :is(.home-process-intro, .home-promise-intro, .vehicles-toolbar) {
    margin-bottom: 1.5rem;
    gap: 1rem;
  }

  .mobile-pilot .home-promise-intro {
    padding-bottom: 1.5rem;
  }

  .mobile-pilot :is(.home-process-grid, .home-promise-grid, .card-grid-3, .routes-grid, .why-grid, .process-row) {
    gap: 1rem;
  }

  .mobile-pilot :is(.home-process-card, .home-promise-card, .route-card, .why-card, .ui-card, .related-card, .why-matters-block) {
    padding: 1.25rem;
  }

  .mobile-pilot :is(.home-process-card, .home-promise-card, .route-card, .why-card, .ui-card, .related-card) :is(h3, h4) {
    margin-bottom: 0.625rem;
  }

  .mobile-pilot :is(.why-matters-block, .ui-card, .route-card, .why-card, .vehicles-toolbar-copy) p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .mobile-pilot .home-service-section .home-service-visual img {
    aspect-ratio: 3 / 2;
  }

  .mobile-pilot .snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .mobile-pilot .snap-item {
    padding: 0.75rem;
    border-left-width: 1px;
    gap: 0.375rem;
  }

  .mobile-pilot .snap-value {
    font-size: 1rem;
  }

  .mobile-pilot .vehicle-card {
    flex-basis: calc(100% - 1rem);
    min-width: 0;
    padding: 1.25rem;
  }

  .mobile-pilot .vehicles-rail {
    gap: 1rem;
  }

  .mobile-pilot .faq-title {
    min-height: 48px;
    padding: 1rem;
    font-size: 1rem;
  }

  .mobile-pilot .faq-content {
    padding: 0 1rem 1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .mobile-pilot--route .route-breadcrumbs {
    gap: 0.375rem;
    margin-bottom: 1rem;
  }

  .mobile-pilot--route .route-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }

  .mobile-pilot--contact .hero-desc {
    margin-bottom: 0;
  }

  .mobile-pilot--contact .hero-form-wrap {
    padding: 1.25rem;
    scroll-margin-top: 6rem;
  }

  .mobile-pilot--contact .form-section-title {
    margin-bottom: 1rem !important;
  }

  .mobile-pilot--contact .form-row {
    gap: 0.875rem;
  }

  .mobile-pilot--contact .form-group-title {
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.5rem;
  }

  .mobile-pilot--contact #transfer-enquiry > .form-group-title:first-of-type {
    margin-top: 0;
  }

  .mobile-pilot--contact .form-input {
    min-height: 48px;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .mobile-pilot--contact .methods-section {
    padding-bottom: var(--component-padding-y);
  }
}
