/* ==========================================================================
   MILTONESAS — Identidad Visual Web (Mobile-First + Desktop)
   Basada en el Manual de Marca Oficial
   ========================================================================== */

:root {
  /* Paleta Oficial del Manual de Marca */
  --maroon: #72170F;
  --terracotta: #8A4337;
  --orange: #E74011;
  --brown: #A3775B;
  --sand: #D4AC86;
  --leaf: #456D2B;
  --lime: #B9CC6A;
  --magenta: #C70E6B;
  --beet: #8F2243;
  --red: #C51A1B;
  --dark: #131F23;
  --slate: #2F3A3F;

  /* Superficies y Neutros */
  --bg: #131F23;
  --bg-elevated: #1B292E;
  --bg-card: #223136;
  --white: #FFFFFF;
  --text-light: #F4F6F2;
  --text-muted: #B6C2C6;
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Tipografías del Manual de Marca */
  --font-display: 'Amatic SC', cursive;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radios y Sombras */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.34);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Trama de Vegetales del Manual de Marca */
.veg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='44' cy='46' rx='18' ry='14'/%3E%3Cellipse cx='44' cy='46' rx='9' ry='14'/%3E%3Cpath d='M44 32c0-5 4-8 7-6'/%3E%3Cpath d='M126 30l12 28c1 3-3 5-5 3l-21-22c-3-3 1-11 6-12 3-1 7 0 8 3z'/%3E%3Cpath d='M121 28l-5-8m8 7l1-9m3 10l7-5'/%3E%3Cpath d='M185 62c-12-8-14-24-2-32 10-7 22 4 19 16-3 11-11 14-17 16z'/%3E%3Cpath d='M185 62c2-11 6-19 12-25'/%3E%3Cpath d='M45 144c-11-6-13-18-6-25 6-6 18-6 24 0 7 7 5 19-6 25l-6 9-6-9z'/%3E%3Cpath d='M110 142c8-16 24-24 40-20-6 16-22 24-40 20z'/%3E%3Ccircle cx='124' cy='135' r='3.5'/%3E%3Ccircle cx='134' cy='131' r='3.5'/%3E%3Cpath d='M182 140c-6 0-10 5-9 13 1 9 6 15 12 14 2 2 8 2 10 0 6 1 11-5 12-14 1-8-3-13-9-13-3 0-6 1-8 3-2-2-5-3-8-3z'/%3E%3Ccircle cx='124' cy='192' r='14'/%3E%3Cpath d='M124 178l-5-4m5 4l5-4m-5 4v-6'/%3E%3C/g%3E%3C/svg%3E");
}

.veg-pattern-magenta {
  background-color: var(--magenta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%238F2243' stroke-opacity='0.36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='44' cy='46' rx='18' ry='14'/%3E%3Cellipse cx='44' cy='46' rx='9' ry='14'/%3E%3Cpath d='M126 30l12 28c1 3-3 5-5 3l-21-22c-3-3 1-11 6-12 3-1 7 0 8 3z'/%3E%3Cpath d='M185 62c-12-8-14-24-2-32 10-7 22 4 19 16-3 11-11 14-17 16z'/%3E%3Cpath d='M45 144c-11-6-13-18-6-25 6-6 18-6 24 0 7 7 5 19-6 25l-6 9-6-9z'/%3E%3Cpath d='M110 142c8-16 24-24 40-20-6 16-22 24-40 20z'/%3E%3Ccircle cx='124' cy='192' r='14'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(19, 31, 35, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-lime {
  background: var(--lime);
  color: var(--dark);
}

.btn-lime:hover {
  background: #c8da7c;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 204, 106, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #0b2414;
}

.btn-whatsapp:hover {
  background: #31e274;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 0.54rem 1.05rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   HERO EDITORIAL
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2.4rem, 5.5vw, 5rem) 0 clamp(2.8rem, 6vw, 5.2rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(185, 204, 106, 0.14);
  border: 1px solid rgba(185, 204, 106, 0.38);
  color: var(--lime);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.94;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero-title span {
  color: var(--lime);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 0 1.8rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 1.2rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--lime);
}

.hero-stat span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Composición visual del Manual de Marca */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
}

.hero-block-lime {
  position: absolute;
  width: 82%;
  height: 84%;
  background: var(--lime);
  border-radius: 34px;
  transform: rotate(3.5deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.hero-block-magenta {
  position: absolute;
  width: 56%;
  height: 92%;
  left: 4%;
  background: var(--magenta);
  clip-path: polygon(4% 0%, 100% 3%, 88% 100%, 0% 97%);
  border-radius: 16px;
}

.hero-main-dish {
  position: relative;
  z-index: 2;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 7px;
  background: var(--white);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.48);
}

.hero-main-dish img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero-mini-dish {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  padding: 5px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.hero-mini-dish img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hero-mini-dish.dish-top {
  width: 108px;
  height: 108px;
  top: 4%;
  right: 4%;
}

.hero-mini-dish.dish-bottom {
  width: 98px;
  height: 98px;
  bottom: 4%;
  left: 6%;
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section {
  padding: clamp(3rem, 5.5vw, 5rem) 0;
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-block;
  color: var(--lime);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  line-height: 0.95;
  margin: 0;
  color: var(--white);
}

.section-desc {
  max-width: 52ch;
  color: var(--text-muted);
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
}

/* ==========================================================================
   CATÁLOGO DESPLEGABLE POR CATEGORÍA (Limpio y ágil en celulares)
   ========================================================================== */
.catalog-section {
  scroll-margin-top: 76px;
}

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

.cat-panel {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cat-panel.is-open {
  border-color: var(--cat-color, var(--lime));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);
}

.cat-panel.pulse-highlight {
  animation: panelPulse 1.1s ease-out;
}

@keyframes panelPulse {
  0% { box-shadow: 0 0 0 0 rgba(185, 204, 106, 0.75); }
  50% { box-shadow: 0 0 0 10px rgba(185, 204, 106, 0.2); }
  100% { box-shadow: 0 0 0 0 rgba(185, 204, 106, 0); }
}

.cat-header-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
  position: relative;
  transition: background-color var(--transition);
}

.cat-header-btn::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--cat-color, var(--lime));
}

.cat-header-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cat-avatar {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.cat-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.cat-header-text {
  flex: 1;
  min-width: 0;
}

.cat-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
}

.cat-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 0.95;
  margin: 0;
}

.cat-units-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sand);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.cat-count-sub {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cat-chevron {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition);
}

