/* ============ Tokens ============ */
:root {
  color-scheme: dark;
  --red: #e30613;
  --red-deep: #8e0a12;
  --red-ink: #b0000c;
  --black: #000;
  --white: #fff;
  --sheet: #edebe6;
  --ink: #141414;
  --muted-dark: #b5b5b5;   /* sobre negro: 9.6:1 */
  --muted-red: #ffd9db;    /* sobre rojo profundo: 8:1 */

  --font-display: "Archivo", "Arial Black", Impact, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala de 8px */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;
  --wrap: 64rem;
  --radius: 10px;
  --radius-sm: 6px;

  /* Profundidad y movimiento */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --line: rgba(255, 255, 255, .12);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .2);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .25), 0 10px 24px -6px rgba(0, 0, 0, .45);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, .25), 0 24px 48px -12px rgba(0, 0, 0, .6);
  --glow-red: 0 8px 24px -6px rgba(227, 6, 19, .65);
  /* Luz roja de esquina (la del resumen del presupuesto), en versión suave */
  --glow-corner: radial-gradient(120% 70% at 100% 0%, rgba(227, 6, 19, .12), transparent 60%);
  --glow-line: linear-gradient(90deg, transparent, rgba(227, 6, 19, .7) 50%, rgba(255, 77, 87, .9));

  /* Grano de papel de los flyers */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
/* Toda la web un 10% más chica: todo está en rem, así que escala junto */
html { font-size: 90%; scroll-behavior: smooth; scroll-padding-top: 5rem; scroll-padding-bottom: 5.5rem; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(227, 6, 19, .25); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
/* En iPhone, un campo con letra de menos de 16px hace zoom al tocarlo */
input, select, textarea { font-size: max(16px, 1rem); }

::selection { background: var(--red); color: var(--white); }
html { scrollbar-color: #3a3a3a var(--black); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.paper :focus-visible, .sheet :focus-visible { outline-color: var(--black); }

.skip {
  position: absolute; left: var(--s2); top: -4rem; z-index: 100;
  background: var(--white); color: var(--black); padding: var(--s1) var(--s2); border-radius: var(--radius);
}
.skip:focus { top: var(--s2); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--s6); }
@media (min-width: 48rem) { .section { padding-block: var(--s7); } .wrap { width: min(100% - 6rem, var(--wrap)); } }
@media (min-width: 80rem) { .wrap { width: min(100% - 12rem, var(--wrap)); } }

/* Superficies */
.dark { background: var(--black); }
.section.dark { background: radial-gradient(55% 45% at 100% 0%, rgba(227, 6, 19, .09), transparent 70%), var(--black); }
.red-deep { background: var(--red-deep); }
.red-deep .muted { color: var(--muted-red); }
.paper {
  background: var(--grain), radial-gradient(120% 90% at 50% 0%, #ff1a26 0%, var(--red) 45%, #b8040f 100%);
  background-blend-mode: multiply, normal;
}
.sheet { background: var(--grain), var(--sheet); background-blend-mode: soft-light, normal; color: var(--ink); }

/* Trazos de graffiti, muy suaves y desvanecidos sobre el rojo */
.graffiti { position: relative; isolation: isolate; overflow: hidden; }
.graffiti::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/img/textura-graffiti.jpg") right center / cover no-repeat;
  mix-blend-mode: screen; opacity: .16;
  -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 80%);
  mask-image: linear-gradient(to left, #000 15%, transparent 80%);
}
.graffiti-corner::after {
  background-position: right top; opacity: .2;
  -webkit-mask-image: radial-gradient(110% 100% at 100% 0%, #000 15%, transparent 75%);
  mask-image: radial-gradient(110% 100% at 100% 0%, #000 15%, transparent 75%);
}

/* Tipografía */
.h2, .hero-title, .cta-title, .footer-thanks {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 6vw, 3.75rem); margin-bottom: var(--s4); text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.sheet .h2 { text-shadow: none; }

/* Etiqueta chica arriba de cada título */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--s2);
  font-size: .8125rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }
.red-deep .eyebrow, .paper .eyebrow { color: var(--muted-red); }
.sheet .eyebrow { color: var(--red-ink); }
.h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.2; margin-bottom: var(--s2); }
.section-lead { max-width: 60ch; margin-top: calc(var(--s2) * -1); margin-bottom: var(--s5); font-size: 1.125rem; }
.muted { color: var(--muted-dark); }
.small { font-size: .9375rem; }
p + p { margin-top: var(--s2); }

