/* === MESA ROJA - Bold Asymmetric Spanish Design === */

:root {
    --rojo: #b5332e;
    --rojo-dark: #8c2420;
    --terracotta: #c4753b;
    --sand: #f2e6d0;
    --sand-light: #faf4eb;
    --brown: #3a2a1f;
    --brown-deep: #1e150f;
    --sage: #6b7f5e;
    --text-dark: #1e150f;
    --text-mid: #6a5a4a;
    --text-light: rgba(242, 230, 208, 0.6);
    --text-dim: rgba(242, 230, 208, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--sand-light);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* === SIDE LABEL === */
.side-label {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-dim);
    z-index: 90;
    white-space: nowrap;
    mix-blend-mode: difference;
    pointer-events: none;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 28px 0;
    transition: all 0.4s;
}

.navbar.scrolled {
    padding: 16px 0;
}

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

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--sand);
    text-decoration: none;
    mix-blend-mode: difference;
}

.burger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.burger-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sand);
    mix-blend-mode: difference;
}

.burger-lines {
    width: 24px;
    height: 14px;
    position: relative;
}

.burger-lines span {
    position: absolute;
    left: 0;
    height: 1.5px;
    background: var(--sand);
    transition: all 0.3s;
    mix-blend-mode: difference;
}

.burger-lines span:nth-child(1) { top: 0; width: 100%; }
.burger-lines span:nth-child(2) { top: 6px; width: 70%; }
.burger-lines span:nth-child(3) { top: 12px; width: 100%; }

.burger.open .burger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger.open .burger-lines span:nth-child(2) { opacity: 0; }
.burger.open .burger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* === MENU OVERLAY === */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--brown-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.menu-overlay.open {
    transform: translateY(0);
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.overlay-link {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--sand);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    line-height: 1.3;
}

.overlay-link::before {
    content: attr(data-num);
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--rojo);
}

.overlay-link:hover { color: var(--rojo); }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--brown-deep);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, transparent 0px, transparent 30px, rgba(255,255,255,0.15) 30px, rgba(255,255,255,0.15) 31px),
        repeating-linear-gradient(-45deg, transparent 0px, transparent 30px, rgba(255,255,255,0.15) 30px, rgba(255,255,255,0.15) 31px);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 48px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    width: 180px; height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(181, 51, 46, 0.3);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 51, 46, 0.05);
}

.hero-logo {
    width: 140px; height: 140px;
    object-fit: contain;
}

.hero-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
}

.meta-divider {
    color: var(--rojo);
    font-size: 0.8rem;
}

.hero-title {
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
}

.ht-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--sand);
}

.ht-bold {
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--rojo);
}

.ht-outline {
    -webkit-text-stroke: 2px var(--sand);
    color: transparent;
    font-size: clamp(3rem, 8vw, 7rem);
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hf-line {
    width: 60px; height: 1px;
    background: var(--rojo);
    opacity: 0.5;
}

.hf-text {
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* === ABOUT === */
.about {
    padding: 160px 0 120px;
    background: var(--sand-light);
    position: relative;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.about-top {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.about-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    color: var(--rojo);
    opacity: 0.1;
    line-height: 1;
    flex-shrink: 0;
}

.about-heading h2 {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--brown);
}

.about-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-lead {
    font-family: 'Abril Fatface', serif;
    font-size: 1.15rem;
    color: var(--rojo-dark);
    line-height: 1.8;
}

.about-col-right p {
    font-size: 0.9rem;
    color: var(--text-mid);
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 20px;
    border: 1px solid var(--rojo);
    border-radius: 30px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rojo);
}

/* === BIG MARQUEE === */
.big-marquee {
    padding: 40px 0;
    background: var(--rojo);
    overflow: hidden;
}

.bm-track {
    display: flex;
    white-space: nowrap;
    animation: bm-scroll 20s linear infinite;
}

.bm-track span {
    font-family: 'Abril Fatface', serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.15);
    padding-right: 20px;
    flex-shrink: 0;
}

@keyframes bm-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === CARTA / MENU === */
.carta {
    padding: 140px 0;
    background: var(--sand-light);
}

.carta-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.carta-header {
    margin-bottom: 70px;
}

.carta-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--rojo);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: -20px;
}

.carta-header h2 {
    font-family: 'Abril Fatface', serif;
    font-size: 2.8rem;
    color: var(--brown);
    margin-bottom: 8px;
}

.carta-sub {
    font-size: 0.88rem;
    color: var(--text-mid);
    font-weight: 300;
}

.carta-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.col-title {
    font-family: 'Abril Fatface', serif;
    font-size: 1.2rem;
    color: var(--rojo);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.col-icon { font-size: 1rem; }

.carta-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(30, 21, 15, 0.06);
}

