@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --cream: #fbf5ec;
    --cream-soft: #f1e3d1;
    --paper: #ffffff;

    --wood-dark: #1a1510;
    --wood-dark-2: #241610;

    --ink: #2e2013;
    --ink-soft: #6e5a44;

    --text-primary: #fcf7f0;
    --muted: #8a7660;

    --gold: #b8834a;
    --gold-light: #dbb37e;
    --ember: #c1602f;
    --ember-light: #e08a54;

    --line: rgba(46, 32, 19, 0.10);
    --line-gold: rgba(184, 131, 74, 0.4);

    --shadow-soft: 0 16px 40px rgba(46, 32, 19, 0.10);
    --shadow-strong: 0 26px 60px rgba(46, 32, 19, 0.18);
    --shadow-warm: 0 18px 40px rgba(193, 96, 47, 0.18);

    --radius: 20px;
    --container: 1180px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    background: var(--cream);
    color: var(--ink);
    font-family: "Montserrat", system-ui, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

dialog[open] {
    scale: 1;
    transition: scale 0.3s ease;

    @starting-style {
        scale: 0;
    }
}

dialog {
    transition: scale 0.3s ease,
        display 0.3s ease allow-discrete;
    scale: 0;
}


.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

img {
    max-width: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(18, 12, 8, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    padding: 10px 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    height: 66px;
    padding: 0 18px 0 26px;
    background: rgba(26, 21, 16, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(216, 166, 90, 0.14);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -20px 38px rgba(0, 0, 0, .15), var(--shadow-soft);
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled .navbar-container {
    background: rgba(20, 15, 10, 0.94);
    backdrop-filter: blur(10px);
    border-color: rgba(216, 166, 90, 0.16);
}

.logo {
    flex: 0 0 auto;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 800;
    color: #fcf7f0;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s, transform 0.25s;
}

.logo:hover {
    color: var(--gold-light);
    transform: translateY(-1px);
}

.logo-rest {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
}

.nav-menu a {
    position: relative;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 247, 237, .9);
    text-decoration: none;
    transition: color .25s, transform .25s;
    letter-spacing: .02em;
}

.nav-menu a:hover {
    color: var(--gold-light);
    transform: translateY(-1px) scale(1.05);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width .3s ease, left .3s ease;
}

.nav-menu a:hover::after {
    left: 0;
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    background: var(--cream);
    color: #3b3a39;
    box-shadow: 0 8px 20px rgba(184, 148, 92, .35);
    transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(184, 148, 92, .5);
    background: linear-gradient(145deg, #1a1510, #2e2013);
    color: #fff;
}

.btn-primary:active {
    transform: scale(.96);
}

.mobile-menu-btn {
    display: none;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, .1);
}

.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 99px;
    position: relative;
    transition: .3s ease;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    content: "";
    position: absolute;
    left: 0;
}

.mobile-menu-btn span::before {
    top: -7px;
}

.mobile-menu-btn span::after {
    top: 7px;
}

.mobile-menu-btn.active span {
    background: transparent;
}

.mobile-menu-btn.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 96px;
    left: 50%;
    width: min(calc(100% - 40px), 520px);
    padding: 28px;
    transform: translate(-50%, -18px) rotateX(-8deg);
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(17, 15, 14, .96);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity .3s ease, transform .3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) rotateX(0);
}

.mobile-menu a {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    font-weight: 700;
    font-size: 1rem;
    color: #fcf7f0;
    text-decoration: none;
    transition: background .25s, color .25s;
    text-align: center;
}

.mobile-menu a:hover {
    background: rgba(184, 148, 92, .2);
    color: var(--gold-light);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    isolation: isolate;
    perspective: 1100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 18s ease-in-out infinite alternate;
    filter: saturate(1.04) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.247) 0%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .3) 100%), linear-gradient(0deg, rgba(26, 21, 16, .5) 0%, transparent 60%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 140px;
    z-index: 2;

}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    color: #fff;
    transform-style: preserve-3d;
    animation: heroEnter .9s ease both;
}

.hero h1 {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
    color: #fcf7f0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, .5), 0 20px 60px rgba(0, 0, 0, .4);
}

.hero p {
    max-width: 700px;
    margin: 0 0 36px;
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
    line-height: 1.6;
    color: #f1e4d3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .836);
    border-radius: 8px;
    padding: 5px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateZ(34px);
}

