/* =========================================================
   EL CORAZÓN AUTÉNTICO — Main Stylesheet
   Style: Rich editorial Mexican with ornate typography,
          warm terracotta palette, and papel picado accents.
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   --------------------------------------------------------- */
:root {
    /* Color Palette */
    --orange: #D35400;
    /* Deep burnt orange — primary brand */
    --orange-dark: #A93F00;
    /* Darker shade for hover/active */
    --orange-light: #E8651A;
    /* Slightly lighter variant */
    --yellow: #F1C40F;
    /* Sun yellow — accent */
    --yellow-light: #F7D94A;
    /* Highlight */

    --charcoal: #2C3E50;
    /* Dark blue-gray for text */
    --dark: #1A1208;
    /* Near-black warm tint */
    --dark-card: #1C1005;
    /* Card/experience bg */

    --cream: #FDF6EC;
    /* Warm off-white bg */
    --cream-dark: #F4E8D5;
    /* Slightly darker cream */
    --sand: #E8D5B5;
    /* Warm sand tone */

    --text-body: #3D2B1A;
    /* Main body text */
    --text-muted: #7A6652;
    /* Secondary / muted text */
    --text-light: #C9B99A;
    /* Light text on dark bg */
    --white: #FFFFFF;

    /* Fonts */
    --font-display: 'Cinzel Decorative', serif;
    /* Logo / brand */
    --font-heading: 'Cormorant Garamond', serif;
    /* Section headings */
    --font-body: 'Lato', sans-serif;
    /* Body text */

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    --space-hero: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.24);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.6s ease;

    /* Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    --container-pad: clamp(1rem, 5vw, 2rem);
}


/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

address {
    font-style: normal;
}

/* Focus visible outline for accessibility */
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}


/* ---------------------------------------------------------
   3. LAYOUT UTILITIES
   --------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Section header block */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: var(--space-xs);
    padding: 0.3em 1em;
    border: 1px solid var(--orange);
    border-radius: 100px;
}

.section-label--light {
    color: var(--yellow);
    border-color: var(--yellow);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin: var(--space-sm) 0;
}

.section-header--light .section-title {
    color: var(--cream);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-header--light .section-subtitle {
    color: var(--text-light);
}


/* ---------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------- */

/* Primary CTA button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.85em 2em;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 2px solid var(--orange);
    transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    box-shadow: 0 8px 24px rgba(211, 84, 0, 0.35);
    transform: translateY(-2px);
}

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

/* Ghost button (hero secondary) */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.85em 2em;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.55);
    transition: all var(--transition-base);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Outline button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.85em 2em;
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    border: 2px solid var(--orange);
    transition: all var(--transition-base);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(211, 84, 0, 0.3);
    transform: translateY(-2px);
}

/* Nav button (small, in navbar) */
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55em 1.4em;
    background: var(--orange);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-nav:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   5. SCROLL ANIMATIONS
   --------------------------------------------------------- */

/* Elements start hidden and move up */
.fade-in-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

/* JS adds this class when element enters viewport */
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------------------------------------------------
   6. NAVIGATION
   --------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

/* Initially transparent over hero */
.navbar:not(.scrolled) {
    background: transparent;
}

/* Once user scrolls — dark, solid bar */
.navbar.scrolled {
    background: var(--dark);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

/* Hide navbar on scroll-down, reveal on scroll-up */
.navbar.nav-hidden {
    transform: translateY(-110%);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: var(--white);
    flex-shrink: 0;
}

.nav-logo-icon {
    color: var(--orange);
    font-size: 1.35rem;
    transition: transform var(--transition-base);
}

.nav-logo:hover .nav-logo-icon {
    transform: rotate(-12deg) scale(1.15);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: clamp(0.75rem, 1.6vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
    white-space: nowrap;
}

.nav-logo-text em {
    font-style: italic;
    color: var(--yellow);
}

/* Desktop navigation list */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5em 0.75em;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition-fast);
}

/* Animated underline on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75em;
    right: 0.75em;
    height: 2px;
    background: var(--yellow);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 4px;
    flex-shrink: 0;
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
    transform-origin: center;
}

/* Animated X state */
.nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------------------------------------------------------
   7. HERO SECTION
   --------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100dvh;
    min-height: 100vh;
    /* fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Hero background image — replace URL to change photo */
    background-image: url('Images/hero-index.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* Dark gradient overlay for text legibility */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 5, 0, 0.82) 0%,
            rgba(40, 15, 0, 0.72) 50%,
            rgba(10, 5, 0, 0.80) 100%);
    z-index: 1;
}

