/**
 * Royal Palm - Homepage Stylesheet
 * Premium hotel/resort homepage for Mielno, Poland.
 *
 * Table of contents:
 *  1. Custom Properties (design tokens)
 *  2. Base reset
 *  3. Utility classes
 *  4. Navigation
 *  5. Hero section
 *  6. Booking bar
 *  7. Guests panel
 *  8. Results section & sticky bar
 *  9. Room cards
 * 10. About section
 * 11. Features row
 * 12. Gallery
 * 13. Location
 * 14. FAQ accordion
 * 15. Footer
 * 16. Booking modal
 * 17. Animations & transitions
 * 18. Responsive / mobile
 */

/* =========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================= */

:root {
    --rph-dark:       #1a1a1a;
    --rph-gold:       #c8a96e;
    --rph-gold-dark:  #b8965a;
    --rph-gold-light: #e8d5aa;
    --rph-cream:      #f8f6f1;
    --rph-grey:       #f0ede8;
    --rph-white:      #ffffff;
    --rph-text:       #2d2d2d;
    --rph-muted:      #888888;
    --rph-border:     #e8e3db;

    --rph-radius-sm:  8px;
    --rph-radius-md:  16px;
    --rph-radius-lg:  24px;
    --rph-radius-xl:  60px;

    --rph-shadow-sm:  0 2px 12px rgba(0, 0, 0, 0.06);
    --rph-shadow-md:  0 4px 24px rgba(0, 0, 0, 0.08);
    --rph-shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.15);
    --rph-shadow-xl:  0 20px 60px rgba(0, 0, 0, 0.35);

    --rph-nav-h:      70px;
    --rph-transition: 0.22s ease;
    --rph-font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* =========================================================================
   2. BASE RESET
   ========================================================================= */

.rph-page *,
.rph-page *::before,
.rph-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.rph-page {
    margin: 0;
    padding: 0;
    font-family: var(--rph-font);
    color: var(--rph-text);
    background: var(--rph-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.rph-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.rph-page a {
    color: inherit;
    text-decoration: none;
}

.rph-page ul {
    list-style: none;
}

.rph-page address {
    font-style: normal;
}

.rph-page button {
    font-family: inherit;
}

/* =========================================================================
   3. UTILITY CLASSES
   ========================================================================= */

.rph-btn-gold {
    display: inline-block;
    background: var(--rph-gold);
    color: var(--rph-dark);
    border: none;
    border-radius: var(--rph-radius-xl);
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--rph-transition), transform var(--rph-transition), box-shadow var(--rph-transition);
    text-align: center;
    white-space: nowrap;
}

.rph-btn-gold:hover,
.rph-btn-gold:focus-visible {
    background: var(--rph-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 169, 110, 0.35);
    outline: none;
}

.rph-btn-gold:active {
    transform: translateY(0);
}

.rph-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.rph-section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rph-gold);
    margin-bottom: 12px;
}

.rph-section-heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--rph-dark);
    line-height: 1.2;
}

/* =========================================================================
   4. NAVIGATION
   ========================================================================= */

.rph-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--rph-nav-h);
    transition: background var(--rph-transition), box-shadow var(--rph-transition);
}

.rph-nav--scrolled {
    background: var(--rph-white);
    box-shadow: 0 1px 0 var(--rph-border), var(--rph-shadow-sm);
}

.rph-nav--scrolled .rph-nav__links a,
.rph-nav--scrolled .rph-nav__logo-text {
    color: var(--rph-dark);
}

.rph-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rph-nav__logo img {
    max-height: 50px;
    width: auto;
    display: block;
    /* Invert logo to white when nav is transparent over dark hero */
    filter: brightness(0) invert(1);
    transition: filter var(--rph-transition);
}

.rph-nav--scrolled .rph-nav__logo img {
    filter: none;
}

.rph-nav__logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--rph-white);
}

.rph-nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rph-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.rph-nav__links a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--rph-transition), opacity var(--rph-transition);
    position: relative;
}

.rph-nav--scrolled .rph-nav__links a {
    color: var(--rph-text);
}

.rph-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--rph-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rph-transition);
}

.rph-nav__links a:hover::after,
.rph-nav__links a:focus-visible::after {
    transform: scaleX(1);
}

/* Hamburger (hidden on desktop) */
.rph-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.rph-nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--rph-white);
    border-radius: 2px;
    transition: background var(--rph-transition);
}

.rph-nav--scrolled .rph-nav__hamburger span {
    background: var(--rph-dark);
}

