/* ============================================================
   AVILA GRILL MIAMI — style.css
   ============================================================ */

/* --- Custom Fonts --- */
@font-face {
    font-family: 'AGrill_display';
    src: url('../fonts/BAIKAL.ttf');
    font-display: swap;
}

@font-face {
    font-family: 'AGrill_body';
    src: url('../fonts/UPCLI.TTF');
    font-display: swap;
}

/* --- Variables --- */
:root {
    --dark:    #201e1e;
    --dark2:   #141212;
    --dark3:   #2c2929;
    --gold:    #C9A052;
    --gold2:   #b8882a;
    --white:   #ffffff;
    --bg:      #faf8f5;
    --green:   #2E7D32;
    --green2:  #43A047;
    --panel:   rgba(18, 17, 17, 0.94);
    --line:    rgba(255, 255, 255, 0.08);
    --radius:  10px;
    --shadow:  0 4px 16px rgba(0, 0, 0, 0.15);
    --header-h: 68px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'AGrill_body', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

/* ============================================================
   HEADER
   ============================================================ */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(20, 18, 18, 0.54), rgba(20, 18, 18, 0));
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease,
        backdrop-filter 0.35s ease, border-color 0.35s ease;
}

#header.scrolled {
    background-color: rgba(20, 18, 18, 0.82);
    padding: 0.55rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.nav-open #header {
    background-color: rgba(20, 18, 18, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.header-logo .logo {
    max-height: 3rem;
    width: auto;
}

/* Desktop nav */
.nav {
    display: flex;
    align-items: center;
}

.nav-panel {
    display: flex;
    align-items: center;
}

.nav-panel-header,
.nav-panel-footer,
.nav-link-index {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.84);
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 82, 0.9), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--white);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    transform: scaleX(1);
}

