/* =========================================================
   SAN ROXX · BODY MOD — estilo collage punk (como los reels)
   ========================================================= */
:root {
  --ink: #0e0e0e;
  --char: #151515;
  --paper: #f0ede7;
  --paper-2: #e3dfd7;
  --grid-bg: #d6d3ce;
  --red: #c8141f;
  --red-hi: #e3192b;
  --red-deep: #6c0911;
  --blue: #3b8fe0;
  --text-dark: #1b1a18;
  --muted-dark: #4a4640;
  --display: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 64px;
  --grain: url("/img/tex-grano.webp?v=202611270939");
  --clouds: url("/img/tex-nubes.webp?v=202611270939");
  --speckle: url("/img/tex-motas.webp?v=202611270939");
  --torn-t1: polygon(0.0% 2.0%,2.1% 4.2%,4.1% 2.3%,6.2% 0.8%,8.2% 2.8%,10.8% 0.4%,12.4% 0.4%,15.1% 3.1%,16.1% 4.4%,19.1% 2.9%,21.3% 0.7%,22.3% 2.4%,23.5% 0.9%,24.9% 0.1%,26.9% 2.0%,29.6% 2.3%,31.8% 2.2%,34.2% 2.1%,35.7% 4.5%,38.7% 3.8%,41.1% 1.4%,42.6% 1.3%,43.7% 3.4%,45.5% 3.8%,47.3% 4.3%,50.0% 0.0%,51.4% 4.1%,53.3% 4.4%,55.1% 0.3%,57.4% 3.5%,58.9% 0.4%,60.6% 4.3%,63.1% 0.5%,64.6% 0.5%,65.7% 3.6%,67.1% 2.5%,69.0% 0.9%,71.4% 0.6%,73.7% 0.5%,75.6% 1.0%,77.1% 4.4%,79.7% 1.4%,82.5% 0.9%,84.3% 3.8%,86.6% 0.5%,89.5% 1.0%,91.1% 3.5%,92.7% 1.3%,93.9% 0.4%,96.0% 1.1%,98.2% 1.7%,100.0% 4.3%,99.6% 25.0%,99.5% 50.0%,99.3% 75.0%,100.0% 99.2%,98.7% 95.9%,96.1% 98.9%,94.7% 96.7%,91.8% 99.1%,88.9% 96.0%,86.7% 98.1%,85.5% 99.8%,82.6% 98.9%,80.1% 98.8%,77.5% 97.3%,75.9% 99.2%,73.5% 99.7%,72.0% 97.5%,69.3% 97.2%,67.7% 95.9%,66.3% 99.9%,64.8% 98.0%,63.7% 99.2%,61.9% 97.4%,60.7% 98.4%,57.9% 95.6%,55.6% 96.9%,53.4% 99.4%,52.3% 99.9%,49.5% 96.8%,46.6% 99.9%,44.3% 97.8%,41.9% 98.6%,38.9% 99.7%,36.8% 96.7%,34.0% 96.7%,31.6% 96.4%,28.7% 98.4%,26.4% 95.9%,23.6% 98.1%,21.0% 96.1%,18.9% 97.2%,17.1% 97.4%,14.9% 99.6%,12.6% 95.5%,9.9% 96.7%,8.1% 96.7%,5.9% 98.0%,3.3% 99.6%,0.8% 99.9%,0.0% 97.8%,0.2% 75.0%,0.6% 50.0%,0.4% 25.0%);
  --torn-t2: polygon(0.0% 4.2%,2.9% 4.0%,4.1% 2.7%,5.9% 2.4%,7.2% 0.9%,9.1% 1.0%,11.0% 0.1%,12.1% 3.2%,14.0% 2.3%,16.5% 1.6%,17.6% 3.5%,19.7% 3.0%,22.0% 4.4%,23.7% 3.4%,25.5% 2.6%,27.8% 1.4%,28.9% 2.1%,31.4% 2.7%,33.3% 2.9%,34.6% 0.8%,36.3% 3.7%,37.7% 0.5%,38.9% 0.2%,40.4% 2.6%,43.1% 1.5%,44.8% 1.3%,46.4% 3.5%,48.5% 1.2%,49.7% 3.5%,52.1% 3.7%,53.6% 2.5%,56.5% 2.7%,59.3% 0.8%,62.3% 0.3%,64.1% 0.1%,66.7% 3.1%,69.7% 3.6%,72.6% 2.4%,75.6% 3.4%,77.3% 4.4%,79.0% 0.9%,80.2% 2.1%,81.6% 4.2%,84.5% 1.0%,85.7% 2.4%,87.0% 2.4%,89.6% 1.1%,91.5% 4.1%,93.4% 1.5%,96.2% 3.7%,98.9% 3.1%,100.0% 3.1%,99.3% 25.0%,99.5% 50.0%,99.8% 75.0%,100.0% 98.7%,98.2% 96.5%,96.1% 97.5%,93.4% 99.5%,91.2% 98.5%,89.0% 96.2%,87.5% 95.7%,86.4% 97.5%,84.3% 98.9%,82.2% 97.9%,80.3% 96.8%,79.3% 98.3%,76.7% 99.4%,74.0% 99.1%,71.6% 99.2%,69.7% 98.1%,68.5% 96.9%,66.6% 96.9%,64.5% 97.5%,62.4% 98.7%,59.6% 99.6%,56.9% 96.1%,54.9% 96.5%,52.6% 97.3%,51.0% 98.6%,49.3% 98.6%,46.4% 98.5%,44.6% 98.1%,41.9% 97.9%,39.8% 98.9%,38.3% 99.6%,36.8% 98.8%,34.1% 97.7%,32.9% 97.9%,31.7% 97.5%,29.8% 96.1%,28.3% 96.2%,26.8% 95.6%,24.5% 99.8%,21.9% 98.8%,20.2% 99.3%,17.5% 99.6%,15.0% 98.2%,12.7% 98.7%,11.5% 95.9%,9.2% 99.2%,6.2% 95.9%,4.9% 99.9%,2.7% 99.4%,0.2% 97.9%,0.0% 97.4%,0.6% 75.0%,0.7% 50.0%,0.5% 25.0%);
  --torn-t3: polygon(0.0% 3.1%,1.2% 2.8%,3.9% 3.8%,5.9% 2.8%,7.6% 2.4%,8.9% 3.1%,11.1% 1.3%,12.8% 3.3%,14.7% 4.3%,17.6% 3.8%,18.8% 0.3%,20.4% 1.6%,22.8% 3.7%,24.9% 2.9%,27.1% 0.2%,29.1% 1.0%,31.0% 0.0%,33.3% 4.1%,34.4% 2.6%,35.5% 1.6%,36.8% 3.9%,39.2% 4.0%,40.7% 3.2%,43.1% 2.3%,45.9% 2.8%,47.5% 3.2%,49.4% 1.0%,51.7% 0.2%,53.6% 2.5%,54.6% 2.9%,55.7% 2.9%,57.4% 0.1%,60.4% 0.3%,61.7% 2.3%,63.2% 2.4%,65.2% 2.6%,67.3% 1.3%,68.7% 3.1%,70.5% 2.3%,73.4% 0.0%,74.9% 2.5%,76.0% 3.4%,77.8% 1.4%,79.2% 4.4%,80.3% 3.7%,82.7% 4.0%,85.1% 1.6%,87.2% 4.1%,88.3% 3.8%,90.7% 0.9%,93.6% 1.3%,94.6% 1.2%,96.6% 0.1%,98.8% 2.0%,100.0% 3.4%,99.5% 25.0%,99.2% 50.0%,99.3% 75.0%,100.0% 96.1%,97.1% 96.2%,95.2% 99.7%,93.3% 97.2%,90.3% 97.1%,88.2% 99.6%,85.9% 99.8%,84.6% 99.8%,82.1% 95.8%,79.9% 99.6%,77.5% 99.2%,75.0% 97.0%,72.2% 99.3%,70.7% 98.6%,69.5% 95.7%,67.3% 99.5%,65.3% 99.6%,62.4% 98.4%,61.4% 96.7%,59.7% 97.1%,57.2% 99.7%,55.1% 95.7%,53.6% 98.9%,51.3% 99.7%,48.6% 96.4%,45.7% 96.3%,43.6% 97.9%,41.5% 97.1%,38.6% 99.3%,36.6% 98.0%,35.1% 99.3%,32.5% 97.4%,30.1% 98.8%,28.2% 99.3%,26.9% 99.4%,24.6% 96.2%,22.4% 96.5%,21.3% 97.7%,20.0% 97.6%,18.5% 98.9%,15.7% 97.5%,14.2% 97.8%,12.6% 96.4%,10.8% 96.2%,8.6% 97.1%,6.4% 97.4%,5.3% 96.4%,3.0% 99.0%,1.1% 95.7%,0.0% 97.5%,0.4% 75.0%,0.1% 50.0%,0.4% 25.0%);
  --torn-t4: polygon(0.0% 1.7%,1.5% 0.7%,4.3% 2.6%,6.7% 2.5%,8.4% 3.3%,10.6% 3.5%,12.9% 3.8%,14.8% 0.7%,16.1% 3.3%,17.4% 2.9%,19.7% 0.3%,22.2% 0.1%,25.0% 3.8%,26.4% 3.3%,28.9% 0.6%,31.2% 0.6%,34.0% 3.1%,37.0% 0.2%,38.6% 2.8%,40.8% 0.8%,43.6% 3.8%,45.2% 0.7%,47.6% 1.8%,49.9% 2.2%,51.7% 0.1%,52.9% 2.1%,55.4% 1.9%,57.9% 2.4%,60.7% 2.9%,62.3% 0.6%,63.4% 0.2%,66.2% 3.9%,68.7% 0.5%,71.0% 0.6%,73.8% 2.9%,76.3% 2.7%,78.1% 3.8%,81.0% 1.1%,82.9% 3.3%,85.2% 1.8%,87.1% 4.4%,88.7% 1.0%,91.1% 1.2%,93.9% 1.5%,96.7% 1.7%,99.5% 3.4%,100.0% 1.0%,99.9% 25.0%,100.0% 50.0%,99.9% 75.0%,100.0% 97.0%,98.9% 98.9%,96.7% 99.3%,95.1% 99.0%,92.7% 99.5%,89.7% 97.3%,87.3% 97.5%,85.3% 95.6%,82.5% 96.3%,81.5% 97.3%,78.6% 97.1%,76.6% 97.1%,75.2% 96.7%,72.6% 99.7%,70.6% 97.3%,68.9% 96.9%,66.1% 95.9%,64.4% 99.3%,61.7% 97.2%,59.1% 96.1%,57.5% 97.4%,55.9% 96.4%,53.5% 98.9%,51.5% 97.3%,50.1% 99.2%,48.1% 99.7%,46.1% 95.8%,43.5% 99.8%,40.8% 96.8%,38.4% 99.9%,35.9% 99.1%,33.3% 98.5%,31.5% 99.2%,28.8% 99.0%,26.1% 97.7%,24.8% 97.1%,22.7% 99.9%,20.1% 98.8%,19.0% 96.6%,16.6% 98.3%,15.2% 97.6%,13.0% 96.9%,11.0% 97.4%,8.6% 99.1%,7.2% 97.8%,4.7% 96.4%,2.0% 98.0%,0.0% 99.5%,0.3% 75.0%,0.1% 50.0%,0.7% 25.0%);
  --torn-s1: polygon(0.0% 2.8%,3.6% 7.5%,7.6% 2.0%,9.8% 1.6%,12.0% 8.1%,13.9% 5.8%,16.0% 3.2%,18.8% 9.2%,22.1% 0.2%,24.5% 1.6%,28.6% 8.9%,32.5% 9.1%,36.2% 10.4%,40.1% 2.8%,44.1% 5.4%,47.9% 6.2%,50.7% 4.0%,53.5% 3.5%,55.3% 9.0%,59.2% 10.8%,62.8% 6.1%,66.6% 1.5%,70.1% 4.9%,72.1% 2.2%,75.2% 2.8%,78.1% 6.7%,80.8% 1.4%,83.7% 2.6%,85.9% 2.1%,88.5% 0.8%,92.0% 10.5%,94.7% 7.9%,99.0% 0.5%,100.0% 8.9%,99.0% 30.0%,99.2% 70.0%,100.0% 98.2%,97.3% 90.4%,93.1% 91.2%,91.0% 90.6%,88.4% 92.1%,86.5% 89.3%,83.1% 92.1%,81.0% 93.2%,77.8% 93.5%,75.2% 92.0%,72.7% 96.8%,70.7% 92.5%,68.8% 97.5%,67.1% 92.9%,64.0% 94.0%,62.3% 95.2%,59.8% 99.0%,58.3% 89.0%,56.4% 96.7%,54.1% 93.4%,52.4% 94.8%,49.8% 90.8%,48.3% 96.3%,45.3% 89.3%,42.2% 94.8%,38.7% 96.7%,37.1% 94.5%,32.9% 91.9%,30.6% 92.5%,26.6% 97.2%,23.3% 96.1%,21.1% 96.8%,19.0% 96.1%,17.4% 95.6%,15.6% 91.7%,12.3% 100.0%,8.5% 97.9%,5.5% 93.9%,3.0% 96.8%,0.2% 98.5%,0.0% 98.8%,1.0% 70.0%,0.3% 30.0%);
  --torn-s2: polygon(0.0% 0.1%,1.8% 4.3%,5.4% 1.5%,7.2% 2.5%,11.0% 1.6%,14.7% 7.3%,16.6% 5.9%,19.5% 4.5%,24.0% 1.0%,25.5% 10.3%,28.2% 2.2%,30.7% 4.0%,35.1% 2.3%,37.2% 6.4%,40.4% 10.5%,44.4% 3.9%,46.5% 9.2%,51.0% 0.3%,54.7% 9.6%,58.1% 2.4%,62.0% 8.0%,64.1% 7.0%,66.3% 0.5%,68.8% 3.7%,71.5% 7.1%,75.5% 10.6%,79.9% 10.9%,83.8% 3.4%,85.8% 6.9%,88.9% 7.4%,90.7% 2.1%,95.0% 6.6%,98.6% 1.1%,100.0% 10.0%,99.2% 30.0%,98.8% 70.0%,100.0% 97.8%,97.1% 91.2%,94.3% 91.3%,91.1% 98.7%,89.3% 89.2%,87.5% 97.9%,85.0% 92.2%,80.9% 94.8%,77.9% 91.3%,75.6% 95.9%,72.2% 93.0%,70.6% 98.8%,68.7% 92.0%,65.1% 89.3%,61.3% 97.2%,57.5% 89.2%,55.0% 99.9%,52.3% 96.9%,50.3% 99.5%,48.4% 90.5%,46.8% 93.2%,44.7% 97.9%,40.7% 96.7%,38.7% 95.0%,35.1% 94.2%,31.0% 95.6%,27.9% 92.1%,25.0% 92.1%,22.1% 98.5%,20.3% 91.4%,16.5% 89.6%,13.0% 93.6%,11.0% 90.6%,9.1% 95.3%,7.2% 95.8%,4.8% 95.3%,1.1% 94.0%,0.0% 91.4%,0.9% 70.0%,1.0% 30.0%);
  --torn-p1: polygon(0.0% 1.1%,4.3% 1.4%,9.4% 1.3%,14.4% 0.1%,17.8% 1.7%,21.8% 1.6%,23.9% 0.8%,26.5% 1.0%,30.3% 0.0%,32.8% 0.5%,37.8% 1.4%,40.1% 1.4%,42.3% 1.1%,44.5% 0.0%,49.3% 0.4%,51.8% 1.8%,56.6% 0.5%,61.7% 1.0%,65.8% 0.4%,70.9% 1.2%,76.0% 1.6%,78.8% 0.7%,81.1% 0.3%,83.1% 0.5%,87.0% 0.0%,91.1% 0.6%,93.9% 1.5%,97.4% 0.6%,100.0% 1.3%,99.9% 8.0%,98.4% 17.0%,100.0% 26.0%,98.8% 35.0%,98.6% 44.0%,100.0% 53.0%,98.7% 62.0%,99.4% 71.0%,99.1% 80.0%,100.0% 89.0%,99.9% 98.0%,100.0% 99.7%,94.9% 99.6%,90.5% 98.3%,85.5% 99.4%,82.5% 99.1%,78.0% 99.8%,73.6% 98.6%,68.9% 99.9%,63.8% 99.8%,60.9% 98.9%,55.9% 99.4%,50.9% 99.0%,48.1% 99.4%,45.7% 99.9%,43.4% 98.8%,38.2% 99.7%,36.3% 98.2%,32.7% 99.3%,30.1% 98.9%,25.4% 99.2%,22.2% 99.9%,17.3% 99.9%,13.8% 98.5%,11.6% 98.7%,6.5% 98.9%,2.0% 99.8%,0.0% 99.7%,1.4% 98.0%,0.5% 89.0%,0.7% 80.0%,1.6% 71.0%,1.4% 62.0%,1.6% 53.0%,0.7% 44.0%,0.8% 35.0%,1.2% 26.0%,0.8% 17.0%,0.5% 8.0%);
  --torn-p2: polygon(0.0% 0.9%,4.6% 1.7%,7.3% 1.4%,11.6% 1.2%,13.7% 0.0%,16.8% 1.3%,19.4% 0.9%,22.3% 1.5%,27.3% 0.7%,32.6% 0.1%,37.2% 1.6%,39.5% 1.3%,43.2% 1.7%,45.6% 1.0%,50.5% 1.1%,53.3% 0.1%,58.4% 0.9%,63.6% 0.3%,68.2% 1.5%,73.2% 0.0%,76.2% 0.1%,80.6% 0.6%,85.7% 0.7%,90.2% 1.6%,92.7% 1.0%,97.8% 0.9%,100.0% 0.5%,98.7% 8.0%,99.7% 17.0%,99.0% 26.0%,99.1% 35.0%,99.1% 44.0%,99.8% 53.0%,98.9% 62.0%,98.5% 71.0%,99.5% 80.0%,99.5% 89.0%,98.5% 98.0%,100.0% 99.0%,97.3% 100.0%,92.9% 99.4%,89.5% 99.5%,85.6% 98.7%,82.7% 99.9%,77.5% 98.4%,75.7% 99.0%,71.5% 99.3%,67.2% 98.3%,63.4% 99.3%,61.0% 99.5%,58.7% 99.8%,56.2% 98.5%,52.6% 98.6%,47.6% 98.5%,45.7% 98.3%,43.6% 98.6%,38.9% 98.8%,35.8% 99.9%,33.7% 98.9%,31.1% 99.0%,28.4% 99.7%,25.7% 98.7%,22.2% 99.3%,18.8% 99.0%,15.2% 99.2%,10.1% 98.6%,7.5% 99.4%,5.1% 99.3%,3.3% 98.7%,0.0% 99.2%,1.4% 98.0%,0.5% 89.0%,0.9% 80.0%,1.5% 71.0%,0.9% 62.0%,1.0% 53.0%,0.6% 44.0%,1.6% 35.0%,1.2% 26.0%,0.5% 17.0%,0.6% 8.0%);
  --torn-p3: polygon(0.0% 1.0%,3.0% 1.5%,5.7% 0.9%,8.7% 0.7%,13.8% 0.2%,17.1% 0.4%,20.1% 1.8%,23.0% 1.1%,26.2% 1.3%,29.5% 0.3%,32.8% 0.7%,37.3% 1.0%,39.8% 1.2%,42.6% 0.9%,45.1% 0.7%,49.6% 0.9%,54.0% 1.4%,57.8% 1.2%,60.9% 1.1%,65.4% 0.2%,70.4% 0.7%,72.7% 0.3%,75.6% 0.1%,78.7% 0.7%,82.8% 0.8%,87.8% 1.2%,90.7% 1.6%,94.9% 1.7%,99.2% 1.7%,100.0% 0.5%,98.4% 8.0%,100.0% 17.0%,98.5% 26.0%,98.5% 35.0%,99.8% 44.0%,99.8% 53.0%,98.5% 62.0%,98.5% 71.0%,98.6% 80.0%,98.8% 89.0%,98.8% 98.0%,100.0% 99.4%,98.2% 98.9%,93.4% 98.3%,89.8% 100.0%,87.5% 99.2%,84.9% 100.0%,82.5% 99.1%,80.3% 99.8%,78.0% 99.9%,73.5% 98.4%,71.0% 98.9%,66.2% 99.6%,63.3% 98.4%,58.9% 98.9%,54.3% 99.0%,51.5% 98.8%,47.0% 99.9%,44.1% 99.5%,39.3% 99.5%,35.2% 99.2%,32.1% 99.1%,27.2% 98.8%,24.1% 99.7%,21.1% 99.2%,17.1% 98.2%,14.2% 98.3%,9.3% 99.2%,6.8% 99.6%,1.8% 99.7%,0.0% 98.8%,0.3% 98.0%,0.1% 89.0%,1.0% 80.0%,0.1% 71.0%,0.9% 62.0%,1.6% 53.0%,0.7% 44.0%,0.5% 35.0%,0.2% 26.0%,0.5% 17.0%,0.5% 8.0%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
section, footer { position: relative; overflow: hidden; }
section[id] { scroll-margin-top: var(--nav-h); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }
.pad { padding: clamp(72px, 10vw, 136px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fondos ---------- */
.bg-red {
  background-color: #8e0b15;
  background-image:
    var(--grain),
    var(--clouds),
    radial-gradient(ellipse 70% 55% at 28% 22%, rgba(214, 22, 36, .85), transparent 70%),
    radial-gradient(ellipse 60% 60% at 82% 78%, rgba(176, 16, 28, .7), transparent 70%),
    linear-gradient(180deg, #9d0d18 0%, #7a0a13 100%);
  background-size: 240px, cover, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 0 0, center, 0 0, 0 0, 0 0;
  color: var(--paper);
}
.bg-black {
  background-color: #121212;
  background-image:
    var(--grain),
    radial-gradient(ellipse 80% 60% at 50% 0%, #202020, transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, #1a1a1a, transparent 70%);
  background-size: 240px, auto, auto;
  color: var(--paper);
}
.bg-grid {
  background-color: var(--grid-bg);
  background-image:
    var(--grain),
    repeating-linear-gradient(118deg, rgba(255,255,255,0) 0 70px, rgba(255,255,255,.34) 70px 150px, rgba(255,255,255,0) 150px 190px, rgba(0,0,0,.05) 190px 230px, rgba(255,255,255,0) 230px 300px),
    linear-gradient(rgba(20,20,20,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.2) 1px, transparent 1px);
  background-size: 240px, auto, 58px 58px, 58px 58px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  color: var(--text-dark);
}

/* ---------- Etiquetas de papel rasgado ---------- */
.tag {
  --tag-bg: var(--ink);
  --tag-fg: var(--paper);
  --r: 0deg;
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .012em;
  padding: .2em .34em .14em;
  background: var(--tag-bg);
  color: var(--tag-fg);
  clip-path: var(--torn-t1);
  transform: rotate(var(--r));
  text-decoration: none;
  isolation: isolate;
}
.tag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tag-bg);
  -webkit-mask: var(--speckle);
  mask: var(--speckle);
  -webkit-mask-size: 260px;
  mask-size: 260px;
  pointer-events: none;
  opacity: .95;
}
.tag:nth-child(2n) { clip-path: var(--torn-t2); }
.tag:nth-child(3n) { clip-path: var(--torn-t3); }
.tag:nth-child(5n) { clip-path: var(--torn-t4); }
.tag.t-xs:nth-child(n), .tag.t-sm:nth-child(n) { clip-path: var(--torn-s1); }
.tag.t-xs:nth-child(2n), .tag.t-sm:nth-child(2n) { clip-path: var(--torn-s2); }
.t-xs::after, .t-sm::after { display: none; }
.t-black { --tag-bg: #0f0f0f; --tag-fg: #f2efe9; }
.t-white { --tag-bg: #f2efe9; --tag-fg: #0f0f0f; }
.t-red   { --tag-bg: var(--red); --tag-fg: #f7f2ea; }
.t-xxl { font-size: clamp(40px, 6.2vw, 84px); white-space: nowrap; }
.t-xl  { font-size: clamp(34px, 5.6vw, 72px); }
@media (min-width: 600px) { .t-xl { white-space: nowrap; } }
.t-lg  { font-size: clamp(26px, 4.2vw, 50px); }
.t-md  { font-size: clamp(19px, 2.3vw, 27px); }
.t-sm  { font-size: 15px; letter-spacing: .03em; }
.t-xs  { font-size: 12.5px; letter-spacing: .07em; padding: .32em .55em .26em; }
.tilt-l { --r: -2deg; }
.tilt-r { --r: 1.6deg; }
.tilt-l2 { --r: -1deg; }
.tilt-r2 { --r: .8deg; }

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: .1em; }
.stack > .tag { display: block; width: fit-content; }
.stack.center { align-items: center; }
.stack .indent { margin-left: .6em; }
.stack .indent2 { margin-left: 1.3em; }

/* ---------- Papel (notas, fotos, tarjetas) ---------- */
.shadow { filter: drop-shadow(0 8px 12px rgba(0,0,0,.36)); }
.bg-grid .shadow { filter: drop-shadow(0 8px 10px rgba(0,0,0,.24)); }
.paper {
  --r: 0deg;
  position: relative;
  background-color: var(--paper);
  background-image: var(--grain), linear-gradient(160deg, #f6f3ee 0%, #e9e5dd 100%);
  background-size: 240px, auto;
  color: var(--text-dark);
  clip-path: var(--torn-p1);
  transform: rotate(var(--r));
}
.paper.p2 { clip-path: var(--torn-p2); }
.paper.p3 { clip-path: var(--torn-p3); }
.note { padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); font-size: 15.5px; line-height: 1.65; }
.note p + p { margin-top: .9em; }
.note strong { font-weight: 700; }

.cut { position: relative; }
.cut .paper { padding: 8px; }
.cut img, .cut .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--torn-p2); }

.foto { background-size: cover; background-position: center 20%; background-repeat: no-repeat; }
.foto-estudio { background-image: url("/img/san-roxx-estudio.webp"); background-position: center 18%; }
.foto-trono   { background-image: url("/img/san-roxx-trono.webp"); background-position: center top; }
.foto-humo    { background-image: url("/img/san-roxx-retrato.webp"); background-position: center 15%; }
.foto-brazos  { background-image: url("/img/san-roxx-brazos.webp"); background-position: center 15%; }
.foto-sillon  { background-image: url("/img/san-roxx-sillon.webp"); }
.blob-torn { position: absolute; inset: -8% -11% -6% -9%; z-index: -1; clip-path: polygon(8% 12%, 22% 3%, 41% 8%, 57% 0%, 74% 6%, 92% 3%, 97% 21%, 100% 42%, 94% 60%, 99% 79%, 88% 97%, 66% 93%, 47% 100%, 27% 95%, 9% 99%, 3% 80%, 7% 61%, 0% 40%, 5% 24%); }
.blob-torn.red { background: var(--red); transform: rotate(-5deg); }
.blob-torn.red::after { content: ""; position: absolute; inset: 0; background: var(--red); -webkit-mask: var(--speckle); mask: var(--speckle); -webkit-mask-size: 260px; mask-size: 260px; }
.bn { filter: grayscale(1) contrast(1.32) brightness(1.06); }
.halftone { position: relative; }
.halftone::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.34) 0.9px, transparent 1.3px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 600px) {
  .foto-estudio { background-image: url("/img/san-roxx-estudio-480.webp"); }
  .foto-trono { background-image: url("/img/san-roxx-trono-480.webp"); }
  .foto-humo { background-image: url("/img/san-roxx-retrato-480.webp"); }
  .foto-brazos { background-image: url("/img/san-roxx-brazos-480.webp"); }
  .foto-sillon { background-image: url("/img/san-roxx-sillon-480.webp"); }
}

/* ---------- Adornos: estrellas, estallidos, marcador azul ---------- */
.deco { position: absolute; pointer-events: none; z-index: 3; }
.star { width: 34px; height: 34px; fill: var(--red); }
.star.white { fill: var(--paper); }
.burst { width: 40px; height: 40px; fill: #0f0f0f; }
.marker-wrap { position: relative; display: inline-block; }
.marker {
  position: absolute; left: -9%; top: -26%; width: 118%; height: 152%;
  overflow: visible; pointer-events: none; z-index: 4;
}
.marker path {
  fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.marker.white path { stroke: var(--paper); }
html.js .marker path { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.1s cubic-bezier(.6,.1,.3,1) .45s; }
html.js .in .marker path, html.js .marker.in path { stroke-dashoffset: 0; }
.arrow-blue { width: 64px; height: 64px; overflow: visible; }
.arrow-blue path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botones ---------- */
.btn {
  --tag-bg: var(--red); --tag-fg: #f7f2ea;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1;
  padding: .78em 1.15em .7em;
  background: var(--tag-bg); color: var(--tag-fg);
  clip-path: var(--torn-t2);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { --tag-bg: #0f0f0f; }
.bg-black .btn:hover, .bg-red .btn:hover { --tag-bg: #f2efe9; --tag-fg: #0f0f0f; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }
.btn.paper-btn { --tag-bg: #f2efe9; --tag-fg: #0f0f0f; clip-path: var(--torn-t3); }
.btn.paper-btn:hover { --tag-bg: #0f0f0f; --tag-fg: #f2efe9; }
.btn.black-btn { --tag-bg: #0f0f0f; --tag-fg: #f2efe9; clip-path: var(--torn-t4); }
.btn.black-btn:hover { --tag-bg: var(--red); }
.btn .arr { font-family: var(--body); font-weight: 700; }

/* ---------- Encabezado de sección ---------- */
.sec-count { display: flex; gap: 6px; margin-bottom: clamp(22px, 3vw, 34px); align-items: center; }
.sec-head { display: grid; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
.sec-head .lead { max-width: 34rem; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.1fr .9fr; } }
.lead { font-size: 16px; line-height: 1.7; }
.bg-black .lead, .bg-red .lead { color: #e9e3da; }
.bg-grid .lead { color: var(--muted-dark); }

/* ---------- Revelado al hacer scroll (como las etiquetas de los reels) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px) rotate(calc(var(--r, 0deg) + 4deg)) scale(1.07);
  transition: opacity .45s ease var(--d, 0s), transform .6s cubic-bezier(.2, .9, .25, 1.25) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: rotate(var(--r, 0deg)); }

/* ---------- Barra de progreso ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--red); z-index: 120; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: #0d0d0d;
  background-image: var(--grain);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 96% 94%, 91% 89%, 85% 96%, 78% 90%, 72% 97%, 65% 91%, 58% 95%, 50% 89%, 43% 96%, 36% 90%, 29% 95%, 22% 89%, 15% 96%, 8% 90%, 3% 95%, 0 90%);
  transition: height .25s;
}
.navbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.brand .tag { font-size: 19px; }
.brand .t-red { font-size: 13px; margin-left: -2px; --r: -3deg; }
.nav-links { display: none; gap: 4px; }
.nav-link { font-family: var(--display); text-transform: uppercase; font-size: 15px; letter-spacing: .05em; color: #d9d3c9; text-decoration: none; padding: 6px 9px 5px; position: relative; transition: color .2s, background .2s; clip-path: var(--torn-t3); }
.nav-link:hover { color: #fff; background: #262626; }
.nav-link.active { background: var(--red); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta { font-size: 15px; padding: .62em .9em .56em; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; color: var(--paper); }
@media (max-width: 520px) { .nav-cta { display: none; } }
@media (min-width: 1100px) { .nav-links { display: flex; } .navbar .menu-toggle { display: none; } }

/* ---------- MENÚ MÓVIL ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 140; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; overflow-y: auto; }
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu-inner { min-height: 100%; padding: 18px 16px 40px; display: flex; flex-direction: column; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mobile-menu-link { font-size: clamp(30px, 9vw, 52px); }
.mobile-menu-link .num { font-size: .38em; vertical-align: top; margin-right: .3em; opacity: .7; }
.mobile-menu-nav .mobile-menu-link:nth-child(3n+1) { --tag-bg: #0f0f0f; --tag-fg: #f2efe9; --r: -1.5deg; }
.mobile-menu-nav .mobile-menu-link:nth-child(3n+2) { --tag-bg: #f2efe9; --tag-fg: #0f0f0f; --r: 1deg; margin-left: 18px; }
.mobile-menu-nav .mobile-menu-link:nth-child(3n) { --tag-bg: #0f0f0f; --tag-fg: #f2efe9; --r: -.5deg; margin-left: 6px; }
.mobile-menu-footer { margin-top: auto; padding-top: 34px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + 28px) 0 72px; display: flex; align-items: center; }
.hero-giant {
  position: absolute; inset: calc(var(--nav-h) - 6px) 0 auto 0; z-index: 1;
  font-family: var(--display); text-transform: uppercase; line-height: .84; text-align: center;
  color: var(--red-hi); pointer-events: none; user-select: none;
  font-size: clamp(96px, 25vw, 340px); letter-spacing: -.005em;
  opacity: .9;
}
.hero-giant span { display: block; white-space: nowrap; }
.hero-giant .outline { color: transparent; -webkit-text-stroke: 2px rgba(240, 40, 55, .75); }
.hero-giant::after { content: ""; position: absolute; inset: 0; background: #8e0b15; -webkit-mask: var(--speckle); mask: var(--speckle); -webkit-mask-size: 300px; mask-size: 300px; opacity: .55; }
.hero-eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; font-size: 13px; color: #f4d9d9; text-align: center; margin-bottom: 18px; position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-tagline { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(227,25,43,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(227,25,43,0); } 100% { box-shadow: 0 0 0 0 rgba(227,25,43,0); } }
.hero-title { margin-bottom: 26px; }
.hero-title .marker-wrap { margin-top: .08em; }
.hero-sub { max-width: 31rem; margin-bottom: 26px; }
.hero-sub .note { font-size: 15px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.hero-meta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.hero-meta-block .label { font-size: 11.5px; }
.hero-meta-block .value { font-size: 15px; }
.hero-art { position: relative; z-index: 2; width: min(400px, 82%); justify-self: center; margin: 10px auto 0; }
.hero-art .blob { position: absolute; inset: -9% -12% -7% -10%; background: #0f0f0f; clip-path: polygon(8% 12%, 22% 3%, 41% 8%, 57% 0%, 74% 6%, 92% 3%, 97% 21%, 100% 42%, 94% 60%, 99% 79%, 88% 97%, 66% 93%, 47% 100%, 27% 95%, 9% 99%, 3% 80%, 7% 61%, 0% 40%, 5% 24%); z-index: -1; transform: rotate(4deg); }
.hero-art .blob::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(242,239,233,.55) 1px, transparent 1.6px); background-size: 9px 13px; opacity: .25; }
.hero-art .cut { --r: -3deg; transform: rotate(var(--r)); }
.hero-art .ph { aspect-ratio: 4 / 5; }
.hero-art .name { position: absolute; left: -6%; bottom: 9%; z-index: 4; }
.hero-art .roles { position: absolute; right: -5%; bottom: -3%; z-index: 4; }
.hero-art .sticker { position: absolute; top: -5%; right: -9%; z-index: 4; }
.hero .s1 { top: 16%; left: 4%; }
.hero .s2 { bottom: 12%; right: 6%; width: 26px; height: 26px; }
.hero .b1 { top: 32%; right: 8%; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; }
.hero-scroll .tag { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px) rotate(var(--r)); } }
.hero-invocation { margin-top: 16px; }
@media (max-width: 959px) { .hero .b1, .hero-scroll { display: none; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .hero-art { margin: 40px 0 0 auto; width: min(430px, 100%); }
  .hero-eyebrow { text-align: left; }
}

/* ---------- MANIFIESTO ---------- */
.manifiesto-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 900px) { .manifiesto-grid { grid-template-columns: .82fr 1.18fr; } }
.portrait { position: relative; z-index: 1; width: min(420px, 84%); margin: 0 auto; }
.portrait .cut { --r: 2deg; transform: rotate(var(--r)); }
.portrait .ph { aspect-ratio: 4 / 5; }
.portrait .cap-a { position: absolute; left: -7%; bottom: 14%; z-index: 4; }
.portrait .cap-b { position: absolute; right: -11%; top: -6%; z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.portrait .cap-b .big { font-size: clamp(30px, 4vw, 42px); }
.portrait .a1 { left: -12%; top: -6%; transform: rotate(-24deg) scaleX(-1); }
.manifiesto-title { margin-bottom: 28px; }
.manifiesto-text { max-width: 38rem; margin-bottom: 40px; }
.pillars { display: grid; gap: 22px; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.pillar .num { font-size: 34px; min-width: 1.5em; text-align: center; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--muted-dark); max-width: 32rem; line-height: 1.6; }

/* ---------- SERVICIOS ---------- */
.servicios-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .servicios-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { --r: 0deg; transform: rotate(var(--r)); height: 100%; }
.service-card:nth-child(4n+1) { --r: -1.1deg; }
.service-card:nth-child(4n+2) { --r: .9deg; }
.service-card:nth-child(4n+3) { --r: -.5deg; }
.service-card:nth-child(4n) { --r: 1.3deg; }
.service-card .paper { height: 100%; padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 12px; }
.service-card:nth-child(2n) .paper { clip-path: var(--torn-p2); }
.service-card:nth-child(3n) .paper { clip-path: var(--torn-p3); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-top .t-red { font-size: 22px; }
.service-top svg { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 25px; line-height: 1.05; color: #0f0f0f; letter-spacing: .01em; }
.service-card p { font-size: 14.5px; color: #3a3631; line-height: 1.6; }
.service-card ul { margin-top: auto; padding-top: 6px; display: grid; gap: 6px; border-top: 2px dashed rgba(15,15,15,.25); padding-top: 12px; }
.service-card li { font-family: var(--display); text-transform: uppercase; font-size: 13.5px; letter-spacing: .04em; color: #0f0f0f; display: flex; gap: 8px; align-items: center; }
.service-card li::before { content: "★"; color: var(--red); font-family: var(--body); font-size: 12px; }

.cta-banner { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 22px 32px; align-items: center; justify-content: space-between; }
.cta-banner .stack { gap: .12em; }

/* ---------- GALERÍA ---------- */
.galeria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 38px 20px; padding: 10px 4px 20px; }
@media (min-width: 760px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); gap: 54px 30px; } }
@media (min-width: 1100px) { .galeria-grid { grid-template-columns: repeat(5, 1fr); gap: 60px 26px; } }
.gallery-item { --r: 0deg; position: relative; transform: rotate(var(--r)); }
.gallery-item:nth-child(5n+1) { --r: -2.2deg; }
.gallery-item:nth-child(5n+2) { --r: 1.6deg; margin-top: 22px; }
.gallery-item:nth-child(5n+3) { --r: -.8deg; }
.gallery-item:nth-child(5n+4) { --r: 2.4deg; margin-top: 14px; }
.gallery-item:nth-child(5n) { --r: -1.5deg; margin-top: 30px; }
.gallery-item .paper { padding: 7px; }
.gallery-item:nth-child(2n) .paper { clip-path: var(--torn-p3); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--torn-p2); transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .label { position: absolute; left: -8px; bottom: -18px; z-index: 3; font-size: clamp(17px, 1.9vw, 24px); max-width: 108%; }
.gallery-item:nth-child(2n) .label { left: auto; right: -6px; }
.gallery-item .count { position: absolute; top: -10px; right: 8px; z-index: 3; }
.galeria .a1 { right: 3%; top: 120px; width: 70px; height: 70px; transform: rotate(10deg); }
.galeria .s1 { left: 2%; top: 70px; }
.galeria .b1 { right: 12%; bottom: 120px; }

.marquee-wrap { margin: clamp(56px, 7vw, 88px) -40px 0; transform: rotate(-2deg); background: var(--red); clip-path: var(--torn-t1); overflow: hidden; padding: 12px 0 10px; position: relative; z-index: 2; }
.marquee-wrap::after { content: ""; position: absolute; inset: 0; background: var(--red); -webkit-mask: var(--speckle); mask: var(--speckle); -webkit-mask-size: 260px; mask-size: 260px; pointer-events: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-item { font-family: var(--display); text-transform: uppercase; font-size: clamp(20px, 2.6vw, 30px); color: #f7f2ea; letter-spacing: .03em; white-space: nowrap; padding-right: 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee-item .sep { color: #0f0f0f; font-family: var(--body); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- TESTIMONIOS ---------- */
.testimonios-grid { display: grid; gap: 30px 24px; }
@media (min-width: 720px) { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonios-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonio-card { --r: 0deg; transform: rotate(var(--r)); }
.testimonio-card:nth-child(3n+1) { --r: -1.2deg; }
.testimonio-card:nth-child(3n+2) { --r: 1deg; }
.testimonio-card:nth-child(3n) { --r: -.4deg; }
.testimonio-card .paper { padding: 24px 24px 22px; height: 100%; display: flex; flex-direction: column; }
.testimonio-card:nth-child(2n) .paper { clip-path: var(--torn-p2); }
.testimonio-mark { font-family: var(--display); color: var(--red); font-size: 64px; line-height: .7; height: 30px; }
.testimonio-text { font-size: 15px; line-height: 1.65; color: #2a2723; margin: 6px 0 20px; }
.testimonio-author { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.testimonio-author-info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.testimonio-name { font-size: 17px; }
.testimonio-stars { color: var(--red); letter-spacing: 2px; font-size: 15px; }

/* ---------- CURSOS ---------- */
.cursos-cols { display: grid; gap: 48px 44px; margin-bottom: 52px; align-items: center; }
@media (min-width: 900px) { .cursos-cols { grid-template-columns: .85fr 1.15fr; } }
.cursos-notas { display: grid; gap: 26px; }
.cursos-foto { position: relative; z-index: 1; width: min(400px, 82%); margin: 14px auto 18px; }
.cursos-foto .cut { --r: -2deg; transform: rotate(var(--r)); }
.cursos-foto .ph { aspect-ratio: 5 / 6; }
.cursos-foto .cap { position: absolute; right: -9%; bottom: 11%; z-index: 4; align-items: flex-end; }
.cursos-foto .cap2 { position: absolute; left: -7%; top: 7%; z-index: 4; --r: -3deg; }
.cursos-temas-list { display: grid; gap: 10px; margin-top: 14px; }
.cursos-temas-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.cursos-temas-list li::before { content: "★"; color: var(--red); flex: none; }
.note .note-title { margin: -2px 0 6px -4px; }
.modulos-grid { display: grid; gap: 24px; margin-bottom: 44px; }
@media (min-width: 760px) { .modulos-grid { grid-template-columns: repeat(3, 1fr); } }
.modulo { --r: 0deg; transform: rotate(var(--r)); }
.modulo:nth-child(1) { --r: -1deg; }
.modulo:nth-child(2) { --r: .9deg; }
.modulo:nth-child(3) { --r: -.6deg; }
.modulo .paper { padding: 22px 22px 24px; height: 100%; }
.modulo-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.modulo-head .t-red { font-size: 34px; }
.modulo-title { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 24px; line-height: 1.05; color: #0f0f0f; margin-bottom: 12px; }
.modulo-list { display: flex; flex-wrap: wrap; gap: 6px; }
.modulo-list li { font-family: var(--display); text-transform: uppercase; font-size: 13.5px; letter-spacing: .04em; padding: 4px 8px 3px; background: #0f0f0f; color: #f2efe9; clip-path: var(--torn-t2); }
.modulo-list li:nth-child(3n) { background: var(--red); }
.cursos-extra { display: grid; gap: 24px; margin-bottom: 52px; }
@media (min-width: 760px) { .cursos-extra { grid-template-columns: 1fr 1fr; } }
.cursos-extra h3 { margin-bottom: 10px; }
.cursos-cert .org { display: inline-block; margin-top: 12px; }
.cursos-bottom-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cursos-bottom-cta .small { font-size: 14px; color: #d8d1c6; max-width: 32rem; }

/* ---------- ESTUDIO ---------- */
.estudio-body { display: grid; gap: 52px 44px; align-items: center; margin-bottom: 48px; }
@media (min-width: 960px) { .estudio-body { grid-template-columns: .8fr 1.2fr; } }
.estudio-foto { position: relative; z-index: 1; width: min(390px, 84%); margin: 0 auto 12px; }
.estudio-foto .cut { --r: 1.8deg; transform: rotate(var(--r)); }
.estudio-foto .ph { aspect-ratio: 4 / 5; }
.estudio-foto .cap { position: absolute; left: -8%; bottom: 12%; z-index: 4; }
.estudio-foto .cap2 { position: absolute; right: -7%; bottom: -3%; z-index: 4; }
.estudio-foto .a1 { right: -14%; top: -8%; }
.estudio-features { display: grid; gap: 22px; }
@media (min-width: 600px) { .estudio-features { grid-template-columns: repeat(2, 1fr); } }
.estudio-feature { --r: 0deg; transform: rotate(var(--r)); }
.estudio-feature:nth-child(2n+1) { --r: -1deg; }
.estudio-feature:nth-child(2n) { --r: 1.1deg; }
.estudio-feature .paper { padding: 22px; height: 100%; }
.estudio-feature:nth-child(2n) .paper { clip-path: var(--torn-p3); }
.estudio-feature h3 { margin-bottom: 10px; }
.estudio-feature p { font-size: 14.5px; color: #3a3631; }
.estudio .s1 { right: 5%; top: 90px; }
.estudio .b1 { left: 46%; bottom: 60px; }

/* ---------- CTA FINAL (¿TE ATREVES?) ---------- */
.atreves { padding: clamp(90px, 12vw, 150px) 0; text-align: center; }
.atreves-bg { position: absolute; inset: 0; z-index: 1; background-position: center 26%; opacity: .62; mix-blend-mode: luminosity; }
.atreves-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 80% 75% at 50% 42%, rgba(110,8,16,0) 30%, rgba(96,7,14,.85) 100%); }
.atreves .stack { gap: 14px; }
.atreves .big { font-size: clamp(54px, 11vw, 132px); line-height: .92; padding: .14em .3em .08em; }
.atreves .hoy { font-size: clamp(34px, 6vw, 64px); margin-top: -.5em; margin-left: 38%; }
.atreves .marker { left: -12%; top: -30%; width: 124%; height: 160%; }
.atreves .small { margin-top: 18px; }
.atreves .foot { margin-top: 26px; font-family: var(--display); letter-spacing: .3em; font-size: 14px; color: #f4dede; }
.atreves .a1 { width: 70px; height: 70px; left: 50%; margin-left: -180px; bottom: 26%; transform: rotate(80deg); }

/* ---------- FOOTER ---------- */
.footer { padding: 76px 0 26px; }
.footer-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 20px; }
.footer-lockup .t-black { font-size: clamp(36px, 5vw, 56px); --tag-bg: #f2efe9; --tag-fg: #0f0f0f; }
.footer-lockup .t-red { font-size: clamp(36px, 5vw, 56px); }
.footer-top { display: grid; gap: 34px; padding-bottom: 40px; border-bottom: 2px dashed rgba(242,239,233,.18); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-desc { font-size: 14.5px; color: #cfc8bc; max-width: 26rem; margin-top: 8px; }
.footer-domain { font-family: var(--display); letter-spacing: .12em; color: var(--red-hi); margin-top: 10px; font-size: 15px; }
.footer-col-title { margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col li, .footer-col a { font-size: 14.5px; color: #d8d1c6; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; color: #a9a197; }
.footer-copy { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-clock { display: flex; align-items: center; gap: 8px; font-family: var(--display); letter-spacing: .1em; }
.footer-clock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); animation: pulse 1.8s infinite; }

/* ---------- CHATBOT ROXXY ---------- */
.chatbot-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 130;
  width: 62px; height: 62px; display: grid; place-items: center;
  background: var(--red); color: #fff;
  clip-path: polygon(4% 6%, 30% 0, 58% 5%, 96% 0, 100% 34%, 95% 62%, 100% 96%, 66% 100%, 36% 95%, 3% 100%, 0 64%, 5% 34%);
  transition: background .2s, transform .2s;
}
.chatbot-toggle:hover { background: #0f0f0f; }
.chatbot-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }
.chatbot-toggle svg { width: 28px; height: 28px; }
.chatbot-toggle.open { background: #0f0f0f; }
.notification-dot { position: absolute; top: 9px; right: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 2px var(--red); }
.chatbot-panel {
  position: fixed; right: 16px; bottom: 92px; z-index: 130;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 130px));
  display: flex; flex-direction: column;
  background: #131313; background-image: var(--grain); background-size: 240px;
  clip-path: var(--torn-p1);
  visibility: hidden; opacity: 0; transform: translateY(14px) rotate(.6deg);
  transition: opacity .25s, transform .3s, visibility .3s;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.5));
}
.chatbot-panel.open { visibility: visible; opacity: 1; transform: none; }
.chatbot-header { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; }
.chatbot-avatar { width: 42px; height: 42px; display: grid; place-items: center; font-family: var(--display); font-size: 18px; background: var(--paper); color: #0f0f0f; clip-path: var(--torn-t2); }
.chatbot-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.chatbot-info h4 { font-size: 20px; }
.chatbot-info p { font-size: 12px; color: #bdb5aa; }
.chatbot-close { width: 38px; height: 38px; display: grid; place-items: center; color: var(--paper); }
.chatbot-close svg { width: 20px; height: 20px; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.chatbot-msg { max-width: 86%; font-size: 14.5px; line-height: 1.5; padding: 11px 13px; }
.chatbot-msg.bot { align-self: flex-start; background: var(--paper); color: var(--text-dark); clip-path: var(--torn-p2); }
.chatbot-msg.user { align-self: flex-end; background: var(--red); color: #fff; clip-path: var(--torn-p3); }
.chatbot-typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; background: var(--paper); clip-path: var(--torn-p2); }
.chatbot-typing span { width: 7px; height: 7px; border-radius: 50%; background: #0f0f0f; animation: typing 1s infinite; }
.chatbot-typing span:nth-child(2) { animation-delay: .15s; }
.chatbot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: .25; transform: translateY(-3px); } }
.chat-opciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -2px; }
.chat-opciones.usadas .chatbot-quick-btn { opacity: .4; cursor: default; background: var(--paper); color: #0f0f0f; }
.chat-opciones.usadas .chatbot-quick-btn.elegida { opacity: 1; background: var(--red); color: #fff; }
.chat-wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; padding: 11px 14px 10px; background: #1fa855; color: #fff; text-decoration: none; clip-path: var(--torn-t2); transition: background .2s; }
.chat-wa:hover { background: #17893f; }
.chat-wa:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--paper); }
.chat-wa svg { width: 20px; height: 20px; flex: none; }
.chatbot-send:disabled { opacity: .5; cursor: wait; }
.chatbot-quick-btn { font-family: var(--display); text-transform: uppercase; font-size: 13.5px; letter-spacing: .04em; padding: 7px 10px 6px; background: var(--paper); color: #0f0f0f; clip-path: var(--torn-t1); }
.chatbot-quick-btn:hover { background: var(--red); color: #fff; }
.chatbot-input-wrap { display: flex; gap: 8px; padding: 10px 16px 8px; }
.chatbot-input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 12px; border: 0; background: var(--paper); color: var(--text-dark); clip-path: var(--torn-t3); }
.chatbot-input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }
.chatbot-send { width: 46px; display: grid; place-items: center; background: var(--red); color: #fff; clip-path: var(--torn-t2); }
.chatbot-send svg { width: 20px; height: 20px; }
.chatbot-disclaimer { font-size: 11px; color: #8f877c; text-align: center; padding: 2px 16px 16px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: rotate(var(--r, 0deg)); }
  html.js .marker path { stroke-dashoffset: 0; }
}

/* =========================================================
   Páginas internas (servicios, política) — 26 nov 2026
   ========================================================= */
.service-card .mas { align-self: flex-start; margin-top: 4px; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--red); text-decoration: none; border-bottom: 2px solid currentColor; }
.service-card .mas:hover { color: #0f0f0f; }
.footer-link { font-size: 14.5px; color: #d8d1c6; text-align: left; padding: 0; }
.footer-link:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-hi); text-underline-offset: 4px; }
.chatbot-disclaimer a { color: #d8d1c6; }

.page-hero { padding: calc(var(--nav-h) + 30px) 0 64px; }
.migas { font-size: 13px; color: #f4d9d9; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.migas a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .hero-eyebrow { text-align: left; margin-bottom: 14px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.15fr .85fr; } }
.page-art { width: min(380px, 82%); margin: 0 auto; --r: -2deg; transform: rotate(var(--r)); }
.page-art .paper { padding: 8px; }
.page-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--torn-p2); }
.page-cols { display: grid; gap: 30px; }
@media (min-width: 860px) { .page-cols { grid-template-columns: 1fr 1fr; } }
.page-cols .note h2 { margin-bottom: 12px; }
.page-cols .note ul { display: grid; gap: 8px; margin-top: 10px; }
.page-cols .note li { display: flex; gap: 10px; line-height: 1.5; }
.page-cols .note li::before { content: "★"; color: var(--red); flex: none; }
.page-cols .note ol { display: grid; gap: 8px; margin: 10px 0 0 1.2em; }
.galeria-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; margin-top: 44px; }
.galeria-mini figure { --r: -1.4deg; transform: rotate(var(--r)); }
.galeria-mini figure:nth-child(2n) { --r: 1.2deg; }
.galeria-mini .paper { padding: 6px; }
.galeria-mini img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.galeria-mini figcaption { font-size: 13px; color: var(--muted-dark); margin-top: 8px; }
.faq-list { display: grid; gap: 18px; max-width: 52rem; }
.faq { --r: 0deg; }
.faq:nth-child(2n) { --r: .5deg; }
.faq:nth-child(2n+1) { --r: -.4deg; }
.faq .paper { padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(18px, 2vw, 22px); line-height: 1.15; color: #0f0f0f; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 28px; color: var(--red); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; font-size: 15px; color: #2a2723; line-height: 1.65; }
.relacionados { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.relacionados a { font-size: 15px; }
.legal .note { max-width: 52rem; margin: 0 auto 26px; }
.legal .note h2 { margin-bottom: 10px; }
.legal .note ul { display: grid; gap: 6px; margin: 8px 0 0 1.1em; list-style: disc; }
.legal .note p + p, .legal .note ul + p, .legal .note p + ul { margin-top: .7em; }
.aviso-borrador { background: #fff3a8; color: #0f0f0f; font-size: 13px; padding: 8px 14px; text-align: center; position: relative; z-index: 2; }
/* Pantallas de computador bajitas (1366×768): que los botones del inicio se vean sin bajar */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 18px); }
  .hero .t-xxl { font-size: clamp(40px, 5vw, 70px); }
  .hero-eyebrow { margin-bottom: 10px; }
  .hero-title { margin-bottom: 18px; }
  .hero-sub { margin-bottom: 18px; }
  .hero-sub .note { padding: 16px 22px; }
}
/* Celulares: sin la máscara de "desgaste" en etiquetas (es lo que más trabajo le da al teléfono). */
@media (max-width: 760px) {
  .tag::after, .hero-giant::after, .blob-torn.red::after, .marquee-wrap::after { display: none; }
}

/* Las secciones que no se ven todavía no se dibujan hasta acercarse (alivia mucho al teléfono). */
main > section:not(:first-child), .footer { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
