:root {
    --bg: #050607;
    --panel: #0b0d0f;
    --panel-2: #0f1418;
    --text: #f5f7f8;
    --muted: #90979e;
    --line: #1b2025;
    --cyan: #67d8ff;
    --cyan-soft: rgba(103, 216, 255, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.topbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 7, .94);
}

.brand {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1;
}

.cursor,
.footer-brand span {
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(103, 216, 255, .8);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .13em;
}

nav a:hover {
    color: var(--text);
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 50%, transparent 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(760px, 1.08fr);
    gap: 44px;
    align-items: start;
}

.hero-content {
    position: relative;
}

.terminal-label,
.eyebrow,
.section-heading span,
.mini-label {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: .14em;
}

.hero h1 {
    margin: 30px 0 26px;
    max-width: 980px;
    font-size: clamp(52px, 6vw, 96px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.05em;
}

.hero h1 span {
    color: var(--cyan);
}

.hero-copy {
    max-width: 680px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border: 1px solid var(--line);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: .2s ease;
}

.btn-primary {
    color: #031015;
    background: var(--cyan);
    border-color: var(--cyan);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(103, 216, 255, .25);
}

.btn-secondary:hover {
    border-color: var(--muted);
}

.status {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64f0ad;
    box-shadow: 0 0 10px #64f0ad;
}

.hero-visual {
    position: relative;
    align-self: start;
    justify-self: end;
    width: 120%;
    margin-top: 112px;
    margin-right: -72px;
}

.visual-main {
    position: relative;
    width: 100%;
    height: 640px;
    border: 1px solid rgba(103, 220, 255, 0.14);
    background-image: url("/assets/img/tio-hero-interfaces.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    overflow: visible;
}

.visual-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .7;
}

.visual-screen {
    position: absolute;
    inset: 48px;
    border: 1px solid rgba(103,216,255,.20);
    background: rgba(5, 7, 8, .75);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 40px rgba(103,216,255,.08);
}

.screen-top {
    display: flex;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(103,216,255,.12);
}

.screen-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(103,216,255,.55);
}

.screen-lines {
    padding: 24px 22px;
}

.line {
    height: 10px;
    margin-bottom: 16px;
    background: rgba(255,255,255,.12);
    border-radius: 999px;
}

.line-cyan {
    background: rgba(103,216,255,.85);
    box-shadow: 0 0 16px rgba(103,216,255,.28);
}

.w-90 { width: 90%; }
.w-80 { width: 80%; }
.w-75 { width: 75%; }
.w-70 { width: 70%; }
.w-55 { width: 55%; }
.w-40 { width: 40%; }