.rph-nav__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.rph-nav__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.rph-nav__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
   5. HERO SECTION
   ========================================================================= */

.rph-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rph-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rph-hero__slide {
    position: absolute;
    inset: -2%;
    overflow: hidden;
    opacity: 0;
    transform: translateX(2.5%) scale(1.08);
    transition: opacity 1.8s ease;
    will-change: transform, opacity;
}

.rph-hero__slide .rph-hero__slide-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rph-hero__slide.is-active {
    opacity: 1;
    animation: rphHeroSlidePan 6s linear forwards;
}

@keyframes rphHeroSlidePan {
    from { transform: translateX(2%) scale(1.075); }
    to   { transform: translateX(2.5%) scale(1.08); }
}

.rph-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: #1f2323;
    opacity: 0.6;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.rph-hero--widget-active .rph-hero__overlay {
    opacity: 0.15;
}

@media (prefers-reduced-motion: reduce) {
    .rph-hero__slide,
    .rph-hero__slide.is-active {
        animation: none;
        transform: none;
    }
}

.rph-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--rph-white);
    padding: 0 24px;
    margin-top: calc(-1 * var(--rph-nav-h));
    animation: rphFadeInUp 1s ease both;
}

.rph-hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: var(--rph-gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: rphFadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,1);
}

.rph-hero__title {
    font-size: clamp(52px, 7.5vw, 96px);
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--rph-white);
    opacity: 0;
    animation: rphFadeInUp 1s ease 0.35s both;
    text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}

.rph-hero__tagline {
    font-size: 21px;
    opacity: 0;
    margin-top: 18px;
    font-weight: 300;
    animation: rphFadeInUp 1s ease 0.5s both;
    text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

/* =========================================================================
   6. BOOKING BAR
   ========================================================================= */

.rph-hero__bar {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: stretch;
    background: var(--rph-white);
    border-radius: var(--rph-radius-xl);
    padding: 8px 8px 8px 0;
    box-shadow: var(--rph-shadow-xl);
    min-width: 700px;
    max-width: 900px;
    width: 90vw;
    animation: rphFadeInUp 1s ease 0.65s both;
}

.rph-bar-field {
    flex: 1;
    padding: 14px 24px;
    border-right: 1px solid var(--rph-border);
    cursor: pointer;
    transition: background var(--rph-transition);
    border-radius: 0;
}

.rph-bar-field:first-child {
    border-radius: var(--rph-radius-xl) 0 0 var(--rph-radius-xl);
    padding-left: 28px;
}

.rph-bar-field:hover {
    background: var(--rph-grey);
}

.rph-bar-field label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-muted);
    margin-bottom: 5px;
    cursor: pointer;
    user-select: none;
}

.rph-bar-field input[type="date"] {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--rph-dark);
    background: transparent;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    /* Hide native date picker on WebKit */
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    line-height: 1.4;
}

/* Remove native calendar icon on Chrome */
.rph-bar-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.rph-bar-field:has(input:placeholder-shown) input[type="date"],
.rph-bar-field input[type="date"]:not(:valid) {
    color: var(--rph-muted);
}

.rph-bar-guests {
    flex: 1;
    padding: 14px 24px;
    border-right: 1px solid var(--rph-border);
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background var(--rph-transition);
}

.rph-bar-guests:hover {
    background: var(--rph-grey);
}

.rph-bar-guests__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-muted);
    margin-bottom: 5px;
}

.rph-bar-guests__value {
    font-size: 15px;
    font-weight: 700;
    color: var(--rph-dark);
    line-height: 1.4;
}

.rph-bar-btn {
    background: var(--rph-dark);
    color: var(--rph-white);
    border: none;
    border-radius: var(--rph-radius-xl);
    padding: 16px 36px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--rph-transition), transform var(--rph-transition);
    white-space: nowrap;
    flex-shrink: 0;
    margin: 4px;
    align-self: stretch;
    min-height: 52px;
}

.rph-bar-btn:hover,
.rph-bar-btn:focus-visible {
    background: var(--rph-gold);
    color: var(--rph-dark);
    outline: none;
}

.rph-bar-btn:active {
    transform: scale(0.97);
}

.rph-bar-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}

/* Error state on bar fields */
.rph-bar-field.has-error,
.rph-bar-guests.has-error {
    background: #fff5f5;
    border-right-color: #f87171;
}

/* =========================================================================
   7. GUESTS PANEL
   ========================================================================= */

