*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg: #09090b;
    --bg2: #111113;
    --bg3: #1a1a1f;
    --border: rgba(255, 255, 255, 0.08);
    --border2: rgba(255, 255, 255, 0.14);
    --text: #f4f4f5;
    --muted: #8e8e98;
    --muted2: #a1a1aa;
    --accent: #6ee7b7;
    --accent2: #34d399;
    --accent-bg: rgba(110, 231, 183, 0.08);
    --accent-border: rgba(110, 231, 183, 0.2);
    --card: #111113;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden
}

button,
input,
select,
textarea {
    font-family: inherit
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(9, 9, 11, .88);
    backdrop-filter: blur(16px);
    border-bottom: .5px solid var(--border)
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: var(--text);
    text-decoration: none
}

.nav-logo span {
    color: var(--accent)
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none
}

.nav-links a {
    color: var(--muted2);
    text-decoration: none;
    font-size: .875rem;
    transition: color .2s
}

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

.nav-cta {
    background: var(--accent) !important;
    color: #09090b !important;
    padding: .5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500 !important
}

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 7rem 5rem 4rem 5rem;
    position: relative;
    overflow: hidden;
    text-align: left
}

.hero::before {
    display: none
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 60% 80% at 75% 50%, transparent 40%, rgba(9, 9, 11, .7) 100%), radial-gradient(ellipse 40% 60% at 5% 50%, rgba(9, 9, 11, .5) 0, transparent 70%)
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0
}

.hero-content {
    width: 100%;
    max-width: 760px;
    position: relative;
    z-index: 1
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.6vw, 6.25rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
    margin-bottom: 2rem;
    max-width: 9ch
}

.hero-sub {
    color: var(--text);
    font-size: 1.2rem;
    max-width: 25em;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center
}

.btn-primary {
    background: var(--accent);
    color: #09090b;
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .9375rem;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
    display: inline-block
}

.btn-primary:hover {
    background: var(--accent2);
    transform: translateY(-1px)
}

.btn-secondary {
    background: 0 0;
    color: var(--muted2);
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .9375rem;
    text-decoration: none;
    border: .5px solid var(--border2);
    transition: all .2s
}

.btn-secondary:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, .25)
}

.stats {
    display: flex;
    border: .5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2.5rem;
    width: 100%
}

.stat {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    border-right: .5px solid var(--border)
}

.stat:last-child {
    border-right: none
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: .25rem
}

.stat-label {
    font-size: .8125rem;
    color: var(--muted);
    text-transform: none;
    letter-spacing: .06em
}

section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 1rem
}

.section-sub {
    color: var(--text);
    font-size: 1.125rem;
    max-width: 34em;
    font-weight: 400;
    margin-bottom: 3.5rem;
    line-height: 1.7
}

#servicios {
    border-top: .5px solid var(--border)
}


.biz-tabs {
    display: none
}

.js .biz-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem
}

.biz-tabs button {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg2);
    border: 0;
    border-radius: 100px;
    padding: .7rem 1.25rem;
    cursor: pointer;
    transition: background .2s, color .2s, transform .15s
}

.biz-tabs button:hover {
    background: var(--bg3)
}

.biz-tabs button:active {
    transform: scale(.97)
}

.biz-tabs button[aria-selected="true"] {
    background: var(--accent);
    color: #09090b
}

.biz-tabs button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

.biz-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
    background: var(--bg2);
    border-radius: 20px;
    padding: 3rem
}

.biz-panel + .biz-panel {
    margin-top: 1rem
}

.js .biz-panel {
    margin-top: 0
}

.js .biz-panel:not(.active) {
    display: none
}

.biz-name {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: .75rem
}

.js .biz-name {
    display: none
}

.biz-problem {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin-bottom: 2rem
}

.biz-label {
    font-size: .9375rem;
    color: var(--accent);
    margin-bottom: .75rem
}

.biz-list {
    list-style: none;
    display: grid;
    gap: .75rem;
    margin-bottom: 2rem
}

.biz-list li {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--muted2)
}

.biz-list strong {
    color: var(--text);
    font-weight: 600
}

.biz-plan {
    font-size: 1rem;
    margin-bottom: 1.25rem
}

