/* ===== Variables ===== */
:root {
  --bg-primary: #FAF6F0;
  --bg-secondary: #1A1A1A;
  --bg-card: #FFFFFF;
  --gold: #D4A038;
  --gold-dark: #B8892E;
  --gold-light: #E8C06A;
  --text-primary: #1A1A1A;
  --text-muted: #777777;
  --text-secondary: #555555;
  --white: #FFFFFF;
  --font-heading: 'Oswald', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  text-align: center;
  display: block;
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* ===== Wave Divider ===== */
.wave-divider {
  line-height: 0;
  display: block;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

@media (max-width: 768px) {
  .wave-divider svg {
    height: 40px;
  }
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section--dark {
  background: var(--bg-secondary);
  color: var(--white);
}

.section--dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.section--dark h2 {
  color: var(--white);
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.4s var(--ease), padding 0.3s var(--ease);
  background: transparent;
}

.header.scrolled {
  background: linear-gradient(180deg, #D4A038 0%, #b8860b 100%);
  box-shadow: 0 2px 20px rgba(212, 160, 56, 0.3);
  padding: 0.5rem 1.5rem;
}

.header__logo {
  line-height: 0;
}

.header__logo-img {
  height: 42px;
  width: auto;
  transition: 0.3s var(--ease);
  filter: brightness(1) drop-shadow(0 1px 4px rgba(0,0,0,0.2));
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  transition: 0.3s var(--ease);
  position: relative;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
}

.navbar__link:hover {
  opacity: 1;
  color: var(--gold);
}

.header.scrolled .navbar__link {
  color: #3a2a0a;
}

.header.scrolled .navbar__link:hover {
  color: #1a0f00;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s var(--ease);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s var(--ease);
}

.header.scrolled .navbar__toggle span {
  background: #3a2a0a;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 246, 240, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s var(--ease);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1.5rem;
  animation: heroFadeIn 1.2s var(--ease) forwards;
}

.hero__logo {
  height: 110px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.hero__title {
  font-family: var(--font-script);
  font-weight: 600;
  background: linear-gradient(135deg, #D4A038 0%, #f5d06a 40%, #D4A038 70%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-shadow: none;
  font-size: clamp(4rem, 12vw, 8rem);
  filter: drop-shadow(0 2px 16px rgba(212, 160, 56, 0.35));
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 2rem;
  display: block;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s var(--ease);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

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

.btn--white {
  background: var(--white);
  color: #1A1A1A;
}

.btn--white:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== About / Historia ===== */
#historia {
  position: relative;
  background: url('../img/nuestra-historia.png') center / cover fixed no-repeat;
}

#historia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 240, 0.55);
  z-index: 1;
}

#historia .container {
  position: relative;
  z-index: 2;
}

#historia h2 {
  color: #1A1A1A;
}

#historia .section-subtitle {
  color: #555555;
}

#historia .about__text p {
  color: #3a3a3a;
}

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

.about__image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: 0.3s var(--ease);
}

.about__image img:hover {
  transform: scale(1.03);
}

/* ===== Sabores ===== */
#sabores {
  position: relative;
  background: url('../img/sabores.jpg') center / cover fixed no-repeat;
}

#sabores::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 240, 0.55);
  z-index: 1;
}

#sabores .container {
  position: relative;
  z-index: 2;
}

.about__text h3 {
  margin-bottom: 1rem;
  font-family: var(--font-script);
  text-transform: none;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0;
}

.about__text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.about__value {
  padding: 2.5rem 2rem;
  background: #d4ccc0;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: 0.3s var(--ease);
  border: 2px solid rgba(0,0,0,0.12);
}

.about__value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.about__value .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about__value h4 {
  margin-bottom: 0.5rem;
  color: #0D0D0D;
  font-weight: 700;
}

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

/* ===== Flavor Cards ===== */
.flavors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flavor-card {
  background: var(--bg-card);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.06);
}

.flavor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 160, 56, 0.3);
}

.flavor-card__image {
  height: 220px;
  overflow: hidden;
}

.flavor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s var(--ease);
}

.flavor-card:hover .flavor-card__image img {
  transform: scale(1.08);
}

.flavor-card__body {
  padding: 1.5rem;
  text-align: center;
}

.flavor-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flavor-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Postres Carousel ===== */
.postres__carousels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.carousel {
  --items: 8;
  --carousel-duration: 40s;
  --carousel-width: 100%;
  --carousel-item-width: 260px;
  --carousel-item-height: 380px;
  --carousel-item-gap: 1.5rem;

  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-item-height);
  overflow: clip;
  mask-image: linear-gradient(to right, transparent, black 5% 95%, transparent);
}

.carousel[reverse] > article {
  animation-direction: reverse;
}

