/* =============================================================
   La Pizzería de Aznalcázar — landing.css  v3.0
   Hero asimétrico + secciones editoriales · 2026
   ============================================================= */

/* ================================================================
   HERO SPLIT — diseño asimétrico de pantalla completa
   ================================================================ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--nav-h));
  overflow: hidden;
}

/* ---- Columna izquierda: tipografía masiva + CTA ---- */
.hero-split__copy {
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 72px);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

/* Elemento decorativo: línea vertical verde */
.hero-split__copy::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 4px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  opacity: .25;
}

.hero-split__inner {
  max-width: 600px;
}

.hero-split__label {
  margin-bottom: 1.5rem;
}

/* Título principal — Playfair Display, masivo */
.hero-split__heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 6.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* La parte en cursiva = acento verde */
.hero-split__heading em {
  color: var(--accent);
  font-style: italic;
  display: block;
}

.hero-split__sub {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2rem;
}

/* Estado del local dentro del hero */
.hero-split__inner .store-status {
  margin-bottom: 1.5rem;
}

/* CTAs — dos botones en fila */
.hero-split__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Estado cerrado: carta ocupa el ancho completo en desktop también */
.hero-split__ctas[data-store-state="closed"] .hero-cta-full {
  flex: 0 0 100%;
}

/* Botón primario más grande en el hero */
.hero-split__ctas .btn {
  font-size: .82rem;
  padding: 1rem 2rem;
}

/* ---- Columna derecha: imagen heroica ---- */
.hero-split__media {
  position: relative;
  overflow: hidden;
  /* Esquina inferior izquierda redondeada asimétrica */
  border-radius: 0 0 0 clamp(48px, 6vw, 96px);
}

/* Placeholder para foto: textura de madera quemada/pizza */
.hero-split__placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(120, 60, 20, .55), transparent 65%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(80, 40, 10, .35), transparent 65%),
    linear-gradient(160deg, #1A0C04 0%, #3D1A08 35%, #6B3A18 65%, #4A2A10 100%);
  transition: opacity var(--t-slow);
}

/* Overlay de grain para textura fotográfica */
.hero-split__placeholder::after {
  content: '';
  position: absolute; inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Cuando se coloca foto real */
.hero-split__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Decoración: número de años en esquina */
.hero-split__badge {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  right: clamp(24px, 4vw, 48px);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 16px 22px;
  text-align: center;
  color: #fff;
  line-height: 1;
}
.hero-split__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero-split__badge-lbl {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: 3px;
}

/* ---- Responsivo hero ---- */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split__copy {
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 40px);
    order: 2;
  }
  .hero-split__copy::before { display: none; }
  .hero-split__media {
    order: 1;
    min-height: 45vw;
    max-height: 360px;
    border-radius: 0;
  }
  .hero-split__heading {
    font-size: clamp(2.4rem, 7vw, 3.8rem);
  }
  .hero-split__inner { max-width: 100%; }
  .hero-split__badge { bottom: 16px; right: 16px; }
}

@media (max-width: 560px) {
  .hero-split__ctas { flex-direction: column; align-items: stretch; }
  .hero-split__ctas .btn { justify-content: center; width: 100%; }
}

/* ================================================================
   PILLS DE CATEGORÍAS (barra debajo del hero)
   ================================================================ */
.cats-pills-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
}

.cats-pills {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 2px;
}
.cats-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: .78rem; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  cursor: pointer;
  transition:
    border-color var(--t-fast), color var(--t-fast),
    background var(--t-fast), transform var(--t-spring);
  min-height: 40px;
}
.cat-pill i { font-size: .82rem; transition: color var(--t-fast); }

@media (hover: hover) and (pointer: fine) {
  .cat-pill:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-1px);
  }
}
.cat-pill.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-light); font-weight: 700;
}

/* ================================================================
   ESPECIALIDADES — tarjetas flotantes con whitespace intenso
   ================================================================ */