.rph-guests-panel {
    grid-column: 1 / -1;
    background: var(--rph-white);
    border-radius: var(--rph-radius-md);
    padding: 24px;
    box-shadow: var(--rph-shadow-lg);
    width: 100%;
    margin: -2px 0 10px;
    border: 1px solid var(--rph-border);
    overflow: hidden;

    /* Hidden by default */
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity var(--rph-transition),
        visibility var(--rph-transition),
        transform var(--rph-transition);
}

.rph-guests-panel.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rph-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--rph-border);
}

.rph-counter-row:last-of-type {
    border-bottom: none;
}

.rph-counter-info {
    display: flex;
    flex-direction: column;
}

.rph-counter-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--rph-dark);
}

.rph-counter-sub {
    font-size: 12px;
    color: var(--rph-muted);
    margin-top: 2px;
}

.rph-counter-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rph-counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--rph-border);
    background: var(--rph-white);
    color: var(--rph-dark);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--rph-transition), background var(--rph-transition), color var(--rph-transition);
    flex-shrink: 0;
}

.rph-counter-btn:hover:not(:disabled) {
    border-color: var(--rph-gold);
    background: var(--rph-gold);
    color: var(--rph-dark);
}

.rph-counter-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.rph-counter-val {
    font-size: 16px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    color: var(--rph-dark);
}

.rph-guests-confirm {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: var(--rph-dark);
    color: var(--rph-white);
    border: none;
    border-radius: var(--rph-radius-sm);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--rph-transition);
}

.rph-guests-confirm:hover {
    background: var(--rph-gold);
    color: var(--rph-dark);
}

/* =========================================================================
   8. RESULTS SECTION & STICKY BAR
   ========================================================================= */

.rph-results {
    display: none;
    background: var(--rph-cream);
    padding-bottom: 80px;
}

.rph-sticky-bar {
    position: sticky;
    top: var(--rph-nav-h);
    z-index: 99;
    background: var(--rph-white);
    border-bottom: 1px solid var(--rph-border);
    box-shadow: var(--rph-shadow-sm);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.rph-sticky-bar__info {
    flex: 1;
    color: var(--rph-text);
    font-weight: 500;
}

.rph-sticky-bar__info strong {
    color: var(--rph-dark);
}

.rph-sticky-bar__change {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rph-gold-dark);
    border-bottom: 1px solid currentColor;
    transition: color var(--rph-transition);
    flex-shrink: 0;
}

.rph-sticky-bar__change:hover {
    color: var(--rph-dark);
}

.rph-results__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.rph-results__heading {
    font-size: 28px;
    font-weight: 300;
    color: var(--rph-dark);
    margin-bottom: 8px;
}

.rph-results__count {
    font-size: 14px;
    color: var(--rph-muted);
    margin-bottom: 0;
}

/* =========================================================================
   9. ROOM CARDS
   ========================================================================= */

.rph-rooms-grid {
    display: block;
    max-width: 840px;
    margin: 32px auto 0;
}

.rph-room-card {
    background: var(--rph-white);
    border-radius: var(--rph-radius-md);
    overflow: hidden;
    box-shadow: var(--rph-shadow-md);
    animation: rphSlideUp 0.4s ease both;
    display: flex;
    flex-direction: row;
}

.rph-room-card__img-wrap {
    width: 360px;
    min-width: 360px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.rph-room-card__img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rph-room-card:hover .rph-room-card__img {
    transform: scale(1.03);
}

.rph-room-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--rph-gold);
    color: var(--rph-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.rph-room-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rph-room-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rph-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.rph-room-card__advert {
    color: var(--rph-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.rph-room-card__meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--rph-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rph-border);
}

.rph-room-card__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rph-room-card__price {
    font-size: 30px;
    font-weight: 800;
    color: var(--rph-dark);
    margin-bottom: 2px;
    letter-spacing: -0.5px;
    margin-top: 16px;
}

.rph-room-card__price-currency {
    font-size: 18px;
    font-weight: 400;
    margin-left: 2px;
}

.rph-room-card__night {
    font-size: 12px;
    color: var(--rph-muted);
    margin-bottom: 20px;
}

.rph-room-card__btn {
    width: 100%;
    background: var(--rph-dark);
    color: var(--rph-white);
    border: none;
    border-radius: var(--rph-radius-sm);
    padding: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--rph-transition);
    font-family: inherit;
}

.rph-room-card__btn:hover,
.rph-room-card__btn:focus-visible {
    background: var(--rph-gold);
    color: var(--rph-dark);
    outline: none;
}

.rph-rooms-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: var(--rph-muted);
}

