/* ===================================================
   COMEDOR ISTMEÑO — style.css
   Warm palette: terracotta, cream, sand, dark brown
   =================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --terracotta: #c0522b;
    --terracotta-dark: #9a3d1e;
    --terracotta-light: #e07a52;
    --red-warm: #a8291a;
    --cream: #fdf4ea;
    --cream-dark: #f5e6d0;
    --sand: #d4a96a;
    --sand-light: #e8c99a;
    --brown-dark: #2c1a0e;
    --brown-mid: #5c3a1e;
    --brown-light: #8b5e3c;
    --text-dark: #1e0f00;
    --text-mid: #4a2c1a;
    --text-light: #7a5c3e;
    --white: #ffffff;
    --shadow-warm: 0 4px 24px rgba(160, 80, 30, 0.15);
    --shadow-card: 0 8px 32px rgba(44, 26, 14, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --nav-h: 72px;
    --transition: 0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
}

h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    color: var(--white);
    box-shadow: 0 4px 18px rgba(160, 60, 30, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(160, 60, 30, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
}

.btn-outline:hover {
    background: var(--terracotta);
    color: var(--white);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 900;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--brown-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 32px;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.nav-logo .logo-icon {
    font-size: 1.6rem;
}

.nav-logo em {
    color: var(--sand-light);
    font-style: italic;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: block;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--sand-light);
    background: rgba(255, 255, 255, 0.08);
}

.nav-btn-reserve {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-btn-reserve:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 800;
}

.nav-overlay.active {
    display: block;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--nav-h);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-bg-img {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 8, 0, 0.65) 0%, rgba(44, 26, 14, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 24px;
    animation: fadeUp 1s ease both;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sand-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title em {
    color: var(--sand-light);
    font-style: italic;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    font-style: italic;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    padding: 12px 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 0 24px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sand-light);
}

.stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-arrow {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ---------- BANNER STRIP ---------- */
.banner-strip {
    background: linear-gradient(90deg, var(--terracotta-dark), var(--terracotta));
    overflow: hidden;
    padding: 10px 0;
}

.strip-inner {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

.strip-inner span {
    flex-shrink: 0;
}

/* ---------- NOSOTROS ---------- */
.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.about-badge-float .badge-years {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.about-text-col .section-title {
    text-align: left;
}

.about-text-col p {
    margin-bottom: 16px;
    color: var(--text-mid);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cream-dark);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.value-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--brown-dark);
}

.value-item span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---------- HISTORIA ---------- */
.historia-section {
    background: var(--brown-dark);
    color: var(--white);
}

.historia-section .section-title {
    color: var(--sand-light);
}

.historia-section .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 52px;
}

.historia-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.historia-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.historia-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline-item {
    display: flex;
    gap: 20px;
}

.timeline-dot {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-item h4 {
    color: var(--sand-light);
    margin-bottom: 6px;
}

.timeline-item p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

/* ---------- GASTRONOMÍA ---------- */
.gastronomy-section {
    background: var(--cream-dark);
}

.gastronomy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gastronomy-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition);
    border-top: 4px solid var(--terracotta);
}

.gastronomy-card:hover {
    transform: translateY(-6px);
}

.gastronomy-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.gastronomy-card h3 {
    font-size: 1.15rem;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.gastronomy-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- PLATILLOS DESTACADOS ---------- */
.featured-section {
    background: var(--cream);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.food-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(44, 26, 14, 0.18);
}

.food-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.food-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .food-card-img img {
    transform: scale(1.08);
}

.food-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.food-card-body {
    padding: 20px 22px 22px;
}

.food-card-body h3 {
    font-size: 1.1rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.food-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.food-tag {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--brown-mid);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ---------- MENÚ OVERVIEW ---------- */
.menu-overview-section {
    background: var(--terracotta);
}

.menu-overview-section .section-title {
    color: var(--white);
}

.menu-overview-section .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.menu-cats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-cat-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    color: var(--white);
    backdrop-filter: blur(6px);
    transition: all var(--transition);
    cursor: pointer;
}

.menu-cat-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
}

.menu-cat-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.menu-cat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.menu-cat-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- DESAYUNOS ---------- */
.breakfast-section {
    background: var(--cream);
}

.breakfast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.breakfast-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.breakfast-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.breakfast-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.breakfast-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition);
}

.breakfast-item:hover {
    transform: translateX(4px);
}

.breakfast-item-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.breakfast-item h4 {
    color: var(--brown-dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.breakfast-item p {
    font-size: 0.83rem;
    color: var(--text-light);
}

/* ---------- PLATILLOS PRINCIPALES ---------- */
.main-dishes-section {
    background: var(--cream-dark);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dish-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform var(--transition), box-shadow var(--transition);
}

.dish-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.dish-emoji {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.dish-card h4 {
    color: var(--brown-dark);
    margin-bottom: 6px;
}

.dish-card p {
    font-size: 0.86rem;
    color: var(--text-light);
}

.dish-card .food-tag {
    margin-top: 8px;
}

/* ---------- BEBIDAS ---------- */
.drinks-section {
    background: var(--brown-mid);
    color: var(--white);
}

.drinks-section .section-title {
    color: var(--sand-light);
}

.drinks-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.drinks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.drink-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.drink-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.drink-icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
}

.drink-card h4 {
    font-size: 1rem;
    color: var(--sand-light);
    margin-bottom: 8px;
}

.drink-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- POSTRES ---------- */
.desserts-section {
    background: var(--cream);
}

.desserts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dessert-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition);
    text-align: center;
    padding: 32px 22px;
    border-bottom: 4px solid var(--sand);
}

