/* Diseño «Luz» · Hubot Sans (titulares anchos, eje de anchura) + Mozilla Text (texto)
   Un destello: blanco cálido, un degradado de coral (c2) a violeta (c1) y un lila muy pálido (c3).
   Firma propia: un halo de luz de coral y violeta detrás del titular, la foto de portada en forma de cápsula con un aro
   en degradado y una línea de luz que la barre despacio, titulares muy anchos con el énfasis en degradado, una chispa
   de cuatro puntas en antetítulos y logo, ventajas en una cinta de color ligeramente inclinada, números en degradado
   (zonas, cifras y pasos), una tabla de precios con grupos en píldora, el bloque final en degradado con el sello girando
   y ondas suaves entre secciones.
   Hubot Sans y Mozilla Text traen el cero tachado (parece una «θ»): las cifras salen de Mona Sans, de la misma familia
   de diseño que Hubot, con unicode-range. */
@font-face { font-family: 'Luz Cifras'; src: url('../../../fuentes/mona-sans-latin-wdth-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }

html[data-diseno="luz"] {
  --f-titulos: 'Luz Cifras', 'Hubot Sans', system-ui, sans-serif;
  --f-texto: 'Luz Cifras', 'Mozilla Text', system-ui, sans-serif;
  --peso-titulos: 720;
  --tracking-titulos: -.03em;
  --interlinea-titulos: 1.02;
  --estilo-enfasis: normal;
  --peso-enfasis: 720;
  --fondo: #fffaf7;
  --fondo-suave: #f6f0ff;
  --texto: #1e1530;
  --texto-suave: #5f5470;
  --borde: rgb(30 21 48 / .11);
  --enfasis: #a3368f;
  --ante: #5a2bc4;
  --noche: #1b1130;
  --radio: 26px;
  --radio-foto: 26px;
  --radio-boton: 999px;
  --radio-campo: 16px;
  --sombra: 0 1px 2px rgb(30 21 48 / .05), 0 20px 44px -26px rgb(90 43 196 / .35);
  --sombra-fuerte: 0 40px 80px -40px rgb(90 43 196 / .5);
  --h1: clamp(2.6rem, 1.2rem + 5vw, 6rem);
  --h2: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  --t-base: clamp(1rem, .97rem + .16vw, 1.08rem);
  --ancho-titulos: 'wdth' 116;

  /* El degradado de la marca. «texto» es la versión oscura (contraste AA con blanco y sobre el fondo);
     «luz» la luminosa, solo para adornos. */
  --grad-texto: linear-gradient(100deg, #cf3a52 0%, #a3368f 48%, #5a2bc4 100%);
  --grad-boton: linear-gradient(100deg, #cf3a52 0%, #8f3bc9 55%, #5a2bc4 100%);
  --grad-luz: linear-gradient(100deg, #ff6a55 0%, #e0509a 45%, #8b46f0 75%, #5a2bc4 100%);
  /* Chispa de cuatro puntas (antetítulos, logo, viñetas) */
  --chispa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.4 4.6 10.6 12 12-7.4 1.4-11.1 5.6-12 12-.9-6.4-4.6-10.6-12-12C7.4 10.6 11.1 6.4 12 0z'/%3E%3C/svg%3E");

  /* Variantes del motor */
  --cinta-fondo: #5a2bc4;
  --cinta-texto: #fff;
  --cinta-simbolo: "✦";
  --cinta-giro: -1.6deg;
  --cinta-duracion: 52s;
  --sello-centro: #fff;
  --sello-centro-texto: #5a2bc4;
}

/* ---------------------------------------------------------------- base */
html[data-diseno="luz"] body { background: var(--fondo); }
html[data-diseno="luz"] :is(h1, h2, h3, .s-titulo, .portada-titulo) { font-variation-settings: var(--ancho-titulos); }
html[data-diseno="luz"] h3 { font-weight: 640; letter-spacing: -.015em; font-variation-settings: 'wdth' 104; }
html[data-diseno="luz"] :is(h1, h2) em {
  background: var(--grad-texto); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-right: .04em;
}
@media (forced-colors: active) { html[data-diseno="luz"] :is(h1, h2) em { color: CanvasText; background: none; } }
html[data-diseno="luz"] .fondo-marca :is(h1, h2) em { background: none; color: inherit; -webkit-text-fill-color: currentColor; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-color: rgb(255 255 255 / .55); }

html[data-diseno="luz"] .ante { display: inline-flex; align-items: center; gap: .65em; font-weight: 600; letter-spacing: .22em; font-size: .74rem; color: var(--ante); }
html[data-diseno="luz"] .ante::before { content: ""; width: 1.25em; height: 1.25em; flex: none; background: var(--grad-luz); -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat; }
html[data-diseno="luz"] .fondo-marca .ante { color: #fff; }

/* Botones: el principal es el degradado; el secundario, un aro en degradado */
html[data-diseno="luz"] .btn { font-weight: 600; letter-spacing: .005em; }
html[data-diseno="luz"] .btn-primario { background: var(--grad-boton); color: #fff; border-color: transparent; background-size: 140% 100%; background-position: 0 0; transition: background-position .5s, box-shadow .3s, transform .2s; box-shadow: 0 10px 26px -12px rgb(163 54 143 / .7); }
html[data-diseno="luz"] .btn-primario:hover { background-position: 100% 0; box-shadow: 0 14px 32px -12px rgb(90 43 196 / .75); }
html[data-diseno="luz"] .btn-secundario { border: 2px solid transparent; background: linear-gradient(var(--fondo), var(--fondo)) padding-box, var(--grad-luz) border-box; color: var(--texto); }
html[data-diseno="luz"] .fondo-suave .btn-secundario { background: linear-gradient(var(--fondo-suave), var(--fondo-suave)) padding-box, var(--grad-luz) border-box; }
html[data-diseno="luz"] .btn-claro { background: #fff; color: #5a2bc4; }
html[data-diseno="luz"] .btn-claro:hover { background: #fff; color: #cf3a52; }

/* Fondos: el suave lleva un brillo de coral en una esquina; el de marca es el degradado */
html[data-diseno="luz"] .fondo-suave { background-color: var(--fondo-suave); background-image: radial-gradient(60% 50% at 100% 0%, rgb(255 106 85 / .09), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgb(139 70 240 / .08), transparent 70%); }
html[data-diseno="luz"] .fondo-marca { background: linear-gradient(90deg, #cf3a52 0%, #8f3bc9 55%, #5a2bc4 100%); color: #fff; }
html[data-diseno="luz"] .fondo-marca > .s-sep { background: linear-gradient(90deg, #cf3a52 0%, #8f3bc9 55%, #5a2bc4 100%); }

/* ---------------------------------------------------------------- cabecera: blanca, con la línea de luz abajo */
html[data-diseno="luz"] .cab { background: color-mix(in srgb, var(--fondo) 90%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: none; }
html[data-diseno="luz"] .cab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-luz); opacity: .9; }
html[data-diseno="luz"] .cab .logo { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; justify-content: start; }
html[data-diseno="luz"] .cab .logo::before { content: ""; grid-row: 1 / span 2; width: 26px; height: 26px; background: var(--grad-luz); -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat; }
html[data-diseno="luz"] .logo-nombre { font-family: var(--f-titulos); font-weight: 780; font-size: 1.55rem; letter-spacing: -.035em; font-variation-settings: 'wdth' 125; line-height: 1; }
html[data-diseno="luz"] .cab .logo-nombre, html[data-diseno="luz"] .cab .logo-lema { grid-column: 2; }
html[data-diseno="luz"] .logo-lema { letter-spacing: .2em; font-size: .64rem; font-weight: 600; color: var(--texto-suave); }
html[data-diseno="luz"] .nav-lista a { font-weight: 560; }
@media (min-width: 961px) {
  html[data-diseno="luz"] .nav-lista a { position: relative; }
  html[data-diseno="luz"] .nav-lista a::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-luz); transform: scaleX(0); transition: transform .3s; }
  html[data-diseno="luz"] .nav-lista a:hover::after, html[data-diseno="luz"] .nav-lista a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---------------------------------------------------------------- portada centrada: halo de luz y foto en cápsula */
html[data-diseno="luz"] .s-portada.v-centrada { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(48px, 7vw, 104px); }
html[data-diseno="luz"] .s-portada.v-centrada::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -18%; width: min(1180px, 130vw); aspect-ratio: 2 / 1; translate: -50% 0;
  background: radial-gradient(38% 46% at 32% 50%, rgb(255 106 85 / .30), transparent 72%), radial-gradient(40% 50% at 68% 46%, rgb(139 70 240 / .28), transparent 72%), radial-gradient(30% 34% at 50% 70%, rgb(224 80 154 / .18), transparent 70%);
  filter: blur(26px);
}
html[data-diseno="luz"] .v-centrada .portada-titulo { font-size: var(--h1); font-weight: 780; font-variation-settings: 'wdth' 122; letter-spacing: -.045em; line-height: .98; }
html[data-diseno="luz"] .v-centrada .portada-titulo em { display: inline-block; }
html[data-diseno="luz"] .v-centrada .portada-sub { max-width: 54ch; font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); }
html[data-diseno="luz"] .portada-destacados li { padding: 7px 14px 7px 10px; border-radius: 999px; background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px rgb(90 43 196 / .14); font-weight: 560; font-size: .9rem; }
html[data-diseno="luz"] .portada-destacados .ico { color: #a3368f; }

/* La foto: cápsula ancha con un aro en degradado y la línea de luz que la recorre */
html[data-diseno="luz"] .v-centrada .portada-foto { position: relative; padding: 3px; border-radius: 999px; background: var(--grad-luz); box-shadow: 0 40px 90px -46px rgb(163 54 143 / .7); }
html[data-diseno="luz"] .v-centrada .portada-foto img, html[data-diseno="luz"] .v-centrada .portada-foto .foto-hueco { aspect-ratio: 21 / 8; border-radius: 999px; }
html[data-diseno="luz"] .v-centrada .portada-foto::after {
  content: ""; position: absolute; left: 5%; right: 5%; top: 50%; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .95) 20%, #fff 50%, rgb(255 255 255 / .95) 80%, transparent);
  box-shadow: 0 0 12px 2px rgb(255 140 170 / .85), 0 0 34px 6px rgb(139 70 240 / .55);
  animation: luz-barrido 7s ease-in-out infinite alternate; opacity: .85;
}
@keyframes luz-barrido { from { top: 18%; } to { top: 82%; } }
@media (prefers-reduced-motion: reduce) { html[data-diseno="luz"] .v-centrada .portada-foto::after { animation: none; top: 30%; opacity: .55; } }
@media (max-width: 760px) {
  html[data-diseno="luz"] .v-centrada .portada-foto { border-radius: 44px; }
  html[data-diseno="luz"] .v-centrada .portada-foto img, html[data-diseno="luz"] .v-centrada .portada-foto .foto-hueco { aspect-ratio: 4 / 3; border-radius: 41px; }
  html[data-diseno="luz"] .portada-destacados { gap: 8px; }
}

/* ---------------------------------------------------------------- secciones */
html[data-diseno="luz"] .s-cab .s-titulo { max-width: 16ch; }

/* Ventajas: la cinta en degradado, un poco inclinada, con aire alrededor */
html[data-diseno="luz"] .s-ventajas.v-cinta { overflow: hidden; padding-bottom: clamp(56px, 7vw, 96px); }
html[data-diseno="luz"] .cinta { background: var(--grad-boton); margin-inline: -2%; margin-top: clamp(18px, 2.5vw, 34px); box-shadow: 0 24px 50px -30px rgb(90 43 196 / .8); }
html[data-diseno="luz"] .cinta-item { font-size: clamp(1rem, .92rem + .35vw, 1.2rem); }
html[data-diseno="luz"] .cinta-txt strong { font-weight: 720; font-variation-settings: 'wdth' 112; }
html[data-diseno="luz"] .cinta-detalle { color: rgb(255 255 255 / .86); }
html[data-diseno="luz"] .cinta-item::after { color: #ffd2c9; opacity: 1; }
html[data-diseno="luz"] .cinta-pausa { background: #fff; color: #5a2bc4; box-shadow: 0 0 0 6px rgb(90 43 196 / .9); }

/* Servicios en índice: números en degradado y la foto en cápsula */
html[data-diseno="luz"] .serv-num { font-family: var(--f-titulos); font-weight: 780; font-variation-settings: 'wdth' 125; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); letter-spacing: -.04em; background: var(--grad-texto); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-diseno="luz"] .serv-ind h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 2rem); font-weight: 700; font-variation-settings: 'wdth' 118; letter-spacing: -.03em; }
html[data-diseno="luz"] .serv-ind-foto img { border-radius: 999px; }
html[data-diseno="luz"] .serv-precio { padding: 4px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(90 43 196 / .18); color: #5a2bc4; }

/* Cifras: tarjetas de cristal con el número ancho en degradado y un filete de luz */
html[data-diseno="luz"] .s-cifras.v-tarjetas .cifra { position: relative; overflow: hidden; background: #fff; box-shadow: var(--sombra); text-align: left; padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 30px); }
html[data-diseno="luz"] .s-cifras.v-tarjetas.fondo-base .cifra { background: var(--fondo-suave); box-shadow: none; }
html[data-diseno="luz"] .s-cifras.v-tarjetas .cifra::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-luz); }
html[data-diseno="luz"] .s-cifras .cifra dt { font-family: var(--f-titulos); font-weight: 800; font-variation-settings: 'wdth' 125; letter-spacing: -.05em; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.2rem); line-height: 1; background: var(--grad-texto); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-diseno="luz"] .s-cifras .cifra dd { margin-top: 12px; color: var(--texto-suave); }
html[data-diseno="luz"] .s-cifras .cifras-titulo { max-width: none; }

/* Texto solapado: foto con la esquina de arriba muy redonda y la ficha con filete de luz */
html[data-diseno="luz"] .v-solapada .texto-foto img, html[data-diseno="luz"] .v-solapada .texto-foto .foto-hueco { border-radius: var(--radio-foto) clamp(90px, 12vw, 170px) var(--radio-foto) var(--radio-foto); }
html[data-diseno="luz"] .v-solapada .texto-cuerpo { position: relative; overflow: hidden; }
html[data-diseno="luz"] .v-solapada .texto-cuerpo::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-luz); }

/* Testimonios: comillas en degradado y puntos de luz */
html[data-diseno="luz"] .s-testimonios.v-destacado blockquote p { font-family: var(--f-titulos); font-weight: 520; font-variation-settings: 'wdth' 104; letter-spacing: -.02em; }
html[data-diseno="luz"] .s-testimonios .comillas { color: #e0509a; }

/* CTA en degradado con el sello blanco */
html[data-diseno="luz"] .s-cta.v-sello .s-titulo { font-weight: 780; font-variation-settings: 'wdth' 122; letter-spacing: -.04em; }
html[data-diseno="luz"] .s-cta.v-sello .cta-texto { color: rgb(255 255 255 / .9); }
html[data-diseno="luz"] .sello-aro text { font-weight: 700; font-variation-settings: 'wdth' 120; letter-spacing: .14em; }
html[data-diseno="luz"] .sello-centro { box-shadow: 0 0 0 10px rgb(255 255 255 / .16), 0 0 46px 6px rgb(255 190 210 / .5); }

/* Tarifas: una tarjeta blanca con los grupos en píldora y los precios a la derecha */
html[data-diseno="luz"] .tarifas-tabla-caja { padding: clamp(18px, 3vw, 40px); border-radius: var(--radio); background: #fff; box-shadow: var(--sombra); }
html[data-diseno="luz"] .s-tarifas.fondo-suave .tarifas-tabla-caja { background: #fff; }
html[data-diseno="luz"] .tarifas-tabla .tt-grupo th { padding: 34px 12px 12px; border-bottom: 2px solid transparent; border-image: var(--grad-luz) 1; font-family: var(--f-titulos); font-weight: 760; font-variation-settings: 'wdth' 125; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.03em; color: var(--texto); }
html[data-diseno="luz"] .tarifas-tabla tbody:first-child .tt-grupo th { padding-top: 4px; }
html[data-diseno="luz"] .tarifas-tabla .tt-grupo th::before { content: ""; display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -.02em; background: var(--grad-luz); -webkit-mask: var(--chispa) center / contain no-repeat; mask: var(--chispa) center / contain no-repeat; }
html[data-diseno="luz"] .tarifas-tabla .t-nombre { font-weight: 600; }
html[data-diseno="luz"] .tarifas-tabla td { font-family: var(--f-titulos); font-weight: 760; font-variation-settings: 'wdth' 118; font-size: 1.12rem; color: #5a2bc4; }
html[data-diseno="luz"] .tarifas-tabla tr:not(.tt-grupo):hover > * { background: linear-gradient(90deg, rgb(255 106 85 / .06), rgb(139 70 240 / .07)); }
html[data-diseno="luz"] .s-tarifas .tarifas-nota, html[data-diseno="luz"] .s-tarifas .nota { color: var(--texto-suave); }

/* Pasos: tarjetas unidas por una línea de luz, con el número ancho en degradado */
html[data-diseno="luz"] .s-pasos.v-tarjetas .pasos { position: relative; }
html[data-diseno="luz"] .s-pasos.v-tarjetas .paso { position: relative; background: #fff; box-shadow: var(--sombra); }
html[data-diseno="luz"] .s-pasos.v-tarjetas.fondo-base .paso { background: var(--fondo-suave); box-shadow: none; }
html[data-diseno="luz"] .s-pasos.v-tarjetas .paso-num { min-width: 0; height: auto; padding: 0; margin-bottom: 18px; border-radius: 0; background: var(--grad-texto); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-titulos); font-weight: 800; font-variation-settings: 'wdth' 125; letter-spacing: -.05em; font-size: clamp(2.6rem, 2rem + 1.6vw, 3.6rem); line-height: 1; }
html[data-diseno="luz"] .s-pasos.v-tarjetas .paso::after { content: ""; position: absolute; left: clamp(24px, 2.6vw, 34px); right: clamp(24px, 2.6vw, 34px); bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-luz); opacity: .8; }

/* FAQ en columnas: filete de luz y chispa delante de cada pregunta */
html[data-diseno="luz"] .faq-col { border-top: 0; padding-top: 24px; background: linear-gradient(90deg, #ff6a55, #8b46f0) top left / 64px 3px no-repeat; }
html[data-diseno="luz"] .faq-col h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); }

/* Contacto, formulario y equipo */
html[data-diseno="luz"] .s-equipo .equipo-nombre, html[data-diseno="luz"] .s-equipo h3 { font-variation-settings: 'wdth' 118; }
html[data-diseno="luz"] :is(input, select, textarea):focus-visible { outline-color: #5a2bc4; }

/* ---------------------------------------------------------------- pie: berenjena profundo con la línea de luz arriba */
html[data-diseno="luz"] .pie { position: relative; background: var(--noche); color: #e9e2f5; }
html[data-diseno="luz"] .pie::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-luz); }
html[data-diseno="luz"] .pie .logo-nombre { color: #fff; }
html[data-diseno="luz"] .pie-titulo { color: #c8b8ff; }

/* ---------------------------------------------------------------- maqueta propia en escritorio */
@media (min-width: 1000px) {
  /* Tarifas: el titular fijo a la izquierda y la carta de precios a la derecha */
  html[data-diseno="luz"] .s-tarifas.v-tabla > .contenedor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  html[data-diseno="luz"] .s-tarifas.v-tabla .s-cab { position: sticky; top: calc(var(--alto-cab, 76px) + 32px); margin-bottom: 0; }
  html[data-diseno="luz"] .s-tarifas.v-tabla .tarifas-tabla-caja { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
  html[data-diseno="luz"] .s-tarifas.v-tabla .nota { grid-column: 1; grid-row: 2; align-self: start; max-width: 34ch; margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--fondo-suave); font-size: .95rem; }
  /* Pasos: todos en una fila, unidos por la línea de luz que pasa por los números */
  html[data-diseno="luz"] .s-pasos.v-tarjetas.n-5 .pasos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  html[data-diseno="luz"] .s-pasos.v-tarjetas.n-6 .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-diseno="luz"] .s-pasos.v-tarjetas:is(.n-3, .n-4, .n-5) .pasos::before { content: ""; position: absolute; z-index: 0; left: -2vw; right: -2vw; top: 62px; height: 2px; background: var(--grad-luz); box-shadow: 0 0 14px 1px rgb(224 80 154 / .5); }
  html[data-diseno="luz"] .s-pasos.v-tarjetas .paso { z-index: 1; }
  html[data-diseno="luz"] .s-pasos.v-tarjetas:is(.n-3, .n-4, .n-5) .paso:nth-child(even) { translate: 0 28px; }
  html[data-diseno="luz"] .s-pasos.v-tarjetas:is(.n-3, .n-4, .n-5) .pasos { padding-bottom: 28px; }
}
