/* Páginas informativas de cada línea (paginas-linea.js). Negro cálido, marfil
   y el amarillo de ProWall; títulos en Instrument Serif y texto en Inter.
   Todo movimiento se apaga con «reducir movimiento» del sistema. */
:root {
  --negro: #0d0d0c;
  --tinta: #171614;
  --marfil: #f5f2ec;
  --papel: #fbfaf7;
  --amarillo: #f7b500;
  --amarillo-suave: #ffd76a;
  --gris: #8a857c;
  --linea: rgba(255, 255, 255, .12);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --curva: cubic-bezier(.2, .7, .1, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--papel); color: var(--negro); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.contenedor { width: min(1180px, 100% - 32px); margin-inline: auto; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; z-index: 99; background: var(--amarillo); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

.ceja { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); margin-bottom: 14px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 36px; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }

/* ── Botones ── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .35s var(--curva), background .3s, color .3s, box-shadow .35s; will-change: transform; }
.boton:hover { transform: translateY(-2px); }
.boton.amarillo { background: var(--amarillo); color: var(--negro); box-shadow: 0 10px 30px -10px rgba(247, 181, 0, .6); }
.boton.amarillo:hover { background: var(--amarillo-suave); box-shadow: 0 16px 40px -12px rgba(247, 181, 0, .75); }
.boton.vidrio { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.boton.vidrio:hover { background: rgba(255, 255, 255, .2); }
.boton.negro { background: var(--negro); color: #fff; }
.boton.contorno { border: 1px solid currentColor; }
.boton.contorno:hover { background: var(--negro); color: #fff; border-color: var(--negro); }

/* ── Barra superior: transparente sobre la portada, vidrio al bajar ── */
.barra { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 40px); color: #fff; transition: background .4s, padding .4s, box-shadow .4s; }
.barra.solida { background: rgba(13, 13, 12, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); padding-block: 12px; box-shadow: 0 1px 0 var(--linea); }
.marca { color: #fff; text-decoration: none; }
.marca img { height: 19px; width: auto; }
/* Logo y «MÉXICO» idénticos a los de la tienda (Oliver, 21/11): misma fuente, tamaño, espaciado y color */
.marca small { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 400; line-height: normal; letter-spacing: 3px; color: rgba(255, 255, 255, .82); }
.barra-acciones { display: flex; align-items: center; gap: 6px; }
/* Botones con marco blanco, como los de la cabecera de la tienda (Oliver, 21/11) */
.barra-acciones { gap: 10px; }
.enlace-barra { padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: border-color .2s, background .2s; }
.enlace-barra:hover { border-color: #fff; }
/* ── Portada ── */
.portada { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.portada-foto { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 22s ease-out both; }
@keyframes kenBurns { from { transform: scale(1.14); } to { transform: scale(1); } }
.portada-velo { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 80% at 15% 100%, rgba(13, 13, 12, .92) 0%, rgba(13, 13, 12, .55) 45%, rgba(13, 13, 12, .1) 75%),
  linear-gradient(180deg, rgba(13, 13, 12, .55) 0%, transparent 25%); }
.portada-texto { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 140px 0 clamp(64px, 12vh, 120px); }
.portada .ceja { color: var(--amarillo); }
.titulo-grande { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 10vw, 148px); line-height: .92; letter-spacing: -.02em; max-width: 12ch; margin-bottom: 34px; }
.titulo-grande em { display: block; font-style: italic; font-size: .5em; line-height: 1.1; color: var(--amarillo-suave); margin-top: 10px; opacity: 0; animation: aparece 1s .55s var(--curva) both; }
.palabra { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.palabra > span { display: inline-block; transform: translateY(105%); filter: blur(8px); animation: subePalabra 1s calc(.15s + var(--i) * .09s) var(--curva) both; }
@keyframes subePalabra { to { transform: none; filter: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.portada-botones { display: flex; flex-wrap: wrap; gap: 12px; animation: aparece 1s .8s var(--curva) both; }
.bajar { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 36px; width: 28px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.bajar span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rueda 1.8s infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ── Cinta de atributos que corre sola ── */
.cinta { background: var(--negro); color: #fff; padding: 22px 0; overflow: hidden; border-top: 1px solid var(--linea); }
.cinta-pista { display: flex; width: max-content; animation: corre 38s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta ul { display: flex; list-style: none; gap: 14px; padding-right: 14px; }
.cinta li { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border: 1px solid var(--linea); border-radius: 999px; white-space: nowrap; font-size: 15px; }
.cinta svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--amarillo); stroke: var(--negro); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ── Introducción: el texto se ilumina palabra por palabra al bajar ── */
.intro { padding: clamp(80px, 14vh, 150px) 0 clamp(40px, 8vh, 90px); }
.texto-luz { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.005em; max-width: 26ch; max-width: 30em; }
.texto-luz + .texto-luz { margin-top: 28px; }
.texto-luz .p { color: rgba(13, 13, 12, .16); transition: color .25s; }
.texto-luz .p.on { color: var(--negro); }

/* ── Beneficios: tarjetas con una luz que sigue al cursor ── */
.beneficios { padding: clamp(60px, 10vh, 120px) 0; }
.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta { position: relative; padding: 34px 30px 32px; border-radius: 22px; background: #fff; border: 1px solid #ece8e0; overflow: hidden; transition: transform .5s var(--curva), box-shadow .5s, border-color .5s; transform-style: preserve-3d; }
.tarjeta::before, [data-luz]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 181, 0, .22), transparent 45%); }
.tarjeta:hover, [data-luz]:hover { box-shadow: 0 30px 60px -30px rgba(13, 13, 12, .35); border-color: rgba(247, 181, 0, .6); }
.tarjeta:hover::before, [data-luz]:hover::before { opacity: 1; }
.numero { display: block; font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--amarillo); margin-bottom: 26px; }
.tarjeta h3 { margin-bottom: 10px; font-size: 20px; }
.tarjeta p { color: #4d4a44; font-size: 15.5px; }

/* ── Ficha técnica ── */
.ficha { background: var(--negro); color: #fff; padding: clamp(70px, 12vh, 130px) 0; position: relative; overflow: hidden; }
.ficha::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(247, 181, 0, .16), transparent 60%); pointer-events: none; }
.ficha .ceja { color: var(--amarillo); }
.fichas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; position: relative; z-index: 1; }
.ficha-bloque { padding: 30px; border: 1px solid var(--linea); border-radius: 22px; background: rgba(255, 255, 255, .03); }
.ficha-bloque h3 { color: var(--amarillo-suave); font-weight: 500; margin-bottom: 18px; }
.ficha-bloque ul { list-style: none; }
.dato { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-top: 1px solid var(--linea); }
.dato .etiqueta { color: rgba(255, 255, 255, .6); font-size: 14px; }
.dato .valor { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; text-align: right; }
.dato.solo .valor { font-family: var(--sans); font-size: 17px; text-align: left; }

.nota { padding: 70px 0 10px; }
.nota h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.nota ul { list-style: none; display: grid; gap: 10px; }
.nota li { padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid #ece8e0; font-size: 17px; }

/* ── Modelos: carrusel horizontal que se arrastra ── */
.modelos { padding: clamp(70px, 12vh, 130px) 0 40px; }
.encabezado-fila { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.encabezado-fila h2 { margin-bottom: 0; }
.flechas { display: flex; gap: 8px; }
.flechas button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #d9d4ca; font-size: 24px; transition: background .3s, color .3s; }
.flechas button:hover { background: var(--negro); color: #fff; border-color: var(--negro); }
.carrusel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(16px, (100% - 1180px) / 2) 30px; scrollbar-width: none; cursor: grab; }
.carrusel::-webkit-scrollbar { display: none; }
.carrusel.arrastrando { cursor: grabbing; scroll-snap-type: none; }
.modelo { flex: 0 0 clamp(220px, 26vw, 320px); scroll-snap-align: start; }
.modelo button { display: block; width: 100%; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid #ece8e0; }
.modelo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--curva); }
.modelo button:hover img { transform: scale(1.08); }
.modelo figcaption { font-family: var(--serif); font-size: 26px; margin-top: 12px; }

/* ── Galería ── */
.galeria { padding: clamp(60px, 10vh, 110px) 0; }
.mosaico { columns: 3 280px; column-gap: 16px; }
.pieza { display: block; width: 100%; margin-bottom: 16px; border-radius: 22px; overflow: hidden; break-inside: avoid; position: relative; }
.pieza img { width: 100%; transition: transform 1.2s var(--curva), filter .6s; }
.pieza:hover img { transform: scale(1.06); }
.pieza::after { content: "＋"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 20px; opacity: 0; transform: scale(.6); transition: .4s var(--curva); }
.pieza:hover::after { opacity: 1; transform: none; }

/* ── Productos en vivo de la tienda ── */
.en-tienda { padding: clamp(60px, 10vh, 110px) 0; background: var(--marfil); }
.productos { display: flex; gap: 16px; overflow-x: auto; padding: 4px max(16px, (100% - 1180px) / 2) 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.producto { flex: 0 0 230px; scroll-snap-align: start; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; border: 1px solid #ece8e0; transition: transform .45s var(--curva), box-shadow .45s; }
.producto:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(13, 13, 12, .4); }
.producto .foto { aspect-ratio: 1; background: #f1eee8; }
.producto .foto img { width: 100%; height: 100%; object-fit: cover; }
.producto .datos { padding: 14px 16px 18px; }
.producto .nombre { font-size: 14px; line-height: 1.35; height: 3.9em; overflow: hidden; }
.producto .precio { font-weight: 700; margin-top: 8px; }
.producto .precio small { font-weight: 500; color: var(--gris); }

/* ── Llamados finales ── */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(1180px, 100% - 32px); margin: clamp(60px, 10vh, 110px) auto; }
.cta-tarjeta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; transition: box-shadow .5s, border-color .5s; }
.cta-tarjeta h2 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 4px; }
.cta-tarjeta p { color: inherit; opacity: .82; }
.cta-tarjeta .boton { margin-top: auto; }
.cta-tarjeta.oscura { background: var(--negro); color: #fff; }
.cta-tarjeta.oscura .ceja { color: var(--amarillo); }
.cta-tarjeta.clara { background: #fff; border: 1px solid #ece8e0; }

/* ── Distribuidores ── */
.tarjetas.tres { grid-template-columns: repeat(3, 1fr); }
.unete { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(40px, 8vh, 90px) 0; }
.unete-foto { border-radius: 28px; overflow: hidden; }
.unete-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.unete-texto p:not(.ceja) { color: #4d4a44; font-size: 17px; margin-bottom: 26px; }

/* ── Siguiente línea ── */
.siguiente { position: relative; display: grid; place-items: center; min-height: 64vh; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.siguiente-foto { position: absolute; inset: 0; z-index: -1; }
.siguiente-foto img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); transform: scale(1.06); transition: transform 1.4s var(--curva), filter .8s; }
.siguiente:hover .siguiente-foto img { transform: scale(1); filter: brightness(.6); }
.siguiente-texto { text-align: center; }
.siguiente-texto small { display: block; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 8px; }
.siguiente-texto strong { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 130px); line-height: 1; }
.siguiente-texto i { display: block; font-style: normal; font-size: 34px; margin-top: 10px; transition: transform .6s var(--curva); }
.siguiente:hover .siguiente-texto i { transform: translateX(14px); }

/* ── Pie ── */
.pie { background: var(--negro); color: rgba(255, 255, 255, .7); padding: 56px 16px 40px; text-align: center; font-size: 13px; }
.pie-lineas, .pie-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 18px; }
.pie-lineas a { color: #fff; text-decoration: none; font-size: 15px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--amarillo); }

.pie-redes { display: flex; justify-content: center; gap: 8px 20px; margin-bottom: 18px; font-size: 14px; }
.pie-redes a { color: var(--amarillo); }
.enlace-barra[aria-current] { border-color: #fff; background: rgba(255, 255, 255, .1); }
.enlace-barra { display: inline-flex; align-items: center; gap: 8px; }
.enlace-barra svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Contacto ── */
.portada.corta { min-height: 86svh; }
.portada.corta .portada-texto { padding-bottom: clamp(130px, 17vh, 180px); }
/* Las portadas de varias líneas se relevan con un fundido lento */
.portada-foto.fundido img { position: absolute; inset: 0; opacity: 0; animation: fundido 30s linear infinite; animation-delay: calc(var(--n) * 6s - 1.2s); }
.portada-foto.fundido img:first-child { opacity: 1; }
@keyframes fundido { 0% { opacity: 0; transform: scale(1.12); } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

.canales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -70px; position: relative; z-index: 2; }
.canal { display: flex; flex-direction: column; gap: 6px; }
.canal-icono svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--negro); stroke: var(--amarillo); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .6s var(--curva); }
.canal:hover .canal-icono svg { transform: rotate(-8deg) scale(1.08); }
.canal .ceja { margin-bottom: 4px; }
.canal .canal-dato { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--negro); overflow-wrap: break-word; }
.canal-dato a { text-decoration: none; background: linear-gradient(var(--amarillo), var(--amarillo)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--curva); }
.canal-dato a:hover { background-size: 100% 2px; }
.canal .canal-dato:not(:has(a)) { font-size: clamp(19px, 1.6vw, 22px); }
@media (max-width: 1100px) { .canales { grid-template-columns: 1fr 1fr; } }
/* El Show Room ocupa dos lugares y va en negro */
.canal.destacada { grid-column: span 2; background: var(--negro); color: #fff; border-color: var(--negro); }
.canal.destacada .ceja { color: var(--amarillo); }
.canal.destacada .canal-dato { color: #fff; font-size: clamp(24px, 2.5vw, 34px); max-width: 24em; }
.canal.destacada .canal-icono svg { background: var(--amarillo); stroke: var(--negro); }
.canal.destacada .canal-acciones a, .canal.destacada .copiar { border-color: rgba(255, 255, 255, .3); }
.canal.destacada .canal-acciones a:hover, .canal.destacada .copiar:hover { background: #fff; color: var(--negro); border-color: #fff; }
.canal.destacada .copiar.copiado { background: var(--amarillo); border-color: var(--amarillo); color: var(--negro); }
/* Horario, con el día de hoy marcado */
.horario { list-style: none; }
.horario li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid #ece8e0; font-size: 14.5px; color: #4d4a44; }
.horario li span:last-child { font-family: var(--serif); font-size: 20px; color: var(--negro); text-align: right; }
.horario li.hoy span:first-child { font-weight: 600; color: var(--negro); }
.horario li.hoy span:first-child::after { content: " · hoy"; color: #b07d00; font-weight: 500; }
/* «Abierto ahora» / «Cerrado · abre…», según la hora de Pachuca (lineas.js) */
.estado-ahora { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.3; background: rgba(13, 13, 12, .06); color: #6b665d; }
.tarjeta .estado-ahora { font-size: 13.5px; color: #6b665d; }
.estado-ahora[hidden] { display: none; }
.estado-ahora::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c2410c; }
.estado-ahora.abierto, .tarjeta .estado-ahora.abierto { color: #166534; background: rgba(22, 163, 74, .1); }
.estado-ahora.abierto::before { background: #16a34a; animation: latido 2s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
.portada .estado-ahora { margin-bottom: 20px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.portada .estado-ahora.abierto { color: #bbf7d0; background: rgba(22, 163, 74, .18); }
.canal-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.canal-acciones a, .copiar { padding: 8px 14px; border-radius: 999px; border: 1px solid #e2ddd3; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.canal-acciones a:hover, .copiar:hover { background: var(--negro); color: #fff; border-color: var(--negro); }
.copiar.copiado { background: var(--amarillo); border-color: var(--amarillo); color: var(--negro); }

.mapa { padding: clamp(80px, 13vh, 140px) 0 clamp(40px, 6vh, 70px); }
.mapa-marco { position: relative; height: clamp(380px, 62vh, 600px); border-radius: 28px; overflow: hidden; background: #e9e5dd; }
.mapa-marco iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.92) contrast(1.05); transition: filter .8s; }
.mapa-marco:hover iframe, .mapa-marco:focus-within iframe { filter: none; }
.mapa-tarjeta { position: absolute; left: 22px; bottom: 22px; max-width: 360px; padding: 24px 26px; border-radius: 22px; background: rgba(13, 13, 12, .82); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.mapa-tarjeta strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.mapa-tarjeta p { font-size: 14.5px; opacity: .8; margin: 8px 0 18px; }
.mapa-tarjeta .mapa-horario { margin-top: -8px; color: var(--amarillo-suave); opacity: 1; }
.mapa-botones { display: flex; flex-wrap: wrap; gap: 10px; }
.mapa-botones .boton { padding: 12px 20px; font-size: 14px; }
.mapa-tarjeta .boton.contorno { color: #fff; }
.mapa-tarjeta .boton.contorno:hover { background: #fff; color: var(--negro); border-color: #fff; }

.mensaje { background: var(--negro); color: #fff; padding: clamp(80px, 13vh, 140px) 0; margin-top: clamp(50px, 8vh, 90px); position: relative; overflow: hidden; }
.mensaje::after { content: ""; position: absolute; width: 56vw; height: 56vw; left: -18vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(247, 181, 0, .14), transparent 60%); pointer-events: none; }
.mensaje .ceja { color: var(--amarillo); }
.mensaje-rejilla { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; position: relative; z-index: 1; }
.mensaje-ayuda { color: rgba(255, 255, 255, .7); font-size: 17px; max-width: 36em; margin: -16px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; transition: background .3s, color .3s, border-color .3s, transform .35s var(--curva); }
.chip:hover { border-color: var(--amarillo); }
.chip[aria-pressed="true"] { background: var(--amarillo); border-color: var(--amarillo); color: var(--negro); font-weight: 600; transform: translateY(-2px); }
.campo { display: grid; gap: 8px; margin-bottom: 26px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.campo textarea { font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 14px 18px; resize: vertical; min-height: 96px; transition: border-color .3s, background .3s; }
.campo textarea:focus { outline: none; border-color: var(--amarillo); background: rgba(255, 255, 255, .09); }
.chat { width: min(100%, 380px); justify-self: center; border-radius: 34px; overflow: hidden; background: #efeae2; color: var(--negro); box-shadow: 0 0 0 10px #1f1e1b, 0 50px 90px -30px rgba(0, 0, 0, .8); }
.chat-cabeza { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #1f1e1b; color: #fff; }
.chat-cabeza strong { display: block; font-size: 15px; }
.chat-cabeza small { font-size: 12px; opacity: .65; }
.chat-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--amarillo); color: var(--negro); font-weight: 700; }
.mensaje-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.enlace-wa { color: rgba(255, 255, 255, .7); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: color .3s, border-color .3s; }
.enlace-wa:hover { color: #fff; border-color: var(--amarillo); }
.chat-cuerpo { min-height: 300px; padding: 26px 18px; display: flex; flex-direction: column; justify-content: flex-end; background-image: radial-gradient(rgba(13, 13, 12, .06) 1px, transparent 1px); background-size: 16px 16px; }
.burbuja { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 16px 4px 16px 16px; background: var(--amarillo); font-size: 15px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.burbuja.pulso { animation: burbuja .45s var(--curva); }
@keyframes burbuja { from { transform: scale(.94) translateY(6px); opacity: .6; } to { transform: none; opacity: 1; } }

.redes { padding: 10px 0 clamp(70px, 12vh, 120px); }
.redes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px clamp(24px, 4vw, 56px); }
.redes a { font-family: var(--serif); font-size: clamp(40px, 6vw, 80px); line-height: 1.1; text-decoration: none; background: linear-gradient(var(--amarillo), var(--amarillo)) 0 92% / 0 .09em no-repeat; transition: background-size .6s var(--curva); }
.redes a:hover, .redes a:focus-visible { background-size: 100% .09em; }
.redes i { display: inline-block; font-style: normal; font-size: .45em; vertical-align: super; margin-left: 6px; color: var(--gris); transition: transform .5s var(--curva), color .3s; }
.redes a:hover i { transform: translate(4px, -4px); color: var(--negro); }

/* ── Visor de fotos ── */
.visor { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: rgba(8, 8, 7, .94); display: none; place-items: center; }
.visor[open] { display: grid; animation: aparece .35s var(--curva); }
.visor::backdrop { background: transparent; }
.visor figure { max-width: 92vw; max-height: 88vh; display: grid; justify-items: center; gap: 12px; }
.visor img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 14px; object-fit: contain; }
.visor figcaption { color: #fff; font-family: var(--serif); font-size: 24px; }
.visor-cerrar, .visor-flecha { position: fixed; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); font-size: 30px; line-height: 1; }
.visor-cerrar:hover, .visor-flecha:hover { background: rgba(255, 255, 255, .22); }
.visor-cerrar { top: 18px; right: 18px; }
.visor-flecha { top: 50%; margin-top: -26px; }
.visor-flecha.ant { left: 18px; } .visor-flecha.sig { right: 18px; }

/* ── Aparecer al bajar (lo enciende lineas.js; sin JS todo se ve) ── */
.js .revelar { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--curva), transform 1s var(--curva); transition-delay: calc(var(--k, 0) * 70ms); }
.js .revelar.visto { opacity: 1; transform: none; }
.js .revelar-foto { clip-path: inset(12% 6% 0 6% round 22px); opacity: 0; transition: clip-path 1.3s var(--curva), opacity .8s; transition-delay: calc(var(--k, 0) * 60ms); }
.js .revelar-foto.visto { clip-path: inset(0 0 0 0 round 22px); opacity: 1; }

/* Seguro: si el navegador no corrió las animaciones de entrada (pestaña en
   segundo plano, ahorro de energía), a los 2.5 s todo queda a la vista igual */
.listo .palabra > span, .listo .titulo-grande em, .listo .portada-botones { animation: none; transform: none; filter: none; opacity: 1; }

/* ── Teléfono ── */
@media (max-width: 900px) {
  .tarjetas, .tarjetas.tres { grid-template-columns: 1fr 1fr; }
  .cta, .unete { grid-template-columns: 1fr; }
  .mensaje-rejilla { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* En el celular, los cuatro enlaces solo con su icono */
  .enlace-barra span { display: none; }
  .enlace-barra { padding: 9px 11px; }
  /* Botones más juntos para que todo quepa a 375 px (el logo, del mismo tamaño que en la tienda) */
  .marca { flex: none; }
  .barra-acciones { gap: 6px; }
  .tarjetas, .tarjetas.tres { grid-template-columns: 1fr; }
  .tarjeta { padding: 26px 22px; }
  .numero { font-size: 44px; margin-bottom: 16px; }
  .flechas { display: none; }
  .dato { flex-direction: column; gap: 2px; }
  .dato .valor { text-align: left; }
  .portada-botones .boton { flex: 1 1 100%; }
  .bajar { display: none; }
  .canales { grid-template-columns: 1fr; margin-top: -40px; }
  .canal.destacada { grid-column: auto; }
  .mapa-marco { height: auto; display: flex; flex-direction: column; }
  .mapa-marco iframe { height: 340px; }
  .mapa-tarjeta { position: static; max-width: none; border-radius: 0; }
  .chat-cuerpo { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar, .js .revelar-foto { opacity: 1; transform: none; clip-path: none; }
  .palabra > span, .titulo-grande em, .portada-botones { transform: none; filter: none; opacity: 1; }
  .texto-luz .p { color: var(--negro); }
  .portada-foto.fundido img:not(:first-child) { display: none; }
  html { scroll-behavior: auto; }
}

/* ── Inicio (la portada de www.prowall.mx, paginas-linea.js) ── */
.lineas-inicio { padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 110px); }
.lineas-rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.linea-tarjeta { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 34vw, 470px); border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; background: var(--negro); transition: transform 1s var(--curva), opacity 1s var(--curva), box-shadow .6s; }
.linea-tarjeta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--curva); }
.linea-tarjeta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13, 13, 12, .9) 6%, rgba(13, 13, 12, .3) 52%, rgba(13, 13, 12, 0) 78%); }
.linea-tarjeta:hover img, .linea-tarjeta:focus-visible img { transform: scale(1.07); }
.linea-tarjeta:hover { box-shadow: 0 34px 60px -30px rgba(13, 13, 12, .6); }
.linea-texto { padding: 26px 26px 24px; }
.linea-tarjeta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; }
.linea-tarjeta p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.linea-tarjeta .mas { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--amarillo); }
.linea-tarjeta .mas i { font-style: normal; transition: transform .5s var(--curva); }
.linea-tarjeta:hover .mas i, .linea-tarjeta:focus-visible .mas i { transform: translateX(7px); }

/* Compra en línea: franja negra con la tienda */
.compra { position: relative; overflow: hidden; background: var(--negro); color: #fff; padding: clamp(70px, 12vh, 130px) 0; }
.compra::after { content: ""; position: absolute; width: 56vw; height: 56vw; right: -20vw; top: -26vw; border-radius: 50%; background: radial-gradient(circle, rgba(247, 181, 0, .14), transparent 60%); pointer-events: none; }
.compra .ceja { color: var(--amarillo); }
.compra-rejilla { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.compra-ayuda { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 34em; margin: -16px 0 26px; }
.compra-foto { border-radius: 28px; overflow: hidden; }
.compra-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
a.chip { display: inline-block; text-decoration: none; }
.compra .boton { margin-top: 4px; }

/* Show Room y horario, en las tarjetas de siempre */
.cta-tarjeta .horario { margin-bottom: 18px; }
.cta-tarjeta .estado-ahora { align-self: flex-start; margin-bottom: 20px; opacity: 1; color: #6b665d; }
.cta-tarjeta .estado-ahora.abierto { color: #166534; }

@media (max-width: 900px) {
  .lineas-rejilla { grid-template-columns: 1fr 1fr; }
  .compra-rejilla { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lineas-rejilla { grid-template-columns: 1fr; }
  .linea-tarjeta { min-height: 360px; }
}

/* Cabecera negra y sólida desde arriba, igual que la de la tienda (Oliver, 21/11: «la misma
   cabecera negra hasta arriba para distinguir mejor los iconos» en la portada, y luego «pon la
   cabecera negra en todas las páginas informativas»). Ya no es transparente sobre la foto. */
.barra, .barra.solida {
  background: var(--negro); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--linea);
  /* Misma altura (76 px) y mismo margen del logo (24 px) que la cabecera de tienda.html, para que
     al pasar de una a otra no cambie de tamaño (Oliver, 21/11) */
  box-sizing: border-box; min-height: 76px; padding: 0 24px;   /* logo centrado: queda a 22 px de arriba, como en la tienda */
}
