/* Sistema visual v3 compartido: "La luz revela el orden" */

:root {
    /* Lo que ocupa la barra del navegador del móvil cuando está visible (0 en escritorio). Las piezas fijas a pantalla completa
       miden 100lvh para no dejar hueco al esconderse la barra; lo que va anclado abajo dentro de ellas suma --bar para quedar
       donde estaba con la barra visible (31-10-2026) */
    --bar: calc(100lvh - 100svh);
    --carbon: #111111;
    --carbon-2: #16151a;
    --carbon-suave: #2a2633;
    --plomo: #6b637b;
    --niebla: #d9d6de;
    --gris: #bfc4c9;
    --hueso: #f5f4f1;
    --ciruela: #83136c;
    --ciruela-luz: #b04a97;
    /* Solo como luz (lineas, halos, reflejos), nunca como color de interfaz */
    --luz: 232, 172, 104;
    --luz-core: 255, 246, 206;
    /* Luz calida que alcanza las letras junto a una fuente de luz */
    --luz-warm: 255, 206, 140;
    --serif: "Newsreader", "Merriweather", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
    --gutter: clamp(1.5rem, 5.55vw, 5rem);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-curtain: cubic-bezier(.19, 1, .22, 1);
    /* Encendido de piezas (hover y foco tactil): todas sus partes con el mismo ritmo */
    --glow-dur: .8s;
    --glow-ease: cubic-bezier(.45, .05, .25, 1);
}

html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body.v3 {
    margin: 0;
    overflow-x: clip;
    color: var(--hueso);
    background: var(--carbon);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
/* En pantallas tactiles el encendido llega con el foco central, mas lento y sin hover pegado al dedo */
html.is-touch { --glow-dur: 1.4s; }
:where(.v3) a { color: inherit; text-decoration: none; }
.v3 img { display: block; max-width: 100%; }
.v3 ::selection { color: var(--hueso); background: var(--ciruela); }
.site-gutter { width: 100%; padding-right: var(--gutter); padding-left: var(--gutter); }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 1000; padding: .75rem 1rem; color: #fff; background: var(--carbon); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.home-navigation__separator { width: 7.4rem; height: 1px; margin: .4rem 0 .15rem; background: currentColor; opacity: .34; }
.home-navigation__languages { display: flex; align-items: center; gap: .38rem; margin-top: .15rem; font-size: .56rem; letter-spacing: .08em; }
.home-navigation__languages a { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; opacity: .72; transition: color .25s ease, background-color .25s ease, opacity .25s ease, transform .25s ease; }
:where(html:not(.is-touch)) .home-navigation__languages a:hover, .home-navigation__languages a:focus-visible { opacity: 1; transform: translateY(-1px); }
.home-navigation__languages a.is-active { color: #111; background: #fff; opacity: 1; }

#navbar nav {
    transition: opacity .6s ease, transform .8s var(--ease-out), visibility 0s linear 0s;
}

#navbar.is-tucked nav {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .45s;
}

@media (max-width: 767px) {
    #navbar { transition: transform .7s var(--ease-out); }
    #navbar.is-tucked { transform: translateY(-130%); }
}

/* ---------- Tipografia compartida ---------- */

.v3-kicker {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 1.5rem;
    color: rgba(245, 244, 241, .62);
    font-family: var(--sans);
    font-size: .66rem;
    font-style: normal;
    letter-spacing: .3em;
    /* Interlineado propio (29-10-2026, usuario): heredaba el del titular (0,92-1,04) y en dos líneas quedaban pegadas */
    line-height: 1.45;
    font-weight: 600;
    text-transform: uppercase;
}

.v3-kicker::before {
    content: "";
    width: 2.2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--luz), .9), rgba(var(--luz), 0));
}

.v3-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 4.1vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.04;
}

.v3-title em,
.v3-hero__title em,
.v3-manifesto__text em {
    color: var(--ciruela-luz);
    font-style: italic;
    font-weight: 300;
}

.v3-title--xl { font-size: clamp(3.6rem, 7vw, 7rem); letter-spacing: -.035em; line-height: .92; }

.v3-body {
    max-width: 31rem;
    margin: 0;
    color: rgba(245, 244, 241, .7);
    font-size: clamp(.98rem, 1.05vw, 1.08rem);
    font-weight: 300;
    line-height: 1.7;
}

.v3-aside {
    margin: 0;
    padding-left: 1.2rem;
    border-left: 1px solid rgba(var(--luz), .45);
    color: rgba(245, 244, 241, .64);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .26em;
    line-height: 2;
    text-transform: uppercase;
}

/* ---------- Botones ---------- */

.v3-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    min-height: 3.4rem;
    padding: .95rem 2rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ciruela);
    font: 600 .82rem/1 var(--sans);
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 18px 44px -20px rgba(131, 19, 108, .9);
    transition: color .5s var(--ease-curtain), box-shadow .5s ease, transform .5s var(--ease-out);
}

.v3-button__curtain {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--hueso);
    transform: translateY(102%);
    transition: transform .6s var(--ease-curtain);
}

.v3-button__label { display: inline-flex; align-items: center; gap: .9rem; }
.v3-button svg { width: 1rem; height: 1rem; transition: transform .6s var(--ease-curtain); }

/* El :hover solo con ratón (31-10-2026): en táctil la cortina se quedaba subida tras tocar si la página no cambiaba (la
   carta de contacto enviada incompleta). Al tocar responde el efecto propio de pulsar (site-navigation.js) */
:where(html:not(.is-touch)) .v3-button:hover,
.v3-button:focus-visible {
    color: var(--carbon);
    box-shadow: 0 0 0 1px rgba(var(--luz), .5), 0 22px 50px -18px rgba(var(--luz), .45);
}

:where(html:not(.is-touch)) .v3-button:hover .v3-button__curtain,
.v3-button:focus-visible .v3-button__curtain { transform: translateY(0); }
:where(html:not(.is-touch)) .v3-button:hover svg,
.v3-button:focus-visible svg { transform: translateX(.35rem); }
.v3-button:focus-visible { outline: 2px solid rgba(var(--luz), .8); outline-offset: 4px; }
.v3-button[disabled] { cursor: wait; opacity: .6; }

.v3-textlink {
    position: relative;
    padding: .4rem 0;
    color: rgba(245, 244, 241, .82);
    font-size: .84rem;
    font-weight: 500;
    transition: color .35s ease;
}

.v3-textlink::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .6s var(--ease-curtain);
}

:where(html:not(.is-touch)) .v3-textlink:hover,
.v3-textlink:focus-visible { color: var(--hueso); }
:where(html:not(.is-touch)) .v3-textlink:hover::after,
.v3-textlink:focus-visible::after { transform: scaleX(1); }

/* ---------- Entradas ---------- */

.v3-line { display: block; overflow: hidden; padding-bottom: .08em; }
.v3-line > span { display: inline-block; transform: translateY(110%); }
.v3-reveal { opacity: 0; transform: translateY(16px); }

.is-lit .v3-line > span { animation: v3Rise 1.3s var(--ease-out) var(--d, 0s) forwards; }
.is-lit .v3-reveal { animation: v3Fade 1.2s var(--ease-out) var(--d, 0s) forwards; }

@keyframes v3Rise { to { transform: translateY(0); } }
@keyframes v3Fade { to { opacity: 1; transform: none; } }

/* ---------- Luz ---------- */

