/* Pascalix v3: pestañas, inicio largo con secciones, intro 2D construida a mano. */

/* 1. Inicio deja de estar bloqueado a 100svh; sin modo pantalla completa */
body[data-active-tab="inicio"] { height: auto !important; max-height: none !important; overflow: visible !important; }
#px-fullscreen-hint { display: none !important; }
@media (min-width: 1024px) {
    /* el hero ocupa justo lo que queda bajo el menú y se centra un poco por encima de la mitad (centro óptico) */
    /* el hero mide lo que su contenido más un margen proporcional (antes llenaba toda la pantalla y sobraba aire arriba y abajo);
       así se asoma la sección siguiente e invita a bajar */
    #inicio > .flex-1:first-child { min-height: 0; padding-top: clamp(2rem, 5.5vh, 4.5rem); padding-bottom: clamp(2.5rem, 7vh, 5.5rem); box-sizing: border-box; }
}
.v3-sub { padding-top: clamp(4.5rem, 8vw, 7.5rem); scroll-margin-top: 5rem; }
.v3-sub:last-child { padding-bottom: clamp(2rem, 4vw, 3rem); }
#inicio { padding-bottom: 0; }

/* 2. Intro 2D: el logo se construye a mano y después pasa al 3D */
#px-intro-2d { position: fixed; inset: 0; z-index: 2; pointer-events: none; transition: opacity 1.4s ease; }
.px-dib.is-out { opacity: 0; }
.px-dib svg { width: 100%; height: 100%; display: block; overflow: visible; }
.px-dib .i-guia, .px-dib .i-trazo, .px-dib .i-ext { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.px-dib .i-guia { stroke: rgba(244, 241, 234, .26); }
.px-dib .i-eje { stroke: rgba(232, 93, 42, .55); }
.px-dib .i-acento { stroke: #e85d2a; }
.px-dib .i-trazo { stroke: #f4f1ea; stroke-linejoin: round; }
.px-dib .i-ext { stroke: rgba(244, 241, 234, .5); stroke-linejoin: round; }
.px-dib .i-ext.i-acento { stroke: #e85d2a; }
.px-dib .i-marca { fill: none; stroke: #e85d2a; opacity: 0; }
.px-dib .i-relleno { fill: #f4f1ea; opacity: 0; transition: opacity 1s ease; }
.px-dib .i-medida { stroke: #e85d2a; opacity: 0; transition: opacity .5s ease; }
.px-dib .i-tanteo { fill: none; stroke: #e85d2a; stroke-dasharray: .045 .035; opacity: 0; transition: opacity .5s ease; }
.px-dib .i-punto { fill: #e85d2a; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.px-dib .i-txt { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; fill: rgba(244, 241, 234, .82); opacity: 0; transition: opacity .4s ease, fill .6s ease; }
.px-dib .i-txt.is-on { opacity: 1; }
.px-dib .i-txt.is-ok { fill: #e85d2a; }
.px-dib .i-capa-ext { opacity: 1; transition: opacity 1s ease; }

.px-dib.is-drawing .i-guia { animation: pxDraw 1.3s cubic-bezier(.3,.7,0,1) forwards; }
.px-dib.is-drawing .i-marca { animation: pxFade .5s ease forwards; }
.px-dib.is-drawing .i-trazo { animation: pxDraw 2s cubic-bezier(.45,.05,.3,1) forwards; }
.px-dib.is-ext .i-ext { animation: pxDraw 1.2s cubic-bezier(.45,.05,.3,1) forwards; }
.px-dib.is-tanteo .i-medida, .px-dib.is-tanteo .i-tanteo { opacity: 1; }
.px-dib.is-filled .i-relleno { opacity: .94; }
.px-dib.is-filled .i-trazo { opacity: .35; transition: opacity .9s ease; }
.px-dib.is-filled .i-tanteo, .px-dib.is-filled .i-medida { opacity: 0; }
.px-dib.is-filled .i-capa-guias { opacity: .6; transition: opacity 1s ease; }
.px-dib.is-filled .i-punto { animation: pxDot .7s cubic-bezier(.3,1.6,.5,1) .2s forwards; }
/* traspaso: el sólido 2D se apaga mientras el 3D aparece exactamente encima; guías y fórmulas se quedan un momento */
.px-dib.is-solido .i-capa-solido, .px-dib.is-solido .i-punto { opacity: 0; transition: opacity 1.3s ease .25s; }
.px-dib.is-solido .i-capa-ext { opacity: 0; transition: opacity 1.6s ease .6s; }
.px-dib.is-solido .i-emblema { opacity: 0; transition: opacity 1.2s ease 1.3s; }
@keyframes pxDraw { to { stroke-dashoffset: 0; } }
@keyframes pxFade { to { opacity: 1; } }
@keyframes pxDot { to { transform: scale(1); } }
@media (max-width: 1023px) { .px-dib .i-textos { display: none; } }
@media (prefers-reduced-motion: reduce) { #px-intro-2d { display: none; } }
html.light-theme .px-dib .i-trazo { stroke: #09090b; }
html.light-theme .px-dib .i-relleno { fill: #09090b; }
html.light-theme .px-dib .i-guia { stroke: rgba(9, 9, 11, .22); }
html.light-theme .px-dib .i-txt { fill: rgba(9, 9, 11, .8); }
html.light-theme .px-dib .i-txt.is-ok { fill: #c2410c; }

/* 3. Secciones del inicio con el mismo lenguaje visual */
.v3-cab { margin-bottom: 1.75rem; }
.v3-h3 { font-size: 1.5rem; line-height: 1.2; color: #fff; margin: .75rem 0 .6rem; letter-spacing: -.01em; }
.v3-p { color: #d6d1c7; font-size: .9375rem; line-height: 1.65; }
.v3-num { display: flex; align-items: center; gap: .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.v3-ph { color: #e85d2a; border-bottom: 1px dashed currentColor; white-space: nowrap; }
.v3-faq .v3-ph { white-space: normal; }

/* Proceso en línea: los dibujos se trazan y la línea avanza al bajar */
.v3-linea { --nodo-y: 98px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-lp { position: relative; padding-right: clamp(1.25rem, 2.5vw, 2.5rem); }
.v3-lp-dib { display: block; width: 120px; height: 84px; margin-bottom: 46px; overflow: visible; }
.v3-lp-nodo { position: absolute; left: 0; top: var(--nodo-y); width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #a8a298; background: #070708; z-index: 1; transition: border-color .4s ease, background-color .4s ease; }
.v3-lp::before, .v3-lp::after { content: ""; position: absolute; left: 6px; top: calc(var(--nodo-y) + 5px); width: 100%; height: 1.5px; background: rgba(255, 255, 255, .12); }
.v3-lp::after { background: #e85d2a; transform: scaleX(0); transform-origin: left center; transition: transform 1s cubic-bezier(.3,.7,0,1); }
.v3-lp:last-child::before, .v3-lp:last-child::after { display: none; }
.v3-lp.is-done::after { transform: scaleX(1); }
.v3-lp.is-on .v3-lp-nodo { border-color: #e85d2a; background: #e85d2a; }
.v3-lp-num { font-size: .75rem; letter-spacing: .14em; color: #e85d2a; font-weight: 600; margin-bottom: .35rem; }
.v3-lp-t { font-size: 1.6rem; line-height: 1.15; color: #fff; margin-bottom: .55rem; letter-spacing: -.01em; }
.v3-lp .v3-p { max-width: 21rem; }
.v3-lp-dib .dib { fill: none; stroke: #d6d1c7; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.v3-lp-dib .dib--a { stroke: #e85d2a; stroke-width: 1.6; }
.v3-lp-dib .dib--guia { stroke: rgba(214, 209, 199, .35); stroke-dasharray: 3 3; }
.v3-lp-dib .dib-punto { fill: #e85d2a; transform-box: fill-box; transform-origin: center; }
.v3-lp-dib .dib-punto--n { fill: #a8a298; }
html.js .v3-lp-dib .dib:not(.dib--guia) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.45,.05,.3,1); }
html.js .v3-lp-dib .dib--guia { opacity: 0; transition: opacity .6s ease; }
html.js .v3-lp-dib .dib-punto { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .9s; }
html.js .v3-lp-dib .dib:nth-child(2) { transition-delay: .15s; }
html.js .v3-lp-dib .dib:nth-child(3) { transition-delay: .3s; }
html.js .v3-lp-dib .dib:nth-child(4) { transition-delay: .45s; }
html.js .v3-lp-dib .dib:nth-child(5) { transition-delay: .6s; }
html.js .v3-lp.is-on .v3-lp-dib .dib:not(.dib--guia) { stroke-dashoffset: 0; }
html.js .v3-lp.is-on .v3-lp-dib .dib--guia { opacity: 1; }
html.js .v3-lp.is-on .v3-lp-dib .dib-punto { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    html.js .v3-lp-dib .dib:not(.dib--guia) { stroke-dashoffset: 0; transition: none; }
    html.js .v3-lp-dib .dib--guia { opacity: 1; }
    html.js .v3-lp-dib .dib-punto { transform: none; transition: none; }
    .v3-lp::after { transition: none; }
}
@media (max-width: 1023px) {
    .v3-linea { --nodo-y: 90px; grid-template-columns: 1fr; }
    .v3-lp { padding: 0 0 2.75rem 2.25rem; }
    .v3-lp:last-child { padding-bottom: 0; }
    .v3-lp-dib { width: 104px; height: 73px; margin-bottom: 14px; }
    .v3-lp::before, .v3-lp::after { left: 5.25px; top: calc(var(--nodo-y) + 6px); width: 1.5px; height: 100%; }
    .v3-lp::after { transform: scaleY(0); transform-origin: center top; }
    .v3-lp.is-done::after { transform: scaleY(1); }
    .v3-lp-t { font-size: 1.4rem; }
}
html.light-theme .v3-lp-t { color: #09090b; }
html.light-theme .v3-lp-nodo { background: #fdfbf8; }
html.light-theme .v3-lp::before { background: rgba(9, 9, 11, .12); }
html.light-theme .v3-lp-dib .dib { stroke: #3f3a33; }

.v3-precio { border-radius: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); }
.v3-precio-izq { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.v3-monto { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.25rem); line-height: 1.05; color: #fff; letter-spacing: -.02em; }
.v3-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .5rem;
    padding: .8rem 1.5rem; border-radius: 9999px; background: #fff; color: #070708;
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; transition: background-color .2s, color .2s;
}
.v3-btn:hover { background: #e85d2a; color: #070708; }
.v3-btn[disabled] { opacity: .6; cursor: wait; }
.v3-lista-t { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #a8a298; margin-bottom: .5rem; }
.v3-lista { border-top: 1px solid rgba(255, 255, 255, .1); margin-bottom: 1.75rem; }
.v3-lista:last-child { margin-bottom: 0; }
.v3-lista li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0 .8rem 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; color: #f4f1ea; font-size: .9375rem; }
.v3-lista li::before { content: ""; position: absolute; left: .15rem; top: 50%; width: .7rem; height: 1.5px; background: #a8a298; }
.v3-lista--si li::before { width: .6rem; height: .35rem; margin-top: -.3rem; background: none; border-left: 1.5px solid #e85d2a; border-bottom: 1.5px solid #e85d2a; transform: rotate(-45deg); }
.v3-val { color: #a8a298; white-space: nowrap; font-variant-numeric: tabular-nums; }

.v3-faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.v3-faq-lista { display: flex; flex-direction: column; gap: .75rem; }
.v3-q { border-radius: 1rem; padding: 0; }
.v3-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; color: #fff; font-weight: 500; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.v3-q summary::-webkit-details-marker, .v3-q summary::marker { display: none; content: ""; }
.v3-q summary i { position: relative; width: 12px; height: 12px; flex: none; }
.v3-q summary i::before, .v3-q summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: #e85d2a; transition: transform .3s ease; }
.v3-q summary i::after { transform: rotate(90deg); }
.v3-q[open] summary i::after { transform: rotate(0deg); }
.v3-q p { padding: 0 1.4rem 1.25rem; }
.v3-q summary:focus-visible { outline: 2px solid #e85d2a; outline-offset: -2px; border-radius: 1rem; }

/* Formulario corto al final del inicio */
.v3-contacto { border-radius: 1rem; padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.v3-contacto-txt { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.v3-enlace { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #f4f1ea; display: inline-flex; gap: .5rem; align-items: center; border-bottom: 1px solid rgba(232, 93, 42, .6); padding-bottom: .2rem; }
.v3-enlace:hover { color: #e85d2a; }
.v3-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.v3-form .input-group { margin: 0; }
.v3-form .v3-ancho { grid-column: 1 / -1; }
.v3-form .v3-pie { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.v3-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v3-legal { font-size: 11px; line-height: 1.5; color: #a8a298; }
.v3-legal a { text-decoration: underline; text-underline-offset: 2px; }
#v3-form-estado { font-size: 13px; color: #d6d1c7; }

/* Estado honesto de los proyectos */
.v3-estado { display: inline-flex; align-items: center; gap: .4rem; }
.v3-estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e85d2a; }
.v3-estado--acad::before { background: transparent; border: 1.5px solid #a8a298; }

/* 4. Pestaña Equipo: selección de personaje, sin jerarquía (dos cartas iguales) */
.pxsel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pxsel-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.pxsel-pista { grid-column: 1 / -1; font-size: 11px; color: #a8a298; letter-spacing: .08em; margin-top: .25rem; }
.pxsel-carta {
    position: relative; display: block; padding: 0; text-align: left; border-radius: 1.1rem; overflow: hidden; aspect-ratio: 4 / 5;
    background: #0c0c0e; border: 1px solid rgba(255, 255, 255, .12); cursor: pointer;
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.3,.7,0,1);
}
.pxsel-carta img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s cubic-bezier(.3,.7,0,1), filter .4s ease; filter: saturate(.85); }
.pxsel-carta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 8, 0) 50%, rgba(7, 7, 8, .88) 100%); pointer-events: none; }
.pxsel-carta-pie { position: absolute; left: 1rem; right: 1rem; bottom: .95rem; z-index: 1; }
.pxsel-carta-pie b { display: block; font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(1.15rem, .9rem + .8vw, 1.5rem); line-height: 1.1; color: #fff; }
.pxsel-carta-pie small { display: block; margin-top: .3rem; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: #d6d1c7; }
.pxsel-marca { position: absolute; top: .8rem; left: .8rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem; border-radius: 9999px; background: rgba(7, 7, 8, .72); border: 1px solid rgba(232, 93, 42, .5); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: #f4f1ea; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease; }
.pxsel-marca::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e85d2a; }
.pxsel-carta:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.pxsel-carta:hover img { transform: scale(1.03); }
.pxsel-carta[aria-selected="true"] { border-color: #e85d2a; box-shadow: 0 0 0 1px rgba(232, 93, 42, .4), 0 14px 40px rgba(232, 93, 42, .14); }
.pxsel-carta[aria-selected="true"] img { filter: none; }
.pxsel-carta[aria-selected="true"] .pxsel-marca { opacity: 1; transform: none; }
.pxsel-carta:focus-visible { outline: 2px solid #e85d2a; outline-offset: 3px; }
.pxsel-ficha { display: flex; flex-direction: column; gap: 1rem; }
.pxsel-clase { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: #e85d2a; font-weight: 500; }
.pxsel-nombre { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1.05; color: #fff; letter-spacing: -.02em; }
.pxsel-rol { color: #d6d1c7; font-size: .9375rem; }
.pxsel-badge { align-self: flex-start; font-size: 11px; padding: .35rem .8rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .15); color: #d6d1c7; background: rgba(255, 255, 255, .03); }
.pxsel-bio { color: #d6d1c7; font-size: 1rem; line-height: 1.7; max-width: 42rem; }
.pxsel-hab-t { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: #a8a298; margin-top: .5rem; }
.pxsel-hab { display: grid; gap: .75rem; }
.pxsel-hab li { padding: 1rem 1.1rem; border-radius: .9rem; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); border-left: 2px solid rgba(232, 93, 42, .6); }
.pxsel-hab li h4 { color: #fff; font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.pxsel-hab li p { color: #d6d1c7; font-size: .85rem; line-height: 1.55; }
.pxsel-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: .5rem; }

@media (max-width: 1023px) {
    .v3-precio, .v3-faq, .v3-contacto, .pxsel { grid-template-columns: 1fr; }
    .pxsel-pista { display: none; }
}
@media (max-width: 640px) {
    .v3-lista li { flex-wrap: wrap; }
    .v3-form { grid-template-columns: 1fr; }
    .pxsel-duo { gap: .65rem; }
    .pxsel-carta-pie { left: .7rem; right: .7rem; bottom: .7rem; }
    .pxsel-marca { top: .55rem; left: .55rem; padding: .3rem .55rem; letter-spacing: .1em; }
}

/* Modo claro */
html.light-theme .v3-h3, html.light-theme .v3-monto, html.light-theme .v3-q summary, html.light-theme .v3-lista li,
html.light-theme .pxsel-nombre, html.light-theme .pxsel-hab li h4, html.light-theme .v3-enlace { color: #09090b; }
html.light-theme .v3-p, html.light-theme .pxsel-bio, html.light-theme .pxsel-rol, html.light-theme .pxsel-hab li p, html.light-theme #v3-form-estado { color: #3f3a33; }
html.light-theme .v3-lista, html.light-theme .v3-lista li { border-color: rgba(9, 9, 11, .12); }
html.light-theme .v3-btn { background: #09090b; color: #fdfbf8; }
html.light-theme .v3-btn:hover { background: #c2410c; color: #fff; }
html.light-theme .pxsel-hab li { background: rgba(253, 251, 248, .9); border-color: rgba(190, 175, 155, .42); }

/* 5. Animación en reposo de los dibujos del proceso (solo corren cuando la sección está en pantalla; 0 CPU fuera de vista) */
html.js .v3-lp.is-on .dib-tecleo { animation: pxTecleo 1.5s ease-in-out 1.8s infinite paused; }
html.js .v3-lp.is-on .dib-tecleo:nth-of-type(2) { animation-delay: 1.95s; }
html.js .v3-lp.is-on .dib-tecleo:nth-of-type(3) { animation-delay: 2.1s; }
html.js .v3-lp.is-on .dib-lineas { animation: pxReescribe 5s ease-in-out 2.2s infinite paused; }
html.js .v3-lp.is-on .dib-check { animation: pxCheck 5s ease-in-out 2.2s infinite paused; }
html.js .v3-lp.is-on .dib-aguja { transform-box: view-box; transform-origin: 60px 42px; animation: pxGira 7s linear 1.6s infinite paused; }
.v3-lp-dib .dib-onda { fill: none; stroke: #e85d2a; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
html.js .v3-lp.is-on .dib-onda { animation: pxOnda 2.2s ease-out 1.6s infinite paused; }
html.js .v3-linea.is-en-vista .v3-lp.is-on .dib-tecleo,
html.js .v3-linea.is-en-vista .v3-lp.is-on .dib-lineas,
html.js .v3-linea.is-en-vista .v3-lp.is-on .dib-check,
html.js .v3-linea.is-en-vista .v3-lp.is-on .dib-aguja,
html.js .v3-linea.is-en-vista .v3-lp.is-on .dib-onda { animation-play-state: running; }
.v3-lp-dib { contain: layout style paint; }
@keyframes pxTecleo { 0%, 60%, 100% { transform: translateY(0); opacity: 1; } 30% { transform: translateY(-3.5px); opacity: .55; } }
@keyframes pxReescribe { 0%, 45% { stroke-dashoffset: 0; } 55% { stroke-dashoffset: 1; } 75%, 100% { stroke-dashoffset: 0; } }
@keyframes pxCheck { 0%, 74% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 1; } 92%, 100% { stroke-dashoffset: 0; } }
@keyframes pxGira { to { transform: rotate(360deg); } }
@keyframes pxOnda { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.v3-lp:hover .v3-lp-dib .dib:not(.dib--a):not(.dib--guia) { stroke: #f4f1ea; }
.v3-lp:hover .v3-lp-nodo { box-shadow: 0 0 0 5px rgba(232, 93, 42, .15); }
.v3-lp-nodo { transition: border-color .4s ease, background-color .4s ease, box-shadow .3s ease; }
@media (prefers-reduced-motion: reduce) {
    html.js .v3-lp.is-on .dib-tecleo, html.js .v3-lp.is-on .dib-lineas, html.js .v3-lp.is-on .dib-check,
    html.js .v3-lp.is-on .dib-aguja, html.js .v3-lp.is-on .dib-onda { animation: none; }
}

/* 6. Correcciones de diseño: utilidades que faltaban en el Tailwind compilado del sitio original
      (por eso en 1920 px el hero quedaba pegado a la izquierda) */
#inicio .max-w-\[1360px\] { max-width: 1232px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) {
    /* ancho proporcional: márgenes de ~4 % por lado hasta 1640 px, todo alineado con el menú */
    :root { --px-ancho: min(1640px, 92vw); }
    header nav.max-w-screen-xl { max-width: var(--px-ancho); }
    main .max-w-screen-xl, footer .max-w-screen-xl, #inicio .max-w-\[1360px\] { max-width: calc(var(--px-ancho) - 48px); }
}
.pb-24 { padding-bottom: 6rem; } .pt-4 { padding-top: 1rem; } .pr-1 { padding-right: .25rem; } .py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.mt-1\.5 { margin-top: .375rem; } .mt-3 { margin-top: .75rem; } .gap-3\.5 { gap: .875rem; } .min-w-0 { min-width: 0; } .min-h-\[42px\] { min-height: 42px; }
.items-stretch { align-items: stretch; } .right-3 { right: .75rem; } .bottom-3 { bottom: .75rem; } .w-4 { width: 1rem; } .h-4 { height: 1rem; }
@media (min-width: 640px) {
    .sm\:gap-5 { gap: 1.25rem; } .sm\:mt-10 { margin-top: 2.5rem; } .sm\:mt-7 { margin-top: 1.75rem; } .sm\:p-3\.5 { padding: .875rem; } .sm\:pt-5 { padding-top: 1.25rem; }
}
@media (min-width: 768px) { .md\:pb-0 { padding-bottom: 0; } }
@media (min-width: 1024px) {
    .lg\:w-\[50\%\] { width: 50%; } .lg\:pr-2 { padding-right: .5rem; } .lg\:pt-28 { padding-top: 7rem; }
}

/* 7. Sin texto de ayuda bajo el 3D; aviso legal con aire */
#px-stage-subtle-caption { display: none !important; }
form .v3-legal { margin-top: 1.25rem; }
#v3-form .v3-legal { margin-top: .25rem; }

/* 8. WhatsApp: logo oficial; el botón flotante es solo el logo */
.v3-wa-ico { width: 1.05em; height: 1.05em; flex: none; fill: currentColor !important; display: inline-block; vertical-align: -0.15em; margin-right: .45em; }
#floating-cta.v3-wa-flot { width: 56px; height: 56px; padding: 0 !important; justify-content: center; border-radius: 9999px; gap: 0; }
#floating-cta.v3-wa-flot .v3-wa-ico { width: 27px; height: 27px; margin: 0; }
#book-call-link .v3-wa-ico { margin-right: 0; }
.v3-wa-ico path { fill: currentColor !important; }


/* 9. v4e: frases del hero sin puntos; separadas por una línea fina */
.v3-hechos { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.8rem; row-gap: .45rem; margin-bottom: 1rem; overflow: hidden; }
.v3-hecho { position: relative; white-space: nowrap; }
/* la línea queda a la izquierda de cada frase; la que empieza renglón se recorta (overflow), así nunca queda colgando */
.v3-hecho::before { content: ""; position: absolute; left: -.9rem; top: 50%; width: 1px; height: .95em; transform: translateY(-50%); background: currentColor; opacity: .35; }

/* 10. Precios: costo de mantenerla en línea, al pie de la columna izquierda */
.v3-precio-izq { height: 100%; }
.v3-costo { margin-top: auto; width: 100%; padding-top: 1.5rem; }
.v3-costo dl { margin: .25rem 0 0; }
.v3-costo dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(244, 241, 234, .16); font-size: 14px; }
.v3-costo dt { color: #d6d1c7; }
.v3-costo dd { margin: 0; color: #f4f1ea; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3-costo-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; color: #d6d1c7; font-size: 14px; }
.v3-costo-total strong { font-weight: 400; font-size: 1.75rem; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.v3-costo-total small { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: #f4f1ea; margin-left: .55rem; }
.v3-costo-nota { font-size: 12.5px; color: #a8a298; margin-top: .35rem; }
html.light-theme .v3-costo dl div { border-color: rgba(9, 9, 11, .14); }
html.light-theme .v3-costo dt, html.light-theme .v3-costo-total { color: #3f3a33; }
html.light-theme .v3-costo dd, html.light-theme .v3-costo-total strong { color: #09090b; }
html.light-theme .v3-costo-nota { color: #6b6358; }
html.light-theme .v3-costo-total small { color: #09090b; }

/* 11. Recuadro "¿Tienes un proyecto en mente?": negro cálido, no el gris azulado por defecto */
html.light-theme #estudio-cta-box { background: #1d1915 !important; border-color: #2a241e !important; box-shadow: 0 20px 40px -12px rgba(60, 40, 20, .28) !important; }
html.light-theme #estudio-cta-box p, html.light-theme #estudio-cta-box h3 { color: #f4efe6 !important; }
html.light-theme #estudio-cta-box p.text-accent { color: #f08a5d !important; }

/* 12. Preguntas: el título acompaña al bajar */
/* el título de preguntas queda fijo en su lugar (sin seguir el scroll) */
.v3-faq-otra { margin-top: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 22rem; }

/* 13. Contacto del inicio más grande */
.v3-contacto { padding: clamp(2rem, 5vw, 4.5rem); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.v3-contacto-txt { gap: 1.25rem; }
#quick-contact-heading { font-size: clamp(2.25rem, 1.5rem + 2vw, 3.25rem); line-height: 1.06; }
.v3-contacto .v3-p { font-size: 1.125rem; }
.v3-contacto .v3-enlace { font-size: 13px; }
.v3-form { gap: 2.25rem 2rem; }
.v3-form .input-group input, .v3-form .input-group textarea { font-size: 1.125rem; padding: 1.35rem 0 .9rem; }
.v3-form .input-group label { font-size: .8125rem; top: 1.3rem; }
.v3-form .input-group input:focus ~ label, .v3-form .input-group input:not(:placeholder-shown) ~ label,
.v3-form .input-group textarea:focus ~ label, .v3-form .input-group textarea:not(:placeholder-shown) ~ label { top: -.6rem; font-size: .75rem; }
.v3-form .v3-btn { padding: 1rem 2.4rem; font-size: 13px; }
#v3-form .v3-legal { font-size: 12px; }
html.light-theme .v3-form .input-group input, html.light-theme .v3-form .input-group textarea { background: transparent !important; }
.v3-costo dd.v3-gratis { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: #f08a5d; }
html.light-theme .v3-costo dd.v3-gratis { color: #c2410c; }

/* 14. Intro 2D: cada cálculo se borra cuando ya se usó */
.px-dib .i-retirado { opacity: 0 !important; transition: opacity .9s ease !important; }

/* 15. Precios por paquete: alcance, detalle, cambios y pago */
.v3-paquetes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 1rem; padding: 0; overflow: hidden; }
.v3-paq { padding: clamp(1.5rem, 2.6vw, 2.25rem); display: flex; flex-direction: column; gap: .8rem; }
.v3-paq + .v3-paq { border-left: 1px solid rgba(255, 255, 255, .1); }
.v3-paq .v3-lista-t { margin-bottom: 0; }
.v3-monto small { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 14px; font-weight: 500; color: #a8a298; margin: 0 .35rem; letter-spacing: 0; }
.v3-monto small:first-child { margin-left: 0; }
.v3-monto--chico { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.v3-paq .v3-p { min-height: 4.4em; }
@media (max-width: 1023px) { .v3-paq .v3-p { min-height: 0; } }
.v3-paq-lista li { padding: .6rem 0; border-top: 1px dashed rgba(244, 241, 234, .16); font-size: .9rem; color: #e9e4da; line-height: 1.45; }
.v3-cierre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.25rem .25rem 2rem; }
.v3-detalle { border-radius: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.v3-detalle-der { display: flex; flex-direction: column; }
.v3-detalle-der .v3-costo { padding-top: .5rem; }
.v3-cambios { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.v3-cambio { border-radius: 1rem; padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: .6rem; }
.v3-ej { font-size: .875rem; line-height: 1.55; color: #a8a298; padding-top: .7rem; border-top: 1px dashed rgba(244, 241, 234, .16); }
.v3-garantia { font-size: .9rem; color: #d6d1c7; padding: 1rem .25rem 1.25rem; }
.v3-pago { border-radius: 1rem; padding: clamp(1.4rem, 2.6vw, 2.25rem); }
.v3-pago-pasos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin: .4rem 0 .9rem; }
.v3-pago-pasos > div { padding: .25rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.v3-pago-pasos > div:first-child { padding-left: 0; border-left: 0; }
.v3-pago-cuando { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #a8a298; margin-bottom: .35rem; }
.v3-pago-que { color: #f4f1ea; font-size: .95rem; line-height: 1.45; }
.v3-pago-que strong.font-serif { font-size: 2rem; font-weight: 400; line-height: 1; margin-right: .35rem; }
@media (max-width: 1023px) {
    .v3-paquetes, .v3-detalle, .v3-cambios { grid-template-columns: 1fr; }
    .v3-paq + .v3-paq { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 640px) {
    .v3-pago-pasos { grid-template-columns: 1fr; gap: .9rem; }
    .v3-pago-pasos > div { padding: 0; border-left: 0; }
}
html.light-theme .v3-paq + .v3-paq, html.light-theme .v3-pago-pasos > div { border-color: rgba(9, 9, 11, .12); }
html.light-theme .v3-paq-lista li, html.light-theme .v3-ej { border-color: rgba(9, 9, 11, .14); }
html.light-theme .v3-paq-lista li, html.light-theme .v3-pago-que { color: #1c1915; }
html.light-theme .v3-ej, html.light-theme .v3-pago-cuando, html.light-theme .v3-monto small { color: #5c554b; }
html.light-theme .v3-garantia { color: #3f3a33; }
@media (max-width: 1023px) { html.light-theme .v3-paq + .v3-paq { border-top-color: rgba(9, 9, 11, .12); } }

/* 16. Equipo: carrusel 3D circular. Las posiciones las calcula v4.js en cada cuadro (anillo visto de lado);
   aquí solo va el escenario, el tamaño y el brillo según qué tan adelante está cada carta (--b). */
.pxsel-duo { display: block; position: relative; aspect-ratio: 5 / 4; max-height: 470px; height: auto; perspective: 1400px; perspective-origin: 50% 35%; margin-bottom: 1rem; isolation: isolate; }
.pxsel-duo .pxsel-carta {
    position: absolute; top: 5%; left: 50%; width: min(52%, 340px);
    transform: translateX(-50%); will-change: transform, filter;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    filter: brightness(var(--b, 1)) saturate(calc(.55 + .45 * var(--b, 1)));
    transition: border-color .35s ease, box-shadow .35s ease;
}
.pxsel-duo .pxsel-carta[data-pos="lado"]:hover { filter: brightness(calc(var(--b, 1) + .22)) saturate(.9); }
.pxsel-duo .pxsel-carta[data-pos="lado"] .pxsel-carta-pie { opacity: .85; }
.pxsel-duo::after { content: ""; position: absolute; left: 50%; bottom: 2%; width: min(62%, 360px); height: 26px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%); filter: blur(4px); pointer-events: none; }
html.light-theme .pxsel-duo::after { background: radial-gradient(ellipse at center, rgba(60, 40, 20, .22), transparent 70%); }
.pxsel-duo .pxsel-pista { position: absolute; left: 0; right: 0; bottom: -2.2rem; margin: 0; text-align: center; }
@media (max-width: 1023px) { .pxsel-duo .pxsel-pista { display: block; } .pxsel-duo .pxsel-carta { width: min(56%, 300px); } }

/* 17. Paquetes y detalle en tarjetas separadas, una al lado de la otra */
.v3-paquetes { gap: 1.25rem; border-radius: 0; overflow: visible; }
.v3-paq { border-radius: 1rem; }
.v3-paquetes .v3-paq + .v3-paq { border: 1px solid rgba(255, 255, 255, .08); }
.v3-detalle { padding: 0; gap: 1.25rem; border-radius: 0; }
.v3-detalle-col { border-radius: 1rem; padding: clamp(1.5rem, 2.8vw, 2.25rem); }
html.light-theme .v3-paquetes .v3-paq + .v3-paq { border-color: var(--px-borde-claro, rgba(190, 175, 155, .42)); }

/* 18. Planes por resultado: tabla comparativa (Presencia / Empresa / Reservas) */
.v3-lema { font-family: 'Newsreader', 'Instrument Serif', Georgia, serif; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.2; color: #f4f1ea; margin: 1rem 0 .4rem; }
.v3-planes { border-radius: 1rem; padding: 0; overflow: hidden; }
.v3-planes-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v3-planes table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.v3-planes th, .v3-planes td { padding: 1rem 1.5rem; text-align: left; vertical-align: middle; border-top: 1px solid rgba(255, 255, 255, .08); color: #f4f1ea; }
.v3-planes th + th, .v3-planes th + td, .v3-planes td + td { border-left: 1px solid rgba(255, 255, 255, .08); }
.v3-planes thead th { border-top: 0; vertical-align: top; padding-top: 1.75rem; padding-bottom: 1.5rem; font-weight: 400; }
.v3-planes thead th > span { display: block; }
.v3-planes thead .v3-lista-t { margin-bottom: 0; }
.v3-planes thead .v3-monto { margin: .4rem 0 .55rem; }
.v3-planes-para { font-size: .875rem; line-height: 1.5; color: #c9c3b8; max-width: 16rem; }
.v3-planes tbody th { font-weight: 500; color: #d6d1c7; width: 28%; }
.v3-planes tbody th small { display: block; margin-top: .25rem; font-size: .78rem; font-weight: 400; color: #a8a298; line-height: 1.4; }
.v3-planes-dest { background: rgba(232, 93, 42, .06); }
.v3-planes thead .v3-planes-dest { box-shadow: inset 0 2px 0 #e85d2a; }
.v3-planes thead .v3-planes-reco { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e85d2a; margin-bottom: .55rem; }
.v3-si { width: 18px; height: 18px; fill: none; stroke: #e85d2a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.v3-no { color: #6f6a62; }
.v3-planes-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-top: 0; margin: 0; }
.v3-planes-lista li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v3-cambios { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-cambio--plan { border-color: rgba(232, 93, 42, .35) !important; }
@media (max-width: 1023px) {
    .v3-planes tbody th, .v3-planes-esq { position: sticky; left: 0; z-index: 1; background: #0e0e10; }
    .v3-planes-lista { grid-template-columns: 1fr; }
    .v3-cambios { grid-template-columns: 1fr; }
}
html.light-theme .v3-lema, html.light-theme .v3-planes th, html.light-theme .v3-planes td { color: #09090b; }
html.light-theme .v3-planes tbody th { color: #3f3a33; }
html.light-theme .v3-planes th, html.light-theme .v3-planes td, html.light-theme .v3-planes-lista li { border-color: rgba(9, 9, 11, .1); }
html.light-theme .v3-planes-para, html.light-theme .v3-planes tbody th small { color: #5c554b; }
html.light-theme .v3-planes-dest { background: rgba(232, 93, 42, .07); }
html.light-theme .v3-no { color: #a39b8f; }
@media (max-width: 1023px) { html.light-theme .v3-planes tbody th, html.light-theme .v3-planes-esq { background: #fbf8f3; } }

.v3-planes thead th { position: relative; }
.v3-planes thead .v3-planes-reco { position: absolute; top: .75rem; left: 1.5rem; margin: 0; }
.v3-planes-todos th { vertical-align: top; padding-top: 1.35rem; }
.v3-planes-movil { display: none; }
.v3-pm { border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.v3-pm .v3-lista { margin: .5rem 0 0; }
.v3-pm--dest { border-color: rgba(232, 93, 42, .5) !important; }
.v3-pm .v3-planes-reco { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e85d2a; }
@media (max-width: 767px) {
    .v3-planes { display: none; }
    .v3-planes-movil { display: grid; gap: 1rem; }
}

/* nota bajo un ítem de lista (ej. manual de marca); ojo: .v3-sub es la clase de las secciones */
.v3-lista .v3-item-nota { display: block; margin-top: .2rem; font-size: .78rem; color: #a8a298; line-height: 1.4; }
html.light-theme .v3-lista .v3-item-nota { color: #5c554b; }
.v3-lista--no li::before { top: 1.45rem; }
.v3-lista li > span:first-child { min-width: 0; }
/* "Después de la entrega" arriba, alineado con "Súmale a cualquier plan" */
.v3-detalle-der .v3-costo { margin-top: 0; padding-top: 0; }

/* 19. Cómo se paga: línea de 3 momentos alineados (marca, etiqueta, cifra, explicación) */
.v3-pago-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1.75rem; }
.v3-pago-cab .v3-h3 { margin: 0; }
.v3-pago-cab .v3-costo-nota { margin: 0; }
.v3-pago-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.v3-pago-pasos::before { content: ""; position: absolute; left: 5px; right: 0; top: 5px; height: 1px; background: rgba(244, 241, 234, .16); }
.v3-pago-pasos li { position: relative; padding: 1.6rem 1.5rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.v3-pago-pasos li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: #0b0b0c; border: 1.5px solid #e85d2a; box-sizing: border-box; }
.v3-pago-pasos li:first-child::before { background: #e85d2a; }
.v3-pago-pasos .v3-pago-cuando { margin: 0; }
.v3-pago-cifra { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); line-height: 1; color: #f4f1ea; margin: .1rem 0 .25rem; }
.v3-pago-pasos .v3-pago-que { color: #d6d1c7; font-size: .95rem; line-height: 1.5; max-width: 18rem; }
@media (max-width: 767px) {
    .v3-pago-pasos { grid-template-columns: 1fr; gap: 1.5rem; }
    .v3-pago-pasos::before { left: 5px; right: auto; top: 5px; bottom: 0; width: 1px; height: auto; }
    .v3-pago-pasos li { padding: 0 0 0 1.75rem; }
}
html.light-theme .v3-pago-cifra { color: #09090b; }
html.light-theme .v3-pago-pasos .v3-pago-que { color: #3f3a33; }
html.light-theme .v3-pago-pasos::before { background: rgba(9, 9, 11, .15); }
html.light-theme .v3-pago-pasos li::before { background: #fdfbf8; }
html.light-theme .v3-pago-pasos li:first-child::before { background: #e85d2a; }
@media (max-width: 640px) { .v3-lista--no li { flex-direction: column; gap: .25rem; } .v3-lista--no li .v3-val { white-space: normal; } }

/* 20. Preguntas: título y "otra pregunta" en una fila; las preguntas en 2 columnas (sin espacio vacío) */
.v3-faq { display: block; }
.v3-faq > .v3-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: 2rem; }
.v3-faq > .v3-cab > p, .v3-faq > .v3-cab > h2 { flex-basis: 100%; }
.v3-faq > .v3-cab > h2 { flex-basis: auto; }
.v3-faq-otra { margin-top: 0; max-width: 24rem; }
.v3-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.25rem; align-items: start; }
@media (max-width: 1023px) { .v3-faq-cols { grid-template-columns: 1fr; } }

/* 21. Encabezados compactos: título a la izquierda, una sola frase a la derecha (sin repetir ideas) */
.v3-cab--fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem 3rem; }
.v3-cab-lado { margin: 0; max-width: 40rem; color: #c9c3b8; }
@media (min-width: 1024px) { .v3-cab-lado { text-align: right; } }
html.light-theme .v3-cab-lado { color: #5c554b; }
.v3-sub--primera { padding-top: 0; }
.v3-sub--cerca { padding-top: clamp(2rem, 4vw, 3rem); }
.v3-cierre--fila { padding: clamp(.75rem, 1.8vh, 1.25rem) .25rem 0; }
.v3-cierre--final { padding-top: clamp(2rem, 4vw, 3rem); }
.v3-enlace--eq { margin-top: 1rem; }
.v3-faq-enlaces { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }

/* 22. Tabla de planes a la medida de la pantalla: encabezado + tabla + cierre caben en el alto visible
       (probado de 1280x720 y 1366x657 a 1920x1080); en celular los planes se deslizan de lado */
@media (min-width: 1024px) {
    #incluye { padding-top: clamp(3rem, 7vh, 6rem); }
    .v3-encaja > .v3-cab { margin-bottom: clamp(.7rem, 2.2vh, 1.5rem); }
    .v3-encaja > .v3-cab h2 { font-size: clamp(2.1rem, .9rem + 3.4vh, 3rem); }
    .v3-planes th, .v3-planes td { padding: clamp(.28rem, 1.05vh, .75rem) 1.35rem; font-size: clamp(.8rem, .56rem + .5vh, .92rem); }
    .v3-planes thead th { padding-top: clamp(1.55rem, 3.4vh, 2.3rem); padding-bottom: clamp(.5rem, 1.5vh, 1.1rem); }
    .v3-planes thead .v3-planes-reco { top: clamp(.45rem, 1.1vh, .8rem); }
    .v3-planes thead .v3-monto { font-size: clamp(1.45rem, .5rem + 2.3vh, 2.2rem); margin: .15rem 0 .3rem; }
    .v3-planes-para { font-size: .8rem; line-height: 1.35; }
    .v3-planes-todos th { padding-top: clamp(.45rem, 1.3vh, .9rem); }
    .v3-planes-lista { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); column-gap: 1.25rem; }
    .v3-planes-lista li { padding: clamp(.1rem, .45vh, .3rem) 0 clamp(.1rem, .45vh, .3rem) 1.4rem; font-size: clamp(.78rem, .6rem + .35vh, .875rem); border-bottom: 0; }
}
@media (max-width: 767px) {
}

/* 23. Galería de proyectos: anillo 3D (las de atrás se ven más chicas y oscuras); "Ver todos" la abre en grilla */
.v3-gal-marco { overflow-x: clip; margin: 0 -1.5rem; padding: 0 1.5rem; }
.v3-gal { position: relative; perspective: 1700px; perspective-origin: 50% 30%; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.v3-gal:focus-visible { outline: 2px solid #e85d2a; outline-offset: 8px; border-radius: 16px; }
.v3-gal-escena { position: absolute; inset: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.v3-gal-carta { position: absolute; top: 0; left: 50%; display: block; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; background: #0e0e10; color: inherit; text-align: left; cursor: pointer; filter: brightness(var(--b, 1)); box-shadow: 0 34px 60px -32px rgba(0, 0, 0, .85); transform-origin: 50% 50%; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: border-color .3s; }
.v3-gal.is-arrastrando, .v3-gal.is-arrastrando .v3-gal-carta { cursor: grabbing; }
.v3-gal-carta.is-activa, html.light-theme .v3-gal-carta.is-activa { filter: none; }
.v3-gal-carta.is-activa:hover, .v3-gal.is-grilla .v3-gal-carta:hover { border-color: rgba(232, 93, 42, .65); }
.v3-gal-carta:focus-visible { outline: 2px solid #e85d2a; outline-offset: 3px; }
.v3-gal-barra { display: block; height: 30px; line-height: 30px; padding: 0 .9rem; font-size: 11px; letter-spacing: .04em; color: #a8a298; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-gal-carta img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; pointer-events: none; }
.v3-gal-pie { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .2rem; padding: 2.75rem 1.1rem 1rem; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); opacity: var(--m, 0); pointer-events: none; }
.v3-gal-pie-t { font-size: 1.4rem; line-height: 1.1; color: #fff; }
.v3-gal-pie-c { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #d6d1c7; }
.v3-gal-info { display: flex; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(1rem, 2.5vh, 1.75rem); max-height: 14rem; transition: opacity .35s, max-height .5s, margin .5s, visibility .35s; }
.v3-gal-info.is-oculta { opacity: 0; max-height: 0; margin-top: 0; visibility: hidden; overflow: hidden; }
.v3-gal-txt { flex: 1; min-width: 0; }
.v3-gal-num { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #e85d2a; }
.v3-gal-titulo { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: #fff; margin: .2rem 0 .25rem; }
.v3-gal-cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a8a298; }
.v3-gal-acc { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.v3-gal-flecha { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .03); color: #f4f1ea; transition: background .25s, border-color .25s; }
.v3-gal-flecha:hover { border-color: #e85d2a; background: rgba(232, 93, 42, .12); }
.v3-gal-todos { white-space: nowrap; }
@media (max-width: 767px) {
    .v3-gal-info { flex-wrap: wrap; }
    .v3-gal-txt { order: -1; flex-basis: 100%; }
    .v3-gal-acc { flex: 1; justify-content: center; }
}
html.light-theme .v3-gal-carta { background: #fff; border-color: rgba(9, 9, 11, .12); box-shadow: 0 30px 50px -30px rgba(60, 40, 20, .45); filter: brightness(calc(.55 + .45 * var(--b, 1))); }
html.light-theme .v3-gal-barra { background: #f3efe8; color: #5c554b; border-color: rgba(9, 9, 11, .08); }
html.light-theme .v3-gal-titulo { color: #09090b; }
html.light-theme .v3-gal-cat { color: #5c554b; }
html.light-theme .v3-gal-flecha { color: #09090b; border-color: rgba(9, 9, 11, .2); background: transparent; }

@media (min-width: 1024px) and (max-height: 700px) {
    .v3-encaja > .v3-cab h2 { font-size: 2.1rem; }
    .v3-planes thead th { padding-top: 1.4rem; padding-bottom: .4rem; }
    .v3-planes-para { font-size: .75rem; }
    .v3-cierre--fila { padding-top: .55rem; }
    .v3-encaja > .v3-cab { margin-bottom: .55rem; }
}

/* 24. Equipo: primero se elige a quién ver (las dos cartas iguales, lado a lado);
       al elegir aparece el carrusel con la ficha de esa persona */
.pxsel.is-eligiendo { grid-template-columns: 1fr; }
.pxsel.is-eligiendo .pxsel-ficha { display: none; }
.pxsel.is-eligiendo .pxsel-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); aspect-ratio: auto; max-height: none; width: 100%; max-width: 50rem; margin: 0 auto; perspective: none; }
.pxsel.is-eligiendo .pxsel-duo::after { display: none; }
.pxsel.is-eligiendo .pxsel-duo .pxsel-carta { position: relative; top: auto; left: auto; width: 100%; transform: none; z-index: auto; filter: saturate(.9); transition: transform .45s cubic-bezier(.3, .7, 0, 1), border-color .35s ease, box-shadow .35s ease, filter .35s ease; }
.pxsel.is-eligiendo .pxsel-duo .pxsel-carta:focus-visible { transform: translateY(-6px); border-color: #e85d2a; filter: none; }
@media (hover: hover) {
    .pxsel.is-eligiendo .pxsel-duo .pxsel-carta:hover { transform: translateY(-6px); border-color: #e85d2a; filter: none; box-shadow: 0 0 0 1px rgba(232, 93, 42, .4), 0 18px 44px rgba(232, 93, 42, .16); }
    .pxsel.is-eligiendo .pxsel-duo:hover .pxsel-carta:not(:hover) { filter: brightness(.62) saturate(.7); }
}
.pxsel.is-eligiendo .pxsel-carta-pie b { font-size: clamp(1.25rem, .9rem + 1.2vw, 1.9rem); }

/* 25. Celular: páginas más cortas, aire parejo entre bloques y zonas de toque de al menos 44 px */
.v3-enlace { position: relative; }
.v3-enlace::after { content: ""; position: absolute; inset: -10px -6px; }   /* área de toque más grande, sin mover el subrayado */
@media (max-width: 767px) {
    /* Cómo trabajamos: el dibujo va al lado del título (antes ocupaba su propia fila) */
    .v3-linea { --nodo-y: 3px; }
    .v3-lp { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .9rem; align-items: start; padding: 0 0 2.25rem 2.1rem; }
    .v3-lp-dib { grid-column: 2; grid-row: 1 / span 2; width: 76px; height: 53px; margin: 0; }
    .v3-lp-num { grid-column: 1; grid-row: 1; margin-bottom: .2rem; }
    .v3-lp-t { grid-column: 1; grid-row: 2; font-size: 1.3rem; margin-bottom: 0; }
    .v3-lp .v3-p { grid-column: 1 / -1; grid-row: 3; margin-top: .55rem; max-width: none; }
    /* tabla: etiqueta "Recomendado" legible */
    .v3-planes-reco { font-size: 11px; }
    /* resumen del equipo: sin la biografía (está completa en la pestaña Equipo) */
    #equipo-resumen .founder-card { padding: 1.35rem !important; }
    #equipo-resumen .founder-card > p.text-gray-300 { display: none; }
    #equipo-resumen .founder-card > div:first-child { margin-bottom: 1.1rem; padding-bottom: 1.1rem; }
    #equipo-resumen .grid.mb-12 { gap: 1rem; margin-bottom: 2.25rem; }
    /* preguntas y contacto: enlaces apilados con espacio para el dedo; formulario más compacto */
    .v3-faq-enlaces { flex-direction: column; align-items: flex-start; gap: 1.35rem; }
    .v3-contacto { padding: 1.75rem 1.25rem 1.5rem; gap: 2.25rem; }
    .v3-contacto-txt { gap: 1.35rem; }
    .v3-contacto .v3-p { font-size: 1rem; }
    .v3-form { gap: 1.6rem; }
    .v3-form textarea { height: 7rem; min-height: 7rem; }
    .pxsel-carta-pie small { font-size: 11px; letter-spacing: .12em; }
}
@media (max-width: 767px) {
    /* Cómo se paga: cifra y explicación en la misma fila */
    .v3-pago-pasos { gap: 1.35rem; }
    .v3-pago-pasos li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: .9rem; row-gap: .3rem; align-items: center; }
    .v3-pago-pasos .v3-pago-cuando { grid-column: 1 / -1; }
    .v3-pago-cifra { font-size: 1.9rem; margin: 0; }
    .v3-pago-pasos .v3-pago-que { font-size: .9rem; }
    #inicio [class*="text-[10px]"] { font-size: 11px; }
    .v3-pm .v3-planes-reco, .v3-planes .v3-planes-reco { font-size: 11px; }
}

/* 26. Todos los anchos de teléfono (probado de 320 a 430 px y celular girado) */
.v3-enlace { text-align: left; }
.v3-gal-acc .v3-btn { white-space: nowrap; }
header nav > a.font-serif { white-space: nowrap; }
@media (max-width: 380px) {
    header nav > a.font-serif { font-size: 15px; letter-spacing: .1em; gap: .6rem; }
    .v3-gal-flecha { width: 40px; height: 40px; }
    .v3-gal-info { column-gap: .75rem; }
    #equipo-resumen .founder-avatar-squircle { width: 64px !important; height: 64px !important; min-width: 64px; min-height: 64px; }
    header nav.max-w-screen-xl { padding-left: 1rem; padding-right: 1rem; }
    #equipo-resumen .founder-card > div:first-child { gap: .9rem; }
    .pxsel.is-eligiendo .pxsel-carta-pie b { font-size: 1.1rem; }
    .pxsel-carta-pie small { letter-spacing: .08em; }
}
/* tablet y celular girado (768 a 1023 px): Cómo trabajamos también con el dibujo al lado del título */
@media (min-width: 768px) and (max-width: 1023px) {
    .v3-linea { --nodo-y: 3px; }
    .v3-lp { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; align-items: start; padding: 0 0 2.5rem 2.25rem; max-width: 42rem; }
    .v3-lp-dib { grid-column: 2; grid-row: 1 / span 3; width: 96px; height: 67px; margin: 0; }
    .v3-lp-num { grid-column: 1; grid-row: 1; margin-bottom: .2rem; }
    .v3-lp-t { grid-column: 1; grid-row: 2; margin-bottom: .35rem; }
    .v3-lp .v3-p { grid-column: 1; grid-row: 3; max-width: 32rem; }
}


/* 27. Celular, orden y lectura (pedido de Ítalo, 20-11-2026):
       portada → galería → proceso → planes → equipo → preguntas → contacto; nada se desliza de lado salvo la galería */
.v3-hero-corta, .v3-pie-firma { display: none; }
#px-firma-2d { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.4s ease; }
.px-dib.is-limpio .i-capa-guias, .px-dib.is-limpio .i-capa-ext { opacity: 0 !important; transition: opacity 1.4s ease !important; }
.px-dib.is-limpio .i-emblema { stroke: rgba(244, 241, 234, .5); stroke-dasharray: none; transition: stroke 1.4s ease; }
html.light-theme .px-dib.is-limpio .i-emblema { stroke: rgba(9, 9, 11, .45); }
@media (max-width: 767px) {
    /* orden del Inicio (la pestaña activa es display:block; aquí pasa a columna flexible para poder ordenar) */
    #inicio.tab-content.active { display: flex; flex-direction: column; }
    #inicio > .flex-1:first-child { order: 0; }
    #galeria { order: 1; }
    #proceso { order: 2; }
    #incluye { order: 3; }
    #equipo-resumen { order: 4; }
    #preguntas { order: 5; }
    #inicio-contacto { order: 6; }
    /* portada: título, una frase y dos botones (Cotizar primero); sin 3D, sin párrafo largo, sin frases ni proyectos */
    #inicio .v3-hero-larga, #inicio .v3-hechos, #inicio .v3-recientes { display: none !important; }
    #inicio > .flex-1:first-child { padding-top: 2.25rem; padding-bottom: 0; }
    .v3-hero-corta { display: block; font-size: 1.05rem; line-height: 1.55; color: #d6d1c7; margin-bottom: 1.5rem; max-width: 22rem; }
    .hero-copy-col .border-t { margin-top: 1.75rem; padding-top: 1.5rem; }
    .hero-copy-col button[data-scroll="inicio-contacto"] { order: -1; background: #f4f1ea !important; color: #09090b !important; border-color: #f4f1ea !important; }
    .hero-copy-col button[data-scroll="galeria"] { background: transparent !important; color: #f4f1ea !important; border: 1px solid rgba(244, 241, 234, .25) !important; }
    .hero-copy-col .magnetic { min-height: 46px; padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    html.light-theme .v3-hero-corta { color: #3f3a33; }
    html.light-theme .hero-copy-col button[data-scroll="inicio-contacto"] { background: #09090b !important; color: #fdfbf8 !important; border-color: #09090b !important; }
    html.light-theme .hero-copy-col button[data-scroll="galeria"] { color: #09090b !important; border-color: rgba(9, 9, 11, .25) !important; }
    /* galería: textos arriba; botones a la izquierda y flechas a la derecha */
    .v3-gal-acc { order: 1; flex: 1; justify-content: flex-start; }
    [data-gal-ant] { order: 2; }
    [data-gal-sig] { order: 3; }
    /* planes: uno arriba de otro, con aire y sin repetir lo que comparten */
    .v3-planes-movil { display: grid; gap: 1rem; }
    .v3-pm { padding: 1.4rem 1.35rem 1.25rem; gap: .35rem; }
    .v3-pm .v3-monto { font-size: 2rem; line-height: 1.1; margin: .15rem 0 .1rem; }
    .v3-pm-base { margin-top: .6rem; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a8a298; }
    .v3-pm .v3-lista { margin-top: .35rem; }
    .v3-pm .v3-lista li { padding-top: .55rem; padding-bottom: .55rem; }
    .v3-pm:last-child .v3-lista { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
    .v3-pm:last-child .v3-lista li { font-size: .875rem; }
    html.light-theme .v3-pm-base { color: #5c554b; }
    /* equipo: uno arriba de otro (Ítalo primero) y sin el recuadro de cotizar a mitad de página */
    #estudio-cta-box { display: none !important; }
    #equipo-resumen .grid.mb-12 { margin-bottom: 0; }
    .v3-solo-pc { display: none; }
    /* Precios: pago primero, después extras y mantención, cambios apilados y garantía */
    #precios-detalle > div { display: flex; flex-direction: column; gap: 1.25rem; }
    #precios-detalle .v3-pago { order: 1; margin: 0; }
    #precios-detalle .v3-detalle { order: 2; margin: 0; }
    #precios-detalle .v3-cambios { order: 3; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
    #precios-detalle .v3-garantia { order: 4; padding: 0 .25rem; }
    #precios-detalle .v3-cierre--final { order: 5; padding-top: .75rem; }
    /* pie: el dibujo 2D del logo en bucle */
    .v3-pie-firma { display: block; position: relative; height: 200px; max-width: 18rem; margin: .75rem auto 1rem; }
}

/* 28. Celular con aire: cada sección separada por una línea fina y 52 px de aire a cada lado,
       títulos un poco más chicos y más separación entre título, tarjetas y listas */
@media (max-width: 767px) {
    #inicio > .v3-sub, #precios > .v3-sub { padding-top: 4rem; padding-bottom: 4rem; border-top: 1px solid rgba(244, 241, 234, .09); scroll-margin-top: 4.5rem; }
    #precios > .v3-sub--primera { border-top: 0; padding-top: 0; }
    html.light-theme #inicio > .v3-sub, html.light-theme #precios > .v3-sub { border-top-color: rgba(9, 9, 11, .09); }
    #inicio > .flex-1:first-child { padding-bottom: 4rem; }
    #inicio .v3-sub h2, #precios h2 { font-size: 2rem; line-height: 1.12; }
    .v3-cab { margin-bottom: 2rem; }
    .v3-cab--fila { gap: .9rem; }
    #equipo-resumen .mb-8.border-b { border-bottom: 0; padding-bottom: 0; margin-bottom: 2rem; }
    #equipo-resumen .grid.mb-12 { gap: 1.25rem; }
    .v3-planes-movil { gap: 1.25rem; }
    .v3-cierre--fila { padding-top: 1.75rem; row-gap: 1.25rem; }
    .v3-faq-cols, .v3-faq-lista { gap: .85rem; }
    .v3-gal-info { margin-top: 1.5rem; }
    .v3-lp { padding-bottom: 2.6rem; }
}
@media (max-width: 767px) {
    /* márgenes laterales de 24 px */
    #inicio.tab-content, #precios.tab-content { padding-left: 1.5rem; padding-right: 1.5rem; }
    /* tarjetas del equipo más limpias: rol en texto normal (2 líneas en vez de 4) y el botón como enlace (toda la tarjeta abre el perfil) */
    #equipo-resumen .founder-card h3 + p { text-transform: none; letter-spacing: 0; font-size: .85rem; line-height: 1.4; color: #a8a298; font-weight: 400; }
    html.light-theme #equipo-resumen .founder-card h3 + p { color: #5c554b; }
    #equipo-resumen .founder-card > button { background: none; border: 0; padding: .25rem 0 0; justify-content: flex-start; gap: .5rem; width: auto; min-height: 44px; }
}

/* 29. Cambio día/noche: rápido (0,42 s, ver build v7) y botón sobrio, igual al del menú en celular */
.theme-morph-wavefront { display: none !important; }
header .theme-toggle-btn { background: transparent !important; border: 1px solid rgba(244, 241, 234, .16) !important; color: #d6d1c7 !important; box-shadow: none !important; transition: border-color .2s ease, color .2s ease, background-color .2s ease !important; }
/* en pantallas táctiles el :hover queda pegado después de tocar: ahí el botón no cambia */
header .theme-toggle-btn:hover { background: transparent !important; border-color: rgba(244, 241, 234, .16) !important; color: #d6d1c7 !important; box-shadow: none !important; }
header .theme-toggle-btn:hover svg { transform: none !important; }
html.light-theme header .theme-toggle-btn, html.light-theme header .theme-toggle-btn:hover { background: transparent !important; border-color: rgba(9, 9, 11, .16) !important; color: #3f3a33 !important; box-shadow: none !important; }
@media (hover: hover) {
    header .theme-toggle-btn:hover { background: rgba(244, 241, 234, .05) !important; border-color: rgba(232, 93, 42, .6) !important; color: #f4f1ea !important; }
    html.light-theme header .theme-toggle-btn:hover { background: rgba(9, 9, 11, .04) !important; border-color: rgba(232, 93, 42, .6) !important; color: #09090b !important; }
}
@media (max-width: 767px) {
    #mobile-theme-toggle-btn, #mobile-menu-btn { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; padding: 0 !important; border-radius: 12px !important; }
    #mobile-menu-btn { border-color: rgba(244, 241, 234, .16) !important; }
    html.light-theme #mobile-menu-btn { border-color: rgba(9, 9, 11, .16) !important; }
    /* modo claro sin la textura de mármol en celular: es una imagen SVG con filtros pesada de dibujar y frenaba el cambio de tema */
    html.light-theme body { background-image: radial-gradient(ellipse 70% 60% at 75% 42%, rgba(234, 88, 12, .08) 0%, transparent 70%) !important; background-size: 100% 100% !important; background-repeat: no-repeat !important; }
}

/* 30. Celular: el cambio día/noche está dentro del menú (botón ancho con texto) */
#mobile-menu-panel .theme-toggle-btn.v3-tema-menu { align-self: flex-start; display: inline-flex !important; gap: .65rem; width: auto !important; height: 48px !important; min-width: 0 !important; min-height: 48px !important; padding: 0 1.1rem !important; margin-bottom: 1rem; border-radius: 12px !important; background: transparent !important; border: 1px solid rgba(244, 241, 234, .16) !important; color: #f4f1ea !important; box-shadow: none !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
#mobile-menu-panel .theme-toggle-btn.v3-tema-menu:hover { background: transparent !important; border-color: rgba(244, 241, 234, .16) !important; color: #f4f1ea !important; box-shadow: none !important; }
#mobile-menu-panel .theme-toggle-btn.v3-tema-menu:hover svg { transform: none !important; }
html.light-theme #mobile-menu-panel .theme-toggle-btn.v3-tema-menu, html.light-theme #mobile-menu-panel .theme-toggle-btn.v3-tema-menu:hover { background: transparent !important; border-color: rgba(9, 9, 11, .16) !important; color: #09090b !important; }
.v3-tema-txt-clr { display: none; }
html.light-theme .v3-tema-txt-osc { display: none; }
html.light-theme .v3-tema-txt-clr { display: inline; }

/* 31. Celular: galería con menos información y planes que dicen qué heredan */
.v3-solo-movil { display: none; }
.v3-pm .v3-li-base { font-weight: 600; color: #f4f1ea; }
html.light-theme .v3-pm .v3-li-base { color: #09090b; }
.v3-pm .v3-li-mas::before { content: "+"; top: 50%; left: .1rem; width: auto; height: auto; margin-top: 0; border: 0; background: none; transform: translateY(-54%); color: #e85d2a; font-size: 1.1rem; font-weight: 600; line-height: 1; }
@media (max-width: 767px) {
    .v3-solo-movil { display: inline; }
    /* galería: sin barra de dirección, sin contador, sin "Visitar sitio" (está dentro del caso) y "Ver caso" como enlace */
    .v3-gal-barra { display: none; }
    .v3-gal-info { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "txt ant sig" "acc acc acc"; align-items: center; column-gap: .6rem; row-gap: .5rem; margin-top: 1.75rem; }
    .v3-gal-txt { grid-area: txt; order: 0; flex-basis: auto; }
    [data-gal-ant] { grid-area: ant; order: 0; }
    [data-gal-sig] { grid-area: sig; order: 0; }
    .v3-gal-acc { grid-area: acc; order: 0; justify-content: flex-start; }
    .v3-gal-num, [data-gal-sitio] { display: none !important; }
    .v3-gal-titulo { font-size: 1.6rem; margin: 0 0 .2rem; }
    .v3-gal-cat { font-size: .875rem; letter-spacing: 0; text-transform: none; }
    .v3-gal-flecha { width: 42px; height: 42px; }
    .v3-gal-acc [data-gal-caso] { background: none !important; border: 0 !important; color: #f4f1ea !important; padding: 0 !important; min-height: 44px; box-shadow: none !important; font-size: 12px; letter-spacing: .14em; }
    html.light-theme .v3-gal-acc [data-gal-caso] { color: #09090b !important; }
    .v3-gal-pie-c { letter-spacing: .06em; }
}


/* 32. Invitación a bajar (computador y tablet): el inicio llena la pantalla y abajo hay una luz tenue que late
       con una flecha que flota; ya no se asoma el título de la sección siguiente */
.v3-bajar { display: none; }
@media (min-width: 768px) {
    /* el inicio llena la pantalla (así no se asoma la sección siguiente) y deja 7,5rem abajo para la invitación */
    #inicio > .flex-1:first-child { min-height: calc(100svh - 5.5rem); padding-bottom: 7.5rem; justify-content: center; }
    .v3-bajar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 7.5rem; align-items: flex-end; justify-content: center; padding-bottom: 1.35rem; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; contain: layout style; }
    .v3-bajar.is-visible { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
    .v3-bajar-luz { position: absolute; inset: 0; background: radial-gradient(ellipse 42% 100% at 50% 100%, rgba(232, 93, 42, .26) 0%, rgba(232, 93, 42, .07) 45%, transparent 75%); animation: pxLatir 3.6s ease-in-out infinite; animation-play-state: paused; will-change: opacity; contain: strict; }
    .v3-bajar-luz::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 93, 42, .5), transparent); }
    .v3-bajar-flecha { pointer-events: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(244, 241, 234, .2); background: rgba(14, 14, 18, .86); color: #f4f1ea; transition: border-color .25s ease, background-color .25s ease; animation: pxFlotar 2.4s ease-in-out infinite; animation-play-state: paused; will-change: transform; contain: layout style; }
    .v3-bajar.is-visible .v3-bajar-luz, .v3-bajar.is-visible .v3-bajar-flecha { animation-play-state: running; }
    .v3-bajar-flecha:hover { border-color: rgba(232, 93, 42, .7); background: rgba(232, 93, 42, .12); }
    .v3-bajar-flecha:focus-visible { outline: 2px solid #e85d2a; outline-offset: 4px; }
    html.light-theme .v3-bajar-luz { background: radial-gradient(ellipse 42% 100% at 50% 100%, rgba(232, 93, 42, .16) 0%, rgba(232, 93, 42, .05) 45%, transparent 75%); }
    html.light-theme .v3-bajar-flecha { border-color: rgba(9, 9, 11, .2); background: rgba(253, 251, 248, .6); color: #09090b; }
}
@keyframes pxLatir { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes pxFlotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .v3-bajar-luz, .v3-bajar-flecha { animation: none; } }


/* 33. Preguntas: a la izquierda el título, "¿No está tu pregunta?" y los enlaces; a la derecha una sola columna de preguntas */
.v3-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.v3-faq > .v3-cab { display: block; margin-bottom: 0; }
.v3-faq-otra { margin-top: 1.75rem; max-width: 24rem; }
.v3-faq-enlaces { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (max-width: 1023px) {
    .v3-faq { grid-template-columns: 1fr; }
    .v3-faq > .v3-cab { margin-bottom: 2rem; }
}

/* 34. Contacto: el texto de la izquierda arriba, a la altura del formulario (antes quedaba centrado y se veía flotando) */
.v3-contacto { align-items: start; }


/* 35. Galería sin flechas (se cambia tocando la página de al lado); "Ver caso" y "Visitar sitio" alineados por la línea del texto */
.v3-gal-acc { align-items: baseline; }
.v3-gal .v3-gal-carta:not(.is-activa) { cursor: pointer; }
@media (max-width: 767px) {
    .v3-gal-info { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "acc"; }
}
/* las cartas de atrás quedan "detrás" del plano de la escena 3D: la escena no debe capturar los clics */
.v3-gal-escena { pointer-events: none; }
.v3-gal-carta { pointer-events: auto; }

/* 36. Flecha para bajar: una versión para cada modo.
       Oscuro: círculo de vidrio oscuro, flecha clara y luz naranja.
       Claro: círculo blanco con sombra suave, flecha oscura y luz terracota más baja (en crema la naranja se pierde) */
@media (min-width: 768px) {
    html.light-theme .v3-bajar-flecha { background: #ffffff; border: 1px solid rgba(9, 9, 11, .12); color: #09090b; box-shadow: 0 6px 18px -6px rgba(60, 40, 20, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
    html.light-theme .v3-bajar-flecha:hover { border-color: rgba(194, 65, 12, .6); background: #ffffff; }
    html.light-theme .v3-bajar-luz { background: radial-gradient(ellipse 42% 100% at 50% 100%, rgba(194, 65, 12, .2) 0%, rgba(194, 65, 12, .06) 45%, transparent 75%); }
    html.light-theme .v3-bajar-luz::after { background: linear-gradient(90deg, transparent, rgba(194, 65, 12, .45), transparent); }
}

/* el dibujo 2D del hero va fijo sobre la escena: fuera del Inicio no se ve */
body:not([data-active-tab="inicio"]) #px-intro-2d { visibility: hidden; }


/* 37. Esqueleto del inicio en computador (≥1024 px), para que el 3D nunca pise el texto:
       - columna de texto: 44 % del ancho, entre 26rem y 40rem (≈55–70 caracteres por línea, rango cómodo de lectura)
       - separación: entre 2rem y 5rem (4 % del ancho)
       - columna del 3D: todo lo que sobra (≈5:7 en pantallas anchas, casi 1:1 en notebooks chicos)
       - el 3D y el dibujo 2D se escalan al ancho de su columna (app.js e intro.js), sin tamaño mínimo */
@media (min-width: 1024px) {
    #inicio > .flex-1:first-child > div { column-gap: clamp(2rem, 4vw, 5rem); justify-content: flex-start; }
    #inicio .hero-copy-col { flex: 0 0 clamp(26rem, 44%, 40rem); width: auto; max-width: none; padding-right: 0; }
    #inicio .hero-media-anim { flex: 1 1 0%; width: auto; min-width: 0; }
}

/* ==== 38. Día/noche suave (v13): el tema nuevo entra con un fundido que anima el compositor del navegador ==== */
::view-transition-old(root), ::view-transition-new(root) { animation: none !important; mix-blend-mode: normal !important; }
html.px-sin-trans *, html.px-sin-trans *::before, html.px-sin-trans *::after { transition: none !important; }
.px-velo-tema { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; background: #070708; opacity: 0; }
.px-velo-tema.is-claro { background: #ECE7DF; }

/* ==== 39. Sin números decorativos (v14): el contador de la galería tampoco se muestra ==== */
.v3-gal-num { display: none !important; }

/* ==== 40. Cómo se paga en celular (v15): cifra arriba y texto abajo; con letra grande del sistema ya no se pisan ==== */
@media (max-width: 767px) {
    .v3-pago-pasos li { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
    .v3-pago-cifra { font-size: 2rem; margin: .15rem 0 .2rem; }
    .v3-pago-pasos .v3-pago-que { max-width: none; }
}

/* ==== 41. Equipo en celular (v15): foto chica, nombre corto en una línea, cargo corto, botón "Ver perfil" ==== */
@media (max-width: 767px) {
    #equipo-resumen .founder-card > div:first-child { align-items: center; gap: 1rem; }
    #equipo-resumen .founder-avatar-squircle { width: 64px; height: 64px; min-width: 64px; min-height: 64px; border-radius: 16px; }
    #equipo-resumen .founder-card h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: .2rem; }
    #equipo-resumen .founder-card h3 + p { margin-bottom: .5rem; }
    #equipo-resumen .founder-card > div:first-child span.inline-block { font-size: .72rem; line-height: 1.35; }
}

/* ==== 42. Menú del celular (v15): más fino. Letra menor, líneas finas entre opciones y un punto en la página actual ==== */
@media (max-width: 767px) {
    #mobile-menu-panel nav ul > li + li { margin-top: 0 !important; }
    #mobile-menu-panel nav ul > li { border-top: 1px solid rgba(244, 241, 234, .08); }
    #mobile-menu-panel nav ul > li:last-child { border-bottom: 1px solid rgba(244, 241, 234, .08); }
    #mobile-menu-panel .mobile-nav-link { width: 100%; justify-content: space-between; font-size: 1.55rem; line-height: 1.2; padding: .9rem .1rem; color: #bdb7ad; letter-spacing: -.005em; }
    #mobile-menu-panel .mobile-nav-link::after { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: transparent; transition: background-color .25s ease; }
    #mobile-menu-panel .mobile-nav-link[aria-current="page"] { color: #f4f1ea; }
    #mobile-menu-panel .mobile-nav-link[aria-current="page"]::after { background: #e85d2a; }
    #mobile-menu-close-inner { padding: .5rem .85rem; font-size: 11px; border-color: rgba(244, 241, 234, .12); color: #bdb7ad; }
    #mobile-menu-panel .theme-toggle-btn.v3-tema-menu { height: 44px !important; min-height: 44px !important; padding: 0 1rem !important; font-size: 11px; border-color: rgba(244, 241, 234, .12) !important; color: #d6d1c7 !important; }
    html.light-theme #mobile-menu-panel nav ul > li, html.light-theme #mobile-menu-panel nav ul > li:last-child { border-color: rgba(9, 9, 11, .09); }
    html.light-theme #mobile-menu-panel .mobile-nav-link { color: #57514a !important; }
    html.light-theme #mobile-menu-panel .mobile-nav-link[aria-current="page"] { color: #09090b !important; }
    html.light-theme #mobile-menu-close-inner { border-color: rgba(9, 9, 11, .14); color: #57514a; }
}

/* ==== 43. Pie de página (v15): marca a la izquierda, contacto y redes a la derecha, derechos abajo; en celular, centrado ==== */
#site-footer { padding-top: 2.25rem !important; }
.v3-pie-in { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marca enlaces" "copy copy"; align-items: center; gap: 1.25rem 2rem; }
.v3-pie-marca { grid-area: marca; }
.v3-pie-nombre { font-size: 1.35rem; line-height: 1.1; color: #f4f1ea; }
.v3-pie-lema { margin-top: .3rem; font-size: .8rem; color: #a8a298; }
.v3-pie-enlaces { grid-area: enlaces; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; font-size: .82rem; }
.v3-pie-enlaces a { color: #d6d1c7; padding: .4rem 0; transition: color .2s ease; }
.v3-pie-enlaces a:hover { color: #e85d2a; }
.v3-pie-copy { grid-area: copy; padding-top: 1.1rem; border-top: 1px solid rgba(244, 241, 234, .08); font-size: .72rem; color: #8a847a; }
html.light-theme footer#site-footer .v3-pie-nombre { color: #09090b !important; }
html.light-theme footer#site-footer .v3-pie-lema, html.light-theme footer#site-footer .v3-pie-copy { color: #6b645a !important; }
html.light-theme footer#site-footer .v3-pie-enlaces a { color: #3f3a33 !important; }
html.light-theme footer#site-footer .v3-pie-enlaces a:hover { color: #c2410c !important; }
html.light-theme .v3-pie-copy { border-top-color: rgba(9, 9, 11, .09); }
@media (max-width: 767px) {
    #site-footer { padding-top: 1.75rem !important; text-align: center; }
    #site-footer .v3-pie-firma { height: 150px; max-width: 12.5rem; margin: 0 auto 1rem; }
    .v3-pie-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "marca" "enlaces" "copy"; justify-items: center; gap: 1rem; }
    .v3-pie-enlaces { justify-content: center; gap: 0 1.25rem; }
    .v3-pie-enlaces a:first-child { flex-basis: 100%; }
    .v3-pie-copy { width: 100%; }
    /* el punto naranjo del logo del pie aparece con un fundido (sin escalar con transform, que algunos navegadores de Android dibujan mal) */
    #px-firma-2d .i-punto { transform: none; opacity: 0; transition: opacity .6s ease .2s; }
    #px-firma-2d.is-filled .i-punto { animation: none; opacity: 1; }
    #px-firma-2d.is-out .i-punto { opacity: 0; }
}

/* ==== 44. Letra grande del sistema (v15): las tarjetas se encogen y los valores bajan de línea en vez de salirse ==== */
@media (max-width: 767px) {
    .v3-planes-movil { grid-template-columns: minmax(0, 1fr); }
    .v3-pm, .v3-detalle-col { min-width: 0; }
    .v3-pm li, .v3-lista li { overflow-wrap: anywhere; }
    .v3-lista .v3-val, .v3-costo dd { white-space: normal; }
}
@media (max-width: 340px) {
    header nav > a.font-serif { font-size: 1.05rem; }
}

/* ==== 45. Pie del celular (v16): logo 2D fijo, sin animación ==== */
.v3-pie-logo { width: 100%; height: 100%; display: block; overflow: visible; }
.v3-pie-logo path { fill: #f4f1ea; }
.v3-pie-logo-p { fill: #e85d2a; }
.v3-pie-logo-c { fill: none; stroke: rgba(244, 241, 234, .45); stroke-width: 1.25; }
html.light-theme .v3-pie-logo path { fill: #09090b; }
html.light-theme .v3-pie-logo-c { stroke: rgba(9, 9, 11, .4); }
@media (max-width: 767px) { #site-footer .v3-pie-firma { height: 120px; max-width: 10rem; } }

/* ==== 46. Tarjetas del equipo (v16): sin la caja de "Ver perfil". En celular, toda la tarjeta abre el perfil y una flecha
       fina a la derecha lo indica; en computador, "Ver perfil" queda como enlace subrayado ==== */
#equipo-resumen .founder-card > button[data-open-founder] { width: auto !important; align-self: flex-start; justify-content: flex-start !important; gap: .6rem; padding: .35rem 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid rgba(232, 93, 42, .55) !important; border-radius: 0 !important; box-shadow: none !important; font-size: 11px; letter-spacing: .14em; color: #e9e4da !important; }
#equipo-resumen .founder-card > button[data-open-founder]:hover { background: none !important; border-bottom-color: #e85d2a !important; color: #fff !important; }
html.light-theme #equipo-resumen .founder-card > button[data-open-founder] { color: #1c1915 !important; border-bottom-color: rgba(194, 65, 12, .55) !important; }
html.light-theme #equipo-resumen .founder-card > button[data-open-founder]:hover { color: #09090b !important; border-bottom-color: #c2410c !important; }
@media (max-width: 767px) {
    #equipo-resumen .founder-card { padding: 1.1rem 1.15rem !important; transition: transform .2s ease, border-color .25s ease; }
    #equipo-resumen .founder-card:active { transform: scale(.985); }
    #equipo-resumen .founder-card > button[data-open-founder] { display: none !important; }
    #equipo-resumen .founder-card > div:first-child { margin: 0 !important; padding: 0 !important; border: 0 !important; gap: .95rem; }
    #equipo-resumen .founder-card > div:first-child > div:last-child { flex: 1 1 auto; min-width: 0; }
    #equipo-resumen .founder-card > div:first-child::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 .3rem 0 .1rem; border-top: 1.5px solid #e85d2a; border-right: 1.5px solid #e85d2a; transform: rotate(45deg); }
    #equipo-resumen .founder-avatar-squircle { width: 58px; height: 58px; min-width: 58px; min-height: 58px; border-radius: 15px; box-shadow: none; }
    #equipo-resumen .founder-card h3 { font-size: 1.3rem; margin-bottom: .1rem; }
    #equipo-resumen .founder-card h3 + p { margin-bottom: .2rem; }
    #equipo-resumen .founder-card > div:first-child span.inline-block { display: block; padding: 0 !important; background: none !important; border: 0 !important; font-size: .72rem; color: #8a847a !important; }
    html.light-theme #equipo-resumen .founder-card > div:first-child span.inline-block { color: #6b645a !important; }
}

/* ==== 47. Menú del celular (v17): reemplaza a la sección 42. Barra superior igual a la del sitio, opciones arriba,
       la actual en cursiva terracota, y abajo "Cotizar tu web" con modo claro/oscuro y correo ==== */
@media (max-width: 767px) {
    #mobile-menu-panel { padding: env(safe-area-inset-top, 0px) calc(1.5rem + env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) calc(1.5rem + env(safe-area-inset-left, 0px)) !important; height: 100vh; height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; justify-content: flex-start !important; background: rgba(7, 7, 8, .97) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    html.light-theme #mobile-menu-panel { background: rgba(236, 231, 223, .985) !important; }
    .v3-menu-cab { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
    .v3-menu-marca { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; font-size: 1.125rem; letter-spacing: .14em; text-transform: uppercase; color: #f4f1ea; white-space: nowrap; }
    .v3-menu-cerrar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(244, 241, 234, .16); color: #f4f1ea; background: transparent; }
    html.light-theme .v3-menu-marca, html.light-theme .v3-menu-cerrar { color: #09090b; }
    html.light-theme .v3-menu-cerrar { border-color: rgba(9, 9, 11, .14); }

    #mobile-menu-panel nav { margin: 2rem 0 auto !important; }
    #mobile-menu-panel nav ul > li, #mobile-menu-panel nav ul > li:last-child { border: 0 !important; }
    #mobile-menu-panel nav ul > li + li { margin-top: 0 !important; }
    #mobile-menu-panel .mobile-nav-link { width: auto; justify-content: flex-start; font-size: 1.45rem; line-height: 1.2; padding: .5rem 0; color: #9d978d; letter-spacing: 0; }
    #mobile-menu-panel .mobile-nav-link::after { content: none; }
    #mobile-menu-panel .mobile-nav-link[aria-current="page"] { color: #e85d2a; font-style: italic; }
    html.light-theme #mobile-menu-panel .mobile-nav-link { color: #6b645a !important; }
    html.light-theme #mobile-menu-panel .mobile-nav-link[aria-current="page"] { color: #c2410c !important; }

    .v3-menu-pie { flex: none; display: flex; flex-direction: column; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(244, 241, 234, .1); }
    html.light-theme .v3-menu-pie { border-top-color: rgba(9, 9, 11, .1); }
    .v3-menu-cta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: .75rem 1.35rem; border-radius: 999px; background: #f4f1ea; color: #09090b; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
    html.light-theme .v3-menu-cta { background: #09090b; color: #f4f1ea; }
    .v3-menu-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; }
    #mobile-menu-panel .theme-toggle-btn.v3-tema-menu { margin: 0 !important; padding: 0 !important; height: 44px !important; min-height: 44px !important; border: 0 !important; border-radius: 0 !important; gap: .5rem; font-size: 11px; letter-spacing: .12em; color: #bdb7ad !important; }
    html.light-theme #mobile-menu-panel .theme-toggle-btn.v3-tema-menu { color: #57514a !important; }
    .v3-menu-correo { font-size: .78rem; color: #8a847a; padding: .5rem 0; }
    html.light-theme .v3-menu-correo { color: #6b645a; }
}

/* ==== 48. Modo claro: la credencial del panel del equipo se veía blanca sobre crema (v17) ==== */
html.light-theme .pxsel-badge { color: #3f3a33; border-color: rgba(9, 9, 11, .14); background: rgba(9, 9, 11, .03); }
/* modo claro: grises que quedaban bajo 3:1 sobre crema (títulos de listas, valores, etiquetas del formulario, nota legal) */
html.light-theme .v3-lista-t, html.light-theme .v3-val, html.light-theme .v3-legal, html.light-theme .v3-legal a,
html.light-theme #inicio-contacto label, html.light-theme #contacto label, html.light-theme .pxsel-hab-t { color: #6b645a !important; }

/* ==== 49. Versiones animadas de los proyectos (v17): el video aparece encima de la imagen cuando ya está corriendo ==== */
.v3-gal-media { position: relative; display: block; }
.v3-gal-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.v3-gal-video.is-lista { opacity: 1; }
.img-wrap .v3-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; pointer-events: none; transition: opacity .6s ease, filter .6s ease, transform .7s cubic-bezier(.25, 1, .5, 1); }
.img-wrap .v3-vid.is-lista { opacity: 1; }
.img-wrap > span { z-index: 2; }

/* menú del celular: fondo totalmente opaco y marca un poco más chica para que nunca toque la X */
@media (max-width: 767px) {
    #mobile-menu-panel { background: #070708 !important; }
    html.light-theme #mobile-menu-panel { background: #ECE7DF !important; }
    .v3-menu-marca { font-size: 1rem; letter-spacing: .12em; overflow: hidden; }
}
@media (max-width: 340px) { .v3-menu-marca { font-size: .9rem; letter-spacing: .08em; } }
@media (max-width: 767px) { .v3-menu-marca { flex: 1 1 auto; font-size: clamp(.8rem, 4.1vw, 1.125rem); letter-spacing: .12em; } }
@media (max-width: 340px) { .v3-menu-marca { letter-spacing: .06em; } }

/* ==== 50. Preguntas en una columna (celular y tablet, v17): título, las 5 preguntas y al final "¿No está tu pregunta?" con sus enlaces ==== */
@media (max-width: 1023px) {
    .v3-faq { display: flex !important; flex-direction: column; gap: 0; }
    .v3-faq > .v3-cab { display: contents !important; }
    .v3-faq > .v3-cab > h2 { order: 0; margin-bottom: 1.75rem; }
    .v3-faq > .v3-faq-lista { order: 1; }
    .v3-faq .v3-faq-otra { order: 2; margin-top: 2.25rem; }
}

/* ==== 51. Equipo (v20): X arriba a la derecha para volver a las dos cartas ==== */
.pxsel { position: relative; }
.pxsel-cerrar { position: absolute; top: 0; right: 0; z-index: 30; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(244, 241, 234, .18); background: rgba(9, 9, 11, .55); color: #f4f1ea; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.pxsel-cerrar:hover { border-color: #e85d2a; color: #fff; transform: rotate(90deg); }
.pxsel-cerrar:focus-visible { outline: 2px solid #e85d2a; outline-offset: 3px; }
.pxsel.is-eligiendo .pxsel-cerrar { display: none; }
html.light-theme .pxsel-cerrar { background: rgba(253, 251, 248, .85); border-color: rgba(9, 9, 11, .14); color: #09090b; }
@media (prefers-reduced-motion: reduce) { .pxsel-cerrar:hover { transform: none; } }

/* ==== 52. Equipo: con un perfil abierto, el nombre deja espacio a la X de cerrar ==== */
.pxsel:not(.is-eligiendo) .pxsel-clase, .pxsel:not(.is-eligiendo) .pxsel-nombre { padding-right: 3.6rem; }

/* ==== 53. Contacto en escritorio: cabe en una pantalla con el pie de página a la vista.
   Texto y canales a la izquierda, formulario a la derecha; el pie se compacta solo en esta pestaña ==== */
@media (min-width: 1024px) {
    #contacto.active { padding-top: .75rem !important; padding-bottom: 1rem !important; }
    #contacto .form-reveal { max-width: 72rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "titulo form" "texto form" "canales form"; grid-template-rows: auto auto 1fr; column-gap: 3.5rem; align-items: start; }
    #contacto #contact-heading { grid-area: titulo; text-align: left; margin-bottom: .9rem; font-size: clamp(2.1rem, 3.2vw, 3.1rem); line-height: 1.08; }
    #contacto #contact-heading + p { grid-area: texto; text-align: left; margin: 0 0 1.25rem; max-width: 30rem; }
    #contacto #contact-form { grid-area: form; padding: 1.6rem 1.9rem !important; }
    #contacto #contact-form > p:first-of-type { margin-bottom: .9rem; }
    #contacto #contact-form textarea { height: 6.2rem; min-height: 0; }
    #contacto #contact-form .mt-6 { margin-top: 1rem; }
    #contacto .form-reveal > .mt-10 { grid-area: canales; margin-top: 0; padding-top: 1.1rem; flex-direction: column; align-items: flex-start; gap: .9rem; }
    #contacto .form-reveal > .mt-10 > div { align-items: flex-start; }
    body:has(#contacto.active) #site-footer { padding-top: 1rem !important; padding-bottom: .9rem !important; }
    body:has(#contacto.active) .v3-pie-in { gap: .4rem 2rem; }
}
@media (min-width: 1024px) and (max-height: 700px) {
    #contacto #contact-form { padding: 1.2rem 1.6rem !important; }
    #contacto #contact-form textarea { height: 4.6rem; }
    #contacto #contact-heading { font-size: 2rem; }
    body:has(#contacto.active) #site-footer .v3-pie-lema { display: none; }
}
/* el foco del Contacto es el formulario: más ancho, borde terracota suave y un halo cálido */
@media (min-width: 1024px) {
    #contacto .form-reveal { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    #contacto #contact-form { border: 1px solid rgba(232, 93, 42, .35) !important; box-shadow: 0 0 0 1px rgba(232, 93, 42, .08), 0 24px 70px -20px rgba(232, 93, 42, .28); }
    html.light-theme #contacto #contact-form { border-color: rgba(232, 93, 42, .4) !important; box-shadow: 0 24px 60px -24px rgba(232, 93, 42, .3); }
}

/* ==== 54. Video de portada 3D integrado en #px-stage-drag-zone (DirectComposition + iOS Safari AVPlayer safe!) ==== */
#px-stage-drag-zone.px-hero-video-stage {
    position: relative;
    width: 100%;
    max-width: 680px;
    flex-shrink: 0;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 920 / 792;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border-radius: 26px;
    background: #0a0a0b;
    cursor: default;
    contain: layout paint style;
}
#px-stage-drag-zone.px-hero-video-stage::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 2;
    pointer-events: none;
    border-radius: 26px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    background: radial-gradient(ellipse 68% 68% at 50% 50%, transparent 52%, rgba(10, 10, 11, 0.86) 80%, #0a0a0b 95%);
}
.px-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0a0a0b;
    border-radius: inherit;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    pointer-events: none;
}
/* Ocultar controles nativos / botón Play fantasma en iOS Safari (Modo Bajo Consumo) sobre videos de fondo */
.px-hero-video::-webkit-media-controls,
.px-hero-video::-webkit-media-controls-panel,
.px-hero-video::-webkit-media-controls-play-button,
.px-hero-video::-webkit-media-controls-start-playback-button,
.v3-gal-video::-webkit-media-controls,
.v3-gal-video::-webkit-media-controls-start-playback-button,
.v3-vid::-webkit-media-controls,
.v3-vid::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    -webkit-appearance: none;
}
/* Safe-area horizontal en iPhone apaisado (landscape notch / Dynamic Island) */
main#main-content {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}
html.light-theme #px-stage-drag-zone.px-hero-video-stage {
    border-radius: 24px;
    background: #070708;
    border: 1px solid rgba(22, 19, 15, .14);
    box-shadow: 0 28px 65px -20px rgba(22, 19, 15, .28);
}
html.light-theme #px-stage-drag-zone.px-hero-video-stage::after {
    display: none;
}
@media (max-width: 1023px) {
    #px-stage-drag-zone.px-hero-video-stage {
        max-width: 520px;
        margin-top: .5rem;
    }
}
/* Aislamiento de layout y estilo por sección sin saltos de DisplayLock durante el scroll */
#como-trabajamos, #precios-resumen, #equipo-resumen, #preguntas, #inicio-contacto {
    contain: layout style;
}

/* ==== 55. Botón "Ver presentación completa (1:20)", CTAs por plan, selector rápido de Equipo y Modales auxiliares ==== */
.px-reel-full-btn {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .85rem;
    border-radius: 999px;
    background: rgba(14, 14, 18, .82);
    border: 1px solid rgba(244, 241, 234, .18);
    color: #f4f1ea;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
}
.px-reel-full-btn:hover {
    border-color: #e85d2a;
    background: rgba(20, 18, 18, .94);
    transform: translateY(-1px);
}
.px-reel-full-ico {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e85d2a;
    color: #070708;
    flex: none;
}
.px-reel-full-btn small {
    font-size: 10px;
    color: #a8a298;
    font-variant-numeric: tabular-nums;
}

/* Botón de acción directa por cada columna/tarjeta de plan */
.v3-plan-cta {
    margin-top: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    max-width: 13.5rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 241, 234, .22);
    background: rgba(255, 255, 255, .04);
    color: #f4f1ea;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.v3-plan-cta:hover {
    border-color: #e85d2a;
    background: rgba(232, 93, 42, .14);
    color: #fff;
}
.v3-plan-cta--dest {
    background: #e85d2a;
    border-color: #e85d2a;
    color: #070708;
}
.v3-plan-cta--dest:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #070708;
}
.v3-pm .v3-plan-cta {
    max-width: none;
    margin-top: .9rem;
    padding: .75rem 1.1rem;
}
html.light-theme .v3-plan-cta {
    border-color: rgba(9, 9, 11, .22);
    background: rgba(9, 9, 11, .04);
    color: #09090b;
}
html.light-theme .v3-plan-cta:hover {
    border-color: #c2410c;
    background: #09090b;
    color: #fff;
}
html.light-theme .v3-plan-cta--dest {
    background: #09090b;
    border-color: #09090b;
    color: #fff;
}
html.light-theme .v3-plan-cta--dest:hover {
    background: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

/* Selector rápido de integrantes en pestaña Equipo */
.pxsel-tabs-rapidos {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}
.pxsel-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 241, 234, .16);
    background: rgba(255, 255, 255, .03);
    color: #d6d1c7;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.pxsel-pill:hover {
    border-color: rgba(232, 93, 42, .55);
    color: #fff;
}
.pxsel-pill.is-on {
    border-color: #e85d2a;
    background: rgba(232, 93, 42, .14);
    color: #fff;
}
html.light-theme .pxsel-pill {
    border-color: rgba(9, 9, 11, .16);
    background: rgba(9, 9, 11, .03);
    color: #3f3a33;
}
html.light-theme .pxsel-pill.is-on {
    border-color: #c2410c;
    background: #09090b;
    color: #fff;
}

/* Modales auxiliares: Presentación completa 1:20 y Política de privacidad */
.px-aux-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
    background: rgba(5, 5, 6, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overscroll-behavior: contain;
}
.px-aux-modal.hidden {
    display: none !important;
}
.px-aux-modal-box {
    width: 100%;
    max-width: 38rem;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1.25rem;
    background: #0e0e11;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .85);
    padding: 1.5rem 1.75rem;
    color: #d6d1c7;
}
.px-aux-modal-box--video {
    max-width: 54rem;
    padding: 1.15rem 1.35rem 1.35rem;
}
.px-aux-modal-cab {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.px-aux-close {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    color: #f4f1ea;
    transition: background-color .2s ease, border-color .2s ease;
}
.px-aux-close:hover {
    background: #e85d2a;
    border-color: #e85d2a;
    color: #070708;
}
.px-aux-video-wrap {
    width: 100%;
    aspect-ratio: 920 / 792;
    max-height: 74dvh;
    border-radius: .9rem;
    overflow: hidden;
    background: #070708;
    display: flex;
    align-items: center;
    justify-content: center;
}
.px-full-reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #070708;
}
.px-aux-body {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    font-size: .925rem;
    line-height: 1.65;
}
.px-aux-body strong {
    color: #f4f1ea;
}
html.light-theme .px-aux-modal-box {
    background: #fdfbf8;
    border-color: rgba(9, 9, 11, .14);
    color: #3f3a33;
}
html.light-theme .px-aux-modal-cab {
    border-bottom-color: rgba(9, 9, 11, .1);
}
html.light-theme .px-aux-body strong {
    color: #09090b;
}
html.light-theme .px-aux-close {
    border-color: rgba(9, 9, 11, .16);
    background: rgba(9, 9, 11, .04);
    color: #09090b;
}

/* Selector interactivo de las 3 opciones de Reel (A, B, C) en el escenario del Hero */
.px-reel-switcher {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .24rem;
    border-radius: 999px;
    background: rgba(12, 12, 16, .86);
    border: 1px solid rgba(244, 241, 234, .18);
    box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .65);
}
.px-reel-opt-btn {
    padding: .34rem .7rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #a8a298;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.px-reel-opt-btn:hover {
    color: #ffffff;
}
.px-reel-opt-btn.is-active {
    background: #e85d2a;
    color: #070708;
}
html.light-theme .px-reel-switcher {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(9, 9, 11, .15);
    box-shadow: 0 10px 24px -8px rgba(60, 40, 20, .22);
}
html.light-theme .px-reel-opt-btn {
    color: #5c554b;
}
html.light-theme .px-reel-opt-btn:hover {
    color: #09090b;
}
html.light-theme .px-reel-opt-btn.is-active {
    background: #e85d2a;
    color: #ffffff;
}
@media (max-width: 639px) {
    .px-reel-switcher {
        left: .5rem;
        bottom: 3.35rem;
    }
}

/* crédito obligatorio (CC BY 4.0) del modelo del notebook que aparece en el video de portada */
.v3-pie-creditos { display: block; margin-top: .35rem; font-size: .68rem; }
.v3-pie-creditos a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* botón de la presentación completa bajo el escenario 3D (no encima del fondo interactivo) */
.px-aux-video-wrap { aspect-ratio: 16 / 9; }
/* en celular no corre el 3D (igual que en v3): no se deja el escenario vacío, queda solo el botón de la presentación */
@media (max-width: 767px) {
    #px-stage-drag-zone, #px-stage-subtle-caption { display: none !important; }
}

/* Animación 3D en vivo: lienzo transparente sobre el fondo de estrellas y bajo los textos. Sin caja: lo que se aleja hacia los textos se desvanece. */
/* (el lienzo de la animación ahora vive dentro del escenario: ver 49) */
@media (max-width: 767px) { #px-vivo-canvas { display: none; } }
/* cierre en neón: los textos de la portada se atenúan mientras el estudio está apagado */
.hero-copy-col { transition: opacity .9s ease; }

/* Flechitas para seguir bajando en los tramos vacíos grandes (las pone js/flechas.js) */
.px-sigue-capa { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 5; pointer-events: none; }
.px-sigue { position: absolute; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; color: rgba(244, 241, 234, .58); cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .8s ease, color .25s ease; -webkit-tap-highlight-color: transparent; }
.px-sigue.is-visible { opacity: 1; }
.px-sigue svg { animation: pxFlotar 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(232, 93, 42, .28)); }
.px-sigue:hover { color: rgba(232, 93, 42, .9); }
html.light-theme .px-sigue { color: rgba(9, 9, 11, .5); }
@media (prefers-reduced-motion: reduce) { .px-sigue svg { animation: none; } }

/* 35. Equipo: dos fichas iguales (misma foto, mismo orden de datos, LinkedIn alineado abajo); lado a lado en computador, una sobre otra en celular */
.px-eq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.px-eq-carta { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .025); }
.px-eq-cab { display: flex; align-items: center; gap: 1.1rem; }
.px-eq-foto { flex: none; width: clamp(88px, 9vw, 124px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: #151518; }
.px-eq-id { min-width: 0; }
.px-eq-area { margin-bottom: .4rem; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e85d2a; }
.px-eq-nombre { font-size: clamp(1.65rem, 2.4vw, 2.15rem); line-height: 1.05; color: #f4f1ea; }
.px-eq-badge { margin-top: .45rem; font-size: .78rem; color: #9b978f; }
.px-eq-badge span { display: block; }
.px-eq-bio { font-size: .95rem; line-height: 1.65; color: #cfcac1; }
.px-eq-hab { display: grid; gap: .9rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.px-eq-hab li { position: relative; display: grid; gap: .2rem; padding-left: 1rem; }
.px-eq-hab li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: #e85d2a; }
.px-eq-hab b { font-size: .9rem; font-weight: 600; color: #f4f1ea; }
.px-eq-hab span { font-size: .85rem; line-height: 1.55; color: #a8a39a; }
.px-eq-in { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .7rem 1.15rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f4f1ea; transition: border-color .25s ease, background-color .25s ease; }
.px-eq-in:hover { border-color: rgba(232, 93, 42, .7); background: rgba(232, 93, 42, .1); }
.px-eq-in:focus-visible { outline: 2px solid #e85d2a; outline-offset: 3px; }
.px-eq-cta { display: flex; justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@media (max-width: 767px) {
    .px-eq { grid-template-columns: 1fr; }
    .px-eq-cab { gap: .9rem; }
    .px-eq-foto { width: 80px; }
    .px-eq-nombre { font-size: 1.45rem; }
    .px-eq-badge { font-size: .74rem; }
}
html.light-theme .px-eq-carta { border-color: rgba(9, 9, 11, .1); background: rgba(9, 9, 11, .02); }
html.light-theme .px-eq-nombre, html.light-theme .px-eq-hab b, html.light-theme .px-eq-in { color: #09090b; }
html.light-theme .px-eq-bio { color: #3f3d39; }
html.light-theme .px-eq-hab span, html.light-theme .px-eq-badge { color: #5d5a55; }
html.light-theme .px-eq-hab { border-top-color: rgba(9, 9, 11, .1); }
html.light-theme .px-eq-in { border-color: rgba(9, 9, 11, .2); }

/* 36. Inicio: resumen de planes (3 tarjetas); el detalle está en la pestaña Precios */
.px-resumen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.px-res { display: flex; flex-direction: column; gap: .45rem; padding: clamp(1.35rem, 2.2vw, 1.85rem); border-radius: 1rem; }
.px-res--dest { border-color: rgba(232, 93, 42, .5) !important; }
.px-res .v3-planes-reco { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e85d2a; }
.px-res .v3-monto { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); }
.px-res .v3-lista { margin: .4rem 0 1rem; }
.px-res .v3-lista li { padding-top: .6rem; padding-bottom: .6rem; }
.px-res .v3-plan-cta { margin-top: auto; align-self: flex-start; }
.px-res-tres { margin-top: 1.1rem; color: #a8a298; font-size: .875rem; }
@media (max-width: 1023px) { .px-resumen { grid-template-columns: 1fr; } }

/* 37. Precios: "¿Cuál me conviene?", "Arma tu cotización" y preguntas sobre precios */
.px-guia, .px-cot { border-radius: 1rem; padding: clamp(1.4rem, 2.6vw, 2.25rem); }
.px-guia { margin-bottom: 1.25rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem 2.5rem; align-items: start; }
.px-guia .px-bloque-cab { grid-column: 1 / -1; }
.px-bloque-cab { margin-bottom: 1.25rem; }
.px-bloque-cab .v3-h3 { margin-top: 0; }
.px-guia .px-bloque-cab { margin-bottom: 0; }
.px-preg { border: 0; margin: 0 0 1.15rem; padding: 0; min-width: 0; }
.px-preg legend { margin-bottom: .55rem; padding: 0; color: #f4f1ea; font-size: .9375rem; font-weight: 500; }
.px-preg legend small { margin-left: .4rem; color: #a8a298; font-size: .78rem; font-weight: 400; }
.px-opc { display: flex; flex-wrap: wrap; gap: .5rem; }
.px-opc label, .px-checks label { position: relative; cursor: pointer; }
.px-opc input, .px-checks input, .px-check-uno input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.px-opc span, .px-checks span { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.05rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #d6d1c7; font-size: .875rem; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.px-opc label:hover span, .px-checks label:hover span { border-color: rgba(255, 255, 255, .32); }
.px-opc input:checked + span, .px-checks input:checked + span { border-color: #e85d2a; background: rgba(232, 93, 42, .14); color: #fff; }
.px-opc input:focus-visible + span, .px-checks input:focus-visible + span, .px-check-uno input:focus-visible + span { outline: 2px solid #e85d2a; outline-offset: 2px; }
.px-opc--planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-opc--planes span { flex-direction: column; align-items: flex-start; gap: .1rem; width: 100%; border-radius: .85rem; padding: .7rem .9rem; color: #f4f1ea; font-weight: 600; }
.px-opc--planes small { color: #a8a298; font-weight: 400; font-size: .8rem; }
.px-checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.px-checks span::before, .px-check-uno span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 4px; }
.px-checks input:checked + span::before, .px-check-uno input:checked + span::before { border-color: #e85d2a; background: #e85d2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.px-check-uno { position: relative; display: block; cursor: pointer; }
.px-check-uno span { display: flex; align-items: flex-start; gap: .6rem; color: #d6d1c7; font-size: .875rem; line-height: 1.5; }
.px-check-uno span::before { margin-top: .2rem; }
.px-cant { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.px-cant button { width: 44px; height: 44px; color: #f4f1ea; font-size: 1.2rem; line-height: 1; border-radius: 999px; }
.px-cant button:disabled { opacity: .3; cursor: default; }
.px-cant button:not(:disabled):hover { color: #e85d2a; }
.px-cant output { min-width: 2.2rem; text-align: center; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.px-nota { margin-top: .5rem; color: #a8a298; font-size: .8rem; line-height: 1.5; }
.px-guia-res { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.4rem; border-radius: .85rem; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .14); }
.px-guia-res .v3-monto { margin: .1rem 0 .5rem; }
.px-guia-res .v3-enlace { margin-top: .9rem; align-self: flex-start; }
.px-guia-espera { color: #a8a298; font-size: .875rem; }
.px-cot { margin-top: 1.25rem; }
.px-cot-cuerpo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.px-cot-total { position: sticky; top: 6.5rem; padding: 1.4rem 1.5rem; border-radius: .85rem; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1); }
.px-cot-total .v3-monto { margin: .1rem 0 .9rem; font-variant-numeric: tabular-nums; }
.px-cot-filas { display: grid; gap: .45rem; margin-bottom: .9rem; }
.px-cot-filas > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.px-cot-filas > div[hidden] { display: none; }
.px-cot-filas dt { color: #a8a298; }
.px-cot-filas dd { color: #f4f1ea; text-align: right; font-variant-numeric: tabular-nums; }
.px-cot-sep { margin-top: .35rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.px-cot-total .v3-btn { margin-top: 1rem; width: 100%; justify-content: center; }
.px-pp { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.px-pp .v3-h3 { margin: 0 0 1rem; }
@media (max-width: 1023px) {
    .px-guia, .px-cot-cuerpo { grid-template-columns: 1fr; }
    .px-cot-total { position: static; }
}
@media (max-width: 479px) {
    .px-opc--planes { grid-template-columns: 1fr; }
    .px-opc--planes span { flex-direction: row; justify-content: space-between; align-items: center; }
}
html.light-theme .px-preg legend, html.light-theme .px-cant output, html.light-theme .px-cant button, html.light-theme .px-cot-filas dd, html.light-theme .px-opc--planes span { color: #09090b; }
html.light-theme .px-opc span, html.light-theme .px-checks span, html.light-theme .px-check-uno span { color: #3f3d39; border-color: rgba(9, 9, 11, .18); }
html.light-theme .px-opc input:checked + span, html.light-theme .px-checks input:checked + span { color: #09090b; }
html.light-theme .px-guia-res, html.light-theme .px-cot-total { background: rgba(9, 9, 11, .03); border-color: rgba(9, 9, 11, .12); }
html.light-theme .px-cant { border-color: rgba(9, 9, 11, .18); }
html.light-theme .px-cot-sep { border-top-color: rgba(9, 9, 11, .12); }
html.light-theme .px-checks span::before, html.light-theme .px-check-uno span::before { border-color: rgba(9, 9, 11, .35); }
#precios-guia, #precios-cotizador, #precios-preguntas { scroll-margin-top: 6rem; }
.px-cot-filas dd { white-space: nowrap; }
.px-cot-filas dd[data-cot-v-cotiza] { white-space: normal; }
.px-cot-total .v3-btn { padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }

/* 38. Precios en un solo recorrido: 1 plan (tarjetas = selector), 2 extras, 3 después de la entrega, total fijo al lado.
       Cada término lleva "?" (details nativo) con una explicación corta para quien no conoce la palabra */
.px-paso { margin-top: clamp(2rem, 4vw, 3rem); scroll-margin-top: 6rem; }
.px-paso-t { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: #fff; font-size: 1.05rem; font-weight: 500; }
.px-paso-t span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(232, 93, 42, .7); border-radius: 50%; color: #e85d2a; font-size: .78rem; font-weight: 600; }
.px-planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.px-plan { display: flex; flex-direction: column; gap: .45rem; padding: clamp(1.3rem, 2vw, 1.75rem); border-radius: 1rem; transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.px-plan.is-elegido, .px-plan:has(input[name="plan"]:checked) { border-color: #e85d2a !important; box-shadow: inset 0 0 0 1px #e85d2a; background-color: rgba(232, 93, 42, .045); }
.px-plan-cab { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.px-plan-cab .v3-lista-t { margin: 0; }
.px-plan .v3-planes-reco { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e85d2a; }
.px-plan .v3-monto { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem); }
.px-plan-base { margin-top: .35rem; color: #a8a298; font-size: .8rem; }
.px-items { margin: .25rem 0 1rem; }
.px-items > li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.px-items > li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .6rem; height: .35rem; border-left: 1.5px solid #e85d2a; border-bottom: 1.5px solid #e85d2a; transform: rotate(-45deg); }
.px-def summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; list-style: none; cursor: pointer; color: #f4f1ea; font-size: .9375rem; -webkit-tap-highlight-color: transparent; }
.px-def summary::-webkit-details-marker, .px-def summary::marker { display: none; content: ""; }
.px-def summary i, .px-q-mini { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #a8a298; font-size: 11px; font-style: normal; font-weight: 600; line-height: 1; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.px-q-mini { width: 16px; height: 16px; font-size: 10px; vertical-align: 1px; }
.px-def summary:hover i { border-color: #e85d2a; color: #e85d2a; }
.px-def[open] summary i { background: #e85d2a; border-color: #e85d2a; color: #fff; }
.px-def summary:focus-visible { outline: 2px solid #e85d2a; outline-offset: 3px; border-radius: 4px; }
.px-def p { margin: .45rem 1.6rem .15rem 0; color: #a8a298; font-size: .84rem; line-height: 1.55; }
.px-plan > .px-def summary { justify-content: flex-start; color: #a8a298; font-size: .8rem; }
.px-plan-elegir { position: relative; margin-top: auto; cursor: pointer; }
.px-plan-elegir input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.px-plan-elegir span { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #f4f1ea; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease; }
.px-plan-elegir:hover span { border-color: rgba(232, 93, 42, .7); }
.px-plan-elegir input:checked + span { background: #e85d2a; border-color: #e85d2a; color: #fff; }
.px-plan-elegir input:checked + span .px-no, .px-plan-elegir input:not(:checked) + span .px-si { display: none; }
.px-plan-elegir .px-si::before { content: "✓  "; }
.px-plan-elegir b { font-weight: 600; }
.px-plan-elegir input:focus-visible + span { outline: 2px solid #e85d2a; outline-offset: 3px; }
.px-tres { margin-top: 1rem; padding: 1.25rem 1.5rem .5rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 1rem; }
.px-items--tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; align-items: start; margin-bottom: .5rem; }
.px-config { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; }
.px-config > .px-cot-total { margin-top: calc(clamp(2rem, 4vw, 3rem) + 2.6rem); }
.px-caja { padding: .5rem 1.5rem 1.25rem; border-radius: 1rem; }
.px-extra { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); cursor: pointer; }
.px-extra:last-child { border-bottom: 0; }
.px-extra input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.px-extra-txt { position: relative; padding-left: 1.9rem; }
.px-extra-txt b { display: block; color: #f4f1ea; font-size: .92rem; font-weight: 500; }
.px-extra-txt small { display: block; margin-top: .15rem; color: #a8a298; font-size: .8rem; line-height: 1.45; }
.px-extra-txt::before { content: ""; position: absolute; left: 0; top: .15rem; width: 16px; height: 16px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 4px; }
.px-extra input:checked + .px-extra-txt::before { border-color: #e85d2a; background: #e85d2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.px-extra input:focus-visible + .px-extra-txt::before { outline: 2px solid #e85d2a; outline-offset: 2px; }
.px-extra-val { color: #d6d1c7; font-size: .85rem; white-space: nowrap; text-align: right; }
.px-extra--cant { grid-template-columns: minmax(0, 1fr) auto auto; cursor: default; }
.px-extra--cant .px-extra-txt { padding-left: 0; }
.px-extra--cant .px-extra-txt::before { display: none; }
.px-despues { display: grid; }
.px-despues > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.px-despues dt { flex: 1; min-width: 0; color: #f4f1ea; }
.px-despues dt .px-def summary { justify-content: flex-start; }
.px-despues dd { color: #f4f1ea; white-space: nowrap; }
.px-caja .px-check-uno { margin-top: 1rem; }
.px-check-uno b { color: #f4f1ea; font-weight: 600; }
.px-cot-total .px-def { margin-top: .6rem; }
.px-cot-total .px-def summary { justify-content: flex-start; color: #a8a298; font-size: .8rem; }
.px-cot-total .px-nota b { color: #f4f1ea; font-weight: 600; }
@media (max-width: 1023px) {
    .px-planes, .px-config { grid-template-columns: 1fr; }
    .px-items--tres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .px-config > .px-cot-total { margin-top: 1.5rem; }
}
@media (max-width: 639px) {
    .px-items--tres { grid-template-columns: 1fr; }
    .px-caja { padding: .25rem 1.1rem 1.1rem; }
    .px-extra--cant { grid-template-columns: minmax(0, 1fr) auto; }
    .px-extra--cant .px-extra-val { grid-column: 1 / -1; text-align: left; margin-top: -.35rem; }
}
html.light-theme .px-paso-t, html.light-theme .px-def summary, html.light-theme .px-extra-txt b, html.light-theme .px-despues dt, html.light-theme .px-despues dd, html.light-theme .px-check-uno b, html.light-theme .px-plan-elegir span, html.light-theme .px-cot-total .px-nota b { color: #09090b; }
html.light-theme .px-items > li, html.light-theme .px-extra, html.light-theme .px-despues > div { border-color: rgba(9, 9, 11, .1); }
html.light-theme .px-tres { border-color: rgba(9, 9, 11, .1); }
html.light-theme .px-def summary i, html.light-theme .px-q-mini, html.light-theme .px-plan-elegir span { border-color: rgba(9, 9, 11, .25); }
html.light-theme .px-plan-elegir input:checked + span { color: #fff; }
html.light-theme .px-extra-txt::before { border-color: rgba(9, 9, 11, .35); }
.px-despues dd.v3-gratis { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: #f08a5d; }
html.light-theme .px-despues dd.v3-gratis { color: #c2410c; }
.px-cu-txt { display: block; }
@media (max-width: 639px) {
    .px-extra { grid-template-columns: 1fr; gap: .25rem; }
    .px-extra .px-extra-val { text-align: left; padding-left: 1.9rem; color: #f08a5d; font-size: .8rem; }
    .px-extra--cant { grid-template-columns: minmax(0, 1fr) auto; }
    .px-extra--cant .px-extra-val { padding-left: 0; }
}
.px-check-uno .px-cu-txt { display: block; color: inherit; }
.px-check-uno .px-cu-txt::before { content: none; display: none; }

/* 39. Palabras destacadas de los títulos: ola de color que recorre la palabra cada pocos segundos (js/destacar.js) */
.px-dest { --c-1: #f4f1ea; --c-2: #e85d2a; }
.px-dest-pal { display: inline-block; white-space: nowrap; }
.px-dest-l { display: inline-block; color: var(--c-base, currentColor); will-change: transform; }
.px-dest--activo .px-dest-l { animation: pxEntra .9s ease-out calc(var(--i) * 55ms) 1 both; }   /* una sola vez: pasa a naranjo y queda sólido */

/* la palabra pasa a naranjo y se queda así; cada ~3 s un destello crema la recorre y vuelve a naranjo */
@keyframes pxEntra { 0% { color: var(--c-base); transform: none; } 45% { color: var(--c-1); transform: translateY(-.07em); } 100% { color: var(--c-2); transform: none; } }
@keyframes pxOla { 0%, 18%, 100% { color: var(--c-2); transform: none; } 8% { color: var(--c-1); transform: translateY(-.07em); } }
@keyframes pxOlaToque { 0%, 100% { color: var(--c-2); transform: none; } 45% { color: var(--c-1); transform: translateY(-.09em); } }
html.light-theme .px-dest { --c-1: #09090b; --c-2: #f08a5d; }
@media (prefers-reduced-motion: reduce) { .px-dest-l { animation: none !important; color: var(--c-2); } }
html.reduced-motion .px-dest-l { animation: none !important; color: var(--c-2); }

/* 40. Proceso: qué hace el cliente en cada paso */
.px-tu { margin-top: .55rem; color: #a8a298; font-size: .875rem; line-height: 1.55; }
.px-tu b { color: #e85d2a; font-weight: 600; }
html.light-theme .px-tu { color: #5c554b; }

/* 41. Contacto por WhatsApp */
.px-wa-btn { gap: .6rem; }
.px-wa-ico { flex: none; }
.px-wa-estado { font-size: .85rem; color: #a8a298; }
.px-eq-nombre { font-size: clamp(1.45rem, 1.9vw, 1.75rem); }
.px-wa-form .px-wa-btn { white-space: nowrap; padding-left: 1.3rem; padding-right: 1.3rem; }
/* con la invitación a bajar de la portada a la vista, las flechitas de los tramos vacíos se esconden (no se juntan dos flechas) */
body:has(.v3-bajar.is-visible) .px-sigue-capa { opacity: 0; pointer-events: none; }
.px-sigue-capa { transition: opacity .45s ease; }

/* 42. Pie en celular: la animación vertical de fondo, translúcida, y el pie encima (más alto para que se luzca) */
.px-pie-fondo { display: none; }
@media (max-width: 767px) {
    #site-footer { min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
    .px-pie-fondo { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
    .px-pie-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .62; }
    .px-pie-fondo::after { content: ""; position: absolute; inset: 0;
        background: linear-gradient(180deg, #070708 0%, rgba(7, 7, 8, .25) 18%, rgba(7, 7, 8, .15) 45%, rgba(7, 7, 8, .72) 75%, rgba(7, 7, 8, .9) 100%); }
    html.light-theme .px-pie-fondo::after { background: linear-gradient(180deg, #fdfbf8 0%, rgba(253, 251, 248, .3) 18%, rgba(253, 251, 248, .2) 45%, rgba(253, 251, 248, .8) 75%, rgba(253, 251, 248, .94) 100%); }
}
/* 42b. Pie en celular: la animación va ARRIBA, en su propio espacio, y el logo y los datos debajo, sin nada detrás (mismo 62 % de opacidad) */
@media (max-width: 767px) {
    #site-footer { min-height: 0; display: block; }
    .px-pie-fondo { position: relative; inset: auto; z-index: 0; height: 62svh; margin: -1.75rem -1.5rem 1.25rem; }
    .px-pie-fondo::after { content: none; }
    .px-pie-video { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%); }
}

/* 42c. Pie en celular: el video vertical se ve entero (9:16, sin recorte) y sube un poco */
@media (max-width: 767px) {
    .px-pie-fondo { height: auto; aspect-ratio: 9 / 16; max-height: 86svh; margin: -3rem auto 1rem; width: min(100%, calc(86svh * 9 / 16)); }
    .px-pie-video { object-fit: contain; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 90%, transparent 100%); }
}

/* 42d. Computador: la animación horizontal sobre el pie, entera (16:9), con bordes difuminados */
@media (min-width: 768px) {
    .px-pie-fondo { display: block; position: relative; width: min(100%, 1100px, calc(70vh * 16 / 9)); aspect-ratio: 16 / 9; margin: -1.25rem auto 1.5rem; pointer-events: none; }
    .px-pie-video { width: 100%; height: 100%; object-fit: contain; opacity: .62;
        -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
}
.px-pie-fondo:not(.px-pie-ok) { display: none !important; }

/* 42e. Celular: el video sobre el pie ocupa todo el ancho del teléfono (de borde a borde) y se adapta a él */
@media (max-width: 767px) {
    .px-pie-fondo { width: 100vw; max-height: none; margin: -3rem 0 1rem calc(50% - 50vw); }
}
/* computador: el borde del video se funde del todo con el fondo (sin rectángulo visible) */
@media (min-width: 768px) {
    .px-pie-video { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 97%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 97%); }
}

/* una vez en naranjo, se queda (aunque salga y vuelva a la pantalla) */
.px-dest--listo .px-dest-l { color: var(--c-2); }

/* 43. Titular de la animación del pie (solo se muestra si el video está) */
.px-pie-tit { text-align: center; margin: .5rem auto 0; padding: 0 1rem; max-width: 40rem; }
.px-pie-tit h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.05; color: #f4f1ea; }
.px-pie-tit p { margin-top: .6rem; color: #a8a298; font-size: .9rem; line-height: 1.5; }
#site-footer:not(:has(.px-pie-ok)) .px-pie-tit { display: none; }
html.light-theme .px-pie-tit h2 { color: #09090b; }
html.light-theme .px-pie-tit p { color: #5c554b; }
@media (max-width: 767px) { .px-pie-fondo { margin-top: -1.5rem; } }
@media (min-width: 768px) { .px-pie-fondo { margin-top: -.5rem; } }

/* el titular del pie va sobre la parte oscura de arriba del video (sin un hueco vacío entre ambos) */
.px-pie-tit { position: relative; z-index: 1; }
@media (max-width: 767px) { .px-pie-fondo { margin-top: -9rem; } }
@media (min-width: 768px) { .px-pie-fondo { margin-top: -3.5rem; } }

/* 44. El video del pie es solo para celular */
@media (min-width: 768px) { .px-pie-fondo, .px-pie-tit { display: none !important; } }

/* 45. Anchos intermedios (860–1023 px): la portada pasa a dos columnas como en computador (texto | logo 3D),
       en vez de apilar el logo bajo el texto con un hueco al lado */
@media (min-width: 860px) and (max-width: 1023px) {
    #inicio > .flex-1:first-child > div { flex-direction: row; align-items: center; column-gap: 2rem; justify-content: flex-start; }
    #inicio .hero-copy-col { flex: 0 0 clamp(24rem, 50%, 30rem); width: auto; max-width: none; padding-right: 0; }
    #inicio .hero-media-anim { flex: 1 1 0%; width: auto; min-width: 0; }
    #px-stage-drag-zone { height: clamp(300px, 52vh, 420px) !important; margin: 0 !important; }
}

/* 46. Título del proyecto (galería): banner de vidrio que se monta sobre el borde inferior de la imagen */
.v3-gal-info { position: relative; z-index: 3; width: min(100% - 2rem, 62rem); margin: -2.75rem auto 0; justify-content: space-between;
    padding: 1.05rem 1.25rem 1.05rem 1.6rem; border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12); }
.v3-gal-info.is-oculta { margin-top: 0; padding-block: 0; border-width: 0; }
html.light-theme .v3-gal-info { background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .46)); border-color: rgba(9, 9, 11, .08);
    box-shadow: 0 18px 40px -20px rgba(60, 40, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .8); }
@media (max-width: 767px) { .v3-gal-info { width: calc(100% - 1rem); margin-top: -1.5rem; padding: 1rem; } }

/* 47. Contacto: tarjeta más compacta, columnas centradas y "qué pasa después" en vez del hueco */
.v3-contacto-pasos { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .8rem; counter-reset: paso; }
.v3-contacto-pasos li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; align-items: baseline; font-size: .95rem; line-height: 1.5; color: #d6d1c7; counter-increment: paso; }
.v3-contacto-pasos li::before { content: counter(paso); font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.4rem; line-height: 1; color: #e85d2a; }
html.light-theme .v3-contacto-pasos li { color: #3f3a33; }
html.light-theme .v3-contacto-pasos li::before { color: #c2410c; }
.v3-contacto .v3-form { gap: 1.6rem 1.5rem; }
.v3-contacto .v3-legal { margin-top: 0; }
@media (min-width: 1024px) {
    .v3-contacto { max-width: 66rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: clamp(2rem, 3.5vw, 3.25rem); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
}

/* 48. Pie: dos filas. Marca y secciones; abajo, © con Privacidad · Términos · Créditos y el contacto */
#site-footer { padding-inline: clamp(1.25rem, 4vw, 3rem); }
.v3-pie-nav { display: none; }
.v3-pie-base { grid-area: copy; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(244, 241, 234, .08); }
.v3-pie-base .v3-pie-copy { padding-top: 0; border-top: 0; margin: 0; }
.v3-pie-legal { display: inline-flex; flex-wrap: wrap; gap: 0 1.1rem; margin-left: 1.1rem; }
.v3-pie-legal a { color: inherit; text-decoration: none; transition: color .2s; }
.v3-pie-legal a:hover, .v3-pie-legal a:focus-visible { color: #e85d2a; }
.v3-pie-base .v3-pie-enlaces { font-size: .78rem; }
@media (min-width: 768px) {
    #site-footer { padding-top: 2.75rem !important; padding-bottom: 1.5rem; }
    .v3-pie-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marca nav" "copy copy"; align-items: center; gap: 2rem 3rem; }
    .v3-pie-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: .5rem 1.9rem; font-size: .85rem; letter-spacing: .02em; }
    .v3-pie-nav button { color: #d6d1c7; transition: color .2s; }
    .v3-pie-nav button:hover, .v3-pie-nav button:focus-visible { color: #e85d2a; }
    html.light-theme .v3-pie-nav button { color: #3f3a33; }
}
@media (max-width: 767px) {
    .v3-pie-base { flex-direction: column; justify-content: center; text-align: center; }
    .v3-pie-legal { display: flex; justify-content: center; margin: .5rem 0 0; }
}

/* 49. Animación en vivo: solo dentro del escenario del logo, con bordes difuminados (sin máscara que cambie en cada cuadro) */
#px-stage-drag-zone { position: relative; container-type: inline-size; }
#px-vivo-canvas { position: absolute; left: -10%; top: -8%; width: 120%; height: 116%; display: block; pointer-events: none; opacity: 0; z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
            mask-composite: intersect; }
@media (max-width: 859px) { #px-vivo-canvas, .px-vivo-cierre { display: none; } }
/* cierre: letra sólida, centrada, delante de los dispositivos */
.px-vivo-cierre { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .22em; margin: 0; pointer-events: none;
    font-size: clamp(2rem, 10.5cqi, 5.25rem); line-height: 1; letter-spacing: -.02em; color: #f4f1ea; white-space: nowrap;
    text-shadow: 0 6px 32px rgba(0, 0, 0, .65); opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.px-vivo-cierre em { color: #e85d2a; font-style: italic; }
.px-vivo-cierre.is-on { opacity: 1; transform: none; }

/* 50. Precios · paso 1: tarjetas que se eligen; al elegir, pasan a la izquierda y a la derecha se despliega el panel de vidrio */
.px-plan-sel { display: flex; flex-direction: column; gap: .45rem; height: 100%; cursor: pointer; }
.px-plan-sel input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.px-plan:has(input:focus-visible) { outline: 2px solid #e85d2a; outline-offset: 3px; }
.px-plan-res { color: #a8a298; font-size: .82rem; line-height: 1.5; }
.px-plan-cta { margin-top: auto; padding-top: .9rem; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f4f1ea; }
.px-plan-cta .px-si { color: #e85d2a; }
.px-plan-cta .px-si::before { content: "✓ "; }
.px-plan input:checked ~ .px-plan-cta .px-no, .px-plan input:not(:checked) ~ .px-plan-cta .px-si { display: none; }
.px-plan:hover { border-color: rgba(232, 93, 42, .5); }
.px-plan--dest:not(.is-elegido) { border-color: rgba(255, 255, 255, .1) !important; box-shadow: none; background-color: transparent; }
.px-plan-panel { position: relative; padding: clamp(1.4rem, 2.4vw, 2.1rem); border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1); }
.px-pp-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.px-pp-cab .v3-lista-t { margin: 0; }
.px-pp-nombre { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: #f4f1ea; }
.px-pp-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.75rem; margin: 1.2rem 0 1rem; }
.px-pp-items li { display: flex; flex-direction: column; gap: .3rem; padding-left: 1.4rem; position: relative; }
.px-pp-items li::before { content: ""; position: absolute; left: .1rem; top: .45rem; width: .6rem; height: .35rem; border-left: 1.5px solid #e85d2a; border-bottom: 1.5px solid #e85d2a; transform: rotate(-45deg); }
.px-pp-items b { color: #f4f1ea; font-weight: 600; font-size: .95rem; }
.px-pp-que { color: #a8a298; font-size: .84rem; line-height: 1.5; }
.px-pp-por { color: #e9e4da; font-size: .84rem; line-height: 1.5; }
.px-pp-por::before { content: "Por qué sirve: "; color: #e85d2a; font-weight: 600; }
.px-pp-hereda { color: #a8a298; font-size: .84rem; line-height: 1.55; margin-bottom: 1rem; }
.px-pp-sub { margin: 1rem 0 .6rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.px-pp-base { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 1.5rem; }
.px-pp-base li { display: flex; flex-direction: column; gap: .15rem; font-size: .8rem; line-height: 1.45; color: #a8a298; }
.px-pp-base b { color: #f4f1ea; font-weight: 600; font-size: .84rem; }
html.light-theme .px-plan-panel { background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .45)) !important; border-color: rgba(9, 9, 11, .1) !important; box-shadow: 0 24px 60px -30px rgba(60, 40, 20, .35); }
html.light-theme .px-pp-nombre, html.light-theme .px-pp-items b, html.light-theme .px-pp-base b { color: #09090b; }
html.light-theme .px-pp-por { color: #3f3a33; }
html.light-theme .px-pp-que, html.light-theme .px-pp-base li, html.light-theme .px-pp-hereda, html.light-theme .px-plan-res { color: #6b645a; }
html.light-theme .px-plan-cta { color: #09090b; }
@media (min-width: 1024px) {
    .px-elige.is-abierto { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
    .px-elige.is-abierto .px-planes { grid-template-columns: 1fr; gap: .6rem; }
    .px-elige.is-abierto .px-plan { padding: 1rem 1.25rem; }
    .px-elige.is-abierto .px-plan .v3-monto { font-size: 1.6rem; }
    .px-elige.is-abierto .px-plan:not(.is-elegido) .v3-planes-para,
    .px-elige.is-abierto .px-plan:not(.is-elegido) .px-plan-res { display: none; }
    .px-elige.is-abierto .px-plan-cta { padding-top: .35rem; }
    .px-elige.is-abierto .px-plan-panel { position: sticky; top: 6rem; }
}
@media (max-width: 1023px) {
    .px-elige.is-abierto .px-plan-panel { margin-top: 1rem; }
    .px-pp-items, .px-pp-base { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) { .px-pp-base { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* el total ya no se desliza junto con la página */
.px-cot-total { position: static !important; }
.px-nota--arriba { margin: 0 0 .5rem; }
/* privacidad, términos y créditos */
.px-aux-body h4 { margin: 1.4rem 0 .5rem; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.35rem; color: #f4f1ea; scroll-margin-top: 1rem; }
.px-aux-body h4:first-child { margin-top: 0; }
html.light-theme .px-aux-body h4 { color: #09090b; }

/* 51. El banner del proyecto no tapa la imagen: va debajo, con su vidrio */
.v3-gal-info { margin-top: clamp(1rem, 2.5vh, 1.5rem) !important; }
@media (max-width: 767px) { .v3-gal-info { margin-top: .9rem !important; } }

/* 52. Pestaña Contacto: texto con lo que sigue a la izquierda; a la derecha, tarjeta de vidrio con campos en caja y opciones rápidas */
#contacto .form-reveal.px-ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: none; grid-template-rows: none; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 72rem; margin: 0 auto; padding: clamp(1rem, 4vh, 3rem) 0; }
.px-ct-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.px-ct-etiqueta { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .8rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #d6d1c7; }
.px-ct-punto { width: 7px; height: 7px; border-radius: 50%; background: #e85d2a; box-shadow: 0 0 0 0 rgba(232, 93, 42, .55); animation: pxLatido 2.2s ease-out infinite; }
@keyframes pxLatido { 0% { box-shadow: 0 0 0 0 rgba(232, 93, 42, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(232, 93, 42, 0); } }
#contacto #contact-heading { grid-area: auto; text-align: left; margin: 0; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.04; }
.px-ct-bajada { max-width: 30rem; color: #d6d1c7; font-size: 1rem; line-height: 1.6; margin: 0; }
.px-ct-sigue { display: grid; gap: .7rem; margin: .4rem 0 .2rem; padding: 0; list-style: none; }
.px-ct-sigue li { position: relative; padding-left: 1.7rem; color: #e9e4da; font-size: .95rem; line-height: 1.5; }
.px-ct-sigue li::before { content: ""; position: absolute; left: .15rem; top: .45rem; width: .62rem; height: .35rem; border-left: 1.5px solid #e85d2a; border-bottom: 1.5px solid #e85d2a; transform: rotate(-45deg); }
.px-ct-canales { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); width: 100%; font-size: .82rem; color: #a8a298; }
.px-ct-correo { color: #f4f1ea; text-decoration: underline; text-decoration-color: rgba(232, 93, 42, .6); text-underline-offset: 3px; }
.px-ct-canales a[data-social] { padding: .45rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); color: #d6d1c7; display: inline-flex; }
#contacto #contact-form.px-ct-form { grid-area: auto; position: relative; padding: clamp(1.5rem, 3vw, 2.4rem) !important; border-radius: 24px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: 0 30px 80px -40px rgba(232, 93, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .1) !important; }
#contacto #contact-form.px-ct-form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(232, 93, 42, .16), transparent 70%); }
.px-ct-form form { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.px-ct-campo { display: flex; flex-direction: column; gap: .5rem; }
.px-ct-campo label, .px-ct-rot { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a8a298; margin: 0; }
.px-ct-opc { text-transform: none; letter-spacing: 0; }
.px-ct-campo input, .px-ct-campo textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); color: #f4f1ea; font-size: .95rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.px-ct-campo textarea { min-height: 6.5rem; }
.px-ct-campo input::placeholder, .px-ct-campo textarea::placeholder { color: #6f6a62; }
.px-ct-campo input:focus, .px-ct-campo textarea:focus { outline: none; border-color: #e85d2a; box-shadow: 0 0 0 3px rgba(232, 93, 42, .18); }
.px-ct-campo input[aria-invalid="true"] { border-color: #e85d2a; }
.px-ct-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.px-ct-chips button { padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #d6d1c7; font-size: .84rem; transition: border-color .2s, background-color .2s, color .2s; }
.px-ct-chips button:hover { border-color: rgba(232, 93, 42, .6); }
.px-ct-chips button[aria-pressed="true"] { background: rgba(232, 93, 42, .16); border-color: #e85d2a; color: #fff; }
.px-ct-chips button:focus-visible { outline: 2px solid #e85d2a; outline-offset: 2px; }
.px-ct-pie { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-top: .25rem; }
html.light-theme .px-ct-etiqueta { border-color: rgba(9, 9, 11, .14); color: #3f3a33; }
html.light-theme .px-ct-bajada, html.light-theme .px-ct-sigue li { color: #3f3a33; }
html.light-theme .px-ct-correo { color: #09090b; }
html.light-theme #contacto #contact-form.px-ct-form { background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border-color: rgba(9, 9, 11, .1) !important; box-shadow: 0 30px 70px -40px rgba(194, 65, 12, .35) !important; }
html.light-theme .px-ct-campo input, html.light-theme .px-ct-campo textarea { background: rgba(255, 255, 255, .7); border-color: rgba(9, 9, 11, .14); color: #09090b; }
html.light-theme .px-ct-chips button { border-color: rgba(9, 9, 11, .16); color: #3f3a33; }
html.light-theme .px-ct-chips button[aria-pressed="true"] { color: #09090b; }
@media (max-width: 1023px) {
    #contacto .form-reveal.px-ct { grid-template-columns: 1fr; gap: 1.75rem; padding: .5rem 0 1rem; }
}

/* 53. Pestaña Equipo: dos fotos lado a lado; al elegir una, pasa a la izquierda y se despliega el panel de vidrio. Cabe en una pantalla */
.px-eq2-sec { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vh, 1.75rem); }
.px-eq2-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.px-eq2-cab h2 { margin: 0; }
.px-eq2-bajada { color: #a8a298; font-size: .95rem; margin: 0; }
.px-eq2-fotos { display: flex; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem); }
.px-eq2-carta { position: relative; display: block; flex: none; height: min(64svh, 34rem); aspect-ratio: 4 / 5; padding: 0; border-radius: 22px; overflow: hidden; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .12); background: #111; box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .9); transition: border-color .3s, box-shadow .3s; }
.px-eq2-carta img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.px-eq2-carta:hover img { transform: scale(1.035); }
.px-eq2-carta:hover { border-color: rgba(232, 93, 42, .55); }
.px-eq2-carta:focus-visible { outline: 2px solid #e85d2a; outline-offset: 4px; }
.px-eq2-pie { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .15rem; padding: 3rem 1.25rem 1.1rem; text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent); }
.px-eq2-pie b { font-size: 1.5rem; font-weight: 400; color: #fff; line-height: 1.1; }
.px-eq2-pie small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #e9e4da; }
.px-eq2-carta.is-elegida { border-color: #e85d2a; box-shadow: 0 30px 70px -35px rgba(232, 93, 42, .55); }
.px-eq2-panel { position: relative; padding: clamp(1.4rem, 2.5vw, 2.2rem); border-radius: 24px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .1); }
.px-eq2-cerrar { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #d6d1c7; }
.px-eq2-cerrar:hover { border-color: #e85d2a; color: #fff; }
.px-eq2-area { margin: 0 0 .35rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e85d2a; }
.px-eq2-nombre { margin: 0 3rem .4rem 0; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.05; color: #f4f1ea; }
.px-eq2-rol { margin: 0 0 .6rem; font-size: .88rem; color: #d6d1c7; }
.px-eq2-badge { display: inline-block; padding: .3rem .7rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .72rem; color: #d6d1c7; }
.px-eq2-bio { margin: 1rem 0 0; font-size: .95rem; line-height: 1.6; color: #e9e4da; max-width: 46rem; }
.px-eq2-hab { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.4rem; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; }
.px-eq2-hab li { display: flex; flex-direction: column; gap: .35rem; padding-left: .85rem; border-left: 2px solid #e85d2a; }
.px-eq2-hab b { font-size: .86rem; color: #f4f1ea; font-weight: 600; line-height: 1.3; }
.px-eq2-hab span { font-size: .8rem; line-height: 1.5; color: #a8a298; }
.px-eq2-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.25rem; }
html.light-theme .px-eq2-panel { background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border-color: rgba(9, 9, 11, .1); box-shadow: 0 30px 70px -40px rgba(60, 40, 20, .35); }
html.light-theme .px-eq2-nombre, html.light-theme .px-eq2-hab b { color: #09090b; }
html.light-theme .px-eq2-rol, html.light-theme .px-eq2-bio, html.light-theme .px-eq2-badge { color: #3f3a33; }
html.light-theme .px-eq2-hab span, html.light-theme .px-eq2-bajada { color: #6b645a; }
@media (min-width: 1024px) {
    .px-eq2-sec { min-height: calc(100svh - 8rem); }
    .px-eq2 { flex: 1; display: flex; align-items: center; justify-content: center; }
    .px-eq2.is-abierto { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 1.75rem; align-items: start; }
    .px-eq2.is-abierto .px-eq2-fotos { flex-direction: column; justify-content: flex-start; gap: .7rem; }
    .px-eq2.is-abierto .px-eq2-carta { width: 100%; height: auto; }
    .px-eq2-panel { max-height: calc(100svh - 12rem); overflow: auto; }
}
@media (max-width: 1023px) {
    .px-eq2-fotos { gap: .75rem; }
    .px-eq2-carta { height: auto; width: calc(50% - .375rem); max-width: 18rem; }
    .px-eq2-pie { padding: 2rem .8rem .7rem; }
    .px-eq2-pie b { font-size: 1.1rem; }
    .px-eq2-panel { margin-top: 1rem; }
    .px-eq2-hab { grid-template-columns: 1fr; }
}

/* 54. Cierre de la portada: "Esto es lo que hacemos para ti", en dos líneas si no cabe */
#px-stage-drag-zone .px-vivo-cierre { flex-wrap: wrap; white-space: normal; text-align: center; padding: 0 6%; font-size: clamp(1.8rem, 8cqi, 4.2rem); line-height: 1.05; column-gap: .25em; }
#px-stage-drag-zone .px-vivo-cierre span, #px-stage-drag-zone .px-vivo-cierre em { white-space: nowrap; }

/* 55. Formulario del inicio: el mismo diseño que la pestaña Contacto (texto con lo que sigue + tarjeta de vidrio con campos en caja) */
.px-ct--inicio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 72rem; margin: 0 auto; }
.px-ct--inicio #quick-contact-heading { margin: 0; line-height: 1.04; }
.px-ct--inicio .px-ct-form { position: relative; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 24px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -40px rgba(232, 93, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.px-ct--inicio .px-ct-form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(232, 93, 42, .16), transparent 70%); }
html.light-theme .px-ct--inicio .px-ct-form { background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border-color: rgba(9, 9, 11, .1); box-shadow: 0 30px 70px -40px rgba(194, 65, 12, .35); }
@media (max-width: 1023px) { .px-ct--inicio { grid-template-columns: 1fr; gap: 1.75rem; } }

/* 56. Ajustes: formularios parten a la misma altura que el texto; equipo con moneda que se da vuelta y sin hueco abajo */
.px-ct--inicio, #contacto .form-reveal.px-ct { align-items: start !important; }
.px-eq2-fotos { perspective: 1400px; }
.px-eq2-girar { display: inline-flex; align-items: center; gap: .45rem; align-self: center; margin-top: .25rem; padding: .5rem .95rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #d6d1c7; font-size: .8rem; }
.px-eq2-girar[hidden], .px-eq2:not(.is-abierto) .px-eq2-girar { display: none !important; }
.px-eq2-girar:hover { border-color: #e85d2a; color: #fff; }
html.light-theme .px-eq2-girar { border-color: rgba(9, 9, 11, .16); color: #3f3a33; }
@media (min-width: 1024px) {
    .px-eq2-sec { min-height: 0; }
    .px-eq2 { flex: none; display: block; }
    .px-eq2.is-abierto { display: grid; }
    .px-eq2.is-abierto .px-eq2-fotos { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: .6rem; }
    .px-eq2.is-abierto .px-eq2-carta { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 58svh; transform-style: preserve-3d; backface-visibility: hidden; }
    .px-eq2.is-abierto .px-eq2-carta:not(.is-elegida) { visibility: hidden; pointer-events: none; }
    .px-eq2.is-abierto .px-eq2-girar { grid-area: 2 / 1; justify-self: center; }
}

/* 57. Cierre: las dos líneas juntas y centradas */
#px-stage-drag-zone .px-vivo-cierre { align-content: center; row-gap: .12em; }

/* 58. Video del pie en celular: colores reales (sin opacidad) y el título arriba del video, sin taparlo */
@media (max-width: 767px) {
    .px-pie-video { opacity: 1 !important; }
    .px-pie-fondo { margin-top: .75rem !important; }
}

/* 59. Banner del proyecto en celular: delgado y elegante (una fila: nombre y rubro a la izquierda, "Ver caso" a la derecha) */
@media (max-width: 767px) {
    .v3-gal-info { grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "txt acc" !important; align-items: center; column-gap: .75rem;
        width: calc(100% - 2rem) !important; padding: .6rem .5rem .6rem 1.05rem !important; border-radius: 14px !important; margin-top: .85rem !important;
        border-color: rgba(255, 255, 255, .1) !important; box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .8) !important; }
    .v3-gal-titulo { font-size: 1.22rem !important; font-weight: 400; letter-spacing: .01em; margin: 0 0 .1rem !important; }
    .v3-gal-cat { font-size: .64rem !important; letter-spacing: .16em !important; text-transform: uppercase !important; font-weight: 300; }
    .v3-gal-acc { justify-content: flex-end !important; }
    .v3-gal-acc [data-gal-caso] { min-height: 40px; padding: 0 .55rem !important; font-size: 10px !important; letter-spacing: .18em !important; font-weight: 500; }
    .v3-gal-acc [data-gal-caso] svg { width: 12px; height: 12px; }
}

/* 60. Pie en celular: menos aire entre el título y el video. Medido en 40 cuadros del video: arriba del 19 % casi siempre está
       oscuro (en 9 de cada 10 cuadros), así que el video sube un poco bajo el título y se recorta arriba */
@media (max-width: 767px) {
    .px-pie-fondo { aspect-ratio: 9 / 14 !important; margin-top: -7.5rem !important; }
    .px-pie-video { object-fit: cover !important; object-position: 50% 85% !important; }
}

/* 61. Proyectos: qué plan contrató cada cliente */
.px-proy-plan { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .3rem .75rem; border: 1px solid rgba(232, 93, 42, .45); border-radius: 999px;
    font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #f4c9b4; background: rgba(232, 93, 42, .08); }
.px-proy-plan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e85d2a; }
html.light-theme .px-proy-plan { color: #9a3412; background: rgba(232, 93, 42, .06); }

/* 62. Animación del video en el escenario: más margen y bordes difuminados en rectángulo suave (no un foco ovalado) */
#px-vivo-canvas { left: -16% !important; top: -12% !important; width: 132% !important; height: 124% !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
            mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%) !important;
            mask-composite: intersect !important; }

/* 63. Modo día: vuelve el fondo de mármol con vetas y la cabecera con vetas (el original). Ahora son imágenes livianas
   (img/marmol.webp 11 KB, img/vetas-cabecera.webp 2 KB) en vez de SVG con filtros, así no frena el celular ni el cambio de tema. */
html.light-theme body {
    background-color: #ECE7DF !important;
    background-image: radial-gradient(ellipse 70% 60% at 75% 42%, rgba(234, 88, 12, .10) 0%, rgba(245, 158, 11, .04) 45%, transparent 70%),
                      radial-gradient(circle at 12% 85%, rgba(16, 185, 129, .05) 0%, transparent 45%),
                      url("../img/marmol.webp") !important;
    background-repeat: no-repeat, no-repeat, repeat !important;
    background-size: 100% 100%, 100% 100%, 1400px 1400px !important;
    background-attachment: fixed, fixed, fixed !important;
}
html.light-theme header.surface-blur {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(243, 238, 230, .20) 100%), url("../img/vetas-cabecera.webp") !important;
    background-size: cover, 1440px 80px !important; background-repeat: no-repeat, repeat-x !important;
}
@media (max-width: 767px) {   /* en celular el fondo fijo salta al hacer scroll: se mueve con la página */
    html.light-theme body { background-attachment: scroll, scroll, scroll !important; background-size: 100% 100%, 100% 100%, 900px 900px !important; }
}

/* 64. Proyectos recientes en la portada: cuatro tarjetas (2 × 2) */
#inicio .trust-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { #inicio .trust-cards-grid { grid-template-columns: 1fr; } }

/* 65. "¿Hacemos la tuya?" más grande en el escenario */
#px-stage-drag-zone .px-vivo-cierre { font-size: clamp(2.6rem, 11.5cqi, 5.8rem); }

/* 66. "Ver de nuevo": botón sutil bajo el logo; aparece después de la primera vuelta de la animación */
.px-ver-de-nuevo { position: absolute; left: 50%; bottom: -1%; z-index: 3; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(244, 241, 234, .16); background: rgba(244, 241, 234, .04);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(244, 241, 234, .72);
    font: 500 .68rem/1 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
    transition: opacity .6s ease, transform .6s ease, border-color .3s ease, color .3s ease; }
.px-ver-de-nuevo.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.px-ver-de-nuevo:hover, .px-ver-de-nuevo:focus-visible { color: #f4f1ea; border-color: rgba(232, 93, 42, .6); outline: none; }
html.light-theme .px-ver-de-nuevo { display: none; }
@media (max-width: 859px) { .px-ver-de-nuevo { display: none; } }

/* 67. Ajustes responsivos (tablet 720–1023px, acordeón móvil en Precios y alineación del pie) */
@media (max-width: 1023px) {
    .px-eq2-girar { display: none !important; }
}
@media (min-width: 720px) and (max-width: 1023px) {
    .px-resumen { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.85rem !important; }
    .px-res { padding: 1.25rem !important; }
}
@media (max-width: 719px) {
    .px-resumen { max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 1023px) {
    .v3-linea { width: 100% !important; max-width: none !important; }
    .v3-lp { width: 100% !important; max-width: none !important; grid-template-columns: minmax(0, 1fr) auto !important; }
    .v3-lp p { max-width: none !important; }

    .v3-faq { width: 100% !important; max-width: none !important; }
    .v3-faq-lista { width: 100% !important; max-width: none !important; }
    .v3-faq-item, .v3-faq-lista details { width: 100% !important; max-width: none !important; }
    .v3-faq-otra { width: 100% !important; max-width: none !important; }

    .px-ct { grid-template-columns: 1fr !important; max-width: none !important; width: 100% !important; margin-inline: auto !important; }
    .px-ct-txt, .px-ct-bajada, .px-ct-sigue { width: 100% !important; max-width: none !important; }
}
/* Formulario de contacto extendido en escritorio: aprovecha el ancho completo del contenedor (80rem) */
@media (min-width: 1024px) {
    .px-ct--inicio,
    #contacto .form-reveal.px-ct {
        max-width: 80rem !important;
        width: 100% !important;
        grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.38fr) !important;
        gap: clamp(2rem, 4vw, 3.5rem) !important;
    }
}
@media (min-width: 720px) and (max-width: 1023px) {
    .px-planes { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.85rem !important; align-items: stretch !important; }
    .px-plan { padding: 1.25rem !important; }
    .px-planes > [data-plan-panel],
    .px-elige > [data-plan-panel] {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
    }
}
@media (max-width: 719px) {
    .px-planes { max-width: 30rem; margin-inline: auto; }
    .px-planes > [data-plan-panel] {
        width: 100% !important;
        margin-top: -0.45rem !important;
        margin-bottom: 0.5rem !important;
        border-top-left-radius: 10px !important;
        border-top-right-radius: 10px !important;
        border-color: rgba(232, 93, 42, 0.45) !important;
    }
}
@media (max-width: 1023px) {
    #precios .px-extras-grid, #precios .px-despues { width: 100% !important; max-width: none !important; }
}
#site-footer {
    padding-inline: clamp(1.5rem, 5vw, 4rem) !important;
}
#site-footer > *:not(.px-pie-fondo) {
    max-width: 72rem !important;
    margin-inline: auto !important;
    width: 100% !important;
}

/* 68. Quienes ya confían en nosotros: carrusel horizontal de ancho completo sobre el formulario de contacto */
.px-confian-sec {
    width: 100vw;
    max-width: none;
    margin: 0 0 clamp(2.5rem, 4.5vw, 3.75rem) calc(50% - 50vw);
    padding: 0;
}
.px-confian-cab {
    max-width: 80rem;
    margin: 0 auto 1.1rem;
    padding: 0 clamp(1.25rem, 4vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.px-confian-etq {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f4f1ea;
    font-weight: 600;
    text-shadow: 0 0 18px rgba(232, 93, 42, 0.6), 0 0 6px rgba(244, 241, 234, 0.35);
}
.px-confian-etq::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e85d2a;
    box-shadow: 0 0 10px rgba(232, 93, 42, 0.9), 0 0 20px rgba(232, 93, 42, 0.45);
    flex-shrink: 0;
}
.px-confian-sub {
    font-size: 0.74rem;
    color: rgba(244, 241, 234, 0.58);
}
html.light-theme .px-confian-etq { color: #141210; text-shadow: 0 0 14px rgba(232, 93, 42, 0.22); }
html.light-theme .px-confian-sub { color: rgba(20, 18, 16, 0.55); }
.px-confian-vp {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.015);
    padding: 0.5rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
html.light-theme .px-confian-vp {
    border-top-color: rgba(9, 9, 11, 0.1);
    border-bottom-color: rgba(9, 9, 11, 0.1);
    background: rgba(9, 9, 11, 0.018);
}
.px-confian-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: pxConfianScroll 32s linear infinite;
    padding: 0;
}
.px-confian-vp:hover .px-confian-track,
.px-confian-vp:focus-within .px-confian-track {
    animation-play-state: paused;
}
.px-confian-card {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 19.5rem;
    cursor: pointer;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.25rem 2.35rem !important;
    position: relative;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.px-confian-card:hover {
    background: transparent !important;
    transform: translateY(-1px);
}
.px-confian-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
html.light-theme .px-confian-card::after { background: rgba(9, 9, 11, 0.12); }
.px-confian-card .trust-logo-circle {
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
}
.px-confian-card[data-hero-caso="hg"] .trust-logo-circle {
    background: #fff !important;
    border-radius: 9px !important;
}
.px-confian-card .trust-logo-circle img {
    width: 31px !important;
    height: 31px !important;
}
.px-confian-card span.font-sans.font-semibold {
    font-family: "Instrument Serif", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 1.42rem !important;
    letter-spacing: 0.01em !important;
    color: rgba(244, 241, 234, 0.92);
}
html.light-theme .px-confian-card span.font-sans.font-semibold { color: #141210 !important; }
.px-confian-card span.font-amassa {
    font-size: 1.68rem !important;
}
html.light-theme .px-confian-card span.font-amassa { color: #141210 !important; }
.px-confian-card span.text-\[10px\] {
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(244, 241, 234, 0.5) !important;
}
html.light-theme .px-confian-card span.text-\[10px\] { color: rgba(20, 18, 16, 0.54) !important; }
.px-confian-card > span[aria-hidden="true"] { display: none !important; }
@keyframes pxConfianScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.3333%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .px-confian-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
    .px-confian-card:nth-child(n+5) { display: none; }
}

/* 69. Galería: solo "Ver caso" en el banner inferior (sin "Visitar sitio" externo) */
[data-gal-sitio] { display: none !important; }

/* 70. Hero en escritorio: mayor presencia tipográfica para equilibrar con el logo 3D Px */
@media (min-width: 1024px) {
    #inicio .hero-title {
        font-size: clamp(2.65rem, 1.15rem + 2.55vw, 4.05rem) !important;
        line-height: 1.06 !important;
    }
    #inicio .hero-copy-col > div {
        max-width: 39rem !important;
    }
    #inicio .v3-hero-larga {
        font-size: 1.0625rem !important;
        line-height: 1.68 !important;
        margin-bottom: 1.65rem !important;
    }
    #inicio .hero-copy-col button[data-tab="proyectos"],
    #inicio .hero-copy-col button[data-scroll="inicio-contacto"] {
        font-size: 0.8rem !important;
        padding: 0.85rem 1.75rem !important;
    }
    #inicio .v3-hechos {
        font-size: 0.76rem !important;
        margin-top: 0.5rem !important;
    }
}
