/* ============================================
   VALENCIA SUMMER 2026 - STYLES
   A warm, Mediterranean-inspired design system
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Colors */
    --terracotta: #E07A5F;
    --terracotta-dark: #c96a52;
    --warm-tan: #D4A373;
    --deep-blue: #3D5A80;
    --deep-blue-light: #4a6d99;
    --mediterranean: #81B29A;
    --mediterranean-dark: #6a9c84;
    --cream: #F4F1DE;
    --cream-dark: #e8e4cd;
    --sunshine: #F2CC8F;
    --sunshine-dark: #e6bc76;
    --white: #FFFFFF;
    --dark: #2D3142;
    --dark-light: #3d4156;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #E5E7EB;

    /* Calendar Colors */
    --available: #81B29A;
    --partial: #F2CC8F;
    --blocked: #E07A5F;
    --selected: #3D5A80;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-6);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

@media (max-width: 768px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-xl); }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-20) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-12) 0;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.nav.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-4) var(--container-padding);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--terracotta);
}

.nav-menu {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--terracotta);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .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);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: var(--space-6);
        gap: var(--space-4);
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
}

.btn-secondary:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(224, 122, 95, 0.9) 0%, rgba(61, 90, 128, 0.8) 100%),
        url('https://a0.muscache.com/im/pictures/miso/Hosting-1396381236666121452/original/d7757186-8cce-4c23-ab52-3cd05f1640f5.jpeg') center/cover;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(224, 122, 95, 0.85) 0%,
        rgba(242, 204, 143, 0.7) 50%,
        rgba(61, 90, 128, 0.85) 100%
    );
    animation: gradientShift 10s ease infinite alternate;
}

@keyframes gradientShift {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-8);
    max-width: 800px;
}

.hero-title {
    font-size: var(--text-6xl);
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
}

.badge-icon {
    width: 18px;
    height: 18px;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    min-width: 80px;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-1);
    opacity: 0.8;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.8s both;
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-8);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 32px;
    height: 32px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .countdown {
        gap: var(--space-3);
    }

    .countdown-item {
        min-width: 60px;
        padding: var(--space-3);
    }

    .countdown-value {
        font-size: var(--text-2xl);
    }
}

/* ============================================
   COMPACT HERO (NEW)
   ============================================ */
.hero-compact {
    position: relative;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--terracotta) 100%);
    color: var(--white);
    padding: calc(var(--space-8) + 60px) 0 var(--space-8);
    overflow: hidden;
}

.hero-compact-bg {
    position: absolute;
    inset: 0;
    background:
        url('https://a0.muscache.com/im/pictures/miso/Hosting-1396381236666121452/original/d7757186-8cce-4c23-ab52-3cd05f1640f5.jpeg') center/cover;
    opacity: 0.15;
}

.hero-compact-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.hero-compact-text {
    flex: 1;
    min-width: 280px;
}

.hero-compact-title {
    font-size: var(--text-4xl);
    font-family: var(--font-display);
    margin: 0 0 var(--space-2);
    color: var(--white);
}

.hero-compact-subtitle {
    font-size: var(--text-lg);
    margin: 0 0 var(--space-4);
    opacity: 0.9;
}

.hero-compact-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-detail {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
}

.hero-detail svg {
    width: 16px;
    height: 16px;
}

.hero-compact-countdown {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
}

.countdown-mini {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.countdown-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-mini-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: 1;
}

.countdown-mini-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    opacity: 0.7;
}

.countdown-mini-sep {
    font-size: var(--text-xl);
    font-weight: 700;
    opacity: 0.5;
    margin-top: -8px;
}

.countdown-caption {
    display: block;
    font-size: var(--text-xs);
    margin-top: var(--space-2);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-compact {
        padding: calc(var(--space-6) + 60px) 0 var(--space-6);
    }

    .hero-compact-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-compact-title {
        font-size: var(--text-2xl);
    }

    .hero-compact-subtitle {
        font-size: var(--text-base);
    }

    .hero-compact-details {
        justify-content: center;
    }

    .hero-detail {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
    }

    .countdown-mini-value {
        font-size: var(--text-xl);
    }
}

/* ============================================
   DASHBOARD (What would you like to do?)
   ============================================ */
.dashboard {
    padding: var(--space-8) 0 var(--space-12);
    background: var(--white);
}

.dashboard-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--dark);
    text-align: center;
    margin: 0 0 var(--space-6);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--cream);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--dark);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta);
}

