/* By Wai · estilos del sitio
   Paleta, tipografías y elementos de la Propuesta 7 «Dulce Pop Mejorada»:
   papel cuadriculado, stickers, puntilla festoneada y línea de corte. */

/* ---------- Tipografías (archivos propios, licencia OFL en /fuentes) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fuentes/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fuentes/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fuentes/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fuentes/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --lila: #7B5CC4;
  --lila-hondo: #5F44A8;
  --rosa: #FF8FBA;
  --menta: #86D9CC;
  --manteca: #FFD06E;
  --durazno: #FFAB8F;
  --crema: #FFF7F0;
  --uva: #3A2856;
  --uva-suave: #5B4A75;
  --lila-suave: #E9E0FA;
  --rosa-suave: #FFE1EC;
  --menta-suave: #DDF4EF;
  --manteca-suave: #FFF0C9;
  --grilla: #EBE2F9;
  --noche: #1C1231;
  --wsp: #25D366;

  --f-display: "Fraunces", Georgia, serif;
  --f-texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-redonda: "Fredoka", "Nunito", system-ui, sans-serif;
  --f-mano: "Caveat", "Comic Sans MS", cursive;

  --radio: 36px;
  --radio-tarjeta: 28px;
  --sombra: 0 1px 0 rgba(58, 40, 86, .06), 0 18px 32px -22px rgba(58, 40, 86, .5);
  --ancho: 1180px;
  --margen: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--uva);
  background-color: var(--crema);
  background-image:
    linear-gradient(var(--grilla) 2px, transparent 2px),
    linear-gradient(90deg, var(--grilla) 2px, transparent 2px);
  background-size: 44px 44px;
  -webkit-font-smoothing: antialiased;
}

/* Mancha rosa de la esquina, detrás de la cabecera (como en el manual de marca) */
.mancha-esquina {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: 640px;
  overflow: hidden;
  pointer-events: none;
}
.mancha-esquina::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -190px;
  width: min(780px, 72vw);
  height: 560px;
  border-radius: 62% 38% 55% 45% / 48% 52% 48% 52%;
  background: var(--rosa-suave);
  opacity: .8;
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--uva);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.3rem + 3.9vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.3vw, 3.3rem); }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; }

p { margin: 0 0 1em; }

a { color: var(--lila-hondo); text-decoration-thickness: 2px; text-underline-offset: 3px; }

strong { font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--lila);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.saltar {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: .7em 1.1em;
  border-radius: 14px;
  background: var(--uva);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.saltar:focus { top: 12px; }

.contenedor { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.55em;
  border: 2.5px solid var(--uva);
  border-radius: 999px;
  background: var(--lila);
  color: #fff;
  font-family: var(--f-redonda);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--uva);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--uva); }
.boton:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--uva); }
.boton svg { width: 1.25em; height: 1.25em; flex: none; }
.boton .boton-corazon { width: 1em; height: 1em; color: var(--rosa); }

