/* ============================================================
   CÃ³digo Fuente â€” Sistema de diseÃ±o Dark Premium
   ============================================================ */

:root {
    --bg: #080D14;
    --bg-2: #0B1726;
    --surface: #0E1B2A;
    --surface-2: #101F31;
    --surface-3: #13253A;
    --blue: #1479D4;
    --blue-soft: rgba(20, 121, 212, .16);
    --teal: #16C7B2;
    --teal-soft: rgba(22, 199, 178, .14);
    --text: #F5F8FC;
    --muted: #9AA9BA;
    --muted-2: #6F8094;
    --border: #233448;
    --border-soft: rgba(35, 52, 72, .6);
    --danger: #FF6B7A;
    --warning: #F3B44B;
    --success: #35D07F;
    --gradient: linear-gradient(120deg, var(--blue), var(--teal));
    --gradient-text: linear-gradient(100deg, #56B4FF 0%, #16C7B2 100%);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
    --shadow-glow: 0 0 0 1px rgba(22, 199, 178, .18), 0 24px 60px -30px rgba(20, 121, 212, .6);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --container: 1200px;
    --header-height: 78px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --ease: cubic-bezier(.22, .68, .38, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p {
    margin: 0 0 1.1em;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 1.2em;
    padding-left: 1.2em;
}

::selection {
    background: rgba(22, 199, 178, .3);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 18px;
    background: var(--teal);
    color: #04121A;
    font-weight: 600;
    border-radius: 8px;
    transition: top .2s;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
    white-space: nowrap;
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--gradient);
    color: #04121A;
    box-shadow: 0 12px 30px -12px rgba(20, 121, 212, .8);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -14px rgba(22, 199, 178, .7);
}

.btn--ghost {
    border-color: var(--border);
    background: rgba(14, 27, 42, .5);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: rgba(22, 199, 178, .55);
    background: rgba(22, 199, 178, .08);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: rgba(20, 121, 212, .5);
    color: #8FCBFF;
    background: rgba(20, 121, 212, .07);
}

.btn--outline:hover {
    border-color: var(--blue);
    background: rgba(20, 121, 212, .15);
}

.btn--sm {
    padding: 11px 18px;
    font-size: .86rem;
}

.btn--lg {
    padding: 17px 30px;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 600;
    font-size: .9rem;
}

.link-arrow .icon {
    width: 17px;
    height: 17px;
    transition: transform .25s var(--ease);
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, backdrop-filter .3s, height .3s;
}

.site-header.is-scrolled {
    height: 68px;
    background: rgba(8, 13, 20, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--border-soft);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand__mark {
    width: 46px;
    height: 46px;
    transition: transform .4s var(--ease);
}

.brand:hover .brand__mark {
    transform: rotate(-6deg) scale(1.04);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: -.02em;
}

.brand__name span {
    color: var(--teal);
}

.brand__tag {
    font-size: .58rem;
    letter-spacing: .28em;
    color: var(--muted-2);
    margin-top: 3px;
    text-transform: uppercase;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s, background .2s;
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, .04);
}

.nav__link.is-active {
    color: var(--teal);
}

.nav__link .icon {
    width: 15px;
    height: 15px;
    transition: transform .25s;
}

.nav__item.is-open > .nav__link .icon {
    transform: rotate(180deg);
}

.nav__item {
    position: relative;
}

.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 620px;
    transform: translate(-50%, 8px);
    padding: 18px;
    background: rgba(11, 23, 38, .97);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s, transform .22s, visibility .22s;
}

.mega::before {
    content: "";
    position: absolute;
    inset: -20px 0 auto;
    height: 20px;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega,
.nav__item.is-open .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mega__item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    transition: background .2s;
}

.mega__item:hover {
    background: rgba(22, 199, 178, .07);
}

.mega__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--teal);
}

.mega__icon .icon {
    width: 19px;
    height: 19px;
}

.mega__title {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    color: var(--text);
}

.mega__desc {
    display: block;
    font-size: .75rem;
    line-height: 1.4;
    color: var(--muted-2);
    margin-top: 2px;
}

.mega__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 12px 12px 0;
    border-top: 1px solid var(--border-soft);
    font-size: .8rem;
    color: var(--muted);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: "";
    position: absolute;
    left: 11px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .2s;
}

.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }

.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 64px) 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(35, 52, 72, .55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 52, 72, .55) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
    opacity: .45;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
}

.hero__glow--blue {
    width: 620px;
    height: 620px;
    top: -160px;
    right: -60px;
    background: radial-gradient(circle, rgba(20, 121, 212, .65), transparent 68%);
}

.hero__glow--teal {
    width: 520px;
    height: 520px;
    bottom: -220px;
    left: -140px;
    background: radial-gradient(circle, rgba(22, 199, 178, .4), transparent 68%);
}

#particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .7;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 14px;
    border: 1px solid rgba(22, 199, 178, .28);
    border-radius: 999px;
    background: rgba(22, 199, 178, .06);
    color: #8FE8DC;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(22, 199, 178, .16);
    animation: pulse 2.4s infinite;
}

.hero h1 {
    margin-bottom: 22px;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.hero__lead {
    max-width: 540px;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: var(--muted);
    margin-bottom: 30px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .86rem;
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__points .icon {
    width: 17px;
    height: 17px;
    color: var(--teal);
}

/* Visual del hero */
.hero__visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.visual-stack {
    position: relative;
    width: 100%;
    max-width: 470px;
    transform-style: preserve-3d;
}

.visual-stack::before {
    content: "";
    position: absolute;
    inset: 12% 4%;
    background: var(--gradient);
    filter: blur(70px);
    opacity: .22;
    border-radius: 40%;
    z-index: -1;
}

.code-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(16, 31, 49, .96), rgba(9, 18, 30, .96));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform .5s var(--ease);
}

.hero__visual:hover .code-card {
    transform: rotateY(-3deg) rotateX(2deg) translateY(-4px);
}

.code-card__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(8, 13, 20, .55);
}

.code-card__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2A3E55;
}

