/* ============================================================
   WORRY-FREE LANDING  (/worry-free-shore-excursions)
   ------------------------------------------------------------
   Loaded after groups.css, groups-app.css and home.css (cruise
   search card), before faq-section.css. The page is built from
   the groups system (gp-*, shared.css hi-*) and the shared landing
   partials; this file only adds what they lack, scoped under
   .worryfree-page with the wf- prefix so nothing leaks elsewhere.

   Colours are existing tokens only: --blue-90 (navy text and
   cards), --blue-70 (eyebrows, links), --acent-50 (.main-button),
   --gp-gold (accent on navy only, never text on a light surface),
   --light-00/-10/-20, --dark-70/-80 and the hero navy #1d2846. Coral is kept for the
   cruiser's search; the advisors CTA uses .outline-button.
   ============================================================ */

.worryfree-page {
    --wf-navy: #1d2846;
    --wf-navy-sub: #C9D1E6; /* the navy-hero deck colour (.gp-hero-sub, breadcrumb) */
    --wf-hairline: rgba(41, 51, 88, 0.12); /* --blue-90 at 12% */
}

/* SHARED SECTION SHELL ------------------------------------- */

/* Sections run edge to edge; the 5% gutter sits on the 1200px content
   box, the same axis as the hero (.gp-hero-content-mod), so every
   section's text lines up with the H1 at any width. */
.worryfree-page .wf-section {
    padding: 88px 0;
}

.worryfree-page .wf-content {
    max-width: 1200px;
    padding: 0 5%;
}

.worryfree-page .wf-dark {
    background-color: var(--wf-navy);
}

.worryfree-page .wf-grey {
    background-color: var(--light-10);
}

.worryfree-page .wf-body {
    font-size: 17px;
    line-height: 1.65;
    color: var(--dark-80);
    margin: 0;
}

.worryfree-page .wf-dark-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--wf-navy-sub);
    max-width: 640px;
    margin: 0;
}

.worryfree-page .wf-lede {
    font-size: 17px;
    line-height: 1.6;
    color: var(--dark-80);
    max-width: 760px;
    margin: 0;
}

/* Section H2s: the design's ~40px Urbanist on this page's own bands
   and the shared steps / app partials. */
.worryfree-page .wf-section .gp-section-title,
.worryfree-page .wf-reviews .gp-section-title,
.worryfree-page .wf-steps .hi-title,
.worryfree-page .gp-app-headline {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0; /* the design drops the .h3 tracking */
}

/* Visually hidden, still read by screen readers. */
.worryfree-page .wf-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* HERO ---------------------------------------------------- */

/* Same construction as .gp-hero-luxury-mod: only the photo and the
   scrim stops change. The Faraglioni sit a third of the way down the
   photo, so it is anchored there rather than centred. */
.worryfree-page .gp-hero-worryfree-mod {
    background-image:
        linear-gradient(100deg,
            rgba(29, 40, 70, 0.92) 0%,
            rgba(29, 40, 70, 0.82) 38%,
            rgba(29, 40, 70, 0.5) 62%,
            rgba(29, 40, 70, 0.15) 88%),
        url('/content/new/images/worry-free/capri-boat-hero.webp'); /* same URL as the view's preload */
    background-size: cover;
    background-position: center 36%;
}

.worryfree-page .gp-hero-worryfree-mod .gp-hero-content-mod {
    padding-top: clamp(24px, 3vw, 36px);
    padding-bottom: clamp(40px, 5vw, 48px);
}

.worryfree-page .gp-hero-worryfree-mod h1 {
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    max-width: 640px;
}

/* Gold on navy, upright: the design sets the highlight in roman. */
.worryfree-page .gp-hero-worryfree-mod h1 em {
    font-style: normal;
}

.worryfree-page .gp-hero-worryfree-mod .gp-hero-sub {
    max-width: 600px;
    color: var(--light-00);
    opacity: 0.92;
}

.worryfree-page .wf-hero-eyebrow {
    margin: 48px 0 12px;
}

/* The stats are a list here: reset it and lay the four out as
   equal columns (2x2 on phones, below). */
.worryfree-page .wf-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 44px 0 0;
    padding: 0;
    border-top: 0;
    max-width: 840px;
}

.worryfree-page .wf-hero-stats li {
    margin: 0;
}

.worryfree-page .wf-hero-stats .gp-hero-stat-num {
    font-family: "Urbanist", sans-serif;
    font-size: 30px;
    line-height: 1.1;
}

.worryfree-page .wf-hero-stats .gp-hero-stat-label {
    color: rgba(255, 255, 255, 0.78);
}

/* OUR PROMISES (#promises) --------------------------------- */