/* Hamburger buttons (hidden on desktop) */
.abrir-menu,
.cerrar-menu {
    display: none;
    cursor: pointer;
    font-family: 'AGrill_body', sans-serif;
    outline: none;
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 4, 0.58);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 998;
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile nav panel + menu PDF toggle */
@media (max-width: 768px) {
    #header {
        padding: 0.95rem 1rem;
    }

    #header.scrolled {
        padding: 0.7rem 1rem;
    }

    .header-logo .logo {
        max-height: 2.7rem;
    }

    .abrir-menu {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: rgba(13, 12, 12, 0.72);
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        padding: 0.8rem 0.95rem;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(18px);
        transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .abrir-menu:hover,
    .abrir-menu:focus-visible {
        transform: translateY(-1px);
        border-color: rgba(201, 160, 82, 0.4);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .abrir-menu-box {
        width: 20px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .abrir-menu-line {
        height: 1.5px;
        border-radius: 999px;
        background: var(--white);
        transform-origin: center;
        transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
    }

    .abrir-menu-line:nth-child(2) {
        width: 72%;
    }

    .abrir-menu-line:nth-child(3) {
        width: 88%;
    }

    .abrir-menu.active .abrir-menu-line:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }

    .abrir-menu.active .abrir-menu-line:nth-child(2) {
        opacity: 0;
        width: 100%;
    }

    .abrir-menu.active .abrir-menu-line:nth-child(3) {
        width: 100%;
        transform: translateY(-5.5px) rotate(-45deg);
    }

    .abrir-menu-text {
        font-size: 0.74rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

    /* Mostrar botón PDF y ocultar tabs del menú */
    .menu-mobile-cta {
        display: block !important;
    }

    .menu-nav,
    .menu-tab-content {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        padding: calc(var(--header-h) + 0.85rem) 1rem 1rem;
        display: flex;
        justify-content: flex-end;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        z-index: 999;
    }

    .nav.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-panel {
        width: min(100%, 360px);
        margin-left: auto;
        display: block;
        padding: 1.1rem;
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(30, 28, 28, 0.98), var(--panel));
        border: 1px solid rgba(201, 160, 82, 0.16);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(22px);
        transform: translateY(-14px) scale(0.97);
        transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
        overflow: hidden;
        position: relative;
    }

    .nav-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(201, 160, 82, 0.72), transparent);
    }

    .nav.visible .nav-panel {
        transform: translateY(0) scale(1);
    }

    .nav-panel-header,
    .nav-panel-footer,
    .nav-link-index {
        display: block;
    }

    .nav-panel-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 0.85rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-panel-copy p,
    .nav-panel-footer p {
        margin-bottom: 0;
    }

    .nav-eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.38);
        margin-bottom: 0.45rem;
    }

    .nav-title {
        font-family: 'AGrill_display', sans-serif;
        font-size: 1.15rem;
        color: var(--white);
        letter-spacing: 0.08em;
        line-height: 1.2;
    }

    .cerrar-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
        color: rgba(255, 255, 255, 0.72);
        border-radius: 999px;
        padding: 0.5rem 0.8rem;
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    }

    .cerrar-menu:hover,
    .cerrar-menu:focus-visible {
        color: var(--white);
        border-color: rgba(201, 160, 82, 0.35);
        background: rgba(201, 160, 82, 0.08);
    }

    .nav-list {
        flex-direction: column;
        gap: 0.7rem;
    }

    .nav-list a {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.9rem;
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.16em;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
        transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list a:hover,
    .nav-list a:focus-visible {
        transform: translateX(4px);
        border-color: rgba(201, 160, 82, 0.32);
        background: linear-gradient(135deg, rgba(201, 160, 82, 0.12), rgba(255, 255, 255, 0.04));
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    }

    .nav-link-index {
        font-size: 0.68rem;
        color: rgba(201, 160, 82, 0.86);
        letter-spacing: 0.22em;
    }

    .nav-link-text {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .nav-panel-footer {
        margin-top: 0.95rem;
        padding-top: 0.95rem;
        border-top: 1px solid var(--line);
    }

    .nav-panel-note {
        font-size: 0.74rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.42);
        letter-spacing: 0.05em;
    }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section {
    padding: 5rem 0;
    scroll-margin-top: var(--header-h);
}

.section-title {
    font-family: 'AGrill_display', sans-serif;
    font-size: 2.2rem;
    color: var(--gold);
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* ============================================================
   HERO (#home)
   ============================================================ */

#home {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 500px;
    background-image: url('../img/FoodTruckAvilaGrill.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 30, 30, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

.hero-tagline {
    font-family: 'AGrill_body', sans-serif;
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.hero-cta {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-family: 'AGrill_display', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    padding: 0.85rem 2.8rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-cta:hover {
    background-color: var(--gold2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: var(--dark);
}

/* ============================================================
   ABOUT (#about)
   ============================================================ */

#about {
    background-color: var(--bg);
}

#about .section-title {
    color: var(--dark);
}

#about .section-divider {
    background-color: var(--gold);
}

.about-text {
    font-family: 'AGrill_body', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3a3636;
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-grid img {
    width: 380px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
    filter: brightness(0.97);
}

.about-grid img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about-grid img {
        width: 100%;
        max-width: 420px;
        height: 260px;
    }
}

/* ============================================================
   MENU (#menu)
   ============================================================ */

#menu {
    background-color: var(--dark);
}

#menu .section-title {
    color: var(--gold);
}

#menu .section-divider {
    background-color: var(--gold);
}

.menu-desktop-shell,
.menu-pdf-desktop {
    display: none;
}

@keyframes menuGlowPulse {
    0%, 100% {
        box-shadow: 0 12px 28px rgba(201, 160, 82, 0.18);
    }
    50% {
        box-shadow: 0 18px 42px rgba(201, 160, 82, 0.32);
    }
}

@keyframes menuSignalPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

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

.menu-desktop-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 2.2rem;
    margin-bottom: 2rem;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(201, 160, 82, 0.2);
    background:
        radial-gradient(circle at top left, rgba(201, 160, 82, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(67, 160, 71, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        #181515;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.menu-desktop-showcase::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(201, 160, 82, 0.08);
    filter: blur(18px);
    pointer-events: none;
}

.menu-desktop-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 82, 0.16), transparent);
    opacity: 0.55;
    pointer-events: none;
    animation: menuBorderSweep 6s linear infinite;
}

.menu-desktop-copy,
.menu-desktop-signal,
.menu-pdf-panel-head,
.menu-pdf-embed {
    position: relative;
    z-index: 1;
}

.menu-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 160, 82, 0.35);
    background: rgba(201, 160, 82, 0.08);
    color: var(--gold);
    font-family: 'AGrill_display', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.menu-desktop-title {
    font-family: 'AGrill_display', sans-serif;
    font-size: clamp(2rem, 3vw, 3.1rem);
    color: var(--white);
    line-height: 1.02;
    margin-bottom: 0.9rem;
    max-width: 12ch;
}