.dessert-card:hover {
    transform: translateY(-5px);
}

.dessert-icon {
    font-size: 3rem;
    margin-bottom: 14px;
}

.dessert-card h3 {
    font-size: 1.1rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.dessert-card p {
    font-size: 0.87rem;
    color: var(--text-light);
}

/* ---------- GALERÍA ---------- */
.gallery-section {
    background: var(--cream-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--brown-mid);
}

.gallery-item--large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item--large img {
    height: 340px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(44, 26, 14, 0.75) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ---------- TESTIMONIOS ---------- */
.testimonios-section {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown-mid));
    color: var(--white);
}

.testimonios-section .section-title {
    color: var(--sand-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(6px);
    transition: transform var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--sand);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card>p {
    color: rgba(255, 255, 255, 0.84);
    font-style: italic;
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    font-size: 2rem;
}

.testimonial-author strong {
    display: block;
    color: var(--sand-light);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- EVENTOS ---------- */
.events-section {
    background: var(--cream);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.events-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.events-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border-left: 4px solid var(--terracotta);
    transition: transform var(--transition);
}

.event-card:hover {
    transform: translateX(4px);
}

.event-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.event-card-icon {
    font-size: 1.6rem;
}

.event-card h4 {
    color: var(--brown-dark);
    font-size: 1rem;
}

.event-card p {
    font-size: 0.86rem;
    color: var(--text-light);
}

.events-cta {
    margin-top: 24px;
}

/* ---------- RESERVACIONES (dentro de Eventos) ---------- */
.reservations-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.reservations-form h3 {
    color: var(--brown-dark);
    margin-bottom: 6px;
    font-size: 1.3rem;
}

.reservations-form>p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ---------- FORM SHARED ---------- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---------- BLOG ---------- */
.blog-section {
    background: var(--cream-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(44, 26, 14, 0.16);
}

.blog-card-img {
    overflow: hidden;
    height: 200px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 22px;
}

.blog-tag {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--terracotta);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.05rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.86rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- CONTACTO ---------- */
.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--brown-dark);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 0.88rem;
    color: var(--text-mid);
}

.contact-item a:hover {
    color: var(--terracotta);
}

.hours-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
}

.hours-table td {
    padding: 4px 0;
    color: var(--text-mid);
}

.hours-table td:last-child {
    font-weight: 700;
    text-align: right;
}

.closed-row td {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all var(--transition);
}

.social-btn svg {
    width: 15px;
    height: 15px;
}

.social-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.social-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
    color: var(--brown-dark);
    margin-bottom: 6px;
}

.contact-form-card>p {
    font-size: 0.86rem;
    color: var(--text-light);
    margin-bottom: 22px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
    color: var(--white);
    padding: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.form-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 280px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--brown-dark);
    color: var(--white);
}

.footer-top {
    padding: 64px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.footer-logo em {
    color: var(--sand-light);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.footer-social-icons a:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.footer-social-icons svg {
    width: 16px;
    height: 16px;
}

.footer-links h5,
.footer-hours h5,
.footer-specialties-col h5 {
    color: var(--sand-light);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.footer-links ul li a:hover {
    color: var(--sand-light);
}

.footer-hours p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.footer-specialties-col ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- BACK TO TOP & WHATSAPP FLOAT ---------- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brown-mid);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 500;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 60px;
    white-space: nowrap;
    background: var(--white);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {

    .gastronomy-grid,
    .featured-grid,
    .desserts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-cats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .drinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 60px;
    }

    section {
        padding: 64px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        bottom: 0;
        width: 280px;
        background: var(--brown-dark);
        padding: 80px 28px 28px;
        transition: right var(--transition);
        z-index: 850;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 6px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 14px;
    }

    .about-grid,
    .historia-grid,
    .breakfast-grid,
    .events-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img-frame img,
    .historia-img img,
    .breakfast-img img,
    .events-img img {
        height: 280px;
    }

    .historia-section .section-header {
        text-align: center;
    }

    .gastronomy-grid,
    .featured-grid,
    .desserts-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--large {
        grid-column: span 2;
    }

    .drinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-cats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        border-radius: var(--radius);
        padding: 20px;
    }

    .stat-divider {
        width: 80px;
        height: 1px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--large {
        grid-column: span 1;
    }

    .gallery-item--large img {
        height: 220px;
    }

    .drinks-grid {
        grid-template-columns: 1fr;
    }

    .menu-cats {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ---------- TODAY BANNER ---------- */
.today-banner {
    background: linear-gradient(90deg, var(--sand), var(--sand-light));
    color: var(--brown-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------- FILTER BUTTONS ---------- */
.menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--text-mid);
    transition: all var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.filter-btn.active {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

/* ---------- MENU CATEGORY ---------- */
.menu-category {
    margin-bottom: 48px;
}

.menu-section {
    background: var(--cream);
}

.menu-section .section-title {
    color: var(--brown-dark);
}

/* ---------- CATEGORY HEADER ---------- */
.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cream-dark);
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    color: var(--brown-dark);
    font-size: 1.1rem;
}

.category-header p {
    font-size: 0.85rem;
    color: var(--text-light);
}