/* Intensidad de la luz calida sobre un texto (0-1), interpolable */
@property --on {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

/* Luz compartida por el rail y el manifiesto: tres capas como la rendija de pause-on.webp */
.v3-beam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -70px;
    width: 140px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(70px, calc(var(--fill, 0px) * .5)), #000 calc(var(--fill, 0px) - 60px), transparent var(--fill, 0px));
    mask-image: linear-gradient(180deg, transparent 0, #000 min(70px, calc(var(--fill, 0px) * .5)), #000 calc(var(--fill, 0px) - 60px), transparent var(--fill, 0px));
}

.v3-beam::before,
.v3-beam::after,
.v3-beam i {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
}

.v3-beam::before {
    width: 18px;
    margin-left: -9px;
    background: rgba(190, 128, 64, .55);
    filter: blur(14px);
}

.v3-beam::after {
    width: 5px;
    margin-left: -2.5px;
    background: rgba(232, 176, 108, .9);
    filter: blur(2.5px);
}

.v3-beam i {
    z-index: 1;
    width: 2px;
    margin-left: -1px;
    background: rgb(254, 243, 202);
}

/* Luz cálida en un texto, solo desde el lado de la fuente (regla 3). --lit-dir: 270deg si la fuente está a la derecha (por defecto), 90deg si está a la izquierda.
   La página enciende --on (0-1) cuando el texto recibe la luz */
/* padding-block: el fondo que pinta el texto llega a los acentos de las mayúsculas («Ét»: sin él, el acento no se veía);
   en un elemento en línea no cambia el alto de la línea (31-10-2026) */
.v3-lit {
    padding-right: .12em;
    padding-block: .2em;
    color: transparent;
    background-image:
        linear-gradient(var(--lit-dir, 270deg), rgba(var(--luz-warm), var(--on)) 0%, rgba(var(--luz-warm), calc(var(--on) * .5)) 14%, rgba(var(--luz-warm), 0) 42%),
        linear-gradient(var(--hueso), var(--hueso));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    --on: 0;
    filter: drop-shadow(8px 0 22px rgba(var(--luz), calc(var(--on) * .3)));
    transition: --on 1.6s ease .2s;
}

/* Línea de luz de los gráficos (SVG con un path): núcleo claro y halo cálido; aparece de izquierda a derecha con el borde fundido según --t (0-1) */
.v3-lightline {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--t) * 104% - 6%), transparent calc(var(--t) * 104%));
    mask-image: linear-gradient(90deg, #000 calc(var(--t) * 104% - 6%), transparent calc(var(--t) * 104%));
    filter: drop-shadow(0 0 6px rgba(var(--luz), .7)) drop-shadow(0 0 18px rgba(190, 128, 64, .45));
}

.v3-lightline path {
    fill: none;
    stroke: rgb(254, 243, 202);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* ---------- La hora de la oficina (.v3-now): una luz encendida si estamos trabajando, en brasa si no. Texto y estado, en v3-system.js ---------- */

.v3-now {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    max-width: 30rem;
    margin: 2.2rem 0 0;
    color: rgba(245, 244, 241, .62);
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.6;
}

.v3-now i {
    position: relative;
    top: -.05rem;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--luz), .5);
    box-shadow: 0 0 8px 1px rgba(var(--luz), .18);
    transition: background-color 1.2s ease, box-shadow 1.2s ease;
}

.v3-now.is-open i {
    background: rgb(var(--luz-core));
    box-shadow: 0 0 9px 2px rgba(var(--luz), .6), 0 0 24px 6px rgba(190, 128, 64, .24);
    animation: v3Breathe 4.2s ease-in-out infinite;
}

@keyframes v3Breathe { 50% { box-shadow: 0 0 6px 1px rgba(var(--luz), .42), 0 0 16px 4px rgba(190, 128, 64, .14); } }

@media (prefers-reduced-motion: reduce) {
    .v3-now.is-open i { animation: none; }
}

/* ---------- Contacto ---------- */

.v3-contact {
    position: relative;
    padding: clamp(7rem, 16vh, 10rem) var(--gutter);
    overflow: hidden;
    isolation: isolate;
}

.v3-contact__media { position: absolute; inset: 0; z-index: -1; }
.v3-contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.v3-contact__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .92) 0%, rgba(17, 17, 17, .74) 45%, rgba(17, 17, 17, .38) 100%),
        linear-gradient(180deg, var(--carbon) 0%, transparent 20%);
}

/* Centrado: en pantallas anchas (más de ~1470 px) sobraba todo el espacio a la derecha del formulario */
.v3-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    max-width: 82rem;
    margin-inline: auto;
}

.v3-contact__intro .v3-body { margin-top: 1.8rem; }

.v3-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 2rem;
    padding: clamp(2rem, 3.5vw, 3rem);
    border: 1px solid rgba(245, 244, 241, .1);
    border-radius: 1.25rem;
    background: linear-gradient(160deg, rgba(42, 38, 51, .55), rgba(17, 17, 17, .45));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.v3-form label { position: relative; display: block; }
.v3-form__full { grid-column: 1 / -1; }

.v3-form label > span:not(.contact-form__field-error) {
    position: absolute;
    left: 0;
    top: .7rem;
    color: rgba(245, 244, 241, .5);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.5; /* fijo: la etiqueta de arriba se coloca contando con él (1.5em) */
    pointer-events: none;
    transform-origin: left top;
    transition: transform .45s var(--ease-out), color .35s ease, letter-spacing .45s ease;
}

.v3-form input,
.v3-form textarea {
    width: 100%;
    padding: .7rem 0 .75rem;
    border: 0;
    border-bottom: 1px solid rgba(245, 244, 241, .22);
    border-radius: 0;
    color: var(--hueso);
    background: transparent;
    font: 300 1rem/1.5 var(--sans);
    outline: none;
    resize: vertical;
    transition: border-color .35s ease, box-shadow .35s ease;
}

.v3-form textarea { min-height: 5.5rem; }

/* Autorrelleno del navegador: Chrome fuerza un fondo azul claro y texto negro. No se puede sustituir,
   así que su fondo tarda "para siempre" en aplicarse, lo que quede se recorta al texto y el texto mantiene el color del diseño.
   Vale para cualquier campo de las páginas v3 (--v3-field-text permite otro color en formularios claros) */
.v3 input:-webkit-autofill,
.v3 input:-webkit-autofill:hover,
.v3 input:-webkit-autofill:focus,
.v3 textarea:-webkit-autofill,
.v3 select:-webkit-autofill {
    -webkit-text-fill-color: var(--v3-field-text, var(--hueso));
    caret-color: var(--v3-field-text, var(--hueso));
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-color 600000s 0s, color 600000s 0s, border-color .35s ease, box-shadow .35s ease;
}
.v3 input:autofill { background-clip: text; }

/* La línea de luz que engorda la de abajo es una sombra 1 px más estrecha por cada lado (-1px, y 2px hacia abajo para
   que asome 1 px): con todo el ancho del campo, cuando el campo cae entre píxeles y el navegador lo pinta en su propia
   capa (la vista previa del autorrelleno de Edge, por ejemplo), asomaba por los dos lados como una raya vertical */
.v3-form input:focus,
.v3-form textarea:focus {
    border-bottom-color: rgba(var(--luz), .85);
    box-shadow: 0 2px 0 -1px rgba(var(--luz), .6), 0 10px 18px -14px rgba(var(--luz), .6);
}