.cat-panel.is-open .cat-chevron {
  transform: rotate(180deg);
  background: var(--cat-color, var(--lime));
  color: var(--cat-text, var(--dark));
}

/* Contenido desplegable de la categoría */
.cat-body {
  display: none;
  border-top: 1px solid var(--border-subtle);
  padding: 1.2rem 1.35rem 1.45rem;
  background: rgba(15, 25, 29, 0.48);
}

.cat-panel.is-open .cat-body {
  display: block;
  animation: fadeSlideDown 0.24s ease-out;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-intro-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.cat-intro-bar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 58ch;
}

.btn-cat-video {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(185, 204, 106, 0.15);
  color: var(--lime);
  border: 1.5px solid rgba(185, 204, 106, 0.45);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  font-size: 0.86rem;
  transition: all var(--transition);
}

.btn-cat-video:hover {
  background: var(--lime);
  color: var(--dark);
}

/* Lista de sabores/productos desplegables dentro de la categoría */
.flavor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.flavor-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.flavor-item.is-expanded {
  border-color: var(--item-color, var(--lime));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.flavor-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.flavor-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--item-color, var(--lime));
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.flavor-icon svg {
  width: 19px;
  height: 19px;
}

.flavor-head {
  flex: 1;
  min-width: 0;
}

.flavor-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.flavor-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.badge-new {
  background: var(--red);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 0.18rem 0.55rem;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.flavor-units {
  display: block;
  font-size: 0.78rem;
  color: var(--sand);
  margin-top: 0.12rem;
}

.flavor-arrow {
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

.flavor-item.is-expanded .flavor-arrow {
  transform: rotate(180deg);
  color: var(--lime);
}

/* Detalle desplegable del producto seleccionado */
.flavor-detail {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.flavor-item.is-expanded .flavor-detail {
  display: block;
  animation: fadeSlideDown 0.2s ease-out;
}

.flavor-detail-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.flavor-detail-thumb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2px;
  background: var(--white);
  flex-shrink: 0;
}

.flavor-detail-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.flavor-detail p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.flavor-detail-actions {
  display: flex;
  gap: 0.55rem;
}

.flavor-detail-actions .btn-watch {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--lime);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.86rem;
  transition: transform var(--transition), background-color var(--transition);
}

.flavor-detail-actions .btn-watch:hover {
  background: #c8da7c;
  transform: translateY(-1px);
}

.flavor-detail-actions .btn-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(37, 211, 102, 0.16);
  color: #46ec86;
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.86rem;
  transition: all var(--transition);
}

.flavor-detail-actions .btn-wa:hover {
  background: #25D366;
  color: #092112;
}

/* ==========================================================================
   ESENCIA Y CÓMO COCINARLAS
   ========================================================================== */