.code-card__dot:nth-child(1) { background: #FF6B6B; }
.code-card__dot:nth-child(2) { background: #F3B44B; }
.code-card__dot:nth-child(3) { background: #35D07F; }

.code-card__name {
    margin-left: auto;
    font-family: 'Space Grotesk', monospace;
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--muted-2);
}

.code-card pre {
    margin: 0;
    padding: 22px 22px 10px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: .78rem;
    line-height: 1.85;
    color: #B9CADB;
    overflow-x: auto;
}

.code-key { color: #7FB8FF; }
.code-fn { color: #16C7B2; }
.code-str { color: #F3B44B; }
.code-com { color: #5A6E84; }
.code-var { color: #C792EA; }

.code-card__terminal {
    margin: 8px 22px 22px;
    padding: 12px 14px;
    border: 1px solid rgba(22, 199, 178, .25);
    border-radius: 10px;
    background: rgba(22, 199, 178, .06);
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: .72rem;
    color: #8FE8DC;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-card__terminal::before {
    content: "â€º";
    color: var(--teal);
    font-weight: 700;
}

.code-card__caret {
    width: 7px;
    height: 13px;
    background: var(--teal);
    animation: blink 1.1s steps(2) infinite;
}

.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(11, 23, 38, .94);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8);
    font-size: .76rem;
    font-weight: 600;
    color: var(--text);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.float-badge .icon {
    width: 17px;
    height: 17px;
    color: var(--teal);
}

.float-badge--1 {
    top: 2%;
    left: -8%;
    animation-delay: -1s;
}

.float-badge--2 {
    right: -6%;
    top: 38%;
    animation-delay: -3s;
}

.float-badge--3 {
    bottom: 4%;
    left: 4%;
    animation-delay: -4.5s;
}

.float-badge small {
    display: block;
    font-size: .62rem;
    font-weight: 500;
    color: var(--muted-2);
    letter-spacing: .02em;
}

.orbit {
    position: absolute;
    inset: -8% -4%;
    border: 1px dashed rgba(35, 52, 72, .8);
    border-radius: 50%;
    z-index: -1;
    animation: spin 40s linear infinite;
}

.orbit::after {
    content: "";
    position: absolute;
    top: 12%;
    right: 8%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 16px var(--teal);
}

/* ---------- Secciones ---------- */
.section {
    position: relative;
    padding: 100px 0;
}

.section--tight {
    padding: 70px 0;
}

.section--alt {
    background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent);
}

.section--bordered {
    border-top: 1px solid var(--border-soft);
}

.section-head {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head .eyebrow {
    margin-bottom: 18px;
}

.section-head h2 {
    margin-bottom: 16px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.02rem;
}

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
}

.section-head--split > div {
    max-width: 640px;
}

.section-head--split .btn {
    flex: none;
    margin-bottom: 8px;
}

/* ---------- Grids ---------- */
.grid {
    display: grid;
    gap: 22px;
}

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

/* ---------- Tarjetas de servicio ---------- */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .85), rgba(10, 20, 33, .9));
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 160px at 20% 0%, rgba(20, 121, 212, .16), transparent 70%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 199, 178, .4);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(20, 121, 212, .22), rgba(22, 199, 178, .14));
    border: 1px solid rgba(22, 199, 178, .2);
    color: var(--teal);
}

.service-card__icon .icon {
    width: 24px;
    height: 24px;
}

.service-card__num {
    font-family: var(--font-display);
    font-size: .74rem;
    letter-spacing: .12em;
    color: var(--muted-2);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
}

.service-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.service-card p {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 20px;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.chip-list li {
    padding: 4px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, .02);
    font-size: .7rem;
    color: var(--muted);
}

.service-card__link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding-top: 0;
    color: var(--teal);
    font-size: .82rem;
    font-weight: 600;
}

.service-card__link .icon {
    width: 15px;
    height: 15px;
    transition: transform .25s;
}

.service-card:hover .service-card__link .icon {
    transform: translateX(3px);
}

/* ---------- Bento beneficios ---------- */
.bento {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.bento__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .8), rgba(10, 20, 33, .92));
    overflow: hidden;
}

.bento__item--lg {
    grid-row: span 2;
    justify-content: space-between;
    background: linear-gradient(150deg, rgba(20, 121, 212, .24), rgba(11, 23, 38, .9) 55%);
}

.bento__item--wide {
    grid-column: span 2;
}

.bento__item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.bento__item p {
    color: var(--muted);
    font-size: .86rem;
    margin: 0;
}

.bento__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(22, 199, 178, .1);
    color: var(--teal);
}

.bento__number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bento__item::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 199, 178, .12), transparent 70%);
    pointer-events: none;
}

/* ---------- EstadÃ­sticas ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(16, 31, 49, .9), rgba(10, 20, 33, .9));
}

.stat {
    padding: 4px 24px;
    border-left: 1px solid var(--border-soft);
}

.stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1;
    letter-spacing: -.03em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.4;
}

/* ---------- Proceso ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.process__step {
    position: relative;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}

.process__step::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(22, 199, 178, .12);
}

.process__step::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 18px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(22, 199, 178, .5), transparent);
}

.process__num {
    display: block;
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .1em;
    color: var(--teal);
    margin-bottom: 10px;
}

.process__step h3 {
    font-size: 1rem;
    margin-bottom: 7px;
}

.process__step p {
    color: var(--muted);
    font-size: .82rem;
    margin: 0;
}

/* ---------- Marquee tecnologÃ­as ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    gap: 14px;
    animation: marquee 38s linear infinite;
}

.marquee--reverse .marquee__track {
    animation-direction: reverse;
    animation-duration: 46s;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(16, 31, 49, .7);
    color: var(--muted);
    font-size: .8rem;
    white-space: nowrap;
}

.tech-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: .75;
}

/* ---------- Proyectos ---------- */
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .82), rgba(10, 20, 33, .94));
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 121, 212, .45);
    box-shadow: var(--shadow-glow);
}

.project-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

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

.project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 13, 20, .55));
}

.project-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 199, 178, .1);
    border: 1px solid rgba(22, 199, 178, .22);
    color: #8FE8DC;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.badge--blue {
    background: rgba(20, 121, 212, .12);
    border-color: rgba(20, 121, 212, .3);
    color: #8FCBFF;
}

.badge--warning {
    background: rgba(243, 180, 75, .1);
    border-color: rgba(243, 180, 75, .3);
    color: #F3C77B;
}

.badge--muted {
    background: rgba(154, 169, 186, .08);
    border-color: var(--border);
    color: var(--muted);
}

.project-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .72rem;
    color: var(--muted-2);
}

