/* ==========================================================================
   Diegolin Mexican Restaurant — styles.css
   Paleta: AMARILLO (fondo amarillo cálido, acentos verde/rojo del rótulo)
   ========================================================================== */

:root {
  --yellow: #F9C74F;
  --yellow-pale: #FDE9B8;
  --white: #FFFFFF;
  --green: #1D8348;
  --green-dark: #145C33;
  --red: #C1272D;
  --red-dark: #931D22;
  --gold: #FFC72C;
  --dark: #1A1A1A;
  --footer-dark: #0F2A1B;
  --gray: #5c5442;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.16);
  --shadow-lg: 0 12px 34px rgba(0,0,0,0.22);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

p, span, a, button, input, textarea, select, label {
  font-family: var(--font-body);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* iOS Safari: evita el zoom automatico al enfocar inputs/selects */
input, select, textarea { font-size: 16px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section--alt {
  background: var(--yellow-pale);
}

.section--white {
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  color: var(--dark);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.section-title .accent { color: var(--red); }
.section-title .accent-green { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

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

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--red:hover { background: var(--red-dark); }

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--green:hover { background: var(--green-dark); }

.btn--outline {
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--green);
}
.btn--outline:hover { background: rgba(29,131,72,0.1); }

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1DAE54; }

.btn--small { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid #eee;
  transition: box-shadow .25s ease, padding .25s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 6px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-brand img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.92rem;
  position: relative;
}

.nav-links a:hover { color: var(--red); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-pill {
  display: flex;
  border: 2px solid var(--green);
  border-radius: 50px;
  overflow: hidden;
}

.lang-pill button {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark);
}

.lang-pill button.active {
  background: var(--green);
  color: var(--white);
}

.nav-call {
  background: var(--red);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-call:hover { background: var(--red-dark); }
.nav-call .call-text { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  top: 62px;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 14px;
  transform: translateY(-120%);
  transition: transform .3s ease;
  z-index: 999;
  max-height: calc(100vh - 62px);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
}

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

.hero-bg-parallax {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background: url('img/hero.png') center/cover no-repeat;
  z-index: 0;
  will-change: transform;
}

/* Overlay SUTIL solo abajo, para legibilidad de los botones —
   NO oscurecer toda la foto. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Brillo dorado sutil, para conectar con el amarillo del resto del sitio */
.hero-gold-glow {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(249,199,79,0.25) 0%, rgba(249,199,79,0) 65%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-shooting-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-shooting-stars span {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, rgba(249,199,79,0) 0%, #F9C74F 55%, #FFFFFF 100%);
  border-radius: 3px;
  box-shadow: 0 0 12px 2px rgba(255,255,255,0.8);
  opacity: 0;
  animation: shootingStar linear infinite;
}

@keyframes shootingStar {
  0%   { transform: translate(0, 0) rotate(-35deg); opacity: 0; }
  4%   { opacity: 1; }
  16%  { opacity: 0; }
  100% { transform: translate(-650px, 650px) rotate(-35deg); opacity: 0; }
}

.hero-shooting-stars span:nth-child(1)  { top: 5%;  left: 90%; animation-duration: 3.2s; animation-delay: 0s; }
.hero-shooting-stars span:nth-child(2)  { top: 15%; left: 70%; animation-duration: 3.8s; animation-delay: 0.6s; }
.hero-shooting-stars span:nth-child(3)  { top: 2%;  left: 50%; animation-duration: 3.4s; animation-delay: 1.2s; }
.hero-shooting-stars span:nth-child(4)  { top: 25%; left: 95%; animation-duration: 4s;   animation-delay: 1.8s; }
.hero-shooting-stars span:nth-child(5)  { top: 10%; left: 30%; animation-duration: 3.6s; animation-delay: 2.4s; }
.hero-shooting-stars span:nth-child(6)  { top: 32%; left: 60%; animation-duration: 4.2s; animation-delay: 0.3s; }
.hero-shooting-stars span:nth-child(7)  { top: 18%; left: 15%; animation-duration: 3.5s; animation-delay: 1.5s; }
.hero-shooting-stars span:nth-child(8)  { top: 8%;  left: 80%; animation-duration: 4.4s; animation-delay: 3s; }
.hero-shooting-stars span:nth-child(9)  { top: 28%; left: 40%; animation-duration: 3.9s; animation-delay: 2.1s; }
.hero-shooting-stars span:nth-child(10) { top: 12%; left: 55%; animation-duration: 3.3s; animation-delay: 2.7s; }
.hero-shooting-stars span:nth-child(11) { top: 35%; left: 20%; animation-duration: 4.1s; animation-delay: 0.9s; }
.hero-shooting-stars span:nth-child(12) { top: 20%; left: 5%;  animation-duration: 3.7s; animation-delay: 3.3s; }

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 740px;
}

.hero-logo {
  width: 440px;
  height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  animation: heartbeat 1.2s ease-in-out infinite;
  margin-bottom: -90px;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-title {
  color: #F9C74F;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  text-shadow: 2px 3px 0 rgba(0,0,0,0.85), 0 3px 14px rgba(0,0,0,0.6);
  line-height: 1.1;
}

.hero-tagline {
  color: var(--white);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  opacity: 0.96;
  max-width: 560px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.hero-actions .btn { font-size: clamp(0.9rem, 2.4vw, 1.05rem); padding: 15px 28px; }

.hero-socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.hero-socials .social-circle {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-socials .social-circle svg { fill: var(--white); }
.hero-socials .social-circle:hover { background: var(--red); border-color: var(--red); }

@media (max-width: 600px) {
  .hero-logo { width: 320px; height: 320px; margin-bottom: -65px; }
}

/* ==========================================================================
   Bestsellers slider (cinta continua — nombre + precio)
   ========================================================================== */
.bestsellers {
  padding: 60px 0 40px;
  background: var(--yellow);
}

.bestsellers-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.bestsellers-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: bsScroll 28s linear infinite;
}

.bestsellers-track:hover { animation-play-state: paused; }

@keyframes bsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bs-card {
  width: 190px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--green);
}

.bs-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.bs-card-body {
  padding: 10px 12px 14px;
  text-align: center;
}

.bs-card-body h4 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.bs-card-body .bs-price {
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
}

/* ==========================================================================
   Menu tabs + grid
   ========================================================================== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.menu-tab {
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--green);
  background: var(--white);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--dark);
  transition: background .2s ease, color .2s ease;
}

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

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

@media (min-width: 900px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

.menu-card {
  background: var(--white);
  border: 1px solid #f0e8cf;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 0 2px var(--green);
}

.menu-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.menu-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--yellow-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.75rem;
  text-align: center;
  padding: 10px;
}

.menu-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.menu-card-body h4 {
  font-size: 0.96rem;
  line-height: 1.25;
  color: var(--dark);
}

.menu-card-desc {
  font-size: 0.76rem;
  color: var(--gray);
  min-height: 0;
}

.menu-card-note {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  width: fit-content;
}

.menu-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: 1.08rem;
}

.menu-card select {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: var(--yellow-pale);
  color: var(--dark);
  width: 100%;
  max-width: 100%;
}

.add-to-cart-btn {
  margin-top: auto;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background .2s ease;
}
.add-to-cart-btn:hover { background: var(--red-dark); }

/* ==========================================================================
   Cart drawer + floating cart button (bottom-left)
   ========================================================================== */
.cart-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  transition: transform .2s ease;
}
.cart-float:hover { transform: scale(1.08); }
.cart-float.bounce { animation: cartBounce .5s ease; }
@keyframes cartBounce {
  0%,100% { transform: scale(1); }
  30% { transform: scale(1.3); }
  55% { transform: scale(0.9); }
  75% { transform: scale(1.15); }
}

.cart-float-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: min(400px, 92vw);
  background: var(--white);
  z-index: 1999;
  box-shadow: 8px 0 30px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
}
.cart-panel.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 { font-size: 1.2rem; color: var(--red); }

.cart-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--dark);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  color: #999;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 12px;
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item-noimg {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--yellow-pale);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h5 {
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--dark);
}

.cart-item-info .cart-item-price {
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: var(--yellow-pale);
  color: var(--dark);
  font-weight: 700;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.1rem;
}
.cart-item-remove:hover { color: var(--red); }

.cart-footer {
  padding: 16px 20px 22px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

/* ==========================================================================
   Catering
   ========================================================================== */
.catering {
  position: relative;
  background: url('img/catering.png') center/cover no-repeat;
  padding: 80px 0;
}

.catering::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
}

.catering .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .catering .container { grid-template-columns: 1fr 1fr; align-items: center; }
}