.biz-plan strong {
    color: var(--text)
}

.biz-plan a {
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap
}

.biz-cta {
    display: inline-block
}

.biz-proof {
    margin: 0
}

.biz-proof > a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg)
}

.biz-proof img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease-out
}

.biz-proof > a:hover img {
    transform: scale(1.03)
}

.biz-proof figcaption {
    margin-top: .875rem;
    font-size: .9375rem;
    color: var(--muted2)
}

.biz-proof figcaption strong {
    color: var(--text)
}

.biz-proof figcaption a {
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap
}

.biz-proof-empty {
    background: var(--bg3);
    border-radius: 12px;
    padding: 2.5rem;
    font-size: 1.125rem;
    line-height: 1.6
}

.flow-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

/* Flujo estilo editor de n8n: el punto recorre los cables y enciende cada nodo */
.biz-flow {
    grid-column: 1 / -1;
    background-color: #0c0c0f;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 18px 18px;
    border-radius: 14px;
    padding: 1.5rem 1.75rem 1.75rem
}

.flow-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .9375rem;
    font-weight: 500;
    margin-bottom: 1.5rem
}

.flow-title span {
    font-size: .8125rem;
    font-weight: 400;
    color: var(--muted2)
}

.flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem
}

.flow-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem
}

.flow-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #1c1c22;
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--muted2);
    transition: background .3s, border-color .3s, color .3s, transform .3s
}

.flow-n8n .flow-icon {
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 800;
    letter-spacing: -.02em;
    border-radius: 50%
}

.flow-label {
    font-size: .875rem;
    line-height: 1.35;
    color: var(--muted2);
    transition: color .3s
}

/* cable hacia el siguiente nodo: del borde de este ícono al borde del siguiente */
.flow-wire {
    position: absolute;
    top: 27px;
    left: calc(50% + 28px);
    width: calc(100% - 56px + 1rem);
    height: 2px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden
}

.flow-wire::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--accent) 100%);
    transform: translateX(-100%)
}

.flow-node.on .flow-icon {
    background: #10241c;
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.06)
}

.flow-node.on .flow-label {
    color: var(--text)
}

.flow-node.go .flow-wire {
    background: rgba(110, 231, 183, .35)
}

.flow-node.go .flow-wire::after {
    animation: flow-dot .7s ease-in-out forwards
}

@keyframes flow-dot {
    from {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(0)
    }
}

/* sin JS o con movimiento reducido: el flujo se ve completo y quieto */
html:not(.js) .flow-node .flow-icon,
.flow.static .flow-node .flow-icon {
    border-color: var(--accent);
    color: var(--accent)
}

html:not(.js) .flow-wire,
.flow.static .flow-wire {
    background: rgba(110, 231, 183, .45)
}

@media (max-width:768px) {
    .biz-flow {
        padding: 1.25rem
    }

    .flow-title {
        flex-direction: column;
        gap: .25rem
    }

    .flow {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }

    .flow-node {
        flex-direction: row;
        text-align: left;
        gap: 1rem
    }

    .flow-icon {
        flex: none;
        width: 48px;
        height: 48px
    }

    .flow-n8n .flow-icon {
        font-size: .8125rem
    }

    .flow-wire {
        top: 48px;
        left: 23px;
        width: 2px;
        height: 1.25rem
    }

    .flow-wire::after {
        background: linear-gradient(180deg, transparent 40%, var(--accent) 100%);
        transform: translateY(-100%)
    }

    @keyframes flow-dot-v {
        from {
            transform: translateY(-100%)
        }

        to {
            transform: translateY(0)
        }
    }

    .flow-node.go .flow-wire::after {
        animation-name: flow-dot-v
    }
}


@media (prefers-reduced-motion: no-preference) {
    .js .biz-panel.active {
        animation: biz-in .35s cubic-bezier(.2, .8, .2, 1)
    }

    @keyframes biz-in {
        from {
            opacity: 0;
            transform: translateY(12px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}

@media (max-width:768px) {
    .biz-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem 1.25rem
    }

    .biz-tabs button {
        padding: .6rem 1rem;
        font-size: .875rem
    }

    .biz-cta {
        display: block;
        text-align: center
    }
}

#nosotros {
    border-top: .5px solid var(--border)
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start
}

.nosotros-text p {
    color: var(--muted2);
    font-size: .9375rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.25rem
}

.nosotros-text p strong {
    color: var(--text);
    font-weight: 500
}

.nosotros-text h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 1.75rem 0 .75rem
}

