/* Marca y tema "navidad" (16 nov 2026). Va detrás de base.css en todas las páginas.
   La marca (logo) vale para los dos temas. Todo lo de html.navidad cambia la noche azul y oro por rojo, nieve y blanco. */

/* ---------- Marca ---------- */
.barra-marca { padding-top: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.55rem/1 "Fell", Georgia, serif; color: var(--oro-claro); letter-spacing: 0.01em; }
.logo em { font-style: italic; color: var(--oro); }
.logo .simbolo { width: 30px; height: 30px; flex: none; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1 L23.5 16.5 L39 20 L23.5 23.5 L20 39 L16.5 23.5 L1 20 L16.5 16.5 Z' fill='%23e6b04f'/%3E%3Ccircle cx='20' cy='20' r='3.2' fill='%23fff3d0'/%3E%3C/svg%3E"); }
.cambiar-tema { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 800px) { .barra-marca { text-align: center; } .logo { font-size: 1.35rem; } }

/* ---------- Tema navidad ---------- */
html.navidad {
  --noche: #5c0a12; --noche2: #7a121b;
  --oro: #f3c86f; --oro-claro: #fff5e1; --oro-oscuro: #b98a33;
  --texto: #fff8ef; --suave: #f1d3cc;
  --lacre: #1d6b43; --lacre2: #2a8a58;  /* el "lacre" pasa a verde abeto: sobre rojo, el rojo no se vería */
  --fondo-sello: #66101a;
}
html.navidad body { background: radial-gradient(ellipse at 50% -10%, #a51d28 0%, #7a121b 38%, #4d0810 100%) fixed; }
html.navidad .demo { background: linear-gradient(90deg, #f6efe4, #fff, #f6efe4); color: #7a121b; }

/* Titulares en blanco nieve; el oro queda solo de acento */
html.navidad .dorado { background: linear-gradient(180deg, #ffffff 0%, #fff6e8 55%, #f3dcc0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(40,0,5,0.55)); }
html.navidad h2.titulo { color: #fff; }
html.navidad .antetitulo { color: var(--oro); }
html.navidad .logo { color: #fff; }
html.navidad .logo .simbolo { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M20 3v34M5.3 11.5l29.4 17M5.3 28.5l29.4-17'/%3E%3Cpath d='M15 6l5 4 5-4M15 34l5-4 5 4M5 17l6-1-2-6M35 23l-6 1 2 6M5 23l6 1-2 6M35 17l-6-1 2-6'/%3E%3C/svg%3E"); }

/* Botones: blanco con letra roja (el principal), verde abeto (el de pago) */
html.navidad .boton { color: #8e1520; background: linear-gradient(180deg, #ffffff, #f4ebe0); box-shadow: 0 10px 30px rgba(40,0,5,0.45); }
html.navidad .boton.sobrio { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
html.navidad .boton.rojo { color: #fff; background: radial-gradient(circle at 35% 25%, #3aa56c, var(--lacre2) 35%, var(--lacre) 75%); box-shadow: 0 0 0 6px rgba(29,107,67,0.16), 0 10px 30px rgba(10,50,30,0.5); }
html.navidad .boton.late { animation-name: latido-blanco; }
@keyframes latido-blanco { 50% { box-shadow: 0 0 0 12px rgba(255,255,255,0.06), 0 10px 50px rgba(255,255,255,0.35); } }
html.navidad .planes .boton.sobrio { color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta-suave); }

/* Marco del vídeo: blanco nieve en vez de oro */
html.navidad .ventana { background: linear-gradient(135deg, #ffffff, #efe6da 45%, #ffffff 70%, #e4d8c8); box-shadow: 0 30px 80px rgba(30,0,4,0.6); }
html.navidad .chispa { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,0.9); }

/* Cajas translúcidas: rojo oscuro en vez de azul noche */
html.navidad .quees > div, html.navidad .paso, html.navidad .voz { background: rgba(55,3,9,0.42); border-color: rgba(255,255,255,0.2); }
html.navidad .quees b, html.navidad .paso b { color: #fff; }
html.navidad .quees span, html.navidad .paso span { color: #f6dcd6; }
html.navidad .paso .num { background: #fff; color: #8e1520; }
html.navidad .prueba input { background: rgba(55,3,9,0.5); color: #fff; border-bottom-color: #fff; }
html.navidad .prueba input::placeholder { color: rgba(255,255,255,0.45); }
html.navidad .prueba label, html.navidad .medallon small { color: var(--oro); }
html.navidad .momento .plan { background: rgba(70,5,12,0.85); }
html.navidad .fijo { background: linear-gradient(180deg, rgba(77,8,16,0), rgba(77,8,16,0.96) 35%); }
html.navidad .cifra { border-color: rgba(255,255,255,0.25); }
html.navidad details { border-color: rgba(255,255,255,0.22); }
html.navidad summary::after { color: #fff; }
html.navidad details p { color: #f6dcd6; }
html.navidad .medallon.activo .aro { box-shadow: 0 0 0 3px rgba(255,255,255,0.25), 0 0 36px rgba(255,255,255,0.35); }

/* Página del pedido */
html.navidad .camino { color: #e9b9b2; }
html.navidad .camino i, html.navidad .camino b::before { background: rgba(255,255,255,0.3); }
html.navidad .camino b.hecho, html.navidad .camino b.ahora { color: #fff; }
html.navidad .camino b.hecho::before, html.navidad .camino b.ahora::before { background: #fff; }
html.navidad .etapa h1 { color: #fff; }
html.navidad #espera { background: radial-gradient(ellipse at 50% 30%, #8e1520, #4d0810 75%); }
html.navidad .mejora { background: linear-gradient(180deg, rgba(55,3,9,0.7), rgba(40,2,6,0.85)); border-color: rgba(255,255,255,0.3); }
.cabecera .logo { font-size: 1.25rem; gap: 8px; }
.cabecera .logo .simbolo { width: 24px; height: 24px; }
@media (max-width: 420px) { .cabecera .logo { font-size: 1.05rem; } .cabecera .logo .simbolo { width: 20px; height: 20px; } }

/* ---------- Adornos navideños (16 nov, Amadeo: «la Navidad es rojo, blanco y verde; copos, estrellas, arbolitos») ---------- */
.bosque { display: none; }
html.navidad .bosque { display: block; position: relative; height: 120px; margin-top: 20px; background: url(img/bosque.svg) center bottom / auto 120px repeat-x; }
html.navidad .bosque-portada { height: 96px; background-size: auto 96px; margin-top: 4px; opacity: 0.97; }
html.navidad .pie { background: #efe9e4; color: #6b3a36; margin-top: 0; padding-top: 14px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
/* acebo bajo cada título de sección */
html.navidad h2.titulo::after { content: ""; display: block; width: 72px; height: 27px; margin: 10px auto 0; background: url(img/acebo.svg) center / contain no-repeat; }
/* verde: barra de arriba, números de los pasos, iconos */
html.navidad .demo { background: linear-gradient(90deg, #165a38, #1d6b43, #165a38); color: #fff; }
html.navidad .paso .num { background: linear-gradient(180deg, #2a8a58, #1d6b43); color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.85); }
html.navidad .quees .ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1d6b43; box-shadow: 0 0 0 3px rgba(255,255,255,0.85); font-size: 1.35rem; }
html.navidad .quees > div, html.navidad .paso { border-color: rgba(255,255,255,0.25); }
html.navidad .micro span::before { content: "❄ "; color: #fff; }
html.navidad .antetitulo { color: #fff; letter-spacing: 0.24em; }
html.navidad .antetitulo::before, html.navidad .antetitulo::after { content: " ★ "; color: var(--oro); }
html.navidad .etiqueta-roja { background: #1d6b43; }
html.navidad .cifra b { filter: none; }

/* 24 nov (Amadeo): el logo alargado (lacre + «Pajes y Duendes») sustituye al texto de la marca. */
.logo .logo-img { display: block; height: 48px; width: auto; }
.cabecera .logo .logo-img { height: 38px; }
@media (max-width: 800px) { .logo .logo-img { height: 40px; margin: 0 auto; } }