.dashboard-card--primary {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--sunshine) 100%);
    color: var(--white);
}

.dashboard-card--primary:hover {
    border-color: var(--deep-blue);
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-card:not(.dashboard-card--primary) .dashboard-card-icon {
    background: var(--white);
}

.dashboard-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.dashboard-card--primary .dashboard-card-icon svg {
    stroke: var(--white);
}

.dashboard-card-content {
    flex: 1;
    min-width: 0;
}

.dashboard-card-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0 0 var(--space-1);
}

.dashboard-card-content p {
    font-size: var(--text-sm);
    margin: 0;
    opacity: 0.8;
}

.dashboard-card-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all var(--transition-base);
}

.dashboard-card:hover .dashboard-card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard {
        padding: var(--space-6) 0 calc(var(--space-8) + 70px);
    }

    .dashboard-title {
        font-size: var(--text-xl);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .dashboard-card {
        padding: var(--space-3);
    }

    .dashboard-card-icon {
        width: 40px;
        height: 40px;
    }

    .dashboard-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .dashboard-card-content h3 {
        font-size: var(--text-sm);
    }

    .dashboard-card-content p {
        font-size: var(--text-xs);
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-lighter);
    padding: var(--space-2) var(--space-4);
    padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2);
    background: none;
    border: none;
    color: var(--gray);
    text-decoration: none;
    font-size: var(--text-xs);
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition-base);
    flex: 1;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: var(--terracotta);
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }

    /* Add padding to body for mobile nav */
    body {
        padding-bottom: 70px;
    }

    /* Hide top nav on mobile when scrolled */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* ============================================
   SECTION DIVIDERS (Visual breaks)
   ============================================ */
.section {
    scroll-margin-top: 80px;
}

/* Alternating section backgrounds for visual chunking */
.section:nth-of-type(odd) {
    background: var(--white);
}

.section:nth-of-type(even) {
    background: var(--cream);
}

/* Override for specific sections that need different backgrounds */
.section.guide {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.section.memories {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.section.community {
    background: var(--deep-blue);
}

@media (max-width: 768px) {
    .section {
        scroll-margin-top: 60px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: var(--space-4);
    width: 44px;
    height: 44px;
    background: var(--deep-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: var(--space-3);
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-tag {
    display: inline-block;
    color: var(--terracotta);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-2);
}

.section-title {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    color: var(--gray);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   APARTMENT SECTION
   ============================================ */
.apartment {
    background: var(--white);
}

/* Gallery */
.gallery {
    margin-bottom: var(--space-12);
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.gallery-featured {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-expand {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-2);
    border-radius: var(--radius);
    transition: var(--transition);
}

.gallery-expand:hover {
    background: var(--white);
    transform: scale(1.1);
}

.gallery-expand svg {
    width: 20px;
    height: 20px;
    color: var(--dark);
}

.gallery-thumbs {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: var(--space-2);
}

.gallery-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--terracotta);
}

/* Room Cards */
.rooms-title,
.amenities-title {
    font-size: var(--text-2xl);
    color: var(--deep-blue);
    margin-bottom: var(--space-6);
    text-align: center;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.room-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    position: relative;
    height: 180px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
}

.room-badge--available {
    background: var(--mediterranean);
}

.room-badge--blocked {
    background: var(--terracotta);
}

.room-badge--partial {
    background: var(--sunshine);
    color: var(--dark);
}

.room-content {
    padding: var(--space-5);
}

.room-name {
    color: var(--deep-blue);
    margin-bottom: var(--space-1);
}

.room-bed {
    color: var(--gray);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.room-desc {
    color: var(--gray);
    font-size: var(--text-sm);
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5);
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.amenity:hover {
    background: var(--cream-dark);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    color: var(--terracotta);
}

.amenity-icon svg {
    width: 24px;
    height: 24px;
}

.amenity span {
    font-size: var(--text-sm);
    color: var(--dark);
    font-weight: 500;
}

/* House Rules Postcard */
.house-rules {
    display: flex;
    justify-content: center;
}

.postcard {
    max-width: 500px;
    background: var(--sunshine);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transform: rotate(-1deg);
    position: relative;
}

.postcard::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 30px 30px;
}

.postcard-title {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
    text-align: center;
}

.postcard-list {
    margin-bottom: var(--space-4);
}

.postcard-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    color: var(--dark);
}

.postcard-list li::before {
    content: '☀';
    position: absolute;
    left: 0;
}

.postcard-footer {
    text-align: center;
    font-style: italic;
    color: var(--deep-blue);
}

/* ============================================
   CALENDAR SECTION
   ============================================ */
.calendar-section {
    background: var(--cream);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
}

.legend-dot--available {
    background: var(--available);
}

.legend-dot--partial {
    background: var(--partial);
}

.legend-dot--blocked {
    background: var(--blocked);
}

.legend-dot--selected {
    background: var(--selected);
}

/* Calendar Grid */
.calendar-wrapper {
    margin-bottom: var(--space-8);
    overflow-x: auto;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    min-width: 900px;
}

@media (max-width: 1024px) {
    .calendar-grid {
        grid-template-columns: 1fr;
        min-width: auto;
    }
}

.calendar-month {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow);
}

.calendar-month-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.calendar-month-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--deep-blue);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: var(--space-2);
}

