/* ===== Pinulito – estilos generales ===== */

:root {
  --yellow: #ffdd00;
  --yellow-soft: #ffe066;
  --cream: #fff8e9;
  --red: #e4032e;
  --red-dark: #b8021f;
  --black: #1b1b1b;
  --gray: #6b6b6b;
  --gray-bg: #f4f1ef;
  --white: #ffffff;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --container: 1200px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 4px 12px rgba(27, 27, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.site-footer {
  margin-top: auto;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.1;
}

p {
  line-height: 1.6;
  color: var(--gray);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

#menu-teaser .section-head {
  text-align: left;
  max-width: none;
  margin: 0 0 10px;
}

.menu-teaser-split-top {
  background: #F4F1EF;
  padding: 28px 0 40px;
}

.menu-teaser-split-bottom {
  background: #ffffff;
  padding: 40px 0 80px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--red);
  background: var(--yellow-soft);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
}

.section-head p {
  margin-top: 14px;
}

.menu-teaser-title {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
  transition: color 0.2s ease;
}

.menu-teaser-title:hover {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(228, 3, 46, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
}

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

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #d8b400;
  background: #fffbea;
  color: #a58600;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  min-height: 120px;
  padding: 12px;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gray-bg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  width: 100%;
  padding: 0 24px 0 0;
}

.logo {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.logo img {
  height: 84px;
  width: auto;
}

.main-nav > ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--black);
  position: relative;
  padding: 6px 2px;
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--yellow-soft);
}

.dropdown-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: url('../assets/EXTENSI%C3%93N%20DE%20MENU/Manita%20para%20la%20extensi%C3%B3n%20de%20men%C3%BA.png') no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.dropdown-menu a.active .dropdown-icon {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-actions .btn-whatsapp {
  margin-left: -2px;
}

.nav-link-icon,
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.nav-link-icon:hover,
.btn-whatsapp:hover {
  background: var(--cream);
}

.nav-link-icon img,
.btn-whatsapp img {
  width: 32px;
  height: 32px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* ===== Hero / carrusel ===== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 8000 / 2963;
  border-radius: 0;
}

.hero > img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-crop-edges {
  transform: scale(1.02);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: #F4F1EF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.about-card .placeholder-box {
  aspect-ratio: 1 / 1;
  max-width: 80px;
  margin: 0 auto 16px;
}

.about-icon {
  display: block;
  width: 64px;
  height: auto;
  margin: 0 0 16px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card--heading-left h3,
.about-card--heading-left p {
  text-align: left;
}

#diferenciales {
  padding-top: 20px;
}

.banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.banner-split-image {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.banner-split-image img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-split-content {
  position: relative;
  display: flex;
}

.banner-split-content-main {
  flex: 1;
  background: var(--yellow);
  display: flex;
  align-items: center;
  padding: 40px 60px;
}

.banner-cta h2 {
  color: var(--black);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 16px;
}

.banner-cta p {
  color: var(--black);
  margin-bottom: 24px;
  line-height: 1.4;
}

.banner-cta-btn {
  display: inline-flex;
  width: fit-content;
  padding: 10px 18px;
  background: #E30613;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.banner-split-content-side {
  width: 18%;
  background: #F4F1EF;
}

.banner-split-divider-btn {
  position: absolute;
  top: 50%;
  left: 82%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #F4F1EF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.banner-split-divider-btn img {
  width: 55px;
  height: 55px;
}

#banner-inferior {
  margin-bottom: 70px;
}

#diferenciales .category-card {
  aspect-ratio: 360 / 380;
  background: var(--gray-bg);
}

#diferenciales .category-card img {
  object-fit: cover;
}

#diferenciales .category-overlay {
  padding: 20px 22px;
}

#diferenciales .category-overlay h3 {
  font-size: 1.2rem;
}

#diferenciales .category-overlay p {
  font-size: 0.85rem;
  color: var(--black);
}

#eventos-especiales {
  padding-bottom: 140px;
}

#eventos-especiales .category-card {
  aspect-ratio: 360 / 380;
  background: var(--gray-bg);
}

#eventos-especiales .category-card img {
  object-fit: cover;
}

#eventos-especiales .category-overlay h3 {
  font-size: 1.2rem;
}

