/* ============================================================
   Lucky Rose Massage
   Ground: dusty-rose cream · Ink: espresso · Accent: deep rose
   Type: EB Garamond (display/body) + Jost (letterspaced caps)
   ============================================================ */

:root {
    --lr-bg: #e9d9d1;
    --lr-surface: #f7efe9;
    --lr-ink: #392b26;
    --lr-muted: #7d6458;
    --lr-rose: #96444a;
    --lr-rose-deep: #7a3237;
    --lr-rose-soft: #dcaf9f;
    --lr-cream-text: #f3e6de;
    --lr-dark: #352723;
    --lr-line: rgba(87, 61, 51, .25);
    --lr-shadow: 0 14px 34px rgba(63, 36, 28, .14);
}

html {
    /* All type is rem-based; raising the root size scales every font on the site */
    font-size: 106.25%;
    scroll-behavior: smooth;
}

body {
    font-family: "EB Garamond", Georgia, "Times New Roman", serif;
    background-color: var(--lr-bg);
    color: var(--lr-ink);
    font-size: 1.0625rem;
    line-height: 1.65;
}

a {
    color: var(--lr-rose);
}

:focus-visible {
    outline: 2px solid var(--lr-rose);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- Fixed header: transparent over hero, cream once scrolled --- */

html:not([data-scroll='0']) .imgdark {
    display: block !important;
}

html:not([data-scroll='0']) .imglight {
    display: none !important;
}

html:not([data-scroll='0']) .headerbg {
    background-color: var(--lr-bg);
    box-shadow: 0 1px 0 var(--lr-line);
}

.imgdark {
    display: none;
}

.imglight {
    display: block;
}

.headerbg {
    background-color: transparent;
}

.tis {
    transition-behavior: normal, normal;
    transition-duration: 300ms, 0ms;
    transition-timing-function: ease-in-out, ease;
    transition-delay: 0s, 0s;
    transition-property: all, margin-top;
}

.notis {
    transition: none;
}

/* --- Hero --- */

.firstcontainer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding-top: 9rem;
    padding-bottom: 2.5rem;
    background-image: url('../img/bg2.webp');
    background-position: center top;
    background-size: cover;
}

/* Legibility scrim on top, dissolving into the page ground below.
   No stacking context on .firstcontainer itself: the fixed header inside
   must keep its global z-index above the page content. */
.firstcontainer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to bottom,
        rgba(26, 13, 10, .32) 0%,
        rgba(26, 13, 10, .10) 45%,
        rgba(233, 217, 209, 0) 82%,
        var(--lr-bg) 100%);
}

.firstcontainer > *:not(.fixed-top) {
    position: relative;
    z-index: 1;
}

.slogan {
    color: var(--lr-cream-text);
}

.hero-eyebrow {
    font-family: "Jost", sans-serif;
    font-size: .74rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--lr-rose-soft);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.7rem, 6vw, 4.2rem);
    font-weight: 500;
    letter-spacing: .01em;
    text-shadow: 0 2px 30px rgba(15, 6, 4, .45);
}

.hero-slogan {
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
    color: #eeddd1;
    text-shadow: 0 1px 18px rgba(15, 6, 4, .45);
}

/* Hero entrance: children fade-rise in sequence via --d delay */
@keyframes lr-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-fade {
    opacity: 0;
    animation: lr-rise .9s cubic-bezier(.22, .61, .36, 1) forwards;
    animation-delay: var(--d, 0s);
}

/* --- Buttons --- */

.btn-lr,
.btn-lr-ghost,
.btn-lr-rose,
.btn-lr-outline {
    font-family: "Jost", sans-serif;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: .85rem 1.8rem .75rem;
    border-radius: 999px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.btn-lr {
    background-color: var(--lr-cream-text);
    border: 1px solid var(--lr-cream-text);
    color: var(--lr-ink);
}

.btn-lr:hover, .btn-lr:focus-visible {
    background-color: transparent;
    border-color: var(--lr-cream-text);
    color: var(--lr-cream-text);
}

.btn-lr-ghost {
    background-color: transparent;
    border: 1px solid rgba(243, 230, 222, .8);
    color: var(--lr-cream-text);
}

.btn-lr-ghost:hover, .btn-lr-ghost:focus-visible {
    background-color: var(--lr-cream-text);
    border-color: var(--lr-cream-text);
    color: var(--lr-ink);
}

.btn-lr-rose {
    background-color: var(--lr-rose);
    border: 1px solid var(--lr-rose);
    color: var(--lr-surface);
}

.btn-lr-rose:hover, .btn-lr-rose:focus-visible {
    background-color: var(--lr-rose-deep);
    border-color: var(--lr-rose-deep);
    color: var(--lr-surface);
}

/* Quiet navigation button for light sections — rose is reserved for booking */
.btn-lr-outline {
    background-color: transparent;
    border: 1px solid var(--lr-muted);
    color: var(--lr-ink);
}

.btn-lr-outline:hover, .btn-lr-outline:focus-visible {
    background-color: var(--lr-ink);
    border-color: var(--lr-ink);
    color: var(--lr-cream-text);
}

/* --- Hero info columns (contact / hours / location) --- */

.hero-info-col {
    text-align: center;
    color: #efdfd4;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.hero-info-col a {
    color: #efdfd4;
    text-decoration: none;
    transition: color .25s ease;
}

.hero-info-col a:hover {
    color: var(--lr-rose-soft);
}

.hero-info-title {
    font-family: "Jost", sans-serif;
    font-size: .68rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--lr-rose-soft);
    margin-bottom: .5rem;
}

