
@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url(/_t/fuentes/figtree-latin-ext-normal-f153aa07.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url(/_t/fuentes/figtree-latin-normal-8330490a.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url(/_t/fuentes/figtree-latin-ext-normal-f153aa07.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url(/_t/fuentes/figtree-latin-normal-8330490a.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(/_t/fuentes/figtree-latin-ext-normal-f153aa07.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(/_t/fuentes/figtree-latin-normal-8330490a.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-ext-normal-be4f6d04.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-normal-afc7a910.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-ext-normal-be4f6d04.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-normal-afc7a910.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-ext-normal-be4f6d04.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/_t/fuentes/noto-sans-latin-normal-afc7a910.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
  :root {
    --primario: #1f3a5f; --acento: #d3750c;
    --fondo: #f7f5f1; --texto: #1e2328;
    --sobre-primario: #ffffff; --sobre-acento: #1a1a1a;
    --acento-sobre-primario: #d3750c; --acento-sobre-fondo: #d3750c;
    --titulos: 'Figtree', system-ui, sans-serif; --cuerpo: 'Noto Sans', system-ui, sans-serif;  /* valores del código, no del usuario */
    --radio: 16px; --radio-boton: 999px;
    --velo: 0.3;  /* velo extra calculado para que el título del hero llegue a 4,5:1 */
    --vidrio-panel: rgba(31, 58, 95, 0.69); --vidrio-menu: rgba(247, 245, 241, 0.60); --velo-fondo: rgba(31, 58, 95, 0.70); 
    --foto-fondo: none;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--cuerpo); background: var(--fondo); color: var(--texto); line-height: 1.6; }
  /* Enlaces sin subrayado salvo la opción «subrayar» del panel de accesibilidad (`html.a11y-subrayado body a`, accesibilidad.css). */
  a { text-decoration: none; text-underline-offset: .2em; }
  h1, h2, h3 { font-family: var(--titulos); line-height: 1.2; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; }
  figure { background: var(--primario); border-radius: var(--radio); overflow: hidden; }
  section { padding: 4.5rem 1.25rem; }
  .ancho { max-width: 1080px; margin: 0 auto; }
  h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
  .boton { display: inline-block; padding: .9rem 1.6rem; border-radius: var(--radio-boton); font-weight: 700;
           text-decoration: none; background: var(--acento); color: var(--sobre-acento); }
  /* Microinteracciones (fase 1 de piezas de UI): se eleva con sombra al pasar el cursor, se hunde al
     tocarlo y el foco se ve. Sin brillo encima: cualquier capa sobre el acento le resta contraste al
     texto (medir.js la cuenta como fondo). Sin ::before/::after, que usan las plantillas. Con
     reduced-motion, quieto. */
  .boton { transition: transform .2s ease, box-shadow .2s ease; }
  .boton:hover { transform: translateY(-2px);
           box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--acento), #000 40%); }
  .boton:active { transform: translateY(1px) scale(.98); box-shadow: none; transition-duration: .08s; }
  .boton:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
  .falta { display: inline-block; padding: .2rem .6rem; border: 2px dashed #c0392b; color: #c0392b;
           background: #fff5f4; font-weight: 700; border-radius: 6px; }
  /* Vista previa con algo por completar: una barra fina y neutra, no una alarma roja (clase en la Autónoma,
     2026-10-31). Gris fijo y no los colores del negocio: es un aviso de Mika, no parte de la página (10:1). */
  .aviso { background: #f4f4f6; color: #3d3d4e; text-align: center; padding: .35rem .75rem; font-size: .8rem;
           font-weight: 600; border-bottom: 1px solid #e2e2ea; }

  /* HERO */
  .hero { position: relative; background: var(--primario); }
  .hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 14ch; margin-bottom: .75rem; }
  .hero p { font-size: 1.2rem; max-width: 46ch; margin-bottom: 1.5rem; }
  .hero--foto-completa, .hero--centrado { min-height: min(78vh, 720px); display: grid; color: #fff; }
  .hero--foto-completa .hero__foto, .hero--centrado .hero__foto { position: absolute; inset: 0; }
  .hero--foto-completa .hero__foto::after, .hero--centrado .hero__foto::after { content: ""; position: absolute; inset: 0; }
  .hero--foto-completa .hero__foto::after { background: linear-gradient(rgba(0,0,0,var(--velo)), rgba(0,0,0,var(--velo))),
           linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.05) 65%); }
  .hero--centrado .hero__foto::after { background: linear-gradient(rgba(0,0,0,var(--velo)), rgba(0,0,0,var(--velo))),
           rgba(0,0,0,.5); }
  .hero--foto-completa .hero__texto, .hero--centrado .hero__texto { position: relative; padding: 3rem 1.25rem;
           width: 100%; max-width: 1080px; margin: 0 auto; }
  .hero--foto-completa { place-items: end stretch; }
  .hero--centrado { place-items: center; text-align: center; }
  .hero--centrado h1, .hero--centrado p { margin-left: auto; margin-right: auto; }
  .hero--dividido { display: grid; grid-template-columns: 1fr 1fr; min-height: min(70vh, 640px);
           color: var(--sobre-primario); }
  .hero--dividido .hero__texto { order: -1; align-self: center; padding: 3rem clamp(1.25rem, 5vw, 4rem); }
  @media (max-width: 760px) {
    .hero--dividido { grid-template-columns: 1fr; }
    .hero--dividido .hero__foto { aspect-ratio: 16 / 10; }
  }

  /* SERVICIOS */
  .servicios { background: var(--primario); color: var(--sobre-primario); }
  .tarjetas { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .tarjeta { background: var(--fondo); color: var(--texto); padding: 1.5rem; border-radius: var(--radio); }
  .tarjeta h3, .lista h3 { margin-bottom: .5rem; }
  /* tarjetas con foto: la foto arriba, a sangre dentro de la tarjeta */
  .tarjetas--con-fotos .tarjeta { overflow: hidden; }
  .tarjetas--con-fotos .tarjeta__foto { margin: -1.5rem -1.5rem 1rem; aspect-ratio: 4 / 3; border-radius: 0; }

  /* SOBRE */
  .sobre .ancho { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: center; }
  .sobre figure { aspect-ratio: var(--aspecto-sobre, 1); }  /* según el largo del texto (render.aspecto_sobre) */
  .sobre--imagen-izquierda figure { order: -1; }
  @media (max-width: 760px) { .sobre .ancho { grid-template-columns: 1fr; } .sobre figure { order: 0; } }

  /* GALERÍA */
  .galeria .rejilla { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
  .galeria figure { aspect-ratio: 1; }
  .galeria--mosaico .rejilla { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .galeria--mosaico figure:first-child { grid-row: span 2; aspect-ratio: auto; }
  /* con más de 3 fotos (opción 2): tres columnas y la primera grande, de 2×2 */
  .galeria--mosaico .rejilla:has(figure:nth-child(4)) { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .galeria--mosaico .rejilla:has(figure:nth-child(4)) figure:first-child { grid-column: span 2; grid-row: span 2; }
  @media (max-width: 640px) {
    .galeria .rejilla, .galeria--mosaico .rejilla { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .galeria figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  }

  /* CONTACTO */
  .contacto { background: var(--primario); color: var(--sobre-primario); }
  .contacto dl { display: grid; gap: .25rem 1rem; margin: 1.5rem 0 2rem; }
  .contacto dt { font-weight: 700; }
  .contacto dd a { color: inherit; }
  .contacto--centrado { text-align: center; }
  .contacto--centrado dl, .contacto--centrado .redes { justify-content: center; }
  .contacto--dividido .ancho { display: grid; gap: 2rem; grid-template-columns: 3fr 2fr; align-items: center; }
  .contacto--dividido dl { grid-template-columns: max-content 1fr; }
  .contacto--dividido .contacto__accion { background: var(--fondo); color: var(--texto); border-radius: var(--radio);
           padding: 2rem 1.5rem; text-align: center; }
  .contacto__etiqueta { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
  .contacto__dato { font-family: var(--titulos); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin: .1rem 0 1.1rem;
           overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
  .contacto__dato a { color: inherit; text-decoration: none; }
  .contacto__alterno { margin-top: 1rem; font-size: .95rem; }
  .contacto__alterno a { color: inherit; font-weight: 700; }  /* dentro de un párrafo y del mismo color: sin subrayado, el peso es la señal no cromática (WCAG 1.4.1) */
  .contacto--centrado .contacto__accion { margin-top: 1.5rem; }
  @media (max-width: 760px) { .contacto--dividido .ancho { grid-template-columns: 1fr; } }
  /* Vista previa durante la creación: hueco de foto «creándose» */
  .foto-pendiente { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
           color: var(--sobre-primario); font-weight: 700; padding: 1rem;
           background: linear-gradient(110deg, var(--primario) 30%, color-mix(in srgb, var(--primario), #fff 25%) 50%, var(--primario) 70%);
           background-size: 250% 100%; animation: brillo 1.6s linear infinite; }
  .foto-pendiente small { font-weight: 400; opacity: .8; }
  /* en los heroes con texto encima de la foto, la etiqueta chocaría con el título: solo el brillo */
  .hero--foto-completa .foto-pendiente span, .hero--centrado .foto-pendiente span,
  .hero--panel .foto-pendiente span { display: none; }
  figure, .hero__foto { position: relative; }
  /* solo en escritorio: en el móvil, 320px de alto con proporción 16:10 forzaban 512px de ancho
     y la página se salía de la pantalla (medido por validar_plantilla, 2026-10-13) */
  @media (min-width: 761px) { .hero--dividido .hero__foto { min-height: 320px; } }
  @keyframes brillo { to { background-position: -150% 0; } }
  /* HERO «marco»: la foto en un marco (la forma la da cada plantilla), texto al lado */
  .hero--marco { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
           padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem); background: var(--fondo); color: var(--texto); }
  .hero--marco .hero__foto { aspect-ratio: 4 / 5; overflow: hidden; background: var(--primario); }
  .hero--marco .hero__texto { order: -1; }
  @media (max-width: 760px) { .hero--marco { grid-template-columns: 1fr; } .hero--marco .hero__texto { order: 0; } }
  .hero__marca { display: none; }

  /* HERO «foto-izquierda»: claro y aireado, la foto primero y el texto al lado sobre el fondo */
  .hero--foto-izquierda { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
           padding: clamp(1.5rem, 4vw, 3rem); background: var(--fondo); color: var(--texto); min-height: min(70vh, 620px); }
  .hero--foto-izquierda .hero__foto { align-self: stretch; min-height: 300px; border-radius: var(--radio); overflow: hidden; background: var(--primario); }
  @media (max-width: 760px) { .hero--foto-izquierda { grid-template-columns: 1fr; } }

  /* FRANJA de datos reales (la usa Profesional): solo lo que el dueño llenó */
  .franja { padding: 1.25rem; background: var(--texto); color: var(--fondo); }
  .franja .ancho { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; justify-content: center; }
  .franja p { display: flex; flex-direction: column; font-size: .95rem; }
  .franja strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
  .franja a { color: inherit; }

  /* HERO «panel»: foto a sangre y el texto en un bloque sólido de color (legible sin velo) */
  .hero--panel { display: grid; min-height: min(80vh, 720px); align-items: end; }
  .hero--panel .hero__foto { position: absolute; inset: 0; }
  .hero--panel .hero__texto { position: relative; background: var(--primario); color: var(--sobre-primario);
           max-width: 620px; margin: 0 0 clamp(1.25rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
           padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radio); }
  @media (max-width: 760px) {
    .hero--panel { min-height: 0; }
    .hero--panel .hero__foto { position: relative; aspect-ratio: 16 / 10; }
    .hero--panel .hero__texto { margin: 0; max-width: none; border-radius: 0; }
  }

  /* ENCABEZADO con menú (Industrial) */
  .encabezado { position: sticky; top: 0; z-index: 10; background: var(--fondo); color: var(--texto);
           border-bottom: 1px solid color-mix(in srgb, var(--texto), transparent 85%); }
  .encabezado__ancho { max-width: 1180px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
  .encabezado__marca { font-family: var(--titulos); font-weight: 700; font-size: 1.3rem; color: inherit; text-decoration: none; margin-right: auto; }
  .encabezado__marca { display: inline-flex; align-items: center; gap: .6rem; }
  .encabezado__logo { height: 36px; width: auto; }
  /* El logo del dueño: sobre una placa blanca para que se lea sobre cualquier foto o color (un logo oscuro con
     fondo transparente desaparecería sobre la portada); su alto, fijo; su ancho, el que pida su forma */
  .hero__logo { display: block; height: auto; width: auto; max-height: 72px; max-width: min(240px, 70%);
                background: #fff; padding: .45rem .7rem; border-radius: 10px; margin: 0 0 1rem;
                box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
  .hero--centrado .hero__logo, .hero--marco .hero__logo { margin-inline: auto; }
  .encabezado__menu { list-style: none; display: flex; gap: 1.5rem; }
  .encabezado__menu a { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .encabezado__menu a:hover, .encabezado__menu a:focus-visible { text-decoration: underline; }
  .boton--chico { padding: .6rem 1.1rem; font-size: .95rem; }
  .encabezado__movil { display: none; position: relative; }
  .encabezado__movil summary { list-style: none; cursor: pointer; display: grid; place-items: center;
           width: 44px; height: 44px; border-radius: var(--radio-boton); color: inherit; }
  .encabezado__movil summary::-webkit-details-marker { display: none; }
  .encabezado__movil summary:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
  .encabezado__movil ul { list-style: none; position: absolute; right: 0; top: calc(100% + .5rem); min-width: 13rem;
           background: var(--fondo); color: var(--texto); border-radius: var(--radio); padding: .5rem;
           box-shadow: 0 16px 40px -12px rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--texto), transparent 85%); }
  .encabezado__movil a { display: block; padding: .75rem 1rem; color: inherit; text-decoration: none; font-weight: 600; }
  .encabezado__movil a:hover, .encabezado__movil a:focus-visible { background: color-mix(in srgb, var(--texto), transparent 92%); }
  @media (max-width: 860px) { .encabezado__menu { display: none; } .encabezado__movil { display: block; } }

  /* FICHA: dónde, a quién, con qué respaldo (datos del dueño) */
  .ficha { background: var(--primario); color: var(--sobre-primario); padding: 2.5rem 1.25rem; }
  .ficha__rejilla { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .ficha__titulo { font-family: var(--cuerpo); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; opacity: .85; }
  .ficha__lista { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
  .ficha__lista li { border: 1px solid color-mix(in srgb, var(--sobre-primario), transparent 60%);
           border-radius: var(--radio-boton); padding: .3rem .8rem; font-weight: 600; }

  /* COTIZAR: tres pasos y el llamado a la acción */
  .pasos { list-style: none; counter-reset: paso; display: grid; gap: 1.5rem; margin-bottom: 2rem;
           grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .pasos li { counter-increment: paso; }
  .pasos li::before { content: counter(paso); display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
           margin-bottom: .75rem; font-family: var(--titulos); font-weight: 700; font-size: 1.2rem;
           background: var(--acento); color: var(--sobre-acento); border-radius: var(--radio-boton); }
  .pasos h3 { margin-bottom: .35rem; }

  /* DESTACADO: un producto estrella, foto grande y texto al lado */
  .destacado__rejilla { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: 1.2fr 1fr; align-items: center; }
  .destacado__foto { aspect-ratio: 4 / 3; }
  .destacado__texto p { font-size: 1.1rem; margin-bottom: 1.5rem; max-width: 46ch; }
  @media (max-width: 760px) { .destacado__rejilla { grid-template-columns: 1fr; } }

  /* PROCESO: pasos numerados en fila */
  .proceso { background: var(--primario); color: var(--sobre-primario); }
  .proceso__pasos { list-style: none; counter-reset: proceso; display: grid; gap: 1.5rem;
           grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .proceso__pasos li { counter-increment: proceso; }
  .proceso__pasos li::before { content: counter(proceso); display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
           margin-bottom: .75rem; border-radius: var(--radio-boton); font-family: var(--titulos); font-weight: 700;
           background: var(--fondo); color: var(--texto); }
  .proceso__pasos h3 { margin-bottom: .35rem; }

  /* RAZONES: tres motivos */
  .razones__lista { list-style: none; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .razones__lista li { border-top: 3px solid var(--acento); padding-top: 1rem; }
  .razones__lista h3 { margin-bottom: .4rem; }

  /* UBICACIÓN: dirección y horario reales, con «Cómo llegar» */
  .ubicacion { background: color-mix(in srgb, var(--fondo), var(--texto) 5%); }
  .ubicacion__rejilla { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .ubicacion h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .6rem; }
  .ubicacion p { font-size: 1.1rem; margin-bottom: 1rem; }

  /* PREGUNTAS: frecuentes, con respuestas de datos reales (siempre visibles) */
  .preguntas__lista { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .pregunta h3 { font-size: 1.1rem; margin-bottom: .3rem; }

  .divisor { display: none; }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

  /* --- ESTRUCTURA DE REFERENCIA (2026-11-11, pedido de Deiber: «se ven feos» frente a deiberolivares.com y
     mika-tech.com.co). Va ANTES del estilo de cada plantilla: ella conserva su tipografía, motivo y orden y
     puede reemplazar cualquier regla de aquí. Solo tokens de la página (los colores los pone el negocio). --- */
  .ancho { max-width: 1200px; }
  section { padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3rem); }
  h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
  .encabezado__ancho { max-width: 1264px; padding-inline: clamp(1.25rem, 5vw, 3rem); }
  .encabezado__marca { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
  @media (max-width: 560px) { .encabezado__marca { font-size: 1.05rem; } .encabezado .boton--chico { display: none; } }

  /* HERO: antetítulo con punto, título en 2 líneas (la 2.ª en acento), apoyo, botón + enlace con flecha */
  .hero__marca { display: flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 700;
           letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; line-height: 1.4; }
  .hero__marca::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--acento); }
  .hero--centrado .hero__marca { justify-content: center; }
  .hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 5.4vw, 3.8rem); margin-bottom: 1.25rem; text-wrap: balance; }
  .hero__l1, .hero__l2 { display: block; }
  .hero__l2 { color: var(--acento-sobre-primario); }
  .hero--marco .hero__l2, .hero--foto-izquierda .hero__l2 { color: var(--acento-sobre-fondo); }
  /* sobre la foto el validador exige texto blanco (validar_plantilla): ahí la 2.ª línea se distingue por el peso */
  .hero--foto-completa .hero__l2, .hero--centrado .hero__l2 { color: inherit; font-weight: 400; }
  .hero__apoyo { font-weight: 700; margin-bottom: .5rem !important; }
  .hero__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; }
  .hero--centrado .hero__acciones { justify-content: center; }
  .enlace-flecha { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; color: inherit;
           border-bottom: 2px solid transparent; }
  .enlace-flecha span, .tarjeta__enlace span { transition: transform .2s ease; }
  .enlace-flecha:hover, .enlace-flecha:focus-visible { border-bottom-color: currentColor; }
  .enlace-flecha:hover span, .tarjeta__enlace:hover span { transform: translateX(4px); }
  .enlace-flecha:focus-visible, .tarjeta__enlace:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
  .hero--marco .hero__foto, .hero--foto-izquierda .hero__foto { border-radius: max(var(--radio), 28px); }

  /* PORTADA SIN FOTO (o en borrador): el hueco de la foto es un motivo gráfico con el color de acento (10 % del 60-30-10):
     anillos suaves y el monograma del negocio. Es decoración (aria-hidden, estática: no hay nada que parar con reduced-motion);
     el monograma va en --acento-sobre-primario porque siempre cae sobre el color principal (AA). */
  .hero__motivo { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: var(--primario);
           --anillos: color-mix(in srgb, var(--acento) 30%, transparent); }
  .hero__motivo::before { content: ""; position: absolute; inset: 0;
           background: repeating-radial-gradient(circle at var(--cx, 50%) 50%, transparent 0 34px, var(--anillos) 35px 36px);
           -webkit-mask-image: radial-gradient(circle at var(--cx, 50%) 50%, #000 0, transparent 68%);
           mask-image: radial-gradient(circle at var(--cx, 50%) 50%, #000 0, transparent 68%); }
  .hero__motivo span { position: relative; display: grid; place-items: center; width: 1.45em; height: 1.45em; font-family: var(--titulos); font-weight: 800; line-height: 1; user-select: none;
           font-size: clamp(7rem, 20vw, 15rem); color: var(--acento-sobre-primario); }
  .hero__motivo span::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--acento); border-radius: 50%; opacity: .6; }
  .hero--sin-foto .foto-pendiente { background: none; animation: none; }
  .hero--sin-foto .foto-pendiente span { display: none; }
  .hero--sin-foto .hero__foto { min-height: 260px; }
  /* portadas con el texto sobre la foto: el motivo ocupa todo el fondo y el monograma queda a la derecha; sin velo (no hay foto que oscurecer) */
  .hero--sin-foto:is(.hero--foto-completa, .hero--panel, .hero--centrado) .hero__foto::after { display: none; }
  .hero--sin-foto:is(.hero--foto-completa, .hero--panel) .hero__motivo { --cx: 78%; justify-items: end; padding-right: 10vw; }
  .hero--sin-foto.hero--centrado .hero__motivo span { display: none; }
  .hero--sin-foto.hero--centrado .hero__motivo { --cx: 50%; }
  @media (max-width: 760px) {
    .hero--sin-foto:is(.hero--foto-completa, .hero--panel) .hero__motivo { place-items: start end; padding: 2rem 1.5rem 0 0; --cx: 80%; }
    .hero--sin-foto:is(.hero--foto-completa, .hero--panel) .hero__motivo span { font-size: 6rem; }
    .hero--sin-foto.hero--panel .hero__foto { aspect-ratio: 16 / 7; }
  }

  /* PALABRAS CLAVE entre ✳ (decoración sin texto alternativo) */
  .palabras { padding: 1.1rem clamp(1.25rem, 5vw, 3rem); background: color-mix(in srgb, var(--fondo), var(--texto) 6%);
           border-block: 1px solid color-mix(in srgb, var(--texto), transparent 85%); color: var(--texto); }
  .palabras ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 0; max-width: 1200px; margin: 0 auto; }
  .palabras li { font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem 0; }
  .palabras li:not(:first-child)::before { content: "✳"; content: "✳" / ""; margin: 0 1.1rem; }

  /* ANTETÍTULO numerado «01 / Catálogo» */
  .etiqueta__num { font-variant-numeric: tabular-nums; }

  /* TARJETAS de servicio: foto arriba, antetítulo, título, texto y pie con enlace y flecha */
  /* Rejilla sin huérfanas: filas de N tarjetas con la última fila CENTRADA (flex-wrap), y N según cuántas hay:
     5 → 3+2, 7 → 4+3, 3 y 6 → 3 por fila; 4 y 8 → 4 (2 en tablet). Las plantillas con rejilla propia (moderna con fotos) la reemplazan. */
  .tarjetas { --cols: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.5vw, 1.75rem); }
  .tarjeta { flex: 0 0 calc((100% - (var(--cols) - 1) * clamp(1rem, 2.5vw, 1.75rem)) / var(--cols)); min-width: 0; }
  @media (min-width: 600px) {
    .tarjetas { --cols: 2; }
    .tarjetas:has(> .tarjeta:nth-child(3):last-child), .tarjetas:has(> .tarjeta:nth-child(5):last-child),
    .tarjetas:has(> .tarjeta:nth-child(6):last-child), .tarjetas:has(> .tarjeta:nth-child(9):last-child) { --cols: 3; }
  }
  @media (min-width: 1000px) {
    .tarjetas { --cols: 4; }
    .tarjetas:has(> .tarjeta:nth-child(3):last-child), .tarjetas:has(> .tarjeta:nth-child(5):last-child),
    .tarjetas:has(> .tarjeta:nth-child(6):last-child), .tarjetas:has(> .tarjeta:nth-child(9):last-child) { --cols: 3; }
    .tarjetas:has(> .tarjeta:nth-child(2):last-child) { --cols: 2; }
    .tarjetas:has(> .tarjeta:nth-child(1):last-child) { --cols: 1; }
  }
  .tarjeta { display: flex; flex-direction: column; }
  .tarjeta__num { font-size: .95rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .5rem; }
  .tarjeta p:not(.tarjeta__num) { margin-bottom: 1rem; }
  .tarjeta__enlace { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
           min-height: 44px; padding-top: .75rem; font-weight: 700; color: inherit;
           border-top: 1px solid color-mix(in srgb, currentColor, transparent 80%); }
  .tarjetas--lista .tarjeta { border-radius: 0; background: transparent; color: inherit; padding: 1.25rem 0 0;
           border-top: 1px solid color-mix(in srgb, currentColor, transparent 75%); }

  /* DATOS en rejilla ordenada: hasta 4 columnas, cada dato con su filete */
  .franja { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 3rem); }
  .franja .ancho { display: grid; gap: 1.25rem 2rem; justify-content: stretch; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .franja p { padding-left: 1rem; border-left: 2px solid var(--acento); overflow-wrap: anywhere; }
  .franja strong { margin-bottom: .2rem; }
  .ficha__rejilla, .ubicacion__rejilla { gap: 1.5rem 2rem; }
  /* --- Estilo propio de la plantilla «calida» (motivo, tipografía, ritmo) --- */
  /* CÁLIDA — de barrio y cercana. Motivo: ondas (divisores) + foto tipo polaroid. Fredoka + Nunito. */
  h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
  h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
  .divisor { display: block; height: 26px; margin: .5rem 0; background: var(--acento); opacity: .9;
             -webkit-mask: none repeat-x center / 120px 26px;
                     mask: none repeat-x center / 120px 26px; }
  .tarjeta { border-radius: 24px; border-top: 6px solid var(--acento); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .sobre figure { background: #fff; padding: 12px 12px 44px; border-radius: 6px; transform: rotate(-2.5deg);
                  box-shadow: 0 18px 40px rgba(0,0,0,.18); }
  .sobre figure img { border-radius: 2px; }
  .galeria figure { border-radius: 20px; }
  .boton { box-shadow: 0 6px 0 rgba(0,0,0,.18); transition: transform .15s ease; }
  .boton:hover { transform: translateY(-2px); }


  /* --- EFECTOS (mika/efectos.py): clases en <body>; los valores que tocan la legibilidad
         (--vidrio-*, --velo-fondo, --degradado-*) los calcula el código. Sin JavaScript. --- */

  /* APARICIÓN: las secciones entran al bajar. Solo donde el navegador sabe hacerlo; si no, se ven
     normales. Termina al 35 % de la entrada: una sección ya visible nunca queda a medias. */
  @supports (animation-timeline: view()) {
    .efecto-aparicion main > section { animation: aparecer linear both; animation-timeline: view();
             animation-range: entry 0% entry 35%; }
    .efecto-aparicion .tarjetas > *, .efecto-aparicion .lista > li { animation: aparecer linear both;
             animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
  @keyframes aparecer { from { opacity: 0; translate: 0 2.5rem; } }

  /* ZOOM LENTO de la foto de portada */
  .efecto-zoom-lento .hero__foto { overflow: hidden; }
  .efecto-zoom-lento .hero__foto img { animation: zoom-lento 18s ease-out both; transform-origin: 60% 40%; }
  @keyframes zoom-lento { from { scale: 1.12; } to { scale: 1; } }

  /* FONDO DEGRADADO: las bandas de color pasan del primario a un tono calculado (efectos.degradado_fondo:
     el texto se lee en todo el recorrido). Encima del color, como imagen de fondo: si la banda la
     cambió la plantilla a otro color, el efecto la vuelve primario con su texto. No pisa la foto de
     fondo del contacto ni el panel de vidrio. */
  .efecto-fondo-degradado :is(.servicios, .ficha, .proceso, .franja),
  .efecto-fondo-degradado:not(.efecto-fondo-foto) .contacto,
  .efecto-fondo-degradado:not(.efecto-vidrio) .hero--panel .hero__texto {
           background-color: var(--primario); color: var(--sobre-primario);
           background-image: linear-gradient(135deg, var(--fondo-degradado-1) 10%, var(--fondo-degradado-2)); }

  /* ANTETÍTULOS numerados («01 / Catálogo») sobre los títulos: del color del texto de la sección (mismo contraste), en versalitas */
  .etiqueta { font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .9rem;
           font-style: normal; font-family: var(--cuerpo); line-height: 1.3; }
  .contacto--centrado .etiqueta, .hero--centrado .etiqueta { text-align: center; }

  /* RESALTADO: subrayado grueso del acento bajo la palabra clave; es decoración del texto, no fondo:
     el contraste del título no cambia. Se dibuja al cargar. */
  .efecto-resaltado .resaltado { text-decoration: underline var(--acento); text-decoration-thickness: .14em;
           text-underline-offset: .14em; text-decoration-skip-ink: none; animation: resaltar 1.2s .4s ease-out both; }
  @keyframes resaltar { from { text-decoration-color: transparent; } }

  /* CORTES: las bandas de color terminan en diagonal. El corte cae en un borde TRANSPARENTE del mismo
     alto (el fondo se pinta debajo: background-clip border-box), así que nunca toca el contenido,
     tenga la plantilla el aire interior que tenga. La franja, una tira delgada, queda recta. */
  .efecto-cortes :is(.servicios, .ficha, .proceso, .contacto) {
           --corte: clamp(1rem, 3vw, 2.25rem);
           border-block: var(--corte) solid transparent; background-clip: border-box; background-origin: border-box;
           clip-path: polygon(0 var(--corte), 100% 0, 100% calc(100% - var(--corte)), 0 100%); }

  /* TEXTURA: grano de papel detrás de todo (las bandas y fotos lo tapan); solo con contraste de sobra
     (efectos.TEXTURA_CONTRASTE). SVG en línea, sin red. */
  .efecto-textura::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
           background-image: none'/%3E%3C/svg%3E"); }

  /* PORTADA EN CARRUSEL: las fotos extra se funden sobre la de portada, en turnos de 6 s, sin
     JavaScript (anda igual en Firefox). Quedan bajo el velo (::after) y con reduced-motion no se
     ven: queda la portada sola. Al pasar el cursor se detiene. */
  /* .hero__foto .hero__diapositiva (0,3,0) gana a «.efecto-zoom-lento .hero__foto img» (0,2,1), que
     si no le pisaba la animación y las fotos extra no aparecían nunca */
  .efecto-portada-carrusel .hero__foto { overflow: hidden; }
  .efecto-portada-carrusel .hero__foto .hero__diapositiva { position: absolute; inset: 0; opacity: 0;
           animation: portada-3 18s linear infinite both; }
  .efecto-portada-carrusel .hero__foto .hero__diapositiva:nth-of-type(3) { animation-delay: 12s; }
  .efecto-portada-carrusel .hero__foto .hero__diapositiva:nth-of-type(2) { animation-delay: 6s; }
  .efecto-portada-carrusel .hero__foto--2 .hero__diapositiva { animation-name: portada-2; animation-duration: 12s; }
  .efecto-portada-carrusel .hero:hover .hero__foto .hero__diapositiva { animation-play-state: paused; }
  @keyframes portada-3 { 0% { opacity: 0; } 5%, 33% { opacity: 1; } 38%, 100% { opacity: 0; } }
  @keyframes portada-2 { 0% { opacity: 0; } 7%, 50% { opacity: 1; } 57%, 100% { opacity: 0; } }

  /* VIDRIO: tarjeta esmerilada sobre la foto (el velo calculado sigue debajo: el vidrio solo
     oscurece más), panel translúcido y menú translúcido */
  .efecto-vidrio .hero--foto-completa .hero__texto, .efecto-vidrio .hero--centrado .hero__texto {
           width: min(100% - 2.5rem, 640px); margin: 0 auto 2rem; padding: clamp(1.5rem, 4vw, 2.5rem);
           background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .28);
           border-radius: max(var(--radio), 14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
           -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
  .efecto-vidrio .hero--foto-completa .hero__texto { margin-left: clamp(1.25rem, 6vw, 5rem); }
  .efecto-vidrio .hero--panel .hero__texto { background: var(--vidrio-panel); border: 1px solid rgba(255, 255, 255, .22);
           -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
  .efecto-vidrio .encabezado { background: var(--vidrio-menu);
           -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); }
  @media (max-width: 760px) { .efecto-vidrio .hero--panel .hero__texto { background: var(--primario); } }

  /* FONDO-FOTO: la foto de portada detrás de la sección de contacto, con un velo del color
     primario cuya opacidad garantiza el contraste del texto en el peor caso */
  .efecto-fondo-foto .contacto { background: linear-gradient(var(--velo-fondo), var(--velo-fondo)),
           var(--foto-fondo) center / cover no-repeat, var(--primario); }
  @media (min-width: 900px) and (hover: hover) {
    .efecto-fondo-foto .contacto { background-attachment: scroll, fixed, scroll; }
  }

  /* TEXTO DEGRADADO: solo en títulos grandes sobre el fondo de la página */
  .efecto-texto-degradado :is(.sobre, .galeria, .cotizar) h2,
  .efecto-texto-degradado :is(.hero--marco, .hero--foto-izquierda) h1 {
           background: linear-gradient(100deg, var(--degradado-1), var(--degradado-2), var(--degradado-1)) 0 0 / 200% 100%;
           -webkit-background-clip: text; background-clip: text; color: transparent;
           animation: degradado 9s ease-in-out infinite alternate; }
  @keyframes degradado { to { background-position: 100% 0; } }
  @media (forced-colors: active) {
    .efecto-texto-degradado h1, .efecto-texto-degradado h2 { background: none; color: CanvasText; }
  }

  /* CARRUSEL: la galería se desliza de lado (scroll-snap), con puntos y flechas que dibuja el
     navegador (::scroll-marker / ::scroll-button). SOLO donde existen: en Firefox 158 no hay, y un
     carrusel sin controles escondía la 3.ª foto sin pista de que existía («dice que creó 5
     imágenes y solo muestra 2», usuario, 2026-10-13) → ahí queda la galería normal, con todas. */
  @supports selector(::scroll-marker) {
  .efecto-carrusel .galeria .rejilla { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
           overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: .25rem; }
  .efecto-carrusel .galeria .rejilla::-webkit-scrollbar { display: none; }
  .efecto-carrusel .galeria .rejilla figure, .efecto-carrusel .galeria--mosaico .rejilla figure:first-child {
           flex: 0 0 min(78%, 640px); aspect-ratio: 4 / 3; grid-row: auto; grid-column: auto; scroll-snap-align: center; }
  .efecto-carrusel .galeria .rejilla:focus-visible { outline: 3px solid var(--acento); outline-offset: 4px; }
    .efecto-carrusel .galeria .ancho { position: relative; }
    .efecto-carrusel .galeria .rejilla { scroll-marker-group: after; anchor-name: --carrusel; }
    .efecto-carrusel .galeria .rejilla::scroll-marker-group { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; }
    .efecto-carrusel .galeria figure::scroll-marker { content: ""; width: .7rem; height: .7rem; border-radius: 50%;
             background: color-mix(in srgb, var(--texto), transparent 70%); }
    .efecto-carrusel .galeria figure::scroll-marker:target-current { background: var(--acento); }
    .efecto-carrusel .galeria .rejilla::scroll-button(*) { position: absolute; position-anchor: --carrusel; top: anchor(center);
             translate: 0 -50%; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; cursor: pointer;
             background: var(--acento); color: var(--sobre-acento); font-size: 1.2rem; }
    .efecto-carrusel .galeria .rejilla::scroll-button(*):disabled { opacity: .35; cursor: default; }
    .efecto-carrusel .galeria .rejilla::scroll-button(left) { content: "←" / "Foto anterior"; left: calc(anchor(left) + .5rem); }
    .efecto-carrusel .galeria .rejilla::scroll-button(right) { content: "→" / "Foto siguiente"; right: calc(anchor(right) + .5rem); }
  }

  /* PROFUNDIDAD 3D: perspectiva real (transform 3D) en fotos y tarjetas; se enderezan e inclinan
     al pasar el cursor, y la galería entra girando en el eje X al bajar */
  .efecto-profundidad :is(.hero--marco, .hero--foto-izquierda, .hero--dividido) .hero__foto {
           transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transform-origin: left center;
           box-shadow: 24px 30px 60px -20px rgba(0, 0, 0, .45); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .efecto-profundidad :is(.hero--marco, .hero--foto-izquierda, .hero--dividido) .hero__foto:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
  .efecto-profundidad :is(.tarjeta, .galeria figure, .sobre figure) { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
  @media (hover: hover) {
    .efecto-profundidad :is(.tarjeta, .galeria figure, .sobre figure):hover {
             transform: perspective(900px) rotateX(5deg) rotateY(-6deg) translateY(-6px);
             box-shadow: 18px 26px 40px -18px rgba(0, 0, 0, .45); }
  }
  @supports (animation-timeline: view()) {
    .efecto-profundidad .galeria .rejilla { perspective: 1200px; }
    .efecto-profundidad .galeria figure { animation: girar-entrada linear both; animation-timeline: view();
             animation-range: entry 0% entry 50%; transform-origin: center bottom; }
  }
  @keyframes girar-entrada { from { transform: rotateX(28deg) translateY(2rem); opacity: .3; } }

  /* Con efectos.js (solo donde falta animation-timeline): estado previo a la aparición y entrada.
     La clase js-aparicion la pone el script justo antes de observar: sin script, nada se oculta. */
  /* Ocultar SOLO lo que efectos.js observa: las fotos de la galería, únicamente con «profundidad»
     (con «aparicion» sola quedaban ocultas para siempre en Firefox; 2026-10-15). */
  .js-aparicion.efecto-aparicion :is(main > section, .tarjetas > *, .lista > li):not(.visto),
  .js-aparicion.efecto-profundidad .galeria figure:not(.visto) { opacity: 0; translate: 0 2.5rem; }
  .js-aparicion.efecto-profundidad .galeria figure:not(.visto) { transform: perspective(1200px) rotateX(28deg); }
  .js-aparicion :is(main > section, .tarjetas > *, .lista > li, .galeria figure) {
           transition: opacity .7s ease-out, translate .7s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
  /* inclinación que sigue al cursor (efectos.js pone --rx/--ry); va después del :hover fijo y lo reemplaza */
  .efecto-profundidad :is(.tarjeta, .galeria figure, .sobre figure, .hero__foto).inclinado {
           transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
           transition-duration: .12s; box-shadow: 18px 26px 40px -18px rgba(0, 0, 0, .45); }

  /* FOTO 3D: el lienzo de efectos.js va sobre la foto y bajo el velo (::after va después) */
  .hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: aparecer-3d .4s ease-out both; }
  @keyframes aparecer-3d { from { opacity: 0; } }
  /* --- ESTRUCTURA que cambia el dueño (pagina/estructura.py, 2026-11-08): sin JavaScript --- */

  /* Barra superior suelta: se va con la página en vez de quedarse fija (la regla base es sticky) */
  .encabezado.encabezado--suelta { position: static; }

  /* Dos secciones contiguas de fondo --primario (al reordenar) se funden en una sola: una franja del fondo
     de la página las separa. Hay un .divisor entre cada par (oculto salvo en las plantillas que lo usan). */
  :is(.servicios, .contacto, .ficha, .proceso, .franja) + .divisor + :is(.servicios, .contacto, .ficha, .proceso, .franja) {
    border-top: 6px solid var(--fondo); }  /* Productos de la tienda vinculada (secciones/tienda.j2). Solo aparece en la página si hay tienda con publicados.
     Todo sale de los tokens: la paleta, el modo oscuro y el panel de accesibilidad la cambian sola. */
  .tienda-productos__lista { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
  .tienda-productos__enlace { display: flex; flex-direction: column; gap: .5rem; min-height: 44px; color: inherit; text-decoration: none; }
  .tienda-productos__enlace:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
  .tienda-productos__foto { display: block; aspect-ratio: 1 / 1; border-radius: var(--radio); overflow: hidden; background: var(--primario); }
  .tienda-productos__nombre { font-family: var(--titulos); font-weight: 700; overflow-wrap: anywhere; }
  .tienda-productos__precio { font-weight: 700; }
  .tienda-productos__accion { margin-top: 2rem; text-align: center; }

  /* Manuscrita solo en títulos y nunca en mayúsculas (ninguna plantilla puede forzarlo) */
  .letra-manuscrita h1, .letra-manuscrita h2, .letra-manuscrita h3 { text-transform: none !important; }
  footer { text-align: center; padding: 1.5rem; font-size: .85rem; }
  footer p { opacity: .75; }
  .con-whatsapp footer { padding-bottom: 6rem; }  /* que el botón flotante no tape el pie */
  /* --- ACCESIBILIDAD (panel portado de mika.loaneth.tech, 2026-10-31) ---
     Cada preferencia es una clase «a11y-…» en <html>. Los colores de las plantillas salen de los
     tokens (--fondo, --texto, --primario, --acento…), así que oscuro y alto contraste solo cambian
     tokens: lo que el código ya garantiza sobre ellos (texto sobre primario/acento) se mantiene.
     (0,1,1) de «html.a11y-…» gana a (0,1,0) de «:root». */

  /* BOTÓN flotante, abajo a la izquierda (a la derecha va el de WhatsApp) */
  .a11y-boton { position: fixed; z-index: 21; left: max(1rem, env(safe-area-inset-left));
           bottom: max(1rem, env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%;
           display: grid; place-items: center; padding: 0; cursor: pointer; background: var(--primario);
           color: var(--sobre-primario); border: 2px solid var(--fondo); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); }
  .a11y-tema { position: fixed; z-index: 21; left: calc(max(1rem, env(safe-area-inset-left)) + 52px + .6rem);
           bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4px); width: 44px; height: 44px; border-radius: 50%;
           display: grid; place-items: center; padding: 0; cursor: pointer; background: var(--fondo);
           color: var(--texto); border: 2px solid var(--texto); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); }
  .a11y-tema .a11y-sol, .a11y-oscuro .a11y-tema .a11y-luna { display: none; }
  .a11y-oscuro .a11y-tema .a11y-sol { display: block; }
  .a11y-boton[hidden], .a11y-tema[hidden] { display: none; }
  .a11y-boton:focus-visible, .a11y-tema:focus-visible { outline: 3px solid var(--texto); outline-offset: 3px; }
  footer { padding-bottom: 6rem; }  /* que el botón no tape el pie */

  /* ESQUINA que eligió el dueño (body.a11y-en-…; sin clase, abajo a la izquierda). El botón de modo oscuro
     va siempre al lado de este, hacia adentro. WhatsApp es fijo, abajo a la derecha (58 px): en esa esquina el
     par sube encima de él, y arriba baja de la barra superior (hasta 5,8 rem en el celular, con su nombre en dos líneas) si está visible: nada se tapa. */
  .a11y-en-abajo-derecha .a11y-boton { left: auto; right: max(1rem, env(safe-area-inset-right)); }
  .a11y-en-abajo-derecha .a11y-tema { left: auto; right: calc(max(1rem, env(safe-area-inset-right)) + 52px + .6rem); }
  .con-whatsapp.a11y-en-abajo-derecha .a11y-boton { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 58px + .6rem); }
  .con-whatsapp.a11y-en-abajo-derecha .a11y-tema { bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 58px + .6rem + 4px); }
  .a11y-en-arriba-izquierda, .a11y-en-arriba-derecha { --a11y-y: max(1rem, env(safe-area-inset-top)); }
  .a11y-bajo-barra.a11y-en-arriba-izquierda, .a11y-bajo-barra.a11y-en-arriba-derecha { --a11y-y: calc(max(1rem, env(safe-area-inset-top)) + 5.5rem); }
  .a11y-en-arriba-izquierda .a11y-boton, .a11y-en-arriba-derecha .a11y-boton { bottom: auto; top: var(--a11y-y); }
  .a11y-en-arriba-izquierda .a11y-tema, .a11y-en-arriba-derecha .a11y-tema { bottom: auto; top: calc(var(--a11y-y) + 4px); }
  .a11y-en-arriba-derecha .a11y-boton { left: auto; right: max(1rem, env(safe-area-inset-right)); }
  .a11y-en-arriba-derecha .a11y-tema { left: auto; right: calc(max(1rem, env(safe-area-inset-right)) + 52px + .6rem); }

  /* DIÁLOGO: centrado (el reinicio de márgenes de la base le quita el margin: auto) */
  .a11y-panel { margin: auto; padding: 0; border: 0; border-radius: var(--radio); width: min(92vw, 26rem);
           max-height: 90vh; overflow: auto; background: var(--fondo); color: var(--texto);
           font-family: var(--cuerpo); font-size: 1rem; line-height: 1.5; text-align: left; }
  .a11y-panel::backdrop { background: rgba(0, 0, 0, .6); }
  .a11y-caja { padding: 1.25rem 1.5rem 1.5rem; }
  .a11y-panel p { margin: 0 0 .75rem; font-size: 1rem; max-width: none; }
  .a11y-arriba { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
  .a11y-panel .a11y-titulo { margin: 0; font-family: var(--titulos); font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
  .a11y-panel fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
  .a11y-panel legend { padding: 0; margin-bottom: .25rem; font-size: .8rem; font-weight: 700;
           letter-spacing: .08em; text-transform: uppercase; }
  .a11y-opcion { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px;
           padding: .4rem 0; cursor: pointer; border-bottom: 1px solid color-mix(in srgb, currentColor, transparent 82%); }
  /* interruptor: el estado se ve por la posición del círculo, no solo por el color */
  .a11y-opcion input { appearance: none; flex: none; position: relative; width: 2.9rem; height: 1.6rem; margin: 0;
           border: 2px solid currentColor; border-radius: 1rem; background: transparent; cursor: pointer; }
  .a11y-opcion input::before { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.6rem - 8px);
           height: calc(1.6rem - 8px); border-radius: 50%; background: currentColor; transition: transform .15s; }
  .a11y-opcion input:checked { background: currentColor; }
  .a11y-opcion input:checked::before { background: var(--fondo); transform: translateX(1.3rem); }
  .a11y-panel button:focus-visible, .a11y-opcion input:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
  .a11y-cerrar { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit;
           font-size: 1.8rem; line-height: 1; cursor: pointer; }
  .a11y-panel .a11y-estado { min-height: 1.5em; margin: .75rem 0 0; font-weight: 600; }
  .a11y-restablecer { min-height: 44px; margin-top: .5rem; padding: .6rem 1.3rem; border: 2px solid currentColor;
           border-radius: var(--radio-boton); background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
  .a11y-panel .a11y-nota { margin: 1rem 0 0; font-size: .875rem; }

  /* LECTURA */
  html.a11y-grande { font-size: 125%; }
  .a11y-espaciado body :is(p, li, dd, dt, blockquote, label, a, span) { line-height: 1.8 !important;
           letter-spacing: .06em !important; word-spacing: .14em !important; }
  .a11y-espaciado body :is(h1, h2, h3) { line-height: 1.35 !important; letter-spacing: .02em !important; }
  html.a11y-lectura { --titulos: Verdana, "DejaVu Sans", Tahoma, sans-serif; --cuerpo: Verdana, "DejaVu Sans", Tahoma, sans-serif; }
  .a11y-lectura body, .a11y-lectura body :not(svg, svg *) { font-family: Verdana, "DejaVu Sans", Tahoma, sans-serif !important;
           font-style: normal !important; }
  .a11y-subrayado body a { text-decoration: underline !important; text-underline-offset: .2em; text-decoration-thickness: 2px; }

  /* PANTALLA */
  html.a11y-oscuro { --fondo: #121212; --texto: #f2f2f2; color-scheme: dark; }
  html.a11y-contraste { --fondo: #fff; --texto: #000; --primario: #000; --sobre-primario: #fff; --acento: #000;
           --sobre-acento: #fff; --acento-sobre-primario: #fff; --velo: .45; }
  html.a11y-contraste.a11y-oscuro { --fondo: #000; --texto: #fff; --acento: #fff; --sobre-acento: #000; }
  /* lo que efectos.py calcula con la paleta ORIGINAL (vidrio, degradados, velo) ya no vale con estos
     tokens: se vuelve sólido con los nuevos */
  html.a11y-oscuro, html.a11y-contraste { --acento-sobre-fondo: var(--texto); --vidrio-menu: var(--fondo); --degradado-1: var(--texto); --degradado-2: var(--texto); }
  html.a11y-contraste { --vidrio-panel: var(--primario); --velo-fondo: rgba(0, 0, 0, .8);
           --fondo-degradado-1: var(--primario); --fondo-degradado-2: var(--primario); }
  .a11y-contraste .a11y-panel, .a11y-contraste .a11y-boton { border: 2px solid var(--texto); }

  /* MOVIMIENTO: lo mismo que prefers-reduced-motion, también si se activa con la página ya abierta */
  .a11y-quieto *, .a11y-quieto *::before, .a11y-quieto *::after { animation: none !important;
           transition: none !important; scroll-behavior: auto !important; }
  .a11y-quieto .js-aparicion :is(main > section, .tarjetas > *, .lista > li, .galeria figure) { opacity: 1 !important;
           translate: none !important; transform: none !important; }
  .a11y-quieto .inclinado { transform: none !important; }
  .a11y-quieto .hero__3d { display: none !important; }

  /* De deiberolivares.com (análisis 2026-10-31): saltar al contenido, foco reforzado y colores
     forzados de Windows (forced-colors: el sistema pone sus colores; solo se cuidan bordes y foco) */
  .a11y-saltar { position: fixed; z-index: 30; left: 1rem; top: -5rem; padding: .7rem 1.1rem;
           background: var(--texto); color: var(--fondo); border-radius: var(--radio-boton); font-weight: 700; }
  .a11y-saltar:focus { top: 1rem; outline: 3px solid var(--primario); outline-offset: 2px; }
  main:focus { outline: none; }
  .a11y-foco :focus-visible { outline: 4px solid var(--texto) !important; outline-offset: 3px !important;
           box-shadow: 0 0 0 7px var(--fondo) !important; }
  @media (forced-colors: active) {
    .a11y-boton, .a11y-tema, .a11y-panel, .a11y-opcion input { border: 2px solid CanvasText; forced-color-adjust: auto; }
    .a11y-opcion input:checked { background: Highlight; }
    :focus-visible { outline: 3px solid Highlight !important; }
  }

  /* FOTO AMPLIADA (galería): el botón es la foto entera; la ampliada, en la capa superior */
  .foto-ampliable { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none;
           cursor: zoom-in; color: inherit; font: inherit; }
  .foto-ampliable:focus-visible { outline: 3px solid var(--acento); outline-offset: -3px; }
  .ampliada { margin: auto; padding: 0; border: 0; background: none; max-width: min(94vw, 1200px); max-height: 92vh;
           overflow: visible; }  /* margin: auto la centra (el reinicio de márgenes de la base se lo quitaba) */
  .ampliada::backdrop { background: rgba(0, 0, 0, .82); }
  .ampliada img { display: block; width: auto; height: auto; max-width: min(94vw, 1200px); max-height: 92vh;
           object-fit: contain; border-radius: var(--radio); }
  .ampliada__cerrar { position: absolute; top: .5rem; right: .5rem; min-height: 44px; padding: .5rem 1rem;
           border: 0; border-radius: var(--radio-boton); background: rgba(0, 0, 0, .7); color: #fff; font: inherit;
           font-weight: 700; cursor: pointer; }
  .ampliada__cerrar:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

  /* PRECIOS: nombre … precio, con guía de puntos; la nota debajo, del mismo color (contraste igual) */
  .precios__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem 3rem;
           grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
  .precios__lista li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .5rem; }
  .precios__nombre { font-weight: 700; }
  .precios__guia { border-bottom: 2px dotted color-mix(in srgb, currentColor, transparent 60%); transform: translateY(-.3em); }
  .precios__valor { font-weight: 700; white-space: nowrap; }
  .precios__nota { grid-column: 1 / -1; font-size: 1rem; }
  /* OPINIONES: tarjetas con comillas grandes del acento (adorno, no texto) */
  .testimonios__lista { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
  .testimonio { border: 1px solid color-mix(in srgb, currentColor, transparent 82%); border-radius: var(--radio); padding: 1.5rem; }
  .testimonio blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
  .testimonio blockquote::before { content: "“"; display: block; font-family: var(--titulos); font-size: 3rem;
           line-height: .8; color: var(--acento); }
  .testimonio__quien { margin: 0; }
  /* ABIERTO AHORA: punto de color + texto; el color del texto es el de la sección (contraste igual) */
  .abierto-ahora { display: flex; width: fit-content; align-items: center; gap: .5rem; font-weight: 700; margin: 0 0 .6rem; }
  .abierto-ahora::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: currentColor; }
  .abierto-ahora.abierto::before { background: #1f9d55; box-shadow: 0 0 0 3px color-mix(in srgb, #1f9d55, transparent 70%); }
  .abierto-ahora.cerrado::before { background: #b42318; }
  /* HORARIO por días */
  .horario-semana { display: grid; gap: .35rem; margin: 0; }
  .horario-semana div { display: flex; justify-content: space-between; gap: 1.5rem; }
  .horario-semana dt { font-weight: 700; }
  .horario-semana dd { margin: 0; }

  /* ICONO de cada servicio (fase 2): del color del texto, sobre un círculo apenas teñido con él;
     así se ve sobre cualquier fondo de tarjeta o banda sin colores propios. */
  .servicio__icono { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: .75rem;
           border-radius: 50%; background: color-mix(in srgb, currentColor, transparent 88%); }

  /* REDES del negocio: en contacto, con su nombre; en el pie, solo el icono */
  .redes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; padding: 0; }
  .redes a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem;
           border-radius: var(--radio-boton); color: inherit; text-decoration: none; font-weight: 600;
           border: 1px solid color-mix(in srgb, currentColor, transparent 70%); transition: transform .2s ease; }
  .redes a:hover { transform: translateY(-2px); }
  .redes a:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
  .idiomas { margin: 0 0 .75rem; text-align: center; }
  .idiomas a { display: inline-block; min-height: 44px; padding: .6rem .4rem; }
  .redes--pie { justify-content: center; margin: 0 0 .75rem; }
  .redes--pie a { min-width: 44px; justify-content: center; padding: .5rem; border: 0; }

  /* WHATSAPP FLOTANTE: color de acento (el de los llamados a la acción, con contraste calculado) */
  .wa-flotante { position: fixed; z-index: 20; right: max(1rem, env(safe-area-inset-right));
           bottom: max(1rem, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%;
           display: grid; place-items: center; background: var(--acento); color: var(--sobre-acento);
           box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); transition: transform .2s ease; }
  .wa-flotante:hover { transform: scale(1.07); }
  .wa-flotante:focus-visible { outline: 3px solid var(--texto); outline-offset: 3px; }
  @supports (animation-timeline: scroll()) {  /* aparece al bajar; donde no se puede (Firefox), siempre */
    .wa-flotante { animation: wa-aparece linear both; animation-timeline: scroll(root); animation-range: 0 45vh; }
    @keyframes wa-aparece { from { opacity: 0; scale: .6; visibility: hidden; } }
  }