.nosotros-pillars {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--border)
}

.pillar {
    background: var(--bg);
    padding: 1.5rem 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.pillar h4 {
    font-family: var(--font-display);
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: .3rem;
    letter-spacing: -.01em
}

.pillar p {
    color: var(--muted2);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0
}

.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--border);
    margin-top: 3rem
}

.nstat {
    background: var(--bg);
    padding: 1.5rem 1rem;
    text-align: center
}

.nstat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: .35rem
}

.nstat-label {
    font-size: .8125rem;
    color: var(--muted);
    line-height: 1.4
}

@media (max-width:768px) {
    .nosotros-grid {
        grid-template-columns: 1fr
    }

    .nosotros-stats {
        grid-template-columns: repeat(2, 1fr)
    }
}

#proyectos {
    border-top: .5px solid var(--border)
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem
}

.project-card {
    background: var(--card);
    border: .5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .3s ease-out, transform .3s ease-out, box-shadow .3s ease-out
}

.project-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent-border)
}

.project-thumb {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #0d0d10
}

.project-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transform-origin: top left;
    transition: transform .4s ease-out
}

.project-card:hover .project-thumb img {
    transform: scale(1.05)
}

.project-thumb-mock {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.mock-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background: rgba(13, 13, 16, .92);
    backdrop-filter: blur(6px);
    border-bottom: .5px solid var(--border)
}

.mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border2);
    flex-shrink: 0
}

.mock-url {
    margin-left: 6px;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: .5px solid var(--border);
    color: var(--muted2);
    font-size: .8125rem;
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%
}

.mock-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.project-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(17, 17, 19, .97) 100%);
    z-index: 1
}

.project-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.project-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .875rem
}

.tag {
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: none;
    padding: .2rem .55rem;
    border-radius: 4px;
    background: var(--accent-bg);
    color: var(--accent);
    border: .5px solid var(--accent-border)
}

.tag-gray {
    background: rgba(255, 255, 255, .05);
    color: var(--muted2);
    border-color: var(--border)
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: .5rem
}

.project-card p {
    color: var(--muted2);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 3)
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--accent);
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: .02em;
    margin-top: auto
}

.project-link-arrow {
    display: inline-block;
    transition: transform .3s ease-out
}

.project-link:hover .project-link-arrow {
    transform: translateX(4px)
}

#proceso {
    border-top: .5px solid var(--border)
}

.process-list {
    display: flex;
    flex-direction: column;
    border: .5px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.process-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-bottom: .5px solid var(--border);
    align-items: flex-start;
    transition: background .2s
}

.process-item:last-child {
    border-bottom: none
}

.process-item:hover {
    background: var(--bg3)
}

.process-num {
    font-family: var(--font-display);
    font-size: .8125rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 32px;
    padding-top: .2rem;
    letter-spacing: .05em
}

.process-item h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .3rem;
    letter-spacing: -.02em
}

.process-item p {
    color: var(--muted2);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300
}

#blog {
    border-top: .5px solid var(--border)
}

.blog-list {
    list-style: none;
    display: grid;
    gap: .75rem
}

.blog-list a {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: .375rem 3rem;
    align-items: start;
    padding: 2rem 2.25rem;
    background: var(--bg2);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    transition: background .2s
}

.blog-list a:hover {
    background: var(--bg3)
}

.blog-list-tag {
    grid-column: 1;
    font-size: .875rem;
    color: var(--accent)
}

.blog-list h3 {
    grid-column: 1;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2
}

.blog-list p {
    grid-column: 2;
    grid-row: 1 / span 2;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted2)
}

.blog-all {
    margin-top: 1.75rem
}

.blog-all a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none
}

@media (max-width:768px) {
    .blog-list a {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem
    }

    .blog-list p {
        grid-column: 1;
        grid-row: auto
    }
}

#contacto {
    border-top: .5px solid var(--border);
    text-align: center
}

