@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Source+Sans+3:wght@300;400;500;600&family=Libre+Caslon+Text:wght@400;700&display=swap');

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

:root {
  --wine: #3d0006;
  --wine-light: #5d1016;
  --terracotta: #9d4223;
  --terracotta-bright: #fe8c67;
  --cream: #fdf9f4;
  --cream-dark: #f1ede8;
  --olive: #434a23;
  --olive-deep: #2b310d;
  --gold: #a6894b;
  --wood: #4a3728;
  --coal: #1c1c19;
  --stone: #887271;
  --blush: #ffdad8;
  --ff-heading: 'Playfair Display', serif;
  --ff-body: 'Source Sans 3', sans-serif;
  --ff-label: 'Libre Caslon Text', serif;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--coal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* PRELOADER */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--wine);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s, visibility .8s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-flame {
  width: 60px; height: 80px;
  background: radial-gradient(ellipse at bottom, var(--terracotta-bright) 0%, var(--terracotta) 40%, transparent 70%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flame 1s ease-in-out infinite alternate;
}
@keyframes flame {
  0% { transform: scaleY(1) scaleX(1); opacity: 1; }
  100% { transform: scaleY(1.15) scaleX(.9); opacity: .85; }
}

/* NAV */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(61,0,6,.95);
  backdrop-filter: blur(12px);
  padding: .8rem 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  transition: opacity .3s;
}
.nav-logo:hover { opacity: .85; }
.nav-logo-img {
  width: 140px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  transition: transform .4s;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--ff-label);
  font-size: .75rem; font-weight: 700;
  color: rgba(253,249,244,.8);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--terracotta-bright);
  transition: width .3s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--ff-label);
  font-size: .75rem; font-weight: 700;
  color: var(--cream) !important;
  background: var(--terracotta);
  padding: .7rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background .3s, transform .2s;
}
.nav-cta:hover { background: var(--terracotta-bright); transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 200; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 28px; height: 2px; background: var(--cream);
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* MOBILE NAV */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(61,0,6,.98);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; visibility: hidden; transition: all .4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--ff-heading);
  font-size: 2rem; color: var(--cream);
  text-decoration: none; transition: color .3s;
}
.mobile-menu a:hover { color: var(--terracotta-bright); }

/* HERO */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images_ainsa/hero-pizza.png') center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 8s ease-out;
}
.hero.visible .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(61,0,6,.6) 0%, rgba(28,28,25,.7) 50%, rgba(61,0,6,.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
  max-width: 900px;
}
.hero-badge {
  font-family: var(--ff-label);
  font-size: .7rem; font-weight: 700;
  color: var(--terracotta-bright);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s .5s forwards;
}
.hero-logo-img {
  width: 280px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s .7s forwards;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}
.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; color: var(--cream);
  line-height: 1.05; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s .7s forwards;
}
.hero-title em {
  font-style: italic; color: var(--terracotta-bright);
  display: block; font-size: .6em;
  margin-top: .3em;
}
.hero-subtitle {
  font-family: var(--ff-body);
  font-size: 1.15rem; color: rgba(253,249,244,.8);
  max-width: 560px; margin: 0 auto 2.5rem;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s .9s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s 1.1s forwards;
}
.btn-primary {
  font-family: var(--ff-label);
  font-size: .8rem; font-weight: 700;
  background: var(--terracotta);
  color: var(--cream);
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all .3s;
}
.btn-primary:hover { background: var(--terracotta-bright); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(157,66,35,.4); }
.btn-secondary {
  font-family: var(--ff-label);
  font-size: .8rem; font-weight: 700;
  background: transparent;
  color: var(--cream);
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all .3s;
}
.btn-secondary:hover { background: rgba(166,137,75,.15); border-color: var(--cream); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: float 2s ease-in-out infinite;
}
.hero-scroll span {
  font-family: var(--ff-label);
  font-size: .6rem; color: rgba(253,249,244,.5);
  text-transform: uppercase; letter-spacing: .2em;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--terracotta-bright), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,-10px); } }
