@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&family=Orbitron:wght@900&display=swap');

:root {
    color-scheme: dark;

    --background: #020308;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.46);
    --line: rgba(255, 255, 255, 0.16);
    --blue: #168cff;
    --violet: #782dff;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: var(--background);
}

body {
    overflow: hidden;
    color: var(--white);
    font-family:
        "Arial Black",
        "Segoe UI Black",
        "Eurostile",
        "Bank Gothic",
        monospace;
}

button,
input {
    font: inherit;
}

.vekthron-shell {
    width: 100%;
    height: 100dvh;
    min-height: 600px;

    display: grid;
    grid-template-rows:
        auto
        minmax(210px, 1fr)
        minmax(130px, 28vh)
        auto;

    gap: 14px;

    padding:
        max(18px, env(safe-area-inset-top))
        clamp(16px, 4vw, 58px)
        max(18px, env(safe-area-inset-bottom));

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(62, 46, 160, 0.18),
            transparent 40%
        ),
        #020308;
}

.brand {
    text-align: center;
    letter-spacing: 0.22em;
}

.brand h1 {
    margin: 0;
    font-size: clamp(30px, 4.8vw, 68px);
    font-weight: 900;
    line-height: 1;
}

.brand p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: clamp(9px, 1vw, 13px);
    letter-spacing: 0.34em;
}

.presence {
    min-height: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
}

.head-placeholder {
    position: relative;
    width: min(45vh, 400px);
    aspect-ratio: 1;

    display: grid;
    place-items: center;
}

.energy-head {
    width: 47%;
    height: 65%;

    border-radius:
        46% 46%
        42% 42%;

    background:
        radial-gradient(
            circle at 37% 28%,
            rgba(255, 255, 255, 0.72),
            transparent 8%
        ),
        linear-gradient(
            135deg,
            rgba(22, 140, 255, 0.96),
            rgba(120, 45, 255, 0.9)
        );

    filter:
        blur(1px)
        drop-shadow(0 0 30px rgba(22, 140, 255, 0.62))
        drop-shadow(0 0 58px rgba(120, 45, 255, 0.48));

    opacity: 0.82;

    animation:
        headPulse 4s ease-in-out infinite;
}

.energy-orbit {
    position: absolute;
    border: 1px solid rgba(126, 145, 255, 0.34);
    border-radius: 50%;
}

.orbit-one {
    width: 68%;
    height: 84%;
    animation: orbitOne 8s linear infinite;
}

.orbit-two {
    width: 86%;
    height: 56%;
    transform: rotate(67deg);
    animation: orbitTwo 10s linear infinite;
}

.system-state {
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-size: clamp(9px, 1vw, 12px);
    font-weight: 900;
    letter-spacing: 0.23em;
}