.contact-wrapper {
    background: var(--bg3);
    border: .5px solid var(--border);
    border-radius: 16px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 231, 183, .08) 0, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none
}

.contact-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    margin-bottom: .75rem;
    position: relative
}

.contact-wrapper>p {
    color: var(--muted2);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative
}

.contact-phones {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    position: relative
}

.phone-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent-bg);
    border: .5px solid var(--accent-border);
    color: var(--accent);
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s
}

.phone-badge:hover {
    background: rgba(110, 231, 183, .15)
}

.contact-social-label {
    margin: -1.25rem 0 .875rem;
    font-size: .9375rem;
    color: var(--muted2)
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 440px;
    margin: 0 auto;
    position: relative
}

.contact-form input,
.contact-form textarea {
    background: var(--bg);
    border: .5px solid var(--border2);
    border-radius: 8px;
    padding: .875rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 300;
    outline: 0;
    transition: border-color .2s;
    resize: none
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted)
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-border)
}

.contact-form textarea {
    min-height: 120px
}

footer {
    border-top: .5px solid var(--border);
    padding: 2rem 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.02em;
    color: var(--muted2);
    text-decoration: none
}

.footer-logo span {
    color: var(--accent)
}

footer p {
    color: var(--muted);
    font-size: .8125rem
}

.footer-legal{display:flex;gap:1.25rem;flex-wrap:wrap;align-items:center}
.footer-legal a,.footer-legal button{color:var(--muted);font:400 .8rem var(--font-body);text-decoration:none;background:none;border:0;padding:0;cursor:pointer;transition:color .15s}
.footer-legal a:hover,.footer-legal button:hover{color:var(--accent)}
.footer-social{display:flex;gap:1.25rem;align-items:center}
.footer-social a{display:inline-flex;align-items:center;gap:.4rem;color:var(--muted2);font:500 .875rem var(--font-body);text-decoration:none;transition:color .15s}
.footer-social a:hover{color:var(--accent)}
.contact-form .form-consent{display:flex;gap:.65rem;align-items:flex-start;text-align:left;font-size:.82rem;line-height:1.5;color:var(--muted2);cursor:pointer}
.contact-form .form-consent input{width:auto;flex:none;margin-top:.2rem;accent-color:var(--accent)}
.form-consent a{color:var(--accent)}
@media(max-width:768px){.footer-legal{justify-content:center;margin-right:0}}

::-webkit-scrollbar {
    width: 4px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--border2);
    border-radius: 4px
}

@media (prefers-reduced-motion: no-preference) {
    .js .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease
    }

    .js .fade-in.visible {
        opacity: 1;
        transform: translateY(0)
    }
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    margin-bottom: 2.5rem
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .04);
    border: .5px solid var(--border2);
    color: var(--muted2);
    font-size: .8125rem;
    font-weight: 500;
    padding: .35rem .85rem;
    border-radius: 100px;
    letter-spacing: .02em;
    transition: all .2s
}

.tech-badge:hover {
    border-color: var(--accent-border);
    color: var(--accent);
    background: var(--accent-bg)
}

#precios {
    border-top: .5px solid var(--border)
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem
}

.pricing-card {
    background: var(--bg2);
    border: .5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, transform .25s
}

.pricing-card:hover {
    border-color: var(--border2);
    transform: translateY(-4px)
}

.pricing-featured {
    border-color: var(--accent-border);
    background: #13201b
}

.pricing-badge {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: none;
    background: rgba(255, 255, 255, .06);
    color: var(--muted2);
    border: .5px solid var(--border);
    padding: .25rem .75rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    width: fit-content
}

.pricing-badge-accent {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent-border)
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 1rem
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin-bottom: 1rem
}

.price-from {
    font-size: .8125rem;
    color: var(--muted)
}

.price-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.05em;
    line-height: 1
}

.price-k {
    font-size: 1.5rem
}

.price-period {
    font-size: .8125rem;
    color: var(--muted)
}

.pricing-desc {
    color: var(--muted2);
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1.25rem
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1rem;
    flex: 1
}

.pricing-features li {
    font-size: 1rem;
    color: var(--muted2);
    font-weight: 300
}

