/* ==========================================================================
   RESTAURANTE VIEJO JUANCHO - GINEBRA, VALLE DEL CAUCA
   Hoja de Estilos Estructurada (Mobile-First, Rústico-Elegante)
   ========================================================================== */

:root {
  /* Paleta de Colores Cálidos: Tonos Tierra, Madera, Naranja Suave y Verde Hoja */
  --color-wood-dark: #2c1a11;        /* Madera profunda / Café trapiche */
  --color-wood-medium: #4a2c1d;      /* Madera rústica */
  --color-earth-clay: #8c4a27;       /* Barro / Olla de barro */
  --color-orange-soft: #d97736;      /* Naranja suave / Brasa de leña */
  --color-orange-light: #f4a261;     /* Acento cálido dorado */
  --color-leaf-green: #2d5a27;       /* Verde hoja platanera */
  --color-leaf-dark: #1e3f1a;        /* Verde monte oscuro */
  --color-leaf-soft: #e8f1e6;        /* Fondo verde suave */
  --color-cream-bg: #fbf7f0;         /* Lienzo cálido papel rústico */
  --color-sand-card: #f3eadc;        /* Arena / Piedra caliza */
  --color-white: #ffffff;
  --color-text-main: #2b1e16;
  --color-text-muted: #655246;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  /* Tipografías: Serif tradicional para títulos + Sans-serif moderna para lectura */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras y Bordes */
  --shadow-soft: 0 8px 24px rgba(44, 26, 17, 0.08);
  --shadow-elevated: 0 16px 36px rgba(44, 26, 17, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
}

/* ==========================================================================
   RESET & BASE (MOBILE-FIRST)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

/* Encabezados de sección */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-leaf-green);
  background-color: var(--color-leaf-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  color: var(--color-wood-dark);
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   BOTONES Y COMPONENTES REUTILIZABLES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--color-orange-soft);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(217, 119, 54, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-earth-clay);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--color-white);
  background-color: rgba(44, 26, 17, 0.35);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-wood-dark);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #0b2814;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(44, 26, 17, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 162, 97, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  background-color: rgba(251, 247, 240, 0.96);
  padding: 0.32rem 0.85rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(244, 162, 97, 0.35);
}

.brand-logo:hover {
  transform: translateY(-1px);
  background-color: #ffffff;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
}

.main-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background-color: var(--color-wood-dark);
  padding: 1.25rem;
  border-bottom: 2px solid var(--color-orange-soft);
  flex-direction: column;
  gap: 1rem;
}

.main-nav.nav-open {
  display: flex;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: var(--color-orange-light);
}

.btn-nav-cta {
  background-color: var(--color-orange-soft);
  color: var(--color-white);
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
}

.btn-nav-cta:hover {
  background-color: var(--color-earth-clay);
}

/* ==========================================================================
   1. HERO SECTION (Inicio)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-color: var(--color-wood-dark);
  background-image: url('assets/portada.jpeg'), url('file:///C:/Users/juanj/Downloads/Portada%20Pagina.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 4.5rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 18, 11, 0.92) 0%,
    rgba(44, 26, 17, 0.82) 55%,
    rgba(45, 90, 39, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(244, 162, 97, 0.4);
  color: var(--color-orange-light);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.leaf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #6ede63;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-logo-img {
  width: min(100%, 470px);
  height: auto;
  background-color: rgba(251, 247, 240, 0.94);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(244, 162, 97, 0.45);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  color: var(--color-orange-light);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.5rem;
}

.highlight-pill {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-orange-soft);
}

.highlight-pill strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-white);
}

.highlight-pill span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Banda de Historia y Quiénes Somos */
.heritage-banner {
  background-color: var(--color-sand-card);
  border-bottom: 1px solid rgba(140, 74, 39, 0.15);
  padding: 3rem 0;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.heritage-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--color-wood-dark);
  margin-bottom: 0.75rem;
}

.heritage-text p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.heritage-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stamp-card {
  background-color: var(--color-white);
  border: 1px dashed var(--color-earth-clay);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stamp-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-earth-clay);
}

.stamp-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.stamp-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--color-earth-clay);
  transition: var(--transition);
}

.stamp-card-btn:hover {
  background-color: var(--color-wood-dark);
  border-color: var(--color-orange-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.stamp-card-btn:hover .stamp-number,
.stamp-card-btn:hover .stamp-cta {
  color: var(--color-orange-light);
}

.stamp-card-btn:hover .stamp-label {
  color: var(--color-white);
}

.stamp-cta {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-leaf-green);
  background-color: var(--color-leaf-soft);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  transition: var(--transition);
}

.stamp-card-btn:hover .stamp-cta {
  background-color: rgba(244, 162, 97, 0.18);
}

#ubicacion-mapa {
  scroll-margin-top: 95px;
}

