/* ============================================================
   EL CERDITO DEL SABOR · diseño 2026 (móvil primero, fotos primero)
   Hoja propia: no depende de Bootstrap ni de style-liberty.css.
   Botones según el estándar de lechonerías (relieve + franja de luz).
   ============================================================ */

:root {
  --fondo: #140d09;
  --fondo-2: #1c130e;
  --tarjeta: #251a13;
  --tarjeta-2: #2e2018;
  --linea: rgba(255, 255, 255, .09);
  --texto: #f7efe7;
  --suave: #cdbcad;
  --acento: #ff8a3d;
  --acento-2: #ffb36e;
  --crema: #f7eee4;
  --cafe: #22160f;

  --wa-base: #0B6B45;
  --tel-base: #044E75;

  --radio: 22px;
  --ancho: 1140px;
  --titulos: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif;
  --cuerpo: 'DM Sans', 'Segoe UI', Arial, sans-serif;

  --ico-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
  --ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--cuerpo);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acento-2); }
h1, h2, h3, h4 {
  font-family: var(--titulos);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.2px;
  margin: 0 0 .5em;
  color: #fff;
}
h1 { font-size: clamp(38px, 9vw, 64px); }
h2 { font-size: clamp(30px, 6.5vw, 46px); }
h3 { font-size: clamp(22px, 4.6vw, 28px); font-weight: 700; }
p { margin: 0 0 1em; }
.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 64px 0; }
.seccion-alt { background: var(--fondo-2); }
.ceja {
  display: inline-block;
  font-family: var(--cuerpo);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 12px;
}
.lead { font-size: 19px; color: var(--suave); max-width: 60ch; }
.suave { color: var(--suave); }
.centro { text-align: center; }
.centro .lead { margin-left: auto; margin-right: auto; }
.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Encabezado ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 13, 9, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera .contenedor {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--titulos);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.marca img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: cover; }
.marca span { color: var(--acento); }
.menu { display: none; margin-left: auto; }
.menu a, .menu-movil a {
  color: var(--suave);
  text-decoration: none;
  font-weight: 500;
}
.menu a { padding: 8px 14px; border-radius: 30px; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: var(--tarjeta-2); }
.boton-redondo {
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tarjeta-2);
  border: 1px solid var(--linea);
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.boton-redondo:active { transform: scale(.94); }
.menu-movil {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 12px 10px;
  border-bottom: 1px solid var(--linea);
  background: var(--fondo);
}
.menu-movil a {
  flex: 1;
  text-align: center;
  font-size: 15px;
  padding: 10px 4px;
  border-radius: 30px;
  min-height: 44px;
}
.menu-movil a[aria-current="page"] { color: #fff; background: var(--tarjeta-2); }

/* Íconos por máscara (toman el color del texto) */
.ico { display: inline-block; width: 1.2em; height: 1.2em; background: currentColor; flex: none; }
.ico-wa  { -webkit-mask: var(--ico-wa) center / contain no-repeat;  mask: var(--ico-wa) center / contain no-repeat; }
.ico-tel { -webkit-mask: var(--ico-tel) center / contain no-repeat; mask: var(--ico-tel) center / contain no-repeat; }

/* ---------- Portada (foto primero) ---------- */
.portada-foto { position: relative; overflow: hidden; height: min(58vh, 460px); }
.portada-foto::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,13,9,0) 55%, rgba(20,13,9,.65) 100%);
}