.section-cats { background: var(--bg-soft); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.cat-card {
  background: var(--bg);
  border-radius: 28px 6px 28px 6px; /* asimétrico */
  padding: 0;
  display: block;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
@media (hover: hover) and (pointer: fine) {
  .cat-card:hover {
    box-shadow: 0 8px 32px rgba(88,121,59,.10), 0 24px 64px rgba(0,0,0,.07);
    transform: translateY(-6px);
  }
  .cat-card:hover .cat-arrow { transform: translateX(6px); color: var(--accent); }
}

.cat-card-inner {
  padding: 28px 28px 24px;
}

.cat-num {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent);
  display: block; margin-bottom: 10px;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--text); letter-spacing: -.02em;
  margin-bottom: 10px;
}

.cat-card p {
  color: var(--text-muted); font-size: .88rem;
  line-height: 1.65; margin: 0 0 20px;
}

.cat-arrow {
  display: inline-flex; align-items: center;
  font-size: 1.1rem; color: var(--text-dim);
  font-weight: 700;
  transition: transform var(--t), color var(--t);
}

/* Miniatura de imagen en tarjeta de categoría */
.cat-card-thumb {
  width: 100%;
  height: 168px;
  overflow: hidden;
  border-radius: 28px 6px 0 0; /* sigue la forma asimétrica de la card */
}
.cat-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
@media (hover: hover) and (pointer: fine) {
  .cat-card:hover .cat-card-thumb img { transform: scale(1.06); }
}


.section-story { background: var(--bg); }

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 72px;
  align-items: center;
}

.story-text .eyebrow { margin-bottom: 12px; }

.story-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}

.story-text p { color: var(--text-muted); line-height: 1.75; }
.story-text strong { color: var(--text); }
.story-text .btn { margin-top: 24px; }

.story-side { display: grid; gap: 16px; }

.story-card {
  background: var(--bg-soft);
  border-radius: 20px 4px 20px 4px;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t);
}
@media (hover: hover) and (pointer: fine) {
  .story-card:hover {
    box-shadow: 0 4px 20px rgba(88,121,59,.08);
    transform: translateX(4px);
  }
}

.story-num {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--accent); line-height: 1; letter-spacing: -.03em;
}

.story-lbl {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================================================
   CTA FINAL — fondo verde corporativo
   ================================================================ */
.section-cta { background: var(--accent); }

.cta-box { text-align: center; padding-block: clamp(32px, 4vw, 52px); }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; color: #fff;
  letter-spacing: -.03em; margin-bottom: 16px;
}

.cta-box p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; }

.cta-box .btn {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  font-size: .85rem;
  padding: 1.1rem 2.4rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
@media (hover: hover) and (pointer: fine) {
  .cta-box .btn:hover {
    background: rgba(255,255,255,.92);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.22);
  }
}

/* ================================================================
   RESEÑAS
   ================================================================ */
.section-reviews { background: var(--bg-soft); padding-bottom: clamp(40px, 5vw, 64px); }

.reviews-wrap {
  position: relative;
  margin-top: 52px;
  padding-inline: 56px;
}
.reviews-carousel {
  overflow: hidden;
  /* Refuerzo: el carrusel jamás puede ensanchar a su contenedor */
  max-width: 100%;
}
.reviews-track {
  display: flex;
  transition: transform .44s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
  /* min-width:0 evita que el contenido flex empuje al ancestro grid/flex */
  min-width: 0;
}

.review-card {
  flex: 0 0 calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.review-card-inner {
  background: var(--bg);
  border-radius: 24px 6px 24px 6px;
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t);
}
@media (hover: hover) and (pointer: fine) {
  .review-card-inner:hover {
    box-shadow: 0 6px 24px rgba(88,121,59,.08), 0 16px 40px rgba(0,0,0,.05);
    transform: translateY(-4px);
  }
}

.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--av-color, var(--accent)); color: #fff;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  display: block; font-size: .84rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-date  { font-size: .72rem; color: var(--text-dim); }
.review-source { font-size: 1.1rem; color: #4285f4; flex-shrink: 0; }
.review-stars  { display: flex; gap: 3px; color: #FBBC04; font-size: .88rem; }
.review-text   {
  color: var(--text-muted); font-size: .86rem; line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}

.reviews-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--bg);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; box-shadow: var(--shadow-sm);
  font-size: .88rem;
  transition: border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t-spring);
  cursor: pointer;
}
.reviews-btn--prev { left: 4px; }
.reviews-btn--next { right: 4px; }
.reviews-btn:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .reviews-btn:not(:disabled):hover {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
    transform: translateY(-50%) scale(1.06);
  }
}