.embers-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.embers-container::before,
.embers-container::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 0;
    bottom: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 8% 92% 0 -1px rgba(224, 138, 84, .85), 22% 78% 0 -1px rgba(224, 138, 84, .55), 38% 88% 0 -2px rgba(224, 138, 84, .75),
        55% 70% 0 -1px rgba(224, 138, 84, .5), 70% 90% 0 -2px rgba(224, 138, 84, .65), 85% 75% 0 -1px rgba(224, 138, 84, .55), 95% 95% 0 -1px rgba(224, 138, 84, .7);
    opacity: .55;
    animation: emberFloat 10s ease-in-out infinite;
}

.embers-container::after {
    animation-duration: 14s;
    animation-delay: -5s;
    filter: blur(.4px);
}

@keyframes emberFloat {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    15% {
        opacity: .8;
    }

    100% {
        transform: translateY(-70vh);
        opacity: 0;
    }
}

/* NOSOTROS */
.about {
    padding: 110px 0;
    background: var(--cream-soft);
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: .95fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 90%;
    height: 92%;
    border: 2px solid var(--wood-dark-2);
    border-radius: 24px;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    transition: transform .7s var(--ease);
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-content span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 18px;
}

.about-content span::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ember);
}

.about-list span::before,
.about-list span::after {
    content: "";
    width: 0;
    height: 0;
}

.about-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--ink);
    text-wrap: balance;
}

.about-content>p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 30px;
}

.icon-badge {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #241610, #6e5a44);
    box-shadow: 0 8px 18px rgba(49, 33, 15, 0.32);
}

.icon-badge .icon {
    width: 22px;
    height: 22px;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}


/* ESPECIALIDADES */
.specialities {
    padding: 100px 0 110px;
    background: var(--cream);
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-title span {
    color: var(--ember);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .8rem;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 4.6vw, 3.2rem);
    margin: 14px 0;
    color: var(--ink);
}

.section-title p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.02rem;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 2px;
    margin: 24px auto 0;
    display: block;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 250px);
    gap: 22px;
    max-width: 1150px;
    margin: 0 auto;
}

.food-card.big {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.food-card:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
}

.food-card:nth-of-type(3) {
    grid-column: 4;
    grid-row: 1;
}

.food-card.wide {
    grid-column: 3 / 5;
    grid-row: span 2;
}

.food-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.food-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-6px);
}

.food-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}

.food-card:hover img {
    transform: scale(1.08);
}

.food-card .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(to top, rgba(20, 14, 8, .85) 0%, rgba(20, 14, 8, 0) 55%);
    color: #fff;
}

.food-card .overlay h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.35rem;
    margin-bottom: 4px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

.food-card.big .overlay h3 {
    font-size: 1.9rem;
}

.food-card .overlay p {
    font-size: .9rem;
    color: #f1e4d3;
}

.food-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--paper);
    color: var(--ember);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

/* EXPERINCIA */
.experience {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.experience>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg, rgba(20, 14, 8, .78), rgba(20, 14, 8, .55) 50%, rgba(20, 14, 8, .82));
}

.experience::before,
.experience::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 110px;
    z-index: 2;
    pointer-events: none;
}

.experience::before {
    top: -1px;
    background: linear-gradient(to bottom, #1a1510, transparent);
}

.experience::after {
    bottom: -1px;
    background: linear-gradient(to top, #1a1510, transparent);
}

.experience-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    color: #fff;
}

.experience-content span {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.experience-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.25;
    margin: 18px 0 20px;
    text-wrap: balance;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .4);
}

.experience-content p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #f1e4d3;
    margin-bottom: 32px;
}

/* GALERIA */
.gallery {
    padding: 110px 0;
    background: var(--cream-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 18px;
    max-width: 1150px;
    margin: 0 auto;
}

.item-1 {
    grid-column: span 2;
    grid-row: span 2;
}

.item-3 {
    grid-row: span 2;
}

.item-6 {
    grid-row: span 2;
    grid-column: span 3;
}

.item-8 {
    grid-row: span 2;
    grid-column: span 2;
}

.item-9 {
    grid-row: span 2;
    grid-column: span 2;
}

.item-10 {
    grid-row: span 2;
    grid-column: span 1;
}

.item-11 {
    grid-row: span 2;
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--paper);
    padding: 7px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.gallery-item:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform .7s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 7px;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    background: linear-gradient(to top, rgba(20, 14, 8, .78), transparent 55%);
    opacity: 0;
    transition: .4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    text-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}


/* RESERVA */
.events {
    padding: 110px 0;
    background: var(--cream);
}

.events-container {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.events-image {
    position: relative;
}

.events-image::before {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90%;
    height: 92%;
    border: 2px solid var(--gold);
    border-radius: 24px;
    z-index: 0;
}

.events-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    transition: transform .7s var(--ease);
}