.rph-rooms-empty__icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.rph-rooms-empty h3 {
    font-size: 22px;
    font-weight: 400;
    color: var(--rph-text);
    margin-bottom: 8px;
}

/* =========================================================================
   10. ABOUT SECTION
   ========================================================================= */

.rph-about {
    padding: 100px 24px 0;
    background: var(--rph-white);
}

.rph-about__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.rph-about__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.rph-about__block--img-right {
    direction: rtl;
}

.rph-about__block--img-right > * {
    direction: ltr;
}

.rph-about__img-wrap {
    border-radius: var(--rph-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.rph-about__img-wrap--video {
    aspect-ratio: 4 / 2.6;
}

.rph-about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rph-about__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rph-about__img-wrap:hover .rph-about__img {
    transform: scale(1.04);
}

.rph-about__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rph-gold);
    margin-bottom: 14px;
}

.rph-about__heading {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 300;
    color: var(--rph-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.rph-about__text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.rph-about__text p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   11. FEATURES ROW
   ========================================================================= */

.rph-features {
    background: var(--rph-cream);
    padding: 60px 24px;
    margin-top: 0;
    border-radius: 24px;
    overflow: hidden;
}

.rph-features__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.rph-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.rph-feature__icon {
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--rph-white);
    border-radius: 50%;
    box-shadow: var(--rph-shadow-sm);
}

.rph-feature__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rph-text);
    text-align: center;
    letter-spacing: 0.3px;
}

/* =========================================================================
   12. GALLERY
   ========================================================================= */

.rph-gallery {
    padding: 100px 24px;
    background: var(--rph-white);
}

.rph-gallery__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.rph-gallery__grid {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.rph-gallery__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rph-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: var(--rph-radius-sm);
    position: relative;
    background: var(--rph-grey);
    cursor: zoom-in;
}

.rph-gallery__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.rph-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background var(--rph-transition);
}

.rph-gallery__item:hover .rph-gallery__img {
    transform: scale(1.05);
}

.rph-gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.rph-gallery__item--more {
    display: none;
}

.rph-gallery__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.rph-gallery__more-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,.3);
    color: #333;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s, border-color .2s;
}

.rph-gallery__more-btn:hover {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.6);
}

/* =========================================================================
   13. LOCATION
   ========================================================================= */

/* =====================================================================
   REVIEWS
   ===================================================================== */
.rph-reviews {
    padding: 100px 24px;
    background: var(--rph-dark);
    color: #fff;
}

.rph-reviews__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.rph-reviews .rph-section-eyebrow {
    color: var(--rph-gold);
}

.rph-reviews .rph-section-heading {
    color: #fff;
}

.rph-reviews__score {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255,255,255,.7);
}

.rph-reviews__avg {
    font-size: 42px;
    font-weight: 700;
    color: var(--rph-gold);
    line-height: 1;
}

.rph-reviews__avg-max {
    font-size: 20px;
    color: rgba(255,255,255,.5);
    margin-right: 8px;
}

.rph-reviews__avg-count {
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

.rph-reviews__list {
    column-count: 3;
    column-gap: 24px;
    margin-top: 48px;
}

.rph-review-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 24px;
    display: inline-block;
    width: 100%;
    margin: 0 0 24px;
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (max-width: 1100px) {
    .rph-reviews__list {
        column-count: 2;
    }
}

@media (max-width: 700px) {
    .rph-reviews__list {
        column-count: 1;
    }
}

.rph-reviews__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.rph-reviews__more-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s, border-color .2s;
}

.rph-reviews__more-btn:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
}

.rph-review-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.rph-review-card__author {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.rph-review-card__stars {
    font-size: 14px;
    letter-spacing: 1px;
}

.rph-star { color: rgba(255,255,255,.2); }
.rph-star--on { color: var(--rph-gold); }

.rph-review-card__source {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rph-review-card__text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.7);
    margin: 0;
}

.rph-review-card--skeleton {
    min-height: 140px;
    background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.06) 75%);
    background-size: 200% 100%;
    animation: rph-skeleton-shimmer 1.4s infinite;
}

@keyframes rph-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Facilities row inside room card */
.rph-room-card__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--rph-border);
}

.rph-room-card__fac {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--rph-muted);
    background: var(--rph-cream);
    border-radius: 4px;
    padding: 3px 7px;
}

.rph-room-card__fac img {
    flex-shrink: 0;
    opacity: .7;
}

/* =====================================================================
   LOCATION
   ===================================================================== */
.rph-location {
    padding: 100px 24px;
    background: var(--rph-cream);
}

