/* KS — CSS COMPLETO UNIFICADO
   Reemplaza todo el contenido de css/styles.css con este archivo.
   Compatible con el HTML del nuevo hero y JS/ks-hero.js.
   Se conservan los estilos de las demás secciones.
*/

/* ===== BASE, HEADER Y SECCIONES DE KS ===== */
:root {
    --ink: #0b0d13;
    --muted: #626773;
    --line: #dce0e6;
    --paper: #fff;
    --accent: #ff695b;
    --violet: #6253ef;
    --dark: #0b0d13;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    color: inherit;
}

button:disabled {
    cursor: default;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #756aff;
    outline-offset: 5px;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

::selection {
    background: #ff695b;
    color: #0b0d13;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: fixed;
    top: 12px;
    left: 12px;
    transform: translateY(-180%);
    background: white;
    color: #111;
    padding: 16px;
    z-index: 100;
}

.skip:focus {
    transform: none;
}

.progress {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 6%;
    height: 88px;
    background: #fffffffa;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ks-symbol {
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
}

.ks-symbol>span {
    color: var(--accent);
    font-size: 30px;
}

.wordmark-label {
    font-size: 12px;
    letter-spacing: .18em;
    border-left: 1px solid #bdc1c8;
    padding-left: 13px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
}

.site-header nav>a:hover {
    color: var(--violet);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid #b7bec9;
    border-radius: 30px;
    padding: 12px 20px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .13em;
    line-height: 1.5;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 52px;
    padding: 17px 24px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    transition: background .2s, transform .2s;
    line-height: 1.3;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    background: var(--ink);
    color: #fff;
}

.primary:hover {
    background: #312d65;
}

.button>span {
    font-size: 21px;
}

.clients {
    padding: 35px 6% 45px;
    border-block: 1px solid var(--line);
}

.clients>p {
    font-size: 13px;
    color: #71747c;
    margin-bottom: 25px;
}

.client-names {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.client-names>span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.045em;
    color: #6a6d76;
}

.section {
    padding: 65px 6% 85px;
}

.section-kicker {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    letter-spacing: .09em;
    line-height: 1.6;
    color: #727681;
}

.about {
    padding-bottom: 55px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 9%;
    align-items: center;
    margin-top: 65px;
}

h2 {
    font-size: clamp(40px, 4.8vw, 70px);
    line-height: 1.05;
    letter-spacing: -.06em;
    font-weight: 500;
    margin-bottom: 28px;
}

h2>span {
    color: #8d919b;
}

.about-copy {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 450px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    min-height: 48px;
    border-bottom: 1px solid #b5bdc9;
    font-size: 15px;
}

.text-link>span {
    font-size: 24px;
}

.team-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    height: 520px;
    background: #ddd;
    border-radius: 5px;
}

.team-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 42% center;
}

.team-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, #000b);
}

.team-image figcaption {
    position: absolute;
    left: 30px;
    bottom: 27px;
    z-index: 1;
    color: #fff;
}

.team-image figcaption>span {
    display: block;
    font-size: 12px;
    letter-spacing: .07em;
    margin-bottom: 12px;
}

.team-image figcaption>strong {
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 500;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 28px;
}

.about-values p {
    position: relative;
    padding-left: 34px;
    font-size: 20px;
    margin-bottom: 0;
}

.about-values p>span {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--violet);
    font-size: 12px;
}

.about-values small {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-top: 9px;
    line-height: 1.5;
}

.services {
    background: var(--dark);
    color: #fff;
}

.services .section-kicker {
    color: #a5a5b6;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 60px 0 40px;
}

.section-title h2 {
    margin: 0;
}

.section-title>p {
    font-size: 16px;
    line-height: 1.7;
    color: #9398a5;
    margin: 0;
}

.services h2>span {
    color: #8b859f;
}

.service-selector {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-block: 1px solid #30303a;
}

.service-selector button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 20px 16px;
    background: none;
    color: #a5a5b6;
    border-bottom: 3px solid transparent;
    font-size: 12px;
    text-align: left;
    transition: background .2s, color .2s;
}

.service-selector button+button {
    border-left: 1px solid #30303a;
}

.service-selector button span {
    font-size: 15px;
}

.service-selector button[aria-pressed=true] {
    background: #201c32;
    border-bottom-color: var(--accent);
    color: #fff;
}

.service-selector button:hover {
    background: #25222f;
}