.v3-form label:focus-within > span:not(.contact-form__field-error),
.v3-form label:has(input:not(:placeholder-shown)) > span:not(.contact-form__field-error),
.v3-form label:has(textarea:not(:placeholder-shown)) > span:not(.contact-form__field-error) {
    color: rgba(var(--luz), .9);
    letter-spacing: .18em;
    /* Arriba va al 66 %: se parte en líneas con el ancho que ocupa de verdad (100 % / .66) y, si aun así son dos, sube lo que
       ocupa de más (66 % de su alto menos una línea, 1.5em) para que su última línea quede donde iría la única y no pise el texto */
    width: calc(100% / .66);
    transform: translateY(calc(-1.35rem - 66% + 1.5em * .66)) scale(.66);
    text-transform: uppercase;
    font-weight: 600;
}

.v3-form label.is-invalid input,
.v3-form label.is-invalid textarea { border-bottom-color: rgba(229, 139, 139, .8); }
.v3-form label.is-invalid > span:not(.contact-form__field-error) { color: #e58b8b; }

/* El aviso de error va debajo de la línea del campo; no es la etiqueta flotante (también es un span dentro del label) */
/* Errores de cada campo: el rojo de la marca (bad, #E58B8B) y entrando suave */
.contact-form__field-error { display: block; margin-top: .45rem; color: #e58b8b; font-size: .74rem; font-weight: 400; line-height: 1.4; animation: v3SoftIn .45s var(--ease-out) both; }
.contact-form__field-error:empty { display: none; }
.contact-form__honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.v3-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: .4rem; }
.v3-form__promise { margin: 0; color: rgba(245, 244, 241, .56); font-size: .72rem; letter-spacing: .06em; }

.contact-form__status {
    grid-column: 1 / -1;
    display: grid;
    gap: .25rem;
    padding: 1rem 1.2rem;
    border-left: 2px solid rgba(var(--luz), .8);
    background: rgba(245, 244, 241, .05);
    font-size: .9rem;
}

.contact-form__status[hidden] { display: none; }
.contact-form__status.is-error { border-left-color: #e0708f; }
.contact-form__status.is-success { border-left-color: var(--ciruela-luz); }
.contact-form__status-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.contact-form__status-body { color: rgba(245, 244, 241, .7); font-weight: 300; }

/* ---------- El envío se resuelve en la propia sección (todos los formularios menos Contacto, que va a Gracias) ----------
   Lo mueve site-contact-form.js. La luz cuenta lo que pasa: mientras se envía recorre el borde de la tarjeta; si llega, llena
   el borde, los campos se retiran a su paso, la columna de la izquierda pasa a «Ya estamos hablando.» (.v3-contact__after),
   la tarjeta se convierte en el acuse (.v3-sent: nombre, mensaje, correo y los tres pasos con su día real), la luz pasa al
   primer paso y el borde se apaga (una sola luz); la escena se ilumina un poco. Si falla, la luz queda en brasa y el aviso
   (.v3-trouble) entra en la tarjeta. Los cambios de alto los anima el JS (sin saltos ni movimiento de la página) */

.v3-ln { display: block; overflow: hidden; padding-bottom: .08em; }
.v3-ln > span { display: inline-block; }

/* La columna de la izquierda: lo de antes sube y se apaga; lo nuevo sube por líneas */
.v3-contact__intro > :not(.v3-contact__after) { transition: opacity .5s ease, transform .7s var(--ease-out); }
.v3-contact__intro.is-leaving > :not(.v3-contact__after) { opacity: 0; transform: translateY(-12px); }
.v3-contact__intro.is-swapped > :not(.v3-contact__after) { display: none; }
/* El cambio de alto arranca y termina suave (ease-in-out): con la curva de entrada (rápida al principio) daba un tirón */
.v3-contact__intro.is-morphing { overflow: hidden; transition: height .8s cubic-bezier(.65, 0, .35, 1); }
.v3-contact__after[hidden] { display: none; }
.v3-contact__after { transition: opacity .4s ease, transform .5s var(--ease-out); }
/* Las líneas, además de subir, se funden: en un titular tan apretado (line-height .92) los rasgos de las letras sobresalen de
   su caja y, solo con el desplazamiento, asomaban como marcas al entrar y al salir */
.v3-contact__after .v3-ln > span { transform: translateY(110%); opacity: 0; }
.v3-contact__after > :not(.v3-title) { opacity: 0; transform: translateY(12px); }
.v3-contact__after.is-in .v3-ln > span { transform: none; opacity: 1; transition: transform 1.2s var(--ease-out), opacity .6s ease; }
.v3-contact__after.is-in .v3-ln + .v3-ln > span { transition-delay: .14s; }
.v3-contact__after.is-in > :not(.v3-title) { opacity: 1; transform: none; transition: opacity .9s ease var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.v3-contact__after > .v3-body { --d: .3s; }
.v3-contact__after > .v3-now { --d: .4s; margin-top: 1.6rem; }
.v3-contact__after .v3-kicker::before { transition: box-shadow 1.6s ease; }
.v3-contact__after.is-arrived .v3-kicker::before { box-shadow: 0 0 10px rgba(var(--luz), .55); }
/* Al volver al formulario, todo se apaga a la vez antes de dar paso a lo de antes */
.v3-contact__after.is-out { opacity: 0; transform: translateY(-8px); }

/* La tarjeta y la luz de su borde */
.v3-form { position: relative; }
.v3-form.is-morphing { overflow: hidden; transition: height .8s cubic-bezier(.65, 0, .35, 1); }
.v3-form__edge { position: absolute; top: 1.6rem; bottom: 1.6rem; left: 1.15rem; width: 1px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.v3-form__edge i { position: absolute; top: 0; left: 0; width: 1px; height: 100%; }
.v3-form.is-sending .v3-form__edge { opacity: 1; }
.v3-form.is-sending .v3-form__edge i {
    height: 38%;
    background: linear-gradient(180deg, rgba(var(--luz), 0), rgba(var(--luz), .9) 40%, rgb(var(--luz-core)) 55%, rgba(var(--luz), 0));
    box-shadow: 0 0 8px 1px rgba(var(--luz), .35);
    animation: v3EdgeDrip 1.35s cubic-bezier(.55, 0, .35, 1) infinite;
}
@keyframes v3EdgeDrip { from { transform: translateY(-100%); } to { transform: translateY(265%); } }
.v3-form.is-lit-edge .v3-form__edge { opacity: 1; overflow: visible; }
.v3-form.is-lit-edge .v3-form__edge i {
    background: linear-gradient(180deg, rgba(var(--luz), 0), rgba(var(--luz), .85) 18%, rgb(var(--luz-core)) 50%, rgba(var(--luz), .85) 82%, rgba(var(--luz), 0));
    box-shadow: 0 0 10px 1px rgba(var(--luz), .3);
    transform-origin: top;
    animation: v3EdgeFill .9s var(--ease-out) both;
}
@keyframes v3EdgeFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.v3-form.is-handed .v3-form__edge { opacity: 0; transition: opacity 1.4s ease .3s; }
.v3-form.is-trouble .v3-form__edge { opacity: 1; }
.v3-form.is-trouble .v3-form__edge i { background: linear-gradient(180deg, rgba(var(--luz), 0), rgba(var(--luz), .42) 30%, rgba(var(--luz), .42) 70%, rgba(var(--luz), 0)); }

/* Mientras envía, los campos se atenúan; al llegar, todo lo de la tarjeta (campos, grupos de opciones, pie, aviso) se retira
   uno a uno de arriba abajo (--i lo pone el JS) y deja sitio al acuse */
.v3-form[aria-busy="true"] label,
.v3-form[aria-busy="true"] .v3-form__promise { opacity: .55; transition: opacity .4s ease; }
.v3-form.is-inline > [data-v3-item] { transition: opacity .45s ease calc(var(--i, 0) * 75ms), transform .6s var(--ease-out) calc(var(--i, 0) * 75ms); }
.v3-form.is-leaving > [data-v3-item] { opacity: 0; transform: translateY(-10px); }
.v3-form.is-sent > [data-v3-item] { display: none; }
.v3-form.is-returning > [data-v3-item] { opacity: 0; transform: translateY(10px); transition: none; }

/* Si falla: el aviso dentro de la tarjeta */
.v3-trouble[hidden] { display: none; }
.v3-trouble {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(245, 244, 241, .08);
    animation: v3SoftIn .7s var(--ease-out) both;
}
@keyframes v3SoftIn { from { opacity: 0; transform: translateY(-4px); } }
.v3-trouble__icon { width: 1.5rem; height: 1.5rem; margin-top: .2rem; color: rgba(var(--luz), .8); filter: drop-shadow(0 0 6px rgba(var(--luz), .25)); }
.v3-trouble__title { margin: 0; color: var(--hueso); font-family: var(--serif); font-size: 1.45rem; font-weight: 300; letter-spacing: -.01em; line-height: 1.15; }
.v3-trouble__body { max-width: 32rem; margin: .5rem 0 0; color: rgba(245, 244, 241, .66); font-size: .88rem; font-weight: 300; line-height: 1.65; }
.v3-trouble__ways { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1rem 0 0; }
.v3-trouble__way { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem 0; border-bottom: 1px solid rgba(245, 244, 241, .18); color: rgba(245, 244, 241, .86); font-size: .82rem; font-weight: 500; transition: color .35s ease, border-color .35s ease; }
.v3-trouble__way svg { flex: none; width: 1rem; height: 1rem; color: rgba(var(--luz), .8); }
.v3-trouble__way:not([href]) { border-bottom-color: transparent; }
:where(html:not(.is-touch)) .v3-trouble__way[href]:hover,
.v3-trouble__way:focus-visible { color: var(--hueso); border-bottom-color: rgba(var(--luz), .7); }

/* Si llega: el acuse */
.v3-sent[hidden] { display: none; }
.v3-sent { grid-column: 1 / -1; padding-top: .2rem; }
.v3-sent .v3-fx { opacity: 0; transform: translateY(12px); }
.v3-sent .v3-ln > span { transform: translateY(110%); opacity: 0; }
.v3-sent.is-in .v3-fx { opacity: 1; transform: none; transition: opacity .9s ease var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.v3-sent.is-in .v3-ln > span { transform: none; opacity: 1; transition: transform 1.2s var(--ease-out) .05s, opacity .6s ease .05s; }
.v3-sent.is-closing { opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.v3-sent__hello { margin: 0; color: var(--hueso); font-family: var(--serif); font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; outline: none; }
.v3-sent__hello .v3-lit { --lit-dir: 270deg; padding-right: 0; }
.v3-sent.is-arrived .v3-sent__hello .v3-lit { --on: 1; }
.v3-sent__quote { margin: 1.5rem 0 0; padding: .1rem 0 .1rem 1.1rem; border-left: 1px solid rgba(245, 244, 241, .16); }
.v3-sent__quote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; color: rgba(245, 244, 241, .74); font-family: var(--serif); font-size: 1.12rem; font-style: italic; font-weight: 300; line-height: 1.5; overflow-wrap: anywhere; }
.v3-sent__to { margin: 1rem 0 0; color: rgba(245, 244, 241, .55); font-size: .8rem; font-weight: 300; overflow-wrap: anywhere; }
.v3-sent__to b { color: var(--hueso); font-weight: 500; }
.v3-sent__foot { display: grid; justify-items: start; gap: 1.1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(245, 244, 241, .08); }
.v3-sent__foot .v3-textlink { border: 0; background: none; cursor: pointer; font-family: var(--sans); }
.v3-sent__note { max-width: 30rem; margin: 0; color: rgba(245, 244, 241, .46); font-size: .74rem; font-weight: 300; line-height: 1.6; }
.v3-sent__note a { border-bottom: 1px solid rgba(245, 244, 241, .3); color: rgba(245, 244, 241, .7); }

/* Los pasos del acuse van siempre dentro de .v3-steps (29-10-2026): con «.v3-step» suelto, sus líneas se colaban en los pasos
   de «Cómo trabajamos» de la home, que se llaman igual (una línea vertical a su izquierda en móvil y otra horizontal en escritorio).
   Los tres pasos: cada tramo de la línea es de su paso y va de su punto al siguiente (termina en el último); los puntos se
   centran sobre la línea con translate. La luz llena el primer tramo y se apaga antes del segundo: estamos en el primero */
.v3-steps { --gap: 1rem; --rail: 1.35rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 2.1rem 0 0; padding: var(--rail) 0 0; list-style: none; }
.v3-steps > .v3-step { --cy: calc(var(--rail) * -1 + 3.5px); --cx: 3.5px; position: relative; display: grid; align-content: start; gap: .3rem; min-width: 0; }
.v3-steps > .v3-step:not(:last-child)::before,
.v3-steps > .v3-step.is-done::after { content: ""; position: absolute; top: calc(var(--cy) - .5px); left: var(--cx); width: calc(100% + var(--gap)); height: 1px; }
.v3-steps > .v3-step:not(:last-child)::before { background: rgba(245, 244, 241, .12); }
.v3-steps > .v3-step.is-done::after {
    background: linear-gradient(90deg, rgb(var(--luz-core)), rgba(var(--luz), .85) 35%, rgba(var(--luz), 0) 92%);
    box-shadow: 0 0 8px rgba(var(--luz), .35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.6s var(--ease-out) .2s;
}
.v3-sent.is-arrived .v3-steps > .v3-step.is-done::after { transform: scaleX(1); }
.v3-steps > .v3-step i {
    position: absolute;
    z-index: 1;
    top: var(--cy);
    left: var(--cx);
    width: 7px;
    height: 7px;
    border: 1px solid rgba(245, 244, 241, .3);
    border-radius: 50%;
    background: var(--carbon);
    transform: translate(-50%, -50%);
    transition: background-color 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease;
}
.v3-steps > .v3-step b { color: rgba(245, 244, 241, .5); font-size: .6rem; font-weight: 600; letter-spacing: .22em; line-height: 1.2; text-transform: uppercase; }
.v3-steps > .v3-step > span { color: rgba(245, 244, 241, .82); font-size: .86rem; font-weight: 300; line-height: 1.45; }
.v3-steps > .v3-step.is-done b { color: rgba(var(--luz), .9); }
.v3-sent.is-arrived .v3-steps > .v3-step.is-done i { border-color: transparent; background: rgb(var(--luz-core)); box-shadow: 0 0 9px 2px rgba(var(--luz), .6), 0 0 24px 6px rgba(190, 128, 64, .24); }
/* «Te leemos»: encendido y respirando si estamos trabajando; en brasa si no (como la hora de la oficina) */
.v3-sent.is-arrived .v3-steps > .v3-step.is-reading i { border-color: transparent; background: rgba(var(--luz), .5); box-shadow: 0 0 8px 1px rgba(var(--luz), .18); }
.v3-sent.is-arrived .v3-steps > .v3-step.is-reading.is-open i { background: rgb(var(--luz-core)); box-shadow: 0 0 9px 2px rgba(var(--luz), .6); animation: v3Breathe 4.2s ease-in-out infinite; }

/* La escena: al llegar el mensaje, la imagen se ilumina un poco */
.v3-contact .v3-contact__media img { transition: filter 2.6s ease; }
.v3-contact.is-answered .v3-contact__media img { filter: brightness(1.16) saturate(1.06); }

@media (max-width: 760px) {
    .v3-sent__hello { font-size: clamp(2.2rem, 10vw, 3rem); }
    .v3-steps { --gap: 1.1rem; --rail: 1.4rem; grid-template-columns: 1fr; padding: 0 0 0 var(--rail); }
    .v3-steps > .v3-step { --cx: calc(var(--rail) * -1 + 3.5px); --cy: calc(.6rem * 1.2 / 2); }
    .v3-steps > .v3-step:not(:last-child)::before,
    .v3-steps > .v3-step.is-done::after { top: var(--cy); left: calc(var(--cx) - .5px); width: 1px; height: calc(100% + var(--gap)); }
    .v3-steps > .v3-step.is-done::after { background: linear-gradient(180deg, rgb(var(--luz-core)), rgba(var(--luz), .85) 35%, rgba(var(--luz), 0) 92%); transform: scaleY(0); transform-origin: top; }
    .v3-sent.is-arrived .v3-steps > .v3-step.is-done::after { transform: scaleY(1); }
    .v3-form__edge { left: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .v3-form.is-morphing, .v3-contact__intro.is-morphing,
    .v3-form.is-inline > [data-v3-item],
    .v3-contact__intro > :not(.v3-contact__after), .v3-contact__after, .v3-contact__after > *, .v3-contact__after .v3-ln > span,
    .v3-sent .v3-fx, .v3-sent .v3-ln > span, .v3-steps > .v3-step.is-done::after { transition: none !important; }
    .v3-form.is-sending .v3-form__edge i { animation: none; height: 100%; }
    .v3-form.is-lit-edge .v3-form__edge i { animation: none; }
}

/* ---------- Formulario: opciones en píldora (el texto va en <b>: el span directo del label es la etiqueta flotante) ---------- */

.v3-choice {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.v3-choice legend {
    width: 100%;
    margin-bottom: .7rem;
    padding: 0;
    color: rgba(245, 244, 241, .6);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.v3-choice label { position: relative; display: inline-flex; cursor: pointer; }

.v3-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.v3-choice label > b {
    padding: .55rem 1rem;
    border: 1px solid rgba(245, 244, 241, .18);
    border-radius: 999px;
    color: rgba(245, 244, 241, .72);
    font-size: .85rem;
    font-weight: 300;
    letter-spacing: 0;
    transition: border-color .5s ease, background-color .5s ease, color .5s ease;
}

:where(html:not(.is-touch)) .v3-choice label:hover > b { border-color: rgba(245, 244, 241, .4); }
.v3-choice input:checked + b { border-color: var(--ciruela-luz); color: var(--hueso); background: rgba(131, 19, 108, .35); }
.v3-choice input:focus-visible + b { outline: 1px solid rgba(var(--luz), .8); outline-offset: 2px; }

/* =========================================================
   Paginas de servicio v2: piezas comunes
   ========================================================= */

/* ---------- Huecos de imagen ---------- */

.v3-slot {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.v3-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v3-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .7rem;
    padding: 1.5rem;
    border: 1px dashed rgba(245, 244, 241, .14);
    color: rgba(245, 244, 241, .5);
    text-align: center;
    background:
        radial-gradient(ellipse 60% 55% at 62% 42%, rgba(var(--luz), .08), transparent 70%),
        linear-gradient(160deg, #1c1b21, #111114);
}

.v3-ph b {
    color: rgba(var(--luz), .75);
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 3rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1;
}

.v3-ph span {
    max-width: 22rem;
    font-family: var(--serif);
    font-size: clamp(.95rem, 1.2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.35;
}

.v3-ph i {
    color: rgba(245, 244, 241, .38);
    font-size: .58rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* En los fondos a pantalla completa la etiqueta va a la esquina para no tapar los textos */
.v3-ph--corner {
    place-content: end;
    justify-items: end;
    padding: 0 var(--gutter) 5.5rem;
    text-align: right;
}

.v3-ph--light {
    border-color: rgba(17, 17, 17, .16);
    color: rgba(17, 17, 17, .55);
    background:
        radial-gradient(ellipse 60% 55% at 40% 35%, rgba(var(--luz), .22), transparent 70%),
        linear-gradient(160deg, #ebe8e2, #dcd8d0);
}

.v3-ph--light b { color: var(--ciruela); }
.v3-ph--light i { color: rgba(17, 17, 17, .4); }

.v3-ph--warm {
    background:
        radial-gradient(ellipse 30% 30% at 68% 52%, rgba(var(--luz), .45), transparent 70%),
        linear-gradient(160deg, #221d1c, #131115);
}

/* ---------- Cabecera de seccion ---------- */

.v3-head {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem 4rem;
    /* El texto empieza a la altura del titular, como en las filas de servicios (usuario, 01-11-2026): arriba, bajando
       lo que ocupa el pretítulo (una línea de 0,66rem × 1,45 + 1,5rem; v3-system.js pone el alto real si se parte) */
    align-items: start;
    margin-bottom: clamp(3rem, 7vh, 4.5rem);
}

.v3-head .v3-title { max-width: 14em; }
.v3-head .v3-body { justify-self: end; margin-top: var(--v3-kicker-block, calc(.66rem * 1.45 + 1.5rem)); }

/* ---------- Portada de pagina de servicio ---------- */

.v3-cover {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: 8rem var(--gutter) 7rem;
    overflow: hidden;
    isolation: isolate;
    --enter: 0;
}

.v3-cover__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: scale(calc(1.02 + var(--enter) * .16));
    /* Cada pagina fija hacia donde avanza la camara */
    transform-origin: var(--cover-focus, 50% 50%);
    will-change: transform;
}

.v3-cover__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .78) 0%, rgba(17, 17, 17, .38) 40%, transparent 66%),
        linear-gradient(0deg, rgba(17, 17, 17, .75) 0%, transparent 30%),
        linear-gradient(180deg, rgba(17, 17, 17, .35) 0%, transparent 22%);
}

.v3-cover__content {
    position: relative;
    max-width: 44rem;
    opacity: calc(1 - var(--enter) * 1.5);
    transform: translateY(calc(var(--enter) * -60px));
}

.v3-cover__title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6.8vw, 7.2rem);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: .98;
}

.v3-cover__title em {
    color: var(--ciruela-luz);
    font-style: italic;
    font-weight: 300;
}

/* Titular de portada (01-11-2026): cada línea escrita, en una sola línea siempre que se pueda. La caja llega hasta el motivo
   de la foto (--cover-room, que v3-system.js mide con data-cover-keep y el recorte real) y la letra baja si hace falta (ver
   «Titular de portada» en v3-system.js); si aun así una línea se parte, se parte equilibrada, sin palabras sueltas */
.v3-cover__title .v3-line > span { text-wrap: balance; }
@media (min-width: 821px) {
    .v3-cover[data-cover-keep] .v3-cover__content { max-width: min(72rem, max(26rem, var(--cover-room, 44rem))); }
}

.v3-cover__intro {
    max-width: 31rem;
    margin: 1.8rem 0 2.4rem;
    color: rgba(245, 244, 241, .78);
    font-size: clamp(.98rem, 1.08vw, 1.1rem);
    font-weight: 300;
    line-height: 1.7;
}

/* Botón y segundo enlace del hero (15-10-2026, primero en la home): cuando el enlace cae debajo (móvil), empieza donde
   empieza el texto del botón (su relleno lateral, 2rem); en la misma línea comparten línea base y siguen a 2.2rem */
.v3-cover__actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem .2rem; }
.v3-cover__actions .v3-textlink { padding-left: 2rem; }
.v3-cover__actions .v3-textlink::after { left: 2rem; width: calc(100% - 2rem); }

.v3-cover__foot {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 2.3rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end; /* solo la frase, a la derecha: «Desliza» se quitó el 01-11-2026 (usuario) */
    color: rgba(245, 244, 241, .6);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .26em;
    line-height: 1.9;
    text-transform: uppercase;
}

.v3-cover__motto { display: flex; align-items: center; gap: 1.2rem; }

.v3-cover__motto::before {
    content: "";
    width: 3.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--luz), 0), rgba(var(--luz), .8));
}

/* ---------- Que incluye (seccion clara) ---------- */

.v3-includes {
    padding: clamp(6rem, 14vh, 9rem) var(--gutter);
    color: var(--carbon);
    background:
        radial-gradient(ellipse 45% 55% at 92% 0%, rgba(var(--luz), .18), transparent 70%),
        var(--hueso);
}

.v3-includes .v3-kicker { color: var(--plomo); }
.v3-includes .v3-kicker::before { background: linear-gradient(90deg, var(--ciruela), rgba(131, 19, 108, 0)); }
.v3-includes .v3-title em { color: var(--ciruela); }
.v3-includes .v3-body { color: rgba(17, 17, 17, .66); }

.v3-includes__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(17, 17, 17, .12);
    border-left: 1px solid rgba(17, 17, 17, .12);
}

.v3-include {
    position: relative;
    padding: clamp(1.6rem, 2.4vw, 2.2rem);
    overflow: hidden;
    isolation: isolate;
    border-right: 1px solid rgba(17, 17, 17, .12);
    border-bottom: 1px solid rgba(17, 17, 17, .12);
}

.v3-include::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle 18rem at 0% 0%, rgba(var(--luz), .3), rgba(var(--luz), .08) 45%, transparent 75%);
    opacity: 0;
    transition: opacity var(--glow-dur) var(--glow-ease);
}

html:not(.is-touch) .v3-include:hover::before,
.v3-include.is-focus::before { opacity: 1; }

.v3-include__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 50%;
    color: var(--plomo);
    transition: color var(--glow-dur) var(--glow-ease), border-color var(--glow-dur) var(--glow-ease), background-color var(--glow-dur) var(--glow-ease), box-shadow var(--glow-dur) var(--glow-ease);
}