/* Heading left, the four guarantees right as a 2x2 list. No cards:
   cells are split by hairlines, so every column is wide enough for a
   one-line title and comfortable measure, and uneven text lengths
   don't show as boxes of different heights. */
.worryfree-page .wf-promise-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
    gap: 64px;
    align-items: start;
}

.worryfree-page .wf-promises .gp-section-head {
    margin-bottom: 0;
}

.worryfree-page .wf-promise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.worryfree-page .wf-promise {
    margin: 0;
    padding: 0 40px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Right column: rule on its left edge. */
.worryfree-page .wf-promise:nth-child(even) {
    padding: 0 0 40px 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* Second row: rule across the top. */
.worryfree-page .wf-promise:nth-child(n+3) {
    padding-top: 40px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.worryfree-page .wf-promise-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gp-gold-dim);
    color: var(--gp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.worryfree-page .wf-promise-icon svg {
    width: 22px;
    height: 22px;
}

.worryfree-page .wf-promise-title {
    margin: 0;
    font-family: "Urbanist", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--light-00);
}

.worryfree-page .wf-promise-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--wf-navy-sub);
}

/* WHY CRUISERS CHOOSE US ----------------------------------- */

/* Head row: heading + intro left, the photo right (landscape). */
.worryfree-page .wf-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.worryfree-page .wf-why-copy .wf-body {
    margin-bottom: 0;
}

/* The six points at full width, 3 columns, each under a hairline (the
   rule language of the guarantees and "What if" lists). The wide
   columns keep each description to about two lines. */
.worryfree-page .wf-why-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
}

.worryfree-page .wf-why-points li {
    margin: 0;
    padding: 24px 0 28px;
    border-top: 1px solid var(--wf-hairline);
}

.worryfree-page .wf-why-points h3 {
    margin: 0 0 6px;
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue-90);
}

.worryfree-page .wf-why-points p,
.worryfree-page .wf-change p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-80);
}

.worryfree-page .wf-why-media {
    margin: 0;
}

/* Landscape crop held on the guest and the stingray (the guest sits
   right of centre in the 4:3 source). */
.worryfree-page .wf-why-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 62% 45%;
    border-radius: 16px;
}

/* HOW WE KEEP EVERY TOUR ON SCHEDULE (_ProcessSteps) ------- */

/* The shared blue stepper (circles, connector) unchanged; this only
   sets the band and the room between wrapped rows. White, so it reads
   apart from the grey "What if" band above and the navy support band
   below; the mid-page CTA continues the same band. */
.worryfree-page .wf-steps {
    background-color: var(--light-00);
    padding: 88px 5% 40px;
}

.worryfree-page .wf-steps-cta {
    background-color: var(--light-00);
    padding: 0 0 88px;
}

.worryfree-page .wf-steps-cta .wf-content {
    align-items: center;
}

.worryfree-page .wf-steps .hi-steps-mod {
    row-gap: 36px;
}

/* WHAT IF SOMETHING CHANGES -------------------------------- */

.worryfree-page .wf-changes .gp-section-head {
    margin-bottom: 40px;
}

/* "If this happens -> what we do": one row per situation, split by
   hairlines. The reader scans the left column for their case and reads
   across to the answer. Answers, not links: no hover, no pointer. */
.worryfree-page .wf-change-list {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--wf-hairline);
}

.worryfree-page .wf-change {
    margin: 0;
    padding: 28px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.35fr);
    column-gap: 16px;
    align-items: start;
    border-bottom: 1px solid var(--wf-hairline);
}

.worryfree-page .wf-change h3 {
    margin: 0;
    font-family: "Urbanist", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue-90);
}

.worryfree-page .wf-change-arrow {
    color: var(--blue-70);
    display: flex;
    justify-content: center;
    padding-top: 3px;
}

.worryfree-page .wf-change-arrow svg {
    width: 22px;
    height: 22px;
}

.worryfree-page .wf-change p {
    font-size: 16px;
    line-height: 1.65;
    padding-top: 2px;
}

/* REVIEWS ------------------------------------------------- */