/* Botones */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .8rem 1.6rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s var(--ease), transform .25s var(--ease);
  touch-action: manipulation;
}
/* Flecha que avanza al pasar el mouse */
.btn::after {
  content: ""; width: .5rem; height: .5rem; margin-left: .1rem;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
/* Brillo que cruza el botón */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn-primary {
  background: linear-gradient(180deg, #ff1f2c, var(--red) 55%, #c8040f); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), var(--glow-red);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -8px rgba(227, 6, 19, .8); }
.btn-dark {
  background: linear-gradient(180deg, #2a2a2a, #0a0a0a); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px -8px rgba(0, 0, 0, .8);
}
.btn-dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 30px -10px rgba(0, 0, 0, .9); }
/* Verde de WhatsApp para los botones que abren el chat */
.btn-wa {
  background: linear-gradient(180deg, #2fe077, #25d366 55%, #1ebe5a); color: var(--white); text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 24px -8px rgba(37, 211, 102, .7);
}
.btn-wa:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 30px -8px rgba(37, 211, 102, .85); }
.btn-ghost-dark { border-color: rgba(0, 0, 0, .85); color: var(--black); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost-dark::after { display: none; }
.btn-ghost-dark:hover { background: var(--black); color: var(--white); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn-sm::after { width: .4rem; height: .4rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(8, 8, 8, .9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
/* Progreso de lectura */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--red), #ff4d57); transform-origin: left; transform: scaleX(var(--progress, 0));
  box-shadow: 0 0 10px rgba(227, 6, 19, .7);
}
.header-inner { display: flex; align-items: center; gap: var(--s2); min-height: 4rem; transition: min-height .3s var(--ease); }
.is-scrolled .header-inner { min-height: 3.5rem; }
.brand { transition: transform .25s var(--ease); }
.brand:hover { transform: rotate(-3deg) scale(1.04); }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-logo { height: 3.5rem; width: auto; filter: drop-shadow(0 1px 4px rgba(227, 6, 19, .2)); transition: height .3s var(--ease), filter .3s ease; }
.brand:hover .brand-logo { filter: drop-shadow(0 2px 10px rgba(227, 6, 19, .5)); }
.is-scrolled .brand-logo { height: 3rem; }
.brand-text { display: none; font-family: var(--font-display); font-weight: 900; font-size: .95rem; line-height: .95; text-transform: uppercase; color: var(--red); font-style: italic; }
.brand.no-logo .brand-text { display: block; }
.brand.no-logo .brand-logo { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s1);
  min-height: 2.75rem; padding: 0 .9rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--red); background: rgba(227, 6, 19, .12); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.125rem; height: 2px; border-radius: 2px; background: currentColor; position: relative; content: "";
  transition: transform .3s var(--ease), background-color .2s ease, top .3s var(--ease);
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
/* Las barras se convierten en una X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-list {
  list-style: none; margin: 0;
  position: absolute; inset: 100% 0 auto 0;
  background: rgba(8, 8, 8, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .9);
  padding: var(--s1) 1rem var(--s3);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-list.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; text-transform: uppercase; border-bottom: 1px solid #1c1c1c;
  transition: color .2s ease, padding-left .25s var(--ease);
}
.nav-list a::after { content: "→"; color: var(--red); font-family: var(--font-body); transition: transform .25s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--red); padding-left: .4rem; }
.header-cta { display: none; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex; position: static; padding: .25rem; gap: .125rem; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(255, 255, 255, .03); box-shadow: none; visibility: visible; opacity: 1; transform: none; backdrop-filter: none;
  }
  .nav-list a {
    position: relative; padding: .45rem .9rem; border: 0; border-radius: 999px;
    font-family: var(--font-body); font-weight: 500; font-size: .9375rem; text-transform: none; color: #d9d9d9;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav-list a::after {
    content: ""; position: absolute; left: 50%; bottom: .2rem; width: 1rem; height: 2px; margin-left: -.5rem;
    background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav-list a:hover { color: var(--white); background: rgba(255, 255, 255, .06); padding-left: .9rem; }
  .nav-list a[aria-current="true"] { color: var(--white); background: rgba(227, 6, 19, .16); padding-left: .9rem; }
  .nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; }
}

/* CTA fijo en celular, en la zona del pulgar */
.mobile-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -6px rgba(227, 6, 19, .7), 0 6px 20px rgba(0, 0, 0, .5);
  transition: opacity .25s ease, transform .35s var(--ease);
}
.mobile-cta.is-hidden { opacity: 0; transform: translateY(150%); pointer-events: none; }
@media (min-width: 62rem) { .mobile-cta { display: none; } }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding-block: var(--s5) 0; isolation: isolate; }
.hero-bg {
  position: absolute; z-index: -1; left: 50%; top: 72%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 62;
  font-size: clamp(9rem, 38vw, 30rem); line-height: .8; letter-spacing: -.02em;
  color: #c3040f; white-space: nowrap; user-select: none;
  /* Letras caladas en el papel, como el flyer de presupuesto */
  text-shadow: 0 -3px 0 rgba(0, 0, 0, .35), 0 3px 1px rgba(255, 90, 90, .25);
}
.hero-grid { display: grid; gap: var(--s4); align-items: end; }
.hero-copy { padding-bottom: var(--s2); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--s3);
  padding: .4rem .9rem .4rem .7rem; border-radius: 999px;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.live-dot { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.hero-title { font-size: clamp(3.25rem, 13vw, 8.5rem); display: grid; }
.hero-title span:first-child { text-shadow: 0 4px 0 rgba(0, 0, 0, .18), 0 18px 40px rgba(0, 0, 0, .25); }
.hero-title span:last-child { color: var(--black); text-shadow: 0 2px 0 rgba(255, 255, 255, .12); }
.hero-lead { max-width: 34ch; margin-top: var(--s3); font-size: 1.1875rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-photo { position: relative; justify-self: center; width: min(100%, 26rem); }
.hero-photo { padding-bottom: var(--s4); }
/* Luz de cabina detrás de la ilustración */
.hero-photo::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 45%; width: 85%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), rgba(255, 60, 70, .18) 40%, transparent 70%);
  filter: blur(10px);
}
.hero-photo::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: var(--s3); width: 55%; height: 1.25rem; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}
.hero-photo img { display: block; width: min(100%, 20rem); height: auto; margin-inline: auto; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .45)); }
.hero-photo .ph { aspect-ratio: 4 / 5; width: 100%; }

