/* ============================================
   SUSHI RYU — Main Stylesheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-dark: #0a0a0a;
  --accent: #E8191A;
  --accent-dim: rgba(232, 25, 26, 0.15);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Noto Serif JP', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --navbar-h: 72px;
}

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

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

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

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-header h2 span,
h2 span {
  color: var(--accent);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-dot {
  color: var(--accent);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Reservar Button */
.btn-reservar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-reservar:hover {
  background: #c41516;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Nav Dropdown ---------- */
.mobile-nav {
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  overflow: hidden;
  /* Altura automática — solo ocupa lo necesario */
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px 0 6px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 10px;
  margin: 2px 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .mobile-nav-link.active {
    color: #fff;
    background: transparent;
    outline: 1.5px solid var(--accent, #E8191A);
    border-radius: 10px;
  }
}

.mobile-nav-close {
  display: none;
}

.mobile-reservar {
  display: block;
  margin: 10px 16px 18px;
  text-align: center;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  padding: 16px 24px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  border-bottom: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.mobile-reservar:hover {
  background: rgba(232, 25, 26, 0.75) !important;
  color: #fff !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('../img/noodles-camaron.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--navbar-h);
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 620px;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--accent);
  padding: 16px 36px;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta:hover {
  background: #c41516;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 25, 26, 0.35);
}

/* ============================================
   PRODUCTO ESTRELLA CARD (Hero)
   ============================================ */
.hero-estrella {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  z-index: 3;
  width: 290px;
  border-radius: 16px;
  overflow: hidden;
  /* glassmorphism: fondo semitransparente difuminado */
  background: rgba(10, 5, 5, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 25, 26, 0.12);
  animation: floatCard 7s ease-in-out infinite;
}

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

/* Badge "PRODUCTO ESTRELLA" */
.hero-estrella__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--red, #E8191A);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
}

/* Product image — tall crop */
.hero-estrella__img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.hero-estrella__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-estrella:hover .hero-estrella__img-wrap img {
  transform: scale(1.06);
}

/* Text body */
.hero-estrella__body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.hero-estrella__category {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red, #E8191A);
  margin-bottom: 0.35rem;
}

.hero-estrella__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.hero-estrella__desc {
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1rem;
}

.hero-estrella__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hero-estrella__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red, #E8191A);
  line-height: 1;
}

.hero-estrella__cta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(232, 25, 26, 0.85);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.hero-estrella__cta:hover {
  background: #E8191A;
  transform: translateY(-1px);
}

/* Responsive — show below content on mobile */
@media (max-width: 768px) {
  .hero-estrella {
    position: static;
    transform: none;
    animation: none;
    width: calc(100% - 40px);
    max-width: 400px;
    margin: 2.5rem auto 0;
  }

  .hero-estrella__img-wrap {
    height: 240px;
  }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: #150000;
  border-top: 1px solid rgba(232, 25, 26, 0.2);
  border-bottom: 1px solid rgba(232, 25, 26, 0.2);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 25, 26, 0.85);
  padding-right: 0;
}

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

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
  padding: 100px 0;
}

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

.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), border-top-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.menu-card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

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

.menu-card:hover .menu-card-img img {
  transform: scale(1.07);
}

.menu-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

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

.btn-add {
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 7px 14px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.btn-add:hover {
  background: var(--accent);
  color: #fff;
}

.food-card[hidden],
.menu-card[hidden] {
  display: none !important;
}

/* ============================================
   NOSOTROS SECTION
   ============================================ */
.nosotros-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #111111 100%);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}

.nosotros-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 580px;
}

.nosotros-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.6s ease;
}

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

.nosotros-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  margin-top: 12px;
}

.nosotros-content p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 24px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex: 1;
  min-width: 120px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 28px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================
   CONTACTO / RESERVAS SECTION
   ============================================ */
.contacto-section {
  padding: 100px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Form */
.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.reserva-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #111;
  border: 1px solid #333;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 25, 26, 0.12);
}