.v3-include__icon svg { width: 1.2rem; height: 1.2rem; stroke-width: 1.4; }

html:not(.is-touch) .v3-include:hover .v3-include__icon,
.v3-include.is-focus .v3-include__icon {
    color: #fff;
    border-color: var(--ciruela);
    background-color: var(--ciruela);
    box-shadow: 0 10px 26px -12px rgba(131, 19, 108, .8);
}

.v3-include h3 {
    margin: 1.6rem 0 .6rem;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.15;
}

.v3-include p {
    margin: 0;
    color: rgba(17, 17, 17, .62);
    font-size: .92rem;
    font-weight: 300;
    line-height: 1.65;
}

.v3-include a {
    color: var(--ciruela);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

/* ---------- Preguntas frecuentes ---------- */

.v3-faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
    padding: clamp(6rem, 14vh, 9rem) var(--gutter);
    background: var(--carbon-2);
}

.v3-faq__head { position: sticky; top: clamp(6rem, 12vh, 8rem); }
.v3-faq__head .v3-body { margin-top: 1.4rem; }

.v3-faq__list { border-top: 1px solid rgba(245, 244, 241, .12); }

.v3-faq__item { border-bottom: 1px solid rgba(245, 244, 241, .12); }

.v3-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 0;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 300;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
}

