/* Phone-specific layout. Keep the approved desktop presentation unchanged. */
.mobile-Vehices-hint {
  display: none;
}

@media (max-width: 991px) {
  .home-page .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--ink, #1c2e59);
    transition: background-color 0.25s ease, transform 0.2s ease;
  }
  .home-page .menu-toggle:active {
    transform: scale(0.92);
  }
  .home-page .menu-toggle[aria-expanded="true"] {
    background: rgba(28, 46, 89, 0.08);
  }
  .home-page .menu-toggle svg,
  .home-page .menu-toggle path {
    pointer-events: none;
  }

  /* Hamburger to X morph & rotation transition */
  .home-page .menu-toggle-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }
  .home-page .menu-toggle .icon-menu,
  .home-page .menu-toggle .icon-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.24s ease;
  }

  /* Default closed state: hamburger visible, close X hidden */
  .home-page .menu-toggle .icon-menu {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  .home-page .menu-toggle .icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    pointer-events: none;
  }

  /* Expanded / Open state: hamburger spins out, close X spins in */
  .home-page .menu-toggle[aria-expanded="true"] .icon-menu {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
    pointer-events: none;
  }
  .home-page .menu-toggle[aria-expanded="true"] .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    pointer-events: auto;
  }

  /* Mobile Nav Expansion Animation */
  .home-page .mobile-navigation {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 35px rgba(28, 46, 89, 0.15);
    z-index: 100;

    /* Hidden starting state for expansion animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scaleY(0.97);
    transform-origin: top center;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.32s ease,
                visibility 0.32s ease;
    pointer-events: none;
  }
  .home-page .mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    padding: 12px 20px 20px;
    border-bottom-color: var(--line);
    pointer-events: auto;
  }
  .home-page .mobile-navigation:not([hidden]) {
    visibility: visible;
  }

  /* Staggered slide & fade for navigation links */
  .home-page .mobile-navigation a {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding-block: 10px;
    border-bottom: 1px solid #e5e8ef;
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.15s ease,
                color 0.15s ease;
  }
  .home-page .mobile-navigation.is-open a {
    opacity: 1;
    transform: translateX(0);
  }
  .home-page .mobile-navigation.is-open a:nth-child(1) { transition-delay: 0.04s; }
  .home-page .mobile-navigation.is-open a:nth-child(2) { transition-delay: 0.08s; }
  .home-page .mobile-navigation.is-open a:nth-child(3) { transition-delay: 0.12s; }
  .home-page .mobile-navigation.is-open a:nth-child(4) { transition-delay: 0.16s; }
  .home-page .mobile-navigation.is-open a:nth-child(5) { transition-delay: 0.20s; }
  .home-page .mobile-navigation.is-open a:nth-child(6) { transition-delay: 0.24s; }
  .home-page .mobile-navigation.is-open a:nth-child(7) { transition-delay: 0.28s; }
  .home-page .mobile-navigation.is-open a:nth-child(8) { transition-delay: 0.32s; }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 92px;
  }
  .home-page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .home-page .page-width {
    width: calc(100% - 32px);
  }
  .home-page .top-note {
    display: none;
  }
  .home-page .header-inner {
    height: 72px;
    gap: 8px;
  }
  .home-page .header-phone,
  .home-page .phone-icon,
  .home-page .menu-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .home-page .phone-icon .icon {
    width: 19px;
    height: 19px;
  }
  .home-page .menu-toggle {
    padding: 10px;
  }
  .home-page .mobile-navigation {
    max-height: calc(100dvh - 84px);
  }
  .home-page .mobile-navigation.is-open {
    padding: 12px 20px 20px;
    border-bottom-color: var(--line);
  }
  .home-page .mobile-navigation a {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding-block: 10px;
    border-bottom: 1px solid #e5e8ef;
    font-size: 16px;
    font-weight: 500;
  }

  .home-page .hero-grid {
    padding-top: 20px;
  }
  .home-page .hero-story {
    display: contents;
  }
  #home-hero-intro {
    order: 0;
    padding: 0;
    text-align: center;
  }
  .home-page .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.1;
    letter-spacing: -1.7px;
    margin-top: 0;
    text-align: center;
  }
  .home-page .hero h1 em {
    letter-spacing: -1.7px;
  }
  .home-page .hero-assurance {
    font-size: 11px;
    gap: 7px;
    margin-top: 14px;
    line-height: 1.7;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }
  #home-hero-visual {
    order: 1;
    margin-top: 14px;
    margin-bottom: 20px;
  }
  .home-page #booking {
    order: 2;
    padding-top: 10px;
    padding-bottom: 15px;
    scroll-margin-top: 88px;
    width: 100%;
  }
  #home-hero-caption {
    font-size: 14px;
    line-height: 1.6;
    max-width: 47%;
  }
  .home-page #home-hero-visual .hero-bottom-left-image {
    opacity: 1;
  }
  .home-page
    #home-hero-visual[data-mobile-entrance="visible"]
    .hero-bottom-left-image {
    animation: heroSlideInFromLeft 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .home-page .booking-card {
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 28px #1c2e5908;
  }
  .home-page .booking-heading .eyebrow {
    display: none;
  }
  .home-page .booking-heading h2 {
    font-size: clamp(23px, 6.4vw, 27px);
    margin-top: 0;
    letter-spacing: -0.8px;
  }
  .home-page .booking-car-icon {
    width: 36px;
    height: 36px;
  }
  .home-page .ride-tabs {
    margin: 18px 0 10px;
    gap: 3px;
  }
  .home-page .ride-tab {
    min-height: 44px;
    font-size: 14px !important;
    padding: 10px 5px;
  }
  .home-page .trip-types {
    gap: 20px;
    margin-bottom: 11px;
  }
  .home-page .trip-types label {
    min-height: 44px;
    gap: 8px;
    font-size: 14px;
  }
  .home-page .trip-types input {
    width: 18px;
    height: 18px;
  }
  .home-page .location-field {
    min-height: 79px;
    padding: 13px 58px 13px 18px;
  }
  .home-page .location-field label,
  .home-page .form-field label {
    font-size: 11px;
    letter-spacing: 0.6px;
    line-height: 1.5;
    margin-bottom: 5px;
  }
  .home-page .location-field input {
    font-size: 16px;
    min-height: 28px;
  }
  .home-page .location-field:first-child::after {
    top: 46px;
    height: 65px;
  }
  .home-page .swap-button {
    width: 44px;
    height: 44px;
    right: 8px;
  }
  .home-page .swap-button .icon {
    width: 19px;
    height: 19px;
  }
  .home-page .field-row {
    gap: 10px;
  }
  .home-page .form-field {
    padding: 11px 12px;
  }
  .home-page .form-field input,
  .home-page .form-field select {
    font-size: 16px;
    min-height: 28px;
    width: 100%;
    max-width: 100%;
    min-inline-size: 0;
  }
  .home-page input,
  .home-page select,
  .home-page textarea {
    scroll-margin-top: 105px;
    scroll-margin-bottom: 120px;
  }
  .home-page input::-webkit-date-and-time-value {
    text-align: left;
  }
  .home-page .fare-button {
    min-height: 53px;
    font-size: 15px !important;
  }
  .home-page .booking-fine-print {
    font-size: 12px;
    gap: 6px;
    line-height: 1.6;
    margin-top: 14px !important;
  }
  .home-page .booking-help {
    font-size: 12px;
    line-height: 1.8;
    gap: 4px;
    margin-top: 14px !important;
  }
  .home-page .booking-help > .icon {
    width: 17px;
    height: 17px;
  }
  .home-page .form-error {
    font-size: 13px;
    line-height: 1.7;
  }

  .home-page .floating-contact-actions {
    display: none;
  }
  .home-page .mobile-booking-bar {
    display: grid;
    grid-template-columns: 54px 68px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 16px max(12px, env(safe-area-inset-bottom));
    align-items: center;
    box-shadow: 0 -4px 22px #1c2e590b;
  }
  .home-page .mobile-booking-bar .mobile-contact-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--ink);
  }
  .home-page .mobile-contact-action > .icon {
    width: 21px;
    height: 21px;
  }
  .home-page .mobile-booking-bar .mobile-whatsapp-action {
    color: #117c43;
  }
  .home-page .mobile-whatsapp-icon {
    width: 23px;
    height: 23px;
    fill: currentColor;
  }
  .home-page .mobile-booking-bar > .button {
    min-height: 54px;
    border: 0;
    padding: 14px 16px;
    font-size: 14px !important;
    justify-content: space-between;
  }
  .home-page:has(.menu-toggle[aria-expanded="true"]) .mobile-booking-bar {
    visibility: hidden;
    pointer-events: none;
  }

  .home-page .home-content-section,
  .home-page .section-space {
    padding-block: 44px;
  }
  .home-page .content-heading {
    margin-bottom: 24px;
  }
  .home-page .section-kicker,
  .home-page .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .home-page .content-heading h2,
  .home-page .faq-layout h2 {
    font-size: 32px;
    line-height: 1.16;
  }
  .home-page .content-heading > p {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 16px;
  }
  .home-page .text-link {
    font-size: 13px !important;
    min-height: 44px;
  }
  .home-page .button-outline {
    min-height: 46px;
    font-size: 14px !important;
  }
  .home-page .section-fine-print,
  .home-page .section-bottom-action > p {
    font-size: 12px;
    line-height: 1.8;
  }

  .home-page .cab-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-page .cab-service-card,
  .home-page .cab-service-card.featured-service {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    min-height: 0;
    grid-column: auto;
    padding: 18px;
  }
  .home-page .service-card-top {
    display: contents;
  }
  .home-page .service-card-top > .icon:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 26px;
    height: 26px;
  }
  .home-page .service-card-top > .icon:last-child {
    display: none;
  }
  .home-page .cab-service-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 17px;
    line-height: 1.35;
    margin-top: 0;
  }
  .home-page .cab-service-card .service-starting-price {
    grid-column: 3;
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
    text-align: right;
    display: block;
  }
  .home-page .cab-service-card .service-starting-price strong {
    font-size: 24px;
    letter-spacing: -0.8px;
  }
  .home-page .cab-service-card .service-starting-price > span {
    font-size: 11px;
    line-height: 1.6;
  }
  .home-page .cab-service-card .service-coverage {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    font-size: 11px;
    gap: 4px;
    white-space: normal;
    line-height: 1.6;
  }
  .home-page .service-coverage .icon {
    display: none;
  }
  .home-page .service-card-description {
    grid-column: 2 / 4;
    grid-row: 3;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 8px;
  }

  .home-page .city-toolbar > p {
    font-size: 12px;
  }
  .home-page .city-search {
    min-height: 52px;
    border-radius: 8px;
    padding-inline: 14px;
  }
  .home-page .city-grid {
    gap: 12px;
  }
  .home-page .city-card {
    padding: 16px 14px;
    border-radius: 10px;
  }
  .home-page .city-card-top > span {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .home-page .city-card h3 {
    font-size: 17px;
    line-height: 1.4;
    min-height: 48px;
    margin-top: 13px;
  }
  .home-page .city-card > p {
    font-size: 12px;
    line-height: 1.65;
    min-height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .home-page .city-card > div:last-child {
    font-size: 12px;
  }
  .home-page .city-card strong {
    font-size: 23px;
  }
  .home-page .departure-tab {
    min-height: 62px;
    font-size: 14px;
    gap: 4px;
  }
  .home-page .departure-tab > span {
    font-size: 11px;
  }
  .home-page .route-fare-card {
    padding: 19px 18px;
  }
  .home-page .route-card-journey {
    gap: 7px;
  }
  .home-page .route-card-journey > span {
    font-size: 13px;
  }
  .home-page .route-card-journey > strong {
    font-size: clamp(20px, 5.4vw, 24px);
  }
  .home-page .route-card-meta {
    font-size: 12px;
    gap: 20px;
  }
  .home-page .route-card-price small {
    font-size: 12px;
  }
  .home-page .route-card-price > span {
    font-size: 13px;
  }

  #cab-size-carousel .cab-size-tab {
    min-height: 54px;
    font-size: 13px;
  }
  #cab-size-viewport .cab-size-kicker {
    font-size: 9px;
    max-width: 90%;
    letter-spacing: 0.7px;
    line-height: 1.5;
  }
  #cab-size-viewport .cab-size-description {
    font-size: 13px;
    line-height: 1.75;
  }
  #cab-size-viewport .cab-size-specs > span {
    font-size: 12px;
  }
  #cab-size-viewport .cab-size-booking small {
    font-size: 12px;
  }
  #cab-size-viewport .cab-size-booking .button {
    min-height: 48px;
    font-size: 14px !important;
  }
  #cab-size-viewport .cab-size-image-note {
    font-size: 10px;
    line-height: 1.6;
  }
  #cab-size-carousel .cab-size-stage-nav,
  #cab-size-carousel .cab-size-nav,
  #cab-size-carousel .cab-size-prev,
  #cab-size-carousel .cab-size-next {
    display: none !important;
  }
  #cab-size-carousel .cab-size-footer > p,
  #cab-size-carousel .cab-size-nav-hint {
    font-size: 12px;
    line-height: 1.75;
  }

  .home-page .featured-Vehices {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 86%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: #a5b3ce #e2e7f1;
  }
  .home-page .Vehices-choice {
    scroll-snap-align: start;
    min-width: 0;
  }
  .home-page .Vehices-choice-label {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
  .home-page .Vehices-choice h3 {
    font-size: 25px;
  }
  .home-page .Vehices-choice p {
    font-size: 14px;
  }
  .home-page .Vehices-choice-specs > span {
    font-size: 12px;
  }
  .home-page .Vehices-choice-price {
    min-height: 72px;
  }
  .home-page .Vehices-choice-price > span:first-child > span {
    font-size: 12px;
  }
  .home-page .mobile-Vehices-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
  }
  .home-page .more-Vehices-choice {
    min-height: 82px;
  }
  .home-page .more-Vehices-choice small {
    font-size: 11px;
  }
  .home-page .more-Vehices-price small {
    font-size: 10px;
  }

  .home-page .calculator-intro > p:not(.section-kicker) {
    font-size: 14px;
  }
  .home-page .calculator-promise {
    font-size: 12px;
  }
  .home-page .calculator-card form,
  .home-page .calculator-result {
    padding: 23px;
  }
  .home-page .calculator-fields label {
    font-size: 13px;
  }
  .home-page .calculator-fields label > small {
    font-size: 12px;
  }
  .home-page .estimate-label {
    font-size: 11px;
  }
  .home-page #calculator-service-label,
  .home-page #calculator-formula {
    font-size: 13px;
  }
  .home-page .calculator-disclaimer {
    font-size: 12px;
  }
  .home-page .calculator-result > .button {
    min-height: 50px;
    font-size: 14px !important;
  }
  .home-page .benefits-grid {
    gap: 28px 20px;
  }
  .home-page .benefits-grid h3 {
    font-size: 17px;
  }
  .home-page .benefits-grid p {
    font-size: 13px;
    line-height: 1.8;
  }
  .home-page .booking-steps p {
    font-size: 14px;
    line-height: 1.8;
  }
  .home-page .customer-reviews {
    grid-auto-columns: 91%;
  }
  .home-page .customer-review {
    padding: 22px;
  }
  .home-page .customer-review blockquote {
    font-size: 15px;
    line-height: 1.8;
  }
  .home-page .customer-review figcaption strong {
    font-size: 14px;
  }
  .home-page .customer-review figcaption small,
  .home-page .reviews-scroll-note {
    font-size: 12px;
    line-height: 1.7;
  }
  .home-page .faq-list summary {
    min-height: 64px;
    font-size: 15px;
    line-height: 1.5;
  }
  .home-page .faq-list details p {
    font-size: 14px;
    line-height: 1.8;
    padding-right: 12px;
  }
  .home-page .last-call-actions > a:last-child {
    min-height: 44px;
    font-size: 13px;
  }
  .home-page .last-call-actions > .button {
    min-height: 52px;
    font-size: 14px !important;
  }
  .home-page .footer-brand p,
  .home-page .footer-contact > p {
    font-size: 13.5px;
    line-height: 1.8;
  }
  .home-page .footer-main h3 {
    font-size: 14px;
  }
  .home-page .footer-main > div:not(:first-child) > a,
  .home-page .footer-main > div > button {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0;
    font-size: 13.5px;
    line-height: 1.6;
  }
  .home-page .footer-main .footer-contact > a:nth-of-type(2) {
    font-size: 13px !important;
    overflow-wrap: anywhere;
  }
  .home-page .footer-bottom {
    font-size: 12px;
    line-height: 1.8;
  }
  .home-page .footer-bottom a {
    min-height: 44px;
  }

  .home-page .quote-dialog {
    padding: 28px 22px 22px;
    max-height: calc(100dvh - 32px);
    border-radius: 14px;
  }
  .home-page .dialog-close {
    width: 44px;
    height: 44px;
    top: 6px;
    right: 6px;
  }
  .home-page .quote-dialog > .eyebrow {
    font-size: 10px;
    padding-right: 24px;
  }
  .home-page .quote-dialog h2 {
    font-size: 26px;
  }
  .home-page .quote-itinerary {
    font-size: 19px;
  }
  .home-page .quote-details {
    font-size: 13px;
  }
  .home-page .quote-details > div {
    gap: 18px;
    padding-block: 7px;
  }
  .home-page .quote-price > span,
  .home-page .quote-price > small {
    font-size: 12px;
    line-height: 1.7;
  }
  .home-page .quote-dialog #quote-note {
    font-size: 13px;
  }
  .home-page .quote-dialog > .button {
    min-height: 52px;
    font-size: 12px !important;
    padding-inline: 11px;
  }
  .home-page .quote-edit {
    min-height: 44px;
    font-size: 14px !important;
  }
}

