@media (max-width: 1024px) {
    .concern-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantee,
    .duty-layout,
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .guarantee:nth-of-type(even) .guarantee-media {
        order: 0;
    }

    .duty-layout h2,
    .duty-layout .section-kicker,
    .duty-layout .section-lead,
    .booking-copy h2,
    .booking-copy .section-kicker,
    .booking-copy .section-lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1100px) {
    .logo-image {
        height: 80px;
    }

    .site-nav a {
        padding: 10px 14px;
        font-size: 16px;
    }
}

@media (max-width: 859px) {
    :root {
        --header-offset: 92px;
    }

    .site-header-bar {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        align-items: center;
        width: 100%;
        min-height: 0;
        padding: 6px 12px;
        box-sizing: border-box;
    }

    .logo {
        position: static;
        transform: none;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: center;
        min-width: 0;
        max-width: 100%;
    }

    .logo-image {
        width: auto;
        height: 72px;
        max-width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(120, 100, 70, 0.28);
        border-radius: 14px;
        background: transparent;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        align-self: stretch;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        margin: 0;
        padding: 6px 4px 12px;
        box-sizing: border-box;
    }

    .site-header.is-open {
        position: fixed;
        inset: 0;
        z-index: 40;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        background: var(--paper);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 0;
        box-shadow: none;
    }

    .site-header.is-open .site-nav {
        display: flex;
        min-height: calc(100dvh - 96px);
        background: var(--paper);
    }

    .site-nav a {
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        padding: 14px 16px;
        border-radius: 14px;
        border: 1px solid rgba(140, 120, 90, 0.28);
        border-bottom: 1px solid rgba(140, 120, 90, 0.28);
        background: transparent;
        font-size: 16px;
    }

    .site-nav a:hover {
        background: rgba(212, 175, 99, 0.16);
        border-color: rgba(196, 165, 116, 0.7);
        color: var(--ink);
    }

    .nav-cta {
        margin-top: 0;
        text-align: center;
        border-bottom: 0;
    }

    .site-nav a[aria-current="page"] {
        border-bottom: 0;
    }

    .hero-viewport {
        aspect-ratio: auto;
    }

    .hero-track,
    .hero-slide {
        height: auto;
        min-height: 0;
    }

    .hero-slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .section.promises {
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        top: auto;
        bottom: 14px;
        left: 0;
        right: 0;
        justify-content: center;
    }

    .vehicle-grid,
    .price-grid,
    .reason-grid,
    .booking-form {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .section.booking {
        padding-top: 12px;
    }

    .book-float {
        position: fixed;
        left: auto;
        right: 16px;
        bottom: calc(48px + env(safe-area-inset-bottom));
        z-index: 26;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 52px;
        height: auto;
        padding: 10px 0 14px;
        border-radius: 999px;
        background: var(--green);
        color: #1a140c;
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
        box-shadow: 0 14px 28px rgba(22, 48, 42, 0.28);
    }

    .book-float span {
        writing-mode: vertical-rl;
        letter-spacing: 0.22em;
        line-height: 1;
    }

    .line-float {
        right: 16px;
        bottom: calc(208px + env(safe-area-inset-bottom));
        width: auto;
        height: auto;
        padding: 12px 16px;
        box-shadow: var(--shadow);
    }

    .line-float-label {
        display: inline;
    }

    .line-float-mark {
        display: none;
    }

    .to-top {
        right: 16px;
        bottom: calc(272px + env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .container {
        width: min(var(--container), calc(100% - 40px));
    }
}

@media (max-width: 640px) {
    body:has(.line-float) {
        padding-bottom: 0;
    }

    .concern-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: none;
    }

    .site-footer {
        margin-top: auto;
        padding-top: 0;
    }

    .footer-bottom {
        margin-top: 0;
        padding: 20px 16px 22px;
        text-align: center;
    }

    .line-float {
        left: auto;
        right: 16px;
        bottom: calc(208px + env(safe-area-inset-bottom));
        width: 52px;
        height: 52px;
        padding: 0;
    }

    .line-float-label {
        display: none;
    }

    .line-float-mark {
        display: block;
        width: 28px;
        height: 28px;
    }

    .to-top {
        right: 16px;
        bottom: calc(272px + env(safe-area-inset-bottom));
    }
}