.hero-info-text {
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 0;
    text-shadow: 0 1px 14px rgba(15, 6, 4, .4);
}

@media (min-width: 576px) {
    .hero-info-col + .hero-info-col {
        border-left: 1px solid rgba(243, 230, 222, .28);
    }
}

.hero-cta-note {
    text-align: center;
    color: rgba(243, 230, 222, .78);
    font-size: .95rem;
    font-style: italic;
    margin: .9rem 0 0;
    text-shadow: 0 1px 14px rgba(15, 6, 4, .4);
}

.hero-social img {
    transition: transform .3s ease;
}

.hero-social a:hover img {
    transform: translateY(-3px);
}

/* --- Scroll cue --- */

@keyframes lr-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(9px);
    }
}

.scroll-cue {
    display: block;
    width: fit-content;
    margin: 1.75rem auto 0;
    color: var(--lr-cream-text);
    opacity: .8;
    animation: lr-float 2.8s ease-in-out infinite;
}

.scroll-cue:hover {
    color: #fff;
}

/* --- Sections --- */

.lr-section {
    padding-top: clamp(3.5rem, 8vw, 5.5rem);
    scroll-margin-top: 130px;
}

.eyebrow {
    font-family: "Jost", sans-serif;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--lr-rose);
    margin-bottom: .4rem;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(1.8rem, 4vw, 2.75rem);
}

.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 500;
    margin: 0 0 .9rem;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    color: var(--lr-rose);
}

.ornament::before,
.ornament::after {
    content: "";
    width: 62px;
    height: 1px;
    background: var(--lr-line);
}

.ornament svg {
    width: 26px;
    height: 26px;
}

.lead-text {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.75;
}

/* --- Feature row --- */

.feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.25rem 2.5rem;
}

.feature {
    width: 168px;
    text-align: center;
}

.feature-icon {
    width: 108px;
    height: 108px;
    margin: 0 auto .9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lr-surface);
    border: 1px solid var(--lr-line);
    transition: transform .35s ease, box-shadow .35s ease;
}

.feature:hover .feature-icon {
    transform: translateY(-4px);
    box-shadow: var(--lr-shadow);
}

.feature-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.feature-label {
    font-size: .95rem;
    line-height: 1.45;
    color: var(--lr-muted);
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .feature-row {
        gap: 1.6rem 1rem;
    }

    .feature {
        width: 150px;
    }

    .feature-icon {
        width: 92px;
        height: 92px;
    }

    .feature-icon img {
        width: 60px;
        height: 60px;
    }
}

/* --- Photo slider --- */

.slider-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--lr-line);
    box-shadow: var(--lr-shadow);
    /* prevents the slider's transform-zoomed images from spilling out of the radius */
    transform: translateZ(0);
}

/* --- Menu cards --- */

.menu-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--lr-surface);
    border: 1px solid var(--lr-line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lr-shadow);
}

.menu-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.menu-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.menu-card:hover .menu-card-media img {
    transform: scale(1.05);
}

.menu-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.5rem 1.45rem;
}

.menu-card-title {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.menu-card-desc {
    color: var(--lr-muted);
    font-size: .98rem;
    margin-bottom: .5rem;
}

/* Dotted-leader price rows, like a printed menu */
.price-list {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
}

.price-list li {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    padding: .34rem 0;
}

.price-duration {
    font-family: "Jost", sans-serif;
    font-size: .74rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lr-muted);
    white-space: nowrap;
}

.price-leader {
    flex: 1;
    border-bottom: 1px dotted var(--lr-line);
    transform: translateY(-4px);
}