.calendar-weekday {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray);
    padding: var(--space-2);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.calendar-day:hover:not(.calendar-day--empty):not(.calendar-day--blocked):not(.calendar-day--outside) {
    background: var(--gray-lighter);
}

.calendar-day--empty {
    cursor: default;
}

.calendar-day--outside {
    color: var(--gray-light);
    cursor: default;
}

.calendar-day--available {
    background: rgba(129, 178, 154, 0.2);
}

.calendar-day--available:hover {
    background: rgba(129, 178, 154, 0.4);
}

.calendar-day--partial {
    background: rgba(242, 204, 143, 0.3);
}

.calendar-day--partial:hover {
    background: rgba(242, 204, 143, 0.5);
}

.calendar-day--blocked {
    background: rgba(224, 122, 95, 0.2);
    color: var(--gray);
    cursor: not-allowed;
}

.calendar-day--selected {
    background: var(--selected) !important;
    color: var(--white);
}

.calendar-day--in-range {
    background: rgba(61, 90, 128, 0.2);
}

.calendar-day--start,
.calendar-day--end {
    background: var(--selected);
    color: var(--white);
}

/* Availability Panel */
.availability-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow);
}

.availability-title {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
    text-align: center;
}

.availability-hint {
    text-align: center;
    color: var(--gray);
    font-style: italic;
}

.availability-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.availability-room {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--cream);
    border-radius: var(--radius-lg);
}

.availability-room--available {
    border-left: 4px solid var(--mediterranean);
}

.availability-room--unavailable {
    border-left: 4px solid var(--terracotta);
    opacity: 0.6;
}

.availability-room-name {
    font-weight: 600;
    color: var(--dark);
}

.availability-room-status {
    font-size: var(--text-sm);
    color: var(--gray);
}

/* ============================================
   BOOKING FORM
   ============================================ */
.booking-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-title {
    color: var(--deep-blue);
    text-align: center;
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-group input[readonly] {
    background: var(--cream);
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: var(--text-sm);
    color: var(--gray);
    margin-bottom: var(--space-2);
}

/* Room Checkboxes */
.room-checkboxes {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.room-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--cream);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.room-checkbox:hover {
    background: var(--cream-dark);
}

.room-checkbox.selected {
    border-color: var(--terracotta);
    background: rgba(224, 122, 95, 0.1);
}

.room-checkbox.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

.room-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--terracotta);
    cursor: pointer;
}

.room-checkbox.unavailable input[type="checkbox"] {
    cursor: not-allowed;
}

.room-checkbox-info {
    flex: 1;
}

.room-checkbox-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-1);
}

.room-checkbox-bed {
    font-size: var(--text-sm);
    color: var(--gray);
}

.room-checkbox-status {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.room-checkbox-status.available {
    background: rgba(129, 178, 154, 0.2);
    color: var(--mediterranean-dark);
}

.room-checkbox-status.unavailable {
    background: rgba(224, 122, 95, 0.2);
    color: var(--terracotta-dark);
}

.room-checkbox-status.adventure {
    background: rgba(242, 204, 143, 0.3);
    color: var(--dark);
}

/* Adventure Mode Divider */
.room-checkbox-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-4) 0;
    color: var(--gray);
    font-size: var(--text-sm);
    font-style: italic;
}

.room-checkbox-divider::before,
.room-checkbox-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-lighter);
}