/* Carrusel: las fotos se cambian solas cada 5 s con un fundido */
.carrusel-pista {
  position: absolute; inset: 0;
  transition: transform .7s ease, filter .7s ease;
}
.carrusel .diapo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.carrusel .diapo.activa { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .carrusel .diapo.activa { animation: acercar 6.5s ease-out both; }
}
@keyframes acercar {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.puntos {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.puntos button {
  width: 30px; height: 30px;        /* área táctil; el punto visible es el ::before */
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.puntos button::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
  transition: width .3s ease, background .3s ease;
}
.puntos button.activo::before { width: 26px; background: var(--acento); }

/* Al pasar el mouse: la foto se acerca y toma más color */
@media (hover: hover) {
  .carrusel:hover .carrusel-pista { transform: scale(1.06); filter: saturate(1.2) brightness(1.06); }
  .producto:hover .producto-foto img { transform: scale(1.07); filter: saturate(1.15); }
  .categoria-foto:hover img { transform: scale(1.05); filter: saturate(1.15); }
  .foto-redonda:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 22px 40px rgba(0,0,0,.35); }
}
.categoria-foto { overflow: hidden; border-radius: var(--radio); }
.producto-foto img, .categoria-foto img, .foto-redonda { transition: transform .8s ease, filter .8s ease, box-shadow .8s ease; }
.producto { transition: border-color .5s ease, box-shadow .5s ease; }

/* ============================================================
   EFECTOS EN EL CELULAR (no existe «pasar el mouse»)
   1) Las fotos y tarjetas aparecen con movimiento al bajar.
   2) La foto que queda en el centro de la pantalla se resalta
      sola (.enfoco), igual que con el mouse en el computador.
   Las clases las pone assets/js/cerdito.js.
   ============================================================ */
.revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.revelar img { transform: scale(1.15); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.revelar.visto { opacity: 1; transform: none; }
.revelar.visto img { transform: scale(1); }

@media (hover: none) {
  .foto.enfoco img { transform: scale(1.1); filter: saturate(1.25) brightness(1.05); }
  .foto.enfoco::after { box-shadow: inset 0 0 0 3px rgba(255,138,61,.9); }
  .foto.enfoco .lupa { opacity: 1; transform: scale(1); }
  .producto.enfoco { border-color: rgba(255,138,61,.6); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
  .producto.enfoco .producto-foto img { transform: scale(1.08); filter: saturate(1.2); }
  .categoria-foto.enfoco img { transform: scale(1.06); filter: saturate(1.2); }
  .foto-redonda.enfoco { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 22px 40px rgba(0,0,0,.35); }
  .foto:active img, .producto-foto:active img { transform: scale(1.03); }
}

/* Tarjetas de «Lo mejor de nuestra lechona»: en el celular se deslizan de lado */
.deslizar-aviso { display: none; }
.portada-panel {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  background: var(--fondo);
  border-radius: 30px 30px 0 0;
  padding: 30px 0 8px;
}
.portada-panel h1 { margin-bottom: .3em; }
.portada-panel .subtitulo {
  font-family: var(--titulos);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: var(--acento-2);
  margin-bottom: 12px;
}
.botonera { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.sellos {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sellos li {
  font-size: 14px;
  font-weight: 500;
  color: var(--suave);
  border: 1px solid var(--linea);
  background: var(--tarjeta);
  padding: 8px 14px;
  border-radius: 30px;
}
.sellos li strong { color: #fff; }

/* Cabecera de páginas internas */
.cabeza-pagina {
  position: relative;
  padding: 48px 0 40px;
  background-color: var(--fondo-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cabeza-pagina::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,13,9,.55) 0%, rgba(20,13,9,.92) 70%, var(--fondo) 100%);
}
.cabeza-pagina > .contenedor { position: relative; z-index: 1; }
.migas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--suave); }
.migas a { color: var(--suave); }
.migas li + li::before { content: "›"; margin-right: 8px; color: var(--acento); }

/* ---------- Tarjetas de producto ---------- */
.rejilla { display: grid; gap: 18px; }
.rejilla-3 { grid-template-columns: 1fr; }
.producto {
  display: flex;
  flex-direction: column;
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
}
.producto-foto { position: relative; }
.producto-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.etiqueta {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--acento);
  color: #23140a;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
}
.producto-cuerpo { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.producto-cuerpo p { color: var(--suave); }
.producto-cuerpo .acciones { margin-top: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.enlace-flecha { font-weight: 700; color: var(--acento-2); text-decoration: none; padding: 6px 0; }
.enlace-flecha::after { content: " ›"; }

/* ---------- Tamaños (sin precios: cada uno abre WhatsApp) ---------- */
.categoria {
  display: grid;
  gap: 26px;
  align-items: start;
}
.categoria + .categoria { margin-top: 64px; }
.categoria-foto img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radio);
}
.tallas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}
.talla {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 14px 16px;
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 18px;
  text-decoration: none;
  color: var(--texto);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .1s ease, border-color .15s ease, background .15s ease;
}
.talla:hover { border-color: rgba(37, 211, 102, .6); background: var(--tarjeta-2); }
.talla:active { transform: scale(.97); }
.talla-num { font-family: var(--titulos); font-size: 36px; font-weight: 800; line-height: 1; color: #fff; }
.talla-txt { font-size: 14px; color: var(--suave); }
.talla-pedir {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2EE87A 0%, #17A34A 100%);
  color: #fff;
  box-shadow: 0 3px 0 var(--wa-base);
}
.talla-pedir .ico { width: 20px; height: 20px; }

/* ---------- Franja crema ---------- */
.franja-crema { background: var(--crema); color: var(--cafe); }
.franja-crema h2 { color: var(--cafe); }
.franja-crema .lead, .franja-crema p { color: #5a4636; }
.franja-crema .ceja { color: #c4561a; }
.dos-columnas { display: grid; gap: 30px; align-items: center; }
.foto-redonda { border-radius: var(--radio); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Galería «Así llega a tu mesa» ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 26px;
}
.galeria figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--tarjeta); }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria .alta { grid-row: span 2; }
.galeria .ancha { grid-column: span 2; }
.galeria .grande { grid-column: span 2; grid-row: span 2; }

/* Foto de galería con texto encima y lupa */
.foto { position: relative; box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.foto .ver-foto { display: block; position: relative; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.foto img { transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.foto::after {                                  /* marco de luz que aparece al pasar */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(255,138,61,0);
  transition: box-shadow .4s ease;
  pointer-events: none;
}
.foto figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.78) 100%);
  font-family: var(--titulos);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.15;
  transition: transform .45s ease, padding .45s ease;
}
.foto.grande figcaption { font-size: 24px; padding: 60px 20px 18px; }
.lupa {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(20,13,9,.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .35s ease, transform .35s ease;
}
.lupa::before, .lupa::after {                  /* el signo + */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.lupa::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: hover) {
  .foto:hover img { transform: scale(1.1) rotate(.6deg); filter: saturate(1.25) brightness(1.05); }
  .foto:hover::after { box-shadow: inset 0 0 0 3px rgba(255,138,61,.9); }
  .foto:hover figcaption { padding-bottom: 18px; }
  .foto:hover .lupa { opacity: 1; transform: scale(1); }
  .galeria:hover .foto:not(:hover) img { filter: brightness(.6) saturate(.8); }   /* las demás se apagan */
}
.foto .ver-foto:focus-visible { outline: 3px solid var(--acento); outline-offset: -3px; }
.galeria-pie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  text-align: center;
}
.galeria-pie p { margin: 0; font-size: 19px; color: var(--suave); }

/* Visor: la foto se abre en grande al tocarla */
.visor {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 12px calc(24px + env(safe-area-inset-bottom, 0px));
  background: rgba(8,5,3,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.visor.abierto { opacity: 1; visibility: visible; }
.visor img {
  max-width: min(100%, 1100px);
  max-height: calc(100% - 50px);
  width: auto; height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transform: scale(.94);
  transition: transform .35s ease;
}
.visor.abierto img { transform: scale(1); }
.visor p { margin: 14px 0 0; font-family: var(--titulos); font-size: 20px; font-weight: 700; color: #fff; text-align: center; }
.visor button {
  position: absolute;
  z-index: 2;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.visor button:hover { background: rgba(255,255,255,.22); }
.visor .cerrar { top: 10px; right: 10px; }
.visor .anterior { left: 10px; top: 50%; transform: translateY(-50%); }
.visor .siguiente { right: 10px; top: 50%; transform: translateY(-50%); }
body.visor-abierto { overflow: hidden; }

/* ---------- Ventajas y pasos ---------- */
.ventajas { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.ventaja {
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 22px;
}
.ventaja svg {
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 138, 61, .14);
  color: var(--acento);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 14px;
}
.ventaja h3 { font-size: 22px; margin-bottom: .35em; }
.ventaja p { color: var(--suave); margin: 0; font-size: 16px; }

.pasos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; counter-reset: paso; }
.pasos li { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.pasos li::before {
  counter-increment: paso;
  content: counter(paso);
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--acento);
  color: #23140a;
  font-family: var(--titulos);
  font-size: 22px;
  font-weight: 800;
}

.valores { padding-left: 20px; margin: 0; color: var(--suave); }
.valores li { margin-bottom: 8px; }
.valores strong { color: #fff; }

/* ---------- Llamado final ---------- */
.llamado {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,138,61,.28) 0%, rgba(255,138,61,0) 60%),
    var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 28px;
  padding: 34px 24px;
  text-align: center;
}
.llamado h2 span { color: var(--acento); }
.llamado .botonera { justify-content: center; }

/* ---------- Contacto ---------- */
.datos { display: grid; gap: 14px; margin-top: 10px; }
.dato {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 18px;
}
.dato svg { width: 26px; height: 26px; flex: none; color: var(--acento); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.dato h3 { font-size: 19px; margin-bottom: 2px; }
.dato p { margin: 0; color: var(--suave); }
.dato a { color: #fff; }

.formulario { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px 20px; }
.formulario label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.formulario input, .formulario select, .formulario textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;            /* 16px: el iPhone no hace zoom al escribir */
  color: var(--texto);
  background: var(--fondo);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
}
.formulario textarea { min-height: 96px; resize: vertical; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: 2px solid var(--acento); border-color: transparent; }
.formulario .btn-wa { margin-top: 22px; width: 100%; }
.mapa { margin-top: 30px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); }
.mapa iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Pie ---------- */
.pie { background: #0d0806; border-top: 1px solid var(--linea); padding: 56px 0 120px; font-size: 16px; color: var(--suave); }
.pie-rejilla { display: grid; gap: 34px; }
.pie h2 { font-size: 26px; }
.pie h3 { font-size: 18px; color: #fff; margin-bottom: 12px; letter-spacing: .3px; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: 10px; }
.pie a { color: var(--suave); text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie .marca { font-size: 26px; margin-bottom: 14px; }
.creditos { border-top: 1px solid var(--linea); margin-top: 40px; padding-top: 22px; font-size: 14px; text-align: center; }

/* ============================================================
   BOTONES · estándar lechonerías (relieve + franja de luz)
   ============================================================ */
.btn-wa, .btn-tel {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  font-family: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .3px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .09s ease, box-shadow .09s ease, border-bottom-width .09s ease;
}
.btn-wa {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #2EE87A 0%, #22C55E 55%, #17A34A 100%);
  border-bottom: 6px solid var(--wa-base);
  box-shadow: 0 8px 0 -2px var(--wa-base), 0 14px 22px rgba(0, 0, 0, .35);
}
.btn-tel {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #2FA8E0 0%, #0088cc 55%, #0170A8 100%);
  border-bottom: 6px solid var(--tel-base);
  box-shadow: 0 8px 0 -2px var(--tel-base), 0 14px 22px rgba(0, 0, 0, .35);
}
.btn-wa::before, .btn-tel::before {
  content: "";
  width: 1.25em; height: 1.25em;
  flex: none;
  background: currentColor;
}
.btn-wa::before  { -webkit-mask: var(--ico-wa) center / contain no-repeat;  mask: var(--ico-wa) center / contain no-repeat; }
.btn-tel::before { width: 1.05em; height: 1.05em; -webkit-mask: var(--ico-tel) center / contain no-repeat; mask: var(--ico-tel) center / contain no-repeat; }
.btn-wa:hover, .btn-tel:hover { color: #fff; filter: brightness(1.05); }
.btn-wa:focus-visible, .btn-tel:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-wa:active {
  transform: translateY(6px);
  border-bottom-width: 2px;
  box-shadow: 0 2px 0 -1px var(--wa-base), 0 6px 12px rgba(0,0,0,.3);
}
.btn-tel:active {
  transform: translateY(6px);
  border-bottom-width: 2px;
  box-shadow: 0 2px 0 -1px var(--tel-base), 0 6px 12px rgba(0,0,0,.3);
}
.btn-wa-lg { font-size: 21px; min-height: 60px; padding: 17px 38px; }

/* Franja de luz que barre el botón */
.btn-wa::after, .btn-tel::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -35%;
  width: 28%;
  height: 220%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}
@keyframes wa-destello {
  0%, 62%   { left: -35%; }
  84%, 100% { left: 115%; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn-wa::after  { animation: wa-destello 3.4s ease-in-out infinite; }
  .btn-tel::after { animation: wa-destello 4.1s ease-in-out infinite; }
  .producto:nth-of-type(3n+2) .btn-wa::after { animation-delay: .9s; }
  .producto:nth-of-type(3n) .btn-wa::after { animation-delay: 1.8s; }
}

/* ---------- Flotantes: WhatsApp derecha, Llamar izquierda ---------- */
.flotante {
  position: fixed;
  z-index: 60;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.45), inset 0 -4px 8px rgba(0,0,0,.28), 0 8px 18px rgba(0,0,0,.45);
}
.flotante .ico { width: 30px; height: 30px; }
.flotante:active { transform: scale(.94); }
.flotante-wa  { right: 16px; background: linear-gradient(160deg, #3BEB86 0%, #25D366 45%, #0F7A6C 100%); }
.flotante-tel { left: 16px;  background: linear-gradient(160deg, #4FB6E8 0%, #0088cc 45%, #045A87 100%); }
.flotante-tel .ico { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .flotante-wa::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    animation: wa-halo 2.2s ease-out infinite;
    pointer-events: none;
  }
}
@keyframes wa-halo {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   MÓVIL
   ============================================================ */
@media (max-width: 767px) {
  .btn-wa, .btn-tel { min-height: 56px; font-size: 18px; padding: 15px 22px; }
  .botonera .btn-wa, .botonera .btn-tel, .btn-block-movil, .btn-wa-lg {
    display: flex;
    width: 100%;
    max-width: 420px;
  }
  .llamado .botonera .btn-wa, .llamado .botonera .btn-tel { margin: 0 auto; }
  .producto-cuerpo .acciones .btn-wa { display: flex; width: 100%; }
}
@media (max-width: 767px) {
  .deslizable {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 18px;
  }
  .deslizable::-webkit-scrollbar { display: none; }
  .deslizable > .producto { flex: 0 0 84%; scroll-snap-align: center; }
  .deslizar-aviso {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--acento-2);
  }
  .deslizar-aviso::after { content: "\2192"; font-size: 18px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .deslizar-aviso::after { animation: empuja 1.4s ease-in-out infinite; }
}
@keyframes empuja {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@media (max-width: 360px) {
  .deslizable { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  body { font-size: 16px; }
  .contenedor { padding: 0 16px; }
  .btn-wa, .btn-tel { font-size: 16.5px; padding: 14px 16px; }
  .menu-movil a { font-size: 14px; }
  .marca { font-size: 19px; }
  .talla-num { font-size: 30px; }
}

/* ============================================================
   TABLETA Y ESCRITORIO
   ============================================================ */
@media (min-width: 768px) {
  .seccion { padding: 88px 0; }
  .rejilla-3 { grid-template-columns: repeat(3, 1fr); }
  .ventajas { grid-template-columns: repeat(2, 1fr); }
  .tallas { grid-template-columns: repeat(3, 1fr); }
  .galeria { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
  .dos-columnas { grid-template-columns: 1fr 1fr; gap: 56px; }
  .categoria { grid-template-columns: 5fr 7fr; gap: 44px; }
  .categoria.invertida .categoria-foto { order: 2; }
  .categoria-foto img { aspect-ratio: 4 / 5; }
  .llamado { padding: 56px 40px; }
  .pie-rejilla { grid-template-columns: 1.4fr 1fr 1fr; }
  .contacto-rejilla { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
  .mapa iframe { height: 420px; }
}
@media (min-width: 992px) {
  .menu { display: flex; gap: 4px; }
  .menu-movil { display: none; }
  .boton-redondo { margin-left: 8px; }
  .ventajas { grid-template-columns: repeat(4, 1fr); }
  .ventajas.de-3 { grid-template-columns: repeat(3, 1fr); }

  /* Portada en dos columnas: texto a la izquierda, foto grande a la derecha */
  .portada {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 48px;
    max-width: var(--ancho);
    margin: 0 auto;
    padding: 56px 20px 24px;
  }
  .portada-foto { order: 2; }
  .portada-foto { height: 540px; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
  .puntos { bottom: 14px; }
  .portada-foto::after { display: none; }
  .portada-panel { margin: 0; padding: 0; border-radius: 0; background: none; }
  .portada-panel .contenedor { padding: 0; }
  .tallas { grid-template-columns: repeat(3, 1fr); }
  .flotante { width: 62px; height: 62px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .flotante-wa { right: 22px; }
  .flotante-tel { left: 22px; }
}