#eventos-especiales .category-overlay p {
  color: var(--black);
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero-track {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slide {
  min-width: 100%;
}

.hero-slide img {
  width: 100%;
  aspect-ratio: 5337 / 2327;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 4%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(27, 27, 27, 0.55);
  backdrop-filter: blur(6px);
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
}

.hero-badge img {
  width: 46px;
  height: 46px;
}

.hero-badge a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  white-space: nowrap;
}

.hero-controls {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: var(--yellow);
  width: 26px;
  border-radius: 999px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  font-family: var(--font-heading);
  cursor: pointer;
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  background: var(--yellow);
  color: var(--black);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

/* ===== Franja Micha Micha ===== */

.micha-strip {
  position: relative;
  width: 100%;
  background: var(--gray-bg);
}

.micha-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  text-align: center;
}

.micha-strip-inner p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--red);
  margin: 0;
}

.micha-strip-hand {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(380px);
  width: 140px;
  height: auto;
  pointer-events: none;
}

.micha-strip-hand--nosotros {
  transform: translateX(320px);
}

.micha-strip-hand--eventos {
  transform: translateX(350px);
}

/* ===== Categorías (home) ===== */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.menu-teaser-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.btn-menu-completo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 20px;
  background: #e30613;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 360 / 284;
}

.category-card--sticker {
  overflow: visible;
}

.category-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.category-card--sticker .category-card-media {
  overflow: visible;
}

.category-card--sticker .category-card-media > img {
  position: absolute;
  left: 0;
  bottom: 20%;
  width: 100%;
  height: 85%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.category-card--sticker .category-overlay {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Cards cuya foto trae un elemento (tapitas, papas fritas, asa, etc.)
   que debe sobresalir del contenedor, igual que en Individuales. */
.category-card--bleed {
  overflow: visible;
}

.category-card--bleed > img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  clip-path: inset(4.5% 0 0 0 round var(--radius-lg));
}

.category-card--bleed .category-overlay {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

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

/* Inicio: Combos y Complementos (junto a Individuales) recortan el
   remanente beige que traen las fotos nuevas para llenar toda la card. */
/* Inicio (index.html): mismo tratamiento que .menu-teaser-split — las
   imágenes ya son diseños completos, se muestran sin recortar y las
   cards se alinean por abajo. */
#menu-teaser:not(.menu-teaser-split) .categories-grid {
  align-items: end;
}

#menu-teaser:not(.menu-teaser-split) .category-card {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

#menu-teaser:not(.menu-teaser-split) .category-card-media {
  height: auto;
  overflow: visible;
  border-radius: 0;
}

#menu-teaser:not(.menu-teaser-split) .category-card img:not(.card-sticker) {
  position: static;
  inset: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: initial;
  object-position: initial;
  border-radius: 0;
  clip-path: none;
}

#menu-teaser:not(.menu-teaser-split) .category-card .category-overlay {
  background: transparent;
}

/* Menú (menu.html): las 6 cards del teaser ya son diseños completos
   (esquinas, sombra y zona de texto vienen dentro del propio archivo),
   igual que en Cupones: se muestran completas, sin recortar. */
.menu-teaser-split .categories-grid {
  align-items: end;
}

.menu-teaser-split .category-card {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.menu-teaser-split .category-card-media {
  height: auto;
  overflow: visible;
  border-radius: 0;
}

.menu-teaser-split .category-card img:not(.card-sticker) {
  position: static;
  inset: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: initial;
  object-position: initial;
  border-radius: 0;
  clip-path: none;
}

.menu-teaser-split .category-card .category-overlay {
  background: transparent;
}

.menu-teaser-split-top .category-card:not(.category-card--sticker) .category-overlay {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Cupones: los cupones ya son diseños completos, se muestran sin recortar */
#cupones .categories-grid {
  align-items: start;
}

#cupones .category-card {
  aspect-ratio: auto;
}

#cupones .category-card img {
  height: auto;
  object-fit: contain;
}

.category-card .card-sticker {
  position: absolute;
  top: -55px;
  right: -10px;
  width: 130px;
  height: auto;
  z-index: 2;
  transform: rotate(8deg);
  pointer-events: none;
}

.category-card:hover .card-sticker {
  transform: rotate(8deg);
}

