/* ========================================
   Riviera Cafe — Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #C4704B;
    --terracotta-dark: #A85A3A;
    --terracotta-light: #D4916F;
    --sand: #F5E6D3;
    --sand-light: #FAF3EB;
    --sand-dark: #E8D5C0;
    --cream: #FDF8F3;
    --warm-white: #FFFCF9;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --text-primary: #2C2420;
    --text-secondary: #6B5D54;
    --text-muted: #9B8B80;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

em {
    font-style: italic;
}

/* --- Section Label --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--terracotta);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(196, 112, 75, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 112, 75, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--terracotta);
    border: 1.5px solid var(--terracotta);
}

.btn-outline:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 112, 75, 0.08);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(253, 248, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terracotta);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 500;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(196, 112, 75, 0.1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--sand-dark);
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

.mobile-menu-link:hover {
    color: var(--terracotta);
    padding-left: 8px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand-light) 50%, var(--sand) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(196, 112, 75, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 112, 75, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(245, 230, 211, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-left {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    background: rgba(196, 112, 75, 0.08);
    border: 1px solid rgba(196, 112, 75, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.hero-headline em {
    color: var(--terracotta);
    font-weight: 600;
}

.hero-accent {
    display: block;
    color: var(--terracotta);
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--terracotta);
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand-dark);
}

.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    padding-right: 40px;
}

.hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img:hover img {
    transform: scale(1.03);
}

.hero-img-primary {
    width: 100%;
    aspect-ratio: 520/680;
}

.hero-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 70%;
    aspect-ratio: 420/320;
    border: 4px solid var(--cream);
    box-shadow: var(--shadow-md);
}

.hero-img-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    background: rgba(44, 36, 32, 0.6);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: var(--radius-xl);
}

.hero-img-caption-dot {
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--terracotta), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Story --- */
.story {
    padding: 120px 0;
    background: var(--warm-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-visual {
    position: relative;
}

.story-visual img {
    width: 100%;
    aspect-ratio: 560/700;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.story-visual-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: var(--radius-lg);
    opacity: 0.1;
    z-index: -1;
}

.story-content {
    max-width: 480px;
}

.story-content .section-title {
    margin-bottom: 28px;
}

.story-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--sand-dark);
}

.story-signature-line {
    flex: 0 0 48px;
    height: 2px;
    background: var(--terracotta);
}

.story-signature span {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Menu --- */
.menu {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
}

.menu-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.menu-header .section-title {
    margin-bottom: 16px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.menu-tab {
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.menu-tab:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

.menu-tab.active {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.menu-panel {
    max-width: 800px;
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    gap: 0;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(196, 112, 75, 0.1);
    transition: all var(--transition);
}

.menu-item:first-child {
    border-top: 1px solid rgba(196, 112, 75, 0.1);
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item-info {
    flex: 1;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.menu-item-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.menu-item-tag {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(196, 112, 75, 0.08);
    border: 1px solid rgba(196, 112, 75, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    align-self: center;
}

.menu-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 40px;
    line-height: 1.7;
}

.hidden {
    display: none;
}

/* --- Space --- */
.space {
    padding: 120px 0;
    background: var(--warm-white);
}

.space-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.space-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.space-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-bottom: 64px;
}

.space-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.space-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.space-gallery-item:hover img {
    transform: scale(1.04);
}

.space-gallery-item--tall {
    grid-column: 1 / 6;
    aspect-ratio: 480/640;
}

.space-gallery-item:not(.space-gallery-item--tall):not(.space-gallery-item--wide) {
    grid-column: span 3;
    aspect-ratio: 480/300;
}

.space-gallery-item--wide {
    grid-column: 8 / 13;
    aspect-ratio: 960/300;
}

.space-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.space-feature {
    text-align: center;
    padding: 32px 20px;
    background: var(--sand-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(196, 112, 75, 0.06);
    transition: all var(--transition);
}

.space-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(196, 112, 75, 0.15);
}

.space-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: rgba(196, 112, 75, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
}

.space-feature-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.space-feature-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --- Visit --- */
.visit {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--cream) 100%);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.visit-detail {
    display: flex;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(196, 112, 75, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
}

.visit-detail h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.visit-detail p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.visit-detail a {
    color: var(--terracotta);
    transition: color var(--transition);
}

.visit-detail a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

.visit-map {
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(196, 112, 75, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--terracotta);
    transition: all var(--transition);
}

.visit-map:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 112, 75, 0.3);
}

/* --- Form --- */
.visit-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(196, 112, 75, 0.06);
}

.visit-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--sand-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    outline: none;
    transition: all var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(196, 112, 75, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 230, 211, 0.1);
}

.footer-brand .nav-logo {
    color: var(--sand);
    margin-bottom: 16px;
}

.footer-brand .nav-logo-mark {
    background: var(--terracotta);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sand);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-contact li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom p {
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-image-stack {
        padding-right: 20px;
    }

    .hero-img-secondary {
        left: -20px;
        bottom: -20px;
    }

    .space-gallery-item--tall {
        grid-column: 1 / 7;
    }

    .space-gallery-item:not(.space-gallery-item--tall):not(.space-gallery-item--wide) {
        grid-column: span 3;
    }

    .space-gallery-item--wide {
        grid-column: 8 / 13;
    }

    .space-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 80px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        order: -1;
    }

    .hero-image-stack {
        padding-right: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-img-secondary {
        left: -10px;
        bottom: -16px;
        width: 65%;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-scroll {
        display: none;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .space-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .space-gallery-item--tall {
        grid-column: 1 / -1;
        aspect-ratio: 480/400;
    }

    .space-gallery-item:not(.space-gallery-item--tall):not(.space-gallery-item--wide) {
        grid-column: span 1;
        aspect-ratio: 1/1;
    }

    .space-gallery-item--wide {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
    }

    .space-features {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .menu-tab {
        width: 100%;
        text-align: center;
    }

    .space-features {
        grid-template-columns: 1fr;
    }

    .space-gallery {
        grid-template-columns: 1fr;
    }

    .space-gallery-item--tall,
    .space-gallery-item:not(.space-gallery-item--tall):not(.space-gallery-item--wide),
    .space-gallery-item--wide {
        grid-column: 1 / -1;
        aspect-ratio: 4/3;
    }
}