/* Adventure Mode Option */
.room-checkbox--adventure {
    background: linear-gradient(135deg, rgba(242, 204, 143, 0.2) 0%, rgba(212, 163, 115, 0.2) 100%);
    border: 2px dashed var(--warm-tan);
}

.room-checkbox--adventure:hover {
    background: linear-gradient(135deg, rgba(242, 204, 143, 0.3) 0%, rgba(212, 163, 115, 0.3) 100%);
}

.room-checkbox--adventure.selected {
    border-style: solid;
    border-color: var(--warm-tan);
    background: linear-gradient(135deg, rgba(242, 204, 143, 0.4) 0%, rgba(212, 163, 115, 0.4) 100%);
}

.room-checkbox--adventure .room-checkbox-name {
    color: var(--warm-tan);
}

.room-checkbox--adventure .room-checkbox-bed {
    font-style: italic;
}

.booking-form button[type="submit"] {
    margin-top: var(--space-4);
    padding: var(--space-4);
    font-size: var(--text-lg);
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   NEIGHBORHOOD SECTION
   ============================================ */
.neighborhood {
    background: var(--white);
}

.map-container {
    margin-bottom: var(--space-12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.attraction-card {
    background: var(--cream);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.attraction-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    color: var(--white);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-4);
}

.attraction-icon svg {
    width: 28px;
    height: 28px;
}

.attraction-card h4 {
    color: var(--deep-blue);
    margin-bottom: var(--space-2);
}

.attraction-card p {
    color: var(--gray);
    font-size: var(--text-sm);
}

.local-vibes {
    background: linear-gradient(135deg, var(--sunshine) 0%, var(--warm-tan) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
}

.local-vibes h3 {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
}

.local-vibes p {
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   GUIDE SECTION (Accordion)
   ============================================ */
.guide {
    background: var(--cream);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--cream);
}

.accordion-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--deep-blue);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    max-height: 2000px;
}

.accordion-body {
    padding: 0 var(--space-6) var(--space-6);
}

.accordion-body h4 {
    color: var(--terracotta);
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

.accordion-body h4:first-child {
    margin-top: 0;
}

.accordion-body p {
    color: var(--dark);
    margin-bottom: var(--space-3);
}

.accordion-body ul {
    margin-bottom: var(--space-4);
}

.accordion-body ul li {
    padding: var(--space-1) 0;
    padding-left: var(--space-5);
    position: relative;
    color: var(--dark);
}

.accordion-body ul li::before {
    content: '•';
    position: absolute;
    left: var(--space-2);
    color: var(--terracotta);
}

.accordion-body a {
    color: var(--terracotta);
    text-decoration: underline;
    text-decoration-color: rgba(224, 122, 95, 0.4);
    text-underline-offset: 2px;
    transition: var(--transition);
}

.accordion-body a:hover {
    color: var(--terracotta-dark);
    text-decoration-color: var(--terracotta);
}

.accordion-body strong {
    color: var(--deep-blue);
}

.accordion-body em {
    color: var(--terracotta);
    font-style: italic;
}

/* Phrase List */
.phrase-list {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.phrase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: var(--space-3);
    background: var(--cream);
    border-radius: var(--radius);
}

.phrase .spanish {
    font-weight: 600;
    color: var(--deep-blue);
}

.phrase .english {
    color: var(--gray);
}

.tip {
    background: var(--sunshine);
    padding: var(--space-4);
    border-radius: var(--radius);
    font-style: italic;
}

/* ============================================
   VISUAL GUIDE SECTION
   ============================================ */
.guide {
    background: var(--cream);
}

/* Guide Navigation Tabs */
.guide-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-10);
}

.guide-tab {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--dark);
    transition: var(--transition);
}

.guide-tab:hover {
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.guide-tab.active {
    background: var(--terracotta);
    color: var(--white);
}

.guide-tab svg {
    width: 18px;
    height: 18px;
}

/* Guide Content Panels */
.guide-panel {
    display: none;
}

.guide-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Guide Intro Box */
.guide-intro {
    background: linear-gradient(135deg, var(--deep-blue), var(--mediterranean));
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    text-align: center;
}

.guide-intro h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.guide-intro p {
    font-size: var(--text-lg);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Visual Cards Grid */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.guide-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.guide-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.guide-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.guide-card-badge {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    background: var(--terracotta);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    z-index: 1;
}

.guide-card-content {
    padding: var(--space-5);
}

.guide-card h4 {
    font-size: var(--text-lg);
    color: var(--deep-blue);
    margin-bottom: var(--space-2);
}

.guide-card p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.6;
}

.guide-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--terracotta);
    font-weight: 600;
}