.category-card .category-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: var(--gray-bg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-overlay--tall {
  min-height: 104px;
}

.menu-teaser-split-top .category-card .category-overlay {
  background: #ffffff;
}

.menu-teaser-split-bottom .category-overlay {
  background: #F4F1EF;
}

#combos .category-card .category-overlay,
#bebidas .category-card .category-overlay {
  background: transparent;
}

#combos .category-overlay p,
#bebidas .category-overlay p {
  color: var(--black);
}

.category-row--overlay-white .category-overlay {
  background: #ffffff;
}

.category-row--overlay-cream .category-overlay {
  background: #F4F1EF;
}

.category-row--cream {
  background: #F4F1EF;
}

.category-row {
  padding: 22px 0;
}

.micha-strip + .category-row {
  padding-top: 100px;
}

.category-row--gap-top {
  margin-top: 30px;
  margin-bottom: 100px;
}

.category-row--white {
  background: #ffffff;
  padding: 40px 0;
}

.category-overlay h3 {
  color: var(--black);
  font-size: 1.5rem;
}

.category-overlay p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.35;
}

.category-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn-circle svg {
  width: 14px;
  height: 14px;
}

.category-card .placeholder-box {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.category-price-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red);
  font-size: 1.3rem;
  text-align: center;
  line-height: 1.1;
}

/* ===== Novedades ===== */

.novedades-heading {
  padding-top: 0;
  padding-bottom: 30px;
}

.novedades-heading .section-head {
  text-align: left;
  max-width: none;
  margin: 0;
}

.novedades {
  background: var(--gray-bg);
  overflow: visible;
  padding: 20px 0;
  margin-bottom: 100px;
}

#novedades {
  padding: 0;
}

.novedades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  min-height: 400px;
}

.novedades-title img {
  max-width: 340px;
  margin-bottom: 20px;
}

#novedades .novedades-title img {
  max-width: 460px;
  width: 100%;
}

.novedades-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding-right: 24px;
}

.novedades-text p {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.novedades-image {
  position: relative;
  align-self: center;
}

.novedades-image img.mascot {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

#historia {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 70px;
}

#historia .novedades-text {
  align-items: flex-start;
}

#historia .novedades-copy {
  margin-top: 24px;
}

#historia .novedades-text p {
  color: var(--black);
  font-size: 1.02rem;
  line-height: 1.3;
}

#historia .novedades-image {
  align-self: stretch;
  overflow: hidden;
}

#historia .novedades-image img.mascot {
  position: absolute;
  inset: 0;
  transform: none;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* ===== Nosotros ===== */

.nosotros-heading {
  padding-bottom: 32px;
}

.nosotros-heading .section-head {
  text-align: left;
  max-width: none;
  margin: 0;
}

.nosotros {
  position: relative;
  margin-bottom: 100px;
}

.nosotros-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1925 / 410;
  overflow: hidden;
}

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

.nosotros-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Coincide con la franja amarilla de nosotros_V02.webp (px 690–1221 de 1925) */
  left: 35.84%;
  width: 27.64%;
  background: #ffdd00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2% 1.5%;
  text-align: center;
}

.nosotros-overlay h3 {
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.nosotros-overlay p {
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 14px;
}

.btn-historia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 12px;
  background: #e30613;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

/* ===== Footer ===== */

.site-footer {
  position: relative;
  background: var(--gray-bg);
  color: var(--black);
  overflow: visible;
  padding: 20px 0 40px;
}

.site-footer .container {
  padding-left: 15px;
}

.footer-copyright {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: -20px;
  margin-left: 100px;
}

.footer-social {
  position: absolute;
  left: 100px;
  top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social img {
  height: 24px;
  display: block;
}

.footer-top {
  position: relative;
  min-height: 55px;
}

.footer-brand {
  position: absolute;
  left: -100px;
  bottom: -50px;
}

.footer-brand img.footer-mascot {
  width: 200px;
  display: block;
}

.footer-bottom {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.footer-bottom .powered {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom img {
  height: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .footer-legal {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
}

/* ===== Página de Menú ===== */

.menu-tabs-wrap {
  position: sticky;
  top: 84px;
  z-index: 90;
  background: var(--gray-bg);
  border-bottom: 1px solid #eee;
}

.menu-tabs-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
}

.menu-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #eee;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
}

.menu-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.menu-category {
  padding: 40px 0;
  scroll-margin-top: 84px;
  background: var(--gray-bg);
}

.menu-category + .menu-category {
  border-top: 1px solid rgba(27, 27, 27, 0.1);
}

/* Menú (menu.html): las cards de producto de cada categoría son el mismo
   tipo de diseño completo que .menu-teaser-split (esquinas, sombra y zona
   de texto ya incluidas en el archivo) — mismo tratamiento: se muestran
   completas, sin recortar, alineadas por abajo. */
.menu-category .categories-grid {
  align-items: end;
}

.menu-category .category-card {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.menu-category .category-card img:not(.card-sticker) {
  position: static;
  inset: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: initial;
  object-position: initial;
  border-radius: 0;
  clip-path: none;
  transform: none;
}

.menu-category .category-card .category-overlay {
  background: transparent;
}

#loncherita {
  background: #F4F1EF;
}

#loncherita .category-card .category-overlay {
  background: transparent;
}

#postres {
  background: #ffffff;
}

#postres .category-card .category-overlay {
  background: var(--gray-bg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

#postres .category-overlay p {
  color: var(--black);
}

#complementos .category-card .category-overlay {
  background: transparent;
}