/* Noise/grain texture for depth */
.hero-texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Floating decorative gradient blobs */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-shape--1 {
    width: 600px;
    height: 600px;
    background: var(--orange);
    top: -100px;
    left: -200px;
    animation: shapeFloat 10s ease-in-out infinite alternate;
}

.hero-shape--2 {
    width: 400px;
    height: 400px;
    background: var(--yellow);
    bottom: -80px;
    right: -100px;
    animation: shapeFloat 13s ease-in-out infinite alternate-reverse;
}

.hero-shape--3 {
    width: 300px;
    height: 300px;
    background: var(--orange-light);
    top: 40%;
    right: 15%;
    animation: shapeFloat 8s ease-in-out infinite alternate;
}

@keyframes shapeFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -40px) scale(1.08);
    }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--container-pad) var(--space-xxl);
    max-width: 860px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column;
}

.hero-title-top {
    opacity: 0;
    animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-title-bottom {
    opacity: 0;
    animation: fadeUp 0.9s ease 0.55s forwards;
    color: var(--yellow);
}

.hero-title-bottom em {
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.9s ease 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeUp 0.9s ease 0.85s forwards;
}

/* Animated scroll cue */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.2s ease 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
        transform-origin: top;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ---------------------------------------------------------
   8. PAPEL PICADO (footer only)
   Colorful pennant banners used in the footer.
   --------------------------------------------------------- */
.footer-picado {
    position: relative;
    overflow: hidden;
    background: var(--dark-card);
}

/* The string the flags hang from */
.picado-string {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.25);
}

.picado-flags {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding-top: 2px;
    /* sits on string */
    min-height: 70px;
}

/* Each flag is a downward-pointing pentagon */
.picado-flag {
    flex: 1;
    height: 70px;
    clip-path: polygon(5% 0%, 95% 0%, 100% 85%, 50% 100%, 0% 85%);
    position: relative;
    min-width: 0;
    /* Inner cut-out pattern via a pseudo-element */
}

.picado-flag::after {
    content: '';
    position: absolute;
    inset: 8px 10px 14px;
    background: inherit;
    filter: brightness(1.4) opacity(0.25);
    clip-path: polygon(25% 0%, 75% 0%, 85% 60%, 50% 100%, 15% 60%);
}

/* Rotating 6-color cycle */
.picado-flag:nth-child(6n+1) {
    background: #D35400;
}

.picado-flag:nth-child(6n+2) {
    background: #F1C40F;
}

.picado-flag:nth-child(6n+3) {
    background: #27AE60;
}

.picado-flag:nth-child(6n+4) {
    background: #E74C3C;
}

.picado-flag:nth-child(6n+5) {
    background: #8E44AD;
}

.picado-flag:nth-child(6n+6) {
    background: #2980B9;
}


/* ---------------------------------------------------------
   9. MENU SECTION
   --------------------------------------------------------- */
.menu-section {
    padding: var(--space-xxl) 0;
    background: var(--cream);
    margin-top: 0;       /* ensure no gap below the hero wave */
}

/* 3-column CSS Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* Individual dish card */
.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Card image wrapper */
.menu-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.menu-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.menu-card:hover .menu-card__image-wrap img {
    transform: scale(1.08);
}

/* Badge labels */
.menu-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 0.3em 0.85em;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--orange);
    border-radius: 100px;
}

.menu-card__badge--featured {
    background: #C0392B;
}

.menu-card__badge--veg {
    background: #27AE60;
}

.menu-card__badge--dessert {
    background: #8E44AD;
}

/* Price tag in top-right corner */
.menu-card__price {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.2em 0.65em;
    border-radius: var(--radius-md);
}

/* Card body */
.menu-card__body {
    padding: var(--space-md) var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5em;
    line-height: 1.25;
}

.menu-card__desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: var(--space-sm);
}

/* Card footer: spice indicator + CTA */
.menu-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--cream-dark);
}

.spice-meter {
    display: flex;
    gap: 2px;
    color: var(--orange);
    font-size: 0.85rem;
}