.v3-faq__item summary::-webkit-details-marker { display: none; }
.v3-faq__item summary span { transition: transform .6s var(--ease-out), color .4s ease; }
:where(html:not(.is-touch)) .v3-faq__item summary:hover span,
.v3-faq__item summary:focus-visible span { transform: translateX(.4rem); }
.v3-faq__item summary:focus-visible { outline: 1px solid rgba(var(--luz), .6); outline-offset: 4px; }
/* Al pulsar con el dedo, la pregunta responde como al pasar el ratón: avanza y la cruz se enciende */
.v3-faq__item summary.is-pressed span { transform: translateX(.4rem); }
.v3-faq__item summary.is-pressed i::before,
.v3-faq__item summary.is-pressed i::after { background: rgb(var(--luz-core)); }

.v3-faq__item summary i {
    position: relative;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    transition: transform .6s var(--ease-out);
}

.v3-faq__item summary i::before,
.v3-faq__item summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(245, 244, 241, .7);
    transition: background-color .4s ease;
}

.v3-faq__item summary i::after { transform: rotate(90deg); }
.v3-faq__item[open] summary i { transform: rotate(45deg); }
.v3-faq__item[open] summary i::before,
.v3-faq__item[open] summary i::after { background: rgb(var(--luz-core)); }
.v3-faq__item[open] summary span { color: #fff; }

.v3-faq__answer { overflow: hidden; }

.v3-faq__answer p {
    max-width: 40rem;
    margin: 0;
    padding: 0 0 1.7rem;
    color: rgba(245, 244, 241, .66);
    font-size: .98rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Enlaces dentro de las respuestas (29-10-2026): el reinicio de enlaces los dejaba iguales que el texto y no se veían. El
   enlace sobre oscuro de las legales y las casillas: Hueso y subrayado fino, que se marca al pasar */
.v3-faq__answer a {
    color: var(--hueso);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(245, 244, 241, .35);
    text-underline-offset: .22em;
    transition: text-decoration-color .35s ease;
}

html:not(.is-touch) .v3-faq__answer a:hover,
.v3-faq__answer a:focus-visible { text-decoration-color: currentColor; }

@media (max-width: 1180px) {
    .v3-includes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-faq { grid-template-columns: 1fr; }
    .v3-faq__head { position: static; }
}

@media (max-width: 820px) {
    .v3-head { grid-template-columns: 1fr; }
    .v3-head .v3-body { margin-top: 0; }
    .v3-head .v3-body { justify-self: start; }

    .v3-cover { align-items: end; padding: 7rem 1.5rem 8.5rem; }
    .v3-cover__media img { object-position: var(--cover-focus-x, 50%) center; }
    .v3-cover__media::after {
        background:
            linear-gradient(0deg, rgba(17, 17, 17, .95) 0%, rgba(17, 17, 17, .78) 48%, rgba(17, 17, 17, .25) 74%, transparent 88%),
            linear-gradient(180deg, rgba(17, 17, 17, .4) 0%, transparent 22%);
    }
    .v3-cover__title { font-size: clamp(2.8rem, 12.5vw, 4rem); }
    .v3-cover__intro { margin: 1.2rem 0 1.8rem; font-size: .96rem; }
    .v3-cover__foot { bottom: 1.8rem; left: 1.5rem; right: 1.5rem; }
    .v3-cover__motto { display: none; }

    /* Variante apilada: la foto ocupa la parte alta y el texto va debajo, para que lo importante de la imagen no quede tras el titular */
    .v3-cover--stack { min-height: 0; padding-top: var(--cover-stack-pad, 47svh); padding-bottom: 6.5rem; }
    .v3-cover--stack .v3-cover__media {
        bottom: auto;
        height: var(--cover-stack-h, 62svh);
        -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    }
    .v3-cover--stack .v3-cover__media img { object-position: var(--cover-stack-pos, 50% 50%); }
    .v3-cover--stack .v3-cover__media::after { background: linear-gradient(180deg, rgba(17, 17, 17, .45) 0%, transparent 24%, transparent 60%, rgba(17, 17, 17, .6) 100%); }
    .v3-cover--stack .v3-cover__foot { display: none; }

    .v3-includes,
    .v3-faq { padding: 5.5rem 1.5rem; }
    .v3-includes__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .v3-cover { --enter: 0 !important; }
}

/* ---------- Agua (v3-water.js): el lienzo WebGL se superpone a la foto y la sustituye cuando ya pinta ---------- */

.v3-water {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s ease;
}

.v3-slot.is-water .v3-water { opacity: 1; }

/* ---------- Contacto en escena: primero la imagen limpia a pantalla completa; despues el formulario sube sobre ella ---------- */

.v3-contact.v3-contact--scene {
    padding-top: 0;
    overflow: clip;
    --k: 0;
    --cap: 0;
}

/* 100lvh, no 100svh (31-10-2026): en el móvil, al esconderse la barra del navegador la pantalla crece y una pieza fija de 100svh
   dejaba un hueco vacío debajo. Con 100lvh llena la pantalla con la barra escondida; con la barra visible, su parte de abajo
   queda bajo el borde. No cambia de tamaño, así que tampoco salta. En escritorio no hay diferencia */
.v3-contact--scene .v3-contact__media {
    position: sticky;
    top: 0;
    height: 100lvh;
    margin: 0 calc(var(--gutter) * -1) -100lvh;
}

.v3-contact--scene .v3-contact__media img {
    position: absolute;
    inset: 0;
}

/* Base: solo funde el borde superior con la seccion anterior y da contraste a la frase */
.v3-contact--scene .v3-contact__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, var(--carbon-2) 0%, rgba(22, 21, 26, 0) 18%),
        linear-gradient(0deg, rgba(17, 17, 17, .55) 0%, rgba(17, 17, 17, 0) 38%);
}