#complementos .category-row--white .category-card .category-overlay {
  background: transparent;
}

/* Cards con diseño completo (Inicio y Menú): la zona blanca/gris donde va
   el texto viene dentro de la imagen y mide ~29% del ancho de la card en
   todas las fotos. El overlay se fija a esa altura y el texto escala con
   el ancho de la card (cqw) para que descripciones largas no se salgan
   de la zona y tapen la foto. */
#menu-teaser .category-card,
.menu-category .category-card {
  container-type: inline-size;
}

#menu-teaser .category-card .category-overlay,
.menu-category .category-card .category-overlay {
  height: 28cqw;
  min-height: 0;
  padding: 0 6.5cqw 1.2cqw;
  gap: 3cqw;
}

#menu-teaser .category-overlay-text,
.menu-category .category-overlay-text {
  gap: min(6px, 0.8cqw);
  min-width: 0;
}

#menu-teaser .category-overlay h3,
.menu-category .category-overlay h3 {
  font-size: min(1.5rem, 6.2cqw);
  line-height: 1.1;
}

#menu-teaser .category-overlay p,
.menu-category .category-overlay p {
  font-size: min(1rem, 4.5cqw);
  line-height: 1.25;
}

#menu-teaser .category-btn,
.menu-category .category-price-circle {
  width: min(48px, 14cqw);
  height: min(48px, 14cqw);
}

.menu-category .category-price {
  font-size: min(1.3rem, 5.4cqw);
}

/* Precios con centavos (Q11.50) no caben en el círculo: se vuelve píldora. */
.menu-category .category-price-circle--wide {
  width: auto;
  padding: 0 min(12px, 3cqw);
  border-radius: 999px;
}

.menu-category-title {
  margin-bottom: 24px;
}

.menu-category-title h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--black);
}

.menu-category-head {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}

.menu-category-head--solo {
  display: block;
}

.menu-category-head--solo img {
  max-width: 320px;
}

.menu-category-head img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 360 / 284;
  object-fit: cover;
  width: 100%;
}

.menu-category-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.menu-category-head p {
  margin-top: 12px;
  max-width: 520px;
}

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

.menu-item-card {
  background: var(--white);
  border: 1px solid #f0e9d2;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.menu-item-card .item-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.menu-item-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.menu-item-card p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red);
  font-size: 1.1rem;
}