.worryfree-page .wf-reviews {
    background-color: var(--light-00);
    padding: 88px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.worryfree-page .wf-reviews > .flex-content {
    width: 100%;
}

.worryfree-page .wf-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.worryfree-page .wf-reviews-copy {
    max-width: 680px;
}

.worryfree-page .wf-score {
    flex: 0 0 auto;
    min-width: 190px;
    padding: 24px 28px;
    border-radius: 14px;
    background: var(--blue-90); /* navy badge, as the guarantees band: the anchor of the section */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.worryfree-page .wf-score-num {
    margin: 0;
    font-family: "Urbanist", sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--light-00);
}

/* The star is decorative (the number and the aria-label carry the
   rating); gold only appears here because the badge is navy. */
.worryfree-page .wf-score-star {
    margin-left: 2px;
    color: var(--gp-gold);
}

.worryfree-page .wf-score-label {
    margin: 0;
    font-size: 14px;
    color: var(--wf-navy-sub);
}

.worryfree-page .wf-score-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: var(--light-00);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.worryfree-page .wf-score-link:hover {
    color: var(--light-00);
    text-decoration-color: var(--light-00);
}

.worryfree-page .wf-score-link:focus-visible {
    outline: 2px solid var(--light-00);
    outline-offset: 2px;
}

/* The shared Trustpilot slider section sits inside this band. */
.worryfree-page .wf-reviews > .flex-container {
    width: 100%;
    margin-top: 16px;
}

/* Put the slider on the same 1200px / 5% axis as the heading above. */
.worryfree-page .wf-reviews > .flex-container > .flex-content {
    max-width: 1200px;
    padding-left: 5%;
    padding-right: 5%;
}

/* PRESS --------------------------------------------------- */

/* A closing row of the reviews band, under a hairline: one block of
   proof instead of a separate tinted strip. */
.worryfree-page .wf-press {
    width: 100%;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--wf-hairline);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.worryfree-page .wf-press-label {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-70);
}

.worryfree-page .wf-press-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Names as set text (no logos, not links), split by hairlines. */
.worryfree-page .wf-press-list li {
    margin: 0;
    padding: 0 22px;
    font-family: "Urbanist", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue-90);
}

.worryfree-page .wf-press-list li + li {
    border-left: 1px solid rgba(41, 51, 88, 0.2);
}

/* SUPPORT & SECURE BOOKING (_GroupsApp) -------------------- */

/* Navy like #promises, on the hero's 1200px axis; the headline runs
   on one line on desktop. */
.worryfree-page .gp-app-container-mod {
    background-color: var(--wf-navy);
}

.worryfree-page .gp-app-content-mod {
    max-width: 1200px;
}

.worryfree-page .gp-app-headline {
    max-width: none;
}

.worryfree-page .gp-app-benefit-text span {
    color: var(--wf-navy-sub);
    font-weight: 400;
    overflow-wrap: anywhere; /* the support address in "Easy changes" */
}

/* FOR TRAVEL ADVISORS ------------------------------------- */

/* Open white band, no card (it read as an inserted ad and as one more
   FAQ card). Same build as the guarantees: copy + CTA left, the four
   benefits right as a 2x2 list split by hairlines. */
.worryfree-page .wf-advisors {
    background-color: var(--light-00);
}

/* Wider copy column than the guarantees (this H2 is longer), and the
   two columns centred on each other so neither leaves a gap below. */
.worryfree-page .wf-advisor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr);
    gap: 64px;
    align-items: center;
}

.worryfree-page .wf-advisor-copy .gp-section-title {
    margin-bottom: 16px;
}

.worryfree-page .wf-advisor-cta {
    margin-top: 28px;
}

.worryfree-page .wf-advisor-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.worryfree-page .wf-advisor-points li {
    margin: 0;
    padding: 0 40px 36px 0;
}

.worryfree-page .wf-advisor-points li:nth-child(even) {
    padding: 0 0 36px 40px;
    border-left: 1px solid var(--wf-hairline);
}

.worryfree-page .wf-advisor-points li:nth-child(n+3) {
    padding-top: 36px;
    padding-bottom: 0;
    border-top: 1px solid var(--wf-hairline);
}

.worryfree-page .wf-advisor-points h3 {
    margin: 0 0 8px;
    font-family: "Urbanist", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue-90);
}

.worryfree-page .wf-advisor-points p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--dark-80);
}

.worryfree-page .wf-advisor-points a {
    color: var(--blue-70);
    text-decoration: underline;
    text-underline-offset: 3px;
    /* The address breaks only if a screen is narrower than it. */
    overflow-wrap: anywhere;
}

.worryfree-page .wf-advisor-points a:hover {
    color: var(--blue-90);
}

.worryfree-page .wf-advisor-points a:focus-visible {
    outline: 2px solid var(--blue-70);
    outline-offset: 2px;
}

/* FINAL CTA (#find) ---------------------------------------- */

.worryfree-page .wf-cta {
    background-color: var(--blue-90);
    padding: 64px 0;
}

.worryfree-page .wf-cta-head {
    margin-bottom: 24px;
}

.worryfree-page .wf-cta-title {
    margin: 0 0 8px;
    text-wrap: balance; /* breaks after "explore," rather than inside "worry-free" */
    font-family: "Urbanist", sans-serif;
    letter-spacing: 0;
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--light-00);
}

.worryfree-page .wf-cta-sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--wf-navy-sub);
}

/* The homepage hero's search bar (home.css #excursions), full width
   of the band. Its selects get a 48px row on this page. */