.boton-borde { background: transparent; color: var(--uva); box-shadow: none; }
.boton-borde:hover { background: #fff; box-shadow: none; transform: none; }
.boton-borde:active { transform: none; }

.boton-grande { font-size: 1.25rem; padding: .85em 1.7em; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.cabecera.con-linea {
  background: rgba(255, 247, 240, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--grilla);
}

.cabecera-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.marca { flex: none; border-radius: 12px; }
.marca img { width: clamp(148px, 17vw, 196px); }

.menu ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--sombra);
}
.menu a {
  display: block;
  padding: .55em 1.05em;
  border-radius: 999px;
  color: var(--uva);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.menu a:hover { background: var(--lila-suave); }

.menu-boton { display: none; }

/* ---------- Portada ---------- */
.portada { padding-block: clamp(20px, 4vw, 56px) clamp(16px, 3vw, 32px); }

.portada-grilla {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.portada h1 { margin-bottom: .32em; }

.resaltado {
  color: var(--lila);
  background: linear-gradient(transparent 63%, var(--manteca) 63%, var(--manteca) 90%, transparent 90%);
  padding-inline: .04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.bajada {
  max-width: 31em;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.32rem);
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  margin-top: 30px;
}

.portada-wai {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0;
  justify-self: center;
}
.mancha {
  position: absolute;
  inset: 7% 3% 5% 5%;
  border-radius: 46% 54% 57% 43% / 49% 43% 57% 51%;
  background: var(--menta-suave);
}
.wai {
  position: relative;
  width: 94%;
  margin: 0 auto;
  filter: drop-shadow(0 22px 20px rgba(58, 40, 86, .2));
  animation: aparece .9s cubic-bezier(.34, 1.56, .64, 1) .1s both;
}
@keyframes aparece {
  from { opacity: 0; transform: translateY(18px) scale(.9); }
  to { opacity: 1; transform: none; }
}
.nota-wai {
  position: absolute;
  top: 3%;
  left: 0;
  margin: 0;
  transform: rotate(-9deg);
  color: var(--lila-hondo);
  font-family: var(--f-mano);
  font-size: clamp(1.6rem, 1rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}
.sello {
  position: absolute;
  left: -3%;
  bottom: 4%;
  width: 27%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 6px 10px rgba(58, 40, 86, .2));
}
.adorno { position: absolute; }
.chispa-1 { top: 9%; right: 7%; width: 38px; height: 38px; color: var(--manteca); }
.chispa-2 { bottom: 20%; right: -1%; width: 26px; height: 26px; color: var(--manteca); }
.corazon-1 { top: 21%; left: 13%; width: 28px; height: 28px; color: var(--rosa); }

/* ---------- Secciones ---------- */
.seccion { padding-block: clamp(48px, 6vw, 84px); }

.seccion-encabezado { max-width: 690px; margin-bottom: clamp(28px, 4vw, 44px); }
.seccion-encabezado p { color: var(--uva-suave); font-size: 1.15rem; }

/* ---------- Lo que hacemos ---------- */
.categorias {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.categoria {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: var(--radio-tarjeta);
  background: #fff;
  box-shadow: var(--sombra);
}
.categoria img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  padding: 14px 14px 4px;
  border-radius: calc(var(--radio-tarjeta) - 6px) calc(var(--radio-tarjeta) - 6px) 0 0;
  background: var(--fondo-cat, var(--lila-suave));
}
.categoria-rosa { --fondo-cat: var(--rosa-suave); }
.categoria-manteca { --fondo-cat: var(--manteca-suave); }
.categoria-menta { --fondo-cat: var(--menta-suave); }
.categoria-noche { --fondo-cat: var(--noche); }
.categoria-noche img { padding: 0; }

.categoria h3 { margin: 18px 20px 6px; }
.categoria p { flex: 1; margin: 0 20px 14px; color: var(--uva-suave); font-size: 1rem; }

.enlace-wsp {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: 0 20px 20px;
  color: var(--lila-hondo);
  font-family: var(--f-redonda);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.enlace-wsp:hover { text-decoration: underline; }
.enlace-wsp svg { width: 20px; height: 20px; flex: none; }

/* ---------- Pedí tu diseño ---------- */
.pasos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}
/* Línea de corte que une los pasos */
.pasos::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  border-top: 3px dashed var(--lila);
  opacity: .5;
}
.paso { position: relative; counter-increment: paso; text-align: center; }
.paso::before {
  content: counter(paso);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border: 2.5px solid var(--uva);
  border-radius: 50%;
  background: var(--manteca);
  color: var(--uva);
  font-family: var(--f-redonda);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}
.paso img { width: min(100%, 190px); margin: 0 auto 6px; }
.paso h3 { margin-bottom: 6px; }
.paso p { margin: 0 auto; max-width: 17em; color: var(--uva-suave); font-size: 1rem; }

.pasos-accion { margin: 0; text-align: center; }

/* ---------- Filamentos (franja lila con puntilla) ---------- */
.filamentos {
  position: relative;
  margin-block: 24px;
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--lila-suave);
}
.filamentos::before,
.filamentos::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background-size: 32px 16px;
  background-repeat: repeat-x;
}
.filamentos::before {
  top: -15px;
  background-image: radial-gradient(circle at 16px 16px, var(--lila-suave) 15.5px, transparent 16px);
}
.filamentos::after {
  bottom: -15px;
  background-image: radial-gradient(circle at 16px 0, var(--lila-suave) 15.5px, transparent 16px);
}

.filamentos-encabezado {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 36px;
}
.filamentos-bajada { font-size: 1.2rem; }

.ficha {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sombra);
  font-size: .98rem;
}
.ficha caption {
  padding: 0 0 10px 4px;
  text-align: left;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
.ficha th, .ficha td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--lila-suave);
}
.ficha td { white-space: nowrap; }
.ficha thead > tr > * { background: var(--manteca-suave); }
.ficha thead > tr > :first-child { border-top-left-radius: 22px; }
.ficha thead > tr > :last-child { border-top-right-radius: 22px; }
.ficha tbody tr:last-child > :first-child { border-bottom-left-radius: 22px; }
.ficha tbody tr:last-child > :last-child { border-bottom-right-radius: 22px; }
.ficha thead th { font-family: var(--f-redonda); font-weight: 600; }
.ficha tbody th { font-weight: 800; }
.ficha tbody tr:last-child > * { border-bottom: 0; }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: .5em 1.2em;
  border: 2px solid var(--uva);
  border-radius: 999px;
  background: #fff;
  color: var(--uva);
  font-family: var(--f-redonda);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { background: var(--crema); }