.menu-desktop-text {
    max-width: 58ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

.menu-desktop-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.btn-menu-primary,
.btn-menu-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'AGrill_display', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-menu-primary {
    color: var(--dark);
    background: linear-gradient(135deg, #e4bc70, var(--gold));
    box-shadow: 0 12px 28px rgba(201, 160, 82, 0.18);
    animation: menuGlowPulse 2.8s ease-in-out infinite;
}

.btn-menu-primary:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(201, 160, 82, 0.3);
}

.btn-menu-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.btn-menu-secondary:hover {
    color: var(--white);
    transform: translateY(-3px);
    border-color: rgba(201, 160, 82, 0.45);
    background: rgba(201, 160, 82, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.menu-desktop-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.menu-signal-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #66bb6a;
    box-shadow: 0 0 0 6px rgba(102, 187, 106, 0.12);
    animation: menuSignalPulse 2s ease-in-out infinite;
}

.menu-pdf-desktop {
    scroll-margin-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2.2rem;
}

.menu-pdf-panel {
    position: relative;
    padding: 1rem;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(201, 160, 82, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        #1b1818;
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
}

.menu-pdf-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(201, 160, 82, 0.14), transparent 28%),
        linear-gradient(135deg, transparent 15%, rgba(255, 255, 255, 0.03), transparent 65%);
    pointer-events: none;
}

.menu-pdf-panel-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.35rem 0.35rem 1rem;
}

.menu-pdf-lights {
    display: inline-flex;
    gap: 0.35rem;
}

.menu-pdf-lights span {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.menu-pdf-lights span:nth-child(1) {
    background: #ff6b6b;
}

.menu-pdf-lights span:nth-child(2) {
    background: #f7c948;
}

.menu-pdf-lights span:nth-child(3) {
    background: #66bb6a;
}

.menu-pdf-label {
    margin: 0 auto 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'AGrill_display', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.menu-pdf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 160, 82, 0.4);
    color: var(--gold);
    text-decoration: none;
    font-family: 'AGrill_display', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(201, 160, 82, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.menu-pdf-link:hover {
    color: var(--dark);
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(201, 160, 82, 0.24);
}

.menu-pdf-embed {
    width: 100%;
    height: 78vh;
    min-height: 760px;
    max-height: 960px;
    border: 0;
    border-radius: 20px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.menu-pdf-fallback {
    width: 100%;
    height: 100%;
    min-height: 760px;
    display: grid;
    place-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #f2f0eb);
    color: var(--dark);
}

.menu-pdf-fallback p {
    margin: 0;
    font-size: 1rem;
    color: #544f4f;
}

.menu-pdf-fallback a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    background: var(--gold);
    color: var(--dark);
    font-family: 'AGrill_display', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu-pdf-note {
    margin: 1rem 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

@media (min-width: 769px) {
    .menu-desktop-shell,
    .menu-pdf-desktop {
        display: block;
    }
}

@media (max-width: 1100px) {
    .menu-desktop-showcase {
        grid-template-columns: 1fr;
    }

    .menu-desktop-title {
        max-width: none;
    }

    .menu-desktop-signal {
        justify-self: start;
    }
}

/* Sticky nav container — se pega debajo del header al hacer scroll */
.menu-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    background: var(--dark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
    margin-bottom: 0;
}

/* Horizontal scrollable wrapper — scrollbar oculto */
.menu-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.85rem 0;
}

.menu-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

/* Pills row */
.menu-tabs {
    border-bottom: none !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    min-width: max-content;
    gap: 0.45rem;
    padding: 0 0.25rem;
}

/* Tab pill base */
.menu-tabs .nav-link {
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55) !important;
    border: 1.5px solid rgba(201, 160, 82, 0.25) !important;
    border-radius: 50px !important;
    padding: 0.42rem 1rem;
    background: transparent !important;
    transition: all 0.2s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-tabs .nav-link:hover {
    color: var(--white) !important;
    border-color: rgba(201, 160, 82, 0.65) !important;
    background: rgba(201, 160, 82, 0.1) !important;
}

/* Active pill — gold filled */
.menu-tabs .nav-link.active {
    color: var(--dark) !important;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    font-weight: bold;
}

.menu-tab-content {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

/* Menu card */
.menu-card {
    background-color: var(--dark3);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.menu-card-img {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.menu-card-no-img {
    height: 200px;
    background: linear-gradient(135deg, #3a3636, #2c2929);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-card-no-img i {
    font-size: 3.2rem;
    color: var(--gold);
    opacity: 0.45;
}

.menu-card-body {
    padding: 1.1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-name {
    font-family: 'AGrill_display', sans-serif;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.menu-card-desc {
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.9rem;
}

.menu-card-price {
    display: inline-block;
    background-color: var(--gold);
    color: var(--dark);
    font-family: 'AGrill_display', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 0.22rem 0.85rem;
    border-radius: 20px;
    align-self: flex-start;
}

/* Sub-group headers inside a tab pane */
.menu-group-title {
    font-family: 'AGrill_display', sans-serif;
    font-size: 1.25rem;
    color: var(--gold);
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 160, 82, 0.3);
    letter-spacing: 0.04em;
}

.menu-group-title:first-child {
    margin-top: 0;
}

/* ============================================================
   MENU — MOBILE PDF CTA
   ============================================================ */

.menu-mobile-cta {
    display: none; /* oculto por defecto; el @media lo activa en mobile */
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
}

/* Forzar ocultación en desktop (cascada segura) */
@media (min-width: 769px) {
    .menu-mobile-cta {
        display: none !important;
    }
}

.btn-abrir-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: 'AGrill_display', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1rem 2.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-abrir-menu i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-abrir-menu:hover,
.btn-abrir-menu:active {
    background-color: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 28px rgba(201, 160, 82, 0.3);
}

.menu-mobile-hint {
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
    margin-top: 0.9rem;
    margin-bottom: 0;
}

/* === Contacto === */

.ag-contact-section {
    background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

.ag-contact-section .section-title {
    color: var(--gold);
}

.ag-contact-section .section-divider {
    background-color: var(--gold);
}

.ag-contact-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(201, 160, 82, 0.18);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ag-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 82, 0.55), transparent);
}

.ag-contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 160, 82, 0.42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}

.ag-contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201, 160, 82, 0.1);
    border: 1px solid rgba(201, 160, 82, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}

.ag-contact-card-title {
    font-family: 'AGrill_display', sans-serif;
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

/* Hours table — adapted for dark background */
.hours-table {
    width: 100%;
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    border-collapse: collapse;
    text-align: left;
}

.hours-table td {
    padding: 0.55rem 0.5rem;
}

.hours-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--green2);
    font-weight: bold;
}

.hours-table tr.closed td:last-child {
    color: #e57373;
}

/* Phone */
.ag-phone-number {
    font-family: 'AGrill_display', sans-serif;
    font-size: 1.9rem;
    color: var(--white);
    margin-bottom: 1.4rem;
    display: block;
    letter-spacing: 0.02em;
}

.ag-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--green), var(--green2));
    color: var(--white);
    text-decoration: none;
    font-family: 'AGrill_body', sans-serif;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ag-phone-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.42);
    color: var(--white);
}