/* La capa oscura llega con el formulario (--k); la frase se retira cuando el titular se le acerca (--cap) */
.v3-contact--scene .v3-contact__media::after {
    z-index: 1;
    opacity: var(--k);
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .9) 0%, rgba(17, 17, 17, .66) 45%, rgba(17, 17, 17, .4) 100%),
        linear-gradient(180deg, var(--carbon) 0%, transparent 20%);
}

.v3-contact__caption {
    position: absolute;
    top: 40%;
    left: var(--gutter);
    z-index: 2;
    margin: 0;
    color: var(--hueso);
    text-shadow: 0 2px 28px rgba(17, 17, 17, .5);
    font-family: var(--serif);
    /* Un solo tamaño para la frase de todas las escenas, el de Webs (29-10-2026, usuario: se leía mejor que el de las demás).
       El ancho, en em para que crezca con la letra: a ese tamaño la frase larga de la home cruzaba la pared de la casa */
    max-width: 13em;
    font-size: clamp(2.3rem, 4.8vw, 4.8rem);
    font-weight: 300;
    letter-spacing: -.025em;
    line-height: 1.05;
    text-wrap: balance;
    opacity: calc(1 - var(--cap));
    transform: translateY(calc(var(--cap) * -24px));
}

/* Cada parte de la frase es un bloque que se equilibra por separado: si se parte (en móvil), no deja una palabra sola */
.v3-contact__caption > span { display: block; }
.v3-contact__caption em { color: var(--hueso); font-style: italic; }
/* La palabra que cierra la frase de la foto, en ciruela luz como las cursivas de los titulares (la de la home lleva .hm-also) */
.v3-contact__caption .v3-tint { color: var(--ciruela-luz); }

