/* Weekend romantico — stili solo di questa pagina.
   Classi prefissate rw- per non toccare navbar, footer e CSS globale. */

body.rw-page {
    background: #F5F0E8;
    color: #263C3A;
}

.rw-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 10001;
    padding: 10px 16px;
    background: #263C3A;
    color: #F5F0E8;
    border-radius: 8px;
}

.rw-skip:focus {
    top: 12px;
}

.rw-wrap {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.rw-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.rw-page .rw-hero,
body.rw-page .rw-close {
    padding: 0;
}

body.rw-page .rw-emotion,
body.rw-page .rw-exp,
body.rw-page .rw-suites,
body.rw-page .rw-offer {
    padding: clamp(4.5rem, 9vw, 7.75rem) 0;
}

.rw-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #263C3A;
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.rw-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #B96F50;
    flex: 0 0 auto;
}

.rw-hero .rw-kicker,
.rw-close .rw-kicker {
    color: #F5F0E8;
}

body.rw-page .rw-hero h1,
body.rw-page .rw-emotion h2,
body.rw-page .rw-exp h2,
body.rw-page .rw-suites h2,
body.rw-page .rw-offer h2,
body.rw-page .rw-close h2,
body.rw-page .rw-card h3,
body.rw-page .rw-suite h3,
body.rw-page .rw-offer h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #263C3A;
}

body.rw-page .rw-hero h1 {
    max-width: 11em;
    margin: 0 0 22px;
    color: #FFFFFF;
    font-size: clamp(2.45rem, 5.5vw, 4.85rem);
    line-height: 1.02;
}

body.rw-page .rw-emotion h2,
body.rw-page .rw-exp h2,
body.rw-page .rw-suites h2,
body.rw-page .rw-offer h2,
body.rw-page .rw-close h2 {
    margin: 0;
    font-size: clamp(2.35rem, 4.4vw, 3.85rem);
    line-height: 1.08;
}

body.rw-page .rw-close h2 {
    color: #F5F0E8;
}

body.rw-page .rw-card h3,
body.rw-page .rw-suite h3,
body.rw-page .rw-offer h3 {
    margin: 0;
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

body.rw-page p {
    margin: 0;
    color: #314744;
    font-family: "Poppins", sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.75;
}

.rw-copy p + p,
.rw-offer-copy p + p,
.rw-close-panel p + p {
    margin-top: 1.05rem;
}

.rw-head {
    max-width: 38rem;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.rw-head p,
.rw-suite-lead {
    margin-top: 1.1rem;
    max-width: 40rem;
}

.rw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.rw-btn-primary {
    background: #263C3A;
    color: #F5F0E8;
}

.rw-btn-light {
    background: #F5F0E8;
    color: #263C3A;
}

.rw-btn-ghost {
    background: rgba(38, 60, 58, 0.42);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.rw-btn:focus-visible,
.rw-text-link:focus-visible,
.rw-suite-media:focus-visible,
.rw-sticky:focus-visible {
    outline: 3px solid #F5F0E8;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #263C3A;
}

.rw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.rw-text-link {
    color: #263C3A;
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-decoration-color: #B96F50;
    text-underline-offset: 5px;
}

.rw-inline-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #B96F50;
    text-underline-offset: 3px;
}

/* Hero */

.rw-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    color: #FFFFFF;
}

.rw-hero-media,
.rw-hero-media picture,
.rw-hero-overlay {
    position: absolute;
    inset: 0;
}

.rw-hero-media picture,
.rw-hero-media img {
    width: 100%;
    height: 100%;
}

.rw-hero-media img {
    object-fit: cover;
    object-position: center 42%;
}

.rw-hero-overlay {
    background:
        linear-gradient(180deg, rgba(38, 60, 58, 0.58) 0%, rgba(38, 60, 58, 0.22) 30%, rgba(38, 60, 58, 0.08) 52%, rgba(38, 60, 58, 0.5) 100%),
        linear-gradient(90deg, rgba(38, 60, 58, 0.34) 0%, rgba(38, 60, 58, 0.05) 58%, rgba(38, 60, 58, 0) 100%);
    pointer-events: none;
}

.rw-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    padding: 132px 0 248px;
}

.rw-hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.rw-hero h1,
.rw-hero .rw-kicker {
    text-shadow: 0 1px 2px rgba(38, 60, 58, 0.35), 0 10px 28px rgba(38, 60, 58, 0.25);
}

.rw-hero-lower {
    max-width: 40rem;
    margin-top: 6px;
    padding: 16px 22px 16px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(38, 60, 58, 0.78) 0%, rgba(38, 60, 58, 0.66) 72%, rgba(38, 60, 58, 0.5) 100%);
}

.rw-hero-lower .rw-actions {
    margin-top: 16px;
}

body.rw-page .rw-hero-lead {
    max-width: 38rem;
    color: #FFFFFF;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.65;
}

/* Editorial blocks */

.rw-split {
    display: grid;
    gap: 36px;
    align-items: center;
}

.rw-frame {
    background: linear-gradient(#A9C5C9, #A9C5C9) right bottom / calc(100% - 18px) calc(100% - 18px) no-repeat;
    padding: 0 18px 18px 0;
}

.rw-media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.rw-media img,
.rw-card-media img,
.rw-suite-media img,
.rw-close-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-emotion-media {
    aspect-ratio: 4 / 3;
}

.rw-offer-media {
    aspect-ratio: 3 / 2;
}

.rw-copy {
    max-width: 38rem;
}

.rw-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 1.6rem;
}