/* Social list */
.ag-social-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.ag-social-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'AGrill_body', sans-serif;
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.ag-social-item img {
    width: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.ag-social-item:hover {
    color: var(--gold);
    border-color: rgba(201, 160, 82, 0.35);
    background: rgba(201, 160, 82, 0.06);
    transform: translateX(4px);
}

.ag-social-item:hover img {
    transform: scale(1.12);
}

@media (max-width: 550px) {
    .ag-contact-card {
        padding: 1.8rem 1.4rem;
    }

    .ag-phone-number {
        font-size: 1.6rem;
    }
}

/* ============================================================
   LOCATION (#location)
   ============================================================ */

#location {
    background-color: var(--dark);
    text-align: center;
}

#location .section-title {
    color: var(--gold);
}

#location .section-divider {
    background-color: var(--gold);
}

.location-address {
    font-family: 'AGrill_body', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.location-address strong {
    color: var(--white);
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-family: 'AGrill_display', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding: 0.75rem 2.2rem;
    border-radius: var(--radius);
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.btn-maps:hover {
    background-color: var(--gold2);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    color: var(--dark);
}

.location-map-img {
    max-width: 100px;
    margin: 0 auto;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}

.location-map-img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background-color: var(--dark2);
    padding: 2.5rem 0 1.5rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.2rem;
    text-align: center;
}

.footer-logo {
    display: block;
    max-height: 2.8rem;
    width: auto;
    margin: 0 auto 0.5rem;
}

.footer-tagline {
    font-family: 'AGrill_body', sans-serif;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-social-col h4 {
    font-family: 'AGrill_display', sans-serif;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    text-align: right;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.footer-social-links a img {
    width: 1.5rem;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-social-links a:hover img {
    opacity: 1;
    transform: scale(1.15);
}

.footer-copy {
    font-family: sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */

@media (max-width: 576px) {
    .section {
        padding: 3.5rem 0;
    }

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

    .hero-logo {
        max-width: 150px;
    }

    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

    .hero-cta {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }

    /* Cards compactas en mobile — 2 columnas */
    .menu-card-img,
    .menu-card-no-img {
        height: 130px;
    }

    .menu-card-no-img i {
        font-size: 2.2rem;
    }

    .menu-card-body {
        padding: 0.65rem 0.7rem;
    }

    .menu-card-name {
        font-size: 0.88rem;
        margin-bottom: 0.3rem;
    }

    .menu-card-desc {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.55rem;
    }

    .menu-card-price {
        font-size: 0.82rem;
        padding: 0.15rem 0.6rem;
    }

    .menu-group-title {
        font-size: 1rem;
        margin: 1.5rem 0 0.75rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social-col h4 {
        text-align: center;
    }

    .footer-social-links {
        justify-content: center;
    }
}