.chip[aria-pressed="true"] { background: var(--uva); color: #fff; }

.filtro-estado { min-height: 1.6em; margin: 10px 0 14px; color: var(--uva-suave); font-size: .95rem; }

.filamentos-grilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fil {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sombra);
}
.fil[hidden] { display: none; }
.fil-foto { position: relative; aspect-ratio: 1; }
.fil-foto img { width: 100%; height: 100%; object-fit: cover; }
/* Funde la sombra gris de la foto con el blanco de la tarjeta */
.fil-foto::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.fil-info { display: flex; flex: 1; flex-direction: column; padding: 2px 16px 16px; }
.fil-nombre {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.2;
}
.fil-muestra {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: .2em;
  border-radius: 50%;
  background: var(--muestra);
  box-shadow: inset 0 0 0 1.5px rgba(58, 40, 86, .28);
}
.fil-tipo { margin: 2px 0 0; color: var(--uva-suave); font-size: .92rem; }
.fil-precio { margin: 4px 0 12px; color: var(--lila); font-family: var(--f-redonda); font-size: 1.15rem; font-weight: 600; }
.fil-pedir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: .45em .9em;
  border: 2px solid var(--uva);
  border-radius: 999px;
  color: var(--uva);
  font-family: var(--f-redonda);
  font-weight: 600;
  text-decoration: none;
}
.fil-pedir:hover { background: var(--uva); color: #fff; }
.fil-pedir svg { width: 18px; height: 18px; flex: none; }

/* ---------- Detrás de cada pedido ---------- */
.nosotros-grilla {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.nosotros-grilla > img { width: min(100%, 400px); justify-self: center; }
.nosotros p { max-width: 34em; font-size: 1.125rem; }
.nosotros .firma {
  display: inline-block;
  margin-top: .2em;
  transform: rotate(-2.5deg);
  color: var(--lila-hondo);
  font-family: var(--f-mano);
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

/* ---------- Preguntas ---------- */
.preguntas-grilla {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}
.preguntas-intro { position: sticky; top: 110px; }
.preguntas-intro p { color: var(--uva-suave); font-size: 1.15rem; }

.preguntas { display: grid; gap: 12px; }
.preguntas details {
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sombra);
}
.preguntas summary {
  position: relative;
  padding: 18px 64px 18px 24px;
  border-radius: 22px;
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--lila-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v11M1.5 7h11' stroke='%233A2856' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform .2s ease;
}
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { margin: 0; padding: 0 24px 20px; color: var(--uva-suave); }

/* ---------- Contacto (tarjeta recortable) ---------- */
.contacto { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.contacto-tarjeta {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radio);
  background: var(--rosa-suave);
  outline: 3px dashed rgba(123, 92, 196, .45);
  outline-offset: -16px;
}
.contacto-tarjeta > img { width: min(100%, 320px); justify-self: center; }
.contacto-tarjeta h2 { margin-bottom: .3em; }
.contacto-tarjeta > div > p:first-of-type { font-size: 1.15rem; }

.contacto-lista { display: grid; gap: 10px; margin: 28px 0 22px; padding: 0; list-style: none; }
.contacto-lista li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.contacto-lista svg { width: 22px; height: 22px; flex: none; color: var(--lila-hondo); }

.redes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.redes a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5em 1.05em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--uva);
  font-family: var(--f-redonda);
  font-weight: 600;
  text-decoration: none;
}
.redes a:hover { border-color: var(--uva); }
.redes svg { width: 20px; height: 20px; flex: none; }

/* ---------- Pie ---------- */
.pie { padding-block: 36px 40px; background: var(--uva); color: var(--crema); }
.pie-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.pie img {
  width: 60px;
  height: 60px;
  padding: 7px;
  border-radius: 50%;
  background: var(--crema);
}
.pie-lema { margin: 0; font-family: var(--f-mano); font-size: 1.85rem; font-weight: 700; line-height: 1.1; }
.pie-legal { margin: 0 0 0 auto; font-size: .95rem; opacity: .85; }
.pie :focus-visible { outline-color: var(--manteca); }