.reviews-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.reviews-dot {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  min-height: unset;
}
.reviews-dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-hover);
  transition: background var(--t), transform var(--t);
}
.reviews-dot.active::after { background: var(--accent); transform: scale(1.25); }

@media (max-width: 1023px) { .review-card { flex: 0 0 50%; } }

@media (max-width: 680px) {
  .reviews-wrap { padding-inline: 0; }
  .reviews-track {
    flex-direction: column; gap: 14px;
    transform: none !important; transition: none !important;
  }
  .review-card { flex: 0 0 auto; padding: 0; width: 100%; }
  .review-text { -webkit-line-clamp: unset; overflow: visible; display: block; }
  .reviews-btn, .reviews-dots { display: none; }
}

/* Icono de reseña verificada web */
.review-source--web { color: var(--accent); font-size: .88rem; }

/* ── Formulario de reseña ── */
.review-form-section {
  margin-top: 32px;
  text-align: center;
}
.review-form-login {
  font-size: .88rem;
  color: var(--text-muted);
}
.review-form-login a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.review-toggle-btn {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  min-width: 220px;
  border-width: 1.5px;
}
.review-form {
  max-width: 480px;
  margin: 20px auto 0;
  background: #fff;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.review-form-title {
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 14px;
  color: var(--text);
}
.review-star-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.rs-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #ccc;
  padding: 0;
  line-height: 1;
  transition: color .12s ease, transform .1s ease;
}
.rs-star.active,
.rs-star:hover { color: #F59E0B; }
.rs-star:hover { transform: scale(1.15); }
.review-textarea {
  width: 100%;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: .85rem;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.review-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88,121,59,.15);
}
.review-form-error {
  color: #DC2626;
  font-size: .8rem;
  margin: 8px 0 0;
}
.review-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ================================================================
   UBICACIÓN
   ================================================================ */
.section-location { background: var(--bg); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.location-info .eyebrow { margin-bottom: 12px; }

.location-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 32px;
}

.location-details {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 20px;
}
.location-details li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .92rem; color: var(--text-muted);
  line-height: 1.65;
}
.location-details .tel-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .location-details .tel-link:hover {
    color: var(--accent);
    text-decoration: underline;
  }
}
.loc-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .88rem; margin-top: 2px;
}
.loc-closed { font-style: normal; color: var(--text-dim); font-size: .85rem; }

.location-btn {
  font-size: .8rem;
  padding: .95rem 1.8rem;
}