@keyframes scrollPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ORNAMENT DIVIDER */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 1rem 0;
}
.divider-line { width: 80px; height: 1px; background: var(--gold); opacity: .4; }
.divider-diamond {
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: .6;
}

/* SECTION COMMON */
section { padding: 6rem 2rem; width: 100%; max-width: 100%; }
.section-label {
  font-family: var(--ff-label);
  font-size: .7rem; font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--wine);
  line-height: 1.1; margin-bottom: 1.5rem;
}
.section-desc {
  font-family: var(--ff-body);
  font-size: 1.1rem; color: var(--stone);
  max-width: 600px; line-height: 1.7;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ABOUT SECTION */
.about { max-width: 1200px; margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  margin-top: 3rem;
}
.about-image {
  position: relative; overflow: hidden;
}
.about-image img {
  width: 100%; height: 500px; object-fit: cover;
  transition: transform .6s;
}
.about-image:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--wine);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--cream);
  font-family: var(--ff-heading);
  box-shadow: 0 8px 30px rgba(61,0,6,.3);
}
.about-badge .big { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .small { font-size: .55rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--ff-label); margin-top: 2px; }
.about-text h3 {
  font-family: var(--ff-heading);
  font-size: 1.6rem; color: var(--wine);
  margin-bottom: 1rem;
}
.about-text p { color: var(--stone); margin-bottom: 1rem; line-height: 1.7; }
.about-values {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem;
}
.value-tag {
  font-family: var(--ff-label);
  font-size: .65rem; font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .5rem 1rem;
  border: 1px solid rgba(157,66,35,.3);
  transition: all .3s;
}
.value-tag:hover { background: var(--terracotta); color: var(--cream); }

/* FEATURES STRIP */
.features-strip {
  background: var(--wine);
  padding: 4rem 2rem;
  overflow: hidden;
}
.features-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.feature-item {
  text-align: center; padding: 2rem 1rem;
  border-right: 1px solid rgba(253,249,244,.1);
  transition: transform .3s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { transform: translateY(-5px); }
.feature-icon {
  margin-bottom: 1rem;
  display: flex; justify-content: center; align-items: center;
}
.feature-icon svg {
  width: 40px; height: 40px;
  color: var(--terracotta-bright);
  stroke-width: 1.2;
}
.event-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
}
.event-icon svg {
  width: 22px; height: 22px;
  color: var(--terracotta);
}
.contact-card .icon svg, .phone-card .icon svg {
  width: 28px; height: 28px;
  color: var(--terracotta);
}
.contact-card .icon {
  display: flex; justify-content: center;
  margin-bottom: 1rem;
}
.phone-card .icon {
  display: flex; align-items: center;
}
.feature-item h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem; color: var(--cream);
  margin-bottom: .5rem;
}
.feature-item p {
  font-size: .9rem; color: rgba(253,249,244,.6);
}

/* ── CARTA SECTION (tabbed) ── */
.menu-section {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}
.menu-section-header { margin-bottom: 3rem; }
.menu-section-header .section-desc { max-width: 620px; }