/* Experiences */

.rw-exp {
    background: #FFFFFF;
}

.rw-exp-grid,
.rw-suite-list {
    display: grid;
    gap: 28px;
}

.rw-card,
.rw-suite {
    background: #FFFFFF;
    border: 1px solid rgba(38, 60, 58, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(38, 60, 58, 0.06);
    overflow: hidden;
}

.rw-exp .rw-card {
    background: #F5F0E8;
    border-color: transparent;
    box-shadow: none;
}

.rw-card-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.rw-card-body,
.rw-suite-body {
    padding: 24px 24px 28px;
}

.rw-card-body p {
    margin-top: 12px;
}

/* Suites */

.rw-suites {
    background: #F5F0E8;
}

.rw-suite {
    background: #FFFFFF;
}

.rw-suite-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.rw-suite-link:focus-visible {
    outline: 3px solid #F5F0E8;
    outline-offset: -6px;
    box-shadow: inset 0 0 0 3px #263C3A;
}

.rw-suite-body {
    display: block;
}

.rw-suite-media {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
}

.rw-suite-media img {
    position: absolute;
    inset: 0;
}

.rw-suite:not(.rw-suite-flip) .rw-suite-media img {
    object-position: center 92%;
}

.rw-suite-body p {
    margin-top: 14px;
}

.rw-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: #314744;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.rw-facts li {
    position: relative;
}

.rw-facts li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 16px;
    border-radius: 50%;
    background: #B96F50;
    vertical-align: middle;
}

.rw-suite-body .rw-btn {
    margin-top: 28px;
}

.rw-suite-more {
    margin-top: 28px;
}

/* Offer */

.rw-offer {
    background: #FFFFFF;
}

.rw-offer h3 {
    margin-top: 18px;
}

.rw-offer-copy > p {
    margin-top: 14px;
    max-width: 38rem;
}

.rw-offer .rw-actions {
    margin-top: 28px;
}

/* Close */

.rw-close {
    display: grid;
    background: #263C3A;
    color: #F5F0E8;
}

.rw-close-media {
    position: relative;
    min-height: 300px;
}

.rw-close-media img {
    position: absolute;
    inset: 0;
}

.rw-close-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5.5rem);
}

body.rw-page .rw-close-panel p {
    color: #F5F0E8;
    max-width: 36rem;
}

body.rw-page .rw-close-note {
    color: #E7F0EF;
    font-size: 0.95rem;
}

.rw-close .rw-actions {
    margin-top: 32px;
}

/* Sticky availability */

.rw-sticky {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 8px;
    border-top: 3px solid #B96F50;
    background: #263C3A;
    color: #F5F0E8;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(38, 60, 58, 0.28);
}

.rw-sticky.is-hidden {
    display: none;
}

@media (min-width: 761px) {
    .rw-sticky {
        display: none;
    }
}

@media (max-width: 760px) {
    body.rw-page {
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 640px) {
    .rw-actions,
    .rw-suite-body .rw-btn,
    .rw-actions .rw-btn {
        width: 100%;
    }

    .rw-hero-inner {
        padding-top: 108px;
        padding-bottom: 196px;
    }

    body.rw-page .rw-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
}

@media (min-width: 900px) {
    .rw-split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 72px;
    }

    .rw-split-reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .rw-split-reverse .rw-frame {
        order: 2;
    }

    .rw-exp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .rw-suite-link {
        display: grid;
        grid-template-columns: 1.2fr 0.9fr;
        min-height: 520px;
    }

    .rw-suite-flip .rw-suite-link {
        grid-template-columns: 0.9fr 1.2fr;
    }

    .rw-suite-flip .rw-suite-media {
        order: 2;
    }

    .rw-suite-body {
        padding: 48px 48px 48px 52px;
    }

    .rw-close {
        grid-template-columns: 0.92fr 1.08fr;
        min-height: 620px;
    }

    .rw-close-media {
        min-height: 100%;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .rw-card-media img,
    .rw-suite-media img,
    .rw-media img {
        transition: transform 0.8s ease;
    }

    .rw-btn,
    .rw-sticky {
        transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    }

    .rw-card:hover .rw-card-media img,
    .rw-suite:hover .rw-suite-media img,
    .rw-frame:hover .rw-media img {
        transform: scale(1.045);
    }

    .rw-btn-primary:hover {
        background: #314a47;
        border-color: #B96F50;
        color: #F5F0E8;
    }

    .rw-btn-light:hover {
        background: #FFFFFF;
        border-color: #B96F50;
        color: #263C3A;
    }

    .rw-btn-ghost:hover {
        background: #F5F0E8;
        border-color: #F5F0E8;
        color: #263C3A;
    }

    .rw-btn:hover {
        transform: translateY(-2px);
    }

    .rw-text-link:hover,
    .rw-inline-link:hover {
        color: #8C4E36;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .rw-animate .rw-reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .rw-animate .rw-reveal.is-in {
        opacity: 1;
        transform: none;
    }

    .rw-animate .rw-exp-grid .rw-reveal:nth-child(2) {
        transition-delay: 0.08s;
    }

    .rw-animate .rw-exp-grid .rw-reveal:nth-child(3) {
        transition-delay: 0.16s;
    }
}

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

    .rw-reveal {
        opacity: 1;
        transform: none;
    }
}

#suite,
#esperienze,
#offerta {
    scroll-margin-top: 120px;
}