.service-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7%;
    align-items: center;
    min-height: 495px;
    padding: 40px 0;
    border-bottom: 1px solid #30303a;
}

.service-copy .eyebrow {
    color: #fc9c93;
}

.service-copy h3 {
    font-size: clamp(33px, 3.7vw, 54px);
    line-height: 1.07;
    letter-spacing: -.045em;
    font-weight: 500;
    margin: 22px 0;
}

.service-copy>p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.7;
    color: #b3b3c1;
    max-width: 440px;
}

.service-copy ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 25px 0 30px;
}

.service-copy li {
    padding: 7px 10px;
    border: 1px solid #42414e;
    border-radius: 4px;
    color: #c5c3d1;
    font-size: 13px;
}

.service-cta {
    background: #f1efff;
    color: #1d1932;
}

.service-cta:hover {
    background: #ff9e94;
}

.service-art {
    min-height: 375px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background: var(--violet);
    display: grid;
    place-items: center;
    isolation: isolate;
}

.art-index {
    position: absolute;
    top: 23px;
    left: 25px;
    font-size: 12px;
    letter-spacing: .12em;
}

.art-word {
    font-size: clamp(98px, 12vw, 180px);
    letter-spacing: -.1em;
    line-height: 1;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.art-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    letter-spacing: .09em;
    font-size: 12px;
    border-top: 1px solid #ffffff50;
    padding-top: 15px;
}

.art-circle {
    position: absolute;
    width: 330px;
    height: 330px;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    right: -105px;
    top: -65px;
    z-index: 0;
}

.service-panel[data-index="1"] .service-art {
    background: var(--accent);
    color: #20111b;
}

.service-panel[data-index="2"] .service-art {
    background: #d8ff4f;
    color: #1c2610;
}

.service-panel[data-index="3"] .service-art {
    background: #dee7ff;
    color: #25328b;
}

.service-panel[data-index="4"] .service-art {
    background: #d758ff;
    color: #1f082b;
}

.service-panel[data-index="5"] .service-art {
    background: #f1eff8;
    color: #231941;
}

.service-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    color: #a5a5b6;
    font-size: 14px;
}

.enhanced .service-controls {
    display: flex;
}

.service-controls>div {
    display: flex;
    gap: 10px;
}

.service-controls button {
    width: 48px;
    height: 48px;
    border: 1px solid #4c4758;
    background: none;
    color: white;
    border-radius: 50%;
    font-size: 22px;
}

.service-controls button:hover {
    background: var(--violet);
}

.projects .section-title h2>span {
    color: #92939b;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.project-open {
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eeeff3;
}

.project-open img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.project-open:hover img {
    transform: scale(1.025);
}

.project-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #16151c;
    font-size: 23px;
}

.project-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 19px;
}

.project-caption h3 {
    font-size: 18px;
    letter-spacing: -.035em;
    font-weight: 500;
    margin: 0;
}

.project-caption>span {
    font-size: 12px;
    color: #7f818a;
}

.reel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 38px;
}

.reel-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 25px;
    text-align: left;
    background: #f1f1f6;
    border: 1px solid #e2e0e9;
    border-radius: 5px;
}

.reel-button:hover {
    background: #eae4ff;
}