.rph-location__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.rph-location__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.rph-location__map {
    border-radius: var(--rph-radius-md);
    overflow: hidden;
    box-shadow: var(--rph-shadow-md);
}

.rph-location__map iframe {
    display: block;
}

.rph-location__address h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--rph-dark);
    margin-bottom: 12px;
}

.rph-location__address address {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

.rph-location__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.rph-location__details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--rph-text);
    line-height: 1.5;
}

.rph-loc-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

.rph-location__cta {
    padding: 14px 28px;
    font-size: 11px;
}

/* =========================================================================
   14. FAQ ACCORDION
   ========================================================================= */

.rph-faq {
    padding: 100px 24px;
    background: var(--rph-white);
}

.rph-faq__inner {
    max-width: 780px;
    margin: 0 auto;
}

.rph-faq__list {
    border-top: 1px solid var(--rph-border);
}

.rph-faq__item {
    border-bottom: 1px solid var(--rph-border);
}

.rph-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--rph-dark);
    cursor: pointer;
    list-style: none;
    gap: 20px;
    transition: color var(--rph-transition);
    line-height: 1.4;
}

.rph-faq__question::-webkit-details-marker {
    display: none;
}

.rph-faq__question::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--rph-gold);
    flex-shrink: 0;
    transition: transform var(--rph-transition), color var(--rph-transition);
    line-height: 1;
}

.rph-faq__item[open] .rph-faq__question {
    color: var(--rph-gold-dark);
}

.rph-faq__item[open] .rph-faq__question::after {
    content: '−';
    transform: rotate(0deg);
}

.rph-faq__answer {
    padding: 0 4px 22px;
    animation: rphFadeIn 0.25s ease;
}

.rph-faq__answer p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.rph-faq__answer p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   15. FOOTER
   ========================================================================= */

.rph-footer {
    background: var(--rph-dark);
    color: rgba(255, 255, 255, 0.8);
}

.rph-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
}

.rph-footer__col--brand .rph-footer__tagline {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.65;
    margin-top: 16px;
}

.rph-footer__logo {
    filter: brightness(0) invert(1);
    max-height: 44px;
    width: auto;
    opacity: 0.9;
}

.rph-footer__logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--rph-white);
    letter-spacing: 2px;
}

.rph-footer__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--rph-gold);
    margin-bottom: 20px;
}

.rph-footer__address p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    opacity: 0.8;
}

.rph-footer__link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: color var(--rph-transition);
    display: inline-block;
}

.rph-footer__link:hover {
    color: var(--rph-gold);
}

.rph-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rph-footer__nav li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--rph-transition), padding-left var(--rph-transition);
}

.rph-footer__nav li a:hover {
    color: var(--rph-gold);
    padding-left: 6px;
}

.rph-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
    max-width: 1100px;
    margin: 0 auto;
}
.rph-footer__credit {
    margin-top: 4px;
}
.rph-footer__credit a {
    color: inherit;
    text-decoration: none;
}
.rph-footer__credit a:hover {
    text-decoration: underline;
}

/* =========================================================================
   16. BOOKING MODAL
   ========================================================================= */

.rph-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}

.rph-modal.is-open {
    display: flex;
}

.rph-modal__card {
    background: var(--rph-white);
    border-radius: var(--rph-radius-lg);
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 48px 40px 40px;
    position: relative;
    animation: rphModalIn 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--rph-border) transparent;
}

.rph-modal__card::-webkit-scrollbar {
    width: 4px;
}

.rph-modal__card::-webkit-scrollbar-thumb {
    background: var(--rph-border);
    border-radius: 4px;
}

.rph-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rph-grey);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--rph-transition), transform var(--rph-transition);
    color: var(--rph-dark);
    line-height: 1;
}

.rph-modal__close:hover {
    background: var(--rph-border);
    transform: rotate(90deg);
}

/* Progress dots */
.rph-modal__progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.rph-modal__step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rph-border);
    transition: background var(--rph-transition), transform var(--rph-transition);
}

.rph-modal__step-dot--active {
    background: var(--rph-gold);
    transform: scale(1.3);
}

.rph-modal__step-dot--done {
    background: var(--rph-gold-dark);
}

.rph-modal__step-line {
    flex: 1;
    height: 1px;
    background: var(--rph-border);
}

.rph-modal__title {
    font-size: 26px;
    font-weight: 600;
    color: var(--rph-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.rph-modal__subtitle {
    font-size: 13px;
    color: var(--rph-muted);
    margin-bottom: 32px;
}

/* Form fields */
.rph-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rph-form-row {
    margin-bottom: 20px;
}

.rph-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rph-form-field {
    display: flex;
    flex-direction: column;
}

.rph-form-field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-muted);
    margin-bottom: 8px;
}