.guide-card-meta svg {
    width: 14px;
    height: 14px;
}

/* Icon Cards (smaller, no image) */
.guide-icon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.guide-icon-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.guide-icon-card:hover {
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.guide-icon-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--terracotta), var(--warm-tan));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.guide-icon-card-icon svg {
    width: 28px;
    height: 28px;
}

.guide-icon-card h4 {
    font-size: var(--text-base);
    color: var(--deep-blue);
    margin-bottom: var(--space-2);
}

.guide-icon-card p {
    font-size: var(--text-sm);
    color: var(--gray);
}

/* Destination Cards (larger, for trips) */
.guide-destination-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.guide-destination {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.guide-destination-header {
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--deep-blue), var(--terracotta));
    color: var(--white);
}

.guide-destination-header h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
    color: var(--white);
}

.guide-destination-header .meta {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.guide-destination-body {
    padding: var(--space-5);
    flex: 1;
}

.guide-destination-body p {
    font-size: var(--text-sm);
    color: var(--gray);
    margin-bottom: var(--space-4);
}

.guide-destination-body ul {
    display: grid;
    gap: var(--space-2);
}

.guide-destination-body li {
    font-size: var(--text-sm);
    padding-left: var(--space-5);
    position: relative;
}

.guide-destination-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terracotta);
}

/* Food Grid */
.guide-food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.guide-food-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: var(--transition);
}

.guide-food-card:hover {
    transform: scale(1.02);
}

.guide-food-emoji {
    font-size: 48px;
    margin-bottom: var(--space-3);
}

.guide-food-card h4 {
    color: var(--deep-blue);
    margin-bottom: var(--space-2);
}

.guide-food-card p {
    font-size: var(--text-sm);
    color: var(--gray);
}

/* Info Grid (for practical info) */
.guide-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.guide-info-item {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    text-align: center;
}

.guide-info-item h5 {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: var(--space-2);
}

.guide-info-item p {
    font-size: var(--text-sm);
    color: var(--dark);
    font-weight: 500;
}

/* Phrase Cards */
.guide-phrases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.guide-phrase {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--terracotta);
}

.guide-phrase .spanish {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: var(--space-1);
}

.guide-phrase .english {
    font-size: var(--text-sm);
    color: var(--gray);
}

/* Travel Route Box */
.guide-route {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.guide-route h3 {
    text-align: center;
    color: var(--deep-blue);
    margin-bottom: var(--space-6);
}

.route-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    align-items: center;
}

.route-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.route-step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--deep-blue), var(--mediterranean));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    color: var(--white);
}

.route-step-icon svg {
    width: 32px;
    height: 32px;
}

.route-step h4 {
    font-size: var(--text-base);
    color: var(--deep-blue);
    margin-bottom: var(--space-1);
}

.route-step p {
    font-size: var(--text-xs);
    color: var(--gray);
}

.route-arrow {
    color: var(--terracotta);
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .route-steps {
        flex-direction: column;
    }
    .route-arrow {
        transform: rotate(90deg);
    }
}

/* Packing Checklist */
.guide-packing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.packing-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.packing-category h4 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--cream);
}

.packing-category h4 svg {
    width: 20px;
    height: 20px;
    color: var(--terracotta);
}

.packing-category ul {
    display: grid;
    gap: var(--space-2);
}

.packing-category li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--dark);
}

.packing-category li::before {
    content: '☐';
    color: var(--terracotta);
    font-size: 16px;
}

.packing-category--dont li::before {
    content: '✗';
    color: var(--gray);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--sunshine);
    margin-bottom: var(--space-2);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--sunshine);
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
}

.footer-email {
    color: var(--sunshine);
    font-weight: 500;
}

.footer-email:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.footer-copy {
    margin-top: var(--space-2);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: var(--text-3xl);
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-prev {
    left: var(--space-6);
}

.lightbox-next {
    right: var(--space-6);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--mediterranean);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-title {
    color: var(--deep-blue);
    margin-bottom: var(--space-4);
}

.modal-text {
    color: var(--gray);
    margin-bottom: var(--space-6);
}

/* Calendar Modal */
.calendar-modal-content {
    max-width: 350px;
}

.calendar-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.calendar-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--cream);
    border-radius: var(--radius-lg);
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.calendar-option:hover {
    background: var(--cream-dark);
    transform: translateX(4px);
}