.pricing-tech {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .75rem;
    padding-top: .875rem;
    border-top: .5px solid var(--border)
}

.pricing-tech span {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--muted);
    background: rgba(255, 255, 255, .04);
    border: .5px solid var(--border);
    padding: .15rem .5rem;
    border-radius: 4px;
    text-transform: none
}

.pricing-note {
    font-size: .8125rem;
    color: var(--muted);
    text-align: center;
    margin-top: .5rem
}

@media (max-width:768px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

#testimonios {
    border-top: .5px solid var(--border)
}

.testimonial-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem
}

.testimonial-featured blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.9vw, 1.625rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-bottom: 1.5rem
}

.testimonial-featured-img {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg2)
}

.testimonial-featured-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease-out
}

.testimonial-featured-img:hover img {
    transform: scale(1.03)
}

.testimonial-list {
    columns: 3 18rem;
    column-gap: 3rem
}

.testimonial {
    break-inside: avoid;
    margin-bottom: 3rem
}

.testimonial p {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 1rem
}

.testimonial-featured .testimonial-cite,
.testimonial .testimonial-cite {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    font-size: .875rem;
    color: var(--muted2)
}

.testimonial-featured .testimonial-cite strong,
.testimonial .testimonial-cite strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text)
}

.testimonial-featured .testimonial-cite span:last-child,
.testimonial .testimonial-cite span:last-child {
    color: var(--accent)
}

@media (max-width:768px) {
    .testimonial-featured {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .testimonial-featured {
        margin-bottom: 3rem
    }

    .testimonial-featured-img {
        order: -1
    }
}

.orbital-section {
    border-top: .5px solid var(--border)
}

.orbital-wrap {
    position: relative;
    width: 440px;
    height: 440px;
    margin: 0 auto
}

.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    border: .5px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none
}

.orbital-center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(110, 231, 183, .08), 0 0 0 20px rgba(110, 231, 183, .04)
}

.orbital-center-node::after {
    content: '';
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: .5px solid rgba(110, 231, 183, .18);
    animation: o-ping 2.2s ease-out infinite
}

@keyframes o-ping {
    0% {
        transform: scale(1);
        opacity: .7
    }

    100% {
        transform: scale(2);
        opacity: 0
    }
}

.orbital-center-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .8125rem;
    color: #09090b;
    letter-spacing: -.02em
}

.o-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .55s cubic-bezier(.4, 0, .2, 1), opacity .55s ease;
    cursor: pointer;
    z-index: 1
}

.o-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg2);
    border: 1.5px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all .3s;
    position: relative
}

.o-node.is-active .o-btn {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.45);
    box-shadow: 0 0 24px rgba(110, 231, 183, .45)
}

.o-node.is-related .o-btn {
    border-color: rgba(110, 231, 183, .5);
    animation: pulse 1.4s infinite
}

.o-label {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: none;
    color: rgba(255, 255, 255, .55);
    white-space: nowrap;
    transition: color .3s
}

.o-node.is-active .o-label {
    color: var(--accent)
}

.o-card {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    background: rgba(15, 15, 18, .97);
    border: .5px solid var(--border2);
    border-radius: 12px;
    padding: .9rem;
    z-index: 400;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .7);
    backdrop-filter: blur(20px);
    animation: o-card-in .22s ease
}

@keyframes o-card-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px) scale(.95)
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1)
    }
}

.o-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 5px;
    background: rgba(255, 255, 255, .25)
}

.o-status {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: none;
    padding: .18rem .45rem;
    border-radius: 4px;
    margin-bottom: .55rem
}

.s-done {
    background: rgba(110, 231, 183, .1);
    color: var(--accent);
    border: .5px solid var(--accent-border)
}

.s-prog {
    background: rgba(255, 255, 255, .07);
    color: #f4f4f5;
    border: .5px solid rgba(255, 255, 255, .2)
}

.s-pend {
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    border: .5px solid var(--border)
}

.o-card-title {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .35rem;
    letter-spacing: -.02em
}

.o-card-body {
    font-size: .8125rem;
    color: var(--muted2);
    line-height: 1.55;
    font-weight: 300;
    margin-bottom: .7rem
}

