/* ==========================================================================
   Wide screens: laptops and desktops.
   The site was designed as a 720px phone column, so on a laptop it floated in
   the middle of a big photo with two empty sides. From 1024px the same
   sections become a two-column landscape page: brand band and greeting side by
   side, then cards two at a time, a wide photo wall, and the wide sections
   (photos, pickup, reviews, contact, footer) using the full width.
   Nothing is added, removed or duplicated: same markup, same content, same
   glass cards, same tones and photos, only rearranged.
   ========================================================================== */

@media (min-width: 1024px) {
    body { font-size: 16px; }

    .page {
        max-width: min(1180px, 94vw);
        padding: 62px 22px 48px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
    }

    /* the floating menu button and its panel follow the viewport, not the column */
    .page > .nt-menu-btn { inset-inline-end: max(18px, calc((100vw - min(1180px, 94vw)) / 2 - 42px)); top: 14px; }
    .page > dialog.nt-menu { inset-inline-end: max(18px, calc((100vw - min(1180px, 94vw)) / 2 - 42px)); top: 58px; }

    /* ---- hero row: brand band | greeting ---- */
    .nt-brand {
        margin: 0;
        align-self: stretch;
        min-height: clamp(280px, 24vw, 350px);
        padding: 34px 32px 30px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .nt-brand-name { font-size: clamp(40px, 3.4vw, 54px); }
    .nt-brand-accent { margin: 14px 0; }
    .nt-brand-tag { font-size: 15.5px; }

    .nt-hello {
        margin: 0;
        align-self: stretch;
        padding: 26px 28px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .nt-langs { justify-content: flex-start; margin-bottom: 18px; }
    .intro { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.16; margin-bottom: 12px; }
    .intro-lead { font-size: 16px; line-height: 1.65; max-width: 48ch; margin-bottom: 18px; }
    .nt-chips { gap: 10px; }
    .nt-chip { font-size: 13px; padding: 10px 12px; }

    .nt-ticker { grid-column: 1 / -1; margin: 0; }

    /* ---- cards two at a time ---- */
    .nt-card { margin: 0; padding: 24px; }
    .group-label { font-size: 13px; margin-bottom: 12px; }

    #nt-about { grid-column: 1; align-self: stretch; }
    #nt-stats { grid-column: 2; margin: 0; gap: 14px; align-items: stretch; align-self: stretch; }
    /* stat cards: number and label sit centred in the card, not pinned to the top */
    .nt-stat { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
    /* the photo-wall caption is light grey over a bright water photo: give it a readable pill */
    .caption[data-k="photoCaption"] { background: rgba(8,38,50,.72); color: #f2fbff; font-weight: 600;
        padding: 6px 14px; border-radius: 999px; width: max-content; max-width: 100%; margin: 10px auto 0; }

    /* ---- photo wall: 2x2 mosaic next to the reef video ---- */
    #nt-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 22px; align-items: start; }
    #nt-photos > .group-label, #nt-photos > .caption { grid-column: 1 / -1; margin-bottom: 0; }
    #nt-photos > .caption { margin-top: 0; }
    #nt-photos > .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; padding: 0; }
    #nt-photos > .photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    #nt-photos > .nt-reef { margin: 0; height: 100%; align-self: stretch; }
    #nt-photos > .nt-reef .nt-reef-video { height: 100%; aspect-ratio: auto; min-height: 240px; }

    /* ---- services and trips: grids instead of swipe carousels ---- */
    #nt-services .rows, #nt-trips .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    #nt-services .rows.carousel, #nt-trips .rows.carousel { display: grid; overflow: visible; padding: 0; }
    #nt-services .rows .trip-card, #nt-trips .rows .trip-card { margin-bottom: 0; }
    #nt-services .rows .trip-card img, #nt-trips .rows .trip-card img { height: 170px; }
    #servicesNav, #tripsNav { display: none !important; }

    /* ---- pickup places across the width, three chips per row ---- */
    #nt-pickup { grid-column: 1 / -1; }
    #nt-pickup .nt-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

    /* ---- how it works: steps stacked in its half column ---- */
    #nt-how .rows { grid-template-columns: 1fr; gap: 14px; }

    /* ---- cards side by side fill the row, so a short card leaves no hole ---- */
    #nt-services, #nt-trips, #nt-how, #nt-book { align-self: stretch; }
    /* the email field gets the full width, the button sits with it */
    #nt-book .field:has(#f-email) { grid-column: 1 / -1; }

    /* ---- booking form: two fields per row ---- */
    #nt-book .nt-panel { padding: 24px; }
    #nt-book .nt-panel form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
    #nt-book .nt-actions, #nt-book .caption, #nt-book .form-status { grid-column: 1 / -1; }

    /* ---- reviews: rating and slider left, the form right ---- */
    #nt-reviews { grid-column: 1 / -1; }
    #nt-reviews .nt-panel {
        padding: 24px;
        grid-template-columns: 1.05fr 0.95fr;
        grid-template-areas:
            "head form"
            "slider form"
            "dots form"
            "all form";
        gap: 10px 26px;
        align-items: start;
    }
    #nt-reviews .nt-panel:has(#reviewSlider[hidden]) {
        grid-template-columns: 1fr;
        grid-template-areas: "head" "form";
    }
    #ratingHead { grid-area: head; }
    #reviewSlider { grid-area: slider; }
    #reviewDots { grid-area: dots; }
    #seeAllReviews { grid-area: all; justify-self: start; }
    #reviewForm { grid-area: form; }

    /* ---- contact: WhatsApp on its own line, channels three across ---- */
    #nt-contact { grid-column: 1 / -1; }
    #nt-contact > .nt-wa-btn { margin: 0 0 14px; max-width: 460px; }
    #nt-contact > .nt-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
    #nt-contact > .nt-channel-wide { grid-column: auto; }

    /* ---- footer and closing line across the width ---- */
    .nt-footer { grid-column: 1 / -1; margin-top: 0; }
    .closing { grid-column: 1 / -1; max-width: none; margin: 0 auto; }
}

/* Extra room on big monitors */
@media (min-width: 1440px) {
    .page { max-width: min(1320px, 92vw); gap: 22px; padding: 66px 26px 56px; }
    .page > .nt-menu-btn, .page > dialog.nt-menu { inset-inline-end: max(22px, calc((100vw - min(1320px, 92vw)) / 2 - 46px)); }
    .nt-card { padding: 28px; }
    #nt-services .rows .trip-card img, #nt-trips .rows .trip-card img { height: 190px; }
    #nt-photos > .nt-reef .nt-reef-video { min-height: 280px; }
}