/* Tab bar */
.carta-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 3rem;
}
.carta-tab {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ff-label);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--stone);
  background: transparent;
  border: 1px solid rgba(74,55,40,.2);
  padding: .75rem 1.6rem;
  cursor: pointer;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.carta-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--wine);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 0;
}
.carta-tab:hover { color: var(--wine); border-color: var(--wine); }
.carta-tab:hover::before { transform: translateY(0); }
.carta-tab:hover svg,
.carta-tab:hover span { position: relative; z-index: 1; color: var(--cream); }
.carta-tab svg,
.carta-tab span { position: relative; z-index: 1; transition: color .3s; }
.carta-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.carta-tab.active {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.carta-tab.active svg,
.carta-tab.active span { color: var(--cream); }
.carta-tab.active::before { transform: translateY(0); }

/* Panels */
.carta-panel {
  display: none;
  text-align: left;
  animation: panelFadeIn .45s ease;
}
.carta-panel.active { display: block; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel intro: text + main image */
.carta-panel-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: var(--cream-dark);
  border: 1px solid rgba(74,55,40,.1);
}
.carta-panel-text h3 {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--wine);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.carta-panel-text > p {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.carta-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.carta-highlights li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: var(--coal);
}
.carta-highlights li svg {
  width: 18px; height: 18px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.carta-panel-main-img {
  overflow: hidden;
  height: 360px;
}
.carta-panel-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.carta-panel-intro:hover .carta-panel-main-img img { transform: scale(1.05); }

/* Mosaic gallery */
.carta-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.carta-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 260px;
}
.carta-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.carta-gallery-item:hover img { transform: scale(1.08); }
.carta-gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .8rem 1rem;
  background: linear-gradient(to top, rgba(28,28,25,.85), transparent);
  font-family: var(--ff-label);
  font-size: .65rem;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .1em;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.carta-gallery-item:hover .carta-gallery-caption { transform: translateY(0); }

/* Placeholder slots (Recomendaciones) */
.placeholder-img-wrap { background: var(--cream-dark); }
.placeholder-img {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  border: 2px dashed rgba(74,55,40,.25);
  color: var(--stone);
  min-height: 220px;
  transition: border-color .3s;
}
.placeholder-img:hover { border-color: var(--terracotta); }
.placeholder-img svg {
  width: 40px; height: 40px;
  color: rgba(74,55,40,.3);
}
.placeholder-img p {
  font-family: var(--ff-label);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(74,55,40,.45);
}

/* SPACES */
.spaces {
  background: var(--cream-dark);
  position: relative;
}
.spaces-inner { max-width: 1200px; margin: 0 auto; }
.spaces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 3rem;
}
.space-card {
  position: relative; overflow: hidden; height: 350px;
  cursor: pointer;
}
.space-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s;
}
.space-card:hover img { transform: scale(1.1); }
.space-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(28,28,25,.85), transparent);
  transform: translateY(20px);
  transition: transform .4s;
}
.space-card:hover .space-info { transform: translateY(0); }
.space-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.5rem; color: var(--cream);
  margin-bottom: .3rem;
}
.space-info p { font-size: .9rem; color: rgba(253,249,244,.7); }

/* EVENTS */
.events { max-width: 1200px; margin: 0 auto; }
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  margin-top: 3rem;
}
.events-image { position: relative; overflow: hidden; }
.events-image img {
  width: 100%; height: 450px; object-fit: cover;
}
.events-list { list-style: none; }
.events-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(74,55,40,.15);
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.05rem; color: var(--coal);
  transition: all .3s;
}
.events-list li:hover { padding-left: 1rem; color: var(--terracotta); }
.events-list li .event-icon { font-size: 1.5rem; }

/* PARALLAX QUOTE */
.parallax-quote {
  position: relative; height: 450px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: -50px;
  background: url('images_ainsa/comedor con vistas.jpeg') center/cover no-repeat;
  background-attachment: fixed;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: rgba(61,0,6,.75);
}
.parallax-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem; max-width: 800px;
}
.parallax-content blockquote {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic; color: var(--cream);
  line-height: 1.3;
}
.parallax-content cite {
  display: block; margin-top: 1.5rem;
  font-family: var(--ff-label);
  font-size: .7rem; color: var(--terracotta-bright);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-style: normal;
}

/* TAKEAWAY */
.takeaway {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
  text-align: center;
}
.takeaway-inner { max-width: 700px; margin: 0 auto; }
.takeaway .section-label { color: var(--terracotta-bright); }
.takeaway .section-title { color: var(--cream); }
.takeaway p { color: rgba(253,249,244,.7); font-size: 1.1rem; margin-bottom: 2rem; }
.takeaway-phones {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.phone-card {
  display: flex; align-items: center; gap: .8rem;
  background: rgba(253,249,244,.08);
  border: 1px solid rgba(253,249,244,.12);
  padding: 1rem 1.8rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 1.1rem;
  transition: all .3s;
}
.phone-card:hover { background: rgba(253,249,244,.15); transform: translateY(-3px); }
.phone-card .icon { font-size: 1.3rem; }

/* CONTACT / CTA */
.contact {
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.contact-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(74,55,40,.15);
  background: var(--cream);
  transition: all .4s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(61,0,6,.08); }
.contact-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.contact-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.2rem; color: var(--wine);
  margin-bottom: .5rem;
}
.contact-card p { color: var(--stone); font-size: .95rem; }
.contact-card a {
  color: var(--terracotta); text-decoration: none;
  font-weight: 600; transition: color .3s;
}
.contact-card a:hover { color: var(--wine); }