.carousel:hover > article {
  animation-play-state: paused;
}

.carousel > article {
  position: absolute;
  top: 0;
  left: calc(100% + var(--carousel-item-gap));
  width: var(--carousel-item-width);
  height: var(--carousel-item-height);
  display: grid;
  grid-template-rows: 200px 1fr auto;
  gap: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding-block-end: 1rem;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  will-change: transform;
  animation-name: marquee;
  animation-duration: var(--carousel-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--carousel-duration) / var(--items) * -1 * var(--i, 0));
}

.carousel > article:nth-child(1) { --i: 0; }
.carousel > article:nth-child(2) { --i: 1; }
.carousel > article:nth-child(3) { --i: 2; }
.carousel > article:nth-child(4) { --i: 3; }
.carousel > article:nth-child(5) { --i: 4; }
.carousel > article:nth-child(6) { --i: 5; }
.carousel > article:nth-child(7) { --i: 6; }
.carousel > article:nth-child(8) { --i: 7; }
.carousel > article:nth-child(9) { --i: 8; }
.carousel > article:nth-child(10) { --i: 9; }
.carousel > article:nth-child(11) { --i: 10; }
.carousel > article:nth-child(12) { --i: 11; }

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.carousel > article > *:not(img) {
  padding: 0 1rem;
}

.carousel > article h2 {
  font-size: 1.1rem;
  font-weight: 500;
  padding-block: 0.6rem 0.15rem;
  margin: 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1A1A1A;
}

.carousel > article p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes marquee {
  100% {
    transform: translateX(calc((var(--items) * (var(--carousel-item-width) + var(--carousel-item-gap))) * -1));
  }
}

/* ===== Menu ===== */
.menu-section {
  background: var(--bg-secondary);
  color: var(--white);
}

.menu-section h2 {
  color: var(--white);
}

.menu-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

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

.menu-tab {
  padding: 0.8rem 2rem;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--bg-card);
  color: var(--text-muted);
  transition: 0.3s var(--ease);
  text-transform: uppercase;
}

.menu-tab:hover {
  background: rgba(212, 160, 56, 0.15);
  color: var(--gold);
}

.menu-tab.active {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.menu-panel {
  display: none;
  animation: fadeIn 0.4s var(--ease) forwards;
}

.menu-panel.active {
  display: block;
}

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

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: 0;
  transition: 0.3s var(--ease);
  border: 1px solid rgba(0,0,0,0.06);
}

.menu-item:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(212, 160, 56, 0.2);
}

.menu-item__info {
  flex: 1;
}

.menu-item__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.menu-item__name-it {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.menu-item__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.menu-item__price {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.1rem;
  white-space: nowrap;
}

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

.menu-item__price-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ===== Stats ===== */
.stats {
  background: var(--bg-secondary);
  color: var(--white);
}

.stats h2 {
  color: var(--white);
}

.stats .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s var(--ease);
}

.stat-card:hover {
  border-color: rgba(212, 160, 56, 0.3);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.stat-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s var(--ease);
}

.gallery__item::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  background: rgba(0,0,0,0);
  transition: 0.3s var(--ease);
  opacity: 0;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item:hover::after {
  background: rgba(0,0,0,0.6);
  opacity: 1;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
  color: var(--white);
}

.testimonials h2 {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.testimonials__carousel {
  --card-width: 340px;
  --card-height: auto;
  --nav-btn-size: 40px;
  --nav-marker-size: 14px;
  --nav-marker-bg-active: var(--gold);

  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1rem 0 2rem;
  max-width: 100%;
  scroll-marker-group: after;
}

.testimonials__carousel::scroll-marker-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 0;
}

.testimonials__carousel > li {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  min-width: var(--card-width);
  max-width: var(--card-width);
  flex: 0 0 auto;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 1rem;
  align-content: space-between;
}

.testimonials__carousel > li > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
}

.testimonials__carousel > li > cite {
  margin: 0;
  text-align: right;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--gold);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials__carousel > li::scroll-marker {
  content: '';
  height: var(--nav-marker-size);
  aspect-ratio: 1;
  background: transparent;
  border-radius: 50%;
  border: 1px solid var(--nav-marker-bg-active);
  transition: 150ms ease-in-out;
}

.testimonials__carousel > li::scroll-marker:target-current {
  background: var(--nav-marker-bg-active);
}

.testimonials__carousel > li::scroll-marker:where(:hover,:focus-visible) {
  background: var(--nav-marker-bg-active);
}