.rph-form-field label span[aria-hidden] {
    color: var(--rph-gold);
}

.rph-label-opt {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    color: var(--rph-muted);
}

.rph-form-field input,
.rph-form-field textarea {
    border: none;
    border-bottom: 1.5px solid var(--rph-border);
    border-radius: 0;
    padding: 10px 0;
    font-size: 15px;
    font-family: inherit;
    color: var(--rph-dark);
    background: transparent;
    transition: border-color var(--rph-transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}

.rph-form-field input:focus,
.rph-form-field textarea:focus {
    border-bottom-color: var(--rph-gold);
}

.rph-form-field input.has-error,
.rph-form-field textarea.has-error {
    border-bottom-color: #ef4444;
}

.rph-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.rph-field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    min-height: 16px;
    display: block;
}

/* Modal summary table */
.rph-modal__summary {
    background: var(--rph-cream);
    border-radius: var(--rph-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.rph-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
}

.rph-summary-row:not(:last-child) {
    border-bottom: 1px solid var(--rph-border);
}

.rph-summary-row__label {
    color: var(--rph-muted);
    flex-shrink: 0;
    margin-right: 16px;
}

.rph-summary-row__value {
    font-weight: 600;
    color: var(--rph-dark);
    text-align: right;
}

.rph-summary-row--total .rph-summary-row__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--rph-dark);
}

.rph-summary-row--total .rph-summary-row__value {
    font-size: 20px;
    font-weight: 800;
    color: var(--rph-dark);
}

/* Payment choice */
.rph-payment-choice {
    margin-bottom: 24px;
}

.rph-payment-choice__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rph-muted);
    margin-bottom: 12px;
}

.rph-pay-option {
    display: flex;
    align-items: stretch;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: var(--rph-radius-sm);
    border: 1.5px solid var(--rph-border);
    transition: border-color var(--rph-transition), box-shadow var(--rph-transition);
    overflow: hidden;
}

.rph-pay-option:has(input:checked) {
    border-color: var(--rph-gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.18);
}

.rph-pay-option input[type="radio"] {
    /* Visually hidden but accessible */
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rph-pay-option__card {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.rph-pay-option__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--rph-dark);
}

.rph-pay-option__desc {
    font-size: 13px;
    color: var(--rph-muted);
    line-height: 1.4;
}

.rph-pay-option__amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--rph-dark);
    margin-top: 6px;
}

/* Error banner */
.rph-modal__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--rph-radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    color: #dc2626;
    margin-bottom: 20px;
}

/* Modal action buttons */
.rph-modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
}

.rph-modal__btn-back {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--rph-muted);
    cursor: pointer;
    padding: 8px 0;
    transition: color var(--rph-transition);
    font-family: inherit;
}

.rph-modal__btn-back:hover {
    color: var(--rph-dark);
}

.rph-modal__btn-next {
    min-width: 160px;
    text-align: center;
    padding: 16px 32px;
    font-size: 12px;
    border-radius: var(--rph-radius-xl);
}

/* Modal loading overlay */
.rph-modal__loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--rph-radius-lg);
    gap: 16px;
    z-index: 10;
}

.rph-modal__loading[hidden] {
    display: none !important;
}

.rph-modal__loading p {
    font-size: 15px;
    color: var(--rph-text);
    font-weight: 500;
}

.rph-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--rph-border);
    border-top-color: var(--rph-gold);
    border-radius: 50%;
    animation: rphSpin 0.8s linear infinite;
}

/* =========================================================================
   17. ANIMATIONS & TRANSITIONS
   ========================================================================= */

@keyframes rphFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes rphFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rphSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rphModalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes rphSpin {
    to { transform: rotate(360deg); }
}

/* Stagger room card animations */
.rph-room-card:nth-child(1) { animation-delay: 0.05s; }
.rph-room-card:nth-child(2) { animation-delay: 0.12s; }
.rph-room-card:nth-child(3) { animation-delay: 0.19s; }
.rph-room-card:nth-child(4) { animation-delay: 0.26s; }
.rph-room-card:nth-child(5) { animation-delay: 0.33s; }
.rph-room-card:nth-child(6) { animation-delay: 0.40s; }

/* =========================================================================
   18. RESPONSIVE / MOBILE
   ========================================================================= */