/* ==========================================================================
   2. SECCIÓN DE GALERÍA HISTÓRICA Y AMBIENTE
   ========================================================================== */
.gallery-section {
  background-color: var(--color-cream-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(140, 74, 39, 0.14);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-wood-medium);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-img-enhanced {
  filter: contrast(1.08) saturate(1.16) brightness(1.03);
  image-rendering: -webkit-optimize-contrast;
}

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

.placeholder-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(44, 26, 17, 0.86);
  color: var(--color-orange-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 162, 97, 0.4);
}

.gallery-caption {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-leaf-green);
}

.gallery-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-wood-dark);
}

.alt-reference {
  background-color: var(--color-sand-card);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  color: var(--color-earth-clay);
  overflow-x: auto;
}

.visual-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   3. SECCIÓN DE MENÚ TRADICIONAL
   ========================================================================== */
.menu-section {
  background-color: var(--color-sand-card);
  position: relative;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.menu-tab {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 44, 29, 0.25);
  background-color: var(--color-white);
  color: var(--color-wood-dark);
  cursor: pointer;
  transition: var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
  background-color: var(--color-leaf-green);
  color: var(--color-white);
  border-color: var(--color-leaf-green);
}

.menu-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.menu-category-block {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--color-earth-clay);
}

.menu-category-block[data-category="entradas"] {
  border-top-color: var(--color-orange-soft);
}

.menu-category-block[data-category="bebidas"] {
  border-top-color: var(--color-leaf-green);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-sand-card);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-sand-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-wood-dark);
}

.category-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-item {
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed rgba(140, 74, 39, 0.22);
}

.menu-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.menu-item-star {
  background-color: #fffaf3;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 119, 54, 0.35);
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.dish-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--color-wood-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dish-badge {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-orange-soft);
  color: var(--color-white);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.dish-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(74, 44, 29, 0.3);
  min-width: 20px;
}

.dish-tag,
.dish-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-leaf-dark);
  background-color: var(--color-leaf-soft);
  padding: 0.24rem 0.68rem;
  border-radius: 6px;
  white-space: nowrap;
}

.subproducts-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.subprice-chip {
  font-size: 0.76rem;
  background-color: var(--color-sand-card);
  color: var(--color-wood-dark);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(140, 74, 39, 0.2);
}

.subprice-chip strong {
  color: var(--color-earth-clay);
}

.menu-sync-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--color-white);
  border: 1px solid rgba(45, 90, 39, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-leaf-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.2);
}

.btn-sync-now {
  background-color: var(--color-leaf-soft);
  color: var(--color-leaf-dark);
  border: 1px solid rgba(45, 90, 39, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sync-now:hover {
  background-color: var(--color-leaf-green);
  color: var(--color-white);
}

.menu-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dish-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.menu-cta-bar {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--color-wood-dark), var(--color-wood-medium));
  color: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: flex-start;
  justify-content: space-between;
}

.menu-cta-bar strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

.menu-cta-bar p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   4. SECCIÓN SOCIAL & COMUNIDAD ("Viejo Juancho en Redes")
   ========================================================================== */
.social-section {
  background-color: var(--color-cream-bg);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.social-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(140, 74, 39, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.social-card-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-sand-card);
}

.brand-platform {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.google-icon {
  background-color: #d93025;
}

.ig-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.tiktok-icon {
  background-color: #111111;
}

.brand-platform h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-wood-dark);
  line-height: 1.2;
}

.platform-handle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.rating-pill {
  background-color: #fff8e6;
  border: 1px solid #f5d076;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rating-pill .stars {
  color: #e69c00;
  letter-spacing: -1px;
}

.reviews-count {
  color: var(--color-text-muted);
}

.live-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-leaf-green);
  background-color: var(--color-leaf-soft);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

/* Google Maps Embed */
.map-embed-container {
  width: 100%;
  height: 230px;
  background-color: var(--color-sand-card);
}

.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Instagram Live Embed + Grid */
.ig-view-switcher {
  display: inline-flex;
  background-color: var(--color-sand-card);
  padding: 0.2rem;
  border-radius: 999px;
  gap: 0.2rem;
}

.ig-mode-btn,
.tt-mode-btn {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.ig-mode-btn.active,
.tt-mode-btn.active {
  background-color: var(--color-wood-dark);
  color: var(--color-white);
}

.ig-live-embed-wrapper,
.tiktok-live-embed-wrapper {
  width: 100%;
  height: 360px;
  background-color: var(--color-white);
  overflow-y: auto;
  overflow-x: hidden;
  border-bottom: 1px solid var(--color-sand-card);
}

.ig-live-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ig-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background-color: var(--color-sand-card);
}