.price-amount {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--lr-rose);
    white-space: nowrap;
}

/* --- Signature package spotlight --- */

.package-card {
    position: relative;
    overflow: hidden;
    background: var(--lr-dark);
    color: #efdfd4;
    border-radius: 20px;
    padding: clamp(1.9rem, 4.5vw, 3.25rem);
    box-shadow: var(--lr-shadow);
}

.package-card .eyebrow {
    color: var(--lr-rose-soft);
}

.package-title {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 500;
    color: #f8ece1;
    margin: 0 0 .9rem;
}

.package-parts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.6rem;
    padding: 0;
    margin: 0 0 1.4rem;
    font-size: 1.05rem;
}

.package-parts li {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.package-parts li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lr-rose-soft);
    flex-shrink: 0;
}

.package-card .price-list {
    max-width: 430px;
    padding-top: 0;
}

.package-card .price-duration {
    color: #cdb3a4;
}

.package-card .price-leader {
    border-color: rgba(239, 223, 212, .35);
}

.package-card .price-amount {
    color: var(--lr-rose-soft);
    font-size: 1.35rem;
}

.package-rose {
    position: absolute;
    right: -55px;
    bottom: -65px;
    width: 280px;
    height: 280px;
    color: rgba(239, 223, 212, .08);
    pointer-events: none;
}

.package-rose svg {
    width: 100%;
    height: 100%;
}

/* --- Menu sheet (full menu page): two-column print-menu spread --- */

.menu-sheet {
    max-width: 940px;
    margin-inline: auto;
    background: var(--lr-surface);
    border: 1px solid var(--lr-line);
    border-radius: 20px;
    padding: clamp(1.4rem, 4vw, 2.75rem) clamp(1.2rem, 4vw, 3.25rem);
    box-shadow: var(--lr-shadow);
}

.menu-entry {
    padding: 1rem 0;
    border-top: 1px solid var(--lr-line);
}

.menu-entry:first-child {
    border-top: 0;
    padding-top: 0;
}

/* Two shared-row columns: entries read down each column, and rows (and their
   separator rules) stay aligned across the spread. --menu-rows is set inline
   to ceil(item count / 2). */
@media (min-width: 768px) {
    .menu-sheet-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(var(--menu-rows, 12), auto);
        grid-auto-flow: column;
        column-gap: clamp(2.5rem, 5vw, 4rem);
        /* continuous center rule, independent of row heights */
        background: linear-gradient(var(--lr-line), var(--lr-line)) center top / 1px 100% no-repeat;
    }

    /* first entry of the right column: no separator above (must come after
       the .menu-entry base rule — equal specificity, source order decides) */
    .menu-entry-coltop {
        border-top: 0;
        padding-top: 0;
    }
}

.menu-entry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.menu-entry .price-list {
    margin-top: .15rem;
}

.menu-entry .price-list li {
    padding: .18rem 0;
}

.menu-entry .price-amount {
    font-size: 1.02rem;
}

/* --- Package tiles (full menu page): light cards --- */

.package-tile {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--lr-surface);
    border: 1px solid var(--lr-line);
    border-radius: 18px;
    padding: 1.6rem 1.7rem 1.5rem;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}

.package-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--lr-shadow);
}

.package-tile-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.package-tile .package-parts {
    flex-direction: column;
    gap: .3rem;
    margin-bottom: 1rem;
    color: var(--lr-muted);
    font-size: 1rem;
}

.package-tile .package-parts li::before {
    background: var(--lr-rose);
    opacity: .55;
}

.package-tile .price-list {
    margin-top: auto;
    padding-top: .6rem;
}

/* --- Hotel service: lamplit night panel + travelling therapist --- */

.hotel-hero {
    position: relative;
    overflow: hidden;
    /* bedside-lamp glow, top left, over the dark spotlight ground */
    background:
        radial-gradient(85% 75% at 16% -5%, rgba(220, 175, 159, .17), transparent 62%),
        var(--lr-dark);
    color: #efdfd4;
    border-radius: 22px;
    padding: clamp(2.6rem, 6vw, 4.75rem) clamp(1.4rem, 5vw, 4rem);
    box-shadow: var(--lr-shadow);
    text-align: center;
}

.hotel-hero .eyebrow {
    color: var(--lr-rose-soft);
    margin-bottom: 1rem;
}

.hotel-hero-title {
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.05rem, 4.6vw, 3.2rem);
    color: #f8ece1;
    margin: 0 0 1.15rem;
}

.hotel-hero-lead {
    max-width: 33em;
    margin: 0 auto 2rem;
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    color: #dcc7b9;
}