/* Celular: primero la ilustración, después el nombre */
@media (max-width: 47.99rem) {
  .hero { padding-top: var(--s2); }
  .hero-bg { top: 26%; }
  .hero-grid { gap: var(--s2); }
  .hero-photo { order: -1; padding-bottom: var(--s1); }
  .hero-photo img { width: min(100%, 13rem); }
  .hero-copy { padding-bottom: var(--s5); }
}

@media (min-width: 48rem) {
  .hero { padding-top: var(--s6); }
  .hero-bg { top: 52%; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .hero-title { font-size: clamp(3.25rem, 7.5vw, 7rem); }
  .hero-copy { padding-bottom: var(--s6); }
}

/* Entrada del hero: la única animación automática del sitio */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-title span:last-child { animation-delay: .08s; }
  .hero-photo img { animation: float 4s 1s ease-in-out infinite; }
  .hero-photo::after { animation: float-shadow 4s 1s ease-in-out infinite; }
  .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: ping 1.6s ease-out infinite; }
  .hero-kicker { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-lead, .hero-actions { animation: fade-up .8s .25s var(--ease) both; }
  .hero-actions { animation-delay: .35s; }
}
/* En celular la ilustración entra primero y el texto la sigue */
@media (prefers-reduced-motion: no-preference) and (max-width: 47.99rem) {
  .hero-photo { animation: fade-up .7s var(--ease) both; }
  .hero-kicker { animation-delay: .3s; }
  .hero-title span { animation-delay: .38s; }
  .hero-title span:last-child { animation-delay: .46s; }
  .hero-lead { animation-delay: .6s; }
  .hero-actions { animation-delay: .7s; }
}
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes float-shadow { 50% { transform: translateX(-50%) scale(.8); opacity: .6; } }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } }

/* ============ Placeholders de imagen ============ */
.ph {
  display: grid; place-items: center; padding: var(--s2); text-align: center;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.55) 0 12px, rgba(0,0,0,.45) 12px 24px);
  border: 2px dashed rgba(255, 255, 255, .55); color: var(--white); font-size: .9375rem; font-weight: 500;
}

