:root {
    --font-serif: "Cormorant Garamond", serif;
    --font-sans: "Outfit", sans-serif;
    --color-riad-cream: #F7EDDF;
    --color-riad-white: #FCFAFA;
    --color-riad-charcoal: #36413E;
    --color-riad-gold: #D28F75;
    --color-riad-gold-hover: #b87b64;
    --color-riad-gold-light: rgba(210, 143, 117, 0.15);
    --color-riad-stone: #E1D3C3;
    --color-riad-sand: #EDDEC9;
    --color-riad-shadow: rgba(210, 143, 117, 0.2);
    --color-riad-teal: #789B93;
    --color-riad-terracotta: #B96654;
    --color-riad-turquoise: #5C9A99;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-riad-cream);
    color: var(--color-riad-charcoal);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul,
ol {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-riad-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-riad-stone);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-riad-charcoal);
}

::selection {
    background: var(--color-riad-gold);
    color: var(--color-riad-white);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media(min-width:1024px) {
    .container {
        padding: 0 3rem;
    }
}

.container-narrow {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

@media(min-width:768px) {
    .section-padding {
        padding: 8rem 0;
    }
}

@media(min-width:1024px) {
    .section-padding {
        padding: 10rem 0;
    }
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media(min-width:768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-gap-lg {
        gap: 3rem;
    }
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media(min-width:768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width:1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media(min-width:768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width:1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Flex */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

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

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Text */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-white {
    color: #fff;
}

.text-gold {
    color: var(--color-riad-gold);
}

.text-charcoal {
    color: var(--color-riad-charcoal);
}

.text-gray {
    color: #6b7280;
}

.text-gray-light {
    color: #9ca3af;
}

.text-teal {
    color: var(--color-riad-teal);
}

.text-terracotta {
    color: var(--color-riad-terracotta);
}

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

.font-light {
    font-weight: 300;
}

.font-medium {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.2em;
}

.tracking-wider {
    letter-spacing: 0.3em;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

@media(min-width:768px) {
    .md-text-5xl {
        font-size: 3rem;
    }

    .md-text-7xl {
        font-size: 4.5rem;
    }

    .md-text-4xl {
        font-size: 2.25rem;
    }
}

.leading-relaxed {
    line-height: 1.75;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-sm {
    max-width: 24rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.relative {
    position: relative;
}

/* Backgrounds */
.bg-cream {
    background-color: var(--color-riad-cream);
}

.bg-charcoal {
    background-color: var(--color-riad-charcoal);
}

.bg-white-50 {
    background: rgba(255, 255, 255, 0.5);
}

.bg-white-80 {
    background: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn-gold-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-riad-gold);
    color: var(--color-riad-gold);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: transparent;
    border-radius: 9999px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-gold-outline:hover {
    background: var(--color-riad-gold);
    color: var(--color-riad-white);
    box-shadow: 0 10px 20px var(--color-riad-shadow);
}

.btn-gold-filled {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-riad-gold);
    background: var(--color-riad-gold);
    color: var(--color-riad-white);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 9999px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-gold-filled:hover {
    background: var(--color-riad-gold-hover);
    border-color: var(--color-riad-gold-hover);
    box-shadow: 0 10px 20px var(--color-riad-shadow);
}

/* Section Label */
.section-label {
    color: var(--color-riad-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

@media(min-width:768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto;
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.7s ease;
}

.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

@media(min-width:1024px) {
    .nav-inner {
        padding: 0 3rem;
    }
}

.nav-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

.nav-menu-btn:hover {
    color: #fff;
}

.site-nav.scrolled .nav-menu-btn {
    color: var(--color-riad-charcoal);
}

.site-nav.scrolled .nav-menu-btn:hover {
    color: var(--color-riad-gold);
}

.nav-menu-btn .btn-text {
    display: none;
}

@media(min-width:1024px) {
    .nav-menu-btn .btn-text {
        display: inline;
    }
}

.nav-logo img {
    height: 4rem;
    width: auto;
    transition: all 0.7s;
    margin-top: 0.5rem;
}

@media(min-width:768px) {
    .nav-logo img {
        height: 5rem;
    }
}

.nav-cta {
    display: none;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-cta:hover {
    background: #fff;
    color: var(--color-riad-charcoal);
}

@media(min-width:1024px) {
    .nav-cta {
        display: block;
    }
}

.site-nav.scrolled .nav-cta {
    border-color: var(--color-riad-gold);
    color: var(--color-riad-gold);
}

.site-nav.scrolled .nav-cta:hover {
    background: var(--color-riad-gold);
    color: #fff;
}

/* Fullscreen Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--color-riad-charcoal);
    color: #fff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-overlay-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

.menu-close-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.menu-close-btn:hover {
    color: var(--color-riad-gold);
}

.menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    overflow-y: auto;
}

.menu-item {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

@media(min-width:768px) {
    .menu-item {
        font-size: 2.25rem;
    }
}

.menu-overlay.active .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    color: var(--color-riad-gold);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-media-wrap {
    position: absolute;
    inset: 0;
    background: var(--color-riad-cream);
}

.hero-media-wrap video,
.hero-media-wrap img.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.6;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(185, 102, 84, 0.4), transparent 50%, rgba(92, 154, 153, 0.5));
    mix-blend-mode: overlay;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(54, 65, 62, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
}

.hero-scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.hero-video-btn {
    position: absolute;
    top: 8rem;
    right: 2rem;
    z-index: 30;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(252, 250, 250, 0.4);
    backdrop-filter: blur(12px);
    padding: 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(252, 250, 250, 0.5);
    cursor: pointer;
    transition: color 0.3s;
}

.hero-video-btn:hover {
    color: #fff;
}

/* Room Cards */
.rooms-section {
    padding: 6rem 0;
    background: var(--color-riad-cream);
    position: relative;
    z-index: 2;
}

@media(min-width:1024px) {
    .rooms-section {
        padding: 8rem 0;
    }
}

.room-card {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.room-card:hover {
    transform: translateY(-4px);
}

.room-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-riad-shadow);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.05);
}

.room-card-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(54, 65, 62, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.room-card:hover .room-card-image .overlay {
    opacity: 0.4;
}

.room-card-content {
    text-align: center;
    padding: 0 1rem;
}

.room-card-tagline {
    color: var(--color-riad-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.room-card-title {
    font-size: 1.875rem;
    font-family: var(--font-serif);
    color: var(--color-riad-charcoal);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.room-card:hover .room-card-title {
    color: var(--color-riad-gold);
}

.room-card-divider {
    width: 3rem;
    height: 1px;
    background: rgba(210, 143, 117, 0.3);
    margin: 0 auto 1rem;
    transition: width 0.5s;
}

.room-card:hover .room-card-divider {
    width: 6rem;
}

.room-card-desc {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.room-card-amenities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amenity-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-riad-teal);
    background: rgba(120, 155, 147, 0.05);
    border: 1px solid rgba(120, 155, 147, 0.1);
    padding: 0.25rem 0.75rem;
}

.room-card-price {
    color: var(--color-riad-charcoal);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Water reflection shine effect */
.water-reflection {
    position: relative;
    overflow: hidden;
}

.water-reflection::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(92, 154, 153, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: waterShine 8s infinite;
    pointer-events: none;
}

@keyframes waterShine {
    0% {
        left: -150%;
    }

    20% {
        left: 250%;
    }

    100% {
        left: 250%;
    }
}

/* Restoration / Before-After */
.restoration-section {
    padding: 6rem 0;
    background: var(--color-riad-charcoal);
    color: #fff;
}

@media(min-width:1024px) {
    .restoration-section {
        padding: 8rem 0;
    }
}

.before-after-wrap {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 64rem;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-wrap .before-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.before-after-wrap .before-clip img {
    mix-blend-mode: luminosity;
    opacity: 0.8;
}

.before-after-label {
    position: absolute;
    top: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    z-index: 5;
}

.before-after-label.before {
    left: 1.5rem;
    background: rgba(252, 250, 250, 0.4);
    backdrop-filter: blur(12px);
    color: var(--color-riad-charcoal);
}

.before-after-label.after {
    right: 1.5rem;
    background: var(--color-riad-white);
    color: var(--color-riad-charcoal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-riad-gold);
    z-index: 10;
    cursor: ew-resize;
}

.slider-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--color-riad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-handle-circle svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.restoration-stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-box {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-family: var(--font-serif);
    color: var(--color-riad-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
    background: var(--color-riad-cream);
}

@media(min-width:1024px) {
    .experience-section {
        padding: 8rem 0;
    }
}

.breakfast-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(54, 65, 62, 0.08);
    border: 1px solid #fff;
    border-radius: 1.1rem;
    transition: border-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.breakfast-card:hover {
    border-color: rgba(210, 143, 117, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(54, 65, 62, 0.14);
}

.breakfast-icon {
    width: 7rem;
    height: 7rem;
    margin: 0 auto;
    background: radial-gradient(circle at 30% 30%, #f6efe5 0%, #eadccc 100%);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    font-size: 2rem;
    color: var(--color-riad-charcoal);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.55), 0 8px 20px rgba(210, 143, 117, 0.18);
    overflow: hidden;
}

.breakfast-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9999px;
    display: block;
}

.breakfast-glow {
    position: absolute;
    inset: 0;
    background: var(--color-riad-gold-light);
    filter: blur(48px);
    border-radius: 9999px;
    z-index: 0;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.section-divider .line {
    width: 4rem;
    height: 1px;
    background: var(--color-riad-gold);
}

.section-divider .symbol {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-riad-charcoal);
}

.experience-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    transition: border-color 0.5s;
}

.experience-card:hover {
    border-color: rgba(210, 143, 117, 0.4);
}

.experience-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: var(--color-riad-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-riad-gold);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Guide Section */
.guide-section {
    padding: 6rem 0;
    background: var(--color-riad-cream);
    border-top: 1px solid var(--color-riad-shadow);
}

@media(min-width:1024px) {
    .guide-section {
        padding: 8rem 0;
    }
}

.guide-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(54, 65, 62, 0.2);
}

@media(min-width:768px) {
    .guide-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.guide-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    line-height: 1;
    letter-spacing: -0.02em;
}

@media(min-width:768px) {
    .guide-title {
        font-size: 4.5rem;
    }
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width:768px) {
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem;
    }
}

.guide-place {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(54, 65, 62, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.guide-place:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(54, 65, 62, 0.14);
}

.guide-place-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(54, 65, 62, 0.08);
}

.guide-place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    opacity: 0.95;
    transition: transform 0.8s ease, filter 0.6s ease, opacity 0.6s ease;
}

.guide-place:hover .guide-place-image img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.guide-place-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.4rem;
}

.guide-place-copy {
    min-width: 0;
}

.guide-place-number {
    font-size: 1.75rem;
    font-family: var(--font-serif);
    color: rgba(210, 143, 117, 0.3);
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--color-riad-cream);
}

@media(min-width:1024px) {
    .about-section {
        padding: 8rem 0;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width:1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 1.875rem;
    font-family: var(--font-serif);
    color: var(--color-riad-gold);
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 9999px 9999px 0 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.about-quote {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(252, 250, 250, 0.4);
    backdrop-filter: blur(12px);
    padding: 2rem;
    max-width: 24rem;
    border-bottom-right-radius: 1.5rem;
    background: linear-gradient(135deg, var(--color-riad-cream), var(--color-riad-sand), var(--color-riad-cream));
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px var(--color-riad-shadow);
}

.about-quote .quote-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.3;
    color: var(--color-riad-gold);
}

.about-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-quote .attribution {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    display: block;
    opacity: 0.6;
    font-weight: 500;
    color: var(--color-riad-terracotta);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--color-riad-charcoal);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 24rem;
    height: 24rem;
    background: var(--color-riad-gold);
    border-radius: 9999px;
    filter: blur(48px);
    opacity: 0.05;
}

.cta-glow.top-left {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cta-glow.bottom-right {
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.cta-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media(min-width:768px) {
    .cta-contact {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-contact-item {
    text-align: center;
}

.cta-contact-item svg {
    width: 20px;
    height: 20px;
    margin: 0 auto 0.75rem;
    color: var(--color-riad-gold);
}

.cta-contact-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.cta-contact-item a,
.cta-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.cta-contact-item a:hover {
    color: var(--color-riad-gold);
}

/* Footer */
.site-footer {
    background: var(--color-riad-charcoal);
    color: #fff;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media(min-width:768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo img {
    height: 8rem;
    width: auto;
    margin-bottom: 2.5rem;
}

@media(min-width:768px) {
    .footer-logo img {
        height: 10rem;
    }
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 28rem;
    font-weight: 300;
}

.footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-riad-gold);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
}

@media(min-width:768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media(min-width:768px) {
    .footer-bottom-links {
        margin-top: 0;
    }
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem;
    background: var(--color-riad-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-cta a {
    display: block;
    width: 100%;
    background: var(--color-riad-gold);
    color: #fff;
    text-align: center;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.3s;
}

.mobile-sticky-cta a:hover {
    background: var(--color-riad-gold-hover);
}

@media(min-width:1024px) {
    .mobile-sticky-cta {
        display: none;
    }
}

@media(max-width:767px) {
    .container {
        padding: 0 1rem;
    }

    .section-label {
        letter-spacing: 0.22em;
        font-size: 10px;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 2.1rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .nav-inner {
        height: 4.25rem;
        padding: 0 1rem;
    }

    .nav-logo img {
        height: 3.2rem;
        margin-top: 0.25rem;
    }

    .menu-overlay-header {
        padding: 1.25rem 1rem;
    }

    .menu-item {
        font-size: 1.8rem;
    }

    .hero {
        height: 88vh;
        min-height: 620px;
    }

    .hero-scroll-indicator {
        bottom: 1.75rem;
    }

    .hero-video-btn {
        top: 6rem;
        right: 1rem;
    }

    .rooms-section,
    .experience-section,
    .guide-section,
    .about-section,
    .cta-section {
        padding: 4rem 0;
    }

    .restoration-section {
        padding: 4rem 0 3.5rem;
    }

    .before-after-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 0.75rem;
    }

    .before-after-label {
        top: 0.7rem;
        padding: 0.38rem 0.65rem;
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .before-after-label.before {
        left: 0.7rem;
    }

    .before-after-label.after {
        right: 0.7rem;
    }

    .slider-handle-circle {
        width: 2.2rem;
        height: 2.2rem;
    }

    .slider-handle-circle svg {
        width: 12px;
        height: 12px;
    }

    .restoration-stats {
        margin-top: 1.75rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .stat-box {
        padding: 0.9rem 0.6rem;
    }

    .stat-number {
        font-size: 1.45rem;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.62rem;
        letter-spacing: 0.03em;
    }

    .room-card-image {
        margin-bottom: 1.25rem;
    }

    .room-card-title {
        font-size: 1.65rem;
    }

    .room-card-content {
        padding: 0 0.4rem;
    }

    .breakfast-card,
    .experience-card {
        padding: 1.5rem 1.25rem;
    }

    .breakfast-icon {
        width: 5.4rem;
        height: 5.4rem;
        margin-bottom: 0.9rem;
    }

    .guide-header {
        margin-bottom: 2rem;
        padding-bottom: 1.2rem;
    }

    .guide-title {
        font-size: 2.15rem;
    }

    .guide-header .text-right {
        text-align: left;
        margin-top: 0.85rem;
        max-width: none;
    }

    .guide-grid {
        gap: 1.25rem;
    }

    .guide-place-content {
        padding: 1rem 1rem 1.1rem;
        gap: 0.7rem;
    }

    .guide-place-number {
        font-size: 1.35rem;
    }

    .about-quote {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
        padding: 1.25rem;
    }

    .cta-contact {
        gap: 1rem;
    }

    .cta-contact-item {
        justify-content: center;
        text-align: center;
    }

    .single-room-content {
        margin-top: -2.5rem;
        padding: 0 1rem;
    }

    .single-room-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding-bottom: 6.3rem;
    }

    .mobile-sticky-cta {
        padding: 0.6rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
    }

    .mobile-sticky-cta a {
        padding: 0.82rem 0.9rem;
        font-size: 0.72rem;
        letter-spacing: 0.11em;
        border-radius: 0.55rem;
    }
}

/* Arch shape */
.arch-full {
    border-radius: 9999px 9999px 0 0;
}

/* Glass Panel */
.glass-panel {
    background: rgba(252, 250, 250, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(252, 250, 250, 0.5);
    box-shadow: 0 8px 32px var(--color-riad-shadow);
}

/* Tadelakt texture */
.tadelakt-texture {
    background: linear-gradient(135deg, var(--color-riad-cream), var(--color-riad-sand) 50%, var(--color-riad-cream));
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .animate-slide-right {
    opacity: 0;
    transform: translateX(-40px);
}

.js .animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-left {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .animate-slide-left {
    opacity: 0;
    transform: translateX(40px);
}

.js .animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .animate-scale {
    opacity: 0;
    transform: scale(0.95);
}

.js .animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Single Room Page */
.single-room-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.single-room-hero.room-hero-zoomable {
    cursor: zoom-in;
}

.single-room-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-room-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(54, 65, 62, 0.6), transparent);
}

.single-room-content {
    max-width: 64rem;
    margin: -4rem auto 0;
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
}

.single-room-card {
    background: var(--color-riad-cream);
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

@media(min-width:768px) {
    .single-room-card {
        padding: 4rem;
    }
}

.room-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media(min-width:768px) {
    .room-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.room-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 0.25rem;
    position: relative;
    z-index: 1;
}

.room-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.room-gallery-item:hover img {
    transform: scale(1.05);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media(min-width:768px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
}

.amenity-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-riad-gold);
}

.room-footer-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

@media(min-width:768px) {
    .room-footer-bar {
        flex-direction: row;
    }
}

/* Archive / Room listing */
.archive-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--color-riad-cream);
}

.rooms-grid {
    padding: 4rem 0 6rem;
    background: var(--color-riad-cream);
}

/* Gallery Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(54, 65, 62, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 101;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* WordPress specific */
.alignwide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-image img {
    border-radius: 0.25rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}
