/* ==========================================================
   SABOR CASERO MOSQUERA · Restaurante / Comida
   Mobile-First | Floating 3D | Cálido | Glassmorphism
   ========================================================== */

/* ===== 1. VARIABLES CSS ===== */
:root {
  --color-primary: #e53935;
  --color-primary-dark: #c62828;
  --color-primary-light: #ff6f60;
  --color-primary-glow: rgba(229, 57, 53, 0.25);
  --color-cream: #fff8f0;
  --color-cream-dark: #f5ede3;
  --color-brown: #5d4037;
  --color-olive: #558b2f;
  --color-gold: #ffd54f;
  --color-dark: #2c1810;
  --color-text: #3e2723;
  --color-text-muted: #8d6e63;
  --color-glass-bg: rgba(255, 255, 255, 0.6);
  --color-glass-border: rgba(229, 57, 53, 0.1);
  --color-glass-shadow: rgba(0, 0, 0, 0.04);
  --color-white: #fff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --wa-number: "573123456789";
  --font-display: 'Abril Fatface', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  --font-heading: 'Playfair Display', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 2. RESET Y BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--warm {
  background: var(--color-cream-dark);
}

.section--rojo {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  text-align: center;
  color: var(--color-white);
}

.section--rojo .section__desc {
  color: rgba(255, 255, 255, 0.85);
}

.section--rojo .section__title {
  color: var(--color-white);
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.section__cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== 3. BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 57, 53, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--ghost:hover {
  background: rgba(229, 57, 53, 0.06);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ===== 4. HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 57, 53, 0.06);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-dark);
}

.header__logo-icon {
  font-size: 1.2rem;
}

.header__logo-accent {
  color: var(--color-primary);
}

.logo__icon { margin-right: 8px; flex-shrink: 0; transition: transform 0.3s ease; }
a:hover .logo__icon { transform: scale(1.1) rotate(-5deg); }

/* ---- NAV TOGGLE ---- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-left: 1px solid rgba(229, 57, 53, 0.1);
}

.nav--open {
  right: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav__link {
  display: block;
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
  border-radius: var(--radius-sm);
  text-align: center;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: 700;
}

.nav__link--cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-weight: 700;
  margin-top: 8px;
}

/* ===== 5. HERO FLOATING 3D ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-cream);
  background-image: url('assets/images/hero-restaurante.jpg');
  background-size: cover;
  background-position: center;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(229, 57, 53, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 213, 79, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(85, 139, 47, 0.04) 0%, transparent 40%);
}

.hero__float-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 800px;
}

.hero__float-plato {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transition: transform 0.15s ease;
}

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

.hero__float-plato--1 {
  width: 160px;
  height: 160px;
  top: 12%;
  left: 3%;
  transform: rotateY(-10deg) translateZ(20px);
  opacity: 0.12;
}

.hero__float-plato--2 {
  width: 130px;
  height: 130px;
  bottom: 18%;
  right: 5%;
  transform: rotateY(8deg) translateZ(30px);
  opacity: 0.1;
}

.hero__float-plato--3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 12%;
  transform: rotateY(-5deg) translateZ(10px);
  opacity: 0.08;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(44,24,16,0.35) 0%, rgba(44,24,16,0.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 640px;
}

.hero__tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0;
  color: var(--color-dark);
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hero__slogan {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-olive);
  margin-bottom: 16px;
}

.hero__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== 6. ABOUT ===== */
.about {
  display: grid;
  gap: 40px;
}

.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

.about__img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about__text {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__text strong {
  color: var(--color-primary);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--color-glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-glass-border);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

/* ===== 7. DISH CARDS ===== */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 8px 32px var(--color-glass-shadow);
  border-radius: var(--radius-md);
}

.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.dish-card {
  overflow: hidden;
  transition: var(--transition);
}

.dish-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.dish-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.dish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-card__img img {
  transform: scale(1.06);
}

.dish-card__body {
  padding: 20px;
}

.dish-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.dish-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dish-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dish-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
}

.dish-card__order {
  padding: 8px 20px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  transition: var(--transition);
}

.dish-card__order:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

/* ===== 8. TESTIMONIOS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.testimonial-card {
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 57, 53, 0.15);
}

.testimonial__stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--color-text);
}

.testimonial__author {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
}

/* ===== 9. PÁGINAS INTERNAS ===== */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(229,57,53,0.03) 0%, transparent 100%);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.page-hero__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== 10. MENÚ DIGITAL ===== */
.menu-category {
  margin-bottom: 48px;
}

.menu-category__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 10px;
  position: relative;
}

.menu-category__title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
}

.menu-category__icon {
  font-size: 1.4rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  gap: 16px;
  transition: var(--transition);
}

.menu-item:hover {
  border-color: rgba(229, 57, 53, 0.2);
  transform: translateX(4px);
}

.menu-item--highlight {
  border-color: var(--color-primary);
  background: rgba(229, 57, 53, 0.04);
}

.menu-item__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.menu-item__name .star {
  color: var(--color-gold);
}

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