/* REVIEWS MARQUEE */
.reviews {
  background: var(--cream-dark);
  overflow: hidden;
  padding-bottom: 4rem;
}
.reviews-marquee {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}
.reviews-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--cream-dark) 0%, transparent 100%);
}
.reviews-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--cream-dark) 0%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviewsScroll 60s linear infinite;
}
.reviews-track:hover {
  animation-play-state: paused;
}
.review-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--cream);
  border: 1px solid rgba(74,55,40,.12);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61,0,6,.1);
}
.review-stars {
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 2px;
}
.review-text {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--stone);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(74,55,40,.1);
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: .95rem;
  color: var(--wine);
}
.review-author span {
  font-family: var(--ff-label);
  font-size: .65rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: .1em;
}

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

/* MAP */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; filter: grayscale(30%) contrast(1.05); }

/* FOOTER */
.footer {
  background: var(--coal);
  padding: 4rem 2rem 2rem;
  color: rgba(253,249,244,.5);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  opacity: .9;
  transition: opacity .3s, transform .4s;
  filter: brightness(1.1);
  display: block;
}
.footer-logo:hover { opacity: 1; transform: scale(1.06) rotate(-4deg); }
.footer-brand h3 {
  font-family: var(--ff-heading);
  font-size: 1.5rem; color: var(--cream);
  margin-bottom: 1rem;
}
.footer-brand h3 span { color: var(--terracotta-bright); }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer h4 {
  font-family: var(--ff-label);
  font-size: .7rem; font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(253,249,244,.5); text-decoration: none; font-size: .9rem; transition: color .3s; }
.footer-links a:hover { color: var(--terracotta-bright); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(253,249,244,.08);
  text-align: center;
  font-size: .8rem;
}