/* --- Tablet: ≤ 1024px --- */
@media (max-width: 1024px) {
    .rph-about__block {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 72px;
    }

    .rph-about__block--img-right {
        direction: ltr;
    }

    .rph-location__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rph-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .rph-footer__col--brand {
        grid-column: 1 / -1;
    }
}

/* --- Mobile: ≤ 768px --- */
@media (max-width: 768px) {
    /* Nav */
    .rph-nav__hamburger {
        display: flex;
    }

    .rph-nav__menu {
        position: fixed;
        top: var(--rph-nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--rph-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .rph-nav__menu.is-open {
        transform: translateX(0);
    }

    .rph-nav__links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .rph-nav__links a {
        font-size: 16px;
        color: var(--rph-dark);
        letter-spacing: 3px;
    }

    .rph-nav__cta {
        padding: 14px 40px;
    }

    /* Hero */
    .rph-hero__title {
        font-size: clamp(40px, 10.5vw, 62px);
    }

    .rph-hero__tagline {
        font-size: 17px;
    }

    /* Booking bar - stack as 2×2 grid + full-width button */
    .rph-hero__bar {
        flex-direction: column;
        min-width: unset;
        width: calc(100% - 32px);
        border-radius: var(--rph-radius-md);
        padding: 0;
        bottom: 20px;
        gap: 0;
        overflow: hidden;
    }

    .rph-bar-field,
    .rph-bar-guests {
        border-right: none;
        border-bottom: 1px solid var(--rph-border);
        padding: 14px 20px;
        border-radius: 0;
    }

    .rph-bar-field:first-child {
        border-radius: 0;
        padding-left: 20px;
    }

    /* 2-column layout for date + guests */
    .rph-hero__bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #rph-arrival-wrap {
        border-right: 1px solid var(--rph-border);
        grid-column: 1;
        grid-row: 1;
    }

    #rph-departure-wrap {
        grid-column: 2;
        grid-row: 1;
    }

    .rph-bar-guests {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .rph-bar-btn {
        grid-column: 1 / -1;
        grid-row: 3;
        border-radius: 0;
        margin: 0;
        padding: 18px;
        font-size: 13px;
        letter-spacing: 3px;
    }

    /* Guests panel - full width on mobile */
    .rph-guests-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(100%);
        border-radius: var(--rph-radius-md) var(--rph-radius-md) 0 0;
        max-width: 100%;
        min-width: unset;
    }

    .rph-guests-panel.is-open {
        transform: translateY(0);
    }

    /* Results - single card vertical on mobile */
    .rph-room-card {
        flex-direction: column;
    }
    .rph-room-card__img-wrap {
        width: 100%;
        min-width: unset;
    }
    .rph-room-card__img {
        height: 240px;
        min-height: unset;
    }

    /* About */
    .rph-about {
        padding: 60px 16px 0;
    }

    .rph-about__block {
        margin-bottom: 56px;
    }

    .rph-features__inner {
        gap: 24px;
    }

    .rph-feature {
        min-width: 90px;
    }

    /* Gallery */
    .rph-gallery {
        padding: 60px 16px;
    }

    .rph-gallery__grid {
        columns: 2;
    }

    /* Location */
    .rph-location {
        padding: 60px 16px;
    }

    /* FAQ */
    .rph-faq {
        padding: 60px 16px;
    }

    .rph-faq__question {
        font-size: 15px;
        padding: 18px 4px;
    }

    /* Footer */
    .rph-footer__inner {
        grid-template-columns: 1fr;
        padding: 48px 24px 32px;
    }

    /* Modal */
    .rph-modal__card {
        padding: 40px 24px 32px;
        border-radius: var(--rph-radius-md) var(--rph-radius-md) 0 0;
        max-height: 96vh;
        margin-top: auto;
    }

    .rph-modal {
        align-items: flex-end;
    }

    .rph-form-row--2col {
        grid-template-columns: 1fr;
    }
}

/* --- Small mobile: ≤ 480px --- */
@media (max-width: 480px) {
    .rph-hero__bar {
        width: calc(100% - 24px);
    }

    .rph-hero__content {
        padding: 0 16px;
    }

    .rph-section-heading {
        font-size: clamp(24px, 7vw, 32px);
    }

    .rph-results__inner {
        padding: 32px 16px 0;
    }

    .rph-modal__actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .rph-modal__btn-next {
        width: 100%;
    }
}

/* =========================================================================
   BOOKING WIDGET (replaces old .rph-hero__bar)
   ========================================================================= */

.rph-hero__widget {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: min(460px, calc(100vw - 32px));
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 20px;
    padding: 24px 24px 22px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    z-index: 10;
}

