/* Estilos compartidos de las páginas públicas (inicio, delivery, nosotros, productos, promos). */
:root {
  --red: #d92b30;
  --blue: #0e519b;
  --navy: #0a2747;
  --ink: #1b2430;
  --muted: #6b7380;
  --line: #e8e4dc;
  --ivory: #faf8f4;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); background: var(--ivory); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.label { font-family: "Typold Condensed", "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--red); }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 300; line-height: 1.05; }
h1 strong, h2 strong { font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 300; line-height: 1.1; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .2s, background .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(10,39,71,.6); }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* Barra superior */
.topbar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .78rem; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .sep { opacity: .4; margin: 0 6px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(250,248,244,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 84px; gap: 40px; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 34px; margin-left: auto; font-size: .9rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }
.nav-links a.nav-promo { color: var(--red); font-weight: 600; }

/* Franja de promos */
.promo-band { padding: 0 0 72px; }
.promo-band a { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 28px; box-shadow: 0 24px 50px -36px rgba(10,39,71,.4); transition: transform .2s; }
.promo-band a:hover { transform: translateY(-2px); }
.promo-band .tag { background: var(--red); color: #fff; font-family: "Typold Condensed", sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; padding: 7px 14px; border-radius: 999px; flex: none; }
.promo-band p { margin: 0; color: var(--muted); font-size: .95rem; }
.promo-band strong { color: var(--navy); }
.promo-band .go { margin-left: auto; font-weight: 600; color: var(--blue); white-space: nowrap; font-size: .9rem; }
.nav .btn { padding: 12px 22px; font-size: .85rem; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero .label { margin-bottom: 26px; display: block; }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 30em; margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-call { margin: 22px 0 0; font-size: .9rem; color: var(--muted); }
.hero-call a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--red); }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 240px 240px 28px 28px; overflow: hidden; aspect-ratio: 4/5; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-badge { position: absolute; left: -36px; bottom: 48px; background: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: 0 24px 50px -20px rgba(10,39,71,.35); display: flex; gap: 16px; align-items: center; }
.hero-badge img { width: 44px; height: 44px; }
.hero-badge strong { display: block; color: var(--navy); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: .8rem; color: var(--muted); }

/* Tres razones */
.reasons { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.reasons .head { margin-bottom: 48px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.reason .n { font-family: "Typold Condensed", sans-serif; color: var(--red); font-size: .85rem; letter-spacing: .2em; }
.reason h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.reason p { margin: 0; color: var(--muted); font-size: .95rem; }
.promise { margin: 48px 0 0; text-align: center; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 300; color: var(--navy); }
.promise strong { font-weight: 700; }

/* Secciones */
section.block { padding: 112px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.head .label { display: block; margin-bottom: 18px; }
.head p { max-width: 26em; color: var(--muted); margin: 0; }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.cat { background: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; transition: background .25s; min-height: 230px; }
.cat:hover { background: var(--navy); }
.cat:hover h3, .cat:hover p, .cat:hover .go { color: #fff; }
.cat:hover .ico { stroke: #fff; }
.cat .ico { width: 36px; height: 36px; stroke: var(--red); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cat p { margin: 0; color: var(--muted); font-size: .92rem; }
.cat .go { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--blue); }

/* Delivery */
.delivery { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.delivery .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.delivery .intro .label { display: block; margin-bottom: 18px; }
.delivery .intro p { color: var(--muted); max-width: 30em; margin: 24px 0 36px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.fact { background: var(--ivory); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.fact strong { display: block; color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.fact span { font-size: .82rem; color: var(--muted); }
.fact.red { background: var(--red); border-color: var(--red); }
.fact.red strong, .fact.red span { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: var(--ivory); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: "Typold Condensed", sans-serif; font-size: 1.6rem; color: var(--red); line-height: 1; padding-top: 4px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

/* Nosotros */
.about { background: var(--navy); color: rgba(255,255,255,.78); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about h2 { color: #fff; margin: 18px 0 26px; }
.about .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about .photos img { border-radius: 20px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.about .photos img:last-child { margin-top: 56px; }
.about p { margin: 0 0 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.values strong { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; margin-bottom: 4px; }
.values strong::before { content: ""; width: 7px; height: 7px; background: var(--red); border-radius: 2px; transform: rotate(45deg); flex: none; }
.values span { font-size: .88rem; }
.years { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 8px; color: #fff; }
.years b { font-size: 3rem; font-weight: 700; line-height: 1; }

/* Locales */
.stores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.store { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; }
.store .num { font-family: "Typold Condensed", sans-serif; color: var(--red); font-size: .85rem; letter-spacing: .2em; }
.store h3 { font-size: 1.25rem; font-weight: 600; margin: 6px 0 10px; }
.store p { margin: 0; font-size: .88rem; color: var(--muted); }
.store .tag { align-self: flex-start; background: #fdeced; color: var(--red); font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin: -4px 0 8px; }
.store .hours { margin-top: 10px; color: var(--navy); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.store .hours::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #25d366; }
.store .links { margin-top: auto; padding-top: 20px; display: flex; gap: 18px; font-size: .82rem; font-weight: 600; color: var(--blue); }

/* CTA final */
.cta { padding: 0 0 112px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--red); color: #fff; padding: 80px 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box p { margin: 18px 0 0; opacity: .88; max-width: 28em; }
.cta-box .iso { position: absolute; right: -80px; top: -80px; width: 360px; opacity: .12; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; justify-self: end; position: relative; }
.cta-box .btn { background: #fff; color: var(--red); justify-content: center; }
.cta-box .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.cta-box .btn:hover { transform: translateY(-2px); }

footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .88rem; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
footer img { height: 34px; width: auto; margin-bottom: 18px; }
footer h2 { margin: 0 0 14px; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; }
footer a { display: block; margin-bottom: 8px; }
footer a:hover { color: var(--navy); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; font-size: .78rem; }

.social-float { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); transition: transform .2s; }
.social-float:hover, .wa-float:hover { transform: translateY(-2px); }
.social-float svg { width: 22px; height: 22px; fill: #fff; }
.social-float.fb { background: #1877f2; }
.social-float.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; transition: transform .2s, opacity .2s; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero .wrap, .about .wrap, .cta-box { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 72px; }
  .hero-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 12px; bottom: 24px; }
  .cats { grid-template-columns: 1fr 1fr; }
  .delivery .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stores { grid-template-columns: 1fr 1fr; }
  section.block { padding: 80px 0; }
  .about .wrap { gap: 48px; }
  .cta-box { padding: 56px 32px; }
  .cta-actions { justify-self: start; }
  .reason-grid { grid-template-columns: 1fr; }
  .reasons { padding: 72px 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav .btn { white-space: nowrap; padding: 10px 16px; }
  .topbar span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .values { grid-template-columns: 1fr; }
  .nav .wrap { height: 70px; }
  .nav-logo img { height: 30px; }
  .promo-band a { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .promo-band .go { margin-left: 0; }
  .cats, .stores { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .fact { padding: 16px; }
  .fact strong { font-size: 1rem; }
  .cat { min-height: 0; padding: 30px 26px; }
  .btn { padding: 15px 24px; }
}

/* Menú: página actual y botón ☰ para celular */
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 4px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; fill: none; }
.menu-btn .cerrar { display: none; }
.nav.abierto .menu-btn .abrir { display: none; }
.nav.abierto .menu-btn .cerrar { display: block; }

/* Encabezado de páginas internas */
.page-head { padding: 72px 0 8px; }
.page-head .label { display: block; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 16em; }
.page-head p { color: var(--muted); font-size: 1.08rem; max-width: 34em; margin: 22px 0 0; }

/* Inicio: accesos a las demás páginas */
.atajos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.atajo { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.atajo:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -34px rgba(10,39,71,.45); }
.atajo .n { font-family: "Typold Condensed", sans-serif; color: var(--red); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.atajo h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.atajo p { margin: 0; color: var(--muted); font-size: .93rem; }
.atajo .go { margin-top: auto; padding-top: 14px; font-size: .85rem; font-weight: 600; color: var(--blue); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav .btn { margin-left: auto; }
  .nav.abierto .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10,39,71,.35); padding: 8px 24px 16px; margin: 0; }
  .nav.abierto .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.abierto .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--navy); font-weight: 700; }
  .nav-links a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: middle; }
  .about .photos { order: 2; }
  .atajos { grid-template-columns: 1fr; }
  .page-head { padding: 48px 0 0; }
}
@media (max-width: 560px) {
  .nav .wrap { gap: 10px; }
  .nav .btn svg { display: none; }
}
section[id] { scroll-margin-top: 90px; }

/* Botón verde de WhatsApp y lupa del botón de búsqueda */
.btn-wa { background: #1f9d55; color: #fff; box-shadow: 0 14px 30px -14px rgba(31,157,85,.7); }
.btn-wa:hover { background: #178046; transform: translateY(-2px); }
.btn svg.lupa { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hero-call .sep { opacity: .4; margin: 0 10px; }

/* Franja de confianza bajo la portada */
.confianza { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confianza ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.confianza li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--red); }
.confianza b { color: var(--navy); font-size: .95rem; }
.confianza span { color: var(--muted); font-size: .85rem; }

/* Promociones en la portada */
.promos-home { padding-bottom: 40px; }
.promos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card-home { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.promo-card-home img { width: 100%; aspect-ratio: 900/440; object-fit: contain; background: #fff; padding: 16px 16px 0; }
.promo-card-home .info { padding: 18px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.promo-card-home h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.promo-card-home .detalle { margin: 2px 0 10px; color: var(--muted); font-size: .85rem; }
.promo-card-home .beneficio { margin: 0; color: var(--red); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.promo-card-home .vigencia { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.promo-card-home .btn { margin-top: 18px; justify-content: center; }
.promos-vacio { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: center; color: var(--muted); }
.promos-vacio p { margin: 0 0 16px; }

/* Reseñas de Google (solo aparecen con datos reales) */
.resenas { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nota-google { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.nota-google b { font-size: 2.4rem; color: var(--navy); line-height: 1; }
.estrellas { color: #f5a623; letter-spacing: 2px; }
.testimonios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.testimonio { margin: 0; background: var(--ivory); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.testimonio blockquote { margin: 10px 0 14px; color: var(--ink); font-size: .95rem; }
.testimonio figcaption { color: var(--muted); font-size: .85rem; font-weight: 600; }

.mas { padding-top: 40px; }

/* Redes en el pie */
footer .redes { display: flex; gap: 12px; margin-top: 18px; }
footer .redes a { margin: 0; }

/* Teclado: foco siempre visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 960px) {
  .confianza ul { grid-template-columns: 1fr 1fr; }
  .promos-grid, .testimonios { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 27px; height: 27px; }
  body { padding-bottom: 76px; } /* que el botón de WhatsApp no tape el final de la página */
  .hero-actions .btn { width: 100%; justify-content: center; }
  .confianza ul { padding: 20px 0; gap: 14px; }
  .store .links a { padding: 8px 0; }
}
.escribiendo .wa-float { opacity: 0; pointer-events: none; } /* mientras se escribe en un formulario */
.fact.wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .hero-call { padding-right: 64px; } }

/* Portada: que título, texto y botones entren en el primer pantallazo desde 1280 × 720 */
.hero { padding: 48px 0 72px; }
@media (min-width: 961px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero .label { margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 3.3vw, 3.1rem); line-height: 1.08; }
.hero p.lead { font-size: 1.05rem; margin: 20px 0 28px; }
.hero-media .photo { aspect-ratio: auto; height: clamp(380px, calc(100vh - 230px), 600px); }
@media (min-width: 961px) and (max-height: 760px) {
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(2rem, 3vw, 2.7rem); }
  .hero p.lead { margin: 16px 0 24px; }
}
@media (max-width: 960px) {
  .hero-media .photo { height: auto; aspect-ratio: 4/5; }
}
@media (max-width: 560px) {
  .hero { padding: 24px 0 56px; }
  .hero .label { margin-bottom: 12px; font-size: .72rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero p.lead { font-size: 1rem; margin: 14px 0 20px; }
  .hero-media .photo { aspect-ratio: auto; height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* Promociones de la portada: carga, invitación y aviso de error */
.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; }
.promos-grid { min-height: 380px; align-items: stretch; }
.promo-esqueleto { border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(100deg, #fff 30%, var(--ivory) 50%, #fff 70%) 0 0 / 300% 100%; animation: brillo 1.4s linear infinite; min-height: 380px; }
@keyframes brillo { to { background-position: -150% 0; } }
.promo-card-home img { height: auto; }
.promo-card-home .beneficio span { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; display: block; margin-bottom: 2px; }
.promo-invitacion { background: var(--navy); color: rgba(255,255,255,.82); border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.promo-invitacion h3 { color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.promo-invitacion p { margin: 0 0 8px; }
.promo-invitacion .btn { align-self: flex-start; color: #fff; border-color: rgba(255,255,255,.7); }
.promo-invitacion .btn:hover { background: #fff; color: var(--navy); }
.promo-invitacion.sola { grid-column: 1 / -1; align-items: flex-start; }
.promos-grid:has(.promo-invitacion.sola), .promos-grid:has(.promos-aviso) { min-height: 0; }
.promos-aviso { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; text-align: center; }
.promos-aviso p { margin: 0 0 16px; color: var(--ink); }
.promos-aviso .acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 960px) { .promos-grid { min-height: 0; } .promo-esqueleto:nth-child(2) { display: none; } }

/* Mi consulta: botón de la cabecera */
.consulta-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 600 .85rem "Montserrat", sans-serif; cursor: pointer; flex: none; }
.consulta-btn svg { width: 20px; height: 20px; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; fill: none; }
.consulta-btn svg circle { fill: var(--navy); stroke: none; }
.consulta-num { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--navy); font-size: .75rem; display: inline-grid; place-items: center; }
.consulta-btn.con-items .consulta-num { background: var(--red); color: #fff; }
.consulta-btn:hover { border-color: var(--navy); }

/* Mi consulta: panel lateral (en celular, desde abajo) */
.consulta-panel { width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--ivory); color: var(--ink); display: none; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(10,39,71,.45); }
.consulta-panel[open] { display: flex; }
.consulta-panel::backdrop { background: rgba(10,39,71,.45); }
.consulta-abierta { overflow: hidden; }
.consulta-cabecera { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 8px; }
.consulta-cabecera h2 { font-size: 1.5rem; font-weight: 700; }
.consulta-cerrar { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.consulta-cerrar svg { width: 20px; height: 20px; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }
.consulta-nota { margin: 0; padding: 0 24px 16px; font-size: .84rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.consulta-cuerpo { flex: 1; overflow-y: auto; padding: 8px 24px; }
.consulta-lista { list-style: none; margin: 0; padding: 0; }
.consulta-lista li { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.consulta-dato strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.consulta-dato span { font-size: .8rem; color: var(--muted); }
.consulta-cantidad { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.consulta-cantidad button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; color: var(--navy); cursor: pointer; border-radius: 999px; }
.consulta-cantidad button:disabled { color: #b8bec7; cursor: default; }
.consulta-cantidad input { width: 44px; height: 40px; border: 0; background: none; text-align: center; font: 600 .95rem "Montserrat", sans-serif; color: var(--navy); -moz-appearance: textfield; }
.consulta-cantidad input::-webkit-inner-spin-button, .consulta-cantidad input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.consulta-quitar, .consulta-vaciar { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 6px 0; color: var(--blue); font: 600 .8rem "Montserrat", sans-serif; text-decoration: underline; cursor: pointer; min-height: 32px; }
.consulta-pie { padding: 16px 24px 24px; border-top: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.consulta-pie:empty { display: none; }
.consulta-resumen { margin: 0; font-size: .85rem; color: var(--muted); }
.consulta-pie .btn { justify-content: center; width: 100%; }
.consulta-vaciar { align-self: center; grid-column: auto; }
.consulta-enviada, .consulta-confirmar { background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.consulta-enviada p, .consulta-confirmar p { margin: 0 0 10px; font-size: .88rem; }
.consulta-confirmar .acciones { display: flex; gap: 10px; }
.consulta-confirmar .btn { flex: 1; padding: 12px 10px; }
.btn-red { background: var(--red); color: #fff; }
.consulta-vacia { text-align: center; padding: 40px 8px; color: var(--muted); }
.consulta-vacia p { margin: 0 0 8px; }
.consulta-vacia strong { color: var(--navy); font-size: 1.1rem; }
.consulta-vacia .btn { margin-top: 16px; }

/* Aviso breve al agregar un producto */
.consulta-aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 45; background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -18px rgba(10,39,71,.6); font-size: .88rem; max-width: calc(100vw - 32px); }
.consulta-aviso[hidden] { display: none; }
.consulta-aviso span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consulta-aviso .linkbtn { background: #fff; color: var(--navy); border: 0; border-radius: 999px; padding: 8px 14px; font: 600 .82rem "Montserrat", sans-serif; cursor: pointer; white-space: nowrap; min-height: 36px; }

@media (max-width: 960px) {
  .consulta-btn { margin-left: auto; }
  .nav .btn { margin-left: 0; }
}
@media (max-width: 560px) {
  .nav .btn-primary { display: none; } /* en celular, WhatsApp queda en el botón flotante */
  .consulta-txt { display: none; }
  .consulta-btn { padding: 0 10px; }
  .consulta-panel { width: 100vw; height: 92dvh; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .consulta-aviso { bottom: 82px; }
}

/* Cabecera con "Mi consulta": que nada se parta en dos líneas */
.nav .wrap { gap: 24px; }
.nav .btn, .consulta-btn { white-space: nowrap; }
@media (max-width: 1240px) { .nav-links { gap: 22px; } .nav .btn-primary svg { display: none; } }
.hero-call a { white-space: nowrap; }
.menu-btn { order: 10; } /* en el código va antes del menú, para que Tab entre a los enlaces al abrirlo */
