/* DAO DANANG v2.0.13 — STEP 3 / MOBILE CONVERSION UX
   Scope: booking/contact flow and messenger modal only.
   STEP 1 mobile shell + STEP 2 mobile content remain untouched. */

@media (max-width: 760px) {
  /* Booking page: make the primary decision (messenger choice) visible faster. */
  .dao-booking-hero {
    min-height: 420px;
  }

  .dao-booking-hero__inner {
    padding-top: 74px;
    padding-bottom: 38px;
  }

  .dao-booking-hero h1 {
    margin-bottom: 15px;
    font-size: clamp(34px, 9.6vw, 40px) !important;
    line-height: 1.04;
  }

  .dao-booking-hero__inner > p:not(.dao-kicker) {
    max-width: 94%;
    font-size: 12px;
    line-height: 1.7;
  }

  .dao-booking-messengers {
    padding-top: 44px;
    padding-bottom: 46px;
  }

  .dao-booking-heading {
    margin-bottom: 22px;
  }

  .dao-booking-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(28px, 7.9vw, 32px);
    line-height: 1.08;
  }

  .dao-booking-heading > p {
    max-width: 92%;
    font-size: 11px;
    line-height: 1.65;
  }

  /* 4 messenger choices become a compact 2 x 2 conversion grid. */
  .dao-booking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dao-booking-card {
    min-height: 86px;
    grid-template-columns: 36px minmax(0, 1fr) 12px;
    gap: 8px;
    padding: 12px 11px;
    border-color: rgba(189,146,91,.22);
    background:
      linear-gradient(145deg, rgba(20,20,22,.96), rgba(9,9,10,.98));
  }

  .dao-booking-card:active {
    transform: translateY(1px);
    border-color: rgba(201,27,51,.68);
  }

  .dao-booking-card__icon {
    width: 36px;
    height: 36px;
  }

  .dao-booking-card__icon img {
    width: 26px;
    height: 26px;
  }

  .dao-booking-card__copy {
    min-width: 0;
  }

  .dao-booking-card__copy span,
  .dao-booking-card__copy p {
    display: none;
  }

  .dao-booking-card h3 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.25;
  }

  .dao-booking-card > b {
    font-size: 16px;
  }

  /* Keep the three operating notes in one glance instead of another tall stack. */
  .dao-booking-note {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
  }

  .dao-booking-note div,
  .dao-booking-note div:last-child {
    min-width: 0;
    min-height: 82px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 12px 10px;
    border-right: 1px solid var(--dao-line);
    border-bottom: 0;
  }

  .dao-booking-note div:last-child {
    border-right: 0;
  }

  .dao-booking-note strong {
    font-size: 18px;
  }

  .dao-booking-note span {
    font-size: 9px;
    line-height: 1.45;
  }

  .dao-booking-service {
    padding-bottom: 54px;
  }

  .dao-booking-service__grid {
    min-height: 0;
  }

  .dao-booking-service figure {
    min-height: 220px;
  }

  .dao-booking-service__grid > div {
    padding: 26px 18px 28px;
  }

  .dao-booking-service h2 {
    margin-bottom: 14px;
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.08;
  }

  .dao-booking-service p:not(.dao-kicker) {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.7;
  }

  .dao-booking-service__tags {
    gap: 6px;
  }

  .dao-booking-service__tags span {
    padding: 7px 9px;
    font-size: 8px;
  }

  /* Messenger modal: true mobile bottom sheet with strong, thumb-friendly choices. */
  .dao-modal {
    padding: 8px;
    place-items: end center;
  }

  .dao-modal__backdrop {
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(8px);
  }

  .dao-modal__panel {
    width: 100%;
    max-height: min(82dvh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px 16px max(18px, env(safe-area-inset-bottom));
    border-color: rgba(189,146,91,.34);
    background:
      radial-gradient(circle at 50% 0, rgba(115,8,25,.16), transparent 34%),
      linear-gradient(180deg, #121214, #080809 78%);
    box-shadow: 0 -24px 80px rgba(0,0,0,.72);
    animation: dao-mobile-sheet-in .22s ease-out both;
  }

  .dao-modal__panel::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 34px;
    height: 2px;
    transform: translateX(-50%);
    background: rgba(255,255,255,.2);
  }

  .dao-modal__close {
    top: 14px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 20px;
    background: rgba(8,8,9,.72);
  }

  .dao-modal .dao-kicker {
    margin-bottom: 7px;
  }

  .dao-modal h2 {
    max-width: calc(100% - 46px);
    margin-bottom: 7px;
    padding-right: 0;
    font-size: clamp(24px, 7.1vw, 29px);
    line-height: 1.15;
  }

  .dao-modal__intro {
    max-width: 92%;
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.6;
  }

  .dao-messenger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dao-messenger-card {
    min-height: 88px;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border-color: rgba(255,255,255,.11);
    background: rgba(13,13,15,.94);
    text-align: center;
  }

  .dao-messenger-card:active {
    transform: translateY(1px);
    border-color: rgba(201,27,51,.7);
  }

  .dao-messenger-card img {
    width: 36px;
    height: 36px;
  }

  .dao-messenger-card span {
    font-size: 11px;
    line-height: 1.25;
  }

  @keyframes dao-mobile-sheet-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 380px) {
  .dao-booking-grid {
    gap: 6px;
  }

  .dao-booking-card {
    grid-template-columns: 32px minmax(0, 1fr) 10px;
    padding-inline: 9px;
  }

  .dao-booking-card__icon {
    width: 32px;
    height: 32px;
  }

  .dao-booking-card__icon img {
    width: 23px;
    height: 23px;
  }

  .dao-booking-card h3 {
    font-size: 12px;
  }

  .dao-booking-note span {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .dao-modal__panel {
    animation: none;
  }

  .dao-booking-card,
  .dao-messenger-card {
    transition: none;
  }
}
