/* Zaruxo — azul predominante, blanco lunar, gris perla, texto carbón; dorado solo como acento. */
:root {
  --azul-noche: #0b1f44;
  --azul: #0f2d63;
  --azul-medio: #1d4ea3;
  --azul-claro: #dfe8f7;
  --lunar: #fbfcff;
  --perla: #eef1f6;
  --carbon: #1e232b;
  --gris: #4a5260;
  --dorado: #c8962b;
  --rosa: #b3264f;
  --foco: #ffbf00;
  --radio: 14px;
  --ancho: 1120px;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lunar); color: var(--carbon); font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1.125rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-medio); text-underline-offset: 3px; }
a:hover { color: var(--azul); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; color: var(--azul); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--azul-noche); color: #fff; padding: 12px 18px; border-radius: 10px; }
.saltar:focus { top: 12px; color: #fff; }
.aviso-staging { margin: 0; background: #7a1d38; color: #fff; text-align: center; padding: 6px 16px; font-size: 1rem; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
.estrecho { max-width: 760px; margin-left: auto; margin-right: auto; }
.contenedor.estrecho { padding: 0 16px; }

/* cabecera */
.cabecera { background: var(--azul-noche); color: #fff; position: sticky; top: 0; z-index: 50; }
.cabecera-in { max-width: var(--ancho); margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.marca { color: #fff; text-decoration: none; font-family: Georgia, serif; font-size: 1.6rem; letter-spacing: .12em; display: flex; flex-direction: column; line-height: 1.1; }
.marca:hover { color: #fff; }
.marca-sub { font-family: system-ui, sans-serif; font-size: .8rem; letter-spacing: .08em; color: #c9d6ee; }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; border-radius: 10px; border: 2px solid #fff; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.menu a { display: block; color: #fff; text-decoration: none; padding: 10px 10px; border-radius: 8px; font-size: 1rem; min-height: 44px; }
.menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.menu a[aria-current="page"] { background: #fff; color: var(--azul-noche); font-weight: 700; }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .cabecera nav { width: 100%; }
  .menu { display: none; flex-direction: column; padding-bottom: 8px; }
  .menu.abierto { display: flex; }
  .sin-js .menu { display: flex; }
}

/* secciones */
.intro { background: linear-gradient(160deg, var(--azul-noche), var(--azul) 70%); color: #fff; padding: 56px 0 48px; }
.intro h1 { color: #fff; }
.intro .lead { color: #e4ecfa; max-width: 46rem; }
.intro a { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; font-weight: 700; color: var(--azul-medio); margin-bottom: .6em; }
.intro .eyebrow, .portada .eyebrow, .bloque-luna .eyebrow, .cta .eyebrow { color: #f1d38f; }
.lead { font-size: 1.25rem; }
.bloque { padding: 56px 0; }
.bloque-perla { background: var(--perla); }
.bloque-luna { background: radial-gradient(circle at 80% 20%, #2a4f93 0, var(--azul-noche) 60%); color: #fff; }
.bloque-luna h2 { color: #fff; }
.bloque-luna a { color: #fff; }
.dos-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .dos-col { grid-template-columns: 1.3fr 1fr; } }
figure { margin: 0; }
figcaption { font-size: 1rem; color: var(--gris); margin-top: 8px; }

/* portada: imagen completa (cabeza, manos, saxofón y pies) en todos los tamaños */
.portada { background: radial-gradient(ellipse at 70% 10%, #24498c 0, var(--azul-noche) 65%); color: #fff; padding: 40px 0; }
.portada h1 { color: #fff; display: flex; flex-direction: column; }
.h1-sub { font-size: .5em; color: #e4ecfa; margin-top: .3em; }
.portada .lead { color: #e4ecfa; }
.portada-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .portada-grid { grid-template-columns: 1.2fr minmax(300px, 420px); } }
.portada-img img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: var(--radio); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
@media (max-width: 899px) { .portada-img { max-width: 420px; margin: 0 auto; } }
.duo img { width: 100%; aspect-ratio: 1672 / 941; object-fit: contain; border-radius: var(--radio); background: var(--azul-noche); }
.duo { margin-bottom: 24px; }

/* botones */
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--azul); background: #fff; color: var(--azul); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--azul-claro); color: var(--azul-noche); }
.btn-primario { background: var(--azul); color: #fff; }
.btn-primario:hover { background: var(--azul-noche); color: #fff; }
.portada .btn, .cta .btn { border-color: #fff; }
.portada .btn:not(.btn-primario), .cta .btn:not(.btn-primario) { background: transparent; color: #fff; }
.portada .btn:not(.btn-primario):hover, .cta .btn:not(.btn-primario):hover { background: rgba(255,255,255,.14); }
.portada .btn-primario, .cta .btn-primario { background: #fff; color: var(--azul-noche); }
.btn-chico { min-height: 44px; padding: 6px 14px; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* tarjetas */
.tarjetas { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tarjeta { background: #fff; border: 1px solid #d6dce7; border-top: 4px solid var(--azul-medio); border-radius: var(--radio); padding: 20px; }
.tarjeta h3 { margin-bottom: .4em; }
.tarjeta p { margin: 0; }
.tarjetas-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 24px; }

/* música */
.pistas { list-style: none; padding: 0; margin: 0 0 16px; }
.pistas li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #d6dce7; }
.pista-n { width: 2em; height: 2em; display: inline-grid; place-items: center; border-radius: 50%; background: var(--azul-claro); color: var(--azul-noche); font-weight: 700; }
.pista-t { flex: 1 1 10em; font-weight: 700; }
.reproductor { margin: 16px 0; }
.reproductor iframe, .video-marco iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radio); background: #000; }
.meta { color: var(--gris); font-size: 1rem; }
.estado { background: var(--azul-claro); color: var(--azul-noche); border-left: 4px solid var(--azul-medio); padding: 12px 16px; border-radius: 8px; }

/* videos */
.videos { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.video-marco { position: relative; border-radius: var(--radio); overflow: hidden; background: var(--azul-noche); aspect-ratio: 16 / 9; margin-bottom: 12px; }
.video-marco img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-play { position: absolute; inset: auto 12px 12px 12px; min-height: 48px; border: 2px solid #fff; border-radius: 999px; background: rgba(11,31,68,.92); color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: 8px 14px; }
.video-play:hover { background: var(--azul-noche); }
details { margin: 8px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--azul); min-height: 44px; display: flex; align-items: center; }

/* formularios */
.formulario { background: #fff; border: 1px solid #d6dce7; border-radius: var(--radio); padding: 24px; margin: 8px 0; }
.campo { margin-bottom: 18px; }
.campo label { display: block; font-weight: 700; margin-bottom: 6px; }
.campo input:not([type=checkbox]), .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--carbon); background: #fff; border: 2px solid #6b7486; border-radius: 10px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul-medio); }
.campo [aria-invalid="true"] { border-color: var(--rosa); }
.campo-check { display: flex; gap: 12px; align-items: flex-start; }
.campo-check input { width: 26px; height: 26px; margin-top: 3px; flex: none; }
.campo-check label { font-weight: 400; }
.ayuda, .opcional { color: var(--gris); font-size: 1rem; font-weight: 400; }
.error-campo { color: var(--rosa); font-weight: 700; font-size: 1rem; margin: 6px 0 0; }
.errores { border: 2px solid var(--rosa); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; color: #7a1d38; }
.errores ul { margin: 6px 0 0; padding-left: 1.2em; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.revision { border: 2px solid var(--azul-medio); border-radius: 10px; padding: 16px; margin: 16px 0; }
.revision dl { display: grid; grid-template-columns: minmax(8em, max-content) 1fr; gap: 6px 16px; margin: 0 0 12px; }
.revision dt { font-weight: 700; }
.revision dd { margin: 0; overflow-wrap: anywhere; }
.resultado:not(:empty) { margin-top: 12px; padding: 12px 16px; border-radius: 10px; background: var(--azul-claro); color: var(--azul-noche); }
.resultado.error { background: #fbe9ee; color: #7a1d38; }

.canales { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.canales .btn { width: 100%; }
.qr img { background: #fff; padding: 8px; border-radius: 10px; border: 1px solid #d6dce7; }
.qr { margin-bottom: 32px; }
.lista-limpia { list-style: none; padding: 0; margin: 0; }
.lista-limpia li { margin: 6px 0; }
.texto-largo h2 { font-size: 1.5rem; margin-top: 1.4em; }

.cta { background: linear-gradient(160deg, var(--azul), var(--azul-noche)); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta .botones { justify-content: center; }

.pie { background: var(--azul-noche); color: #e4ecfa; padding: 48px 0 24px; padding-bottom: 96px; }
.pie-in { max-width: var(--ancho); margin: 0 auto; padding: 0 16px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pie h2 { color: #fff; font-size: 1.2rem; font-family: system-ui, sans-serif; }
.pie a { color: #fff; }
.pie-final { text-align: center; margin: 32px 0 0; font-size: .95rem; color: #c9d6ee; }

/* preferencias de Ser de Luz */
html.sdl-contrast body { background: #000; }
html.sdl-contrast body *:not(.sdl):not(.sdl *) { background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; }
html.sdl-contrast body a:not(.sdl *) { color: #ffeb3b !important; }
html.sdl-contrast img { opacity: .9; }
html.sdl-spacing body *:not(.sdl *) { line-height: 1.9 !important; letter-spacing: .05em !important; word-spacing: .12em !important; }
html.sdl-links a { text-decoration: underline !important; }
html.sdl-motion *, html.sdl-motion *::before, html.sdl-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.sdl-leyendo { outline: 3px dashed var(--foco); outline-offset: 6px; }

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

/* Ser de Luz (asistente) */
.sdl { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--carbon); font-size: 1rem; line-height: 1.5; }
.sdl button, .sdl select, .sdl input { font: inherit; min-height: 44px; border-radius: 10px; }
.sdl button { cursor: pointer; border: 2px solid var(--azul); background: #fff; color: var(--azul-noche); padding: 8px 14px; font-weight: 700; }
.sdl button.sdl-primario { background: var(--azul); color: #fff; }
.sdl button[aria-pressed="true"] { background: var(--azul-noche); color: #fff; }
.sdl button[disabled] { opacity: .55; cursor: not-allowed; }
.sdl-fab { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; align-items: center; gap: 8px; border-radius: 999px !important; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.sdl-punto { width: 14px; height: 14px; border-radius: 50%; background: var(--foco); flex: none; }
.sdl-fab.sdl-vivo .sdl-punto { background: #e0245e; }
.sdl-tarjeta, .sdl-panel { position: fixed; left: 16px; bottom: 80px; z-index: 901; width: min(420px, calc(100vw - 32px)); background: #fff; border: 2px solid var(--azul); border-radius: 16px; padding: 18px; box-shadow: 0 10px 32px rgba(0,0,0,.4); }
.sdl-panel { max-height: calc(100vh - 112px); overflow: auto; }
.sdl h2 { font-family: system-ui, sans-serif; font-size: 1.15rem; margin: 0 0 8px; color: var(--azul-noche); }
.sdl h3 { font-family: system-ui, sans-serif; font-size: 1rem; margin: 16px 0 6px; color: var(--azul); }
.sdl p { margin: 6px 0; }
.sdl-fila { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.sdl-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sdl-respuesta { background: var(--azul-claro); border-radius: 10px; padding: 10px; margin: 8px 0; min-height: 1.5em; }
.sdl-pregunta { display: flex; gap: 8px; }
.sdl-pregunta input { flex: 1; min-width: 0; border: 2px solid var(--azul); padding: 8px 10px; }
.sdl select { border: 2px solid var(--azul); padding: 6px; width: 100%; background: #fff; }
.sdl input[type=range] { width: 100%; min-height: 32px; }
.sdl-chico { font-size: .95rem; color: var(--gris); }
.sdl-estado { font-weight: 700; }
.sdl-check { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.sdl-check input { width: 22px; height: 22px; min-height: 0; }
@media (max-width: 480px) { .sdl-tarjeta, .sdl-panel { left: 8px; width: calc(100vw - 16px); bottom: 70px; } .sdl-fab { left: 8px; bottom: 8px; } }
@media print { .sdl, .cabecera nav, .menu-btn { display: none !important; } }

/* textos largos (correos, usuarios) se cortan en vez de desbordar */
.pie a, .canales .btn, .lista-limpia a, .texto-largo a { overflow-wrap: anywhere; }
.canales .btn { white-space: normal; }
h1, h2, h3, p, li, dt, dd, label, .eyebrow, .btn { overflow-wrap: break-word; }