.ig-post-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ig-post-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 26, 17, 0.45);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  transition: var(--transition);
}

.ig-post-item:hover img {
  transform: scale(1.07);
}

.ig-post-item:hover .ig-overlay {
  opacity: 1;
}

/* TikTok Simulador */
.tiktok-simulator {
  padding: 0.85rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tiktok-screen {
  position: relative;
  height: 295px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  color: var(--color-white);
}

.tiktok-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.tiktok-top-badge,
.tiktok-play-btn,
.tiktok-side-actions,
.tiktok-caption-box {
  position: relative;
  z-index: 2;
}

.tiktok-top-badge {
  align-self: flex-start;
  background-color: rgba(0, 0, 0, 0.55);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.tiktok-play-btn {
  align-self: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(217, 119, 54, 0.9);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tiktok-screen.is-playing .tiktok-play-btn {
  opacity: 0.25;
  transform: scale(0.85);
}

.tiktok-side-actions {
  position: absolute;
  right: 0.75rem;
  bottom: 4.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tt-action-btn {
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: var(--color-white);
  border-radius: 8px;
  padding: 0.3rem 0.45rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tt-action-btn small {
  font-size: 0.68rem;
}

.tiktok-caption-box {
  padding-right: 2.75rem;
}

.tiktok-caption-box strong {
  font-size: 0.86rem;
  color: var(--color-orange-light);
}

.tiktok-caption-box p {
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.tiktok-progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.tiktok-progress-fill {
  width: 35%;
  height: 100%;
  background-color: var(--color-orange-soft);
  transition: width 0.12s linear;
}

.tiktok-clips-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.tt-clip-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--color-sand-card);
  background-color: var(--color-sand-card);
  color: var(--color-wood-dark);
  cursor: pointer;
}

.tt-clip-btn.active {
  background-color: var(--color-wood-dark);
  color: var(--color-white);
}

.social-card-body {
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
}

.review-snippet {
  margin-top: 0.65rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-orange-soft);
  font-style: italic;
  font-size: 0.85rem;
}

.social-card-footer {
  padding: 0 1.25rem 1.25rem;
}

.btn-social-link {
  width: 100%;
  background-color: var(--color-sand-card);
  color: var(--color-wood-dark);
  font-size: 0.88rem;
  padding: 0.75rem;
}

.btn-social-link:hover {
  background-color: var(--color-wood-dark);
  color: var(--color-white);
}

/* ==========================================================================
   5. SECCIÓN DE CONTACTO Y CONVERSIÓN
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--color-sand-card) 0%, #eadbc6 100%);
  border-top: 1px solid rgba(140, 74, 39, 0.2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

.contact-info-col .section-title {
  text-align: left;
}

.contact-intro {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-action-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(140, 74, 39, 0.15);
}

a.contact-action-card:hover {
  transform: translateX(4px);
  border-color: var(--color-earth-clay);
}

.whatsapp-card {
  border-left: 5px solid var(--color-whatsapp);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.whatsapp-bg {
  background-color: var(--color-whatsapp);
}

.phone-bg {
  background-color: var(--color-earth-clay);
}

.email-bg {
  background-color: var(--color-orange-soft);
}

.location-bg {
  background-color: var(--color-leaf-green);
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.contact-value {
  font-size: 1rem;
  color: var(--color-wood-dark);
  word-break: break-word;
}

.contact-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.contact-arrow {
  font-weight: 700;
  color: var(--color-earth-clay);
  font-size: 1.2rem;
}

/* Caja de Formulario de Reserva */
.reservation-box {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-elevated);
  border-top: 6px solid var(--color-leaf-green);
}

.badge-wood {
  display: inline-block;
  background-color: var(--color-leaf-soft);
  color: var(--color-leaf-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.reservation-box-header h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--color-wood-dark);
  margin-bottom: 0.35rem;
}

.reservation-box-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.35rem;
}

.res-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-wood-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 44, 29, 0.25);
  background-color: var(--color-cream-bg);
  color: var(--color-text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange-soft);
  background-color: var(--color-white);
}

/* ==========================================================================
   PIE DE PÁGINA & BOTÓN FLOTANTE
   ========================================================================== */
.site-footer {
  background-color: var(--color-wood-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-orange-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--color-orange-light);
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  background-color: var(--color-whatsapp);
  color: #0b2814;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: var(--color-white);
  transform: scale(1.05);
}

/* ==========================================================================
   MEDIA QUERIES (TABLET & DESKTOP)
   ========================================================================== */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-cta-bar {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 5.5rem 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    border-bottom: none;
    gap: 1.75rem;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.5rem;
  }

  .heritage-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .menu-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