.calendar-option svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(242, 204, 143, 0.2) 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.community-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.community-card--featured {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: var(--white);
}

.community-card--featured h3 {
    color: var(--white);
}

.community-card--featured p {
    color: rgba(255, 255, 255, 0.9);
}

.community-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    color: var(--terracotta);
}

.community-card--featured .community-card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.community-card-icon svg {
    width: 30px;
    height: 30px;
}

.community-card h3 {
    font-size: var(--text-xl);
    color: var(--deep-blue);
    margin-bottom: var(--space-3);
}

.community-card p {
    color: var(--gray);
    margin-bottom: var(--space-4);
}

.community-card ul {
    margin-bottom: var(--space-4);
}

.community-card ul li {
    padding: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
    font-size: var(--text-sm);
}

.community-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terracotta);
}

.community-card--featured ul li::before {
    color: rgba(255, 255, 255, 0.7);
}

.community-card--featured ul li {
    color: rgba(255, 255, 255, 0.9);
}

.community-features li {
    font-family: monospace;
    font-size: var(--text-sm);
}

.community-card .btn {
    margin-top: var(--space-4);
}

.community-card--featured .btn-primary {
    background: var(--white);
    color: #5865F2;
}

.community-card--featured .btn-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.community-note {
    font-size: var(--text-xs);
    margin-top: var(--space-3);
    opacity: 0.8;
}

/* Coordination Tips */
.coordination-tips {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
}

.coordination-tips h3 {
    color: var(--deep-blue);
    margin-bottom: var(--space-6);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.tip-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--cream);
    border-radius: var(--radius-lg);
    text-align: left;
}

.tip-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 700;
    flex-shrink: 0;
}

.tip-card p {
    font-size: var(--text-sm);
    color: var(--dark);
    margin: 0;
}

.tip-card strong {
    color: var(--deep-blue);
}

/* ============================================
   CONFETTI CANVAS
   ============================================ */
#confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 4000;
    pointer-events: none;
}

/* ============================================
   QUICK LINKS / FEATURE HIGHLIGHTS
   ============================================ */
.quick-links {
    background: var(--deep-blue);
    padding: var(--space-6) 0;
    position: relative;
    z-index: 10;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

.quick-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.quick-link-icon svg {
    width: 22px;
    height: 22px;
}

.quick-link-text {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.3;
}

.quick-link-desc {
    font-size: var(--text-xs);
    opacity: 0.8;
    font-weight: 400;
}

/* ============================================
   FLOATING CHAT BUTTON & PANEL
   ============================================ */
#chat-toggle {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--terracotta), var(--warm-tan));
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(224, 122, 95, 0.4);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(224, 122, 95, 0.5);
}

#chat-toggle.active {
    background: var(--gray);
}

#chat-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

#chat-toggle .chat-icon-close {
    display: none;
}

#chat-toggle.active .chat-icon-open {
    display: none;
}

#chat-toggle.active .chat-icon-close {
    display: block;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--mediterranean);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Panel */
#chat-panel {
    position: fixed;
    bottom: calc(var(--space-6) + 70px);
    right: var(--space-6);
    width: 380px;
    max-width: calc(100vw - var(--space-8));
    height: 500px;
    max-height: calc(100vh - 150px);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

#chat-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
    #chat-panel {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    #chat-toggle {
        bottom: calc(70px + var(--space-4));
        right: var(--space-4);
    }
}

/* Hide mobile nav when chat is open */
#chat-panel.active ~ .mobile-nav,
body:has(#chat-panel.active) .mobile-nav {
    display: none !important;
}

/* Chat Header */
.chat-header {
    padding: var(--space-4) var(--space-5);
    background: linear-gradient(135deg, var(--deep-blue), var(--mediterranean));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.chat-header h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0;
}

.chat-header p {
    font-size: var(--text-xs);
    opacity: 0.8;
    margin: 2px 0 0 0;
}

#chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

#chat-close svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

/* Chat Messages */
#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    background: var(--cream);
}