/* ── GALERÍA ── */
.galeria {
  background: var(--cream-dark);
  text-align: center;
}
.galeria-header {
  margin-bottom: 3rem;
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 6px;
  margin-top: 2rem;
}
.galeria-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--coal);
}
.galeria-item.span-2 { grid-column: span 2; }
.galeria-item.tall-2 { grid-row: span 2; }
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
  display: block;
}
.galeria-item:hover img {
  transform: scale(1.08);
  filter: brightness(.7);
}
.galeria-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay span {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
  text-align: center;
  padding: 0 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.galeria-overlay svg {
  width: 28px; height: 28px;
  color: var(--terracotta-bright);
  stroke-width: 1.5;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12,8,6,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb-content img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(166,137,75,.2);
  transform: scale(.93);
  transition: transform .4s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.lightbox.open .lb-content img { transform: scale(1); }
.lb-caption {
  font-family: var(--ff-label);
  font-size: .7rem;
  font-weight: 700;
  color: rgba(253,249,244,.55);
  text-transform: uppercase;
  letter-spacing: .2em;
}
.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-label);
  font-size: .65rem;
  color: rgba(253,249,244,.3);
  letter-spacing: .1em;
}
.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 46px; height: 46px;
  border: 1px solid rgba(253,249,244,.15);
  background: rgba(253,249,244,.07);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s;
  z-index: 10;
}
.lb-close:hover { background: rgba(157,66,35,.4); border-color: var(--terracotta); }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border: 1px solid rgba(253,249,244,.15);
  background: rgba(253,249,244,.07);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s;
  z-index: 10;
}
.lb-nav:hover { background: rgba(157,66,35,.4); border-color: var(--terracotta); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* Responsive galería */
@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .galeria-item.span-2 { grid-column: span 2; }
  .galeria-item.tall-2 { grid-row: span 2; }
}
@media (max-width: 600px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 4px;
  }
  .galeria-item.span-2 { grid-column: span 2; }
  .galeria-item.tall-2 { grid-row: span 1; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .lb-content img { max-width: 95vw; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid, .events-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-inner { grid-template-columns: repeat(3, 1fr); }
  .feature-item:nth-child(even) { border-right: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .carta-panel-intro { grid-template-columns: 1fr; }
  .carta-panel-main-img { height: 280px; }
  .carta-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-logo-img { width: 110px; }
  
  section { padding: 4rem 1.5rem; }
  .section-title { font-size: 2.2rem; }
  
  .hero-content { padding: 1rem; }
  .hero-logo-img { width: 200px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }

  /* Carta tabs */
  .carta-tab { padding: .6rem 1rem; font-size: .65rem; }
  .carta-panel-intro { padding: 1.5rem; gap: 1.5rem; }
  .carta-gallery { grid-template-columns: 1fr; }
  .carta-gallery-item { height: 200px; }
  .carta-gallery-caption { transform: translateY(0); }

  .spaces-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(253,249,244,.1); }
  .feature-item:last-child { border-bottom: none; }
  
  .about-image img { height: 350px; }
  .about-badge { width: 100px; height: 100px; bottom: -10px; right: -10px; }
  .about-badge .big { font-size: 1.5rem; }
  
  .parallax-bg { background-attachment: scroll; }
  .parallax-content blockquote { font-size: 1.4rem; }
  
  .takeaway-phones { flex-direction: column; align-items: center; }
  .phone-card { width: 100%; justify-content: center; }
  
  .review-card { 
    width: 280px; 
    padding: 1.5rem;
    gap: 1rem;
  }
  .review-card:hover { transform: none; }
  .reviews-track { gap: 1rem; }
  .reviews-fade { width: 30px; }
  .review-text { font-size: 0.9rem; }
  .reviews-marquee { margin-top: 2rem; }
}

/* ── HISTORIA SECTION ── */
.historia {
  background: var(--cream-dark);
  padding: 0;
  overflow: hidden;
}

/* ① Intro: mismo grid que About */
.historia-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Reversed variant: text left, image right */
.historia-intro--reversed {
  grid-template-columns: 1fr 1fr;
}
.historia-intro--reversed .historia-intro-text { order: 1; }
.historia-intro--reversed .historia-intro-img  { order: 2; }
.historia-intro-img {
  position: relative;
  overflow: hidden;
}
.historia-intro-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}
.historia-intro-img:hover img { transform: scale(1.04); }

/* Mismo badge que About */
.historia-intro-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: var(--wine);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--ff-heading);
  box-shadow: 0 8px 30px rgba(61,0,6,.3);
}
.historia-intro-badge .big {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.historia-intro-badge .small {
  font-size: .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--ff-label);
  margin-top: 3px;
  text-align: center;
  padding: 0 .3rem;
}
.historia-intro-text p {
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.historia-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

@media (max-width: 480px) {
  .hero-logo-img { width: 160px; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .about-badge { display: none; }
  .nav-logo-img { width: 90px; }
  .historia-intro-badge { display: none; }
}
/* ③ Cierre: fondo vino, igual que Takeaway */
.historia-cierre {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
  padding: 5rem 2rem;
  text-align: center;
}
.historia-cierre-inner {
  max-width: 760px;
  margin: 0 auto;
}
.historia-cierre-inner p {
  font-family: var(--ff-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: rgba(253,249,244,.88);
  line-height: 1.7;
  margin: 1rem 0;
}
.historia-cierre-inner strong {
  color: var(--terracotta-bright);
  font-style: normal;
}
.historia-cierre-ornament {
  font-family: var(--ff-label);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: .6;
  letter-spacing: .3em;
}

/* ── HISTORIA RESPONSIVE ── */
@media (max-width: 1024px) {
  .historia-intro { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 2rem; }
  .historia-intro--reversed .historia-intro-text,
  .historia-intro--reversed .historia-intro-img { order: unset; }
  .historia-intro-img img { height: 380px; }
}
@media (max-width: 768px) {
  .historia-intro-badge { width: 100px; height: 100px; bottom: -10px; right: -10px; }
  .historia-intro-badge .big { font-size: 1.1rem; }
  .historia-cierre { padding: 3.5rem 1.5rem; }
}