.reel-play {
    width: 45px;
    height: 45px;
    border: 1px solid #bcb5d3;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

.reel-button small {
    display: block;
    font-size: 12px;
    color: #6f6588;
    margin-bottom: 8px;
}

.reel-button strong {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.reel-button>span:last-child {
    margin-left: auto;
    font-size: 24px;
}

.contact {
    background: #f1f1f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    margin-top: 65px;
}

.contact h2 {
    font-size: clamp(62px, 7vw, 104px);
    line-height: 1;
    letter-spacing: -.065em;
}

.contact h2>span {
    color: var(--violet);
}

.contact-copy>p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 30px;
}

.contact-number {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 25px;
    letter-spacing: -.035em;
    min-height: 48px;
}

.contact-location {
    font-size: 12px !important;
    letter-spacing: .12em;
    margin-top: 26px;
}

.form-title {
    font-size: 22px;
    letter-spacing: -.03em;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

label>span {
    color: #6553ca;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #b9bdc9;
    padding: 12px 0;
    color: #15131f;
    border-radius: 0;
    min-height: 46px;
    font-size: 16px;
}

input::placeholder,
textarea::placeholder {
    color: #777882;
}

textarea {
    resize: vertical;
    min-height: 95px;
}

.form-submit {
    width: 100%;
    margin-top: 3px;
}

.form-note {
    font-size: 12px;
    line-height: 1.6;
    color: #6e7180;
    margin: 16px 0;
}

.form-ready {
    border: 1px solid #afa0ed;
    background: #eae4ff;
    padding: 20px;
}

.form-ready>p {
    font-size: 15px;
}

.form-ready .button {
    width: 100%;
}

.footer {
    background: #0b0d13;
    color: #fff;
    padding: 40px 6% 30px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-logo img {
    width: 112px;
    height: auto;
}

.footer-top p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: #c8c9d4;
}

.footer-top>a:last-child {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #30303a;
    padding-top: 25px;
    font-size: 12px;
    color: #aaaab6;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

dialog {
    border: 1px solid #3d394b;
    padding: 20px;
    background: #101018;
    color: #fff;
    border-radius: 12px;
    width: min(960px, calc(100% - 24px));
    max-height: 94dvh;
}

dialog::backdrop {
    background: #08080dde;
}

.media-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.media-top h2 {
    font-size: 18px;
    letter-spacing: 0;
    margin: 0;
}

.media-top button {
    width: 44px;
    height: 44px;
    background: none;
    color: #fff;
    font-size: 32px;
}

#media-content img {
    max-height: 76dvh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
}

#media-content iframe {
    width: 100%;
    height: min(70dvh, 580px);
    border: 0;
    display: block;
}

body:has(dialog[open]) {
    overflow: hidden;
}

.floating-contact {
    position: fixed;
    right: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 40;
}

.chat-launcher {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #11141d;
    color: #fff;
    border: 1px solid #ffffff30;
    border-radius: 30px;
    padding: 15px 19px;
    font-size: 14px;
    box-shadow: 0 10px 30px #13102630;
    margin-left: auto;
    min-height: 58px;
}

.chat-launcher:hover {
    background: #352d66;
}

.ks-chat {
    width: 350px;
    max-width: calc(100vw - 32px);
    border: 1px solid #d5d0e5;
    border-radius: 15px;
    overflow: auto;
    margin-bottom: 15px;
    max-height: calc(100dvh - 110px);
    background: #f7f5fb;
    box-shadow: 0 20px 50px #17112640;
}

.ks-chat header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: #11141d;
    color: #fff;
}

.ks-chat header h2 {
    font-size: 18px;
    letter-spacing: -.02em;
    margin: 0 0 6px;
}

.ks-chat header p {
    font-size: 12px;
    color: #bcb7cf;
    margin: 0;
}

.ks-chat header button {
    width: 36px;
    height: 36px;
    background: none;
    color: #fff;
    font-size: 27px;
}

.chat-body {
    padding: 22px;
    min-height: 110px;
}

.chat-body p {
    font-size: 15px;
    line-height: 1.7;
    background: #fff;
    border: 1px solid #e9e5f1;
    border-radius: 3px 12px 12px 12px;
    padding: 14px;
    margin: 0 0 12px;
}

.chat-body .button {
    width: 100%;
    font-size: 14px;
    margin-top: 6px;
}

.chat-body .primary {
    background: #168147;
}

#chat-typing {
    display: flex;
    gap: 5px;
    padding: 13px 15px;
    background: white;
    width: 68px;
    border-radius: 12px;
}

#chat-typing span {
    width: 7px;
    height: 7px;
    background: #a397c1;
    border-radius: 50%;
    animation: typing .65s ease-in-out 2;
}

#chat-typing span:nth-child(2) {
    animation-delay: .12s;
}

#chat-typing span:nth-child(3) {
    animation-delay: .24s;
}

@keyframes typing {
    50% {
        transform: translateY(-4px);
        opacity: .4;
    }

}

.motion .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s, transform .7s;
}

.motion .reveal.visible {
    opacity: 1;
    transform: none;
}

@media(min-width:1600px) {
    .section,
    .site-header,
    .clients,
    .footer {
        padding-inline: max(6%, calc((100% - 1420px)/2));
    }

}