.carta-item:last-child { border-bottom: none; }

.ci-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.ci-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brown);
}

.ci-price {
    font-family: 'Abril Fatface', serif;
    font-size: 0.95rem;
    color: var(--rojo);
}

.carta-item p {
    font-size: 0.78rem;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.5;
}

/* === FULLWIDTH QUOTE === */
.fw-quote {
    padding: 140px 0;
    background: var(--brown-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fw-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(181, 51, 46, 0.06) 0%, transparent 70%);
}

.fwq-inner {
    position: relative;
    z-index: 1;
    padding: 0 32px;
}

.fwq-open {
    font-family: 'Abril Fatface', serif;
    font-size: 5rem;
    color: var(--rojo);
    opacity: 0.3;
    line-height: 0.5;
    display: block;
    margin-bottom: 20px;
}

.fwq-text {
    font-family: 'Abril Fatface', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--sand);
    line-height: 1.3;
    margin-bottom: 20px;
}

.fwq-translation {
    font-size: 0.85rem;
    color: var(--terracotta);
    font-style: italic;
    letter-spacing: 1px;
}

/* === SPIRIT === */
.espiritu {
    padding: 140px 0;
    background: var(--sand-light);
}

.esp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.esp-header {
    margin-bottom: 70px;
}

.esp-header h2 {
    font-family: 'Abril Fatface', serif;
    font-size: 2.8rem;
    color: var(--brown);
}

.esp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.esp-card {
    position: relative;
    padding: 48px 32px;
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.esp-card:hover { transform: translateY(-8px); }

.esp-card-bg {
    position: absolute;
    inset: 0;
    background: var(--accent, var(--rojo));
    opacity: 0.08;
    transition: opacity 0.4s;
}

.esp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent, var(--rojo));
    border-radius: 12px;
    opacity: 0.15;
}

.esp-card:hover .esp-card-bg { opacity: 0.12; }

.esp-card-content {
    position: relative;
    z-index: 1;
}

.esp-card h3 {
    font-family: 'Abril Fatface', serif;
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 12px;
}

.esp-card p {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
}

/* === FOOD STRIP === */
.food-strip {
    overflow: hidden;
    padding: 0;
    background: var(--brown-deep);
}

.strip-scroll {
    display: flex;
    gap: 4px;
    animation: stripSlide 25s linear infinite;
}

.strip-img {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.strip-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 21, 15, 0.8) 0%, transparent 50%);
}

.strip-img span {
    position: relative;
    z-index: 1;
    font-family: 'Abril Fatface', serif;
    font-size: 0.85rem;
    color: var(--rojo);
    letter-spacing: 1px;
}

@keyframes stripSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === FOOTER === */
.footer {
    background: var(--brown-deep);
    padding: 80px 0 32px;
    border-top: 3px solid var(--rojo);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ft-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--sand);
}

.ft-sub {
    font-family: 'Abril Fatface', serif;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--rojo);
    letter-spacing: 1px;
}

.footer-contact h4 {
    font-family: 'Abril Fatface', serif;
    font-size: 0.9rem;
    color: var(--sand);
    margin-bottom: 8px;
}

.footer-contact p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.68rem;
    transition: color 0.3s;
}

.footer-legal a:hover { color: var(--rojo); }
.footer-legal span { color: rgba(242, 230, 208, 0.15); font-size: 0.6rem; }

.footer-bottom p {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .side-label { display: none; }
    .nav-inner { padding: 0 24px; }

    .hero-layout {
        grid-template-columns: 1fr;
        padding: 0 24px;
        gap: 40px;
        text-align: center;
    }

    .hero-badge { margin: 0 auto 24px; width: 140px; height: 140px; }
    .hero-logo { width: 100px; height: 100px; }
    .hero-meta { justify-content: center; }
    .hero-footer { right: 24px; }

    .about-container, .carta-container, .esp-container, .footer-container { padding: 0 24px; }

    .about-top { flex-direction: column; gap: 20px; }
    .about-number { font-size: 4rem; }
    .about-bottom { grid-template-columns: 1fr; gap: 30px; }

    .carta-columns { grid-template-columns: 1fr; gap: 40px; }

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

    .overlay-link { font-size: 2rem; }
    .overlay-link::before { display: none; }

    .footer-top { flex-direction: column; gap: 40px; }

    .about, .carta, .espiritu { padding: 80px 0; }
}

@media (max-width: 480px) {
    .ht-line { font-size: 2rem !important; }
    .ht-bold, .ht-outline { font-size: 2.5rem !important; }

    .ci-top { flex-direction: column; gap: 2px; }
}