.spice-empty {
    font-weight: 900;
    opacity: 0.25;
}

.menu-card__cta {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    transition: color var(--transition-fast), border-color var(--transition-fast);
    padding-bottom: 1px;
}

.menu-card__cta:hover {
    color: var(--orange-dark);
    border-color: var(--orange-dark);
}

/* View Full Menu footer CTA */
.menu-footer {
    text-align: center;
}


/* ---------------------------------------------------------
   10. EXPERIENCE SECTION
   --------------------------------------------------------- */
.experience-section {
    position: relative;
    padding: var(--space-xxl) 0;
    background: var(--dark-card);
    color: var(--cream);
    overflow: hidden;
}

/* Talavera-inspired decorative tile pattern overlay */
.experience-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(45deg,
            var(--orange) 0, var(--orange) 1px,
            transparent 0, transparent 50%),
        repeating-linear-gradient(-45deg,
            var(--yellow) 0, var(--yellow) 1px,
            transparent 0, transparent 50%);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Three cards in a row */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* Experience card */
.exp-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.exp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Featured card gets extra visual weight */
.exp-card--featured {
    background: rgba(211, 84, 0, 0.12);
    border-color: rgba(211, 84, 0, 0.3);
}

.exp-card--featured:hover {
    border-color: rgba(211, 84, 0, 0.55);
}

/* Card image */
.exp-card__image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.exp-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.85);
}

.exp-card:hover .exp-card__image-wrap img {
    transform: scale(1.06);
    filter: brightness(1);
}

/* Icon badge on top-right of image */
.exp-card__icon-badge {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(211, 84, 0, 0.45);
    z-index: 1;
}

.exp-card__icon-badge--featured {
    background: var(--yellow);
    color: var(--dark);
}

/* Card body */
.exp-card__body {
    padding: calc(var(--space-md) + 14px) var(--space-md) var(--space-md);
    flex: 1;
}

.exp-card__body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.6em;
}

.exp-card__body p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.exp-card__detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--yellow);
    text-transform: uppercase;
}

/* ── Stats Row ── */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-md);
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--orange);
}

.stat-label {
    display: block;
    margin-top: 0.35em;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}


/* ---------------------------------------------------------
   11. BOOKING / RESERVATIONS SECTION
   --------------------------------------------------------- */
.booking-section {
    background: var(--cream);
}

/* Split layout: image on left, form on right */
.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

/* Image panel */
.booking-panel--image {
    position: relative;
    overflow: hidden;
}

.booking-panel--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay on image */
.booking-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 5, 0, 0.88) 0%,
            rgba(10, 5, 0, 0.3) 60%,
            rgba(10, 5, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
}

/* Quote on the image */
.booking-quote {
    color: var(--white);
    border-left: 3px solid var(--orange);
    padding-left: var(--space-md);
}

.booking-quote p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 0.75em;
}

.booking-quote cite {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--yellow);
}

/* Form panel */
.booking-panel--form {
    padding: var(--space-xxl) var(--space-xl);
    display: flex;
    align-items: center;
    background: var(--cream);
}

.booking-form-content {
    width: 100%;
    max-width: 560px;
}

.booking-intro {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-xs);
}

/* ── Form Success State ── */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-sm);
}

.form-success.visible {
    display: flex;
}

.form-success__icon {
    font-size: 3.5rem;
    color: #27AE60;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.form-success p {
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.8;
}

.form-success em {
    color: var(--orange);
    font-style: italic;
}

/* ── Booking Form Layout ── */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Row of two or three fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-row--three {
    grid-template-columns: repeat(3, 1fr);
}

/* Individual form group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
}

.form-group--full {
    grid-column: 1 / -1;
}

/* Labels */
.form-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--charcoal);
}

.required {
    color: var(--orange);
    margin-left: 2px;
}

/* Inputs, selects, textarea */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75em 1em;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-body);
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: auto;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.12);
}

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

/* Validation state styles */
.form-group input.field-valid,
.form-group select.field-valid {
    border-color: #27AE60;
}

.form-group input.field-invalid,
.form-group select.field-invalid {
    border-color: #E74C3C;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

/* Error message text */
.field-error {
    font-size: 0.78rem;
    color: #E74C3C;
    font-weight: 600;
    min-height: 1.1em;
}

/* Submit button full width */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1em 2em;
    font-size: 1rem;
    margin-top: var(--space-xs);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}