/* Orden de la escena (29-10-2026, usuario): la frase sola, se va, y entonces entran «Hablemos.» y el formulario. La frase se
   retira mientras el formulario está aún entre 1,3 y 1 pantalla de la parte de arriba (--cap, v3-system.js), así que el
   formulario empieza a 155svh: un cuarto de pantalla de scroll con la frase sola y quieta, y otro 30 % para que se vaya */
.v3-contact--scene .v3-contact__inner { position: relative; padding-top: 155svh; }

/* ---------- Contacto que amanece (.v3-contact--dawn): la foto de noche debajo y la de la mañana encima (img.v3-dawn), que se funde con --dawn
   con la escena ya fija. La frase llega con la luz (--capin), en carbón porque la mañana es clara. Más recorrido antes del formulario
   (185svh: la frase termina de llegar a un tercio de pantalla; después, como en las demás, su rato sola y su salida), y una capa oscura más densa y que llega antes, porque sobre la foto clara el titular blanco no se leía.
   En móvil la sala se oscurece en cuanto asoma el titular (--pre) y la frase se retira a la vez. Lo calcula v3-system.js ---------- */

.v3-contact--dawn { --dawn: 0; --capin: 0; --pre: 0; }
.v3-contact--dawn .v3-dawn { opacity: var(--dawn); }

/* Frase sobre una foto clara: carbón con un halo claro y el acento en ciruela. La llevan los contactos que amanecen y, con
   .v3-contact__caption--claro, cualquier escena cuya foto ya es clara donde va la frase (Publicidad, 29-10-2026) */
.v3-contact--dawn .v3-contact__caption,
.v3-contact__caption--claro {
    color: var(--carbon);
    text-shadow: 0 1px 26px rgba(245, 240, 232, .55);
}

.v3-contact--dawn .v3-contact__caption { opacity: calc(var(--capin) * (1 - var(--cap))); }

.v3-contact--dawn .v3-contact__caption em,
.v3-contact__caption--claro em,
.v3-contact__caption--claro .v3-tint { color: var(--ciruela); }

.v3-contact--dawn.v3-contact--scene .v3-contact__media::after {
    opacity: max(var(--k), calc(var(--cap) * .9));
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .93) 0%, rgba(17, 17, 17, .8) 45%, rgba(17, 17, 17, .62) 100%),
        linear-gradient(180deg, var(--carbon) 0%, transparent 20%);
}

.v3-contact--dawn.v3-contact--scene .v3-contact__inner { padding-top: 185svh; }