/* ---------- WhatsApp flotante ---------- */
.wsp-flotante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--wsp);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(58, 40, 86, .5);
  transition: transform .15s ease;
}
.wsp-flotante:hover { transform: translateY(-3px); }
.wsp-flotante svg { width: 32px; height: 32px; }

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1080px) {
  .categorias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .js .menu-boton {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: .55em 1.1em;
    border: 2.5px solid var(--uva);
    border-radius: 999px;
    background: #fff;
    color: var(--uva);
    font-family: var(--f-redonda);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
  }
  .menu-icono,
  .menu-icono::before,
  .menu-icono::after {
    display: block;
    width: 18px;
    height: 2.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
  }
  .menu-icono { position: relative; }
  .menu-icono::before, .menu-icono::after { content: ""; position: absolute; left: 0; }
  .menu-icono::before { top: -6px; }
  .menu-icono::after { top: 6px; }
  [aria-expanded="true"] .menu-icono { background: transparent; }
  [aria-expanded="true"] .menu-icono::before { top: 0; transform: rotate(45deg); }
  [aria-expanded="true"] .menu-icono::after { top: 0; transform: rotate(-45deg); }

  .cabecera-fila { flex-wrap: wrap; }
  .menu { flex-basis: 100%; }
  .menu ul { flex-wrap: wrap; justify-content: center; border-radius: 24px; }

  .js .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0 var(--margen) 18px;
  }
  .js .menu.abierto { display: block; }
  .js .menu ul { flex-direction: column; gap: 4px; padding: 10px; }
  .js .menu a { padding: .75em 1.1em; font-size: 1.15rem; }

  .portada-grilla { grid-template-columns: 1fr; }
  .portada-wai { max-width: 400px; }

  .filamentos-encabezado { grid-template-columns: 1fr; }
  .ficha { max-width: 520px; }

  .nosotros-grilla { grid-template-columns: 1fr; }
  .nosotros-grilla > img { width: min(64%, 300px); }

  .preguntas-grilla { grid-template-columns: 1fr; gap: 8px; }
  .preguntas-intro { position: static; }

  .contacto-tarjeta { grid-template-columns: 1fr; }
  .contacto-tarjeta > img { width: min(56%, 230px); }
}

@media (max-width: 760px) {
  .pasos { grid-template-columns: 1fr; gap: 22px; }
  .pasos::before {
    top: 24px;
    bottom: 24px;
    left: 22px;
    right: auto;
    border-top: 0;
    border-left: 3px dashed var(--lila);
  }
  .paso {
    display: grid;
    grid-template-columns: 46px 84px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    text-align: left;
  }
  .paso::before { grid-row: 1 / span 2; margin: 0; }
  .paso img { grid-row: 1 / span 2; width: 84px; margin: 0; }
  .paso h3 { grid-column: 3; margin: 2px 0 4px; font-size: 1.25rem; }
  .paso p { grid-column: 3; margin: 0; max-width: none; }
}

/* ---------- Celulares ---------- */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .mancha-esquina::before { top: -170px; right: -150px; width: 340px; height: 300px; }

  .acciones .boton { flex: 1 1 auto; }

  .categorias { grid-template-columns: 1fr; }
  .categoria {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  .categoria img {
    grid-row: 1 / span 3;
    height: 100%;
    aspect-ratio: auto;
    padding: 8px;
    border-radius: calc(var(--radio-tarjeta) - 6px) 0 0 calc(var(--radio-tarjeta) - 6px);
  }
  .categoria-noche img { padding: 0; object-fit: cover; }
  .categoria h3 { margin: 14px 16px 4px; font-size: 1.2rem; }
  .categoria p { margin: 0 16px 10px; font-size: .95rem; }
  .enlace-wsp { margin: 0 16px 14px; font-size: .95rem; }

  .ficha { font-size: .93rem; }
  .ficha th, .ficha td { padding: 9px 10px; }

  /* Filamentos en lista: foto chica, datos y botón a la derecha */
  .filamentos-grilla { grid-template-columns: 1fr; gap: 10px; }
  .fil { flex-direction: row; align-items: center; border-radius: 18px; }
  .fil-foto { flex: none; width: 88px; }
  .fil-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "nombre pedir" "tipo pedir" "precio pedir";
    align-items: center;
    column-gap: 10px;
    padding: 10px 14px 10px 4px;
  }
  .fil-nombre { grid-area: nombre; font-size: 1.05rem; }
  .fil-tipo { grid-area: tipo; margin: 0; font-size: .88rem; }
  .fil-precio { grid-area: precio; margin: 1px 0 0; font-size: 1rem; }
  .fil-pedir { grid-area: pedir; margin: 0; padding: .45em .85em; font-size: .95rem; }

  .contacto-tarjeta { outline-offset: -12px; }
  .boton-grande { width: 100%; font-size: 1.15rem; padding-inline: 1em; }

  .pie { padding-bottom: 100px; }
  .pie-lema { font-size: 1.55rem; }
  .pie-legal { margin-left: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