.catering-intro h2 { color: var(--yellow); text-align: left; margin-bottom: 14px; }
.catering-intro p { color: var(--white); font-size: 1rem; line-height: 1.7; opacity: 0.95; }

.catering-form {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catering-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catering-form input,
.catering-form select,
.catering-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
}

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

.catering-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 520px) {
  .catering-form .form-row.two { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.reviews-header svg { width: 28px; height: 28px; }
.reviews-header .reviews-rating {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark);
}
.reviews-header .reviews-stars { color: var(--gold); font-size: 1.1rem; }
.reviews-header .reviews-count { color: var(--gray); font-size: 0.85rem; }

.reviews-platforms {
  text-align: center;
  color: var(--gray);
  font-size: 0.8rem;
  margin-bottom: 30px;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid #f0e8cf;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.review-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.88rem; color: var(--dark); }
.review-stars { color: var(--gold); font-size: 0.85rem; }
.review-google-badge {
  font-size: 0.65rem;
  color: var(--gray);
  background: var(--yellow-pale);
  padding: 2px 8px;
  border-radius: 20px;
  align-self: flex-start;
}
.review-text { font-size: 0.83rem; color: var(--gray); line-height: 1.55; }

.reviews-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: #8a7f60;
  margin-top: 24px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray);
}