@media (max-width: 820px) {
    .v3-contact--dawn.v3-contact--scene .v3-contact__media::after {
        opacity: max(var(--k), var(--pre), calc(var(--cap) * .9));
        background: linear-gradient(180deg, var(--carbon) 0%, rgba(17, 17, 17, .86) 26%, rgba(17, 17, 17, .92) 100%);
    }
    .v3-contact--dawn .v3-contact__caption { opacity: calc(var(--capin) * (1 - max(var(--cap), var(--pre)))); }
    .v3-contact--dawn.v3-contact--scene .v3-contact__media::before {
        background:
            linear-gradient(180deg, var(--carbon-2) 0%, rgba(22, 21, 26, 0) 16%),
            linear-gradient(0deg, rgba(17, 17, 17, .9) 0%, rgba(17, 17, 17, .6) 20%, rgba(17, 17, 17, 0) 42%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .v3-contact--dawn { --dawn: 1; --capin: 1; --pre: 1; }
    .v3-contact--dawn.v3-contact--scene .v3-contact__inner { padding-top: clamp(7rem, 16vh, 10rem); }
}

/* ---------- Piezas fijadas junto a un texto ([data-v3-glide]: imagenes y el titulo de las preguntas): con raton y
   scroll suave las mueve v3-system.js, sin frenazos al fijarse ni al soltarse; el sticky de cada hoja queda de respaldo ---------- */

[data-v3-glide].is-glide { position: relative; top: auto; will-change: transform; }

/* ---------- Nota relacionada de Plum Notes (.v3-readnote): cada servicio enlaza su nota del blog, justo antes de sus preguntas.
   Como las filas de Plum Notes: a oscuras, con la miniatura de la nota en penumbra; al pasar (o con el foco táctil) la luz
   baja por el canto de arriba abajo y la miniatura se enciende ---------- */

/* Relleno del canto animable. --fill no está registrada en estas páginas (heredan su valor otras luces), así que se anima
   esta y el haz la toma como --fill */
@property --rn-fill {
    syntax: "<length-percentage>";
    inherits: false;
    initial-value: 0%;
}

.v3-readnote { padding: clamp(5rem, 11vh, 7rem) var(--gutter) 0; background: var(--carbon-2); }

.v3-readnote__link {
    position: relative;
    display: grid;
    grid-template-columns: clamp(9rem, 13vw, 13rem) minmax(0, 1fr) auto;
    gap: .55rem 2.6rem;
    align-items: center;
    max-width: 82rem;
    margin: 0 auto;
    padding: 2rem 2.4rem 2.1rem 2.8rem;
    border: 1px solid rgba(245, 244, 241, .1);
    border-radius: 1rem;
    transition: border-color var(--glow-dur) var(--glow-ease);
}

.v3-readnote__edge { position: absolute; top: 1.3rem; bottom: 1.3rem; left: 1.3rem; width: 1px; }
.v3-readnote__edge .v3-beam { --rn-fill: 0%; --fill: var(--rn-fill); transition: --rn-fill var(--glow-dur) var(--glow-ease); }
.v3-readnote__media { grid-column: 1; grid-row: 1 / span 3; position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: .4rem; background: #1a191f; }
.v3-readnote__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.72) saturate(.85);
    transform: scale(1.001);
    transition: filter var(--glow-dur) var(--glow-ease), transform 1.6s var(--ease-out);
}
.v3-readnote__kicker,
.v3-readnote__title,
.v3-readnote__desc { grid-column: 2; }
.v3-readnote__kicker { color: rgba(var(--luz), .85); font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.v3-readnote__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.12; }
.v3-readnote__desc { max-width: 44rem; color: rgba(245, 244, 241, .6); font-size: .92rem; font-weight: 300; line-height: 1.65; }
.v3-readnote__go { grid-column: 3; grid-row: 1 / span 3; display: inline-flex; align-items: center; gap: .7rem; color: var(--hueso); font-size: .82rem; font-weight: 500; white-space: nowrap; }
.v3-readnote__go svg { width: 1rem; height: 1rem; transition: transform var(--glow-dur) var(--glow-ease); }

html:not(.is-touch) .v3-readnote__link:hover,
.v3-readnote.is-focus .v3-readnote__link,
.v3-readnote__link:focus-visible { border-color: rgba(var(--luz), .32); }
html:not(.is-touch) .v3-readnote__link:hover .v3-beam,
.v3-readnote.is-focus .v3-beam,
.v3-readnote__link:focus-visible .v3-beam { --rn-fill: 100%; }
html:not(.is-touch) .v3-readnote__link:hover .v3-readnote__media img,
.v3-readnote.is-focus .v3-readnote__media img,
.v3-readnote__link:focus-visible .v3-readnote__media img { filter: none; transform: scale(1.04); }
html:not(.is-touch) .v3-readnote__link:hover .v3-readnote__go svg,
.v3-readnote.is-focus .v3-readnote__go svg,
.v3-readnote__link:focus-visible .v3-readnote__go svg { transform: translateX(.4rem); }
.v3-readnote__link:focus-visible { outline: 1px solid rgba(var(--luz), .6); outline-offset: 4px; }

@media (max-width: 820px) {
    .v3-readnote { padding: 4.5rem 1.5rem 0; }
    /* La miniatura arriba, a todo el ancho, como las tarjetas de Plum Notes: al lado dejaba el título en una columna estrecha */
    .v3-readnote__link { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 1.3rem 1.7rem 2.3rem; }
    .v3-readnote__edge { left: 1.1rem; }
    .v3-readnote__media { grid-row: auto; margin-bottom: .5rem; aspect-ratio: 16 / 9; }
    .v3-readnote__media, .v3-readnote__kicker, .v3-readnote__title, .v3-readnote__desc, .v3-readnote__go { grid-column: 1; }
    .v3-readnote__go { grid-row: auto; margin-top: .5rem; }
}

/* ---------- Footer sobre carbon ---------- */

.v3 .site-footer { background: #0c0c0e; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .v3-contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .v3-contact { padding: 6rem 1.5rem; }
    .v3-contact__media::after { background: linear-gradient(180deg, var(--carbon) 0%, rgba(17, 17, 17, .82) 30%, rgba(17, 17, 17, .9) 100%); }
    .v3-form { grid-template-columns: 1fr; gap: 1.9rem; padding: 1.6rem 1.3rem; }
    .v3-form__foot .v3-button { width: 100%; justify-content: center; }
    .v3-contact.v3-contact--scene { padding-top: 0; }
    /* En móvil también el tamaño de Webs (29-10-2026, usuario). Las frases largas pasan a 3-4 líneas: cada página coloca la
       suya donde su foto deja sitio (home, infraestructura, publicidad) y SEO, junto a la torre, va más pequeña. Tope del
       4,7 % del alto: la foto escala con el alto y la letra con el ancho; en los móviles alargados de hoy no cambia nada
       (390x844, 412x915), en los bajos (375x667) la frase pisaba lo que la foto pone a su lado */
    /* La altura de la frase, en lvh como la foto (sigue a lo que hay en ella); su tamaño, en svh como la pantalla */
    .v3-contact__caption { top: 18lvh; right: 1.5rem; font-size: min(clamp(2.2rem, 10vw, 3rem), 4.7svh); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v3-line > span, .is-lit .v3-line > span { transform: none; animation: none; }
    .v3-reveal, .is-lit .v3-reveal { opacity: 1; transform: none; animation: none; }
    .v3-contact.v3-contact--scene { --k: 1; }
    .v3-contact__caption { display: none; }
    .v3-contact--scene .v3-contact__inner { padding-top: clamp(7rem, 16vh, 10rem); }
    .v3-lit { --on: 1; transition: none; }
}