.worryfree-page .wf-find-card {
    max-width: 1000px;
}

.worryfree-page .wf-find-card #excursions .hs-select-mod {
    min-height: 48px;
}

.worryfree-page .wf-find-card #find-excursions:focus-visible,
.worryfree-page .wf-find-card .hs-select-mod:focus-visible {
    outline: 3px solid var(--gp-gold);
    outline-offset: 2px;
}

/* RESPONSIVE ---------------------------------------------- */

@media screen and (max-width: 1200px) {
    /* Beside the copy, a benefit column gets narrower than the agent
       email below this width, so the list moves under the copy. */
    .worryfree-page .wf-advisor-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 1024px) {
    /* Heading on top, the 2x2 list below at full width. */
    .worryfree-page .wf-promise-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .worryfree-page .wf-why-grid {
        gap: 40px;
    }

    /* Copy on top, the 2x2 benefits below at full width. */
    .worryfree-page .wf-why-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    /* Four press names no longer fit one row: a 2x2 grid without the
       dividers, so no row starts with a stray rule. */
    .worryfree-page .wf-press-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 8px;
    }

    .worryfree-page .wf-press-list li + li {
        border-left: 0;
    }

    /* The app shot takes a column here; one benefit per row keeps the
       copy readable. */
    .worryfree-page .gp-app-benefits {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* The copy spans the full width here, so the scrim has to as well. */
    .worryfree-page .gp-hero-worryfree-mod {
        background-image:
            linear-gradient(100deg,
                rgba(29, 40, 70, 0.92) 0%,
                rgba(29, 40, 70, 0.84) 55%,
                rgba(29, 40, 70, 0.66) 100%),
            url('/content/new/images/worry-free/capri-boat-hero.webp');
    }

    .worryfree-page .wf-hero-eyebrow {
        margin-top: 28px;
    }

    .worryfree-page .wf-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
        margin-top: 32px;
    }

    .worryfree-page .wf-section {
        padding: 56px 0;
    }

    .worryfree-page .wf-steps {
        padding: 56px 5% 32px;
    }

    .worryfree-page .wf-steps-cta {
        padding-bottom: 56px;
    }

    .worryfree-page .wf-reviews {
        padding: 56px 0;
    }

    .worryfree-page .wf-press {
        margin-top: 28px;
        padding-top: 28px;
    }

    .worryfree-page .hfq-container-mod {
        padding: 56px 5%;
    }

    .worryfree-page .wf-why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .worryfree-page .wf-why-img {
        aspect-ratio: 4 / 3;
    }

    .worryfree-page .wf-why-points {
        margin-top: 40px;
    }

    .worryfree-page .wf-reviews-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .worryfree-page .wf-press-list li {
        font-size: 18px;
        padding: 0 14px;
    }

    .worryfree-page .wf-cta {
        padding: 48px 0;
    }
}

@media screen and (max-width: 640px) {
    .worryfree-page .wf-why-points {
        grid-template-columns: 1fr;
    }

    .worryfree-page .wf-why-points li {
        padding: 20px 0 22px;
    }

    /* One column: no vertical rule, a hairline between every item. */
    .worryfree-page .wf-promise-grid {
        grid-template-columns: 1fr;
    }

    .worryfree-page .wf-advisor-points {
        grid-template-columns: 1fr;
    }

    .worryfree-page .wf-promise,
    .worryfree-page .wf-promise:nth-child(even),
    .worryfree-page .wf-promise:nth-child(n+3) {
        padding: 28px 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .worryfree-page .wf-promise:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .worryfree-page .wf-promise:last-child {
        padding-bottom: 0;
    }

    .worryfree-page .wf-advisor-points li,
    .worryfree-page .wf-advisor-points li:nth-child(even),
    .worryfree-page .wf-advisor-points li:nth-child(n+3) {
        padding: 24px 0;
        border-left: 0;
        border-top: 1px solid var(--wf-hairline);
    }

    .worryfree-page .wf-advisor-points li:last-child {
        padding-bottom: 0;
    }

    /* Stacked, one name per line. */
    .worryfree-page .wf-press-list {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }
}

@media screen and (max-width: 540px) {
    .worryfree-page .wf-hero-stats .gp-hero-stat-num {
        font-size: 26px;
    }

    /* Situation on top, the arrow turned down, the answer below. */
    .worryfree-page .wf-change {
        grid-template-columns: 1fr;
        row-gap: 6px;
        padding: 22px 0;
    }

    .worryfree-page .wf-change h3 {
        font-size: 19px;
    }

    .worryfree-page .wf-change-arrow {
        justify-content: flex-start;
        padding-top: 0;
    }

    .worryfree-page .wf-change-arrow svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    .worryfree-page .wf-change p {
        font-size: 15px;
        padding-top: 0;
    }
}