/* ---------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------- */
.footer {
    background: var(--dark);
    color: var(--text-light);
}

.footer-main {
    padding: var(--space-xxl) 0 var(--space-xl);
}

/* Four-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-logo i {
    color: var(--orange);
    font-size: 1.4rem;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-logo em {
    font-style: italic;
    color: var(--yellow);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    max-width: 400px;
}

/* Social links */
.social-links {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(211, 84, 0, 0.12);
    transform: translateY(-3px);
}

/* Footer headings */
.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-md);
    padding-bottom: 0.75em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact-list li {
    display: flex;
    gap: 0.85em;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--orange);
    font-size: 0.9rem;
    margin-top: 0.25em;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--yellow);
}

/* Opening hours table */
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 0.65em;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    font-size: 0.875rem;
    padding-bottom: 0.65em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-day {
    color: var(--text-light);
}

.hours-time {
    color: var(--yellow);
    font-weight: 700;
    white-space: nowrap;
}

.footer-brunch-note {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.footer-links li a {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.footer-links li a i {
    font-size: 0.65rem;
    color: var(--orange);
    transition: transform var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--yellow);
    padding-left: 4px;
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-md) 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-copy i {
    color: var(--orange);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--text-light);
}


/* ---------------------------------------------------------
   13. BACK TO TOP BUTTON
   --------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(211, 84, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}


/* ---------------------------------------------------------
   13b. PNG BRUSH-STROKE SECTION DIVIDERS
   ─────────────────────────────────────────────────────────
   Technique: transparent PNG (Images/brushdivider.png) with
   white grunge brush strokes on a fully transparent field.

   HOW IT WORKS — dark-above (e.g. hero → menu, experience → booking)
   ┌────────────────────────────────────────────────────────────┐
   │  .brush-divider-png                                        │
   │  ┌─────────────────────────────────────┐  ← background:   │
   │  │  [dark bg fills transparent areas]  │    var(--dark)    │
   │  │    ~ ~ ~ white brush strokes ~ ~ ~  │  ← PNG image     │
   │  └─────────────────────────────────────┘                   │
   │  .light-section (starts immediately below)                 │
   │                                                            │
   │  The divider has background-color = dark section colour.   │
   │  The PNG's transparent areas show that dark bg; the white  │
   │  strokes mark the edge. The light section begins right at  │
   │  the divider's bottom edge — so the white paint strokes    │
   │  appear to blend seamlessly into the cream background.     │
   └────────────────────────────────────────────────────────────┘

   HOW IT WORKS — light-above (e.g. menu → experience)
   ┌────────────────────────────────────────────────────────────┐
   │  .brush-divider-png--light-above                           │
   │  ┌─────────────────────────────────────┐  ← background:   │
   │  │  ~ ~ ~ white brush strokes ~ ~ ~    │    var(--dark)    │
   │  │  [dark bg fills transparent areas]  │  ← PNG flipped   │
   │  └─────────────────────────────────────┘    scaleY(-1)     │
   │  .dark-section (starts immediately below)                  │
   │                                                            │
   │  The PNG is flipped vertically so strokes appear at the    │
   │  TOP of the divider. The dark bg-color matches the dark    │
   │  section below, making the divider and that section one    │
   │  continuous dark field. The white strokes sit right at the │
   │  light/dark boundary — rough, organic, and seamless.       │
   └────────────────────────────────────────────────────────────┘
   --------------------------------------------------------- */

/* ── Base divider strip ───────────────────────────────────── */
.brush-divider-png {
    display: block;
    position: relative;
    width: 100%;
    height: 80px;
    line-height: 0;
    font-size: 0;
    /* Collapse any sub-pixel gaps between sections */
    margin-top: -1px;
    margin-bottom: -1px;
    overflow: hidden;
}

.brush-divider-png img {
    display: block;
    width: 100%;
    height: 100%;
    /* Stretch PNG to fill divider width regardless of source resolution */
    object-fit: fill;
}

/* ── Dark section above → light section below ─────────────── *
   Background = the dark section's colour.                      *
   The PNG's transparent areas inherit that colour;             *
   the white strokes mark the rough bottom edge.                *
   The cream section below shows from the divider's bottom onward */