.hotel-hero .package-rose {
    right: -70px;
    bottom: -80px;
    width: 300px;
    height: 300px;
}

/* Booking steps: hairline-divided columns, like the hero info row */

.hotel-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1020px;
    margin-inline: auto;
}

.hotel-step {
    flex: 1 1 240px;
    text-align: center;
    padding: 1.1rem 1.6rem;
}

.hotel-step-title {
    font-family: "Jost", sans-serif;
    font-size: .8rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--lr-ink);
    margin-bottom: .55rem;
}

.hotel-step-num {
    color: var(--lr-rose);
    margin-right: .55rem;
}

.hotel-step p {
    color: var(--lr-muted);
    font-size: .99rem;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .hotel-step + .hotel-step {
        border-left: 1px solid var(--lr-line);
    }
}

/* Bookable treatments: photo medallions (feature-row with photos instead
   of icons) — deliberately not a price list */

.hotel-fams .feature-icon {
    width: 132px;
    height: 132px;
    overflow: hidden;
}

.hotel-fams .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-fams .feature-label {
    font-size: 1.12rem;
    color: var(--lr-ink);
}

@media (max-width: 575px) {
    .hotel-fams .feature-icon {
        width: 106px;
        height: 106px;
    }
}

.hotel-note {
    max-width: 36em;
    margin: 0 auto;
    text-align: center;
    color: var(--lr-muted);
    font-size: .98rem;
}

.hotel-cta-alt {
    margin: 1.1rem 0 0;
    color: var(--lr-muted);
    font-size: .98rem;
}

/* --- FAQ teaser (landing): three questions close the page --- */

.faq-teaser {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.faq-teaser li + li {
    margin-top: 1.35rem;
}

.faq-teaser a {
    display: inline-block;
    font-size: clamp(1.1rem, 1.9vw, 1.3rem);
    color: var(--lr-ink);
    text-decoration: none;
    padding-bottom: .3rem;
    border-bottom: 1px dotted var(--lr-muted);
    transition: color .18s ease, border-color .18s ease;
}

.faq-teaser a:hover,
.faq-teaser a:focus-visible {
    color: var(--lr-rose);
    border-bottom-color: var(--lr-rose);
}

/* --- Booking CTAs: rose means "this books a massage" ------------------------
   .menu-card-book   small link under a card's price list (WhatsApp prefill)
   .booking-list     dotted-leader channel rows in the closing #book panel
   .contact-dock     persistent mobile bar (replaces the old white strip)
   .book-pill        floating desktop pill, shown between hero and #book     */

.menu-card-book {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 1rem;
    font-family: "Jost", sans-serif;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lr-rose);
    text-decoration: none;
    transition: color .18s ease;
}

.menu-card-book::after {
    content: "\2192";
    display: inline-block;
    margin-left: .5em;
    transition: transform .18s ease;
}

.menu-card-book:hover,
.menu-card-book:focus-visible {
    color: var(--lr-rose-deep);
}

.menu-card-book:hover::after,
.menu-card-book:focus-visible::after {
    transform: translateX(4px);
}

.package-card .menu-card-book {
    color: var(--lr-rose-soft);
    padding-top: 1.2rem;
}

.package-card .menu-card-book:hover,
.package-card .menu-card-book:focus-visible {
    color: #f8ece1;
}

.booking-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    max-width: 560px;
}

.booking-list a {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    padding: .6rem 0;
    text-decoration: none;
}

.booking-channel {
    font-family: "Jost", sans-serif;
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #f8ece1;
    white-space: nowrap;
    transition: color .18s ease;
}

.booking-leader {
    flex: 1;
    border-bottom: 1px dotted rgba(239, 223, 212, .35);
    transform: translateY(-4px);
}

.booking-note {
    font-style: italic;
    font-size: 1.02rem;
    color: #cdb3a4;
    white-space: nowrap;
    transition: color .18s ease;
}

.booking-list a:hover .booking-channel,
.booking-list a:focus-visible .booking-channel {
    color: var(--lr-rose-soft);
}

.booking-list a:hover .booking-note,
.booking-list a:focus-visible .booking-note {
    color: #f8ece1;
}

@media (max-width: 575px) {
    .booking-channel {
        letter-spacing: .12em;
    }

    .booking-note {
        font-size: .92rem;
    }
}

.contact-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    justify-content: center;
    gap: 3rem;
    background: var(--lr-dark);
    border-top: 1px solid rgba(239, 223, 212, .18);
    padding: .6rem .75rem calc(.55rem + env(safe-area-inset-bottom));
}