.chat-message {
    max-width: 85%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-message--own {
    align-self: flex-end;
    background: var(--deep-blue);
    color: var(--white);
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.chat-message-user {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--terracotta);
}

.chat-message--own .chat-message-user {
    color: var(--sunshine);
}

.chat-message-time {
    font-size: var(--text-xs);
    opacity: 0.6;
}

.chat-message-text {
    font-size: var(--text-sm);
    line-height: 1.5;
}

.chat-message-dates {
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: var(--text-xs);
    color: var(--mediterranean);
    font-weight: 600;
}

.chat-message--own .chat-message-dates {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--sunshine);
}

/* Chat Input Area */
.chat-footer {
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--gray-light);
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

@media (max-width: 480px) {
    .chat-footer {
        border-radius: 0;
        padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
    }
}

#chat-user-display {
    font-size: var(--text-xs);
    color: var(--gray);
    margin-bottom: var(--space-2);
    text-align: center;
}

.chat-change-name {
    background: none;
    border: none;
    color: var(--terracotta);
    cursor: pointer;
    font-size: var(--text-xs);
    text-decoration: underline;
}

#chat-input-area {
    display: flex;
    gap: var(--space-2);
}

#chat-input {
    flex: 1;
    padding: var(--space-3);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    transition: var(--transition);
}

#chat-input:focus {
    outline: none;
    border-color: var(--terracotta);
}

#chat-form button[type="submit"] {
    padding: var(--space-3) var(--space-4);
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-form button[type="submit"]:hover {
    background: var(--deep-blue);
}

#chat-form button[type="submit"] svg {
    width: 20px;
    height: 20px;
}

/* Username Prompt */
#username-prompt {
    padding: var(--space-4);
    background: var(--sunshine);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    display: none;
}

#username-prompt p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
    color: var(--dark);
}

#username-form {
    display: flex;
    gap: var(--space-2);
}

#username-input {
    flex: 1;
    padding: var(--space-3);
    border: 2px solid var(--warm-tan);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

#username-form button {
    padding: var(--space-3) var(--space-4);
    background: var(--deep-blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#username-form button:hover {
    background: var(--terracotta);
}

/* Empty chat state */
.chat-empty {
    text-align: center;
    padding: var(--space-8);
    color: var(--gray);
}

.chat-empty svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
    margin-bottom: var(--space-3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MEMORIES SECTION
   ============================================ */
.memories {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.memories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

@media (min-width: 1024px) {
    .memories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.memories-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.memories-card-header {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--sunshine) 100%);
    padding: var(--space-6);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.memories-card-header.map-header {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mediterranean) 100%);
}

.memories-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.memories-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.memories-card-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.memories-card-subtitle {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 0;
}

.memories-embed {
    aspect-ratio: 16 / 10;
    background: var(--gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.memories-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.memories-placeholder {
    text-align: center;
    padding: var(--space-8);
    color: var(--gray);
}

.memories-placeholder-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: var(--gray-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memories-placeholder-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gray);
}

.memories-placeholder p {
    margin: 0;
    font-size: var(--text-sm);
}

/* Photos Album Preview */
.memories-embed--ready {
    padding: 0;
}

.photos-album-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.photos-album-preview {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--sunshine) 0%, var(--terracotta) 100%);
    border-radius: var(--radius);
    overflow: hidden;
}

.photos-grid-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    height: 100%;
    opacity: 0.3;
}

.photos-grid-item {
    background: white;
    border-radius: 4px;
}

.photos-album-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: white;
    font-weight: 600;
    font-size: var(--text-lg);
    transition: background 0.3s ease;
}

.photos-album-overlay svg {
    width: 48px;
    height: 48px;
    stroke: white;
}

.photos-album-link:hover .photos-album-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.memories-card-footer {
    padding: var(--space-5);
    border-top: 1px solid var(--gray-lighter);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    justify-content: space-between;
}

.memories-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--cream);
    color: var(--deep-blue);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.memories-link:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.memories-link svg {
    width: 16px;
    height: 16px;
}

.memories-hint {
    font-size: var(--text-xs);
    color: var(--gray);
}

.memories-instructions {
    margin-top: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
}

.memories-instructions h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--deep-blue);
    margin: 0 0 var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.memories-instructions h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--terracotta);
}

.instructions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .instructions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.instruction-item {
    display: flex;
    gap: var(--space-4);
}

.instruction-number {
    width: 32px;
    height: 32px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.instruction-item.map-instruction .instruction-number {
    background: var(--deep-blue);
}

.instruction-content h4 {
    margin: 0 0 var(--space-1);
    font-size: var(--text-base);
    color: var(--dark);
}

.instruction-content p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--gray);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