.item-add {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.item-add:hover {
  background: var(--red);
}

/* ===== Responsive ===== */

/* Tablet: 2 columnas para que las imágenes de las cards no se agranden
   más allá de su tamaño real (~360–540px) y se vean borrosas. */
@media (max-width: 960px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

  .novedades-image {
    order: -1;
  }

  #historia .novedades-image {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

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

  .banner-split {
    grid-template-columns: 1fr;
  }

  .banner-split-image {
    height: 260px;
  }

  .banner-split-content {
    flex-direction: column;
  }

  .banner-split-content-main {
    padding: 32px 24px;
  }

  .banner-split-divider-btn,
  .banner-split-content-side {
    display: none;
  }

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

  .micha-strip-inner {
    flex-direction: column;
    gap: 6px;
    padding: 18px 24px;
  }

  .micha-strip-inner p {
    font-size: 1.4rem;
  }

  .micha-strip-hand {
    position: static;
    transform: none;
    width: 64px;
  }
}

/* Nosotros (index): la franja amarilla del banner es angosta; por debajo
   de 1250px el texto ya no cabe dentro, así que pasa debajo de la imagen. */
@media (max-width: 1249px) {
  .nosotros-banner {
    aspect-ratio: auto;
  }

  .nosotros-banner img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  .nosotros-overlay {
    position: static;
    inset: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    background: var(--yellow);
    border-radius: 0;
    padding: 28px 24px;
  }
}

/* Teléfono: las cards vuelven a una sola columna. */
@media (max-width: 599px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 880px) {
  .nav-container {
    gap: 16px;
    padding: 0 16px;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 12px 0 0 16px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hamburger {
    display: flex;
  }

  .hero-badge a span {
    display: none;
  }

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

  .site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-left: 24px;
  }

  .footer-copyright {
    order: 1;
    margin: 0;
  }

  .footer-top {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 0;
    order: 2;
  }

  .footer-social {
    position: static;
    justify-content: center;
  }

  .footer-brand {
    position: static;
  }

  .footer-brand img.footer-mascot {
    width: 140px;
    margin: 0 auto;
  }

  .footer-bottom {
    position: static;
    transform: none;
    align-items: center;
    gap: 12px;
    order: 3;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ===== Botón flotante PedidosYa ===== */

.pedidosya-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--pedidosya-lift, 0px));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.pedidosya-float img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 6px 16px rgba(27, 27, 27, 0.28);
  position: relative;
  z-index: 1;
  transform-origin: 50% 60%;
  animation: pedidosya-shake 8s ease-in-out 1.2s infinite;
  transition: transform 0.2s ease;
}

.pedidosya-label {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(27, 27, 27, 0.18);
  animation: pedidosya-peek 8s ease-in-out 1.2s infinite both;
}

.pedidosya-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.pedidosya-float:hover img,
.pedidosya-float:focus-visible img {
  animation: none;
  transform: scale(1.08);
}

.pedidosya-float:hover .pedidosya-label,
.pedidosya-float:focus-visible .pedidosya-label {
  animation: none;
}

.pedidosya-float:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
  border-radius: 999px;
}

@keyframes pedidosya-shake {
  0%, 15%, 100% { transform: translateX(0) rotate(0); }
  16.5% { transform: translateX(-3px) rotate(-10deg); }
  18% { transform: translateX(3px) rotate(10deg); }
  19.5% { transform: translateX(-3px) rotate(-8deg); }
  21% { transform: translateX(3px) rotate(8deg); }
  22.5% { transform: translateX(-2px) rotate(-5deg); }
  24% { transform: translateX(2px) rotate(5deg); }
  25.5% { transform: translateX(0) rotate(0); }
}

/* La etiqueta sale desde detrás del ícono, se queda un rato y se mete de nuevo */
@keyframes pedidosya-peek {
  0%, 4%, 80%, 100% {
    clip-path: inset(0 -10px 0 100%);
    transform: translateX(36px);
  }
  12%, 72% {
    clip-path: inset(0 -10px 0 0);
    transform: translateX(0);
  }
}

@media (max-width: 880px) {
  .pedidosya-float {
    right: 14px;
    bottom: calc(14px + var(--pedidosya-lift, 0px));
    gap: 10px;
  }

  .pedidosya-float img {
    width: 50px;
    height: 50px;
  }

  .pedidosya-label {
    padding: 7px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pedidosya-float img,
  .pedidosya-label {
    animation: none;
  }
}

/* ===== SEO/AEO: utilidades y preguntas frecuentes ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq {
  background: var(--cream);
  padding: 64px 0 72px;
}

.faq h2 {
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: var(--black);
  text-align: center;
}

.faq-item {
  max-width: 860px;
  margin: 0 auto 14px;
  padding: 0 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--black);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 30px;
  line-height: 1;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.faq-item p {
  margin: 0;
  padding: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
}

@media (max-width: 640px) {
  .faq {
    padding: 44px 0 52px;
  }

  .faq-item {
    padding: 0 18px;
  }

  .faq-item summary {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}