.project-card h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.project-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.project-card__excerpt {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 20px;
}

.project-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}

.metric strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--teal);
    line-height: 1;
}

.metric span {
    display: block;
    margin-top: 4px;
    font-size: .68rem;
    color: var(--muted-2);
}

/* ---------- Productos ---------- */
.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .82), rgba(10, 20, 33, .94));
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 199, 178, .35);
    box-shadow: var(--shadow-glow);
}

.product-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-2);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.product-card:hover .product-card__media img {
    transform: scale(1.04);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    padding: 22px;
}

.product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.product-card h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
}

.product-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-card__summary {
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 16px;
}

.product-card__price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.product-card__price strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
}

.product-card__price small {
    display: block;
    margin-top: 2px;
    font-size: .68rem;
    color: var(--muted-2);
}

.product-card__price .link-arrow {
    position: relative;
    z-index: 2;
    font-size: .78rem;
}

.product-feature-list {
    display: grid;
    gap: 9px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: .86rem;
}

.product-feature-list .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--teal);
}

/* ---------- Filtros ---------- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
}

.filter-tab {
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(16, 31, 49, .6);
    color: var(--muted);
    font-size: .82rem;
    cursor: pointer;
    transition: all .25s;
}

.filter-tab:hover {
    border-color: rgba(22, 199, 178, .4);
    color: var(--text);
}

.filter-tab.is-active {
    background: rgba(22, 199, 178, .12);
    border-color: rgba(22, 199, 178, .45);
    color: #8FE8DC;
}

.filter-target[hidden] {
    display: none !important;
}

/* ---------- Ofertas ---------- */
.offer-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(140deg, rgba(20, 121, 212, .2), rgba(11, 23, 38, .94) 55%);
    overflow: hidden;
}

.offer-card__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.offer-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 72%, rgba(22, 199, 178, .3), transparent 48%),
        radial-gradient(circle at 74% 22%, rgba(20, 121, 212, .38), transparent 52%);
    pointer-events: none;
}

.offer-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.offer-card h3 {
    margin: 14px 0 10px;
    font-size: 1.5rem;
}

.offer-card p {
    color: var(--muted);
    font-size: .9rem;
}

.offer-card__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.offer-card__validity {
    font-size: .72rem;
    color: var(--muted-2);
}

/* ---------- Clientes ---------- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 96px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(16, 31, 49, .5);
    text-align: center;
    transition: border-color .3s, background .3s;
}

.client-logo:hover {
    border-color: rgba(22, 199, 178, .35);
    background: rgba(22, 199, 178, .05);
}

.client-logo img {
    max-height: 42px;
    width: auto;
    opacity: .85;
}

.client-logo strong {
    font-family: var(--font-display);
    font-size: .92rem;
    color: var(--text);
}

.client-logo span {
    font-size: .64rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---------- CTA ---------- */
.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: 32px;
    padding: 52px;
    border: 1px solid rgba(22, 199, 178, .25);
    border-radius: calc(var(--radius) + 6px);
    background:
        radial-gradient(600px 240px at 12% 0%, rgba(20, 121, 212, .28), transparent 70%),
        radial-gradient(500px 240px at 90% 100%, rgba(22, 199, 178, .2), transparent 70%),
        linear-gradient(140deg, rgba(16, 31, 49, .96), rgba(9, 18, 30, .96));
    overflow: hidden;
}

.cta-band h2 {
    margin-bottom: 12px;
}

.cta-band p {
    color: var(--muted);
    margin: 0;
}

.cta-band__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- Formularios ---------- */
.form-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .9), rgba(9, 18, 30, .94));
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
}

.field label span {
    color: var(--teal);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(8, 13, 20, .55);
    color: var(--text);
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA9BA' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #5D7085;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(22, 199, 178, .65);
    box-shadow: 0 0 0 4px rgba(22, 199, 178, .1);
    background: rgba(8, 13, 20, .8);
}

.field__error {
    font-size: .74rem;
    color: var(--danger);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex: none;
}

.checkbox a {
    color: var(--teal);
    text-decoration: underline;
}

.form-note {
    margin-top: 14px;
    font-size: .72rem;
    color: var(--muted-2);
}

/* ---------- Alertas ---------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(16, 31, 49, .8);
    font-size: .86rem;
    margin-bottom: 22px;
}

.alert .icon {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 2px;
}

.alert--success {
    border-color: rgba(53, 208, 127, .35);
    background: rgba(53, 208, 127, .08);
    color: #9EF0C4;
}

.alert--error {
    border-color: rgba(255, 107, 122, .35);
    background: rgba(255, 107, 122, .08);
    color: #FFB3BB;
}

.alert--info {
    border-color: rgba(20, 121, 212, .35);
    background: rgba(20, 121, 212, .08);
    color: #A9D5FF;
}

/* ---------- Contacto ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(16, 31, 49, .45);
}

.contact-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 11px;
    background: rgba(22, 199, 178, .1);
    color: var(--teal);
}

.contact-item__icon .icon {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-size: .84rem;
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    color: var(--muted);
    font-size: .84rem;
}

.contact-item a:hover {
    color: var(--teal);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    padding: 72px 0 0;
    border-top: 1px solid var(--border-soft);
    background: linear-gradient(180deg, var(--bg), var(--bg-2));
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    width: 800px;
    height: 360px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(20, 121, 212, .12), transparent 70%);
    pointer-events: none;
}

.footer__top {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer__brand p {
    max-width: 320px;
    margin: 18px 0 22px;
    color: var(--muted);
    font-size: .86rem;
}

.footer__social {
    display: flex;
    gap: 9px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    transition: all .25s;
}

.footer__social a:hover {
    color: var(--teal);
    border-color: rgba(22, 199, 178, .45);
    background: rgba(22, 199, 178, .06);
    transform: translateY(-2px);
}

.footer__social .icon {
    width: 17px;
    height: 17px;
}

.footer__col h4 {
    margin-bottom: 16px;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer__col a,
.footer__col span {
    color: var(--muted);
    font-size: .85rem;
    transition: color .2s;
}

.footer__col a:hover {
    color: var(--teal);
}

.footer__contact li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.footer__contact .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--teal);
    flex: none;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--border-soft);
    color: var(--muted-2);
    font-size: .76rem;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer__legal a:hover {
    color: var(--teal);
}

/* ---------- PÃ¡gina interior ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + 70px) 0 64px;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(700px 300px at 15% 0%, rgba(20, 121, 212, .2), transparent 70%),
        radial-gradient(500px 260px at 90% 40%, rgba(22, 199, 178, .12), transparent 70%),
        var(--bg);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(35, 52, 72, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 52, 72, .35) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000, transparent 70%);
    opacity: .4;
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: .76rem;
    color: var(--muted-2);
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs a:hover {
    color: var(--teal);
}

.breadcrumbs span {
    color: var(--muted-2);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* ---------- Prosa ---------- */