.contact-hours-lines { display: flex; flex-direction: column; gap: 2px; }
.contact-hours-lines .closed { color: var(--red); font-weight: 600; }

.contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-fact {
  background: var(--yellow-pale);
  border: 1px solid #f0e8cf;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--dark);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-pale);
  border: 1px solid #f0e8cf;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-circle:hover { background: var(--red); transform: translateY(-3px); }
.social-circle svg { width: 20px; height: 20px; fill: var(--dark); }
.social-circle:hover svg { fill: var(--white); }

.delivery-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.delivery-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  transition: transform .2s ease, filter .2s ease;
}
.delivery-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }

.contact-actions .delivery-badge {
  padding: 14px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.contact-map iframe {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0e8cf;
}

/* ==========================================================================
   Footer — banda oscura de cierre
   ========================================================================== */
.footer {
  background: var(--footer-dark);
  color: #ddd;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-credit {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { text-decoration: underline; }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
}

.footer-socials .social-circle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-socials .social-circle svg { fill: #eee; }
.footer-socials .social-circle:hover { background: var(--red); }
.footer-socials .social-circle:hover svg { fill: var(--white); }

.footer p { font-size: 0.85rem; color: #b8c4bb; margin: 4px 0; }

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.75rem;
  color: #8fa397;
}

/* ==========================================================================
   Floating WhatsApp button (bottom-right, cart float is bottom-left)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Reels / Follow Us
   ========================================================================== */
.reels-section { background: var(--surface-alt, #FDE9B8); }

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.reel-card {
  position: relative;
  width: 100%;
  aspect-ratio: 267 / 476;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #F9C74F;
  background: #000;
}

.reel-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reels-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 700px) {
  .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ==========================================================================
   Mobile optimizations (critical)
   ========================================================================== */
@media (max-width: 600px) {
  .nav-call .call-text { display: none; }
  .nav-call { padding: 9px 11px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 8px; }
  .lang-pill button { padding: 5px 9px; font-size: 0.75rem; }
  .section { padding: 50px 0; }
  .nav-brand span { font-size: 0.9rem; max-width: 110px; }
}

@media (max-width: 360px) {
  .nav-brand span { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 16px 50px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cart-float, .whatsapp-float { width: 50px; height: 50px; }
}