.events-image:hover img {
    transform: scale(1.04);
}

.events-badge {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
    font-size: .85rem;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-strong);
}

.grupo-icon-2 img {
    width: 1.1rem;
    height: 1.1rem;
}

.events-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 18px;
}

.events-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ember);
}

.events-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--ink);
    text-wrap: balance;
}

.events-content>p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 26px;
}

.events-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    padding: 0;
}

.events-tags li {
    border: 1px solid var(--wood-dark);
    color: var(--wood-dark-2);
    background: rgba(184, 131, 74, .06);
    font-size: .85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
}

.events-facts {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
}

.events-facts>div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.events-facts strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 2px;
}

.events-facts p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

.events-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-whats {
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 20px;
    border: 2px solid var(--wood-dark-2);
    box-shadow: var(--shadow-soft);
    transition: 0.3s ease;
    background: var(--cream);
}

.btn-whats a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    color: #403f3d;
}


.icon-wh {
    margin-right: 10px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: flex;
    align-items: center;
}

.icon-call {
    width: 25px;
    height: 25px;
    object-fit: cover;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.btn-secondary-light:hover,
.btn-whats:hover {
    transform: translateY(-3px);
    background: var(--cream-soft);
    border-color: var(--gold);
}

/* FACTURACION */
.factura {
    padding: 70px 0 100px;
    background: var(--cream-soft);
}

.factura-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--paper);
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.factura-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.factura-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-dark-2));
    box-shadow: 0 10px 24px rgba(184, 131, 74, .35);
}

.factura-icon {
    color: #fff;
    font-size: 1.8rem;
}

.factura-text {
    flex: 1;
}

.factura-text h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.factura-text p {
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.6;
}

.factura-card .btn-primary {
    flex-shrink: 0;
}

/* MEZCAL */
.mezcal-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-dark-2) 100%);
}

.mezcal-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(224, 138, 84, .14), transparent 55%);
    pointer-events: none;
}

.mezcal-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 70px;
    align-items: center;
}

.mezcal-content span {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.mezcal-content h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    color: var(--text-primary);
    margin: 16px 0 20px;
    line-height: 1.28;
    text-wrap: balance;
}

.mezcal-content p {
    color: #d8c7b3;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mezcal-image {
    position: relative;
}

.mezcal-image::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 88%;
    height: 90%;
    border: 2px solid var(--gold);
    border-radius: 24px;
    z-index: 0;
}

.mezcal-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    transition: transform .7s var(--ease);
}

.mezcal-image:hover img {
    transform: scale(1.04);
}

.mezcal-showcase {
    position: relative;
    margin-top: 90px;
}

.mezcal-showcase .section-title {
    margin-bottom: 10px;
}

.mezcal-showcase .section-title span {
    color: var(--gold-light);
}

.mezcal-showcase .section-title h2 {
    color: var(--text-primary);
}

.mezcal-showcase .section-title p {
    color: #d8c7b3;
}

.mezcal-showcase .section-title::after {
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.mezcal-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 34px 0 46px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(216, 166, 90, .3);
    color: #d8c7b3;
    font-weight: 600;
    font-size: .85rem;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .25s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
}

.filter-btn:hover {
    border-color: var(--gold-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold-light), var(--ember));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(184, 131, 74, .3);
}

.mezcal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    max-width: 1150px;
    margin: 0 auto;
}

.mezcal-card {
    position: relative;
    text-align: center;
    padding: 30px 18px 26px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    border: 1px solid rgba(216, 166, 90, .16);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease, opacity .35s ease;
}

.mezcal-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 138, 84, .5);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(193, 96, 47, .18);
}

.mezcal-card.hide {
    opacity: 0;
    transform: scale(.9);
    pointer-events: none;
}

.bottle-frame {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 18px;
}

.bottle-frame img {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4));
    transition: transform .5s var(--ease);
}

.mezcal-card:hover .bottle-frame img {
    transform: translateY(-6px) scale(1.03);
}

.size-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-light), var(--ember));
    color: #fff;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .03em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.mezcal-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--text-primary);
    font-size: 1.18rem;
    margin-bottom: 4px;
}

