@media (max-width: 720px) {
  :root {
    --stepper-sticky-top: env(safe-area-inset-top, 0px);
    --step-scroll-offset: calc(180px + env(safe-area-inset-top, 0px));
  }

  .app-shell {
    width: min(100% - 16px, 100%);
    padding-top: 12px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .hero-panel,
  .booking-card,
  .info-card,
  .work-gallery {
    border-radius: 24px;
    padding: 18px;
  }

  .hero-panel {
    min-height: 196px;
    --hero-image-position: center center;
  }
.hero-panel__visual {
    padding: 52px 18px 18px;
  }

  .hero-panel__neon {
    font-size: clamp(
      calc(2.9rem * var(--hero-title-scale)),
      calc(12.8vw * var(--hero-title-scale)),
      calc(5.2rem * var(--hero-title-scale))
    );
  }

  .stepper {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding: 0 0 4px;
    margin: 0 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .stepper::-webkit-scrollbar {
    display: none;
  }

  .stepper__item {
    min-width: 108px;
    min-height: 48px;
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.15;
    scroll-snap-align: start;
  }

  .option-grid,
  .service-grid,
  .booking-start-options,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .booking-start-card {
    min-height: 96px;
    padding: 14px;
    gap: 12px;
  }

  .booking-start-card__icon {
    width: 58px;
    height: 58px;
  }

  .booking-start-card strong {
    font-size: 1.08rem;
  }

  .booking-start-card__body > span {
    font-size: 0.86rem;
  }

  .booking-start-card__chevron {
    font-size: 1.7rem;
  }

  .option-grid,
  .service-grid,
  .booking-start-options,
  .time-grid,
  .form-actions {
    display: grid;
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .time-grid__title {
    margin-top: 0;
  }

  .time-slot {
    min-height: 62px;
    padding: 12px 8px;
    border-radius: 14px;
    text-align: center;
  }

  .time-slot span {
    display: none;
  }

  body.has-service-sticky-cta {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  body.has-confirmation-sticky-actions {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body.has-confirmation-sticky-actions .form-actions {
    display: none;
  }

  .service-sticky-cta:not([hidden]) {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(100%, 580px);
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--card-bg-strong);
    box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.34);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
  }

  .service-sticky-cta__summary {
    font-size: 0.96rem;
    overflow-wrap: normal;
  }

  .service-sticky-cta__button {
    width: auto;
    min-width: 126px;
    min-height: 50px;
    padding: 13px 18px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .android-lite .service-sticky-cta,
  .ios-soft .service-sticky-cta,
  .android-lite .confirmation-sticky-actions,
  .ios-soft .confirmation-sticky-actions {
    background: var(--card-bg-strong);
    backdrop-filter: none;
  }

  .confirmation-sticky-actions:not([hidden]) {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 82;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 10px;
    width: min(100%, 580px);
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: var(--card-bg-strong);
    box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.34);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
  }

  .confirmation-sticky-actions .button {
    min-height: 50px;
    padding: 13px 14px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .date-picker {
    padding: 12px;
    gap: 10px;
    border-radius: 18px;
  }

  .date-picker__header {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .date-picker__nav {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .date-picker__weekdays,
  .date-picker__grid {
    gap: 5px;
  }

  .date-picker__empty,
  .date-picker__day {
    min-height: 40px;
  }

  .date-picker__day {
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .option-card__top {
    align-items: flex-start;
  }

  .barber-card__content {
    gap: 8px;
  }

  .barber-card__specialty {
    font-size: 0.96rem;
  }

  .barber-card__image {
    width: 84px;
    min-width: 84px;
    height: 96px;
  }

  .barber-card__instagram {
    font-size: 0.92rem;
  }

  .site-footer {
    border-radius: 24px;
    padding: 18px;
  }

  .work-gallery[data-gallery-layout="grid"] .work-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .work-gallery[data-gallery-layout="grid"] .work-gallery__item {
    border-radius: 16px;
  }

  .work-gallery[data-gallery-layout="carousel"] .work-gallery__viewport {
    --gallery-card-size: min(44vw, 220px);
    margin: 0 -18px;
  }

  .work-gallery[data-gallery-layout="carousel"] .work-gallery__grid {
    padding: 2px 18px 8px;
    scroll-padding-inline: 18px;
  }

  .work-gallery[data-gallery-layout="carousel"] .work-gallery__item {
    border-radius: 16px;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 58px 14px 24px;
  }

  .gallery-lightbox__figure {
    grid-column: 1;
    max-width: 100%;
  }

  .gallery-lightbox__image {
    width: calc(100vw - 28px);
    height: min(76vh, calc(100vw - 28px));
    border-radius: 16px;
  }

  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .gallery-lightbox__nav--prev {
    left: 12px;
    justify-self: auto;
  }

  .gallery-lightbox__nav--next {
    right: 12px;
    justify-self: auto;
  }

  .result-card__details {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
  }

  .site-footer__top-actions {
    display: grid;
    gap: 10px;
    justify-items: end;
    margin-left: 0;
  }

  .site-footer__contact-line {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .site-footer__bottom,
  .site-footer__meta {
    display: grid;
    justify-content: stretch;
  }

  .site-footer__divider {
    margin: 16px 0 18px;
  }

  .site-footer__social {
    justify-content: flex-end;
  }

  .site-footer__copy {
    margin-left: 0;
    text-align: left;
    max-width: none;
  }

  .site-footer__item,
  .site-footer__item--address {
    max-width: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body {
    background:
      linear-gradient(180deg, var(--page-top), var(--page-bottom)),
      var(--hero-image) center center / cover no-repeat,
      linear-gradient(180deg, var(--page-base) 0%, var(--bg-soft) 100%);
  }

  body[data-product-type="beauty"] {
    background:
      linear-gradient(180deg, var(--page-top), var(--page-bottom)),
      linear-gradient(180deg, var(--page-base) 0%, var(--bg-soft) 100%);
  }

  body::before {
    display: none;
  }

  .booking-card,
  .info-card {
    backdrop-filter: none;
    background: var(--card-bg);
  }

  .hero-panel {
    backdrop-filter: none;
    background:
      linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
      var(--hero-image) var(--hero-image-position) / cover no-repeat,
      var(--card-bg-strong);
  }

  .hero-panel,
  .booking-card,
  .info-card,
  .option-card,
  .service-card,
  .summary-card,
  .result-card,
  .time-slot {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  }

  .option-card,
  .service-card,
  .time-slot,
  .button {
    transition: none;
  }

  .hero-panel__neon {
    text-shadow: var(--hero-title-neon-shadow);
  }
}

body.android-lite {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    var(--hero-image) center top / cover no-repeat,
    var(--page-base);
}

body.android-lite[data-product-type="beauty"] {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    var(--page-base);
}

body.android-lite::before {
  display: none;
}

body.android-lite .hero-panel,
body.android-lite .booking-card,
body.android-lite .info-card,
body.android-lite .option-card,
body.android-lite .service-card,
body.android-lite .summary-card,
body.android-lite .result-card,
body.android-lite .time-slot {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.android-lite .booking-card,
body.android-lite .info-card {
  background: var(--card-bg);
  backdrop-filter: none;
}

body.android-lite .hero-panel {
  min-height: 180px;
  padding: 18px;
  --hero-image-position: center 28%;
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--hero-image) var(--hero-image-position) / cover no-repeat,
    var(--card-bg-strong);
  backdrop-filter: none;
}

body.android-lite[data-title-palette="gradient-sunset"] .hero-panel__neon {
  background-size: 180% 180%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: heroGradientFlow 10s ease-in-out infinite;
  background-image: linear-gradient(135deg, #cc53c6 0%, #ef4b8b 34%, #ff6b4d 72%, #ff9b3f 100%);
}

.hero-panel__visual {
  padding: 28px 18px 18px;
}

body.android-lite .hero-panel__neon {
  font-size: clamp(
    calc(2.6rem * var(--hero-title-scale)),
    calc(10vw * var(--hero-title-scale)),
    calc(4rem * var(--hero-title-scale))
  );
  text-shadow: var(--hero-title-neon-shadow);
}

body.android-lite .hero-panel__text {
  font-size: 1rem;
  margin-top: 8px;
}

body.android-lite .option-card,
body.android-lite .service-card,
body.android-lite .time-slot,
body.android-lite .button {
  transition: none;
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card {
  backdrop-filter: none;
}

body.ios-soft .booking-layout {
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

body.ios-soft {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    var(--hero-image) center top / cover no-repeat,
    var(--page-base);
}

body.ios-soft[data-product-type="beauty"] {
  background:
    linear-gradient(180deg, var(--page-top), var(--page-bottom)),
    var(--page-base);
}

body.ios-soft::before {
  display: none;
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card,
body.ios-soft .option-card,
body.ios-soft .service-card,
body.ios-soft .summary-card,
body.ios-soft .result-card,
body.ios-soft .time-slot {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

body.ios-soft .hero-panel,
body.ios-soft .booking-card,
body.ios-soft .info-card {
  background: var(--card-bg);
}

body.ios-soft .hero-panel {
  --hero-image-position: center 32%;
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--hero-image) var(--hero-image-position) / cover no-repeat,
    var(--card-bg-strong);
}

body.ios-soft .hero-panel__neon {
  text-shadow: var(--hero-title-neon-shadow);
}

body.ios-soft .option-card,
body.ios-soft .service-card,
body.ios-soft .time-slot,
body.ios-soft .button {
  transition: none;
}

body.android-lite .hero-panel__neon[data-style="classic"],
body.ios-soft .hero-panel__neon[data-style="classic"] {
  color: var(--hero-title-classic);
  text-shadow: var(--hero-title-classic-shadow);
}

body.android-lite .hero-panel__neon[data-style="clean"],
body.ios-soft .hero-panel__neon[data-style="clean"] {
  color: var(--hero-title-clean);
  text-shadow: var(--hero-title-clean-shadow);
}

body[data-hero-display="soft-blur"] .hero-panel,
body[data-hero-display="strong-blur"] .hero-panel {
  background:
    linear-gradient(180deg, var(--hero-scrim-top), var(--hero-scrim-bottom)),
    var(--card-bg-strong);
}