.menu-item__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Floating 3D effect on scroll */
.menu-item--float {
  opacity: 0;
  transform: translateY(20px);
  animation: floatIn 0.6s ease forwards;
}

.menu-item--float:nth-child(1) { animation-delay: 0.1s; }
.menu-item--float:nth-child(2) { animation-delay: 0.2s; }
.menu-item--float:nth-child(3) { animation-delay: 0.3s; }
.menu-item--float:nth-child(4) { animation-delay: 0.4s; }

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 11. GALERÍA ===== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.06);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gallery-filter--active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: var(--transition);
}

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

.gallery-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ===== 12. CONTACTO ===== */
.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-card {
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 57, 53, 0.15);
}

.contact-card__icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.contact-card__link {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form-wrap {
  padding: 32px 24px;
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.06);
}

.form-input::placeholder {
  color: rgba(0,0,0,0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

/* ===== 13. WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: waBounce 2s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== 14. FOOTER ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--color-white);
}

.footer__accent {
  color: var(--color-primary);
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.footer__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer__link {
  color: var(--color-gold);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__presentto {
  color: var(--color-primary-light);
  font-size: 0.78rem;
}

/* ==========================================================
   RESPONSIVE — TABLET 768px
   ========================================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 100px 0;
  }

  .section__title {
    font-size: 2.4rem;
  }

  .header__inner {
    padding: 16px 32px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: none;
    backdrop-filter: none;
    border: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 4px;
  }

  .nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .nav__link--cta {
    margin-top: 0;
    padding: 8px 20px;
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .hero__subtitle {
    font-size: 1.5rem;
  }

  .hero__float-plato--1 {
    width: 240px;
    height: 240px;
    top: 8%;
    left: 5%;
    opacity: 0.18;
  }

  .hero__float-plato--2 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    right: 8%;
    opacity: 0.15;
  }

  .hero__float-plato--3 {
    width: 140px;
    height: 140px;
    top: 25%;
    right: 15%;
    opacity: 0.12;
  }

  .about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
  }

  .about__img img {
    height: 400px;
  }

  .stat__num {
    font-size: 2.5rem;
  }

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

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

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

  .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-wrap {
    padding: 36px 32px;
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================
   RESPONSIVE — DESKTOP 1024px+
   ========================================================== */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section__title {
    font-size: 2.8rem;
  }

  .hero__title {
    font-size: 5.5rem;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__float-plato--1 {
    width: 300px;
    height: 300px;
    top: 6%;
    left: 6%;
    opacity: 0.2;
    transform: rotateY(-12deg) translateZ(30px);
  }

  .hero__float-plato--2 {
    width: 220px;
    height: 220px;
    bottom: 12%;
    right: 10%;
    opacity: 0.16;
    transform: rotateY(10deg) translateZ(40px);
  }

  .hero__float-plato--3 {
    width: 160px;
    height: 160px;
    top: 22%;
    right: 18%;
    opacity: 0.12;
    transform: rotateY(-8deg) translateZ(15px);
  }

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

  .page-hero__title {
    font-size: 2.8rem;
  }

  .menu-category__title {
    font-size: 1.7rem;
  }

  .wa-float {
    width: 60px;
    height: 60px;
    bottom: 32px;
    right: 32px;
  }
}

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

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.dish-card:nth-child(1) { animation: fadeInUp 0.3s ease-out both; }
.dish-card:nth-child(2) { animation: fadeInUp 0.4s ease-out both; }
.dish-card:nth-child(3) { animation: fadeInUp 0.5s ease-out both; }

/* ===== SCROLL ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(229, 57, 53, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 57, 53, 0.35);
}

/* ===== BACKGROUND ANIMATION: Ingredient Drift + Steam ===== */
.hero__ingredients {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__ingredient {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.08;
  animation: ingredientRise linear infinite;
}

@keyframes ingredientRise {
  0% { opacity: 0; transform: translateY(0) translateX(0) scale(0.8); }
  15% { opacity: 0.08; }
  85% { opacity: 0.05; }
  100% { opacity: 0; transform: translateY(-50px) translateX(15px) scale(1.1); }
}

.hero__steam {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__steam-band {
  position: absolute;
  width: 120%;
  height: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: steamDrift linear infinite;
  left: -10%;
}

.hero__steam-band:nth-child(1) { top: 20%; animation-duration: 14s; animation-delay: 0s; }
.hero__steam-band:nth-child(2) { top: 40%; animation-duration: 18s; animation-delay: -5s; }
.hero__steam-band:nth-child(3) { top: 60%; animation-duration: 12s; animation-delay: -9s; }
.hero__steam-band:nth-child(4) { top: 75%; animation-duration: 16s; animation-delay: -3s; }

@keyframes steamDrift {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { transform: translateX(-20%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ingredients,
  .hero__ingredient,
  .hero__steam,
  .hero__steam-band {
    animation: none !important;
  }
}

::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--left { transform: translateX(-30px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(30px); }
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale { transform: scale(0.9); }
.reveal--scale.is-visible { transform: scale(1); }
/* Stagger delays */
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1;
    transform: none;
  }
}