.mezcal-card .mezcal-type {
    display: block;
    color: var(--gold-light);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.mezcal-card .mezcal-note {
    color: #d8c7b3;
    font-size: .82rem;
    line-height: 1.5;
    margin: 0;
}

.cont-mp {
    position: relative;
    max-width: 360px;
    margin: 70px auto 60px;
    text-align: center;
    transform: rotate(-4deg);
    filter: drop-shadow(0 26px 45px rgba(0, 0, 0, .5));
    transition: transform .5s var(--ease);
}

.cont-mp:hover {
    transform: rotate(-2deg) translateY(-6px);
}

.cont-mp::before {
    content: "";
    position: absolute;
    inset: -24px;
    background: radial-gradient(circle, rgba(224, 138, 84, .22), transparent 65%);
    filter: blur(10px);
    z-index: -1;
}

.cont-mp img {
    width: 100%;
    display: block;
    border-radius: 20px;
    filter: contrast(1.18) saturate(1.1) brightness(1.03);
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.cont-mp p {
    margin-top: 10px;
    transform: rotate(4deg);
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
}

.mezcal-cta {
    text-align: center;
    margin-top: 52px;
}

.mezcal-cta p {
    color: #d8c7b3;
    margin-bottom: 18px;
    font-size: 1rem;
}

/* MEZCAL PRESENTACIONES */
.mezcal-products {
    position: relative;
    z-index: 1;
    margin-top: 100px;
}

.section-title.dark span {
    color: var(--gold-light);
}

.section-title.dark h2 {
    color: var(--text-primary);
}

.section-title.dark p {
    color: #d8c7b3;
}

.mezcal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
}

.mezcal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    min-height: 480px;
    background:
        radial-gradient(circle at 50% 28%, rgba(224, 138, 84, .13), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    border: 1px solid rgba(216, 166, 90, .22);
    border-radius: 18px;
    padding: 24px 22px 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .36);
    backdrop-filter: blur(8px);
    transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease, background .4s ease;
}

.mezcal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(241, 240, 239, 0.35), transparent);
    height: 1px;
}

.mezcal-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 138, 84, .56);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .46), 0 0 34px rgba(193, 96, 47, .2);
}

.mezcal-tag {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    background: rgba(224, 138, 84, .18);
    border: 1px solid rgba(216, 166, 90, .2);
    color: var(--gold-light);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.mezcal-bottle {
    position: relative;
    width: 100%;
    height: 230px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 14px 12px;
}

.mezcal-bottle img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55));
    transition: transform .5s var(--ease);
}

.mezcal-card:hover .mezcal-bottle img {
    transform: translateY(-8px) scale(1.08);
}

.mezcal-size {
    font-family: "Playfair Display", serif;
    font-size: 1.72rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
    line-height: 1;
}

.mezcal-card h3 {
    font-size: 1.06rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.mezcal-card>p {
    font-size: .86rem;
    color: #c9b7a2;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.mezcal-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    width: 100%;
    font-size: .78rem;
    font-weight: 700;
    color: #f1d3a5;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mezcal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.mezcal-link a {
    font-size: 1rem;
    transition: transform .25s ease;
}

.mezcal-link:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    text-shadow: 2px 4px 8px #b8834a;

}

.mezcal-link:hover a {
    transform: translateX(3px);
}

.mezcal-note {
    text-align: center;
    color: #a08a72;
    font-size: .85rem;
    font-style: italic;
    margin: 30px 0 0;
}

.mezcal-cta {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(216, 166, 90, .16);
    border-radius: 24px;
    padding: 34px 40px;
}