@media(max-width:1100px) {
    .service-selector button {
        padding-inline: 12px;
    }

    .service-selector button span {
        font-size: 14px;
    }

    .about-grid {
        gap: 5%;
    }

    .section-title {
        align-items: flex-start;
    }

    .team-image {
        height: 475px;
    }

    .project-caption {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-grid {
        gap: 6%;
    }

    .footer-top {
        flex-wrap: wrap;
    }

}

@media(max-width:760px) {
    html {
        scroll-padding-top: 122px;
    }

    .site-header {
        height: auto;
        min-height: 86px;
        flex-wrap: wrap;
        gap: 16px;
        padding: 17px 6%;
    }

    .wordmark {
        gap: 9px;
    }

    .ks-symbol {
        font-size: 30px;
    }

    .site-header nav {
        gap: 18px;
        font-size: 13px;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .nav-contact {
        padding: 7px 13px;
        gap: 12px;
    }

    .clients {
        padding: 28px 6% 34px;
    }

    .client-names {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .client-names span {
        font-size: 15px;
        letter-spacing: -.06em;
    }

    .section {
        padding: 42px 6% 55px;
    }

    .section-kicker {
        font-size: 12px;
    }

    .section-kicker>span:last-child {
        display: none;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    h2 {
        font-size: clamp(38px, 8.9vw, 60px);
    }

    .about-copy {
        font-size: 16px;
    }

    .team-image {
        height: 390px;
    }

    .team-image img {
        object-position: center;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .about-values p {
        font-size: 19px;
    }

    .section-title {
        display: block;
        margin: 40px 0 30px;
    }

    .section-title>p,
    .section-title>.text-link {
        margin-top: 24px;
        font-size: 15px;
    }

    .service-selector {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-selector button {
        padding: 15px 12px;
        gap: 7px;
    }

    .service-selector button:nth-child(4) {
        border-left: 0;
    }

    .service-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 30px 0;
    }

    .service-copy h3 {
        font-size: 38px;
    }

    .service-copy>p:not(.eyebrow) {
        font-size: 16px;
    }

    .service-art {
        min-height: 295px;
        grid-row: 1;
    }

    .art-word {
        font-size: 135px;
    }

    .service-copy .eyebrow {
        font-size: 12px;
    }

    .service-controls {
        font-size: 12px;
        gap: 10px;
    }

    .service-controls button {
        width: 44px;
        height: 44px;
    }

    .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .project-open img {
        max-height: none;
    }

    .project-caption {
        flex-direction: row;
        align-items: center;
    }

    .project-caption h3 {
        font-size: 18px;
    }

    .reel-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    .reel-button {
        padding: 20px 17px;
        gap: 14px;
    }

    .reel-button strong {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        margin-top: 40px;
    }

    .contact h2 {
        font-size: clamp(64px, 16vw, 94px);
    }

    .contact-copy>p {
        font-size: 16px;
    }

    .contact-number {
        font-size: 23px;
    }

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

    .footer {
        padding: 35px 6% 100px;
    }

    .footer-top {
        gap: 22px;
        align-items: flex-start;
    }

    .footer-logo img {
        width: 80px;
    }

    .footer-top p {
        font-size: 16px;
    }

    .footer-top>a:last-child {
        overflow-wrap: anywhere;
        font-size: 14px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        line-height: 1.6;
    }

    .floating-contact {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .chat-launcher>span:first-child {
        display: none;
    }

    .chat-launcher {
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 12px;
    }

    .ks-chat {
        width: min(350px, calc(100vw - 32px));
    }

}

@media(max-width:360px) {
    .site-header nav {
        gap: 10px;
    }

    .client-names span {
        font-size: 13px;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .motion .reveal {
        opacity: 1;
        transform: none;
    }

    .project-open:hover img {
        transform: none;
    }

}

.wordmark img {
    width: 78px;
    height: 47px;
    object-fit: contain;
    filter: invert(1);
}

.service-panels {
    touch-action: pan-y;
}

@media(max-width:760px) {
    .wordmark img {
        width: 66px;
        height: 40px;
    }

}

/* ===== HERO PARALLAX: MORADO, VINO Y BLANCO ===== */
#inicio {
    --px-purple: #7943a3;
    --px-wine: #722747;
    --px-ink: #291c2b;
    --px-paper: #fcfafc;
    --px-muted: #786b7c;
    --ks-header-height: 88px;
    color: var(--px-ink);
    font-family: Arial,Helvetica,sans-serif;
}

#inicio.ks-orbit-hero {
    height: 290svh;
    position: relative;
}

#inicio .px-stage {
    position: sticky;
    overflow: hidden;
    isolation: isolate;
    background: var(--px-paper);
    top: var(--ks-header-height);
    height: calc(100svh - var(--ks-header-height));
    min-height: 0;
}

#inicio .px-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(#72274704 1px,transparent 1px),linear-gradient(90deg,#72274704 1px,transparent 1px);
    background-size: 100px 100px;
}

#inicio .px-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 48% 72%,#e9dbf288,transparent 55%),radial-gradient(ellipse at 85% 20%,#f5e2e955,transparent 45%);
}

#inicio .px-orbit {
    position: absolute;
    display: block;
    border: 1px solid #86507820;
    border-radius: 50%;
    width: 94vw;
    height: 65vh;
    left: 3vw;
    top: 18vh;
    transform: rotate(-23deg);
}

#inicio .px-orbit-b {
    width: 61vw;
    height: 128vh;
    left: 20vw;
    top: -15vh;
    transform: rotate(-38deg);
}