/* ===== Location ===== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location__map {
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  filter: grayscale(0.3);
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.location__card {
  background: var(--bg-card);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.location__card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}

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

.location__card a {
  color: var(--gold);
  text-decoration: underline;
}

.location__hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.location__hours .day {
  color: var(--text-primary);
  font-weight: 500;
}

.location__hours .time {
  color: var(--text-muted);
  text-align: right;
}

/* ===== Contact ===== */
#contacto {
  position: relative;
  background: url('../img/contacto-fondo.jpg') center / cover fixed no-repeat;
}

#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 240, 0.4);
  z-index: 1;
}

#contacto .container {
  position: relative;
  z-index: 2;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__image-wrap {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact__image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

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

.contact__form input,
.contact__form textarea {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
  font-size: 0.95rem;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: 0.3s var(--ease);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--gold);
  background: rgba(212, 160, 56, 0.05);
}

.contact__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__socials {
  display: flex;
  flex-direction: column;
}

.contact__socials-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.contact__socials-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact__socials-divider {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact__socials-divider span {
  width: 50px;
  height: 3px;
  background: var(--gold);
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  transition: 0.3s var(--ease);
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 3px solid transparent;
}

.contact__social-link .icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.03);
  color: var(--gold);
}

.contact__social-link:hover {
  transform: translateX(5px);
  border-color: rgba(212, 160, 56, 0.2);
  border-left-color: var(--gold);
  color: var(--gold);
}

.contact__social-link:hover .arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ===== Footer ===== */
.footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.6);
  padding: 4rem 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo {
  height: 45px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer__column {
  color: rgba(255,255,255,0.6);
}

.footer__column h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer__column a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.7rem;
  transition: 0.3s var(--ease);
}

.footer__column a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__social-row {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.footer__social-row li {
  list-style: none;
}

.footer__social-row li a {
  position: relative;
  display: block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 1.3rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.5s;
}

.footer__social-row li a span {
  position: absolute;
  transition: transform 0.5s;
}

.footer__social-row li a span:nth-child(1),
.footer__social-row li a span:nth-child(3) {
  width: 100%;
  height: 2px;
  background: var(--text-muted);
}

.footer__social-row li a span:nth-child(1) {
  top: 0;
  left: 0;
  transform-origin: right;
}

.footer__social-row li a:hover span:nth-child(1) {
  transform: scaleX(0);
  transform-origin: left;
}

.footer__social-row li a span:nth-child(3) {
  bottom: 0;
  left: 0;
  transform-origin: left;
}

.footer__social-row li a:hover span:nth-child(3) {
  transform: scaleX(0);
  transform-origin: right;
}

.footer__social-row li a span:nth-child(2),
.footer__social-row li a span:nth-child(4) {
  width: 2px;
  height: 100%;
  background: var(--text-muted);
}

.footer__social-row li a span:nth-child(2) {
  top: 0;
  left: 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

.footer__social-row li a:hover span:nth-child(2) {
  transform: scaleY(1);
  transform-origin: top;
}

.footer__social-row li a span:nth-child(4) {
  top: 0;
  right: 0;
  transform: scaleY(0);
  transform-origin: top;
}

.footer__social-row li a:hover span:nth-child(4) {
  transform: scaleY(1);
  transform-origin: bottom;
}

.footer__social-row li a.facebook:hover { color: #3b5998; }
.footer__social-row li a.facebook:hover span { background: #3b5998; }

.footer__social-row li a.instagram:hover { color: #E4405F; }
.footer__social-row li a.instagram:hover span { background: #E4405F; }

.footer__social-row li a.threads:hover { color: #000; }
.footer__social-row li a.threads:hover span { background: #000; }

.footer__social-row li a.youtube:hover { color: #ff0000; }
.footer__social-row li a.youtube:hover span { background: #ff0000; }

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 45px;
  height: 45px;
  border-radius: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--white);
  font-size: 2rem;
  transition: 0.3s var(--ease);
}

.lightbox__close:hover {
  color: var(--gold);
}

/* ===== Animations ===== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.text-gold { color: var(--gold); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .flavors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .carousel {
    --carousel-item-width: 220px;
    --carousel-item-height: 340px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.6rem 1.2rem;
  }

  .header__logo-img {
    height: 36px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

#sabores .section-subtitle {
  color: #3a3a3a;
}

.about__image {
    order: -1;
  }

  .about__image img {
    height: 300px;
  }

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

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

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .carousel {
    --carousel-item-width: 180px;
    --carousel-item-height: 290px;
  }

  .testimonials__carousel > li {
    min-width: 280px;
    max-width: 280px;
  }

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

  .location__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .flavors__grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    --carousel-item-width: 150px;
    --carousel-item-height: 240px;
  }

  .carousel > article {
    grid-template-rows: 120px 1fr auto;
  }

  .testimonials__carousel > li {
    min-width: 260px;
    max-width: 260px;
    padding: 1.5rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

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