.location-map-wrap {
  border-radius: 28px 6px 28px 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.location-map {
  display: block; width: 100%; height: 420px; border: none;
}

@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================================================
   CTA FLOTANTE MÓVIL
   ================================================================ */
.cta-float { display: none; }

@media (max-width: 768px) {
  .cta-float {
    display: flex;
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: calc(100% - 36px); max-width: 380px;
    background: var(--accent); color: #fff;
    border: none; border-radius: 999px;
    padding: 0 28px; height: 54px;
    font-family: var(--font-body); font-weight: 800;
    font-size: .83rem; letter-spacing: .1em; text-transform: uppercase;
    align-items: center; justify-content: space-between;
    box-shadow: 0 8px 32px rgba(88,121,59,.45);
    cursor: pointer;
    transition: transform var(--t-spring), box-shadow var(--t-fast);
    text-decoration: none;
  }
  .cta-float:active { transform: translateX(-50%) scale(.96); }
  @media (hover: hover) and (pointer: fine) {
    .cta-float:hover { box-shadow: 0 12px 40px rgba(88,121,59,.55); transform: translateX(-50%) translateY(-2px); }
  }
  .cta-float__label { flex: 1; text-align: center; }
  .cta-float__price {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em;
  }
}

/* ================================================================
   MOBILE — rediseño exclusivo ≤ 768px
   Sobreescribe reglas de los breakpoints 900px y 560px
   SIN tocar el diseño de escritorio
   ================================================================ */
@media (max-width: 768px) {

  /* ── 1. Hero: texto primero, imagen abajo ── */
  .hero-split {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  /* Texto: sube al primer lugar */
  .hero-split__copy {
    order: 1;
    padding: 24px 20px 16px;
    align-items: flex-start;
  }

  /* Imagen: baja al segundo lugar, con aspecto de tarjeta app */
  .hero-split__media {
    order: 2;
    min-height: 52vw;
    max-height: 220px;
    /* Márgenes laterales + esquinas muy redondeadas = look app moderno */
    margin: 0 16px 8px;
    border-radius: 20px;
    overflow: hidden;
    /* Anular border-radius: 0 del breakpoint 900px */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }

  /* Badge de años: reajustar al radio de la tarjeta */
  .hero-split__badge {
    bottom: 12px;
    right: 12px;
    padding: 10px 14px;
  }
  .hero-split__badge-num { font-size: 2rem; }
  .hero-split__badge-lbl { font-size: .56rem; }

  /* ── 2. Botones: grid 50/50 en la misma línea ── */
  /* Sobreescribe flex-direction:column del breakpoint 560px */
  .hero-split__ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex-direction: unset;
    align-items: unset;
    flex-wrap: unset;
  }

  .hero-split__ctas .btn {
    justify-content: center;
    width: 100%;                /* llenar celda del grid */
    padding: 0.72rem 0.5rem;    /* más compactos */
    font-size: 0.71rem;
    letter-spacing: .04em;
  }
}

/* ---- Aviso estado tienda (landing) ---- */
#tienda-aviso {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 20px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  animation: aviso-fade-in 0.35s ease-out;
}
@keyframes aviso-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tienda-aviso--abierta {
  background: rgba(88,121,59,.09);
  color: #3a5020;
  border: 1px solid rgba(88,121,59,.22);
}
.tienda-aviso__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58793B;
  flex-shrink: 0;
  animation: aviso-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes aviso-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}
.tienda-aviso__tel {
  color: #58793B;
  font-weight: 700;
  text-decoration: none;
}
.tienda-aviso__tel:hover { text-decoration: underline; }

  /* Estado ABIERTO (2 botones): cada uno ocupa 1 columna */
  .hero-split__ctas[data-store-state="open"] .btn {
    grid-column: span 1;
  }

  /* Estado CERRADO (3 botones):
     - "Ver la carta" → full width en primera fila
     - Los dos botones de tel → 50/50 en segunda fila */
  .hero-split__ctas[data-store-state="closed"] .hero-cta-full {
    grid-column: 1 / -1;        /* ancho completo */
  }
  .hero-split__ctas[data-store-state="closed"] .btn-tel {
    grid-column: span 1;
  }


/* ================================================================
   STICKY ORDER CTA — botón "Pedir ahora" flotante
   Aparece con fade-in + slide-up al pasar el hero.
   Se oculta cuando el menú hamburguesa está abierto.
   ================================================================ */
.sticky-order {
  position: fixed;
  bottom: 28px;
  left: 50%;
  /* Estado inicial oculto — JS añade .is-visible al pasar el hero */
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  z-index: 1000;
  pointer-events: none;
  transition:
    opacity .28s ease,
    transform .36s cubic-bezier(.34, 1.56, .64, 1);
}

/* Estado visible: scroll ha superado el hero */
.sticky-order.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Botón en sí: más grande que el estándar, con sombra pronunciada */
.sticky-order__btn {
  min-width: min(320px, calc(100vw - 48px));
  white-space: nowrap;
  padding: 1rem 2.6rem;
  font-size: .88rem;
  box-shadow:
    0 4px 16px rgba(88, 121, 59, .32),
    0 12px 40px rgba(88, 121, 59, .22);
}
@media (hover: hover) and (pointer: fine) {
  .sticky-order__btn:hover {
    box-shadow:
      0 6px 24px rgba(88, 121, 59, .45),
      0 16px 48px rgba(88, 121, 59, .30);
  }
}

/* En móvil ocupa casi todo el ancho */
@media (max-width: 480px) {
  .sticky-order {
    left: 16px;
    right: 16px;
    transform: translateY(20px);
    /* Sobrescribir el centrado con translateX ya que ahora se estira */
  }
  .sticky-order.is-visible {
    transform: translateY(0);
  }
  .sticky-order__btn {
    width: 100%;
    justify-content: center;
  }
}