@media (max-width: 380px) {
  .home-page .booking-card {
    padding: 18px 16px;
  }
  .home-page .booking-car-icon {
    display: none;
  }
  .home-page .ride-tab {
    font-size: 13px !important;
  }
  .home-page .mobile-booking-bar {
    grid-template-columns: 44px 60px minmax(0, 1fr);
    gap: 8px;
  }
  .home-page .mobile-booking-bar > .button {
    padding-inline: 12px;
    font-size: 13px !important;
  }
  .home-page .cab-service-card,
  .home-page .cab-service-card.featured-service {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 16px 14px;
  }
  .home-page .cab-service-card h3 {
    font-size: 16px;
  }
  .home-page .cab-service-card .service-starting-price strong {
    font-size: 23px;
  }
  .home-page .city-card {
    padding: 15px 12px;
  }
  .home-page .city-card h3 {
    font-size: 16px;
  }
  .home-page .route-card-journey > span {
    font-size: 12px;
  }
  .home-page .more-Vehices-choice {
    gap: 9px;
    padding-inline: 12px;
  }
  .home-page .more-Vehices-choice strong {
    font-size: 13px;
  }
  .home-page .more-Vehices-choice small {
    font-size: 10px;
  }
  .home-page .more-Vehices-choice > .icon:last-child {
    display: none;
  }
  .home-page .benefits-grid {
    grid-template-columns: 1fr;
  }
  .home-page .benefits-grid p {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .home-page .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .home-page #home-hero-visual .hero-bottom-left-image {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .menu-toggle,
  .home-page .menu-toggle .hamburger-icon,
  .home-page .menu-toggle .line,
  .home-page .mobile-navigation,
  .home-page .mobile-navigation a {
    transition: none !important;
    transform: none !important;
  }
  .home-page .mobile-navigation.is-open a {
    opacity: 1 !important;
  }
}