/* ============ Sobre mí ============ */
.about { display: grid; gap: var(--s5); }
.about-text { max-width: 62ch; font-size: 1.125rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.stat {
  display: flex; flex-direction: column-reverse; gap: var(--s1);
  padding: var(--s3) var(--s2); border-radius: var(--radius);
  background: var(--glow-corner), linear-gradient(160deg, #161616, #0b0b0b); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--shadow-1);
  transition: border-color .25s ease, transform .3s var(--ease);
  position: relative; overflow: hidden;
}
/* Línea de luz arriba, como el resumen del presupuesto pero más fina */
.stat::before, .field-group::before, .social::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--glow-line); opacity: .55;
  transition: opacity .3s ease;
}
.stat:hover::before, .social:hover::after { opacity: 1; }
.stat:hover { border-color: rgba(227, 6, 19, .5); transform: translateY(-3px); }
.stat dt { color: var(--muted-dark); font-size: .875rem; }
.stat dd {
  font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2rem, 5vw, 3rem); line-height: 1;
  color: var(--red); text-shadow: 0 0 24px rgba(227, 6, 19, .45); order: -1;
}
.about-text .stats { margin-top: var(--s4); }
.about-photo { position: relative; justify-self: center; width: min(100%, 30rem); }
.about-photo img, .about-photo .ph {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius);
  border: 3px solid var(--white); box-shadow: 12px 12px 0 var(--red), var(--shadow-3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.about-photo:hover img { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 16px 16px 0 var(--red), var(--shadow-3); }
@media (min-width: 62rem) { .about { grid-template-columns: 1fr 1fr; align-items: center; } .about-photo { justify-self: end; } }

/* ============ Servicios ============ */
.party-types {
  display: flex; flex-wrap: wrap; gap: .25rem 0; margin-bottom: var(--s5);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 2rem); line-height: 1.3;
}
.party-types li { transition: color .2s ease; }
.party-types li:hover { color: #ffd0d3; }
.party-types li:not(:last-child)::after { content: "/"; color: var(--red); margin-inline: .6rem; text-shadow: 0 0 12px rgba(227, 6, 19, .6); }
.services { display: grid; gap: var(--s3); }
.service {
  position: relative; padding: var(--s4); border-radius: var(--radius); max-width: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .18));
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), var(--shadow-2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.service:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), var(--shadow-3); }
.fx-list { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.fx-list li {
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .18); padding: .35rem .85rem; border-radius: 999px; font-size: .9375rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.fx-list li:hover { background: var(--white); color: var(--red-deep); border-color: var(--white); transform: translateY(-2px); }
@media (min-width: 48rem) { .services { grid-template-columns: 1fr 1fr; } }

/* ============ Recorrido ============ */
.tour-stats { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-bottom: var(--s5); }
.tour-stats li { display: grid; font-weight: 700; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; }
.tour-stats b { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1; letter-spacing: 0; color: var(--red); text-shadow: 0 0 24px rgba(227, 6, 19, .45); }
.tour { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 62rem) { .tour { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: var(--s6); } }

/* Mapa: tierra oscura, rutas punteadas desde la base y pines con pulso */
.tour-map { position: relative; max-width: 26rem; justify-self: center; width: 100%; }
.tour-map::before { content: ""; position: absolute; inset: 15% 0 25%; z-index: -1; background: radial-gradient(closest-side, rgba(227, 6, 19, .22), transparent); filter: blur(20px); }
.tour-map-svg {
  display: block; width: 100%; height: auto;
  /* Los bordes del recorte se desvanecen en el negro */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 7%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 7%, #000 88%, transparent);
  mask-composite: intersect;
}
.map-on { fill: #161616; stroke: rgba(227, 6, 19, .75); stroke-width: 1; stroke-linejoin: round; }
.map-off { fill: #0b0b0b; stroke: #262626; stroke-width: .8; }
.map-route { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 3 5; stroke-linecap: round; opacity: .55; transition: opacity .25s ease, stroke-width .25s ease; }
.map-base circle { fill: none; stroke: var(--white); stroke-width: 1.2; stroke-dasharray: 2 3; opacity: .7; }
.pin { cursor: default; }
.pin-dot { fill: var(--red); stroke: var(--white); stroke-width: 1.6; transition: transform .25s var(--ease); }
.pin-sm .pin-dot { stroke-width: 1; }
.pin-pulse { fill: var(--red); opacity: .35; transform-box: fill-box; transform-origin: center; }
.pin.is-on .pin-dot { transform: scale(1.5); }
.map-route.is-on { opacity: 1; stroke-width: 2.2; }
.map-label { fill: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 13px; paint-order: stroke; stroke: #000; stroke-width: 4px; stroke-linejoin: round; }
.map-tag { fill: #3a3a3a; font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .pin-pulse { animation: pin-ping 2.4s ease-out infinite; }
  .pin:nth-of-type(2n) .pin-pulse { animation-delay: .8s; }
  .pin:nth-of-type(3n) .pin-pulse { animation-delay: 1.6s; }
  .map-route { animation: route-flow 1.6s linear infinite; }
}
@keyframes pin-ping { from { transform: scale(.7); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
@keyframes route-flow { to { stroke-dashoffset: -16; } }

.tour-list li {
  padding: .8rem .5rem; border-bottom: 1px solid #1f1f1f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s2);
  border-radius: var(--radius-sm); transition: background-color .2s ease, padding-left .3s var(--ease);
}
.tour-list li:hover, .tour-list li.is-on { background: rgba(255, 255, 255, .04); padding-left: 1rem; }
.tour-list li:hover .tour-place, .tour-list li.is-on .tour-place { color: var(--red); }
.tour-list .tour-place { color: var(--muted-dark); transition: color .2s ease; }
.tour-artists { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.tour-artists .muted { max-width: 60ch; }
.artists { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s3); font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; }
.artists li {
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--red); background: #0f0f0f; color: var(--white);
  box-shadow: 0 0 18px -4px rgba(227, 6, 19, .7);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.artists li:hover { box-shadow: 0 0 24px -2px rgba(227, 6, 19, .9); }

/* ============ Agenda (hoja tipo flyer) ============ */
.agenda-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.agenda-head .h2 { margin: 0; color: var(--black); }
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; padding: .3rem; border-radius: 999px; background: rgba(0, 0, 0, .07); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12); }
.tab {
  min-height: 2.75rem; padding: .5rem 1.15rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--black); font-weight: 700; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.tab:hover { background: rgba(0, 0, 0, .08); }
.tab[aria-selected="true"] { background: var(--black); color: var(--white); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.agenda-panel { border-block: 3px solid var(--black); }
.agenda-month { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2rem, 5vw, 3rem); color: var(--red-ink); text-transform: uppercase; padding-top: var(--s3); }
.gigs { width: 100%; border-collapse: collapse; margin-top: var(--s2); font-variant-numeric: tabular-nums; }
.gigs th { text-align: left; font-size: .9375rem; font-weight: 500; color: #4a4a4a; padding: .5rem .75rem .5rem 0; border-bottom: 1px solid #b9b6af; }
.gigs td { padding: .75rem .75rem .75rem 0; border-bottom: 1px solid #cfccc5; vertical-align: top; transition: background-color .2s ease; }
.gigs tbody tr:hover td { background: rgba(227, 6, 19, .06); }
.gigs .gig-day { font-weight: 700; white-space: nowrap; width: 1%; }
.gigs .gig-place { font-weight: 700; }
.gigs .gig-free td { color: #4a4a4a; }
.gig-free .gig-place { font-weight: 500; }
.gigs tr.is-past td { opacity: .55; }
.agenda-empty { padding: var(--s4) 0; max-width: 50ch; }
.agenda-empty a { color: var(--red-ink); font-weight: 700; }
.agenda-note { margin-top: var(--s2); color: #3d3d3d; font-size: .9375rem; }
@media (max-width: 30rem) {
  .gigs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gigs tr { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s2); padding: .6rem 0; border-bottom: 1px solid #cfccc5; }
  .gigs td { border: 0; padding: 0; }
  .gigs .gig-day { grid-row: span 2; }
  .gigs .gig-city { color: #4a4a4a; }
}

/* ============ CTA ============ */
.cta-band { padding-block: var(--s6); }
.cta-inner { display: grid; gap: var(--s2); justify-items: start; }
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; z-index: -1; right: -10rem; top: 50%; width: 32rem; aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; border: 3.5rem solid rgba(0, 0, 0, .12); box-shadow: 0 0 0 2rem rgba(0, 0, 0, .06);
}
.cta-title { font-size: clamp(2rem, 6.5vw, 4.5rem); max-width: 16ch; text-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.cta-inner p { max-width: 50ch; font-size: 1.125rem; font-weight: 500; }
.cta-inner .btn { margin-top: var(--s2); }

/* ============ Formularios ============ */
/* Juampa recortado, apoyado en el borde de abajo de la banda */
.cta-photo { display: none; }
@media (min-width: 48rem) {
  .cta-inner { padding-right: 34%; }
  .cta-photo { display: block; position: absolute; right: max(1rem, 6vw); bottom: 0; height: calc(100% - var(--s3)); max-height: 30rem; }
  .cta-photo img { height: 100%; width: auto; filter: drop-shadow(-14px 10px 24px rgba(0, 0, 0, .45)); }
}
.field { display: grid; gap: .375rem; margin-bottom: var(--s3); }
.field label, .field-hint { font-weight: 700; font-size: 1rem; }
.optional { font-weight: 400; color: var(--muted-dark); }
.paper .optional { color: var(--white); opacity: .85; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  background: #0f0f0f; border: 1.5px solid #3a3a3a; border-radius: var(--radius); color: var(--white);
  font-size: 1rem; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
textarea { resize: vertical; min-height: 7rem; }
input:hover, select:hover, textarea:hover { border-color: #6a6a6a; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--red); background: #141414;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35), 0 0 0 4px rgba(227, 6, 19, .28);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff6b73; }
::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

.paper input, .paper select, .paper textarea { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.paper input:focus-visible, .paper select:focus-visible, .paper textarea:focus-visible { background: var(--white); border-color: var(--black); box-shadow: 0 0 0 4px rgba(0, 0, 0, .3); }
.paper input[aria-invalid="true"], .paper textarea[aria-invalid="true"] { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.paper ::-webkit-calendar-picker-indicator { filter: none; }

.error { color: #ff8a90; font-size: .9375rem; font-weight: 500; }
.paper .error { color: var(--white); background: var(--black); padding: .25rem .5rem; border-radius: var(--radius); justify-self: start; }
.form-error { margin-top: var(--s2); color: #ff8a90; font-weight: 500; }
.paper .form-error { color: var(--white); background: var(--black); padding: .5rem .75rem; border-radius: var(--radius); }
.status { font-size: .9375rem; font-weight: 700; min-height: 1.5rem; }
.status[data-state="free"] { color: #6ee7a0; }
.status[data-state="busy"], .status[data-state="closed"] { color: #ff8a90; }
.status[data-state="zone"] { color: var(--muted-dark); font-weight: 500; }
.status[data-state="away"] { color: #ffd166; font-weight: 500; }

fieldset { border: 0; padding: 0; margin: 0 0 var(--s4); min-width: 0; }
legend { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; padding: 0; margin-bottom: var(--s2); }
.field-group { position: relative; overflow: hidden; padding: var(--s3); border-radius: var(--radius); background: var(--glow-corner), linear-gradient(160deg, #131313, #0a0a0a); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
legend { float: left; width: 100%; }
legend + * { clear: both; }
.check { display: flex; align-items: flex-start; gap: .75rem; min-height: 2.75rem; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: var(--radius-sm); cursor: pointer; transition: background-color .2s ease; }
.check:hover { background: rgba(255, 255, 255, .05); }
.check:has(input:checked) { background: rgba(227, 6, 19, .12); }
.check input { width: 1.375rem; height: 1.375rem; margin: .1rem 0 0; accent-color: var(--red); flex: none; }
.checks { display: grid; gap: 0 var(--s3); margin-top: var(--s1); }
@media (min-width: 36rem) { .checks { grid-template-columns: 1fr 1fr; } }

/* Calculadora */
.quote { display: grid; gap: var(--s5); align-items: start; }
.quote-summary {
  position: relative; overflow: hidden; padding: var(--s4) var(--s3) var(--s3); border-radius: var(--radius);
  background: radial-gradient(120% 60% at 100% 0%, rgba(227, 6, 19, .18), transparent 60%), linear-gradient(160deg, #181818, #0b0b0b);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-3);
}
.quote-summary::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), #ff4d57, var(--red)); }
.summary div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--s2); padding: .6rem 0; border-bottom: 1px solid #2a2a2a; }
.summary dt { color: var(--muted-dark); font-size: .9375rem; }
.summary dd { font-weight: 500; overflow-wrap: anywhere; }
.summary dd.is-empty { color: #8a8a8a; font-weight: 400; }
.viaticos { margin-top: var(--s2); padding: .75rem .9rem; border-left: 3px solid #ffd166; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #1c1708; font-size: .9375rem; }
.quote-summary .btn { margin-top: var(--s3); }
.quote-summary .small { margin-top: var(--s1); }
@media (min-width: 62rem) {
  .quote { grid-template-columns: 1.4fr 1fr; }
  .quote-summary { position: sticky; top: 5.5rem; }
}

.conditions { margin-top: var(--s5); border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(60% 120% at 100% 0%, rgba(227, 6, 19, .08), transparent 60%), #0b0b0b; transition: border-color .2s ease; }
.conditions:hover, .conditions[open] { border-color: rgba(255, 255, 255, .22); }
.conditions summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  cursor: pointer; padding: var(--s2) var(--s3); font-weight: 700; font-size: 1.125rem; min-height: 2.75rem; list-style: none;
}
.conditions summary::-webkit-details-marker { display: none; }
.conditions summary::after {
  content: "+"; display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%;
  background: rgba(227, 6, 19, .16); color: var(--red); font-size: 1.25rem; transition: transform .3s var(--ease);
}
.conditions[open] summary::after { transform: rotate(45deg); }
.conditions dl { display: grid; gap: .25rem var(--s3); padding: 0 var(--s3) var(--s3); max-width: 70rem; }
.conditions dt { font-weight: 700; color: var(--red); margin-top: var(--s2); }
.conditions dd { color: #d6d6d6; max-width: 65ch; }
@media (min-width: 48rem) {
  .conditions dl { grid-template-columns: 12rem 1fr; }
  .conditions dt { margin-top: 0; }
}

/* ============ Rider ============ */
.rider { display: grid; gap: var(--s4); }
.rider-list { counter-reset: rider; display: grid; gap: .5rem; }
.rider-list li {
  counter-increment: rider; display: flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s3); border-radius: var(--radius); font-size: 1.0625rem; font-weight: 500;
  background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .2s ease, transform .3s var(--ease);
}
.rider-list li::before {
  content: counter(rider, decimal-leading-zero); flex: none;
  font-family: var(--font-display); font-weight: 900; font-size: .875rem; color: var(--muted-red); letter-spacing: .05em;
}
.rider-list li:hover { background: rgba(0, 0, 0, .32); transform: translateX(4px); }
@media (min-width: 62rem) { .rider { grid-template-columns: 1fr 1.3fr; } }

/* ============ Redes ============ */
.videos-head { display: grid; gap: var(--s3); align-items: end; margin-bottom: var(--s5); }
.videos-head .section-lead { margin-bottom: 0; }
.btn-yt { justify-self: start; }
.btn-icon { width: 1.35rem; height: 1.35rem; fill: currentColor; flex: none; }
@media (min-width: 62rem) { .videos-head { grid-template-columns: 1fr auto; } }

.videos { display: grid; gap: var(--s4) var(--s3); }
@media (min-width: 40rem) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video { margin: 0; }
.video-featured { grid-column: 1 / -1; }
.video-frame img { transition: transform .6s var(--ease), filter .4s ease; filter: saturate(.9) brightness(.85); }
.video:hover .video-frame img { transform: scale(1.04); filter: saturate(1.05) brightness(1); }
.video-badges { position: absolute; z-index: 2; top: .75rem; left: .75rem; display: flex; gap: .4rem; pointer-events: none; }
.video-tag, .video-badge {
  padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-tag { background: var(--red); color: var(--white); box-shadow: 0 4px 12px -4px rgba(227, 6, 19, .8); }
.video-badge { background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); }
.video figcaption { display: grid; gap: .15rem; margin-top: .9rem; }
.video-series { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.video-title { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1.375rem; line-height: 1.1; text-transform: uppercase; }
.video-meta { color: var(--muted-dark); font-size: .9375rem; }

/* Destacado: último capítulo, grande y con el texto sobre la imagen */
.video-featured .video-frame { border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 1px rgba(227, 6, 19, .15), 0 30px 60px -20px rgba(227, 6, 19, .35), var(--shadow-3); }
.video-overlay {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem;
  padding: var(--s5) var(--s3) var(--s3); pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.video-overlay .video-title { font-size: clamp(1.75rem, 5vw, 3.5rem); line-height: .95; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.video-overlay .video-meta { color: #e6e6e6; }
.video-overlay .video-series { color: #ff5a63; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.video-featured .video-play-icon { width: 5.5rem; height: 5.5rem; }
.video-featured .video-play-icon svg { width: 2rem; height: 2rem; }
@media (min-width: 48rem) { .video-overlay { padding: var(--s6) var(--s4) var(--s4); } .video-featured .video-badges { top: 1.25rem; left: 1.25rem; } }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.video .ph { border-radius: var(--radius); border-width: 1px; border-color: rgba(255, 255, 255, .25); }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; width: 100%; display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.video-play { z-index: 1; }
.video-play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.6)); }
.video-play-icon { position: relative; width: 4rem; height: 4rem; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(227, 6, 19, .25), var(--glow-red); transition: transform .3s var(--ease), box-shadow .3s ease; }
.video-play:hover .video-play-icon { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(227, 6, 19, .2), var(--glow-red); }
.video-play-icon svg { width: 1.5rem; height: 1.5rem; fill: var(--white); margin-left: 4px; }
.video .ph { aspect-ratio: 16 / 9; }

.socials { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 48rem) { .socials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .socials { grid-template-columns: repeat(4, 1fr); } }
.spotify iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }
.spotify .social { height: 100%; }
/* Cada tarjeta toma el color propio de su red */
.social {
  --brand: var(--red); --brand-rgb: 227, 6, 19; --brand-bg: var(--brand); --brand-fg: var(--white);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: start; gap: .25rem; padding: var(--s3);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(160deg, #151515, #0a0a0a); box-shadow: var(--shadow-1);
  transition: border-color .3s ease, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.social-spotify { --brand: #1db954; --brand-rgb: 29, 185, 84; --brand-fg: #000; }
.social-tiktok { --brand: #fe2c55; --brand-rgb: 254, 44, 85; --brand-bg: #000; }
.social-ig { --brand: #d62976; --brand-rgb: 214, 41, 118; --brand-bg: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.social-yt { --brand: #ff0000; --brand-rgb: 255, 0, 0; }
.social::before {
  content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .3), transparent 70%); opacity: .45; transition: opacity .35s ease;
}
.social::after { background: linear-gradient(90deg, transparent, var(--brand)); }
.social:hover { border-color: rgba(var(--brand-rgb), .6); transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(var(--brand-rgb), .35), var(--shadow-3); }
.social:hover::before { opacity: 1; }
.social .icon {
  width: 3rem; height: 3rem; padding: .7rem; fill: var(--brand-fg); margin-bottom: var(--s2); border-radius: 12px;
  background: var(--brand-bg); box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .8);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.social:hover .icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 10px 26px -6px rgba(var(--brand-rgb), .9); }
/* TikTok: logo negro con el desfase cian y rosa */
.social-tiktok .icon { border: 1px solid #222; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.social-tiktok:hover .icon { box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.social-name { font-family: var(--font-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1.5rem; text-transform: uppercase; }
.social-stat { color: var(--muted-dark); }
.social-go { margin-top: var(--s3); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============ Galería ============ */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }
/* Las dos primeras (fotos con artistas) van grandes */
.gallery li:nth-child(-n+2) { grid-column: span 2; grid-row: span 2; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.gallery img, .gallery .ph { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s ease, transform .6s var(--ease); }
.gallery button:hover img, .gallery button:focus-visible img { filter: none; transform: scale(1.06); }
.gallery .ph { font-size: .875rem; border-radius: var(--radius); border-width: 1px; border-color: rgba(255, 255, 255, .3); }

.lightbox { overscroll-behavior: contain; padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.lightbox img { border-radius: var(--radius); box-shadow: var(--shadow-3); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 70rem); max-height: 80dvh; object-fit: contain; }
.lightbox-caption { position: absolute; bottom: var(--s3); left: 0; right: 0; text-align: center; padding-inline: 4rem; }
.lb-btn { position: absolute; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--red); }
.lb-btn svg { width: 1.5rem; height: 1.5rem; stroke: var(--white); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: var(--s2); right: var(--s2); }
.lb-prev { left: var(--s2); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--s2); top: 50%; transform: translateY(-50%); }

/* ============ Contacto ============ */
/* Una sola columna centrada: foto, título, formulario y datos */
.contact { display: grid; gap: var(--s5); }
.contact > * { width: 100%; max-width: 46rem; justify-self: center; }
.contact-info { display: grid; justify-items: center; text-align: center; }
.contact-info p { max-width: 46ch; font-size: 1.125rem; font-weight: 500; }
.contact-list { width: 100%; margin-top: var(--s4); display: grid; gap: .75rem; text-align: left; }
@media (min-width: 48rem) { .contact-list { grid-template-columns: repeat(3, 1fr); } .contact .contact-list li { padding: .7rem .9rem; } .contact .contact-list a, .contact .contact-list span:not(.contact-label) { font-size: 1.0625rem; } .contact .contact-label { font-size: .6875rem; } }
.contact-info .eyebrow { margin-bottom: var(--s4); }
.contact-info .h2 { font-size: clamp(1.5rem, 8.2vw, 3.25rem); }
.contact-list li {
  display: grid; padding: .75rem 1rem; border-radius: var(--radius);
  background: rgba(0, 0, 0, .16); border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .25s ease, transform .3s var(--ease);
}
.contact-list li:hover { background: rgba(0, 0, 0, .3); transform: translateX(4px); }
.contact-label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.contact-list a, .contact-list span:not(.contact-label) { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; text-decoration: none; }
.contact-list a::after { content: "→"; margin-left: .4rem; font-family: var(--font-body); font-weight: 700; display: inline-block; transition: transform .25s var(--ease); }
.contact-list a:hover::after { transform: translateX(4px); }
.contact-form { align-self: start; padding: var(--s4) var(--s3); border-radius: calc(var(--radius) * 1.6); background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-3); backdrop-filter: blur(6px); }
@media (min-width: 48rem) { .contact-form { padding: var(--s5) var(--s4); } }
.field-row { display: grid; gap: 0 var(--s3); }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
/* Juampa recortado, sin marco; la parte de abajo se desvanece */
.contact-photo { width: 100%; margin-bottom: var(--s2); max-width: 15rem; }
.contact-photo img { width: 100%; height: auto; filter: drop-shadow(10px 12px 22px rgba(0, 0, 0, .4)); -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
@media (min-width: 48rem) { .contact-photo { max-width: 19rem; } }

/* ============ Footer ============ */
.footer { position: relative; overflow: hidden; padding-block: var(--s6) calc(var(--s6) + 4rem); border-top: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 0%, rgba(227, 6, 19, .14), transparent 70%), var(--black); }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; width: min(40rem, 80%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 20px rgba(227, 6, 19, .8); }
@media (min-width: 62rem) { .footer { padding-bottom: var(--s5); } }
.footer-inner { display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.footer-thanks { font-size: clamp(2.5rem, 9vw, 6rem); }
.footer-logo { width: min(14rem, 60%); height: auto; filter: drop-shadow(0 6px 18px rgba(227, 6, 19, .35)); }

/* ============ Aparición al hacer scroll ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

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