.contact-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

.contact-dock img {
    height: 26px;
    width: 26px;
    object-fit: contain;
}

.contact-dock .dock-invert {
    filter: brightness(0) invert(1);
    opacity: .92;
}

.contact-dock .dock-label {
    font-family: "Jost", sans-serif;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lr-cream-text);
}

.contact-dock-spacer {
    height: 84px;
}

.book-pill {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1030;
    box-shadow: var(--lr-shadow);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease,
    background-color .3s ease, border-color .3s ease;
}

.book-pill.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- Not-found page: the failed address set as a menu row --- */

.nf-section {
    padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.nf-panel {
    max-width: 860px;
    margin-inline: auto;
}

.nf-entry {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    max-width: 430px;
    margin: 0 auto 1.9rem;
}

.nf-path {
    font-family: "Jost", sans-serif;
    font-size: .78rem;
    letter-spacing: .08em;
    color: #cdb3a4;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nf-leader {
    flex: 1;
    min-width: 2.5rem;
    border-bottom: 1px dotted rgba(239, 223, 212, .35);
    transform: translateY(-4px);
}

.nf-code {
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--lr-rose-soft);
    white-space: nowrap;
}

/* --- Subpage header (logo + nav on all pages except the landing) --- */

.subpage-header {
    background-color: var(--lr-bg);
    box-shadow: 0 1px 0 var(--lr-line);
}

.subpage-header .lang-switcher {
    position: absolute;
    top: .9rem;
    right: 1rem;
}

@media (max-width: 575.98px) {
    /* Below sm the centered logo reaches the corner, so drop the flags
       into the navbar row, vertically centered beside the toggler. */
    .subpage-header .lang-switcher {
        top: 114px;
        right: 5.25rem;
    }
}

.subpage-header .navbar {
    padding-top: 0;
    padding-bottom: .35rem;
}

.subpage-header .nav-link {
    font-family: "Jost", sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--lr-ink);
    padding: .6rem 1.2rem .5rem;
    transition: color .25s ease;
}

.subpage-header .nav-link:hover,
.subpage-header .nav-link:focus-visible {
    color: var(--lr-rose);
}

.subpage-header .nav-link.active {
    color: var(--lr-rose);
}

.subpage-body {
    /* Clears the fixed .subpage-header (~150px tall at all widths, plus the
       wrapper's pb-5) and leaves ~70px of air below the nav rule. */
    margin-top: 172px;
}

#packages {
    scroll-margin-top: 210px;
}

/* --- Info strip (mobile, below hero) --- */

.info-strip {
    text-align: center;
    padding: 2.25rem 1.25rem .5rem;
}

.info-strip-block {
    margin-bottom: 1.6rem;
}

.info-strip-block p {
    margin-bottom: 0;
}

.info-strip-block a {
    color: var(--lr-ink);
    text-decoration: none;
    transition: color .25s ease;
}

.info-strip-block a:hover {
    color: var(--lr-rose);
}

.map-pin {
    width: .85em;
    height: .85em;
    vertical-align: -.08em;
    margin-right: .3em;
    opacity: .85;
}

/* --- Scroll reveals (armed by site.js so no-JS visitors see everything) --- */

html.reveal-ready [data-reveal],
html.reveal-ready [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .85s ease, transform .85s cubic-bezier(.22, .61, .36, 1);
}

html.reveal-ready [data-reveal].is-revealed,
html.reveal-ready [data-reveal-stagger].is-revealed > * {
    opacity: 1;
    transform: none;
}

[data-reveal-stagger] > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger] > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger] > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-stagger] > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-stagger] > *:nth-child(n+6) { transition-delay: 450ms; }

/* --- Reduced motion: everything visible, nothing moves --- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-fade {
        animation: none;
        opacity: 1;
    }

    .scroll-cue {
        animation: none;
    }

    html.reveal-ready [data-reveal],
    html.reveal-ready [data-reveal-stagger] > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .menu-card,
    .menu-card-media img,
    .package-tile,
    .feature-icon,
    .hero-social img,
    .menu-card-book::after,
    .book-pill {
        transition: none;
    }
}

/* --- Cookie consent modal buttons (used by _CookieConsentPartial) --- */

.btnService {
    color: var(--lr-ink);
    border-color: var(--lr-ink);
}

.btnService:hover {
    color: var(--lr-surface);
    background-color: var(--lr-ink);
    border-color: var(--lr-ink);
}

.btnService:active, .btnService:active:focus, .btnService:focus, .btnService:active:focus-visible {
    background-color: white;
    color: black;
    border-color: black;
}