.rph-widget__heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    color: #fff;
    margin: 0 0 16px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.rph-widget__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.rph-widget-field {
    background: var(--rph-grey);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
    position: relative;
}

.rph-widget-field:focus-within,
.rph-widget-field:hover {
    border-color: var(--rph-gold);
    background: #fff;
}

.rph-widget-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rph-muted);
    margin-bottom: 4px;
    cursor: pointer;
    font-weight: 600;
}

.rph-widget-field input[type="date"] {
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--rph-dark);
    width: 100%;
    cursor: pointer;
    padding: 0;
}

.rph-widget-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Guests field - full width */
.rph-widget-field--guests {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.rph-widget-field--guests label {
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 60px;
}

.rph-widget-field__value {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--rph-dark);
}

.rph-widget-field__arrow {
    color: var(--rph-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.rph-widget-field--guests[aria-expanded="true"] .rph-widget-field__arrow {
    transform: rotate(180deg);
}

.rph-widget__btn {
    width: 100%;
    background: var(--rph-dark);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 10px;
}

.rph-widget__btn:hover {
    background: var(--rph-gold);
    transform: translateY(-1px);
}

.rph-widget__btn:active {
    transform: translateY(0);
}

.rph-widget__btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.rph-widget__note {
    font-size: 12px;
    color: #e53e3e;
    margin: 8px 0 0;
    min-height: 16px;
    text-align: center;
}

/* Inline result - prototype */
.rph-widget__result {
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 16px;
    animation: rphSlideUp 0.3s ease both;
}
.rph-widget__result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rph-widget__result-status {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rph-widget__result-status--ok   { color: #6fcf97; }
.rph-widget__result-status--none { color: #eb5757; }
.rph-widget__result-price {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.rph-widget__result-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
    text-align: right;
}
.rph-widget__result-btn {
    width: 100%;
    margin-top: 12px;
    background: var(--rph-gold);
    color: var(--rph-dark);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}
.rph-widget__result-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */

.rph-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.rph-lightbox[hidden] { display: none; }

.rph-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.93);
    cursor: zoom-out;
}

.rph-lightbox__wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: min(90vw, 1200px);
    max-height: 90vh;
}

.rph-lightbox__img {
    display: block;
    max-width: min(90vw, 1200px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 80px rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.2s;
}

.rph-lightbox__img.is-loaded {
    opacity: 1;
}

.rph-lightbox__close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.rph-lightbox__close:hover {
    background: rgba(255,255,255,0.28);
}

.rph-lightbox__prev,
.rph-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.rph-lightbox__prev:hover,
.rph-lightbox__next:hover {
    background: rgba(255,255,255,0.28);
}

.rph-lightbox__prev { left: 20px; }
.rph-lightbox__next { right: 20px; }

.rph-lightbox__counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    z-index: 2;
    font-family: var(--rph-font);
    letter-spacing: 2px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .rph-lightbox__prev { left: 8px; width: 40px; height: 40px; }
    .rph-lightbox__next { right: 8px; width: 40px; height: 40px; }
    .rph-gallery__col:nth-child(3) { display: none; }
}

@media (max-width: 360px) {
    .rph-gallery__col:nth-child(2),
    .rph-gallery__col:nth-child(3) { display: none; }
}

/* =========================================================================
   SCROLL-TO-TOP BUTTON
   ========================================================================= */

.rph-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rph-dark);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s, border-color 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.rph-scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rph-scroll-top:hover {
    background: var(--rph-gold);
    border-color: transparent;
}

.rph-scroll-top svg {
    display: block;
    flex-shrink: 0;
}

/* Guests panel inside widget flow */
.rph-hero__widget .rph-guests-panel {
    border-radius: 16px;
}

/* Mobile: widget sits lower, full width */
@media (max-width: 600px) {
    .rph-hero__widget {
        bottom: 24px;
        padding: 22px 20px 20px;
    }

    .rph-widget__fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rph-widget-field input[type="date"] {
        font-size: 14px;
    }

    .rph-hero__widget .rph-guests-panel {
        margin-top: -2px;
        border-radius: 14px;
        padding: 18px;
    }
}

/* ≤ 390px (iPhone SE 375px) - widget overlaps text without this */
@media (max-width: 390px) {
    .rph-hero {
        align-items: flex-start;
        padding-top: calc(var(--rph-nav-h) + 28px);
    }

    .rph-hero__content {
        margin-top: 0;
    }

    .rph-hero__widget {
        bottom: 10px;
    }
}