.response-panel {
    width: min(1120px, 100%);
    min-height: 0;
    margin: 0 auto;

    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scroll-behavior: smooth;

    padding: 18px 8px 24px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.response-text,
.type-cursor {
    color: #ffffff;

    font-family:
        "Arial Black",
        "Segoe UI Black",
        "Eurostile",
        "Bank Gothic",
        monospace;

    font-size: clamp(17px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: 0.055em;
}

.response-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.type-cursor {
    display: inline-block;
    margin-left: 3px;
    animation: cursorPulse 0.8s steps(2, end) infinite;
}

.question-form {
    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.question-form input {
    width: 100%;
    min-width: 0;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
    outline: none;

    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;

    padding: 15px 17px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.question-form input:focus {
    border-color: rgba(255, 255, 255, 0.68);
}

.question-form input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.question-form button {
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 4px;

    background: #ffffff;
    color: #05060a;

    padding: 0 22px;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;

    cursor: pointer;
}

.question-form button:hover {
    background: rgba(255, 255, 255, 0.86);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@keyframes headPulse {
    0%,
    100% {
        transform: scale(0.97);
        opacity: 0.68;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.94;
    }
}

@keyframes orbitOne {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitTwo {
    from {
        transform: rotate(67deg);
    }

    to {
        transform: rotate(-293deg);
    }
}

@keyframes cursorPulse {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0.14;
    }
}

@media (max-width: 700px) {
    .vekthron-shell {
        min-height: 560px;

        grid-template-rows:
            auto
            minmax(180px, 1fr)
            minmax(150px, 30vh)
            auto;

        gap: 10px;
    }

    .head-placeholder {
        width: min(37vh, 290px);
    }

    .question-form {
        grid-template-columns: 1fr;
    }

    .question-form button {
        min-height: 48px;
    }
}

/* ===== VEKTHRON TYPOGRAPHY · TERMINATOR STYLE V1 ===== */

body,
button,
input {
    font-family:
        "Bruno Ace SC",
        "Orbitron",
        sans-serif;
}

.brand h1 {
    font-family:
        "Orbitron",
        "Bruno Ace SC",
        sans-serif;

    font-weight: 900;
    letter-spacing: 0.11em;
    text-rendering: geometricPrecision;
}

.brand p,
.system-state {
    font-family:
        "Bruno Ace SC",
        "Orbitron",
        sans-serif;

    font-weight: 900;
}

.response-text,
.type-cursor {
    font-family:
        "Bruno Ace SC",
        "Orbitron",
        sans-serif;

    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    text-rendering: geometricPrecision;
    font-synthesis: weight;

    -webkit-text-stroke: 0.35px currentColor;
    paint-order: stroke fill;
}

.question-form input,
.question-form button {
    font-family:
        "Bruno Ace SC",
        "Orbitron",
        sans-serif;

    font-weight: 900;
    text-transform: uppercase;
    text-rendering: geometricPrecision;
}

.question-form input {
    letter-spacing: 0.065em;
}

.question-form button {
    letter-spacing: 0.085em;
}

@media (max-width: 700px) {
    .response-text,
    .type-cursor {
        letter-spacing: 0.055em;
        -webkit-text-stroke: 0.25px currentColor;
    }
}

/* ===== VEKTHRON HERO IMAGE V1 ===== */

body {
    overflow-x: hidden;
    overflow-y: auto;
}

.vekthron-shell {
    height: auto;
    min-height: 100dvh;

    grid-template-rows:
        auto
        minmax(0, auto)
        minmax(130px, 28vh)
        auto;
}

.hero-presence {
    width: 100%;
    min-height: calc(100dvh - 120px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 0 24px;
}

.vekthron-hero-frame {
    width: 100%;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.vekthron-hero-image {
    display: block;

    width: auto;
    height: auto;

    max-width: min(100%, 920px);
    max-height: calc(100dvh - 135px);

    object-fit: contain;

    filter:
        drop-shadow(0 0 18px rgba(22, 140, 255, 0.18))
        drop-shadow(0 0 38px rgba(120, 45, 255, 0.12));

    animation:
        vekthronHeroReveal 1.45s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

@keyframes vekthronHeroReveal {
    from {
        opacity: 0;
        transform: scale(0.965);
        filter:
            brightness(0.65)
            drop-shadow(0 0 4px rgba(22, 140, 255, 0));
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter:
            brightness(1)
            drop-shadow(0 0 18px rgba(22, 140, 255, 0.18))
            drop-shadow(0 0 38px rgba(120, 45, 255, 0.12));
    }
}

@media (max-width: 700px) {
    .vekthron-shell {
        grid-template-rows:
            auto
            minmax(0, auto)
            minmax(150px, 30vh)
            auto;
    }

    .hero-presence {
        min-height: auto;
        padding: 8px 0 20px;
    }

    .vekthron-hero-image {
        width: 100%;
        max-width: 560px;
        max-height: none;
    }
}

/* ===== VEKTHRON VIEWPORT FIT V2 ===== */

/*
    Toda la interfaz debe caber en una sola pantalla.
    La cabeza conserva el máximo espacio posible.
*/

html,
body {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body {
    overscroll-behavior: none;
}

.vekthron-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;

    display: grid;

    grid-template-rows:
        auto
        minmax(0, 1fr)
        86px
        46px;

    gap: 8px;

    padding:
        max(9px, env(safe-area-inset-top))
        clamp(14px, 3vw, 42px)
        max(10px, env(safe-area-inset-bottom));
}


/* ===== CABECERA MÁS COMPACTA ===== */

.brand {
    min-height: 0;
    line-height: 1;
}

.brand h1 {
    margin: 0;

    font-size: clamp(28px, 3.5vw, 52px);
    line-height: 0.95;
    letter-spacing: 0.105em;
}

.brand p {
    margin: 6px 0 0;

    font-size: clamp(8px, 0.72vw, 11px);
    line-height: 1;
    letter-spacing: 0.28em;
}


/* ===== IMAGEN: OCUPA TODO EL ESPACIO RESTANTE ===== */

.hero-presence {
    width: 100%;
    height: 100%;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    padding: 0;
}

.vekthron-hero-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.vekthron-hero-image {
    display: block;

    width: auto;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 18px rgba(22, 140, 255, 0.24))
        drop-shadow(0 0 34px rgba(120, 45, 255, 0.16));
}


/* ===== CHAT MUCHO MÁS COMPACTO ===== */

.response-panel {
    width: min(1080px, 100%);
    height: 86px;
    min-height: 0;
    max-height: 86px;

    margin: 0 auto;
    padding: 8px 6px 10px;

    overflow-y: auto;
    overflow-x: hidden;

    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.response-text,
.type-cursor {
    font-size: clamp(13px, 1.25vw, 18px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.055em;
}

.type-cursor {
    margin-left: 2px;
}


/* ===== INPUT EN UNA SOLA LÍNEA ===== */

.question-form {
    width: min(1080px, 100%);
    height: 46px;
    min-height: 0;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.question-form input {
    height: 46px;
    min-height: 0;

    padding: 9px 13px;

    font-size: clamp(11px, 1vw, 14px);
    letter-spacing: 0.045em;
}

.question-form button {
    height: 46px;
    min-height: 0;

    padding: 0 17px;

    font-size: 11px;
    letter-spacing: 0.07em;
}


/* ===== AJUSTE PARA MÓVIL ===== */

@media (max-width: 700px) {
    .vekthron-shell {
        grid-template-rows:
            auto
            minmax(0, 1fr)
            92px
            44px;

        gap: 6px;

        padding:
            max(8px, env(safe-area-inset-top))
            10px
            max(8px, env(safe-area-inset-bottom));
    }

    .brand h1 {
        font-size: clamp(25px, 9vw, 38px);
        letter-spacing: 0.075em;
    }

    .brand p {
        margin-top: 5px;
        font-size: 8px;
        letter-spacing: 0.2em;
    }

    .hero-presence {
        min-height: 0;
        padding: 0;
    }

    .vekthron-hero-image {
        width: auto;
        height: 100%;

        max-width: 100%;
        max-height: 100%;
    }

    .response-panel {
        height: 92px;
        max-height: 92px;

        padding: 7px 5px 8px;
    }

    .response-text,
    .type-cursor {
        font-size: clamp(12px, 3.5vw, 15px);
        line-height: 1.28;
        letter-spacing: 0.038em;
    }

    .question-form {
        height: 44px;

        grid-template-columns:
            minmax(0, 1fr)
            auto;
    }

    .question-form input,
    .question-form button {
        height: 44px;
    }

    .question-form input {
        padding: 8px 10px;
        font-size: 11px;
    }

    .question-form button {
        min-height: 0;
        padding: 0 12px;
        font-size: 10px;
    }
}


/* Pantallas especialmente bajas */

@media (max-height: 700px) {
    .vekthron-shell {
        grid-template-rows:
            auto
            minmax(0, 1fr)
            72px
            42px;

        gap: 5px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .brand h1 {
        font-size: clamp(25px, 3vw, 40px);
    }

    .brand p {
        margin-top: 4px;
    }

    .response-panel {
        height: 72px;
        max-height: 72px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .question-form,
    .question-form input,
    .question-form button {
        height: 42px;
    }
}

/* ===== VEKTHRON LAYOUT V4 START ===== */

html,
body {
    min-height: 100%;
}

body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/*
 * Flujo vertical real:
 * cabecera → cabeza → identidad → respuesta → formulario.
 * Ningún elemento se superpone con otro.
 */
.vekthron-shell {
    width: 100% !important;
    min-height: 100svh !important;
    height: auto !important;

    margin: 0 auto !important;
    padding: 0 1rem 1.2rem !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow: visible !important;
}

/* Encabezado superior intacto */
.brand {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;
    width: 100% !important;

    margin: 0 auto !important;
    padding: 0.55rem 0 0.25rem !important;

    text-align: center !important;
    z-index: 10 !important;
}

/* Zona de la cabeza */
.hero-presence {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    overflow: visible !important;
}

/*
 * La imagen original mide 408 × 612,
 * pero su contenido visible termina aproximadamente en y=440.
 * Este marco elimina únicamente el gran vacío transparente inferior.
 */
.vekthron-hero-frame {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;

    width: clamp(480px, 38vw, 620px) !important;
    max-width: 96vw !important;

    height: auto !important;
    aspect-ratio: 408 / 445 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;
    isolation: isolate !important;
}

/* Halo suave detrás, sin alterar ni recortar la cabeza */
.vekthron-hero-frame::before {
    content: "" !important;

    position: absolute !important;
    z-index: 0 !important;

    inset: 4% 4% 3% !important;

    border-radius: 48% !important;

    background:
        radial-gradient(
            ellipse at center,
            rgba(20, 100, 255, 0.30) 0%,
            rgba(69, 28, 188, 0.18) 42%,
            rgba(2, 3, 10, 0) 74%
        ) !important;

    filter: blur(22px) !important;
    pointer-events: none !important;
}

.vekthron-hero-image {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: top center !important;

    transform: none !important;
    transform-origin: center !important;

    filter:
        drop-shadow(0 0 13px rgba(0, 112, 255, 0.50))
        drop-shadow(0 0 34px rgba(61, 31, 190, 0.30)) !important;
}

/* Textos propios de VekThron */
.vekthron-identity {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;

    width: min(94vw, 920px) !important;

    margin: 0.1rem auto 1.15rem !important;
    padding: 0 1rem !important;

    text-align: center !important;
}

.vekthron-identity h2 {
    margin: 0 !important;

    font-family: "Orbitron", sans-serif !important;
    font-size: clamp(2.45rem, 4vw, 4.2rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.035em !important;

    color: #ffffff !important;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.90),
        0 0 14px rgba(62, 116, 255, 0.78),
        0 0 30px rgba(54, 47, 215, 0.48) !important;
}

.vekthron-identity-pillars {
    margin: 0.62rem 0 0 !important;

    font-family: "Bruno Ace SC", sans-serif !important;
    font-size: clamp(0.68rem, 1vw, 0.95rem) !important;
    line-height: 1.5 !important;
    letter-spacing: 0.26em !important;

    color: rgba(229, 235, 255, 0.94) !important;
}

.vekthron-identity-pillars span {
    display: inline-block !important;
    margin: 0 0.4em !important;

    color: #4d8cff !important;
    text-shadow: 0 0 9px rgba(64, 124, 255, 0.95) !important;
}

.vekthron-identity-line {
    display: block !important;

    width: clamp(155px, 21vw, 290px) !important;
    height: 1px !important;

    margin: 0.82rem auto 0.7rem !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(67, 128, 255, 0.95),
            #ffffff,
            rgba(67, 128, 255, 0.95),
            transparent
        ) !important;

    box-shadow: 0 0 12px rgba(55, 111, 255, 0.72) !important;
}

.vekthron-identity-origin,
.vekthron-identity-self {
    margin: 0 !important;

    font-family: "Bruno Ace SC", sans-serif !important;
    font-size: clamp(0.76rem, 1vw, 0.98rem) !important;
    line-height: 1.55 !important;
    letter-spacing: 0.21em !important;

    color: rgba(226, 233, 255, 0.94) !important;
}

.vekthron-identity-self {
    margin-top: 0.22rem !important;
}

.vekthron-identity-self strong {
    color: #4b8cff !important;
    font-weight: inherit !important;

    text-shadow:
        0 0 8px rgba(54, 119, 255, 0.96),
        0 0 17px rgba(69, 58, 222, 0.64) !important;
}

/* Respuesta y formulario siempre debajo */
.response-panel {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;

    width: min(94vw, 1080px) !important;
    min-height: 4.5rem !important;
    height: auto !important;

    margin: 0 auto 0.6rem !important;
    padding: 0.8rem 0.25rem !important;

    overflow: visible !important;
}

.question-form {
    position: relative !important;
    inset: auto !important;

    flex: 0 0 auto !important;

    width: min(94vw, 1080px) !important;
    height: auto !important;

    margin: 0 auto !important;
}

/* PC con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-frame {
        width: clamp(430px, 34vw, 520px) !important;
    }

    .vekthron-identity {
        margin-top: 0 !important;
        margin-bottom: 0.8rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(2.25rem, 3.3vw, 3.25rem) !important;
    }

    .vekthron-identity-pillars {
        margin-top: 0.4rem !important;
    }

    .vekthron-identity-line {
        margin-top: 0.5rem !important;
        margin-bottom: 0.48rem !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .vekthron-shell {
        padding-right: 0.7rem !important;
        padding-left: 0.7rem !important;
    }

    .brand {
        padding-top: 0.45rem !important;
    }

    .vekthron-hero-frame {
        width: min(96vw, 540px) !important;
        max-width: none !important;
    }

    .vekthron-identity {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        padding: 0 0.35rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(2.15rem, 11vw, 3.35rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.57rem, 2.55vw, 0.79rem) !important;
        letter-spacing: 0.14em !important;
    }

    .vekthron-identity-pillars span {
        margin: 0 0.16em !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.63rem, 2.65vw, 0.82rem) !important;
        letter-spacing: 0.12em !important;
    }

    .response-panel,
    .question-form {
        width: 100% !important;
    }
}

@media (max-width: 390px) {
    .vekthron-identity-pillars {
        letter-spacing: 0.08em !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        letter-spacing: 0.075em !important;
    }
}

/* ===== VEKTHRON LAYOUT V4 END ===== */


/* ===== VEKTHRON POSITIONS V5 START ===== */

/* Baja la cabeza para separarla del encabezado superior */
.hero-presence {
    margin-top: 2.2rem !important;
}

/* Sube el nombre y los lemas hasta casi tocar el holograma */
.vekthron-identity {
    margin-top: -6.8rem !important;
    margin-bottom: 1.15rem !important;
}

/* Pantallas de PC con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .hero-presence {
        margin-top: 1.7rem !important;
    }

    .vekthron-identity {
        margin-top: -5.8rem !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .hero-presence {
        margin-top: 1.25rem !important;
    }

    .vekthron-identity {
        margin-top: -4.5rem !important;
    }
}

/* ===== VEKTHRON POSITIONS V5 END ===== */


/* ===== VEKTHRON HEADER MINIMAL V6 START ===== */

/* Solo se deja el texto BY SPAINOTECH arriba */
.brand.brand-minimal {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0.45rem 0 0.05rem !important;
    text-align: center !important;
}

.brand.brand-minimal h1 {
    display: none !important;
}

.brand.brand-minimal p {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Al desaparecer el título, la imagen sube y aprovecha el espacio */
.hero-presence {
    margin-top: 0.45rem !important;
}

/* Un pequeño ajuste para que respire mejor la composición */
.vekthron-identity {
    margin-top: -5.9rem !important;
}

/* PC con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .hero-presence {
        margin-top: 0.3rem !important;
    }

    .vekthron-identity {
        margin-top: -5.2rem !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .brand.brand-minimal {
        padding-top: 0.38rem !important;
        padding-bottom: 0 !important;
    }

    .hero-presence {
        margin-top: 0.25rem !important;
    }

    .vekthron-identity {
        margin-top: -4.1rem !important;
    }
}

/* ===== VEKTHRON HEADER MINIMAL V6 END ===== */


/* ===== VEKTHRON FULL HEAD V7 START ===== */

/* Ningún recorte: el PNG se muestra completo */
.hero-presence {
    margin-top: 0.9rem !important;
    overflow: visible !important;
}

.vekthron-hero-frame {
    width: 100% !important;
    max-width: none !important;

    height: auto !important;
    aspect-ratio: auto !important;

    margin: 0 auto -10rem !important;
    padding: 0 !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    overflow: visible !important;
}

.vekthron-hero-image {
    display: block !important;

    width: auto !important;
    height: clamp(560px, 66vh, 700px) !important;

    max-width: 96vw !important;
    max-height: none !important;

    margin: 0 auto !important;

    object-fit: contain !important;
    object-position: center top !important;

    transform: none !important;
}

/* El texto permanece cerca del holograma */
.vekthron-identity {
    margin-top: 0 !important;
}

/* Ordenadores con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-image {
        height: clamp(500px, 62vh, 580px) !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -8.2rem !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .hero-presence {
        margin-top: 0.65rem !important;
    }

    .vekthron-hero-image {
        width: min(96vw, 520px) !important;
        height: auto !important;
        max-width: none !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -7.4rem !important;
    }
}

/* ===== VEKTHRON FULL HEAD V7 END ===== */


/* ===== VEKTHRON HERO SCALE V8 START ===== */

/* Más protagonismo para la cabeza */
.hero-presence {
    margin-top: 0.35rem !important;
}

.vekthron-hero-frame {
    margin-bottom: -13.2rem !important;
}

.vekthron-hero-image {
    width: auto !important;
    height: clamp(650px, 76vh, 900px) !important;
    max-width: 98vw !important;
}

/* Texto bastante más pequeño */
.vekthron-identity {
    width: min(94vw, 860px) !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.vekthron-identity h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.9rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.03em !important;
}

.vekthron-identity-pillars {
    margin-top: 0.35rem !important;
    font-size: clamp(0.54rem, 0.82vw, 0.82rem) !important;
    letter-spacing: 0.20em !important;
    line-height: 1.35 !important;
}

.vekthron-identity-line {
    width: clamp(120px, 16vw, 220px) !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.45rem !important;
}

.vekthron-identity-origin,
.vekthron-identity-self {
    font-size: clamp(0.56rem, 0.84vw, 0.84rem) !important;
    letter-spacing: 0.16em !important;
    line-height: 1.35 !important;
}

.vekthron-identity-self {
    margin-top: 0.12rem !important;
}

/* Ajuste fino del bloque inferior */
.response-panel {
    margin-top: 0.15rem !important;
}

/* PC con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-image {
        height: clamp(560px, 69vh, 720px) !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -10.8rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.55rem, 2.35vw, 2.45rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.5rem, 0.72vw, 0.72rem) !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.52rem, 0.74vw, 0.74rem) !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .hero-presence {
        margin-top: 0.2rem !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -8.6rem !important;
    }

    .vekthron-hero-image {
        width: min(98vw, 620px) !important;
        height: auto !important;
        max-width: none !important;
    }

    .vekthron-identity {
        margin-bottom: 0.85rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.5rem, 8vw, 2.25rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.48rem, 2vw, 0.66rem) !important;
        letter-spacing: 0.1em !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.5rem, 2.2vw, 0.7rem) !important;
        letter-spacing: 0.08em !important;
    }
}

/* ===== VEKTHRON HERO SCALE V8 END ===== */


/* ===== VEKTHRON MAX HEAD V9 START ===== */

/* Más espacio útil para la cabeza */
.vekthron-shell {
    padding-bottom: 0.7rem !important;
}

.hero-presence {
    margin-top: 0.05rem !important;
}

.vekthron-hero-frame {
    margin-bottom: -16.5rem !important;
}

/* Cabeza mucho más grande */
.vekthron-hero-image {
    width: auto !important;
    height: clamp(760px, 84vh, 1080px) !important;
    max-width: 98vw !important;
}

/* Bloque de identidad más pequeño */
.vekthron-identity {
    width: min(88vw, 760px) !important;
    margin-top: 0 !important;
    margin-bottom: 0.7rem !important;
}

.vekthron-identity h2 {
    font-size: clamp(1.38rem, 2.1vw, 2.2rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0.025em !important;
}

.vekthron-identity-pillars {
    margin-top: 0.22rem !important;
    font-size: clamp(0.46rem, 0.66vw, 0.68rem) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.14em !important;
}

.vekthron-identity-pillars span {
    margin: 0 0.22em !important;
}

.vekthron-identity-line {
    width: clamp(90px, 12vw, 160px) !important;
    margin-top: 0.32rem !important;
    margin-bottom: 0.28rem !important;
}

.vekthron-identity-origin,
.vekthron-identity-self {
    font-size: clamp(0.48rem, 0.68vw, 0.7rem) !important;
    line-height: 1.16 !important;
    letter-spacing: 0.11em !important;
}

.vekthron-identity-self {
    margin-top: 0.08rem !important;
}

/* Chat más pequeño y menos dominante */
.response-panel {
    width: min(82vw, 930px) !important;
    min-height: 3.1rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.35rem !important;
    padding: 0.45rem 0.2rem !important;
}

.response-text {
    font-size: clamp(0.92rem, 1.28vw, 1.18rem) !important;
    line-height: 1.22 !important;
}

.question-form {
    width: min(82vw, 930px) !important;
    margin-top: 0 !important;
}

.question-form input {
    min-height: 48px !important;
    padding: 0.75rem 1rem !important;
    font-size: clamp(0.9rem, 1.08vw, 1rem) !important;
}

.question-form button {
    min-height: 48px !important;
    padding: 0.75rem 1.15rem !important;
    font-size: clamp(0.88rem, 1vw, 0.98rem) !important;
}

/* PC con poca altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-frame {
        margin-bottom: -13.4rem !important;
    }

    .vekthron-hero-image {
        height: clamp(650px, 78vh, 860px) !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.24rem, 1.8vw, 1.9rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.42rem, 0.56vw, 0.58rem) !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.44rem, 0.58vw, 0.6rem) !important;
    }

    .response-panel {
        min-height: 2.8rem !important;
    }

    .response-text {
        font-size: clamp(0.84rem, 1.05vw, 1rem) !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .hero-presence {
        margin-top: 0.12rem !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -9.4rem !important;
    }

    .vekthron-hero-image {
        width: min(99vw, 700px) !important;
        height: auto !important;
        max-width: none !important;
    }

    .vekthron-identity {
        width: min(94vw, 460px) !important;
        margin-bottom: 0.7rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.26rem, 6.3vw, 1.9rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.42rem, 1.85vw, 0.58rem) !important;
        letter-spacing: 0.08em !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.44rem, 2vw, 0.6rem) !important;
        letter-spacing: 0.06em !important;
    }

    .response-panel,
    .question-form {
        width: min(94vw, 520px) !important;
    }

    .response-text {
        font-size: clamp(0.86rem, 3vw, 1rem) !important;
    }

    .question-form input,
    .question-form button {
        min-height: 44px !important;
    }
}

/* ===== VEKTHRON MAX HEAD V9 END ===== */


/* ===== VEKTHRON LAYOUT V10 START ===== */

/* Cabeza más grande */
.hero-presence {
    margin-top: 0.10rem !important;
}

.vekthron-hero-frame {
    margin-bottom: -10.8rem !important;
}

.vekthron-hero-image {
    width: auto !important;
    height: clamp(820px, 90vh, 1180px) !important;
    max-width: 99vw !important;
}

/* Todo lo de debajo baja */
.vekthron-identity {
    width: min(84vw, 700px) !important;
    margin-top: 1.7rem !important;
    margin-bottom: 1.15rem !important;
}

.vekthron-identity h2 {
    font-size: clamp(1.18rem, 1.8vw, 1.9rem) !important;
    line-height: 0.95 !important;
    letter-spacing: 0.02em !important;
}

.vekthron-identity-pillars {
    margin-top: 0.18rem !important;
    font-size: clamp(0.40rem, 0.56vw, 0.60rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.10em !important;
}

.vekthron-identity-pillars span {
    margin: 0 0.16em !important;
}

.vekthron-identity-line {
    width: clamp(75px, 10vw, 130px) !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.22rem !important;
}

.vekthron-identity-origin,
.vekthron-identity-self {
    font-size: clamp(0.42rem, 0.56vw, 0.60rem) !important;
    line-height: 1.10 !important;
    letter-spacing: 0.08em !important;
}

.vekthron-identity-self {
    margin-top: 0.06rem !important;
}

/* Chat más pequeño */
.response-panel {
    width: min(72vw, 820px) !important;
    min-height: 2.5rem !important;
    margin-top: 0.65rem !important;
    margin-bottom: 0.22rem !important;
    padding: 0.32rem 0.14rem !important;
}

.response-text {
    font-size: clamp(0.84rem, 1.02vw, 0.98rem) !important;
    line-height: 1.14 !important;
}

.question-form {
    width: min(72vw, 820px) !important;
    margin-top: 0 !important;
}

.question-form input {
    min-height: 42px !important;
    padding: 0.56rem 0.9rem !important;
    font-size: clamp(0.82rem, 0.92vw, 0.92rem) !important;
}

.question-form button {
    min-height: 42px !important;
    padding: 0.56rem 1rem !important;
    font-size: clamp(0.80rem, 0.88vw, 0.90rem) !important;
}

/* PC con menos altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-frame {
        margin-bottom: -8.6rem !important;
    }

    .vekthron-hero-image {
        height: clamp(700px, 84vh, 980px) !important;
    }

    .vekthron-identity {
        margin-top: 1.35rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.06rem, 1.45vw, 1.55rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.38rem, 0.46vw, 0.50rem) !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.40rem, 0.48vw, 0.52rem) !important;
    }

    .response-panel {
        min-height: 2.25rem !important;
    }

    .response-text {
        font-size: clamp(0.78rem, 0.88vw, 0.88rem) !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .hero-presence {
        margin-top: 0.08rem !important;
    }

    .vekthron-hero-frame {
        margin-bottom: -6.8rem !important;
    }

    .vekthron-hero-image {
        width: min(100vw, 760px) !important;
        height: auto !important;
        max-width: none !important;
    }

    .vekthron-identity {
        width: min(92vw, 420px) !important;
        margin-top: 1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .vekthron-identity h2 {
        font-size: clamp(1.05rem, 5.2vw, 1.55rem) !important;
    }

    .vekthron-identity-pillars {
        font-size: clamp(0.38rem, 1.55vw, 0.52rem) !important;
        letter-spacing: 0.06em !important;
    }

    .vekthron-identity-origin,
    .vekthron-identity-self {
        font-size: clamp(0.40rem, 1.7vw, 0.54rem) !important;
        letter-spacing: 0.05em !important;
    }

    .response-panel,
    .question-form {
        width: min(90vw, 460px) !important;
    }

    .response-text {
        font-size: clamp(0.78rem, 2.7vw, 0.92rem) !important;
    }

    .question-form input,
    .question-form button {
        min-height: 40px !important;
    }
}

/* ===== VEKTHRON LAYOUT V10 END ===== */


/* ===== VEKTHRON EXPAND HEAD V11 START ===== */

/*
 * La imagen crece visualmente desde su borde superior.
 * No altera el espacio ocupado en el documento y, por tanto,
 * no mueve el título, los lemas, la respuesta ni el formulario.
 */
.vekthron-hero-frame {
    overflow: visible !important;
}

.vekthron-hero-image {
    transform: scale(1.15) !important;
    transform-origin: top center !important;
}

/* Pantallas con menor altura: ampliación controlada */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-hero-image {
        transform: scale(1.11) !important;
        transform-origin: top center !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .vekthron-hero-image {
        transform: scale(1.08) !important;
        transform-origin: top center !important;
    }
}

/* ===== VEKTHRON EXPAND HEAD V11 END ===== */


/* ===== VEKTHRON RESPONSE SCROLL V12 START ===== */

/*
 * La respuesta ocupa siempre la misma altura.
 * Los textos largos se desplazan dentro del propio panel
 * y nunca empujan hacia abajo el formulario.
 */
.response-panel {
    display: block !important;

    height: clamp(76px, 8.5vh, 96px) !important;
    min-height: 0 !important;
    max-height: clamp(76px, 8.5vh, 96px) !important;

    box-sizing: border-box !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: thin !important;
    scrollbar-color:
        rgba(75, 126, 255, 0.72)
        rgba(255, 255, 255, 0.035) !important;

    padding-right: 0.65rem !important;
}

.response-panel::-webkit-scrollbar {
    width: 6px;
}

.response-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.035);
    border-radius: 10px;
}

.response-panel::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            rgba(92, 144, 255, 0.92),
            rgba(67, 49, 197, 0.82)
        );

    border-radius: 10px;

    box-shadow:
        0 0 8px rgba(55, 115, 255, 0.58);
}

.response-text {
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* El formulario conserva siempre su posición */
.question-form {
    flex: 0 0 auto !important;
    transform: none !important;
}

/* Móvil */
@media (max-width: 760px) {
    .response-panel {
        height: 72px !important;
        max-height: 72px !important;
        padding-right: 0.45rem !important;
    }

    .response-panel::-webkit-scrollbar {
        width: 4px;
    }
}

/* ===== VEKTHRON RESPONSE SCROLL V12 END ===== */


/* ===== VEKTHRON BLOCK UP V13 START ===== */

/* Sube cabeza, identidad, respuesta e input como un único bloque */
.hero-presence {
    margin-top: -2rem !important;
}

@media (min-width: 761px) and (max-height: 850px) {
    .hero-presence {
        margin-top: -1.15rem !important;
    }
}

@media (max-width: 760px) {
    .hero-presence {
        margin-top: -0.95rem !important;
    }
}

/* ===== VEKTHRON BLOCK UP V13 END ===== */


/* ===== VEKTHRON IDENTITY GROUP V16 START ===== */

/*
 * Todo el bloque de identidad sube unido.
 * Solo el título VEKTHRON entra dentro de la base holográfica.
 */
.vekthron-identity {
    position: relative !important;

    margin-top: -3.15rem !important;
    margin-bottom: 0.8rem !important;

    padding-top: 0 !important;

    transform: none !important;
}

/* El título vuelve a formar parte natural del mismo bloque */
.vekthron-identity h2 {
    position: static !important;
    inset: auto !important;

    display: block !important;

    width: auto !important;
    margin: 0 !important;

    transform: none !important;

    white-space: nowrap !important;
    pointer-events: auto !important;
}

/* Mantener juntos título, lema y frases */
.vekthron-identity-pillars {
    margin-top: 0.18rem !important;
}

/* PC con menos altura */
@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-identity {
        margin-top: -2.75rem !important;
    }
}

/* Móvil */
@media (max-width: 760px) {
    .vekthron-identity {
        margin-top: -2.15rem !important;
    }
}

/* ===== VEKTHRON IDENTITY GROUP V16 END ===== */


/* ===== VEKTHRON IDENTITY DOWN V17 START ===== */

/*
 * Baja todo el bloque unido.
 * Solo el título VEKTHRON permanece dentro de la base azul.
 */
.vekthron-identity {
    margin-top: -1.65rem !important;
}

@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-identity {
        margin-top: -1rem !important;
    }
}

@media (max-width: 760px) {
    .vekthron-identity {
        margin-top: -0.85rem !important;
    }
}

/* ===== VEKTHRON IDENTITY DOWN V17 END ===== */


/* ===== VEKTHRON IDENTITY DOWN V19 START ===== */

.vekthron-identity {
    margin-top: -0.60rem !important;
}

@media (min-width: 761px) and (max-height: 850px) {
    .vekthron-identity {
        margin-top: -0.50rem !important;
    }
}

@media (max-width: 760px) {
    .vekthron-identity {
        margin-top: -0.40rem !important;
    }
}

/* ===== VEKTHRON IDENTITY DOWN V19 END ===== */

/* ===== VEKTHRON PRESENCE V2 START ===== */

/*
 * Respiración visible y ligera.
 * Solo se animan transform y opacity.
 * No se modifican tamaños, márgenes ni posiciones.
 */

.hero-presence {
    animation:
        vekthronRevealV2 1.05s
        cubic-bezier(0.16, 1, 0.3, 1)
        both !important;
}

/* Levitación suave de todo el conjunto */
.vekthron-hero-frame {
    will-change: transform;

    animation:
        vekthronFloatV2 5.2s
        ease-in-out
        infinite !important;
}

/* Pulso visible en la propia energía de VekThron */
.vekthron-hero-image {
    will-change: opacity;

    animation:
        vekthronImageBreathV2 3.15s
        ease-in-out
        infinite !important;
}

/* Núcleo energético principal */
.vekthron-hero-frame::before {
    opacity: 0.42;
    transform: scale(0.93);
    transform-origin: 50% 54%;

    animation:
        vekthronAuraBreathV2 3.15s
        ease-in-out
        infinite !important;

    will-change: opacity, transform;
}

/* Segunda capa azul-morada, detrás de la imagen */
.vekthron-hero-frame::after {
    content: "";

    position: absolute;
    z-index: 0;

    inset: 7% 8% 8%;

    pointer-events: none;

    border-radius: 48%;

    background:
        radial-gradient(
            ellipse at 50% 44%,
            rgba(108, 202, 255, 0.42) 0%,
            rgba(27, 116, 255, 0.26) 29%,
            rgba(113, 45, 255, 0.22) 50%,
            rgba(2, 3, 10, 0) 73%
        );

    filter: blur(18px);

    opacity: 0.24;
    transform: scale(0.90);
    transform-origin: 50% 54%;

    animation:
        vekthronOuterBreathV2 3.15s
        ease-in-out
        infinite !important;

    will-change: opacity, transform;
}

/* Mientras escribe: pulso más activo, sin filtros pesados */
body.vekthron-responding .vekthron-hero-image {
    animation-duration: 1.8s !important;
}

body.vekthron-responding .vekthron-hero-frame::before,
body.vekthron-responding .vekthron-hero-frame::after {
    animation-duration: 1.8s !important;
}

/* Impulso breve al enviar una pregunta */
body.vekthron-thinking .vekthron-hero-frame::after {
    opacity: 0.82 !important;
    transform: scale(1.10) !important;
    transition:
        opacity 180ms ease,
        transform 260ms ease;
}

/* Estado de escucha */
body.vekthron-listening .vekthron-hero-frame::before {
    opacity: 0.82;
}


@keyframes vekthronRevealV2 {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes vekthronFloatV2 {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -3px, 0);
    }
}


@keyframes vekthronImageBreathV2 {
    0%,
    100% {
        opacity: 0.89;
    }

    50% {
        opacity: 1;
    }
}


@keyframes vekthronAuraBreathV2 {
    0%,
    100% {
        opacity: 0.38;
        transform: scale(0.93);
    }

    50% {
        opacity: 0.98;
        transform: scale(1.075);
    }
}


@keyframes vekthronOuterBreathV2 {
    0%,
    100% {
        opacity: 0.18;
        transform: scale(0.90);
    }

    50% {
        opacity: 0.76;
        transform: scale(1.10);
    }
}


/* Algo más contenido en móvil */
@media (max-width: 760px) {
    .vekthron-hero-frame {
        animation-duration: 6s !important;
    }

    .vekthron-hero-frame::after {
        inset: 8% 2% 10%;
    }

    @keyframes vekthronImageBreathV2 {
        0%,
        100% {
            opacity: 0.91;
        }

        50% {
            opacity: 1;
        }
    }
}


/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .hero-presence,
    .vekthron-hero-frame,
    .vekthron-hero-image,
    .vekthron-hero-frame::before,
    .vekthron-hero-frame::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-presence,
    .vekthron-hero-image {
        opacity: 1 !important;
    }
}

/* ===== VEKTHRON PRESENCE V2 END ===== */