.mezcal-cta h3 {
    font-family: "Playfair Display", serif;
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.mezcal-cta p {
    color: #c9b7a2;
    font-size: .92rem;
}

/* FOOTER */
footer {
    background: var(--wood-dark);
    color: var(--text-primary);
    padding-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-container>div:first-child img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-container>div:first-child p {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.footer-container h4 {
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.footer-container a,
.footer-container p {
    display: block;
    color: #cbb79f;
    text-decoration: none;
    font-size: .92rem;
    margin-bottom: 10px;
    transition: color .25s ease;
}

.footer-container a:hover {
    color: var(--gold-light);
}

footer>p {
    text-align: center;
    padding: 24px 20px;
    font-size: .82rem;
    letter-spacing: .03em;
    color: #cbb79f;
}

/*MAPA GOOGLE MAPS*/
.btn-maps {
    width: 70px;
    height: 70px;
    object-fit: cover;
    position: fixed;
    right: 10px;
    bottom: 20px;
    background-color: transparent;
    border: none;
    animation: mapAnimation 4s infinite;
    transition: 0.3 ease;
    z-index: 99999;
}

.btn-maps img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-maps:hover {
    animation: none;
}


.dialog-map {
    border: none;
    border-radius: 12px;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: transparent;
    touch-action: auto;
}

.dialog-map::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cont-map {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-close {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.cont-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border: 0;
    touch-action: pan-x pan-y;
    pointer-events: auto;
}

/* ANIMACIONES */

@keyframes mapAnimation {
    0% {
        transform: translateY(0)
    }

    20% {
        transform: translateY(-20px)
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}

@keyframes heroZoom {
    from {
        transform: scale(1.05) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.16) translate3d(1.6%, -1%, 0);
    }
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(28px) rotateX(8deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* RESPONSIVIDAD */

@media (max-width: 1024px) {
    .mezcal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: .85rem;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: .8rem;
    }

    .btn-primary.mezcal {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 46px;
        text-align: center;
    }

    .about-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-content span {
        justify-content: center;
    }

    .about-list div {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 46px;
        text-align: center;
    }

    .about-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-content span {
        justify-content: center;
    }

    .about-list div {
        justify-content: center;
    }

    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 220px);
    }

    .food-card.big,
    .food-card:nth-of-type(2),
    .food-card:nth-of-type(3),
    .food-card.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .food-card.big {
        grid-column: 1 / 3;
        grid-row: span 2;
    }

    .food-card.wide {
        grid-column: 1 / 3;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }

    .item-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .mezcal-container {
        grid-template-columns: 1fr;
        gap: 46px;
        text-align: center;
    }

    .mezcal-image {
        order: -1;
        max-width: 380px;
        margin: 0 auto;
    }

    .events-container {
        grid-template-columns: 1fr;
        gap: 44px;
        text-align: center;
    }

    .events-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .events-eyebrow,
    .events-tags,
    .events-buttons {
        justify-content: center;
    }

    .events-facts>div {
        justify-content: center;
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }

    .mezcal-products {
        margin-top: 70px;
    }

    .mezcal-cta {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 800px) {
    .factura-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 26px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .btn-mezcal {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .navbar-container {
        height: 58px;
        padding: 0 14px 0 18px;
        gap: 12px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-rest {
        width: 80px;
        height: 80px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 90svh;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }

    .hero p {
        font-size: .95rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        font-size: .85rem;
        padding: 8px 18px;
    }
}

@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 34px;
    }

    .footer-container>div:first-child img {
        margin: 0 auto 14px;
    }
}


@media (max-width: 600px) {
    .about {
        padding: 80px 0;
    }

    .experience {
        min-height: 56vh;
        padding: 80px 0;
    }

    .mezcal-section {
        padding: 80px 0;
    }

    .events {
        padding: 80px 0;
    }

    .events-badge {
        font-size: .78rem;
        padding: 8px 14px;
    }

    .factura {
        padding: 60px 0 80px;
    }

    .mezcal-showcase {
        margin-top: 64px;
    }

    .mezcal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bottle-frame {
        height: 160px;
    }

    .dialog-map {
        width: 95%;
    }

    .cont-map iframe {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 560px) {
    .specialities {
        padding: 70px 0;
    }

    .special-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 18px;
    }

    .food-card.big,
    .food-card.wide,
    .food-card {
        grid-column: 1;
        grid-row: auto;
        height: 260px;
    }

    .gallery {
        padding: 80px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .item-1,
    .item-3,
    .item-6,
    .item-8,
    .item-9,
    .item-10,
    .item-11 {
        grid-column: 1;
        grid-row: auto;
    }

    .cont-mp {
        max-width: 280px;
        margin: 50px auto 44px;
        transform: rotate(-3deg);
    }

    .cont-mp p {
        font-size: .95rem;
    }

    .mezcal-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 20px;
    }

    .mezcal-card {
        min-height: auto;
        padding: 20px 18px 20px;
    }

    .mezcal-bottle {
        height: 210px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 50px;
        padding: 0 10px 0 14px;
    }

    .logo {
        font-size: 1rem;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-btn span,
    .mobile-menu-btn span::before,
    .mobile-menu-btn span::after {
        width: 18px;
        height: 2px;
    }

    .mobile-menu-btn span::before {
        top: -6px;
    }

    .mobile-menu-btn span::after {
        top: 6px;
    }

    .mobile-menu {
        top: 80px;
        width: min(calc(100% - 30px), 400px);
        padding: 20px;
    }

    .mobile-menu a {
        padding: 12px 14px;
        font-size: .9rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 12vw, 2.8rem);
    }

    .hero p {
        font-size: .9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .mezcal-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

}

@media (max-width: 380px) {
    .mezcal-grid {
        grid-template-columns: 1fr;
    }
}