.visual-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mini-card {
    min-height: 145px;
    padding: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.mini-card strong {
    display: block;
    margin-top: 14px;
    font-size: 22px;
    font-weight: 500;
}

.mini-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.section {
    width: min(1180px, 88vw);
    margin: auto;
    padding: 120px 0;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -.04em;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.services article {
    padding: 38px 34px 50px 0;
    border-right: 1px solid var(--line);
}

.services article + article {
    padding-left: 34px;
}

.services article:last-child {
    border-right: 0;
}

.number {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.services h3 {
    margin: 50px 0 18px;
    font-size: 29px;
    font-weight: 400;
}

.services p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.logistics {
    border-top: 1px solid var(--line);
}

.logistics-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.big-copy {
    margin: 0;
    max-width: 650px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.features {
    display: grid;
}

.features span {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.contact {
    border-top: 1px solid var(--line);
    text-align: center;
}

.contact h2 {
    margin: 28px auto;
    font-size: clamp(45px, 6vw, 84px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.contact p {
    color: var(--muted);
    margin-bottom: 35px;
}

footer {
    min-height: 120px;
    padding: 30px 6vw;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-brand {
    color: var(--text);
    font-size: 20px;
    text-transform: none;
}

@media (max-width: 980px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .hero-visual {
        order: 2;
    }
}

@media (max-width: 760px) {
    .topbar {
        height: 78px;
    }

    .brand {
        font-size: 34px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .visual-cards {
        grid-template-columns: 1fr;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .services article,
    .services article + article {
        padding: 35px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .services h3 {
        margin-top: 25px;
    }

    .logistics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}


/* Captura real de software */
.dashboard-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 2;
}

.visual-screen {
    display: none;
}


/* HERO vuelve a visual conceptual */
.dashboard-shot {
    display: none !important;
}

.visual-screen {
    display: block !important;
}


/* SHOWCASE REAL DE SOFTWARE */

.product-showcase {
    width: min(1500px, 92vw);
    margin: 0 auto;
    padding: 120px 0 135px;
}

.product-head {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 52px;
}

.product-label {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: .16em;
}

.product-head h2 {
    margin: 20px 0 0;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.05em;
}

.product-head p {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.product-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(103,216,255,.28);
    background: #080b0e;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.02),
        0 0 70px rgba(103,216,255,.08);
}

.product-frame::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 65%;
    height: 70%;
    left: 17%;
    bottom: -20%;
    background: rgba(103,216,255,.18);
    filter: blur(100px);
}

.product-bar {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--line);
    background: #090c0f;
}

.product-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(103,216,255,.55);
}

.product-bar div {
    margin-left: auto;
    color: #66717a;
    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: .14em;
}

.product-frame img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 760px) {
    .product-showcase {
        padding: 80px 0;
    }

    .product-head {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-head h2 {
        font-size: 48px;
    }
}


/* HERO V2 TIO START */

.hero-v2 {
    min-height: 840px;
}

.hero-layout-v2 {
    width: min(1320px, 90vw);
    min-height: 840px;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
}

.hero-content-v2 h1 {
    max-width: 900px;
    font-size: clamp(58px, 6.4vw, 104px);
    line-height: .95;
}

.hero-content-v2 h1 span {
    color: var(--text);
}

.hero-content-v2 .hero-copy {
    max-width: 720px;
    font-size: 21px;
    line-height: 1.75;
}

.hero-tags {
    margin-top: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-tags span {
    padding: 10px 14px;
    border: 1px solid rgba(103,216,255,.20);
    background: rgba(255,255,255,.02);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-visual-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-stage {
    position: relative;
    width: 100%;
    min-height: 620px;
}

.stage-glow {
    position: absolute;
    inset: 14% 8% auto 8%;
    height: 70%;
    background:
        radial-gradient(circle at 50% 40%, rgba(103,216,255,.18), transparent 42%),
        radial-gradient(circle at 70% 60%, rgba(103,216,255,.10), transparent 38%);
    filter: blur(18px);
}

.glass-card {
    position: absolute;
    border: 1px solid rgba(103,216,255,.20);
    background: linear-gradient(180deg, rgba(10,14,18,.82), rgba(7,10,13,.74));
    box-shadow:
        0 0 0 1px rgba(255,255,255,.02),
        0 18px 50px rgba(0,0,0,.35),
        0 0 50px rgba(103,216,255,.06);
    backdrop-filter: blur(8px);
}

.glass-main {
    inset: 80px 40px 120px 20px;
    overflow: hidden;
}

.glass-top {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(103,216,255,.12);
}

.glass-top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(103,216,255,.62);
}

.glass-top strong {
    margin-left: auto;
    font-size: 12px;
    letter-spacing: .16em;
    font-family: "Courier New", monospace;
    color: var(--muted);
}

.code-lines {
    padding: 28px 24px 14px;
}

.code-line {
    height: 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.code-line.c1 { width: 84%; background: rgba(103,216,255,.88); box-shadow: 0 0 16px rgba(103,216,255,.28); }
.code-line.c2 { width: 62%; }
.code-line.c3 { width: 78%; }
.code-line.c4 { width: 48%; background: rgba(103,216,255,.70); }
.code-line.c5 { width: 70%; }

.flow-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 18px 24px 24px;
}

.flow-pill,
.flow-arrow {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.flow-pill {
    border: 1px solid rgba(103,216,255,.18);
    background: rgba(255,255,255,.02);
    color: var(--muted);
}

.flow-pill.active {
    color: #031015;
    background: var(--cyan);
    border-color: var(--cyan);
}

.flow-arrow {
    color: var(--cyan);
    font-size: 18px;
    padding: 0 6px;
}

.glass-side {
    width: 220px;
    min-height: 130px;
    padding: 18px;
}

.card-analytics {
    top: 18px;
    right: 10px;
}

.card-api {
    right: 0;
    bottom: 132px;
}

.card-stack {
    left: 40px;
    bottom: 16px;
    width: 250px;
}

.mini-title {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: .14em;
    margin-bottom: 16px;
}

.mini-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 70px;
}

.bar {
    display: block;
    flex: 1;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(103,216,255,.95), rgba(103,216,255,.18));
    box-shadow: 0 0 16px rgba(103,216,255,.18);
}

.b1 { height: 42%; }
.b2 { height: 76%; }
.b3 { height: 58%; }
.b4 { height: 88%; }

.api-grid,
.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.api-grid span,
.stack-list span {
    padding: 8px 12px;
    border: 1px solid rgba(103,216,255,.16);
    background: rgba(255,255,255,.02);
    color: var(--text);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .hero-layout-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 0;
        min-height: auto;
    }

    .hero-v2 {
        min-height: auto;
    }

    .tech-stage {
        min-height: 520px;
    }

    .glass-main {
        inset: 70px 20px 120px 20px;
    }
}

@media (max-width: 760px) {
    .hero-content-v2 h1 {
        font-size: 52px;
    }

    .hero-content-v2 .hero-copy {
        font-size: 17px;
    }

    .hero-tags {
        gap: 10px;
    }

    .hero-tags span {
        font-size: 11px;
        padding: 8px 10px;
    }

    .tech-stage {
        min-height: 460px;
    }

    .glass-side {
        width: 170px;
        min-height: 110px;
        padding: 14px;
    }

    .card-analytics {
        top: 10px;
        right: 0;
    }

    .card-api {
        right: 0;
        bottom: 100px;
    }

    .card-stack {
        left: 10px;
        bottom: 10px;
        width: 200px;
    }
}

/* HERO V2 TIO END */


/* SERVICES VISUAL TIO START */

.services-visual {
    width: min(1500px, 92vw);
    padding-top: 120px;
    padding-bottom: 140px;
}

.services-intro {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 55px;
}

.section-kicker {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: .16em;
}

.services-intro h2 {
    margin: 20px 0 0;
    font-size: clamp(48px, 5.5vw, 82px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.045em;
}

.services-intro p {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.services-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-image-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #080a0c;
}

.service-image-card img {
    display: block;
    width: 100%;
    height: auto;
    transition:
        transform .5s ease,
        filter .5s ease;
}

.service-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid transparent;
    transition: .35s ease;
}

.service-image-card:hover img {
    transform: scale(1.025);
    filter: brightness(1.08);
}

.service-image-card:hover::after {
    border-color: rgba(103,216,255,.35);
    box-shadow: inset 0 0 35px rgba(103,216,255,.05);
}

@media (max-width: 900px) {

    .services-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-image-grid {
        grid-template-columns: 1fr;
    }
}

/* SERVICES VISUAL TIO END */


/* SPECIALIZATION TIO START */

.specialization {
    width: min(1500px, 92vw);
    padding-top: 130px;
    padding-bottom: 140px;
    border-top: 1px solid var(--line);
}

.specialization-top {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 90px;
}

.specialization h2 {
    margin: 20px 0 0;
    font-size: clamp(52px, 6vw, 94px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.05em;
}

.specialization h2 span {
    color: var(--cyan);
}

.specialization-intro strong {
    display: block;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 400;
}

.specialization-intro p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.specialization-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 100px;
}

.specialization-statement {
    padding-right: 40px;
}

.specialization-statement > p {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.specialization-statement h3 {
    margin: 28px 0 0;
    max-width: 720px;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.specialization-statement h3 span {
    color: var(--cyan);
}

.specialization-items {
    border-top: 1px solid var(--line);
}

.specialization-items div {
    min-height: 76px;
    display: grid;
    grid-template-columns: 55px 1fr;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.specialization-items span {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 11px;
}

.specialization-items strong {
    font-size: 17px;
    font-weight: 400;
    color: var(--muted);
    transition: .2s ease;
}

.specialization-items div:hover strong {
    color: var(--text);
}

@media (max-width: 900px) {

    .specialization-top,
    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .specialization-top {
        margin-bottom: 65px;
    }
}

/* SPECIALIZATION TIO END */


/* METHOD TIO START */

.method {
    width: min(1500px, 92vw);
    padding-top: 130px;
    padding-bottom: 140px;
    border-top: 1px solid var(--line);
}

.method-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 80px;
}

.method-head h2 {
    margin: 20px 0 0;
    font-size: clamp(50px, 5.8vw, 88px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.045em;
}

.method-head h2 span {
    color: var(--cyan);
}

.method-head > p {
    margin: 0;
    max-width: 600px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.method-grid article {
    min-height: 310px;
    padding: 34px 30px;
    border-right: 1px solid var(--line);
    transition: .25s ease;
}

.method-grid article:last-child {
    border-right: 0;
}

.method-grid article:hover {
    background: rgba(103,216,255,.025);
}

.method-grid article > span {
    color: var(--cyan);
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.method-grid h3 {
    margin: 75px 0 18px;
    font-size: 30px;
    font-weight: 400;
}

.method-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 900px) {

    .method-head {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-grid article:nth-child(2) {
        border-right: 0;
    }

    .method-grid article {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 600px) {

    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-grid article {
        border-right: 0;
        min-height: 250px;
    }
}

/* METHOD TIO END */



/* HERO IMAGE PUNCH TIO START */

/* Logo ligeramente más protagonista */
.topbar .brand {
    font-size: 58px;
}

/* Sustituimos la ilustración abstracta por imagen real */
.hero-visual-v2 {
    position: relative;
    min-height: 610px;
    border: 1px solid rgba(103,216,255,.22);
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,7,.10) 0%,
            rgba(5,6,7,.02) 45%,
            rgba(5,6,7,.12) 100%
        ),
        url("/assets/img/tio-software.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        0 0 0 1px rgba(255,255,255,.02),
        0 25px 80px rgba(0,0,0,.45),
        0 0 70px rgba(103,216,255,.09);
}

/* pequeño brillo inferior */
.hero-visual-v2::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -35px;
    height: 90px;
    background: rgba(103,216,255,.15);
    filter: blur(55px);
    pointer-events: none;
}

/* ocultamos la visual abstracta anterior, no la borramos */
.hero-visual-v2 .tech-stage {
    display: none;
}

@media (max-width: 1100px) {

    .hero-visual-v2 {
        min-height: 560px;
        background-position: center;
    }
}

@media (max-width: 760px) {

    .topbar .brand {
        font-size: 42px;
    }

    .hero-visual-v2 {
        min-height: 390px;
        background-size: cover;
        background-position: center;
    }
}

/* HERO IMAGE PUNCH TIO END */


/* HERO FINAL IMAGE TIO START */

.topbar .brand {
    font-size: 62px;
}

.hero-visual-v2 {
    position: relative;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;

    border: 1px solid rgba(103,216,255,.25);

    background:
        linear-gradient(
            180deg,
            rgba(5,6,7,.02) 0%,
            rgba(5,6,7,.00) 65%,
            rgba(5,6,7,.18) 100%
        ),
        url("/assets/img/tio-hero-interfaces.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        0 25px 80px rgba(0,0,0,.50),
        0 0 65px rgba(103,216,255,.10);
}

.hero-visual-v2 .tech-stage {
    display: none !important;
}

.hero-visual-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,7,.13) 0%,
            transparent 22%,
            transparent 80%,
            rgba(5,6,7,.08) 100%
        );
}

@media (max-width: 1100px) {

    .hero-visual-v2 {
        width: 100%;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 760px) {

    .topbar .brand {
        font-size: 44px;
    }

    .hero-visual-v2 {
        aspect-ratio: 4 / 3;
        background-position: center;
    }
}

/* HERO FINAL IMAGE TIO END */

/* ===== AJUSTE FINO HERO FINAL ===== */
.hero-copy {
    padding-left: 5px;
}

.visual-main {
    background-size: 94% auto !important;
    background-position: center top !important;
}

/* ===== HERO FIX REAL ===== */

/* Mismo margen izquierdo que el resto de secciones */
.hero-layout-v2 {
    margin-left: 4vw !important;
    margin-right: 0 !important;
}

/* Quitamos el parche anterior que movía solo el párrafo */
.hero-content-v2,
.hero-content-v2 .hero-copy {
    padding-left: 0 !important;
}

/* ESTA es la caja que realmente contiene la imagen */
.hero-visual-v2 {
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #050607 !important;
}


/* ===== AJUSTE ALTURA CONTENEDOR HERO ===== */
.hero-visual-v2 {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* ===== HERO IMG REAL - FIX DEFINITIVO ===== */

.hero-visual-v2 {
    display: block !important;

    min-height: 0 !important;
    height: fit-content !important;
    aspect-ratio: auto !important;

    background: none !important;
    background-image: none !important;

    overflow: hidden !important;
}

.hero-visual-v2::after {
    display: none !important;
}

.hero-visual-v2 .tech-stage {
    display: none !important;
}

.hero-interface-img {
    display: block !important;

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

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

    object-fit: contain !important;
}

/* ===== HERO MOBILE FINAL ===== */
@media (max-width: 760px) {

    .hero-layout-v2 {
        width: 92vw !important;
        margin: 0 auto !important;
        padding: 55px 0 45px !important;
        display: block !important;
    }

    .hero-content-v2 {
        width: 100% !important;
    }

    .hero-visual.hero-visual-v2 {
        width: 100% !important;
        margin: 34px 0 0 !important;
        padding: 7px !important;

        min-height: 0 !important;
        height: auto !important;

        border: 1px solid rgba(103,216,255,.25) !important;
        background: rgba(8,11,14,.8) !important;

        box-shadow:
            0 18px 45px rgba(0,0,0,.45),
            0 0 30px rgba(103,216,255,.06) !important;
    }

    .hero-interface-img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link .service-image-card {
    transition: transform .25s ease, border-color .25s ease;
}

.service-card-link:hover .service-image-card {
    transform: translateY(-4px);
    border-color: rgba(96,213,245,.55);
}