#inicio .px-orbit-c {
    width: 36vw;
    height: 75vh;
    left: 32vw;
    top: 13vh;
    border-style: dashed;
    opacity: .35;
    transform: rotate(28deg);
}

#inicio .px-topline {
    position: absolute;
    top: 28px;
    left: 4%;
    right: 4%;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 700;
}

#inicio .px-symbol {
    color: var(--px-wine);
    font-size: 32px;
}

#inicio .px-edition {
    margin-left: auto;
    color: var(--px-muted);
    font-size: 9px;
}

#inicio .px-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 65px 20px;
    z-index: 2;
    will-change: transform,opacity;
    padding-top: 65px;
    padding-bottom: 65px;
}

#inicio .px-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.7;
    margin: 0 0 26px;
}

#inicio .px-copy h1,
#inicio .px-copy h2 {
    font-size: clamp(62px,6.9vw,130px);
    font-weight: 500;
    letter-spacing: -.075em;
    line-height: 1.04;
    margin: 0;
    text-transform: none;
}

#inicio .px-copy h1 span,
#inicio .px-copy h2 span {
    color: var(--px-wine);
    background: linear-gradient(115deg,var(--px-purple),var(--px-wine));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

#inicio .px-description {
    font-size: clamp(16px,1.35vw,23px);
    line-height: 1.65;
    color: var(--px-muted);
    margin: 28px 0;
}

#inicio .px-button {
    display: flex;
    align-items: center;
    gap: 38px;
    background: var(--px-wine);
    border-radius: 60px;
    padding: 18px 27px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 12px 30px #72274717;
    transition: background .2s;
    color: #fff;
}

#inicio .px-button:hover {
    background: var(--px-purple);
    color: #fff;
}

#inicio .px-button span {
    font-size: 27px;
    line-height: 1;
}

#inicio .px-object {
    position: absolute;
    will-change: transform,opacity;
    pointer-events: none;
    z-index: 1;
}

#inicio .px-object img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 22px 23px #48213515);
    height: auto;
}

#inicio .px-megaphone {
    width: clamp(260px,28vw,540px);
    left: -8%;
    top: 14%;
}

#inicio .px-phone {
    width: clamp(290px,29vw,560px);
    right: -9%;
    bottom: -12%;
}

#inicio .px-note {
    position: absolute;
    z-index: 3;
    background: #ffffffed;
    border: 1px solid #72274719;
    box-shadow: 0 16px 45px #44203708;
    border-radius: 12px;
    padding: 19px 22px;
    font-size: 13px;
    will-change: transform,opacity;
    pointer-events: none;
}

#inicio .px-note-one {
    right: 6%;
    top: 17%;
    transform: rotate(8deg);
    display: flex;
    align-items: center;
    gap: 10px;
}

#inicio .px-note-one i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--px-purple);
}

#inicio .px-note-two {
    left: 7%;
    bottom: 17%;
    transform: rotate(-8deg);
    line-height: 1.5;
}

#inicio .px-note-two strong {
    display: block;
    font-size: 16px;
}

#inicio .px-outro {
    opacity: 0;
    visibility: hidden;
}

#inicio .px-copy h2 {
    font-size: clamp(52px,6vw,112px);
}

#inicio .px-text-link {
    text-decoration: none;
    border-bottom: 1px solid var(--px-wine);
    padding: 12px 0 8px;
    font-size: 14px;
    margin-top: 7px;
}

#inicio .px-text-link span {
    margin-left: 15px;
}

#inicio .px-bottom {
    position: absolute;
    bottom: 27px;
    left: 4%;
    right: 4%;
    display: flex;
    justify-content: space-between;
    color: var(--px-muted);
    font-size: 9px;
    letter-spacing: 1.8px;
    z-index: 4;
}