.o-energy-row {
    display: flex;
    justify-content: space-between;
    font-size: .8125rem;
    color: var(--muted);
    margin-bottom: .25rem
}

.o-energy-track {
    height: 3px;
    background: rgba(255, 255, 255, .07);
    border-radius: 2px;
    overflow: hidden
}

.o-energy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    border-radius: 2px
}

.o-date {
    font-size: .8125rem;
    color: var(--muted);
    font-family: monospace;
    margin-top: .5rem
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s
}

.nav-hamburger.open span:first-child {
    transform: translateY(7px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, .97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 100
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--muted2);
    text-decoration: none;
    letter-spacing: -.03em;
    transition: color .2s
}

.mobile-menu a.nav-cta,
.mobile-menu a:hover {
    color: var(--accent)
}

.mobile-menu a.nav-cta {
    font-size: 1.25rem
}

@media (max-width:1024px) {
    .hero {
        padding: 7rem 3rem 4rem
    }

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

    .nosotros-grid {
        gap: 2rem
    }

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

@media (max-width:768px) {
    nav {
        padding: 1rem 1.25rem
    }

    .nav-links {
        display: none
    }

    .nav-hamburger {
        display: flex
    }

    section {
        padding: 3rem 1.25rem
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem)
    }

    .section-sub {
        font-size: .9rem;
        margin-bottom: 2rem
    }

    .hero {
        padding: 5.5rem 1.5rem 3rem;
        align-items: center;
        text-align: center;
        width: 100%
    }

    .hero-content {
        width: 100%
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
        font-size: .95rem
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem)
    }

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

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%
    }

    .stats {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 1.75rem;
        width: 100%
    }

    .stat {
        flex: 1 1 30%;
        border-right: none;
        border-bottom: none;
        border: .5px solid var(--border);
        border-radius: 8px;
        padding: 1rem .5rem;
        margin: .25rem
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .nosotros-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .nstat {
        padding: 1.25rem .75rem
    }

    .nstat-num {
        font-size: 1.5rem
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .project-thumb {
        height: 180px
    }

    .pricing-grid {
        grid-template-columns: 1fr
    }

    .pricing-card {
        padding: 1.5rem
    }

    .orbital-wrap {
        width: 300px;
        height: 300px;
        overflow: visible
    }

    .orbital-ring {
        width: 220px;
        height: 220px
    }

    .o-card {
        width: 175px;
        font-size: .8125rem;
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100vw - 2rem)
    }

    .contact-wrapper {
        padding: 2.5rem 1.25rem
    }

    .contact-phones {
        flex-direction: column;
        align-items: center
    }

    .phone-badge {
        width: 100%;
        justify-content: center
    }

    footer {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
        padding: 1.5rem
    }

    .footer-social,
    .footer-legal {
        justify-content: center
    }
}

@media (max-width:480px) {
    nav {
        padding: .875rem 1rem
    }

    h1 {
        font-size: clamp(1.9rem, 9vw, 2.6rem)
    }

    .section-title {
        font-size: 1.6rem
    }

    .stat-num {
        font-size: 1.5rem
    }

    .stats {
        flex-direction: column
    }

    .stat {
        flex: unset;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-right: none;
        border-left: none;
        border-top: none
    }

    .stat:first-child {
        border-top: .5px solid var(--border)
    }

    .orbital-wrap {
        width: 260px;
        height: 260px
    }

    .orbital-ring {
        width: 190px;
        height: 190px
    }

    .o-card {
        width: 155px
    }

    .project-thumb {
        height: 160px
    }

    .process-item {
        padding: 1.25rem;
        gap: 1rem
    }

    .price-num {
        font-size: 2rem
    }
}

.nstat-num,
.stat-num {
    font-variant-numeric: tabular-nums;
    transition: color .3s
}

.nstat-num.counting,
.stat-num.counting {
    color: var(--accent2)
}

@keyframes countPop {
    0% {
        transform: scale(1)
    }

    40% {
        transform: scale(1.18);
        color: #fff
    }

    100% {
        transform: scale(1)
    }
}

.nstat-num.pop,
.stat-num.pop {
    animation: countPop .45s cubic-bezier(.4, 0, .2, 1) forwards
}

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

    *,
    ::after,
    ::before {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}