.prose {
    color: #C3D0DE;
    font-size: .98rem;
    line-height: 1.8;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2em 0 .6em;
    font-size: 1.7rem;
    color: var(--text);
}

.prose h3 {
    margin: 1.6em 0 .5em;
    color: var(--text);
}

.prose p {
    margin-bottom: 1.15em;
}

.prose .lead {
    font-size: 1.12rem;
    color: var(--text);
    line-height: 1.7;
}

.prose ul,
.prose ol {
    margin-bottom: 1.3em;
}

.prose li {
    margin-bottom: .45em;
}

.prose a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--teal);
    background: rgba(22, 199, 178, .06);
    border-radius: 0 10px 10px 0;
    color: var(--text);
}

.prose img {
    border-radius: 14px;
    margin: 1.4em 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: .88rem;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.prose th {
    background: rgba(16, 31, 49, .8);
    color: var(--text);
}

.prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(20, 121, 212, .14);
    color: #8FCBFF;
    font-size: .88em;
}

/* ---------- Servicio detalle ---------- */
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(16, 31, 49, .9), rgba(9, 18, 30, .94));
}

.sidebar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.sidebar-card p {
    color: var(--muted);
    font-size: .83rem;
    margin-bottom: 18px;
}

.sidebar-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: .82rem;
    transition: all .2s;
}

.sidebar-list a:hover {
    background: rgba(255, 255, 255, .03);
    color: var(--text);
}

.sidebar-list a.is-active {
    background: rgba(22, 199, 178, .1);
    color: var(--teal);
}

.sidebar-list .icon {
    width: 14px;
    height: 14px;
    opacity: .5;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0;
}

.feature-item {
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: rgba(16, 31, 49, .45);
}

.feature-item__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.feature-item__head .icon {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex: none;
}

.feature-item h3 {
    margin: 0;
    font-size: .94rem;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 30px;
    padding: 0;
    list-style: none;
}

.tech-list li {
    padding: 6px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(20, 121, 212, .08);
    color: #A9D5FF;
    font-size: .76rem;
}

.deliverables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: .86rem;
}

.deliverables .icon {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--teal);
    flex: none;
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.faq__item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(16, 31, 49, .45);
    overflow: hidden;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 17px 20px;
    border: 0;
    background: none;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq__question .icon {
    width: 18px;
    height: 18px;
    color: var(--teal);
    transition: transform .3s;
    flex: none;
}

.faq__item.is-open .faq__question .icon {
    transform: rotate(45deg);
}

.faq__answer {
    display: none;
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: .86rem;
}

.faq__item.is-open .faq__answer {
    display: block;
}

/* ---------- Producto detalle ---------- */
.product-hero {
    padding: calc(var(--header-height) + 48px) 0 70px;
}

.product-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 26px;
}

.product-hero__media {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2);
}

.product-hero__media img {
    width: 100%;
    height: auto;
}

.product-hero__info .eyebrow {
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 22px 0 10px;
}

.product-price strong {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -.02em;
}

.product-price span {
    color: var(--muted);
    font-size: .84rem;
}

.product-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.product-meta-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--border-soft);
    list-style: none;
}

.product-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .84rem;
}

.product-meta-list .icon {
    width: 17px;
    height: 17px;
    color: var(--teal);
}

/* ---------- Proyecto detalle ---------- */
.project-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 0;
}

.project-hero__cover {
    position: relative;
    margin-top: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: var(--surface-2);
}

.project-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 24px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    margin: 34px 0;
}

.project-meta div {
    min-width: 140px;
}

.project-meta dt {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 4px;
}