#inicio .px-bottom span span {
    margin-left: 10px;
}

#inicio .px-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg,var(--px-purple),var(--px-wine));
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
}

@media(min-width:1800px) {
    #inicio .px-megaphone {
        left: -6%;
    }

    #inicio .px-phone {
        right: -7%;
    }

}

@media(max-width:700px) {
    #inicio .px-stage {
        min-height: 0;
    }

    #inicio .px-topline {
        top: 16px;
        letter-spacing: .8px;
        font-size: 7px;
    }

    #inicio .px-edition {
        display: none;
    }

    #inicio .px-copy {
        padding: 100px 20px;
    }

    #inicio .px-copy h1 {
        font-size: clamp(43px,10.7vw,72px);
    }

    #inicio .px-copy h2 {
        font-size: clamp(37px,9vw,62px);
    }

    #inicio .px-eyebrow {
        font-size: 8px;
        letter-spacing: 1.4px;
        margin-bottom: 18px;
        max-width: 280px;
    }

    #inicio .px-description {
        font-size: 14px;
        max-width: 330px;
        margin: 23px 0;
    }

    #inicio .px-description br {
        display: none;
    }

    #inicio .px-button {
        font-size: 12px;
        padding: 14px 20px;
        gap: 24px;
    }

    #inicio .px-megaphone {
        width: 165px;
        left: -42px;
        top: 8%;
    }

    #inicio .px-phone {
        width: 195px;
        right: -53px;
        bottom: 4%;
    }

    #inicio .px-note-one {
        font-size: 9px;
        padding: 12px;
        right: 7%;
        top: 12%;
    }

    #inicio .px-note-two {
        font-size: 9px;
        padding: 12px;
        left: 6%;
        bottom: 14%;
    }

    #inicio .px-note-two strong {
        font-size: 12px;
    }

    #inicio .px-orbit {
        width: 170vw;
        left: -35vw;
        height: 56vh;
        top: 23vh;
    }

    #inicio .px-orbit-b {
        width: 110vw;
        height: 110vh;
        left: -5vw;
        top: -4vh;
    }

    #inicio .px-orbit-c {
        display: none;
    }

    #inicio .px-bottom {
        font-size: 8px;
        bottom: 20px;
    }

}

@media(prefers-reduced-motion:reduce) {
    #inicio.ks-orbit-hero {
        height: auto;
    }

    #inicio .px-stage {
        position: relative;
        height: auto;
        min-height: 0;
        top: 0;
    }

    #inicio .px-copy {
        position: relative;
        min-height: 75svh;
    }

    #inicio .px-outro {
        opacity: 1;
        visibility: visible;
    }

    #inicio .px-object,
    #inicio .px-note,
    #inicio .px-bottom,
    #inicio .px-progress {
        display: none;
    }

}

html:not(.ks-parallax-enabled) #inicio.ks-orbit-hero {
    height: auto;
}

html:not(.ks-parallax-enabled) #inicio .px-stage {
    position: relative;
    height: auto;
    top: 0;
}

html:not(.ks-parallax-enabled) #inicio .px-copy {
    position: relative;
    min-height: 100svh;
}

html:not(.ks-parallax-enabled) #inicio .px-outro {
    visibility: visible;
    opacity: 1;
}

#inicio a:focus-visible {
    outline-color: var(--px-purple);
}

/* ===== HERO EN PANTALLAS DE POCA ALTURA ===== */
@media (max-height: 650px) and (prefers-reduced-motion: no-preference) {
    html.ks-parallax-enabled #inicio .px-copy {
        padding: 36px 20px;
    }

    html.ks-parallax-enabled #inicio .px-copy h1 {
        font-size: clamp(38px, 10svh, 76px);
    }

    html.ks-parallax-enabled #inicio .px-copy h2 {
        font-size: clamp(32px, 9svh, 65px);
    }

    html.ks-parallax-enabled #inicio .px-description {
        font-size: 14px;
        margin: 14px 0;
    }

    html.ks-parallax-enabled #inicio .px-eyebrow {
        font-size: 8px;
        margin-bottom: 12px;
    }

    html.ks-parallax-enabled #inicio .px-button {
        padding: 12px 22px;
    }

    html.ks-parallax-enabled #inicio .px-topline,
    html.ks-parallax-enabled #inicio .px-bottom,
    html.ks-parallax-enabled #inicio .px-note {
        display: none;
    }

}