.brush-divider-png--dark-above {
    background-color: var(--dark-card);
}

/* Hero → menu variant: absolutely anchored to the hero's bottom edge.
   Positioned inside .hero so it paints directly on the photo —
   no sibling gap, no dark background leaking through. */
.brush-divider-png--hero {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;          /* above hero-content (z-index 3) */
    background-color: transparent;
    margin: 0;           /* cancel the base -1px margins */
    height: 80px;
    pointer-events: none;
}

/* ── Light section above → dark section below ─────────────── *
   Background = the dark section's colour (experience below).   *
   PNG is flipped vertically so brush strokes land at the TOP   *
   of the strip — right at the light/dark seam.                 *
   Transparent areas above the strokes within the flipped PNG   *
   show the same dark bg, blending straight into the dark sec.  */
.brush-divider-png--light-above {
    background-color: var(--dark-card);
}

.brush-divider-png--light-above img {
    transform: scaleY(-1);
    /* Flip: strokes move from bottom → top */
}


/* ---------------------------------------------------------
   14. RESPONSIVE — TABLET (≤ 1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .exp-card--featured {
        order: -1;
    }

    .stats-row {
        gap: var(--space-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-panel--image {
        min-height: 360px;
    }

    .booking-panel--form {
        padding: var(--space-xl) var(--space-lg);
    }
}


/* ---------------------------------------------------------
   15. RESPONSIVE — MOBILE (≤ 768px)
   --------------------------------------------------------- */
@media (max-width: 768px) {

    /* --- NAV MOBILE --- */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-md) var(--container-pad) var(--space-lg);
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);

        /* Slide-in from top */
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base), transform var(--transition-base);
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.85em 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        letter-spacing: 0.12em;
    }

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

    .nav-cta {
        padding-top: var(--space-sm);
        border-bottom: none !important;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 0.85em 1.4em;
    }

    /* --- HERO MOBILE --- */
    .hero {
        background-attachment: scroll;
    }

    /* Remove parallax on mobile (performance) */

    .hero-title {
        font-size: clamp(2.4rem, 9vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-ghost,
    .hero-actions .btn-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* --- MENU GRID MOBILE --- */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* --- FORM MOBILE --- */
    .form-row,
    .form-row--three {
        grid-template-columns: 1fr;
    }

    /* --- STATS MOBILE --- */
    .stats-row {
        flex-direction: column;
        gap: 0;
        padding: var(--space-md);
    }

    .stat-item {
        width: 100%;
        padding: var(--space-sm);
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
    }

    /* --- FOOTER MOBILE --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-hours li {
        flex-direction: column;
        gap: 0.1em;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}


/* ---------------------------------------------------------
   16. RESPONSIVE — SMALL MOBILE (≤ 480px)
   --------------------------------------------------------- */
@media (max-width: 480px) {
    :root {
        --space-xxl: 4rem;
        --space-xl: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .booking-panel--form {
        padding: var(--space-lg) var(--container-pad);
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}


/* ---------------------------------------------------------
   17. STICKY MOBILE CTA (Mobile Only)
   --------------------------------------------------------- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none; /* Hidden on desktop */
    grid-template-columns: 1fr 1fr;
    background: var(--dark);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1100;
    padding: 0.75rem;
    gap: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Hidden state for JS to toggle */
.sticky-cta--hidden {
    transform: translateY(102%);
    opacity: 0;
    pointer-events: none;
}

.sticky-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.sticky-cta__btn--phone {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sticky-cta__btn--reserve {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

.sticky-cta__btn svg {
    flex-shrink: 0;
}

.sticky-cta__btn:active {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .sticky-cta {
        display: grid;
    }

    /* Padding for back-to-top so it doesn't overlap */
    .back-to-top.visible {
        bottom: 5.5rem;
    }
}


/* ---------------------------------------------------------
   18. PRINT STYLES
   --------------------------------------------------------- */
@media print {

    .navbar,
    .hero-scroll-indicator,
    .back-to-top,
    .hero-shapes,
    .hero-texture {
        display: none !important;
    }

    .hero {
        min-height: auto;
        background: none;
        color: var(--dark);
        padding: 2rem 0;
    }

    .hero-overlay {
        display: none;
    }

    * {
        box-shadow: none !important;
    }
}