.story-band {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-quote-card {
  background: var(--lime);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-card);
}

.story-quote-card .brand-mark {
  height: 58px;
  width: auto;
  margin-bottom: 1rem;
}

.story-quote-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 0.95;
  margin: 0 0 0.8rem;
}

.story-quote-card p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

.cooking-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cook-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cook-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
}

.cook-card h4 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  margin: 0.2rem 0 0;
}

.cook-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BANNER CONTACTO & FOOTER
   ========================================================================== */
.contact-banner {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4.5vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  box-shadow: var(--shadow-card);
}

.contact-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  margin: 0 0 0.45rem;
  color: var(--white);
}

.contact-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  max-width: 46ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: #0d1619;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  height: 46px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--lime);
}

/* Barra fija inferior SOLO para móviles */
.mobile-bottom-bar {
  display: none;
}

/* ==========================================================================
   MODAL SOLO VIDEO (Sin texto ni paneles laterales — puro video + botón Miltonesa)
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 10, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-only-stage {
  position: relative;
  height: min(92vh, 780px);
  aspect-ratio: 9 / 16;
  max-width: 94vw;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.video-only-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-top-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.video-icon-btn {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(19, 31, 35, 0.72);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background-color var(--transition);
}

.video-icon-btn:hover {
  background: var(--lime);
  color: var(--dark);
  transform: scale(1.08);
}

/* BOTÓN DIBUJO DE MILTONESA SOBRE EL VIDEO */
.miltonesa-video-btn {
  position: absolute;
  right: 16px;
  bottom: 72px;
  z-index: 16;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.miltonesa-video-btn:hover {
  transform: scale(1.1) rotate(-3deg);
}

.miltonesa-video-btn:active {
  transform: scale(0.95);
}

.miltonesa-sticker {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.miltonesa-sticker::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  animation: miltonesaPulse 2.2s ease-out infinite;
}

@keyframes miltonesaPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  70% { transform: scale(1.24); opacity: 0; }
  100% { transform: scale(1.24); opacity: 0; }
}

.miltonesa-sticker-svg {
  width: 92px;
  height: 92px;
  overflow: visible;
}

.miltonesa-btn-label {
  background: var(--dark);
  color: var(--lime);
  border: 2px solid var(--lime);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.78rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   VERSIÓN MOBILE (Teléfonos y Tablets)
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 310px;
    order: -1;
  }

  .hero-main-dish {
    width: 215px;
  }

  .hero-mini-dish.dish-top {
    width: 86px;
    height: 86px;
  }

  .hero-mini-dish.dish-bottom {
    width: 80px;
    height: 80px;
  }

  .flavor-list {
    grid-template-columns: 1fr;
  }

  .cooking-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px; /* Espacio para barra fija móvil */
  }

  .nav-inner {
    min-height: 60px;
  }

  .brand-logo {
    height: 40px;
  }

  .nav-wa-btn {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(19, 31, 35, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.35rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 1.6rem 0 2.4rem;
  }

  .hero-visual {
    min-height: 255px;
  }

  .hero-main-dish {
    width: 185px;
  }

  .hero-mini-dish.dish-top {
    width: 74px;
    height: 74px;
    right: 6%;
  }

  .hero-mini-dish.dish-bottom {
    width: 68px;
    height: 68px;
    left: 6%;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 340px;
  }

  .hero-stats {
    gap: 0.8rem;
    text-align: center;
  }

  .hero-stat strong {
    font-size: 1.95rem;
  }

  .hero-stat span {
    font-size: 0.76rem;
  }

  .cat-header-btn {
    padding: 0.95rem 1rem 0.95rem 1.15rem;
    gap: 0.85rem;
  }

  .cat-avatar {
    width: 58px;
    height: 58px;
  }

  .cat-name {
    font-size: 1.9rem;
  }

  .cat-count-sub {
    font-size: 0.8rem;
  }

  .cat-body {
    padding: 1rem;
  }

  .cat-intro-bar .btn-cat-video {
    width: 100%;
    justify-content: center;
  }

  .flavor-detail-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  /* Barra inferior fija para celular */
  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(13, 22, 25, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
  }

  .mobile-bar-catalog {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
  }

  .mobile-bar-wa {
    background: #25D366;
    color: #082011;
  }

  /* Video a pantalla completa real en teléfonos móviles */
  .video-modal {
    padding: 0;
    background: #000;
  }

  .video-only-stage {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
  }

  .video-top-controls {
    top: calc(14px + env(safe-area-inset-top));
  }

  .miltonesa-video-btn {
    right: 14px;
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .miltonesa-sticker,
  .miltonesa-sticker-svg {
    width: 84px;
    height: 84px;
  }
}