.project-meta dd {
    margin: 0;
    font-size: .88rem;
    color: var(--text);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.result-card {
    padding: 24px;
    border: 1px solid rgba(22, 199, 178, .2);
    border-radius: 14px;
    background: rgba(22, 199, 178, .05);
    text-align: center;
}

.result-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -.03em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-card span {
    display: block;
    margin-top: 6px;
    font-size: .78rem;
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 30px 0;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* ---------- Soluciones ---------- */
.solutions-section {
    padding-top: 70px;
}

.solutions-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.solutions-section__head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.solutions-section__head span {
    color: var(--muted-2);
    font-size: .78rem;
}

/* ---------- PÃ¡gina 404 ---------- */
.error-page {
    display: flex;
    align-items: center;
    min-height: 86vh;
    padding: calc(var(--header-height) + 40px) 0 60px;
}

.error-page__inner {
    max-width: 620px;
    text-align: center;
    margin: 0 auto;
}

.error-page__code {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.error-page p {
    color: var(--muted);
    margin-bottom: 26px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(11, 23, 38, .97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--teal);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex: none;
}

/* ---------- Animaciones ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(22, 199, 178, .16); }
    50% { box-shadow: 0 0 0 8px rgba(22, 199, 178, .05); }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .header__actions .btn--ghost {
        display: none;
    }
}

@media (max-width: 1100px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 56px);
    }

    .hero__visual {
        min-height: 440px;
        max-width: 520px;
        margin: 0 auto;
    }

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

    .bento__item--lg {
        grid-row: span 1;
        grid-column: span 2;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 34px;
    }

    .footer__top {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar > * {
        flex: 1 1 280px;
    }
}

@media (max-width: 1200px) {
    :root {
        --header-height: 70px;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        padding: 24px;
        background: rgba(8, 13, 20, .98);
        backdrop-filter: blur(18px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 12px;
        font-size: 1rem;
    }

    .nav__item {
        width: 100%;
    }

    .mega {
        position: static;
        width: 100%;
        transform: none;
        padding: 8px 0 8px 8px;
        border: 0;
        background: transparent;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

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

    .nav__item.is-open .mega {
        display: block;
    }

    .mega__footer {
        display: none;
    }

    .header__actions .btn--ghost {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-open .site-header {
        background: var(--bg);
        border-bottom-color: var(--border-soft);
    }

    .hero__visual {
        min-height: 400px;
    }

    .section {
        padding: 76px 0;
    }

    .section-head--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .offer-card {
        grid-template-columns: 1fr;
    }

    .offer-card__media {
        aspect-ratio: 16 / 8;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cta-band {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .cta-band__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

@media (max-width: 720px) {
    .container {
        padding: 0 18px;
    }

    .brand__tag {
        display: none;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

    .bento__item--lg,
    .bento__item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }

    .stat {
        padding: 4px 14px;
    }

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

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

    .hero__visual {
        min-height: 370px;
    }

    .float-badge--1 { left: -2%; }
    .float-badge--2 { right: -2%; }

    .code-card pre {
        font-size: .68rem;
        padding: 18px 16px 8px;
    }

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

    .feature-grid,
    .deliverables {
        grid-template-columns: 1fr;
    }

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

    .project-meta {
        gap: 18px;
    }

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

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

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .cookie-banner__actions {
        justify-content: flex-end;
    }

    .page-hero {
        padding-top: calc(var(--header-height) + 48px);
    }

    .form-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .process {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn,
    .cta-band__actions .btn {
        width: 100%;
    }

    .offer-card__body {
        padding: 24px;
    }

    .section {
        padding: 62px 0;
    }
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }

    #particles {
        display: none;
    }
}

/* ============================================================
   Tema hï¿½brido Deep Tech ï¿½ capa de actualizaciï¿½n 2026
   ============================================================ */

:root {
    --ink-950: #061019;
    --ink-900: #0A1726;
    --ink-800: #102438;
    --light-bg: #F3F7FC;
    --light-surface: #FFFFFF;
    --light-surface-2: #EAF2FA;
    --light-border: #D6E3F0;
    --light-border-soft: #E3ECF5;
    --light-text: #0A1724;
    --light-muted: #53687D;
    --light-muted-2: #6B7F93;
    --lime: #B8FF4A;
    --lime-deep: #6FBF1F;
    --shadow-light: 0 24px 60px -30px rgba(16, 50, 84, .28);
}

body {
    background: var(--light-bg);
    color: var(--light-text);
}

/* Header: oscuro arriba, blanco al desplazar */
.site-header {
    background: rgba(6, 16, 25, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, .06);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: var(--light-border);
    box-shadow: 0 16px 40px -32px rgba(10, 30, 50, .35);
}

.site-header.is-scrolled .brand__name { color: var(--light-text); }
.site-header.is-scrolled .brand__tag { color: var(--light-muted-2); }
.site-header.is-scrolled .nav__link { color: var(--light-muted); }
.site-header.is-scrolled .nav__link:hover,
.site-header.is-scrolled .nav__link.is-active { color: var(--light-text); background: rgba(10, 23, 36, .05); }
.site-header.is-scrolled .nav__link.is-active { color: #0E7C72; }
.site-header.is-scrolled .btn--ghost { border-color: var(--light-border); color: var(--light-text); background: rgba(255,255,255,.7); }
.site-header.is-scrolled .nav-toggle { border-color: var(--light-border); background: #fff; }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle::before,
.site-header.is-scrolled .nav-toggle::after { background: var(--light-text); }

/* Mega menï¿½ claro */
.mega {
    background: rgba(255, 255, 255, .98);
    border-color: var(--light-border);
    box-shadow: 0 30px 80px -30px rgba(10, 35, 60, .4);
}
.mega__title { color: var(--light-text); }
.mega__desc { color: var(--light-muted-2); }
.mega__item:hover { background: rgba(22, 199, 178, .08); }
.mega__icon { background: rgba(20, 121, 212, .09); }
.mega__footer { border-top-color: var(--light-border); color: var(--light-muted); }

/* Page hero claro */
.page-hero {
    background:
        radial-gradient(700px 340px at 12% 0%, rgba(20, 121, 212, .14), transparent 70%),
        radial-gradient(520px 300px at 88% 30%, rgba(22, 199, 178, .12), transparent 70%),
        linear-gradient(180deg, #F8FBFF 0%, var(--light-bg) 100%);
    border-bottom-color: var(--light-border);
    color: var(--light-text);
    --text: var(--light-text);
    --muted: var(--light-muted);
    --muted-2: var(--light-muted-2);
    --border: var(--light-border);
    --border-soft: var(--light-border-soft);
}
.page-hero::after {
    background-image:
        linear-gradient(rgba(20, 61, 100, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 61, 100, .08) 1px, transparent 1px);
    opacity: .55;
}
.page-hero h1 { color: var(--light-text); }
.page-hero p { color: var(--light-muted); }
.page-hero .breadcrumbs { color: var(--light-muted-2); }
.page-hero .breadcrumbs a { color: var(--light-muted); }
.page-hero .breadcrumbs a:hover { color: #0E7C72; }
.page-hero .eyebrow {
    background: rgba(22, 199, 178, .09);
    border-color: rgba(22, 199, 178, .28);
    color: #0E7C72;
}
.page-hero .btn--ghost {
    background: #fff;
    border-color: var(--light-border);
    color: var(--light-text);
}
.page-hero .btn--ghost:hover { border-color: rgba(22, 199, 178, .5); background: #F4FCFA; }

/* Secciones claras: todas las .section que no sean --alt */
.section:not(.section--alt) {
    --text: var(--light-text);
    --muted: var(--light-muted);
    --muted-2: var(--light-muted-2);
    --border: var(--light-border);
    --border-soft: var(--light-border-soft);
    --surface: var(--light-surface);
    --surface-2: var(--light-surface-2);
    --surface-3: #EDF4FB;
    background: var(--light-bg);
    color: var(--light-text);
}
.section:not(.section--alt) .section-head p { color: var(--light-muted); }
.section:not(.section--alt) .eyebrow {
    background: rgba(22, 199, 178, .09);
    border-color: rgba(22, 199, 178, .28);
    color: #0E7C72;
}
.section:not(.section--alt) .eyebrow__dot { background: #0E9E8F; }
.section:not(.section--alt) .text-muted { color: var(--light-muted); }
.section:not(.section--alt) .link-arrow { color: #0E7C72; }

.section:not(.section--alt) .service-card,
.section:not(.section--alt) .project-card,
.section:not(.section--alt) .product-card,
.section:not(.section--alt) .bento__item,
.section:not(.section--alt) .sidebar-card,
.section:not(.section--alt) .form-card,
.section:not(.section--alt) .support-card,
.section:not(.section--alt) .pricing-card,
.section:not(.section--alt) .industry-card,
.section:not(.section--alt) .ticket-side__card,
.section:not(.section--alt) .ticket-thread,
.section:not(.section--alt) .support-form__section,
.section:not(.section--alt) .support-login-card,
.section:not(.section--alt) .contact-item,
.section:not(.section--alt) .feature-item,
.section:not(.section--alt) .faq__item {
    background: var(--light-surface);
    border-color: var(--light-border);
    box-shadow: var(--shadow-light);
    color: var(--light-text);
}
.section:not(.section--alt) .service-card::before { background: radial-gradient(420px 160px at 20% 0%, rgba(20, 121, 212, .09), transparent 70%); }
.section:not(.section--alt) .service-card:hover,
.section:not(.section--alt) .project-card:hover,
.section:not(.section--alt) .product-card:hover { border-color: rgba(20, 121, 212, .35); box-shadow: 0 28px 70px -32px rgba(20, 80, 140, .42); }
.section:not(.section--alt) .service-card p,
.section:not(.section--alt) .project-card__excerpt,
.section:not(.section--alt) .product-card__summary,
.section:not(.section--alt) .bento__item p { color: var(--light-muted); }
.section:not(.section--alt) .chip-list li { background: #F6FAFE; border-color: var(--light-border); color: var(--light-muted); }
.section:not(.section--alt) .project-card__metrics { border-top-color: var(--light-border-soft); }
.section:not(.section--alt) .metric span { color: var(--light-muted-2); }
.section:not(.section--alt) .product-card__price { border-top-color: var(--light-border-soft); }
.section:not(.section--alt) .product-card__price strong { color: var(--light-text); }
.section:not(.section--alt) .product-card__price small { color: var(--light-muted-2); }
.section:not(.section--alt) .stats { background: #fff; border-color: var(--light-border); box-shadow: var(--shadow-light); }
.section:not(.section--alt) .stat { border-left-color: var(--light-border); }
.section:not(.section--alt) .stat span { color: var(--light-muted); }
.section:not(.section--alt) .process__step { border-top-color: var(--light-border); }
.section:not(.section--alt) .process__step p { color: var(--light-muted); }
.section:not(.section--alt) .process__step::after { background: linear-gradient(90deg, rgba(20, 121, 212, .35), transparent); }
.section:not(.section--alt) .filter-tab { background: #fff; border-color: var(--light-border); color: var(--light-muted); }
.section:not(.section--alt) .filter-tab:hover { color: var(--light-text); border-color: rgba(20, 121, 212, .35); }
.section:not(.section--alt) .filter-tab.is-active { background: rgba(22, 199, 178, .1); border-color: rgba(22, 199, 178, .4); color: #0E7C72; }
.section:not(.section--alt) .client-logo { background: #fff; border-color: var(--light-border); }
.section:not(.section--alt) .client-logo:hover { background: #F7FCFB; border-color: rgba(22, 199, 178, .4); }
.section:not(.section--alt) .client-logo strong { color: var(--light-text); }
.section:not(.section--alt) .client-logo span { color: var(--light-muted-2); }
.section:not(.section--alt) .btn--ghost { background: #fff; border-color: var(--light-border); color: var(--light-text); }
.section:not(.section--alt) .btn--ghost:hover { border-color: rgba(22, 199, 178, .5); background: #F4FCFA; }
.section:not(.section--alt) .tech-list li { background: rgba(20, 121, 212, .06); border-color: var(--light-border); color: #1D5E97; }
.section:not(.section--alt) .deliverables li { color: var(--light-muted); }
.section:not(.section--alt) .feature-item__head h3 { color: var(--light-text); }
.section:not(.section--alt) .feature-item p { color: var(--light-muted); }
.section:not(.section--alt) .faq__question { color: var(--light-text); }
.section:not(.section--alt) .faq__answer { color: var(--light-muted); }
.section:not(.section--alt) .sidebar-card h3 { color: var(--light-text); }
.section:not(.section--alt) .sidebar-card p { color: var(--light-muted); }
.section:not(.section--alt) .sidebar-list a { color: var(--light-muted); }
.section:not(.section--alt) .sidebar-list a:hover { background: #F3F8FD; color: var(--light-text); }
.section:not(.section--alt) .sidebar-list a.is-active { background: rgba(22, 199, 178, .1); color: #0E7C72; }
.section:not(.section--alt) .contact-item strong { color: var(--light-text); }
.section:not(.section--alt) .contact-item a,
.section:not(.section--alt) .contact-item span { color: var(--light-muted); }
.section:not(.section--alt) .field label { color: var(--light-text); }
.section:not(.section--alt) .field input,
.section:not(.section--alt) .field select,
.section:not(.section--alt) .field textarea {
    background: #F8FBFF;
    border-color: var(--light-border);
    color: var(--light-text);
}
.section:not(.section--alt) .field input::placeholder,
.section:not(.section--alt) .field textarea::placeholder { color: #8194A8; }
.section:not(.section--alt) .checkbox { color: var(--light-muted); }
.section:not(.section--alt) .checkbox a { color: #0E7C72; }
.section:not(.section--alt) .form-note { color: var(--light-muted-2); }

/* Prosa en claro */
.section:not(.section--alt) .prose { color: #33475B; }
.section:not(.section--alt) .prose h2,
.section:not(.section--alt) .prose h3 { color: var(--light-text); }
.section:not(.section--alt) .prose .lead { color: var(--light-text); }
.section:not(.section--alt) .prose a { color: #0E7C72; }
.section:not(.section--alt) .prose blockquote { background: rgba(22, 199, 178, .07); color: var(--light-text); }
.section:not(.section--alt) .prose th { background: #EFF6FC; color: var(--light-text); }
.section:not(.section--alt) .prose td,
.section:not(.section--alt) .prose th { border-color: var(--light-border); }
.section:not(.section--alt) .prose code { background: rgba(20, 121, 212, .1); color: #135E9E; }

/* Resultados y proyecto */
.section:not(.section--alt) .result-card { background: rgba(22, 199, 178, .06); border-color: rgba(22, 199, 178, .22); }
.section:not(.section--alt) .result-card span { color: var(--light-muted); }
.section:not(.section--alt) .project-meta { border-color: var(--light-border); }
.section:not(.section--alt) .project-meta dt { color: var(--light-muted-2); }
.section:not(.section--alt) .project-meta dd { color: var(--light-text); }
.section:not(.section--alt) .gallery-grid img { border-color: var(--light-border); }

/* Pï¿½gina de proyecto */
.project-hero {
    background: linear-gradient(180deg, #F8FBFF 0%, var(--light-bg) 100%);
    color: var(--light-text);
}
.project-hero h1 { color: var(--light-text); }
.project-hero .text-muted { color: var(--light-muted); }
.project-hero .breadcrumbs a { color: var(--light-muted); }
.project-hero .breadcrumbs span { color: var(--light-muted-2); }

/* Producto */
.product-hero {
    background: linear-gradient(180deg, #F8FBFF 0%, var(--light-bg) 100%);
    color: var(--light-text);
}
.product-hero .breadcrumbs a { color: var(--light-muted); }
.product-hero .breadcrumbs span { color: var(--light-muted-2); }
.product-hero .text-muted { color: var(--light-muted); }
.product-hero__media { border-color: var(--light-border); box-shadow: var(--shadow-light); }
.product-meta-list { border-top-color: var(--light-border); }
.product-meta-list li { color: var(--light-muted); }
.product-price strong { color: var(--light-text); }
.product-price span { color: var(--light-muted); }

/* Industrias */
.industry-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.industry-nav__item {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 13px; border: 1px solid var(--light-border); border-radius: 999px;
    background: #fff; color: var(--light-muted); font-size: .76rem; font-weight: 500;
    transition: all .25s var(--ease);
}
.industry-nav__item .icon { width: 15px; height: 15px; color: #0E9E8F; }
.industry-nav__item:hover { border-color: rgba(22, 199, 178, .45); color: var(--light-text); transform: translateY(-1px); }
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.industry-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-card {
    padding: 26px; border: 1px solid var(--light-border); border-radius: 22px;
    background: #fff; box-shadow: var(--shadow-light); scroll-margin-top: calc(var(--header-height) + 24px);
}
.industry-card__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.industry-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(140deg, rgba(20, 121, 212, .12), rgba(22, 199, 178, .14));
    border: 1px solid rgba(22, 199, 178, .2); color: #0E7C72;
}
.industry-card__icon .icon { width: 23px; height: 23px; }
.industry-card__num { font-family: var(--font-display); font-size: .72rem; color: #8BA0B3; }
.industry-card h2, .industry-card h3 { margin-bottom: 8px; color: var(--light-text); }
.industry-card h2 { font-size: 1.4rem; }
.industry-card h3 { font-size: 1.06rem; }
.industry-card__summary { color: var(--light-muted); font-size: .86rem; }
.industry-card__block { margin: 18px 0 14px; padding: 14px 16px; border-radius: 12px; background: #F6FAFE; border: 1px solid var(--light-border-soft); }
.industry-card__block strong { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #0E7C72; margin-bottom: 4px; }
.industry-card__block p { margin: 0; color: var(--light-muted); font-size: .8rem; }
.industry-card .chip-list { margin-bottom: 16px; }
.industry-card__result { display: flex; gap: 9px; padding: 12px 0; border-top: 1px solid var(--light-border-soft); border-bottom: 1px solid var(--light-border-soft); }
.industry-card__result .icon { width: 17px; height: 17px; color: #0E9E8F; flex: none; margin-top: 2px; }
.industry-card__result p { margin: 0; color: var(--light-muted); font-size: .8rem; }
.industry-card__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.industry-card--compact .industry-card__icon { width: 42px; height: 42px; margin-bottom: 14px; }
.industry-card--compact { display: flex; flex-direction: column; }
.industry-card--compact p { color: var(--light-muted); font-size: .82rem; flex: 1; }

/* Pricing */
.pricing-block { margin: 42px 0 10px; }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.pricing-head h2 { margin-bottom: 6px; font-size: 1.55rem; }
.pricing-head p { margin: 0; color: var(--light-muted); font-size: .86rem; max-width: 620px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pricing-card {
    display: flex; flex-direction: column; padding: 22px;
    border: 1px solid var(--light-border); border-radius: 18px; background: #fff;
    box-shadow: var(--shadow-light); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(20, 121, 212, .35); box-shadow: 0 28px 60px -30px rgba(20, 80, 140, .38); }
.pricing-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pricing-card__top h3 { margin: 0; font-size: 1rem; }
.pricing-card__desc { color: var(--light-muted); font-size: .8rem; margin-bottom: 14px; }
.pricing-card__price { margin-bottom: 8px; }
.pricing-card__price strong { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--light-text); }
.pricing-card__price span { display: block; color: var(--light-muted-2); font-size: .7rem; margin-top: 2px; }
.pricing-card__meta { display: flex; align-items: center; gap: 6px; color: var(--light-muted); font-size: .76rem; margin-bottom: 14px; }
.pricing-card__meta .icon { width: 15px; height: 15px; color: #0E9E8F; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 7px; color: var(--light-muted); font-size: .78rem; }
.pricing-card__features .icon { width: 14px; height: 14px; margin-top: 2px; color: #0E9E8F; flex: none; }
.pricing-card__note { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--light-border-soft); color: var(--light-muted-2); font-size: .7rem; }
.pricing-card__cta { margin-top: 14px; }
.pricing-disclaimer { display: flex; gap: 9px; margin-top: 18px; padding: 12px 15px; border: 1px solid var(--light-border); border-radius: 10px; background: #F8FBFF; color: var(--light-muted); font-size: .72rem; line-height: 1.6; }
.pricing-disclaimer .icon { width: 16px; height: 16px; color: #0E9E8F; flex: none; margin-top: 2px; }

/* Animaciones globales */
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
main { animation: pageIn .55s var(--ease) both; }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="zoom"] { transform: scale(.96); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="zoom"].is-visible { transform: none; }
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1300;
    background: linear-gradient(90deg, var(--blue), var(--teal), var(--lime));
    transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.process__step::before { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.process.is-drawn .process__step::before { transform: scale(1.15); box-shadow: 0 0 0 9px rgba(22,199,178,.12); }
.project-hero__cover img, .product-hero__media img { transition: transform .8s var(--ease); }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none;
}
.btn--primary:hover::after { transform: translateX(120%); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fadeOut .22s ease both; }
::view-transition-new(root) { animation: fadeIn .32s ease both; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* Responsive nuevo */
@media (max-width: 1080px) {
    .industry-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .industry-grid, .industry-grid--home, .pricing-grid { grid-template-columns: 1fr; }
    .pricing-head { align-items: flex-start; }
}

.hero { background: var(--ink-950); color: var(--text); }
.product-hero .eyebrow,
.project-hero .eyebrow {
    background: rgba(22, 199, 178, .09);
    border-color: rgba(22, 199, 178, .28);
    color: #0E7C72;
}
.product-hero .eyebrow__dot,
.project-hero .eyebrow__dot { background: #0E9E8F; }
.product-hero .btn--ghost { background: #fff; border-color: var(--light-border); color: var(--light-text); }
.project-hero .btn--ghost { background: #fff; border-color: var(--light-border); color: var(--light-text); }
.hero + .section { position: relative; }

.section--alt {
    --text: #F5F8FC;
    --muted: #9AA9BA;
    --muted-2: #7D90A5;
    --border: #233448;
    --border-soft: rgba(35, 52, 72, .65);
    --surface: #0E1B2A;
    --surface-2: #101F31;
    color: var(--text);
}
.site-footer { color: #F5F8FC; }
.cta-band { color: #F5F8FC; --text: #F5F8FC; --muted: #9AA9BA; }

.site-header .brand__name { color: #F5F8FC; }
.site-header .brand__tag { color: #6F8094; }
.site-footer .brand__name { color: #F5F8FC; }
.site-footer .brand__tag { color: #6F8094; }
.header__actions .btn--ghost { display: none; }
.visual-stack { isolation: isolate; }
.visual-stack::before { z-index: 0; }
.code-card { position: relative; z-index: 1; }
.float-badge { z-index: 2; }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }

.pricing-card__sla { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(20,121,212,.07); border: 1px solid rgba(20,121,212,.18); color: #1D5E97; font-size: .68rem; font-weight: 600; }
.pricing-card__sla .icon { width: 13px; height: 13px; }

.visual-stack::before { display: none; }

.code-card { transform: none; }
.hero__visual:hover .code-card { transform: translateY(-4px); }

.code-card { background: linear-gradient(180deg, #0F2032 0%, #0A1522 100%); }

.project-hero .project-meta { border-top-color: var(--light-border); border-bottom-color: var(--light-border); }
.project-hero .project-meta dt { color: var(--light-muted-2); }
.project-hero .project-meta dd { color: var(--light-text); }
.project-hero__cover { border-color: var(--light-border); box-shadow: var(--shadow-light); }

.error-page { background: var(--light-bg); }
.error-page h1 { color: var(--light-text); }
.error-page p { color: var(--light-muted); }

.section:not(.section--alt) .offer-card { background: linear-gradient(140deg, rgba(20,121,212,.08), #FFFFFF 55%); border-color: var(--light-border); box-shadow: var(--shadow-light); }
.section:not(.section--alt) .offer-card h3 { color: var(--light-text); }
.section:not(.section--alt) .offer-card p { color: var(--light-muted); }
.section:not(.section--alt) .offer-card__validity { color: var(--light-muted-2); }

.code-card { background: #0C1928; }

/* Carrusel de tecnologías */
.tech-carousel { --tech-visible: 4; --tech-gap: 14px; position: relative; padding-bottom: 6px; }
.tech-carousel__viewport { overflow: hidden; }
.tech-carousel__track { display: flex; gap: var(--tech-gap); transition: transform .6s var(--ease); will-change: transform; }
.tech-card {
    position: relative; flex: 0 0 calc((100% - (var(--tech-visible) - 1) * var(--tech-gap)) / var(--tech-visible));
    display: flex; align-items: center; gap: 12px; min-width: 0;
    padding: 16px; border: 1px solid var(--border); border-radius: 14px;
    background: linear-gradient(160deg, rgba(16, 31, 49, .9), rgba(9, 18, 30, .94));
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tech-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tech-accent) 55%, var(--border)); box-shadow: 0 20px 50px -28px var(--tech-accent); }
.tech-card__logo { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--tech-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tech-accent) 32%, transparent); color: var(--tech-accent); font-family: var(--font-display); font-weight: 700; font-size: .78rem; overflow: hidden; }
.tech-card__logo img { width: 28px; height: 28px; object-fit: contain; }
.tech-card__info { min-width: 0; }
.tech-card__info strong { display: block; font-size: .86rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tech-card__info span { display: block; font-size: .68rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tech-card__link { margin-left: auto; color: var(--muted-2); flex: none; }
.tech-card__link:hover { color: var(--tech-accent); }
.tech-card__link .icon { width: 15px; height: 15px; }
.tech-carousel__controls { position: absolute; top: -64px; right: 0; display: flex; gap: 6px; }
.tech-carousel__arrow { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: rgba(16,31,49,.75); color: var(--text); cursor: pointer; transition: all .25s; }
.tech-carousel__arrow:hover { border-color: rgba(22,199,178,.5); color: var(--teal); }
.tech-carousel__arrow:disabled { opacity: .35; cursor: not-allowed; }
.tech-carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.tech-carousel__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(154,169,186,.3); cursor: pointer; transition: all .25s; }
.tech-carousel__dot.is-active { width: 20px; border-radius: 99px; background: var(--teal); }
@media (max-width: 1200px) { .tech-carousel__controls { top: -58px; } }
@media (max-width: 720px) {
    .tech-carousel__controls { position: static; justify-content: flex-end; margin-bottom: 12px; }
    .tech-card { padding: 13px; }
}

.preview-bar { position: fixed; bottom: 18px; left: 18px; z-index: 1500; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid rgba(243, 180, 75, .45); border-radius: 999px; background: rgba(11, 23, 38, .96); color: #F3C77B; font-size: .76rem; box-shadow: 0 18px 40px -20px #000; }
.preview-bar .icon { width: 16px; height: 16px; }
.preview-bar a { color: #F5F8FC; text-decoration: underline; text-underline-offset: 3px; }
