/* ========================================
   JUGOS Y LICUADOS EL CACTUS
   Bold Editorial — Emerald & Cream
   ======================================== */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fafaf5;
    --cream-100: #f5f5ed;
    --cream-200: #e8e8d8;
    --cream-300: #d4d4be;
    --charcoal: #1a1a1a;
    --charcoal-700: #2d2d2d;
    --charcoal-600: #3d3d3d;
    --charcoal-500: #555555;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 72px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--emerald-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--charcoal-500);
    max-width: 560px;
    line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(250, 250, 245, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
    color: var(--emerald-900);
}

.nav-logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

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

.nav.scrolled .nav-links a {
    color: var(--charcoal-600);
}

.nav.scrolled .nav-links a:hover {
    color: var(--emerald-700);
}

.nav-cta {
    background-color: var(--white);
    color: var(--emerald-900) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

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

.nav.scrolled .nav-cta {
    background-color: var(--emerald-700);
    color: var(--white) !important;
}

.nav.scrolled .nav-cta:hover {
    background-color: var(--emerald-800) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle-bar {
    background-color: var(--charcoal);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: var(--emerald-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--white);
}

.mobile-menu-cta {
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-200) !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.875rem 2rem;
    border-radius: 6px;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 78, 59, 0.55) 0%,
        rgba(6, 78, 59, 0.7) 50%,
        rgba(6, 30, 22, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: var(--nav-height);
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--cream-200);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- INTRO STRIP --- */
.intro-strip {
    background-color: var(--emerald-900);
    padding: 3rem 2rem;
}

.intro-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.intro-item {
    text-align: center;
}

.intro-item-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.intro-item-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.intro-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

/* --- MENU --- */
.menu {
    padding: 6rem 2rem;
    background-color: var(--cream-50);
}

.menu-container {
    max-width: 1280px;
    margin: 0 auto;
}

.menu-header {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-header .section-subtitle {
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.menu-card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.04);
}

.menu-card-body {
    padding: 1.75rem;
}

.menu-card-title {
    font-size: 1.5rem;
    color: var(--emerald-900);
    margin-bottom: 0.625rem;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    font-style: italic;
}

/* --- ABOUT --- */
.about {
    padding: 6rem 2rem;
    background-color: var(--cream-100);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.about-value-icon {
    flex-shrink: 0;
    color: var(--emerald-700);
}

/* --- VISIT --- */
.visit {
    padding: 6rem 2rem;
    background-color: var(--emerald-900);
}

.visit-container {
    max-width: 1280px;
    margin: 0 auto;
}

.visit-header {
    text-align: center;
    margin-bottom: 3rem;
}

.visit-header .section-eyebrow {
    color: var(--emerald-500);
}

.visit-header .section-title {
    color: var(--white);
}

.visit-header .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
    margin: 0 auto;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.visit-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: background-color 0.25s ease;
}

.visit-card:hover {
    background-color: rgba(255, 255, 255, 0.11);
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--emerald-400);
}

.visit-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.visit-card-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.visit-card-text a {
    color: var(--emerald-400);
    transition: color 0.2s ease;
}

.visit-card-text a:hover {
    color: var(--white);
}

.visit-cta {
    text-align: center;
}

.visit-cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--charcoal);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    font-size: 1.5rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- SCROLL REVEAL (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        aspect-ratio: 16 / 9;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .intro-strip-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .intro-item {
        text-align: left;
    }

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

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

    .menu, .about, .visit {
        padding: 4rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1.25rem;
    }

    .nav-inner {
        padding: 0 1.25rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

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