@media (max-width: 1024px) {
    .mobile-topbar {
        display: block;
        position: fixed;
        inset: 0 0 auto 0;
        width: 100%;
        max-width: none;
        z-index: 55;
        box-sizing: border-box;
        transition: none;
        backdrop-filter: none;
    }

    .mobile-topbar__inner {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }

    .site-header {
        display: none;
    }

    body {
        padding-top: 4rem;
        padding-bottom: 4.4rem;
    }

    .bottom-nav {
        display: grid;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        transform: none;
        box-sizing: border-box;
        transition: none;
        backdrop-filter: none;
        border-radius: 20px 20px 0 0;
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
        padding-bottom: 0.5rem;
    }

    .mobile-topbar.is-scrolled,
    .mobile-topbar.is-hidden {
        background: rgba(245, 245, 239, 0.92);
        border-bottom: 1px solid var(--line);
        transform: none;
    }

    .site-nav {
        display: none;
    }

    .mobile-dashboard-nav {
        display: flex;
    }

    .dashboard-main {
        padding-top: 6rem !important;
        padding-bottom: 5.25rem !important;
    }

    .dashboard-shell {
        gap: 1.5rem !important;
    }

    .room-grid,
    .amenity-grid,
    .section-grid,
    .contact-grid,
    .region-grid,
    .nearby-grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .gallery-card:nth-child(4n + 1) {
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(calc(100% - 1.25rem), var(--shell));
    }

    .section {
        padding: 3.2rem 0;
    }

    .section h2 {
        font-size: clamp(2rem, 8.8vw, 2.45rem);
        line-height: 1.02;
    }

    .section-heading {
        margin-bottom: 1.3rem;
        gap: 1rem;
    }

    .site-header__inner,
    .hero__actions,
    .section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .site-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 35rem;
    }

    .hero__content {
        padding: 4.9rem 0 2rem;
    }

    .hero__eyebrow {
        padding: 0.45rem 0.68rem;
        font-size: 0.62rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 2.85rem);
        line-height: 1;
        max-width: 12ch;
    }

    .hero p {
        margin-top: 0.7rem;
        font-size: 0.95rem;
    }

    .hero__actions {
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .hero__actions .button {
        min-height: 2.95rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .hero__rating {
        margin-top: 1rem;
        font-size: 0.88rem;
    }

    .highlights {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem;
        padding: 0.2rem 0;
        overflow: visible;
    }

    .highlight-pill {
        flex: 0 0 calc((100% - (4 * 0.45rem)) / 5);
        min-width: 0;
        padding: 0.58rem 0.3rem;
        border-radius: 14px;
        gap: 0.35rem;
        box-shadow: 0 6px 14px rgba(22, 50, 57, 0.08);
    }

    .highlight-pill__icon {
        width: 1.55rem;
        height: 1.55rem;
        border-radius: 10px;
        font-size: 0.74rem;
    }

    .highlight-pill span:last-child {
        font-size: 0.6rem;
        line-height: 1.15;
    }

    .stats-grid {
        margin-top: 1.15rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .stat-card {
        padding: 0.82rem 0.4rem;
    }

    .stat-card strong {
        font-size: 1.45rem;
    }

    .stat-card span {
        font-size: 0.7rem;
    }

    .filter-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.55rem;
        padding: 0.1rem 0.06rem 0.45rem;
        margin: 0 -0.06rem 0.95rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-row::-webkit-scrollbar {
        display: none;
    }

    .filter-row .chip {
        flex: 0 0 auto;
        min-height: 2.2rem;
        font-size: 0.83rem;
        padding: 0.45rem 0.85rem;
        border-radius: 999px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(7.2rem, 1fr));
        gap: 0.5rem;
    }

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

    .gallery-card {
        width: 100%;
        border-radius: 10px;
    }

    .gallery-card:nth-child(4n + 1) {
        grid-row: span 1;
    }

    .room-grid,
    .amenity-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84%, 92%);
        gap: 0.8rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .room-grid::-webkit-scrollbar,
    .amenity-grid::-webkit-scrollbar {
        display: none;
    }

    .room-card,
    .amenity-card {
        min-width: 0;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(15, 35, 39, 0.11);
    }

    .room-card {
        height: 30rem;
        max-height: 30rem;
    }

    .room-card__body,
    .room-card__actions,
    .amenity-card div {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .amenity-card {
        aspect-ratio: 16 / 10;
    }

    .amenity-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .room-card h3,
    .amenity-card h3 {
        font-size: 1.65rem;
    }

    .price-badge {
        font-size: 0.75rem;
        top: 0.7rem;
        right: 0.7rem;
        padding: 0.42rem 0.6rem;
    }

    .room-meta {
        margin-top: 0.5rem;
        gap: 0.55rem;
    }

    .room-card p,
    .amenity-card p {
        font-size: 0.88rem;
        line-height: 1.52;
    }

    .room-card p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .room-card__actions {
        padding-top: 0.2rem;
        padding-bottom: 1rem;
    }

    .room-card__actions .button {
        min-height: 2.75rem;
        font-size: 0.86rem;
        padding: 0.55rem 0.72rem;
    }

    .review-row {
        grid-auto-columns: minmax(82%, 88%);
    }

    .bottom-nav {
        padding: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .bottom-nav__item span {
        font-size: 0.6rem;
    }

    .bottom-nav__cta {
        width: 3rem;
        height: 3rem;
    }

    .nearby-grid {
        grid-template-columns: 1fr;
    }

    .review-score {
        justify-content: flex-start;
    }

    .site-footer__meta {
        justify-content: flex-start;
        gap: 0.5rem 0.9rem;
        font-size: 0.86rem;
    }

    .site-footer {
        padding: 2.6rem 0 6.7rem;
    }

    .site-footer__inner {
        gap: 0.85rem;
    }

    .site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem 0.85rem;
    }

    .auth-dialog__card {
        width: min(calc(100vw - 0.75rem), 28rem);
        border-radius: 18px;
        padding: 1.05rem;
    }

    .auth-pane h3 {
        font-size: 1.8rem;
    }

    .dashboard-list-table thead {
        display: none;
    }

    .dashboard-list-table,
    .dashboard-list-table tbody,
    .dashboard-list-table tr,
    .dashboard-list-table td {
        display: block;
        width: 100%;
    }

    .dashboard-list-table {
        min-width: 0 !important;
        font-size: 0.86rem;
    }

    .dashboard-list-table tbody {
        display: grid;
        gap: 0.85rem;
        padding: 0.7rem;
    }

    .dashboard-list-table tbody tr {
        border: 1px solid rgba(22, 50, 57, 0.12);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.8);
        padding: 0.8rem;
    }

    .dashboard-list-table td {
        border-top: 0 !important;
        padding: 0.35rem 0 !important;
        white-space: normal !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .dashboard-list-table td[data-label] {
        display: grid;
        grid-template-columns: minmax(5.8rem, 38%) 1fr;
        align-items: start;
        column-gap: 0.6rem;
    }

    .dashboard-list-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin: 0;
        padding-top: 0.1rem;
        color: var(--ink-soft);
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .dashboard-list-table td.dashboard-cell--stack {
        display: block;
    }

    .dashboard-list-table td.dashboard-cell--stack::before {
        margin-bottom: 0.2rem;
    }

    .dashboard-list-table td[colspan] {
        padding: 1rem 0 !important;
    }

    .dashboard-errors-filter-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-errors-filter-actions,
    .dashboard-pagination,
    .dashboard-detail-actions {
        flex-direction: column;
        align-items: stretch !important;
    }

    .dashboard-errors-filter-actions .button,
    .dashboard-pagination .button,
    .dashboard-detail-actions .button {
        width: 100%;
        margin: 0;
    }

    .dashboard-detail-top {
        margin-bottom: 1.2rem !important;
    }

    .dashboard-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .dashboard-detail-card {
        padding: 1rem !important;
    }

    .dashboard-success-toggle {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.7rem !important;
        padding: 1rem !important;
    }

    .dashboard-success-toggle>div {
        min-width: calc(50% - 0.35rem);
        flex: 1 1 calc(50% - 0.35rem);
    }

    .dashboard-success-toggle>div:first-child {
        flex-basis: 100%;
    }

    .dashboard-success-toggle>span {
        margin-left: auto;
    }

    .dashboard-success-breakdown-row {
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding-top: 5.4rem !important;
        padding-bottom: 5.7rem !important;
    }

    .dashboard-shell {
        gap: 1rem !important;
    }

    .dashboard-list-table tbody {
        padding: 0.55rem;
        gap: 0.7rem;
    }

    .dashboard-list-table tbody tr {
        padding: 0.7rem;
        border-radius: 14px;
    }

    .dashboard-list-table td[data-label]::before {
        font-size: 0.7rem;
    }

    .dashboard-success-toggle {
        gap: 0.55rem !important;
        padding: 0.85rem !important;
    }

    .dashboard-success-toggle>div {
        min-width: 100%;
        flex-basis: 100%;
    }

    .dashboard-success-details>div {
        padding: 1rem !important;
        gap: 1rem !important;
    }

    .faq-item summary {
        font-size: 1.05rem;
    }

    .date-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .mobile-topbar__inner {
        min-height: 3.5rem;
    }

    .mobile-topbar .brand__text {
        font-size: 1.05rem;
    }

    .section {
        padding: 2.6rem 0;
    }

    .hero {
        min-height: 31rem;
    }

    .hero__content {
        padding: 4.2rem 0 1.6rem;
    }

    .room-grid,
    .amenity-grid,
    .review-row {
        grid-auto-columns: minmax(92%, 96%);
    }

    .room-card {
        height: auto;
        max-height: none;
    }

    .room-card__actions {
        flex-direction: column;
    }

    .room-card__actions .button,
    .room-card__actions .button--secondary {
        width: 100%;
    }

    .room-dialog {
        max-width: calc(100% - 0.5rem);
    }

    .room-dialog__card {
        border-radius: 18px;
    }

    .dialog-close {
        width: 2.2rem;
        height: 2.2rem;
    }
}

@media (max-width: 360px) {
    .shell {
        width: min(calc(100% - 0.9rem), var(--shell));
    }

    .section h2 {
        font-size: clamp(1.7rem, 9vw, 2rem);
    }

    .hero h1 {
        font-size: clamp(1.9rem, 11vw, 2.3rem);
    }

    .bottom-nav {
        padding: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .bottom-nav__item span {
        font-size: 0.54rem;
    }

    .mobile-dashboard-nav {
        padding: 0.38rem 0.55rem 0.55rem;
        gap: 0.35rem;
    }

    .mobile-dashboard-nav a {
        font-size: 0.68rem;
        padding: 0.35rem 0.56rem;
    }
}