.form-group select {
  cursor: pointer;
  background-image: url('../img/select-arrow.svg');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: #1a1a1a;
}

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

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  background: #c41516;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 25, 26, 0.3);
}

/* Sucursales */
.sucursales-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sucursales-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sucursal-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.sucursal-card:hover {
  border-color: rgba(232, 25, 26, 0.4);
}

.sucursal-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.sucursal-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sucursal-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sucursal-phone {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  transition: opacity var(--transition);
}

.sucursal-phone:hover {
  opacity: 0.75;
}

.map-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--accent);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.social-icon:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(232, 25, 26, 0.1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-credits {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-reservar {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
  }

  .circle-1 {
    width: 200px;
    height: 200px;
    right: 4%;
  }

  .circle-2 {
    width: 150px;
    height: 150px;
    right: 16%;
  }

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

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-img {
    height: 380px;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
    padding-top: calc(var(--navbar-h) + 24px);
  }

  /* Hero becomes a flex column: text on top, card below */
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .menu-section,
  .nosotros-section,
  .contacto-section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

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

  .menu-card-img {
    height: 220px;
  }

  .nosotros-img {
    height: 280px;
  }

  .stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .stat-box {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
  }

  .stat-number {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  .form-wrapper {
    padding: 24px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .container {
    padding: 0 16px;
  }
}

/* ============================================
   DATE INPUT — Cross-browser color fix
   ============================================ */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
}
/* Logo image */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1);
  transition: opacity 0.2s ease;
}
.logo-img:hover {
  opacity: 0.85;
}
.footer-logo .logo-img {
  height: 36px;
  filter: none;
}

/* ---------- Online order cart ---------- */
.order-cart-launcher {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1100;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.storefront-added-products {
  padding: 42px 0 80px;
}

.order-cart-launcher:hover,
.order-cart-launcher:focus-visible {
  background: #c41516;
}

.order-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1101;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
}

.order-cart-panel {
  position: fixed;
  top: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1102;
  display: flex;
  flex-direction: column;
  width: min(440px, calc(100vw - 32px));
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #141414;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.order-cart-panel[hidden],
.order-cart-panel [hidden] {
  display: none !important;
}

.order-cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.order-cart-kicker {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.order-cart-header h2 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.order-cart-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #fff;
  font-size: 1.5rem;
}

.order-cart-items {
  display: grid;
  gap: 8px;
  max-height: 30vh;
  overflow-y: auto;
  padding: 14px 0;
}

.order-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #1c1c1c;
}

.order-cart-item-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.order-cart-item-details strong {
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}

.order-cart-item-details span,
.order-cart-empty {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.order-cart-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.order-cart-quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid #444;
  border-radius: 3px;
  color: #fff;
}

.order-cart-quantity .order-cart-remove {
  width: auto;
  border: 0;
  color: #ff7777;
  font-size: 0.72rem;
}

.order-cart-total {
  display: flex;
  justify-content: space-between;
  padding: 13px 0 2px;
  border-top: 1px solid var(--border);
}

.order-cart-total strong {
  color: var(--accent);
}

.order-cart-payment {
  margin: 5px 0 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.order-cart-status {
  min-height: 1.3em;
  margin: 0 0 8px;
  font-size: 0.82rem;
}

.order-cart-status.is-error {
  color: #ff8585;
}

.order-cart-status.is-success {
  color: #89d49a;
}

.order-cart-checkout {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.order-cart-checkout label {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.order-cart-checkout input,
.order-cart-checkout select,
.order-cart-checkout textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #383838;
  border-radius: 4px;
  background: #0d0d0d;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  text-transform: none;
}

.order-cart-checkout textarea {
  resize: vertical;
}

.order-cart-checkout .btn-submit {
  padding: 12px;
}

.order-cart-checkout .btn-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 600px) {
  .order-cart-launcher {
    left: 14px;
    bottom: 14px;
  }

  .order-cart-panel {
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    padding: 16px;
  }
}
