/* ==========================================================================
   JUANDA CÓZAR · DISEÑO WEB Y MARKETING DIGITAL · estilos comunes de todas las páginas
   Letra de la demo Mainel: Archivo (titulares seminegros, algo ensanchados y apretados; texto a 16,5 px)
   e IBM Plex Mono 500 solo en los números de "Así trabajamos", en los rótulos de teléfono y correo y en las cifras de los precios.
   Fuentes incrustadas en fuentes.css. Negro sobre blanco.
   Primero el móvil; el escritorio se añade a partir de 900 px.
   ========================================================================== */
:root {
  --blanco: #ffffff;
  --tinta: #1b1a18;
  --tinta-2: #55524c;   /* 7,5:1 sobre blanco */
  --tinta-3: #6b675f;   /* 5,4:1 sobre blanco */
  --linea: #e8e4de;
  --linea-2: #d5d0c8;
  --suave: #f6f4f0;
  --sans: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --gutter: 20px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* esquinas de los botones rectangulares y de las cajas que los acompañan (elegido el 20/11/2026: 4 px);
     el botón redondo de WhatsApp no cambia */
  --radio: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
/* Archivo es variable (peso 100-900 y anchura 62-125 %). Sin negritas ni cursivas fingidas: solo se usan los pesos
   que trae la fuente (Plex Mono, únicamente el 500). */
body { margin: 0; background: var(--blanco); color: var(--tinta); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; font-stretch: 100%; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
::selection { background: var(--tinta); color: #fff; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 12px 16px; font-size: 14px; }
.saltar:focus { top: 12px; }
.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Tipografía: titulares en Archivo seminegra, un poco ensanchada y con el espaciado apretado, como en Mainel */
.titulo-xl, .titulo-l, .titulo-m { font-weight: 600; font-stretch: 104%; }
.titulo-xl { font-size: clamp(34px, 9vw, 80px); line-height: 1.02; letter-spacing: -.032em; word-spacing: .03em; }
.titulo-l  { font-size: clamp(30px, 7vw, 54px); line-height: 1.06; letter-spacing: -.028em; }
.titulo-m  { font-size: clamp(27px, 6vw, 42px); line-height: 1.1; letter-spacing: -.024em; }
.entradilla { font-size: 17px; line-height: 1.55; color: var(--tinta-2); max-width: 46ch; }

/* Botones (al menos 48 px de alto: cómodos con el pulgar). En mayúsculas: Archivo es ancha y pide poco espacio entre letras */
.boton {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 1px solid var(--tinta); border-radius: var(--radio); background: var(--tinta); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.boton:hover { background: #3b3935; border-color: #3b3935; }
.boton svg { width: 18px; height: 18px; flex: none; }
/* WhatsApp: la acción principal y el único color de la web. «Verde vivo» (elegido el 19/11/2026 entre las pruebas de
   web-opciones-boton): verde de WhatsApp #25D366 con el texto en la tinta del sitio, las mismas esquinas que «Hablemos»
   y los «Probar» (--radio), minúsculas seminegras a 16 px sin interletrado y el icono junto al texto. En el móvil, a todo el
   ancho de su bloque; desde 640 px, del ancho del texto. Si el texto parte en dos líneas, icono y texto quedan juntos
   a la izquierda (el texto ocupa todo el hueco). Contraste del texto: reposo 8,8:1; ratón encima (#1fae55) 6,0:1;
   pulsado (#1c9e4e) 5,0:1. Foco: aro de 3 px en tinta (en blanco sobre el bloque negro, más abajo). */
.boton--wa {
  gap: 10px; min-height: 52px; padding: 12px 20px 12px 18px; border: 0; border-radius: var(--radio);
  background: #25D366; color: var(--tinta);
  font-size: 16px; font-weight: 600; letter-spacing: 0; word-spacing: .06em; text-transform: none; line-height: 1.3;
  text-align: left; text-wrap: balance; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s var(--ease), transform .1s var(--ease);
}
.boton--wa:hover { background: #1fae55; color: var(--tinta); }
.boton--wa:active { background: #1c9e4e; transform: translateY(1px); }
.boton--wa:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.boton--wa .icono-wa { width: 22px; height: 22px; }
.boton--grande { min-height: 58px; }
.boton--corto { min-height: 44px; padding: 10px 12px; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.enlace-claro { display: inline-flex; align-items: center; min-height: 44px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d2cfc8; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.enlace-claro:hover { color: #fff; }
.enlace-texto { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--tinta); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.enlace-texto:hover { text-decoration-thickness: 2px; }
.enlace-flecha { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; }
/* si "Probar las tres webs" no cabe en una línea (360 px, o francés en tableta), parte en dos mitades y no deja una palabra sola */
.enlace-flecha > span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-wrap: balance; }
.enlace-flecha svg { flex: none; width: 18px; height: 12px; transition: transform .3s var(--ease); }
a:hover .enlace-flecha svg, .enlace-flecha:hover svg { transform: translateX(4px); }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--linea); }
.cabecera__in { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { display: inline-flex; flex-direction: column; line-height: 1; padding: 6px 0; min-width: 0; }
.marca__nombre { font-size: 19px; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.marca__oficio { margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); }
.cabecera__nav { display: none; }
.cabecera__der { display: flex; align-items: center; gap: 6px; }
.volver { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 8px; font-size: 15px; font-weight: 500; line-height: 1.45; white-space: nowrap; }
.volver span:last-child { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
/* el idioma se elige en el pie de todas las páginas (.pie__idiomas), no en la cabecera */

/* ==========================================================================
   PORTADA (versión del 18/11/2026: escaparate de las seis webs)
   Primera pantalla con titular, entradilla y WhatsApp; debajo, una tira con las seis webs de ejemplo que
   no se mueve sola (en el móvil se desliza con el dedo, pieza a pieza; en el ordenador, con flechas,
   arrastrando o con el teclado: portada.js). Después, lo que hacen las webs (una miniatura con la herramienta
   de cada una), Qué hacemos en dos paneles y Así trabajamos con los números grandes en mono.
   ========================================================================== */
.acciones { display: grid; gap: 12px; margin-top: 22px; }
.portada-heroe { padding: 14px 0 52px; }
/* titular en dos tiempos: cada frase empieza línea */
.portada-heroe__titulo span { display: block; }
@media (max-width: 639px) { html:lang(en) .portada-heroe__titulo, html:lang(fr) .portada-heroe__titulo { font-size: min(31px, 8vw); } }
.portada-heroe .entradilla { margin-top: 10px; font-size: 16.5px; line-height: 1.5; }
.portada-heroe .acciones { margin-top: 14px; }

/* Tira de las seis webs. Arranca alineada con el titular y se sale por la derecha: siempre asoma la siguiente.
   --inicio: el margen izquierdo del contenido, también cuando la pantalla es más ancha que el contenedor. */
.tira { --inicio: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); margin-top: 18px; }
.tira__cab { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tira__aviso { font-size: 14.5px; line-height: 1.45; }
/* rótulo de una sola frase; si en el móvil no cabe en una línea, parte en dos equilibradas (text-wrap: balance) */
.tira__titulo { font-size: inherit; line-height: inherit; font-weight: 600; letter-spacing: -.005em; color: var(--tinta); text-wrap: balance; }
/* Flechas grandes encima de la tira, donde se mira: cuadrado negro de 60 px con flecha blanca, cerco blanco de 2 px y sombra suave (se distingue igual sobre una captura oscura que sobre una blanca), a media altura de las
   capturas (--flecha-y la mide portada.js). La de la derecha, en el borde derecho; la de la izquierda aparece cuando
   ya se ha avanzado. La que no sirve se aparta (al principio no hay izquierda; al final, no hay derecha).
   Solo donde hay ratón o desde el ancho de ordenador; en pantallas táctiles, el dedo. */
.tira__visor { position: relative; }
.tira__ir { display: none; position: absolute; z-index: 2; top: var(--flecha-y, 40%); width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: var(--radio); background: var(--tinta); color: #fff; box-shadow: 0 0 0 2px #fff, 0 6px 18px 2px rgba(27, 26, 24, .32); transition: background .2s var(--ease), opacity .2s var(--ease), visibility .2s; }
.tira__ir svg { width: 24px; height: 17px; transition: transform .2s var(--ease); }
.tira__ir--avanza { right: max(16px, calc(var(--inicio) - 84px)); }
.tira__ir--atras { left: max(16px, calc(var(--inicio) - 84px)); }
.tira__ir:hover { background: #3b3935; }
.tira__ir--avanza:hover svg { transform: translateX(2px); }
.tira__ir--atras:hover svg { transform: translateX(-2px); }
.tira__ir:active svg { transform: none; }
/* foco de teclado: el cerco blanco, un aro negro y otro blanco por fuera, para que se vea igual sobre una captura clara que sobre una oscura
   (el contorno transparente es para el modo de alto contraste de Windows) */
.tira__ir:focus-visible { outline: 2px solid transparent; outline-offset: 4px; box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--tinta), 0 0 0 7px #fff; }
.tira__ir.apartada { opacity: 0; visibility: hidden; pointer-events: none; }
@media (hover: hover) and (pointer: fine), (min-width: 900px) { .tira__ir { display: inline-flex; } }
/* Barrita debajo de la tira: línea fina con un tramo negro que dice dónde estás; se arrastra o se pulsa para saltar.
   La zona que se puede pulsar mide 26 px de alto aunque la línea sea fina. A la derecha, «1 / 6» en mono. */
.tira__pie { display: flex; align-items: center; gap: 16px; margin-top: 0; }
.tira__barra { position: relative; flex: 1; height: 26px; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; }
.tira__barra::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--linea-2); }
.tira__tramo { position: absolute; left: 0; top: 50%; width: 30%; height: 4px; margin-top: -2px; background: var(--tinta); cursor: grab; transition: height .15s var(--ease), margin-top .15s var(--ease); will-change: transform; }
.tira__barra:hover .tira__tramo, .tira--barra-activa .tira__tramo { height: 6px; margin-top: -3px; }
.tira--barra-activa .tira__tramo { cursor: grabbing; }
.tira__cuenta { flex: none; min-width: 5ch; text-align: right; font-family: var(--mono); font-weight: 500; font-size: 12.5px; line-height: 1; letter-spacing: .02em; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.tira__cuenta::before { content: attr(data-n) "\2009/\2009" attr(data-de); }
.tira__marco { position: relative; margin-top: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inicio); -webkit-overflow-scrolling: touch; scrollbar-color: var(--linea-2) transparent; scrollbar-width: thin; }
.tira__marco:focus-visible { outline: 2px solid var(--tinta); outline-offset: -2px; }
.tira__lista { display: flex; align-items: stretch; gap: 12px; width: max-content; padding: 6px var(--inicio) 10px; }
/* con JavaScript la tira se lleva con las flechas, la barrita propia o arrastrando: la barra del navegador sobra */
.tira--js .tira__marco { scrollbar-width: none; }
.tira--js .tira__marco::-webkit-scrollbar { display: none; }
/* con ratón, sin ajuste nativo: la rueda y el panel táctil desplazan libres y las flechas, la barrita y el teclado alinean
   (portada.js); en pantallas táctiles el ajuste nativo sigue (el dedo, igual que siempre) */
.tira--arrastre .tira__marco { cursor: grab; scroll-snap-type: none; }
.tira--arrastrando .tira__marco { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.pieza { display: flex; scroll-snap-align: start; scroll-snap-stop: always; }
.pieza__enlace { display: flex; flex-direction: column; width: 100%; -webkit-user-drag: none; }
.pieza__enlace:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.pieza__fotos { position: relative; display: block; }
.pieza__pc { display: none; }
/* imágenes que se cargan al acercarse: sin JavaScript se esconde el hueco y se ve la copia de <noscript> */
html:not(.js) [data-diferida] { display: none; }
/* en el móvil y la tableta, la portada de la web en una pantalla de móvil (en el móvil, entera: ver «Primera
   pantalla del móvil», más abajo; en la tableta, recorte de arriba) */
.pieza__movil { display: block; padding: 4px; background: #151514; border-radius: 22px; box-shadow: 0 18px 30px -22px rgba(27, 26, 24, .6); }
.pieza__movil img { width: 100%; aspect-ratio: 449 / 690; object-fit: cover; object-position: top; border-radius: 18px; background: var(--suave); }
/* en inglés y en francés el titular ocupa tres líneas en el móvil: la pantalla del móvil dibujado cede ese alto */
html:lang(en), html:lang(fr) { --menos: 26px; }
.pieza__pie { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; }
.pieza__texto { display: block; }
.pieza__nombre { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; color: var(--tinta); }
.pieza__para { display: block; margin-top: 1px; font-size: 14px; line-height: 1.4; color: var(--tinta-2); text-wrap: balance; }
/* «Probar Sabinar»: el mismo botón que en las páginas de sector; la pieza entera es el enlace */
.pieza__ir { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--tinta); border-radius: var(--radio); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
.pieza__ir svg { flex: none; width: 16px; height: 11px; transition: transform .3s var(--ease); }
.pieza__enlace:hover .pieza__ir { background: var(--tinta); color: #fff; }
.pieza__enlace:hover .pieza__ir svg { transform: translateX(3px); }

/* Lo que puede llevar tu web: por sector, tres miniaturas con la herramienta de cada web */
.herramientas { background: var(--suave); padding: 56px 0; }
.herramientas__grupos { display: grid; gap: 44px; margin-top: 28px; }
.grupo__cab { display: grid; gap: 4px; justify-items: start; padding-top: 16px; border-top: 1px solid var(--tinta); }
.grupo__nombre { font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.grupo__linea { font-size: 15.5px; line-height: 1.5; color: var(--tinta-2); max-width: 44ch; }
.grupo__webs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.herr { display: flex; flex-direction: column; height: 100%; }
.herr__movil { display: block; padding: 3px; background: #151514; border-radius: 16px; box-shadow: 0 16px 26px -20px rgba(27, 26, 24, .6); transition: transform .4s var(--ease); }
.herr__movil img { width: 100%; aspect-ratio: 390 / 720; object-fit: cover; object-position: top; border-radius: 13px; background: #fff; }
.herr__para { display: block; margin: 10px 0 10px; font-size: 13px; line-height: 1.4; color: var(--tinta-2); text-wrap: balance; }
/* en el móvil, «Probar» y el nombre en dos líneas fijas: las tres iguales y sin cortes raros */
.herr__ir { display: flex; flex-direction: column; justify-content: center; min-height: 52px; margin-top: auto; padding: 8px 10px; border: 1px solid var(--tinta); border-radius: var(--radio); background: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; transition: background .3s var(--ease), color .3s var(--ease); }
.herr:hover .herr__ir { background: var(--tinta); color: #fff; }
.herr:hover .herr__movil { transform: translateY(-3px); }
.herr:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.accesos__otro { margin-top: 28px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }

/* Qué hacemos: dos paneles, uno blanco con borde y otro negro */
.hacemos { padding: 60px 0 56px; }
.paneles { display: grid; gap: 14px; margin-top: 28px; }
.panel { padding: 24px 20px 26px; border: 1px solid var(--tinta); border-radius: max(4px, var(--radio)); }
.panel--oscuro { background: var(--tinta); color: #fff; }
.panel__titulo { font-weight: 600; font-stretch: 104%; font-size: 26px; line-height: 1.12; letter-spacing: -.024em; }
.panel__lista { display: grid; gap: 16px; margin-top: 18px; }
.panel__lista b { display: block; font-weight: 600; font-size: 18.5px; line-height: 1.3; letter-spacing: -.012em; }
.panel__lista p { margin-top: 3px; font-size: 15.5px; line-height: 1.55; color: var(--tinta-2); max-width: 44ch; }
.panel--oscuro .panel__lista p { color: #cfcbc3; text-wrap: pretty; }

/* Así trabajamos: los números grandes, en mono */
.trabajo { padding: 56px 0 64px; border-top: 1px solid var(--linea); }
.pasos-grandes { margin-top: 24px; display: grid; }
.pasos-grandes li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--tinta); }
.pasos-grandes li:last-child { border-bottom: 1px solid var(--tinta); }
.pasos-grandes__num { font-family: var(--mono); font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: -.02em; }
.pasos-grandes p { font-size: 17px; line-height: 1.45; color: var(--tinta); }
.accesos__otro a, .pie__otro a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Cabeza de las páginas de sector: corta, para que las demos queden arriba */
.sector-cabeza { padding-top: 26px; padding-bottom: 24px; }
.sector-cabeza__textos { margin-top: 12px; display: grid; gap: 8px; max-width: 54ch; }
.sector-cabeza__quien { font-size: 17px; line-height: 1.5; color: var(--tinta); }
.sector-cabeza__como { font-size: 15.5px; line-height: 1.5; color: var(--tinta-2); }

/* Secciones */
.seccion { padding: 56px 0; }
.seccion--suave { background: var(--suave); }
.seccion--linea { border-top: 1px solid var(--linea); }
.seccion__entrada { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--tinta-2); max-width: 52ch; }
.seccion__nota { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--tinta-2); max-width: 70ch; }

/* Tarjetas de demo: toda la tarjeta es un enlace grande */
.demos { padding-bottom: 36px; }
.demos__lista { display: grid; gap: 36px; }
/* en columna: el botón "Probar" queda abajo y alineado entre tarjetas vecinas */
.demo { display: flex; flex-direction: column; }
.demo__marco { position: relative; display: block; padding: 0 9% 22px 0; }
.demo__pantalla { display: block; border: 1px solid var(--linea-2); border-radius: 8px; overflow: hidden; background: var(--suave); box-shadow: 0 24px 40px -30px rgba(0,0,0,.35); transition: box-shadow .3s var(--ease); }
.demo__pantalla img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.demo__movil { position: absolute; right: 0; bottom: 0; width: 25%; background: var(--tinta); border-radius: 18px; padding: 4px; box-shadow: 0 20px 34px -18px rgba(0,0,0,.45); }
.demo__movil img { width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 14px; }
.demo:hover .demo__pantalla { box-shadow: 0 28px 46px -26px rgba(0,0,0,.45); }
/* Texto de la tarjeta: lo más grande es el tipo de empresa; debajo, en pequeño, el nombre de la demo;
   la línea; y un botón con texto ("Probar Mainel"). La tarjeta entera sigue siendo el enlace. */
.demo__texto { flex: 1; display: flex; flex-direction: column; align-items: flex-start; margin-top: 18px; }
.demo__para { display: block; font-weight: 600; font-size: 24px; line-height: 1.18; letter-spacing: -.018em; color: var(--tinta); text-wrap: balance; }
.demo__nombre { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--tinta-3); }
.demo__nombre [data-demo-nombre] { font-weight: 600; color: var(--tinta); }
.demo__linea { display: block; margin-top: 6px; margin-bottom: 16px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }
.demo__ir { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: auto; padding: 12px 20px; border: 1px solid var(--tinta); border-radius: var(--radio); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; transition: background .3s var(--ease), color .3s var(--ease); }
.demo__ir svg { flex: none; width: 18px; height: 12px; transition: transform .3s var(--ease); }
.demo:hover .demo__ir { background: var(--tinta); color: #fff; }
.demo:hover .demo__ir svg { transform: translateX(4px); }
.aviso-ficticio { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 14.5px; line-height: 1.6; color: var(--tinta-2); max-width: 70ch; }
.aviso-ficticio a { color: var(--tinta); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.aviso-ficticio a:hover { text-decoration-thickness: 2px; }

/* Dibujo neutro mientras no hay capturas de una demo */
.demo__dibujo { display: block; width: 100%; aspect-ratio: 16 / 10; background: #efece6; }
.demo__dibujo svg { display: block; width: 100%; height: 100%; }
.demo__movil .demo__dibujo { aspect-ratio: 390 / 760; border-radius: 14px; background: #e6e2da; }

/* Llamada intermedia de las páginas de sector (justo después de las demos) */
.puente { padding-bottom: 56px; }
/* en la portada, el bloque de precios va entre «Lo que puede llevar tu web» (fondo suave) y «Qué hacemos» */
.puente--portada { padding-top: 56px; }
.puente--portada + .hacemos { padding-top: 0; }
.puente__in { display: grid; gap: 16px; padding: 22px 16px; border: 1px solid var(--linea-2); border-radius: var(--radio); }
.puente__titulo { font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.018em; }
.puente__botones { display: grid; gap: 6px; justify-items: start; }
.puente__botones .boton--wa { width: 100%; }
/* Precios dentro del recuadro (19/11/2026): tres líneas, el nombre a la izquierda y la cifra a la derecha, en mono.
   Sin columnas de planes ni colores: la misma raya negra arriba y las rayas finas de las listas del sitio.
   Las condiciones, debajo, en texto algo más pequeño (--tinta-2, 7,5:1). */
.puente__in:has(.precios) { gap: 22px; }
.precios { display: grid; gap: 14px; }
.precios__titulo { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.012em; }
.precios__entrada { margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }
.precios__lista { margin: 0; border-top: 1px solid var(--tinta); }
.precios__fila { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0 12px; border-bottom: 1px solid var(--linea-2); }
.precios__fila dt { min-width: 0; font-size: 16.5px; font-weight: 500; line-height: 1.4; letter-spacing: -.005em; text-wrap: balance; }
/* la cifra nunca se parte */
.precios__fila dd { flex: none; margin: 0; text-align: right; white-space: nowrap; }
.precios__cifra { font-family: var(--mono); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.precios__condiciones { display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); max-width: 62ch; }

/* Puntos compactos: etiqueta en negrita y una línea (Qué hacemos, Lo que puede llevar tu web, Después de la web) */
.puntos { margin-top: 20px; border-top: 1px solid var(--linea-2); }
.puntos li { padding: 14px 0 16px; border-bottom: 1px solid var(--linea-2); }
.puntos b { display: block; font-weight: 600; font-size: 17px; line-height: 1.45; letter-spacing: -.01em; color: var(--tinta); }
.puntos p { margin-top: 3px; font-size: 15.5px; line-height: 1.55; color: var(--tinta-2); max-width: 52ch; }

/* Así trabajamos, compacto: número (en mono, el detalle técnico de Mainel) y una línea */
.pasos { margin-top: 22px; }
.pasos li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--linea-2); }
.pasos li:last-child { border-bottom: 1px solid var(--linea-2); }
.pasos__num { font-family: var(--mono); font-weight: 500; font-size: 17px; line-height: 1.2; letter-spacing: 0; color: var(--tinta); }
.pasos p { font-size: 16px; line-height: 1.5; color: var(--tinta-2); }

/* Preguntas frecuentes: desplegables nativos (details/summary) */
.faq__in { display: grid; gap: 22px; }
.pregunta { border-bottom: 1px solid var(--linea-2); }
.pregunta:first-child { border-top: 1px solid var(--linea-2); }
.pregunta summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 550; font-size: 18px; line-height: 1.4; letter-spacing: -.01em; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat; transition: transform .25s var(--ease); }
.pregunta[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat; }
.pregunta summary:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pregunta p { padding: 0 32px 18px 0; font-size: 16px; line-height: 1.6; color: var(--tinta-2); max-width: 62ch; }
/* Botón de WhatsApp dentro de una respuesta (pregunta del precio): el mismo, algo más bajo (48 px) */
.pregunta__accion { margin-top: -4px; padding-bottom: 22px; }
.boton--compacto { min-height: 48px; padding: 11px 20px 11px 18px; }

/* Llamada final (bloque oscuro) */
.llamada { background: var(--tinta); color: #fff; padding: 64px 0 60px; }
.llamada__in { display: grid; gap: 36px; }
.llamada__texto { margin-top: 18px; color: #d2cfc8; line-height: 1.6; max-width: 46ch; }
.llamada__botones { display: grid; gap: 14px; margin-top: 28px; justify-items: start; }
.llamada__botones .boton--wa { width: 100%; min-height: 56px; }
.llamada .boton--wa:focus-visible { outline-color: #fff; }
.datos { border-top: 1px solid rgba(255,255,255,.2); }
.datos li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 2px; justify-items: start; }
.datos span { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #b3b0a8; line-height: 1.5; }
.datos a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 23px; line-height: 1.25; letter-spacing: -.015em; overflow-wrap: anywhere; }
.datos a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Página de contacto */
.contacto-pagina { padding: 28px 0 64px; }
.contacto-pagina__in { display: grid; gap: 36px; }
.contacto-wa { margin-top: 22px; display: grid; gap: 12px; }
.contacto-wa__nota { font-size: 15.5px; line-height: 1.55; color: var(--tinta-2); max-width: 44ch; }
.despues-bloque__titulo, .contacto-otras__titulo { font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.018em; }
.despues-bloque .pasos { margin-top: 12px; }
.despues-bloque .pasos li { grid-template-columns: 30px minmax(0, 1fr); padding: 12px 0; }
.despues-bloque .pasos__num { font-size: 20px; }
.despues-bloque .pasos p { font-size: 15.5px; }
.otras-vias { margin-top: 10px; border-top: 1px solid var(--linea-2); }
.otras-vias li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 6px 0; border-bottom: 1px solid var(--linea-2); }
.otras-vias span { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); line-height: 1.5; }
.otras-vias a { font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; min-height: 44px; display: inline-flex; align-items: center; }
.otras-vias a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
/* Llamar y escribir un correo, justo debajo del botón verde: solo en el móvil (en el ordenador el teléfono
   y el correo ya se ven en la primera pantalla) */
.contacto-directo { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: -6px; }
.contacto-vuelta { display: grid; justify-items: start; gap: 2px; }
.contacto-vuelta a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15.5px; line-height: 1.45; }
.contacto-vuelta a span:last-child { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.formulario { border: 1px solid var(--linea); background: var(--suave); padding: 22px 16px 24px; }
.formulario h2 { font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.018em; }
.formulario__intro { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--tinta-2); }
.campo { display: grid; gap: 6px; margin-top: 18px; }
.campo label, .campo legend { font-size: 13.5px; font-weight: 600; letter-spacing: .01em; line-height: 1.45; color: var(--tinta); }
.campo .opcional { font-weight: 400; color: var(--tinta-3); letter-spacing: 0; }
.campo input[type="text"], .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--linea-2); background: #fff; font-size: 16px; line-height: 1.45; border-radius: var(--radio); -webkit-appearance: none; appearance: none; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 1px var(--tinta); }
fieldset.campo { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; }
fieldset.campo legend { padding: 0; margin-bottom: 8px; }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opcion { position: relative; }
.opcion:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcion span { display: flex; align-items: center; min-height: 52px; height: 100%; padding: 10px 12px; border: 1px solid var(--linea-2); border-radius: var(--radio); background: #fff; font-size: 14.5px; line-height: 1.45; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.opcion span:hover { border-color: var(--tinta); }
.opcion input:checked + span { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.opcion input:focus-visible + span { outline: 2px solid var(--tinta); outline-offset: 2px; }
.formulario__botones { display: grid; gap: 10px; margin-top: 22px; }
.formulario__privado { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--tinta-2); }
.formulario__legal { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; line-height: 1.5; color: var(--tinta-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.formulario__legal:hover { color: var(--tinta); }

/* Página legal: texto largo en una columna de lectura (unas 70 letras por línea en el escritorio) */
.legal { max-width: 36rem; padding: 32px 0 72px; font-size: 16px; line-height: 1.6; }
.legal__cabeza { padding-bottom: 20px; border-bottom: 1px solid var(--linea-2); }
.legal__cabeza .titulo-l { font-size: 38px; line-height: 1.1; }
.legal__fecha { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }
.legal__nota { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--tinta-2); }
.legal__indice { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 10px; }
.legal__indice a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; line-height: 1.45; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.legal__indice a:hover { text-decoration-thickness: 2px; }
.legal__entrada { margin-top: 28px; }
.legal__bloque { margin-top: 52px; }
.legal h2 { font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -.018em; }
.legal h3 { margin-top: 34px; font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.legal h2 + h3 { margin-top: 22px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal li { padding-left: 2px; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--tinta-3); }
.legal p a, .legal li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal p a:hover, .legal li a:hover { text-decoration-thickness: 2px; }
.legal strong { font-weight: 600; }
.legal code { font-family: Consolas, 'Courier New', monospace; font-size: .9em; }
.legal__aviso { margin-top: 34px; padding: 18px; border: 1px solid var(--tinta); border-radius: var(--radio); }
.legal__aviso h3 { margin-top: 0; }

/* Pie */
.pie { padding: 28px 0 32px; font-size: 14px; line-height: 1.5; color: var(--tinta-3); border-top: 1px solid var(--linea); }
.pie__in { display: grid; gap: 12px; }
.pie__sector { display: grid; gap: 2px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--linea); }
.pie__sector > a { display: block; padding: 10px 0; font-weight: 600; font-size: 20px; line-height: 1.35; letter-spacing: -.018em; color: var(--tinta); }
.pie__sector > a span:first-child { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pie__sector > a span + span { margin-left: 8px; white-space: nowrap; }
.pie__otro { font-size: 15px; color: var(--tinta-2); }
.pie__nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.pie__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta-2); }
.pie__nav a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }
.pie__datos { display: flex; flex-wrap: wrap; gap: 0 22px; }
.pie__datos a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta-2); }
.pie__datos a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }
.pie__copia { text-wrap: balance; }
/* Idiomas: enlaces de texto en el pie de las cinco páginas, cada uno en su idioma; el activo, en tinta y seminegra.
   El punto que los separa lo pone la hoja (los lectores de pantalla no lo leen) */
.pie__idiomas { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; line-height: 1.4; }
.pie__idiomas a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 10px; color: var(--tinta-2); }
.pie__idiomas a + a::before { content: "·"; content: "·" / ""; display: inline-block; padding-right: 10px; font-weight: 400; color: var(--tinta-3); }
.pie__idiomas a:hover { color: var(--tinta); text-decoration: underline; text-underline-offset: 4px; }
.pie__idiomas a[aria-current="true"] { color: var(--tinta); font-weight: 600; }

/* Botón flotante de WhatsApp: redondo de 60 px, verde de WhatsApp con el logotipo en blanco y sombra suave, abajo a
   la derecha, en el móvil y en el ordenador (portada, sectores y legal: body[data-barra]; en contacto no). Misma
   dirección y mismo mensaje que el botón principal de cada página. Siempre a la vista, también al entrar; solo se
   aparta cuando quedaría pegado al botón verde del bloque negro final (data-sin-flotante) y sube lo justo si
   coincidiría con un «Probar …», las flechas, la barrita o el contador de la tira (--subir; las dos cosas, portada.js).
   La página le reserva sitio al final (body.con-barra) para que el botón no tape lo último del pie. */
.barra-wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; opacity: 1;
  translate: 0 calc(var(--subir, 0px) * -1);
  transition: opacity .25s var(--ease), transform .25s var(--ease), translate .2s var(--ease), visibility 0s linear 0s;
}
.barra-wa.escondida { opacity: 0; transform: translateY(10px) scale(.92); visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.barra-wa .boton--wa {
  display: flex; width: 60px; height: 60px; min-height: 0; padding: 0; gap: 0; border-radius: 50%;
  justify-content: center; background: #25D366; color: #fff;
  /* sombra neutra de elevación (tinta, sin color): se despega igual sobre blanco que sobre una foto */
  box-shadow: 0 6px 24px 0 rgba(27, 26, 24, .22), 0 2px 6px 0 rgba(27, 26, 24, .12);
}
.barra-wa .boton--wa:hover { background: #1fae55; color: #fff; }
.barra-wa .boton--wa:active { background: #1c9e4e; transform: none; }
.barra-wa .logo-wa { width: 46px; height: 46px; }
/* el texto «Escribir por WhatsApp» sigue ahí para los lectores de pantalla, sin verse */
.barra-wa .boton--wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.con-barra { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
/* la barrita y el contador de la tira dejan sitio al botón cuando podrían coincidir (en el móvil siempre; en el
   ordenador, solo si la pantalla es estrecha y la tira llega casi al borde) */
.tira__pie { padding-right: calc(var(--gutter) + max(0px, 100px - max(0px, (100vw - var(--max)) / 2) - var(--gutter))); }

/* ---------- Móviles ---------- */
/* "Diseño web y marketing digital" va en una sola línea debajo del nombre en el móvil */
@media (max-width: 559px) {
  .marca__oficio { margin-top: 6px; max-width: none; font-size: 11px; white-space: nowrap; letter-spacing: .04em; line-height: 1.2; }
}
@media (max-width: 419px) {
  :root { --gutter: 16px; }
  .cabecera__in { gap: 6px; }
  .cabecera__der { gap: 0; }
  .marca__nombre { font-size: 17.5px; }
  .boton--corto { padding: 10px; }
}
/* Móviles de 360 px: la cabecera cabe entera, con margen, en los tres idiomas */
@media (max-width: 379px) {
  .marca__nombre { font-size: 16.5px; }
  .marca__oficio { font-size: 10.5px; letter-spacing: .02em; }
  .portada-heroe__titulo { font-size: 32px; }
  .boton--corto { padding: 10px 10px; letter-spacing: .04em; }
  .legal__cabeza .titulo-l { font-size: 36px; }
}
/* WhatsApp en el móvil: a todo el ancho de su bloque, también en la pregunta del precio y en el formulario.
   El texto largo («Pedir mi propuesta por WhatsApp») baja la letra lo justo para caber en una línea en el ancho de
   su contenedor (unidades cqi; ancho del texto a 16 px medido en cada idioma: 251, 254 y 222 px; 72 px de icono,
   hueco y márgenes), nunca por debajo de 15 px. Si ni así cabe (360 px en español e inglés), parte en dos líneas. */
@media (max-width: 639px) {
  .pregunta__accion .boton--wa, .formulario__botones .boton--wa { display: flex; width: 100%; }
  .puente__botones, .pregunta__accion { container-type: inline-size; }
  .puente__botones .boton--wa, .pregunta__accion .boton--wa { --texto16: 251; font-size: clamp(15px, calc((100cqi - 72px) * 16 / var(--texto16)), 16px); }
  html:lang(en) .puente__botones .boton--wa, html:lang(en) .pregunta__accion .boton--wa { --texto16: 254; }
  html:lang(fr) .puente__botones .boton--wa, html:lang(fr) .pregunta__accion .boton--wa { --texto16: 222; }
}
/* Primera pantalla del móvil: titular, frase, botón verde, rótulo y la primera web en un móvil entero y alto
   (captura completa de su primera pantalla, tira-<demo>-alta.webp, 585 x 1260). --pantalla: alto de la pantalla
   del móvil dibujado, lo que deja libre la primera pantalla (en inglés y francés cede --menos); el ancho de cada
   pieza sale de él (proporción de la captura, .4643, más el marco). */
@media (max-width: 639px) {
  .cabecera__in { min-height: 64px; }
  .portada-heroe { padding-top: 10px; padding-bottom: 40px; }
  .portada-heroe .entradilla { margin-top: 8px; }
  .portada-heroe .acciones { margin-top: 12px; }
  .tira { margin-top: 16px; --pantalla: clamp(320px, calc(100svh - 384px - var(--menos, 0px)), 600px); }
  .tira__lista { gap: 14px; padding-top: 4px; }
  .pieza { width: calc(var(--pantalla) * .4643 + 12px); }
  .pieza__movil { padding: 6px; border-radius: 30px; box-shadow: 0 22px 36px -24px rgba(27, 26, 24, .7); }
  .pieza__movil img { width: 100%; height: var(--pantalla); aspect-ratio: auto; border-radius: 24px; }
  .pieza__pie { margin-top: 14px; gap: 10px; }
  .tira__barra { height: 44px; }
  /* «Probar» en el móvil (20/11/2026): del ancho exacto de su tarjeta, todos igual de altos y en la misma línea
     (abajo de la tarjeta, aunque el «Para …» ocupe una, dos o tres líneas). Se ve solo el verbo y la flecha
     («Probar →»): el nombre ya está escrito encima y sigue dentro del enlace, oculto a la vista, para los lectores
     de pantalla (segundo <span> del rótulo, como en el botón redondo de WhatsApp). Ratón, pulsado y foco, sin cambios. */
  .pieza__pie { min-width: 0; }
  .pieza__ir { position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; align-self: stretch; width: 100%; max-width: 100%; min-width: 0; margin-top: auto; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
  .pieza__ir > span > span + span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 640px) {
  :root { --gutter: 40px; }
  .acciones, .llamada__botones, .formulario__botones { display: flex; flex-wrap: wrap; align-items: center; }
  .llamada__botones .boton--wa { width: auto; padding: 12px 28px 12px 24px; }
  .contacto-wa .boton--grande { justify-self: start; }
  .puntos--rejilla { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .puntos--rejilla li { border-top: 1px solid var(--linea-2); border-bottom: 0; }
  .puente__botones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
  .puente__botones .boton--wa { width: auto; }
  /* Titular de la portada en exactamente dos líneas: cada frase en una línea sin partir, con el tamaño
     ajustado al ancho de su columna (unidades cqi) según la frase más larga de cada idioma. */
  .portada-heroe__in { container-type: inline-size; }
  .portada-heroe__titulo { --ajuste: 9.6cqi; font-size: min(84px, var(--ajuste)); }
  .portada-heroe__titulo span { white-space: nowrap; }
  html:lang(en) .portada-heroe__titulo { --ajuste: 7.2cqi; }
  html:lang(fr) .portada-heroe__titulo { --ajuste: 6cqi; }
  .pieza { width: 240px; }
  .pieza__movil img { height: auto; }
  .tira__lista { gap: 16px; }
  .grupo__webs { gap: 16px; }
  .paneles { grid-template-columns: 1fr 1fr; gap: 20px; }
  .panel { padding: 32px 30px 34px; }
}
@media (min-width: 900px) {
  :root { --gutter: 56px; }
  html { scroll-padding-top: 84px; }
  /* 24 px del borde derecho (no 28): a 1440 x 900 deja libre el «Probar» de la segunda web y el botón no tiene que
     subir hasta quedar debajo de la flecha de la tira */
  .barra-wa { right: 24px; bottom: 28px; }
  body.con-barra { padding-bottom: 96px; }
  .cabecera__in { min-height: 80px; gap: 20px; }
  .marca__nombre { font-size: 24px; }
  .marca__oficio { margin-top: 6px; font-size: 11px; letter-spacing: .22em; }
  .cabecera__der { gap: 18px; }
  .boton--corto { padding: 10px 22px; letter-spacing: .08em; }
  .legal { padding: 52px 0 96px; font-size: 17px; }
  .legal__entrada { margin-top: 32px; }
  .legal__bloque { margin-top: 64px; }
  .legal__cabeza .titulo-l { font-size: 54px; }
  .legal h2 { font-size: 34px; }
  .legal h3 { font-size: 23px; }
  .legal__aviso { padding: 20px; }
  .acciones { margin-top: 30px; gap: 16px; }
  /* Portada en el ordenador: titular a todo el ancho; debajo, entradilla a la izquierda y el botón verde
     pegado al borde derecho del contenido (la misma línea que «Hablemos» en la cabecera) */
  /* --alto: alto de la captura de ordenador de cada pieza, según lo que deja libre la pantalla (con la barrita de
     debajo de la tira dentro de la primera pantalla) */
  .portada-heroe { --alto: clamp(240px, calc(100vh - 560px), 370px); padding: 44px 0 80px; }
  /* el botón verde arranca justo encima de la segunda pieza de la tira (columna de la izquierda = primera pieza) */
  .portada-heroe__fila { display: grid; grid-template-columns: minmax(0, calc(var(--alto) * 1.6 + var(--alto) * .18 + 40px)) max-content; align-items: end; margin-top: 20px; }
  .portada-heroe .entradilla { margin-top: 0; padding-right: 32px; font-size: 18.5px; max-width: calc(50ch + 32px); }
  .portada-heroe .acciones { margin-top: 0; }
  /* la tira: captura de ordenador con el móvil encima; flechas grandes encima y barrita debajo */
  .tira { margin-top: 36px; }
  .tira__aviso { font-size: 15.5px; }
  .tira__marco { margin-top: 16px; }
  .tira__lista { gap: 40px; padding-bottom: 4px; }
  .pieza { width: calc(var(--alto) * 1.78); }
  .pieza__fotos { padding-right: calc(var(--alto) * .18); }
  .pieza__pc { display: block; }
  .pieza__pc img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; border-radius: 6px; background: var(--suave); box-shadow: 0 26px 44px -30px rgba(27, 26, 24, .55), 0 2px 6px -2px rgba(27, 26, 24, .12); }
  .pieza__movil { position: absolute; right: 0; bottom: 0; width: calc(var(--alto) * .3); padding: 3px; border-radius: 16px; }
  .pieza__movil img { height: auto; aspect-ratio: 234 / 456; border-radius: 13px; }
  .pieza__movil { z-index: 1; }
  .pieza__pie { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding-right: calc(var(--alto) * .18); }
  .pieza__ir { margin-top: 0; flex: none; }
  .herramientas { padding: 88px 0; }
  .herramientas__grupos { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; }
  .grupo__nombre { font-size: 32px; }
  .grupo__webs { gap: 20px; margin-top: 22px; }
  .herr__para { font-size: 14px; }
  .herr__ir { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: .4em; align-items: center; align-content: center; min-height: 46px; padding: 8px 6px; letter-spacing: .05em; text-align: center; }
  .hacemos { padding: 96px 0 80px; }
  .paneles { gap: 24px; margin-top: 40px; }
  .panel { padding: 40px 40px 44px; }
  .panel__titulo { font-size: 34px; }
  .panel__lista { margin-top: 26px; gap: 22px; }
  .panel__lista b { font-size: 21px; }
  .panel__lista p { font-size: 16px; }
  .trabajo { padding: 88px 0 96px; }
  .pasos-grandes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
  .pasos-grandes li, .pasos-grandes li:last-child { display: block; padding: 22px 0 0; border-bottom: 0; }
  .pasos-grandes__num { display: block; margin-bottom: 16px; font-size: 60px; }
  .pasos-grandes p { font-size: 18px; max-width: 26ch; }
  /* titular corto a la izquierda y las dos frases a la derecha, alineados por arriba */
  .sector-cabeza { padding-top: 52px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); gap: 48px; align-items: start; }
  .sector-cabeza__textos { padding-top: 6px; }
  .sector-cabeza__textos { margin-top: 0; }
  .sector-cabeza__quien { font-size: 18px; }
  .sector-cabeza__como { font-size: 16px; }
  .seccion { padding: 88px 0; }
  .seccion__entrada { font-size: 18px; }
  .demos { padding-bottom: 48px; }
  .demos__lista { grid-template-columns: 1fr 1fr; gap: 56px; }
  .demos__lista[data-n="1"] { grid-template-columns: minmax(0, 760px); }
  .demo__para { font-size: 28px; }
  .puente { padding-bottom: 88px; }
  .puente--portada { padding-top: 88px; }
  .puente__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 30px 36px; }
  .puente__titulo { font-size: 32px; }
  /* con precios, dos columnas: titular arriba a todo el ancho; a la izquierda «Cuánto cuesta» y los tres precios;
     a la derecha, desde la raya de la lista, las dos condiciones y, abajo del todo, el botón verde, que acaba a la
     altura de la última raya de la lista (.precios se deshace para que sus piezas entren en esta rejilla) */
  .puente__in:has(.precios) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "titulo titulo" "cabeza ." "lista condiciones" "lista botones";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 64px; row-gap: 0; align-items: start; padding: 36px 40px 38px;
  }
  .puente__in:has(.precios) .puente__titulo { grid-area: titulo; margin-bottom: 28px; }
  .precios { display: contents; }
  .precios__cabeza { grid-area: cabeza; margin-bottom: 16px; }
  .precios__lista { grid-area: lista; }
  .precios__condiciones { grid-area: condiciones; padding-top: 15px; border-top: 1px solid var(--linea-2); font-size: 16px; gap: 10px; }
  .puente__in:has(.precios) .puente__botones { grid-area: botones; align-self: end; padding-top: 24px; }
  .precios__titulo { font-size: 21px; }
  .precios__entrada { font-size: 15.5px; }
  .precios__fila { padding: 17px 0 16px; }
  .precios__fila dt { font-size: 17.5px; }
  .precios__cifra { font-size: 23px; }
  .puntos { margin-top: 24px; }
  .puntos--tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
  .puntos--tres li { border-top: 1px solid var(--tinta); border-bottom: 0; padding-top: 18px; }
  .pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 32px; }
  .pasos li, .pasos li:last-child { display: block; padding: 18px 0 0; border-top: 1px solid var(--tinta); border-bottom: 0; }
  .pasos__num { display: block; margin-bottom: 8px; font-size: 20px; }
  .faq__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
  .pregunta summary { font-size: 20px; }
  .llamada { padding: 96px 0 92px; }
  .llamada__in { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
  .datos li { padding: 14px 0; }
  .datos a { font-size: 25px; }
  .datos a[data-correo] { overflow-wrap: normal; white-space: nowrap; }
  .contacto-pagina { padding: 64px 0 96px; }
  .contacto-pagina__in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "intro form" "despues form" "otras form" "vuelta form"; grid-template-rows: auto auto auto 1fr; column-gap: 72px; row-gap: 40px; align-items: start; }
  .contacto-intro { grid-area: intro; }
  .despues-bloque { grid-area: despues; }
  .formulario { grid-area: form; padding: 32px 32px 34px; }
  .contacto-otras { grid-area: otras; }
  .contacto-vuelta { grid-area: vuelta; }
  .despues-bloque .pasos { display: block; margin-top: 12px; }
  .despues-bloque .pasos li { display: grid; padding: 12px 0; border-top: 1px solid var(--linea-2); }
  .despues-bloque .pasos li:last-child { border-bottom: 1px solid var(--linea-2); }
  .despues-bloque .pasos__num { margin: 0; font-size: 20px; }
  .contacto-directo { display: none; }
  .formulario h2 { font-size: 30px; }
  .pie__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .pie__sector { grid-column: 1 / -1; }
  .pie__datos { justify-self: end; }
  .pie__copia { grid-column: 1 / -1; }
}
/* Escritorio: menú de los dos sectores en la cabecera; el nombre y el rótulo, uno encima del otro hasta 1280 px */
@media (min-width: 1000px) {
  .cabecera__nav { display: flex; margin-left: auto; }
  .cabecera__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; line-height: 1.45; color: var(--tinta-2); }
  .cabecera__nav a:hover, .cabecera__nav a[aria-current="page"] { color: var(--tinta); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .cabecera__der { gap: 14px; }
}
@media (min-width: 1280px) {
  .marca { flex-direction: row; align-items: baseline; gap: 14px; }
  .marca__oficio { margin-top: 0; }
}
@media (min-width: 1100px) {
  .demos__lista[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .demos__lista[data-n="3"] .demo__para { font-size: 25px; }
  .puntos--rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Portátiles bajos (1366x650 y similares): todo lo importante de la primera pantalla, sin bajar */
@media (min-width: 900px) and (max-height: 820px) {
  .acciones { margin-top: 26px; }
  .portada-heroe { --alto: clamp(200px, calc(100vh - 436px), 300px); padding-top: 16px; }
  .portada-heroe__titulo { font-size: min(50px, var(--ajuste)); }
  .portada-heroe__fila { margin-top: 10px; }
  .portada-heroe .entradilla { font-size: 16.5px; }
  .portada-heroe .acciones { margin-top: 0; }
  .tira { margin-top: 14px; }
  .tira__marco { margin-top: 10px; }
  .pieza__pie { margin-top: 8px; }
  .sector-cabeza { padding-top: 36px; padding-bottom: 30px; }
  .sector-cabeza .titulo-l { font-size: 48px; }
  .contacto-pagina { padding-top: 44px; }
}
@media (min-width: 1700px) {
  :root { --max: 1440px; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* ==========================================================================
   ESCENARIO DE LA PORTADA (24/11/2026): animación a código en bucle, a la derecha del titular (prueba G aprobada).
   Tres escenas en el mismo hueco de 560 x 260 de diseño (1em = 10 px de diseño), que se adapta al ancho de su columna:
   A «De boceto a clientes» (plano de Calado -> boceto -> la línea verde descubre la web -> tres avisos),
   B «Una web, todas las pantallas» (Alcandora en ordenador, tableta y móvil) y
   C «Diseñada al detalle» (la colección Nogal de Lindar).
   El CSS base de cada escena es su imagen final; el movimiento solo existe con .anim--viva, que pone el motor
   (portada/js/escenario.js): un solo reloj que lleva cada animación CSS a su segundo y empalma las escenas con un
   barrido. Sin JavaScript, A se reproduce una vez sola y se queda en su final; con «reducir movimiento», A quieta
   en su final. Solo lo usa la portada.
   Línea de tiempo de A (s): 0 plano · 0,3-1,852 se dibuja el boceto · 1,5 entra la línea verde ·
   2,7 web descubierta · 3 la web se aparta · 3,8 / 4,9 / 6 avisos · 7,5 fin (luego 2,2 s quieta y barrido a B).
   ========================================================================== */
.anim { position: relative; width: 100%; aspect-ratio: 560 / 260; container-type: inline-size;
  --tinta: #1b1a18; --tinta-2: #55524c; --tinta-3: #6b675f; --linea: #e8e4de; --linea-2: #d5d0c8; --suave: #f6f4f0; --verde: #25d366;
  --salida: cubic-bezier(.22, 1, .36, 1); --vaiven: cubic-bezier(.65, 0, .35, 1);
  --nogal: #4a3426; --miel: #9c7452; --arena: #d6c6ad; --lino: #f4efe7;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; color: var(--tinta); -webkit-font-smoothing: antialiased;
  user-select: none; pointer-events: none; }
.anim *, .anim *::before, .anim *::after { box-sizing: border-box; }
.anim__escena { position: absolute; inset: 0; font-size: calc(100cqw / 56); line-height: 1; transition: opacity .7s var(--salida); }
.anim--fundido .anim__escena { opacity: 0; }

/* --- A: la web (captura de Calado) con su plano y su boceto encima --- */
.aa-web { position: absolute; left: 0; top: .8em; width: 39.2em; height: 23.4em; border-radius: .6em; overflow: hidden; background: var(--suave);
  box-shadow: 0 2.6em 4.4em -3em rgba(27, 26, 24, .55), 0 .2em .6em -.2em rgba(27, 26, 24, .12); }
.aa-captura { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; display: block; }
.aa-boceto { position: absolute; inset: 0; background: #f3f0eb; clip-path: inset(0 0 0 100%); }
.aa-cruz { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.aa-cruz path { fill: none; stroke: #e0dbd2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.aa-b { position: absolute; left: calc(var(--x) * .1em); top: calc(var(--y) * .1em); width: calc(var(--w) * .1em); height: calc(var(--h) * .1em);
  background: #d4cec4; border-radius: .1em; transform-origin: 0 50%; }
.aa-b--fino { background: #ddd8cf; }
.aa-b--pastilla { background: none; border: max(1px, .1em) solid #cdc6bb; border-radius: 9em; }
.aa-linea { position: absolute; left: 0; top: 0; bottom: 0; width: max(1px, .15em); margin-left: -.075em; background: var(--verde); opacity: 0; }
.aa-aviso { position: absolute; left: 32.4em; top: calc(var(--y) * .1em); width: 23.6em; height: 5.6em; display: flex; align-items: center; gap: 1.2em;
  padding: 0 1.4em 0 1.2em; background: #fff; border-radius: .6em;
  box-shadow: 0 0 0 max(1px, .1em) rgba(27, 26, 24, .07), 0 1.8em 3.2em -2em rgba(27, 26, 24, .5), 0 .2em .6em -.2em rgba(27, 26, 24, .1); }
.aa-icono { flex: none; display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: .4em; background: var(--suave); }
.aa-icono svg { width: 1.6em; height: 1.6em; fill: none; stroke: var(--tinta); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.aa-textos { flex: 1; min-width: 0; }
.aa-que { display: block; font-size: 1.3em; font-weight: 600; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.aa-detalle { display: block; margin-top: .5em; font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-weight: 500; font-size: .95em; letter-spacing: .01em; line-height: 1.2; color: var(--tinta-3); white-space: nowrap; }
.aa-punto { flex: none; align-self: flex-start; margin-top: 1.5em; width: .7em; height: .7em; border-radius: 50%; background: var(--verde); }

/* el plano (dentro del boceto): 12 columnas, filas cada 48 px, guías verdes y, en ordenador, tres cotas en px reales de Calado a 1440 */
.ag-rejilla { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.ag-bandas rect { fill: rgba(27, 26, 24, .04); }
.ag-filas { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; shape-rendering: crispEdges; }
.ag-filas { stroke: #e9e5dd; }
.ag-guia { position: absolute; }
.ag-guia--v { top: 0; bottom: 0; width: 0; border-left: 1px solid var(--verde); left: calc(var(--p) * .1em); }
.ag-guia--h { left: 0; right: 0; height: 0; border-top: 1px solid var(--verde); top: calc(var(--p) * .1em); }
.ag-cota { position: absolute; left: calc(var(--x) * .1em); top: calc(var(--y) * .1em); }
.ag-cota--h { width: calc(var(--l) * .1em); height: .8em; margin-top: -.4em; }
.ag-cota--v { height: calc(var(--l) * .1em); width: .8em; margin-left: -.4em; }
.ag-cota::before { content: ''; position: absolute; background: var(--verde); }
.ag-cota--h::before { left: 0; right: 0; top: 50%; height: max(1px, .1em); }
.ag-cota--v::before { top: 0; bottom: 0; left: 50%; width: max(1px, .1em); }
.ag-cota i { position: absolute; background: var(--verde); }
.ag-cota--h i { top: 0; bottom: 0; width: max(1px, .1em); }
.ag-cota--h i:first-child { left: 0; } .ag-cota--h i:last-child { right: 0; }
.ag-cota--v i { left: 0; right: 0; height: max(1px, .1em); }
.ag-cota--v i:first-child { top: 0; } .ag-cota--v i:last-child { bottom: 0; }
.ag-cota b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .25em .3em; border-radius: .2em; background: var(--verde);
  font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-weight: 500; font-size: .8em; line-height: 1; color: var(--tinta); white-space: nowrap; }
.ag-cota--h b { top: auto; bottom: 100%; margin-bottom: .3em; transform: translateX(-50%); }
@container (max-width: 459px) { .ag-cota { display: none; } }

/* movimiento de A (con .anim--viva; antes del motor y sin JavaScript, ver el final del bloque) */
.anim--viva .aa-web { animation: aa-entra .8s var(--salida) -.8s both, aa-hace-sitio 1.1s var(--vaiven) 3s both; }
.anim--viva .aa-cruz path { stroke-dasharray: 1; animation: aa-traza 1.1s var(--salida) .3s both; }
.anim--viva .aa-b { animation: aa-crece .6s var(--salida) calc(var(--d) * 1s) both; }
.anim--viva .aa-boceto { animation: aa-tapa 1.2s var(--vaiven) 1.5s both; }
.anim--viva .aa-captura { animation: aa-destapa 1.2s var(--vaiven) 1.5s both; }
.anim--viva .aa-linea { animation: aa-barre 1.2s var(--vaiven) 1.5s both, aa-asoma 1.2s linear 1.5s both; }
.anim--viva .aa-aviso { animation: aa-entra .8s var(--salida) calc(var(--d) * 1s) both; }
.anim--viva .aa-punto { animation: aa-aparece .4s var(--salida) calc(var(--d) * 1s + .45s) both; }
@keyframes aa-entra { from { opacity: 0; transform: translateY(1.4em); } }
@keyframes aa-hace-sitio { from { translate: 8.4em 0; } }
@keyframes aa-traza { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes aa-crece { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } }
@keyframes aa-tapa { from { clip-path: inset(0 0 0 0); } }
@keyframes aa-destapa { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes aa-barre { from { transform: translateX(0); } to { transform: translateX(39.2em); } }
@keyframes aa-asoma { 0% { opacity: 0; } 6%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes aa-aparece { from { opacity: 0; transform: scale(.4); } }

/* --- B: los aparatos (--s* = caja del aparato; --i* = hueco de la pantalla, en px de diseño) --- */
.ab-disp { position: absolute; left: calc(var(--sx) * .1em); top: calc(var(--sy) * .1em); width: calc(var(--sw) * .1em); height: calc(var(--sh) * .1em);
  border-radius: calc(var(--sr) * .1em); background: var(--sbg); overflow: hidden;
  --sombra: 0 0 0 max(1px, .1em) rgba(27, 26, 24, .08), 0 2.6em 4.4em -3em rgba(27, 26, 24, .5), 0 .2em .6em -.2em rgba(27, 26, 24, .12);
  --sin-sombra: 0 0 0 max(1px, .1em) rgba(27, 26, 24, 0), 0 2.6em 4.4em -3em rgba(27, 26, 24, 0), 0 .2em .6em -.2em rgba(27, 26, 24, 0);
  box-shadow: var(--sombra); }
.ab-pantalla { position: absolute; top: calc(var(--it) * .1em); left: calc(var(--il) * .1em); right: calc(var(--il) * .1em); bottom: calc(var(--ib) * .1em);
  border-radius: calc(var(--ir) * .1em); overflow: hidden; background: #fff; }
.ab--d { z-index: 1; --sx: 2; --sy: 7; --sw: 392; --sh: 245; --sr: 7; --sbg: #fff; --it: 13; --il: 0; --ib: 0; --ir: 0; }
.ab--t { z-index: 2; --sx: 336; --sy: 44; --sw: 156; --sh: 208; --sr: 15; --sbg: var(--tinta); --it: 7; --il: 7; --ib: 7; --ir: 8;
  --sx0: 84; --sy0: 7; --sw0: 392; --sh0: 245; --sr0: 7; --sbg0: #fff; --it0: 13; --il0: 0; --ib0: 0; --ir0: 0; --t: 2.4s; }
.ab--p { z-index: 3; --sx: 470; --sy: 72; --sw: 88; --sh: 180; --sr: 14; --sbg: var(--tinta); --it: 5; --il: 4; --ib: 5; --ir: 10;
  --sx0: 336; --sy0: 44; --sw0: 156; --sh0: 208; --sr0: 15; --sbg0: var(--tinta); --it0: 7; --il0: 7; --ib0: 7; --ir0: 8; --t: 5.2s; }
.ab-barra { position: absolute; left: 0; right: 0; top: 0; height: 1.3em; opacity: 0; }
.ab--d .ab-barra { opacity: 1; }
.ab-barra i { position: absolute; top: .5em; width: .3em; height: .3em; border-radius: 50%; background: var(--linea-2); }
.ab-barra i:nth-child(1) { left: .7em; } .ab-barra i:nth-child(2) { left: 1.2em; } .ab-barra i:nth-child(3) { left: 1.7em; }
.ab-barra b { position: absolute; left: 50%; top: .35em; width: 11em; height: .6em; margin-left: -5.5em; border-radius: .3em; background: var(--suave); }
/* la web, pieza a pieza: posición en ordenador (d), tableta (t) y móvil (p) */
.ab-anuncio { --dx: 0;    --dy: 0;    --dw: 392;  --dh: 9;    --tx: 0;   --ty: 0;     --tw: 142; --th: 8;    --px: 0;  --py: 0;   --pw: 80; --ph: 6.5; }
.ab-menu    { --dx: 16;   --dy: 18.5; --dw: 7;    --dh: 5;    --tx: 10;  --ty: 14;    --tw: 6.5; --th: 4.6;  --px: 6;  --py: 11;  --pw: 5;  --ph: 3.8; --do: 0; }
.ab-logo    { --dx: 196;  --dy: 16;   --df: 6.6;              --tx: 71;  --ty: 13;    --tf: 5.2;             --px: 40; --py: 10.3; --pf: 4; }
.ab-nav     { --dx: 16;   --dy: 18;   --df: 4.3;              --tx: 10;  --ty: 14;    --tf: 3.4; --to: 0;    --px: 6;  --py: 11;  --pf: 3;  --po: 0; }
.ab-bolsa   { --dx: 369;  --dy: 15.5; --dw: 7;    --dh: 8;    --tx: 125; --ty: 12.5;  --tw: 6;   --th: 7;    --px: 69.5; --py: 10; --pw: 4.5; --ph: 5.4; }
.ab-heroe   { --dx: 0;    --dy: 31;   --dw: 392;  --dh: 103;  --tx: 0;   --ty: 26;    --tw: 142; --th: 76;   --px: 0;  --py: 19;  --pw: 80; --ph: 82; }
.ab-titular { --dx: 24;   --dy: 56;   --df: 17;               --tx: 10;  --ty: 44;    --tf: 12;              --px: 6;  --py: 60;  --pf: 8.4; }
.ab-boton   { --dx: 24;   --dy: 99;   --dw: 52;   --dh: 13;   --df: 4.6; --tx: 10; --ty: 76; --tw: 40; --th: 11; --tf: 3.7; --px: 6; --py: 83; --pw: 30; --ph: 9; --pf: 2.9; }
.ab-seccion { --dx: 16;   --dy: 143;  --df: 5.4;              --tx: 10;  --ty: 110;   --tf: 4.6;             --px: 6;  --py: 107; --pf: 3.8; }
.ab-p       { --dy: 153;  --dw: 85.5; --dh: 107;  --ty: 119;  --tw: 58;  --th: 72.5;  --py: 114; --pw: 32; --ph: 40; }
.ab-p1 { --dx: 16; --tx: 10; --px: 6; }
.ab-p2 { --dx: 107.5; --tx: 74; --px: 42; }
.ab-p3 { --dx: 199; --tx: 10; --ty: 197.5; --to: 0; --px: 6; --py: 158; }
.ab-p4 { --dx: 290.5; --tx: 74; --ty: 197.5; --to: 0; --px: 42; --py: 158; }
.ab--d .ab-e { --x: var(--dx); --y: var(--dy); --w: var(--dw); --h: var(--dh); --f: var(--df); --o: var(--do, 1); }
.ab--t .ab-e { --x: var(--tx); --y: var(--ty); --w: var(--tw); --h: var(--th); --f: var(--tf); --o: var(--to, 1);
  --x0: var(--dx); --y0: var(--dy); --w0: var(--dw); --h0: var(--dh); --f0: var(--df); }
.ab--p .ab-e { --x: var(--px); --y: var(--py); --w: var(--pw); --h: var(--ph); --f: var(--pf); --o: var(--po, 1);
  --x0: var(--tx); --y0: var(--ty); --w0: var(--tw); --h0: var(--th); --f0: var(--tf); }
.ab-e { position: absolute; left: calc(var(--x) * .1em); top: calc(var(--y) * .1em); opacity: var(--o); display: block; }
.ab-caja { width: calc(var(--w) * .1em); height: calc(var(--h) * .1em); }
.ab-texto > span { display: block; font-size: calc(var(--f) * .1em); white-space: nowrap; }
.ab-anuncio { background: var(--tinta); }
.ab-anuncio i { position: absolute; left: 39%; width: 22%; top: 40%; height: 20%; border-radius: 1em; background: rgba(255, 255, 255, .5); }
.ab-menu i { position: absolute; left: 0; right: 0; height: 14%; min-height: 1px; background: var(--tinta); }
.ab-menu i:nth-child(1) { top: 0; } .ab-menu i:nth-child(2) { top: 43%; } .ab-menu i:nth-child(3) { bottom: 0; }
.ab-logo { transform: translateX(-50%); }
.ab-logo > span { font-weight: 600; font-stretch: 104%; letter-spacing: .24em; margin-right: -.24em; }
.ab-nav > span { font-weight: 500; color: var(--tinta-2); word-spacing: .9em; }
.ab-bolsa svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--tinta); stroke-width: 1.4; stroke-linejoin: round; }
.ab-heroe { object-fit: cover; object-position: 74% 12%; max-width: none; }
.ab-titular > span { font-weight: 600; font-stretch: 104%; letter-spacing: -.025em; line-height: 1; color: var(--tinta); }
.ab-boton { display: flex; align-items: center; justify-content: center; background: var(--tinta); border-radius: .1em; }
.ab-boton > span { font-size: calc(var(--f) * .1em); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ab-seccion > span { font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ab-p { object-fit: cover; object-position: 50% 40%; max-width: none; background: var(--suave); }
/* movimiento de B: el ordenador entra y su web aparece pieza a pieza; tableta y móvil nacen encima de su origen y viajan a su sitio */
.anim--viva .ab--d { animation: ab-sube .9s var(--salida) 0s both, ab-aparta 2s var(--vaiven) 2.4s both; }
.anim--viva .ab--d .ab-e { animation: ab-asoma .8s var(--salida) var(--e, .4s) both; }
.anim--viva .ab--d .ab-heroe { animation: ab-revela 1.3s var(--salida) .45s both; }
.ab-anuncio { --e: .3s; } .ab-logo, .ab-nav, .ab-bolsa { --e: .4s; } .ab-titular { --e: .75s; } .ab-boton { --e: .85s; }
.ab-seccion { --e: .95s; } .ab-p1 { --e: 1s; } .ab-p2 { --e: 1.08s; } .ab-p3 { --e: 1.16s; } .ab-p4 { --e: 1.24s; }
.anim--viva :is(.ab--t, .ab--p) { animation: ab-ver 1ms linear var(--t) both, ab-forma 2s var(--vaiven) var(--t) both, ab-tinte .9s var(--vaiven) var(--t) both; }
.anim--viva :is(.ab--t, .ab--p) .ab-pantalla { animation: ab-marco 2s var(--vaiven) var(--t) both; }
.anim--viva :is(.ab--t, .ab--p) .ab-e { animation: ab-mueve 2s var(--vaiven) var(--t) both; }
.anim--viva :is(.ab--t, .ab--p) .ab-caja { animation: ab-mueve 2s var(--vaiven) var(--t) both, ab-mide 2s var(--vaiven) var(--t) both; }
.anim--viva :is(.ab--t, .ab--p) .ab-texto > span,
.anim--viva :is(.ab--t, .ab--p) .ab-boton > span { animation: ab-letra 2s var(--vaiven) var(--t) both; }
.anim--viva .ab--t .ab-barra { animation: ab-oculta .5s var(--salida) var(--t) both; }
.anim--viva .ab--t .ab-nav { animation: ab-mueve 2s var(--vaiven) var(--t) both, ab-oculta .6s var(--salida) var(--t) both; }
.anim--viva .ab--t :is(.ab-p3, .ab-p4) { animation: ab-mueve 2s var(--vaiven) var(--t) both, ab-mide 2s var(--vaiven) var(--t) both, ab-oculta .6s var(--salida) var(--t) both; }
.anim--viva .ab--t .ab-menu { animation: ab-mueve 2s var(--vaiven) var(--t) both, ab-mide 2s var(--vaiven) var(--t) both, ab-aparece .7s var(--salida) calc(var(--t) + 1.2s) both; }
@keyframes ab-sube { from { opacity: 0; translate: 0 1.4em; } }
@keyframes ab-aparta { from { transform: translateX(8.2em); } }
@keyframes ab-asoma { from { opacity: 0; translate: 0 .5em; } }
@keyframes ab-revela { from { opacity: 0; scale: 1.05; } }
@keyframes ab-ver { from { visibility: hidden; } to { visibility: visible; } }
@keyframes ab-forma { from { left: calc(var(--sx0) * .1em); top: calc(var(--sy0) * .1em); width: calc(var(--sw0) * .1em); height: calc(var(--sh0) * .1em);
  border-radius: calc(var(--sr0) * .1em); box-shadow: var(--sin-sombra); } }
@keyframes ab-tinte { from { background-color: var(--sbg0); } }
@keyframes ab-marco { from { top: calc(var(--it0) * .1em); left: calc(var(--il0) * .1em); right: calc(var(--il0) * .1em); bottom: calc(var(--ib0) * .1em); border-radius: calc(var(--ir0) * .1em); } }
@keyframes ab-mueve { from { left: calc(var(--x0) * .1em); top: calc(var(--y0) * .1em); } }
@keyframes ab-mide { from { width: calc(var(--w0) * .1em); height: calc(var(--h0) * .1em); } }
@keyframes ab-letra { from { font-size: calc(var(--f0) * .1em); } }
@keyframes ab-oculta { from { opacity: 1; } to { opacity: 0; } }
@keyframes ab-aparece { from { opacity: 0; } to { opacity: 1; } }

/* --- C: la pieza de Lindar (560 x 236), texto a la izquierda y foto a la derecha --- */
.ac-pieza { position: absolute; left: 0; top: .8em; width: 56em; height: 23.6em; border-radius: .6em; overflow: hidden; background: var(--lino);
  --plana: 0 0 0 max(1px, .1em) rgba(27, 26, 24, .1), 0 0 0 0 rgba(27, 26, 24, 0), 0 0 0 0 rgba(27, 26, 24, 0);
  box-shadow: 0 0 0 max(1px, .1em) rgba(27, 26, 24, .06), 0 2.6em 4.4em -3em rgba(27, 26, 24, .55), 0 .2em .6em -.2em rgba(27, 26, 24, .12); }
.ac-foto { position: absolute; left: 31.6em; top: 0; right: 0; bottom: 0; overflow: hidden; background: var(--suave); }
.ac-foto img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 58%; display: block; }
.ac-ante, .ac-nombre, .ac-texto { position: absolute; white-space: nowrap; }
.ac-ante { left: 3.6em; top: 3.6em; }
.ac-ante span { display: block; font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-weight: 500; font-size: .85em; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.ac-nombre { left: 3.3em; top: 4.8em; }
.ac-nombre span { display: block; font-size: 5.4em; font-weight: 600; font-stretch: 104%; letter-spacing: -.035em; line-height: 1; color: var(--nogal); }
.ac-texto { left: 3.6em; top: 11em; }
.ac-texto span { display: block; font-size: 1.25em; font-weight: 400; line-height: 1.3; color: var(--tinta-2); }
.ac-paleta { position: absolute; left: 3.6em; top: 14em; display: flex; gap: .8em; }
.ac-paleta i { display: block; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 max(1px, .1em) rgba(27, 26, 24, .1); }
.ac-boton { position: absolute; left: 3.6em; top: 17.6em; width: 12.4em; height: 3.2em; display: flex; align-items: center; justify-content: center; gap: .8em;
  border-radius: .3em; background: var(--nogal); box-shadow: inset 0 0 0 max(1px, .1em) var(--nogal); }
.ac-boton span { font-size: 1.02em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ac-boton svg { width: 1.4em; height: 1em; fill: none; stroke: #fff; stroke-width: 1.3; }
.ac-guia { position: absolute; opacity: 0; }
.ac-guia--v { top: 0; bottom: 0; width: 0; border-left: 1px solid var(--verde); left: calc(var(--p) * .1em); transform-origin: 50% 0; }
.ac-guia--h { left: 0; right: 0; height: 0; border-top: 1px solid var(--verde); top: calc(var(--p) * .1em); transform-origin: 0 50%; }
.ac-cota { position: absolute; left: 0; top: 2.5em; width: 3.6em; height: .8em; opacity: 0; }
.ac-cota::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: max(1px, .1em); background: var(--verde); }
.ac-cota i { position: absolute; top: 0; bottom: 0; width: max(1px, .1em); background: var(--verde); }
.ac-cota i:first-child { left: 0; } .ac-cota i:last-child { right: 0; }
.ac-cota b { position: absolute; left: 50%; bottom: 100%; margin-bottom: .3em; transform: translateX(-50%); padding: .25em .4em; border-radius: .2em; background: var(--verde);
  font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; font-weight: 500; font-size: .85em; line-height: 1; color: var(--tinta); }
/* movimiento de C: guías, letra que se asienta, paleta que se aplica, foto que entra y sombra al final */
.anim--viva .ac-pieza { animation: ac-entra .8s var(--salida) 0s both, ac-sombra 1.4s var(--salida) 6.6s both, ac-fondo .9s var(--vaiven) 3.9s both; }
.anim--viva .ac-guia { animation: ac-traza-v .9s var(--salida) calc(var(--d) * 1s) both, ac-se-va .7s var(--salida) 6.4s both; }
.anim--viva .ac-guia--h { animation-name: ac-traza-h, ac-se-va; }
.anim--viva .ac-cota { animation: ac-asoma .5s var(--salida) 1.5s both, ac-se-va .7s var(--salida) 6.4s both; }
.anim--viva .ac-ante { animation: ac-asoma .7s var(--salida) 1.4s both; }
.anim--viva .ac-nombre span { animation: ac-asienta 1.6s var(--salida) 1.6s both, ac-tinta .9s var(--vaiven) 4.1s both; }
.anim--viva .ac-texto { animation: ac-asoma .7s var(--salida) 2.3s both; }
.anim--viva .ac-paleta i { animation: ac-muestra .5s var(--salida) calc(var(--d) * 1s) both; }
.anim--viva .ac-boton { animation: ac-asoma .7s var(--salida) 2.6s both, ac-rellena .8s var(--vaiven) 4.3s both; }
.anim--viva .ac-boton span, .anim--viva .ac-boton svg { animation: ac-claro .8s var(--vaiven) 4.3s both; }
.anim--viva .ac-foto img { animation: ac-destapa 1.3s var(--vaiven) 4.6s both, ac-encaja 1.8s var(--salida) 4.6s both; }
@keyframes ac-entra { from { opacity: 0; transform: translateY(1em); } }
@keyframes ac-sombra { from { box-shadow: var(--plana); } }
@keyframes ac-fondo { from { background-color: #fff; } }
@keyframes ac-traza-v { from { opacity: 1; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes ac-traza-h { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes ac-se-va { from { opacity: 1; } to { opacity: 0; } }
@keyframes ac-asoma { from { opacity: 0; translate: 0 .6em; } }
@keyframes ac-asienta { from { opacity: 0; font-weight: 250; letter-spacing: .14em; translate: 0 .14em; } 35% { opacity: 1; } }
@keyframes ac-tinta { from { color: var(--tinta); } }
@keyframes ac-muestra { from { opacity: 0; transform: scale(.4); } }
@keyframes ac-rellena { from { background-color: rgba(74, 52, 38, 0); box-shadow: inset 0 0 0 max(1px, .1em) var(--tinta-3); } }
@keyframes ac-claro { from { color: var(--tinta); stroke: var(--tinta); } }
@keyframes ac-destapa { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ac-encaja { from { transform: scale(1.12) translateX(4%); } }

/* --- el escenario: las tres escenas apiladas en el mismo hueco --- */
.portada-heroe__anim[data-portada-f] { position: relative; }
.portada-heroe__anim[data-portada-f] > .anim + .anim { position: absolute; left: 0; top: 0; }
/* sin motor (sin JavaScript o con «reducir movimiento»): solo A */
.portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim + .anim { visibility: hidden; }
/* con motor: cada escena solo se ve en su tramo (el motor pone y quita .f-oculta y el recorte del empalme) */
.portada-heroe__anim[data-portada-f] > .anim.f-oculta { opacity: 0; }
/* cruce de B: los fundidos del menú de texto y de los productos 3 y 4 empiezan 0,45 s después, cuando la copia ya se encoge */
.portada-heroe__anim[data-portada-f] .anim--viva .ab--t .ab-nav { animation-delay: var(--t), calc(var(--t) + .45s); }
.portada-heroe__anim[data-portada-f] .anim--viva .ab--t :is(.ab-p3, .ab-p4) { animation-delay: var(--t), var(--t), calc(var(--t) + .45s); }
/* empalme: la línea verde barre el escenario; a su izquierda, la escena que entra; a su derecha, la que sale */
.f-barrido { position: absolute; inset: 0; z-index: 2; pointer-events: none; container-type: inline-size; opacity: 0; overflow: clip; }
.f-barrido > i { position: absolute; inset: 0; display: block; will-change: transform; }
.f-barrido > i::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: max(1px, calc(100cqw * .15 / 56));
  margin-left: calc(max(1px, calc(100cqw * .15 / 56)) / -2); background: #25d366; }

/* composición de la primera pantalla (desde 900 px): titular, frase y botón a la izquierda; el escenario a la derecha */
@media (min-width: 900px) {
  .portada-heroe__in { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 47fr); grid-template-rows: auto 1fr; column-gap: 60px; align-items: start; }
  .portada-heroe__titulo { grid-column: 1; grid-row: 1; --ajuste: 4.75cqi; }
  .portada-heroe__fila { grid-column: 1; grid-row: 2; display: block; margin-top: 12px; }
  .portada-heroe .entradilla { padding-right: 0; max-width: 31em; text-wrap: balance; }
  .portada-heroe .acciones { margin-top: 24px; }
  .portada-heroe__anim { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .portada-heroe__fila { margin-top: 10px; }
  .portada-heroe .acciones { margin-top: 20px; }
}
/* móvil y tableta (por debajo de 900 px): el escenario va arriba del todo, antes del titular, a escala del ancho */
@media (max-width: 899px) {
  .portada-heroe__in { display: flex; flex-direction: column; }
  .portada-heroe__anim { width: 100%; max-width: 560px; order: -1; margin: 14px auto 24px; }
}
/* pantallas grandes (1600 px o más): titular de 72 px y el escenario con el resto del ancho (al menos 560 px) */
@media (min-width: 1600px) {
  .portada-heroe__in { grid-template-columns: max-content minmax(560px, 1fr); column-gap: 48px; }
  .portada-heroe__titulo { font-size: 72px; }
  .portada-heroe .entradilla { max-width: 26em; }
}
/* primera pintura: antes de que arranque el motor, A en su segundo 0 (el plano), en pausa. Sin JavaScript, las mismas
   animaciones corren solas una vez y A se queda en su final. Con «reducir movimiento», nada de esto: A quieta en su final. */
@media (prefers-reduced-motion: no-preference) {
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-web { animation: aa-entra .8s var(--salida) -.8s both, aa-hace-sitio 1.1s var(--vaiven) 3s both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-cruz path { stroke-dasharray: 1; animation: aa-traza 1.1s var(--salida) .3s both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-b { animation: aa-crece .6s var(--salida) calc(var(--d) * 1s) both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-boceto { animation: aa-tapa 1.2s var(--vaiven) 1.5s both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-captura { animation: aa-destapa 1.2s var(--vaiven) 1.5s both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-linea { animation: aa-barre 1.2s var(--vaiven) 1.5s both, aa-asoma 1.2s linear 1.5s both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-aviso { animation: aa-entra .8s var(--salida) calc(var(--d) * 1s) both; }
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a .aa-punto { animation: aa-aparece .4s var(--salida) calc(var(--d) * 1s + .45s) both; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .portada-heroe__anim[data-portada-f]:not(.f-viva) > .anim-a * { animation-play-state: paused !important; }
}

/* ==========================================================================
   MENÚ DEL MÓVIL Y LA TABLETA (24/11/2026). Va al final de estilos.css.
   Por debajo de 1000 px la cabecera esconde «Webs de ejemplo» y «Precios» (.cabecera__nav). En su lugar, a la
   derecha de «Hablemos», un botón de tres rayas finas (.cabecera__menu; desde 640 px, con la palabra «Menú» al lado)
   que abre un panel bajo la cabecera, hasta el final de la pantalla (.menu): webs de ejemplo, precios,
   contacto y el botón verde de WhatsApp (sin bloque «Por sector»; títulos a 20,5 px en móvil y 28,5 px en tableta; OPCIÓN 2). Desde 1000 px nada de esto
   existe: el ordenador queda igual.
   - Sin JavaScript, el botón es un enlace a la navegación del pie (#paginas) y el panel no sale (hidden).
   - Con JavaScript (menu.js) el enlace pasa a ser un <button> con aria-expanded; con el panel abierto,
     html.menu-abierto: la página no se desplaza y la cabecera sube por encima del botón flotante de WhatsApp.
   - Abre con una cortina de arriba abajo en 300 ms y cierra en 250 ms (--ease, sin rebote). Con movimiento
     reducido, sin animación (regla general del final de estilos.css).
   - Rayas del botón alineadas con el margen derecho del contenido; el botón ocupa 44 x 44 px para el dedo.
   - El panel tapa el botón flotante de WhatsApp (la cabecera sube a z-index 40; el flotante está en 30).
   ========================================================================== */
.cabecera__menu, .menu { display: none; }
@media (max-width: 999px) {
  /* 44 x 44 para el dedo, con las rayas en el centro: el relleno de 12 a cada lado y el margen derecho de -12
     dejan las rayas justo en el margen del contenido y a 12 px de «Hablemos». En el móvil, solo las rayas (la
     palabra «Menú» no cabe con aire a 360 px junto a «Hablemos»; queda como nombre accesible, oculta a la vista);
     desde 640 px, la palabra se ve a la izquierda de las rayas. No cambia al abrir: el estado lo dicen
     aria-expanded y la X. */
  .cabecera__menu {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 44px; height: 44px; margin: 0 -12px 0 0; padding: 0 12px; border: 0; border-radius: var(--radio); background: none;
    font: inherit; color: var(--tinta); cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .cabecera__menu:focus-visible { outline: 2px solid var(--tinta); outline-offset: -2px; }
  /* tres rayas de 1,5 px cada 5 px exactos (todas caen igual en los píxeles de la pantalla y se ven del mismo grosor);
     al abrir, la de en medio se va y las otras dos se cruzan en su centro (X) */
  .cabecera__menu-icono { position: relative; display: block; flex: none; width: 20px; height: 11.5px; }
  .cabecera__menu-icono i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease); }
  .cabecera__menu-icono i:nth-child(1) { top: 0; }
  .cabecera__menu-icono i:nth-child(2) { top: 5px; }
  .cabecera__menu-icono i:nth-child(3) { top: 10px; }
  .cabecera__menu-rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .cabecera__menu[aria-expanded="true"] .cabecera__menu-icono i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .cabecera__menu[aria-expanded="true"] .cabecera__menu-icono i:nth-child(2) { opacity: 0; transition-duration: .3s, .12s; }
  .cabecera__menu[aria-expanded="true"] .cabecera__menu-icono i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  /* abierto: la página no se desplaza (sin salto: el sitio de la barra de desplazamiento se guarda) */
  html.menu-abierto { overflow: hidden; scrollbar-gutter: stable; }
  html.menu-abierto .cabecera { z-index: 40; }

  /* el panel: desde el pie de la cabecera (--menu-arriba, lo mide menu.js) hasta abajo; si no cabe, se
     desplaza él solo, por dentro */
  .menu {
    position: fixed; top: var(--menu-arriba, 65px); right: 0; bottom: 0; left: 0;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    background: var(--blanco); visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .25s var(--ease), visibility 0s linear .25s;
  }
  .menu.abierto { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .3s var(--ease), visibility 0s; }
  .menu__in { flex: 1 0 auto; display: flex; flex-direction: column; padding-top: 6px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

  /* enlaces principales: grandes, en la letra de los titulares, con las rayas de la lista de precios */
  .menu__lista li { border-bottom: 1px solid var(--linea-2); }
  .menu__enlace {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 8px 0;
    font-size: 20.5px; font-weight: 600; font-stretch: 104%; line-height: 1.1; letter-spacing: -.02em; color: var(--tinta);
  }
  .menu__enlace svg { flex: none; width: 16px; height: 11.2px; transition: transform .3s var(--ease); }
  .menu__enlace:focus-visible { outline-offset: -2px; }

  /* «Contacto» sigue a «Precios» como una fila más de la misma lista (sin raya doble) */
  .menu__lista--contacto { margin: 0 0 24px; }

  /* WhatsApp: el botón verde de la portada, abajo del todo (a mano del pulgar); como mínimo, 24 px bajo «Contacto» */
  .menu__wa { display: flex; width: 100%; margin-top: auto; }

  @media (hover: hover) {
    .menu__enlace:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
    .menu__enlace:hover svg { transform: translateX(4px); }
  }
}
/* Ajuste mínimo para que quepa el botón en inglés y francés (en español no hace falta), solo por debajo de 420 px:
   - la línea pequeña de la marca («Web design and digital marketing», «Design web et marketing digital») pasa a
     10 px y sin espaciado entre letras (antes 11 px y .04em de 380 a 419; 10,5 px y .02em por debajo de 380);
   - por debajo de 380, «Let’s talk» / «Parlons-en» pasa de .04em a .01em de espaciado entre letras.
   El nombre de la marca, la altura de la cabecera y el tamaño de «Hablemos» no cambian. */
/* (solo en las cabeceras con menú, .cabecera--con-menu: contacto y legal, que comparten esta hoja, no cambian) */
@media (max-width: 419px) {
  html:lang(en) .cabecera--con-menu .marca__oficio, html:lang(fr) .cabecera--con-menu .marca__oficio { font-size: 10px; letter-spacing: 0; }
}
@media (max-width: 379px) {
  html:lang(en) .cabecera--con-menu .boton--corto, html:lang(fr) .cabecera--con-menu .boton--corto { letter-spacing: .01em; }
}
@media (min-width: 640px) and (max-width: 999px) {
  .cabecera__menu-rotulo { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; order: -1;
    font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
  .menu__in { padding-top: 8px; padding-bottom: 32px; }
  .menu__enlace { min-height: 56px; padding: 10px 0; font-size: 28.5px; }
  .menu__enlace svg { width: 18px; height: 12.5px; }
  .menu__lista--contacto { margin: 0 0 32px; }
  .menu__wa { width: auto; align-self: flex-start; margin-top: 0; }
}

/* Casa y reformas (4/12/2026): tercer grupo de «Lo que puede llevar tu web». En el ordenador ocupa todo el ancho:
   el título a la izquierda y las tres miniaturas a la derecha, del mismo tamaño que las de los otros dos grupos. */
@media (min-width: 900px) {
  .grupo--fila { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; padding-top: 16px; border-top: 1px solid var(--tinta); }
  .grupo--fila .grupo__cab { padding-top: 0; border-top: 0; }
  .grupo--fila .grupo__webs { margin-top: 0; }
}

/* ---------- Botones de WhatsApp con icono y texto en blanco (5/12/2026) ----------
   Verde algo más hondo que el de la marca (#25d366) para que el blanco se lea bien. */
.franja-juanda--wa .franja-juanda__boton { background: #1da851; color: #fff; }
.franja-juanda--wa:hover .franja-juanda__boton { background: #1c9e4e; }
.juanda-final__wa { background: #1da851; color: #fff; }
.juanda-final__wa:hover { background: #1c9e4e; color: #fff; }
.juanda-final__wa:active { background: #178a43; }
.boton--wa { background: #1da851; border-color: #1da851; color: #fff; }
.boton--wa:hover { background: #1c9e4e; border-color: #1c9e4e; color: #fff; }
.boton--wa:active { background: #178a43; }
.boton--wa::after { background: #1c9e4e; }
.franja-juanda.franja-juanda--wa svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .franja-juanda.franja-juanda--wa svg { width: 20px; height: 20px; } }
