

:root {
    --bg-main: #050816;
    --bg-elevated: #0b1020;
    --bg-soft: #111827;
    --accent: #6366f1;
    --accent-soft: rgba(99, 102, 241, 0.16);
    --accent-strong: #4f46e5;
    --accent-grad: linear-gradient(135deg, #6366f1, #22d3ee);
    --accent-grad-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.08));
    --text-main: #f9fafb;
    --text-soft: #9ca3af;
    --text-muted: #6b7280;
    --border-subtle: rgba(148, 163, 184, 0.24);
    --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.75);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 999px;
    --transition-fast: 180ms ease-out;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #111827 0, #020617 42%, #020617 100%);
    color: var(--text-main);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

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

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

/* Layout base */

.page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

@media (min-width: 1280px) {
    .page-wrap {
        max-width: 1280px;
    }
}

/* Navegación */

header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.7), transparent);
}

.nav-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background-image: conic-gradient(from 160deg, #4f46e5, #0ea5e9, #22c55e, #f97316, #4f46e5);
    position: relative;
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.45),
        0 10px 30px rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 11px;
    background: radial-gradient(circle at 20% 0%, rgba(248, 250, 252, 0.24), transparent 55%),
                radial-gradient(circle at 80% 100%, rgba(15, 23, 42, 0.96), #020617);
}

.logo-inner-orbit {
    position: absolute;
    inset: 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 0 18px rgba(15, 23, 42, 0.9);
}

.logo-pixel {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: var(--accent-grad);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.45),
        0 0 16px rgba(56, 189, 248, 0.85);
    transform: translate(-50%, -50%);
    top: 26%;
    left: 36%;
}

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

.logo-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.17em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text-soft);
    position: relative;
    padding-bottom: 0.15rem;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-grad);
    transition: width var(--transition-fast);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.btn-outline {
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), transparent 52%);
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--text-main);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
    transform: translateY(-1px);
}

.btn-primary {
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-full);
    border: none;
    background-image: var(--accent-grad);
    color: #f9fafb;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.45),
        0 18px 45px rgba(30, 64, 175, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.9),
        0 22px 60px rgba(30, 64, 175, 0.98);
}

.btn-primary:active {
    transform: translateY(0);
    filter: brightness(0.97);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.9),
        0 10px 32px rgba(15, 23, 42, 0.9);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.3), rgba(15, 23, 42, 0.96));
    cursor: pointer;
    padding: 0;
}

.nav-toggle-line {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    position: relative;
    transition: background 160ms ease-out;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: transform 180ms ease-out, top 180ms ease-out, bottom 180ms ease-out, opacity 160ms ease-out;
}

.nav-toggle-line::before {
    top: -5px;
}

.nav-toggle-line::after {
    bottom: -5px;
}

.nav-toggle.open .nav-toggle-line {
    background: transparent;
}

.nav-toggle.open .nav-toggle-line::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.open .nav-toggle-line::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-menu-mobile {
    display: none;
    padding: 0 1.5rem 1.25rem;
}

.nav-menu-mobile-inner {
    border-radius: 18px;
    border: 1px solid rgba(75, 85, 99, 0.65);
    background: radial-gradient(circle at top center, rgba(30, 64, 175, 0.32), rgba(15, 23, 42, 0.97));
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.92);
    padding: 0.75rem 1rem 0.9rem;
}

.nav-menu-mobile a {
    display: block;
    padding: 0.55rem 0.2rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    border-radius: 999px;
}

.nav-menu-mobile a span {
    opacity: 0.9;
}

.nav-menu-mobile a:hover {
    color: var(--text-main);
    background: rgba(30, 64, 175, 0.42);
}

.nav-menu-mobile-actions {
    margin-top: 0.45rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(75, 85, 99, 0.8);
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.nav-menu-mobile-actions button {
    flex: 1 1 auto;
    width: 100%;
}

@media (min-width: 900px) {
    .nav-shell {
        padding-inline: 2rem;
        padding-block: 0.85rem;
    }

    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: flex;
    }

    .nav-toggle,
    .nav-menu-mobile {
        display: none;
    }

    header {
        background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
        box-shadow: 0 14px 40px rgba(15, 23, 42, 0.88);
        border-bottom: 1px solid rgba(30, 64, 175, 0.6);
    }
}

/* Hero */

main {
    margin-top: 1.2rem;
}

.hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding-top: 0.75rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.22rem 0.75rem 0.22rem 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.35), rgba(15, 23, 42, 0.96));
    color: var(--text-soft);
    font-size: 0.75rem;
    width: fit-content;
    margin-bottom: 0.85rem;
}

.hero-tag-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(248, 250, 252, 0.2), rgba(15, 23, 42, 0.98));
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.75);
}

.hero-tag-pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-grad);
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.55rem;
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

.hero-title span {
    background-image: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-soft);
    max-width: 34rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.hero-subtitle strong {
    color: #e5e7eb;
    font-weight: 500;
}

.hero-usp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
}

.hero-usp-pill {
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.9);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9ca3af;
    background: radial-gradient(circle at 0 0, rgba(55, 65, 81, 0.85), rgba(15, 23, 42, 0.96));
}

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

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-soft);
    cursor: pointer;
}

.hero-secondary-link span {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 0.18rem;
}

.hero-secondary-link-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.hero-meta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-meta-item strong {
    display: block;
    color: #e5e7eb;
    font-size: 0.9rem;
    margin-bottom: 0.12rem;
}

.hero-meta-item span {
    font-size: 0.8rem;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.1rem;
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.24), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(55, 65, 81, 0.8);
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.hero-visual-blur-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.55), transparent 65%);
    top: -20%;
    right: -30%;
    filter: blur(2px);
    opacity: 0.6;
}

.hero-visual-blur-circle.secondary {
    top: auto;
    bottom: -22%;
    right: auto;
    left: -20%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.6), transparent 65%);
    opacity: 0.65;
}

.hero-dashboard {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.9), rgba(17, 24, 39, 0.98));
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
    padding: 0.85rem 0.85rem 0.8rem;
}

.hero-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.hero-dashboard-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-dashboard-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(22, 163, 74, 0.95);
}

.hero-dashboard-title {
    font-size: 0.78rem;
    color: #e5e7eb;
}

.hero-dashboard-env {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-dashboard-env span {
    color: #4ade80;
}

.hero-dashboard-tabs {
    display: inline-flex;
    padding: 0.16rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(31, 41, 55, 0.9);
}

.hero-dashboard-tab {
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.hero-dashboard-tab.active {
    background: var(--accent-grad-soft);
    color: #e5e7eb;
}

.hero-dashboard-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 0.8rem;
}

.hero-console {
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 0.55rem 0.6rem 0.6rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.72rem;
    color: #e5e7eb;
    overflow: hidden;
}

.hero-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.hero-console-dots {
    display: flex;
    gap: 0.25rem;
}

.hero-console-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4b5563;
}

.hero-console-dot.red {
    background: #f97373;
}

.hero-console-dot.amber {
    background: #fbbf24;
}

.hero-console-dot.green {
    background: #22c55e;
}

.hero-console-title {
    color: var(--text-muted);
}

.hero-console-line {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.12rem;
}

.hero-console-prefix {
    color: #4ade80;
}

.hero-console-content span.method {
    color: #60a5fa;
}

.hero-console-content span.url {
    color: #a5b4fc;
}

.hero-console-content span.status {
    color: #22c55e;
}

.hero-console-fade {
    position: relative;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px dashed rgba(55, 65, 81, 0.9);
    color: var(--text-muted);
}

.hero-console-fade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.95));
    pointer-events: none;
}

.hero-console-fade small {
    position: relative;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.metric-card {
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(37, 99, 235, 0.85);
    padding: 0.55rem 0.6rem 0.5rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.metric-label {
    font-size: 0.72rem;
    color: #cbd5f5;
    margin-bottom: 0.2rem;
}

.metric-value {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.metric-chip {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    color: #a5b4fc;
}

.metric-chart {
    margin-top: 0.4rem;
    height: 32px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(56, 189, 248, 0.25));
    position: relative;
    overflow: hidden;
}

.metric-chart-line {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.5) 1px, transparent 1px);
    background-size: 10px 100%;
    opacity: 0.5;
}

.metric-chart-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 70%, rgba(59, 130, 246, 0.7), transparent 55%),
                radial-gradient(circle at 70% 0%, rgba(52, 211, 153, 0.6), transparent 55%),
                radial-gradient(circle at 120% 60%, rgba(56, 189, 248, 0.7), transparent 55%);
    mix-blend-mode: screen;
}

.hero-client-badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.95rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: radial-gradient(circle at 0 50%, rgba(15, 23, 42, 0.98), rgba(31, 41, 55, 0.97));
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e5e7eb;
}

.hero-client-badge-pill {
    padding: 0.08rem 0.55rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
    font-size: 0.68rem;
}

.hero-client-badge span {
    color: var(--text-soft);
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        gap: 2.7rem;
        padding-top: 2.4rem;
    }

    .hero-meta {
        margin-top: 1.9rem;
        gap: 2.2rem;
    }
}

/* Secciones genéricas */

section {
    margin-top: 3.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.section-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.section-title {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    margin: 0;
}

.section-title span {
    color: #c7d2fe;
}

.section-description {
    font-size: 0.9rem;
    color: var(--text-soft);
    max-width: 26rem;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Servicios */

.services-grid {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 780px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.32), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.service-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.24), rgba(30, 64, 175, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.service-title {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.service-copy {
    font-size: 0.86rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.73rem;
}

.service-tag {
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: #9ca3af;
}

/* Tecnologías */

.stack-card {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 0.95rem;
}

.stack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.stack-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.stack-chip {
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--text-muted);
}

.stack-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.7rem;
}

.stack-group {
    border-radius: 12px;
    background: linear-gradient(to bottom right, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(37, 99, 235, 0.78);
    padding: 0.5rem 0.6rem 0.6rem;
}

.stack-group-label {
    font-size: 0.8rem;
    color: #e5e7eb;
    margin-bottom: 0.25rem;
}

.stack-group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.74rem;
    color: #c7d2fe;
}

.stack-group-tags span {
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

/* Proyectos */

.projects-grid {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 880px) {
    .projects-grid {
        grid-template-columns: 1.4fr 1fr;
    }
}

.project-main {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.8);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.project-main-header {
    padding: 0.9rem 1rem 0.6rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.project-main-title {
    font-size: 0.96rem;
}

.project-main-kicker {
    font-size: 0.75rem;
    color: #c7d2fe;
}

.project-main-meta {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 0.25rem;
}

.project-main-badge {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.9);
    background: rgba(15, 23, 42, 0.95);
    font-size: 0.7rem;
    color: #c7d2fe;
}

.project-main-body {
    padding: 0 1rem 0.8rem;
    font-size: 0.86rem;
    color: var(--text-soft);
}

.project-main-tags {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
}

.project-main-tags span {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(55, 65, 81, 0.85);
}

.project-main-footer {
    padding: 0.75rem 1rem 0.75rem;
    border-top: 1px solid rgba(55, 65, 81, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.project-main-footer span strong {
    color: #e5e7eb;
}

.project-main-link {
    font-size: 0.8rem;
    color: #c7d2fe;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-main-link svg {
    width: 14px;
    height: 14px;
}

.project-list {
    display: grid;
    gap: 0.8rem;
}

.project-card {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 0.75rem 0.8rem;
    font-size: 0.84rem;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.project-card-title {
    font-weight: 500;
}

.project-card-chip {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: var(--text-muted);
}

.project-card-copy {
    color: var(--text-soft);
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #9ca3af;
}

.project-card-tags span {
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 0.15rem 0.5rem;
}

/* Proceso */

.process-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 820px) {
    .process-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }
}

.process-timeline {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.3), rgba(15, 23, 42, 0.98));
    padding: 0.9rem 0.95rem 0.85rem;
}

.process-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    position: relative;
}

.process-row + .process-row {
    margin-top: 0.8rem;
}

.process-marker {
    margin-top: 0.3rem;
    position: relative;
}

.process-marker-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 2px solid rgba(129, 140, 248, 0.9);
    background: #020617;
    box-shadow: 0 0 18px rgba(129, 140, 248, 0.9);
}

.process-marker-line {
    position: absolute;
    top: 9px;
    bottom: -0.9rem;
    left: 3px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(75, 85, 99, 0.9), transparent);
}

.process-content-title {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.process-content-copy {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 0.25rem;
}

.process-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.72rem;
}

.process-badges span {
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    color: #a5b4fc;
}

.process-side-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30, 64, 175, 0.9);
    background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.5), rgba(15, 23, 42, 0.98));
    padding: 0.9rem 0.95rem;
    box-shadow: var(--shadow-soft);
}

.process-side-title {
    font-size: 0.96rem;
    margin-bottom: 0.25rem;
}

.process-side-copy {
    font-size: 0.86rem;
    color: #e5e7eb;
    margin-bottom: 0.55rem;
}

.process-side-list {
    font-size: 0.78rem;
    color: #e5e7eb;
    list-style: none;
    padding-left: 0;
    margin: 0 0 0.5rem;
}

.process-side-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.process-side-list-indicator {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #bbf7d0;
}

.process-side-footer {
    font-size: 0.76rem;
    color: #e5e7eb;
    opacity: 0.9;
}

/* CTA / Contacto */

.cta-section {
    margin-top: 3.2rem;
}

.cta-card {
    border-radius: 26px;
    background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.6), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.85);
    padding: 1.4rem 1.2rem 1.3rem;
    display: grid;
    gap: 1.2rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.96);
}

@media (min-width: 860px) {
    .cta-card {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
        padding-inline: 1.7rem;
        align-items: center;
    }
}

.cta-title {
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.cta-copy {
    font-size: 0.9rem;
    color: #e5e7eb;
    max-width: 28rem;
    margin-bottom: 0.7rem;
}

.cta-highlight {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.cta-highlight-pill {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(129, 140, 248, 0.9);
    font-size: 0.72rem;
}

.cta-meta {
    font-size: 0.78rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.cta-meta span {
    font-weight: 500;
    color: #bfdbfe;
}

.contact-form {
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.98);
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
    padding: 0.85rem 0.9rem 0.9rem;
}

.contact-form-grid {
    display: grid;
    gap: 0.55rem;
}

@media (min-width: 620px) {
    .contact-form-grid.two-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field-label {
    display: block;
    font-size: 0.75rem;
    color: #e5e7eb;
    margin-bottom: 0.2rem;
}

.field-label span {
    color: #9ca3af;
    font-weight: 400;
}

.field-input,
.field-textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background-color: rgba(15, 23, 42, 0.96);
    color: #f9fafb;
    font-size: 0.8rem;
    padding: 0.45rem 0.55rem;
    outline: none;
    transition: border-color 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}

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

.field-input::placeholder,
.field-textarea::placeholder {
    color: #6b7280;
}

.field-input:focus,
.field-textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.85);
    background-color: rgba(15, 23, 42, 0.98);
}

.contact-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    gap: 0.8rem;
}

.contact-form-note {
    font-size: 0.7rem;
    color: #9ca3af;
}

.contact-form-note strong {
    color: #e5e7eb;
}

.btn-primary.sm {
    padding-inline: 1.1rem;
    padding-block: 0.45rem;
    font-size: 0.76rem;
}

/* Footer */

footer {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(31, 41, 55, 0.95);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 1));
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.footer-link {
    color: var(--text-soft);
}

.footer-link:hover {
    color: #e5e7eb;
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #4b5563;
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Utilidades */

.max-w-narrow {
    max-width: 42rem;
}

.hidden {
    display: none !important;
}

/* Micro interacciones */

html {
    scroll-padding-top: 80px;
}

.btn-scroll {
    scroll-behavior: smooth;
}

@media (max-width: 720px) {
    .page-wrap {
        padding: 0 1rem 3rem;
    }

    main {
        margin-top: 0.6rem;
    }

    header .nav-shell {
        padding-inline: 1rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    section {
        margin-top: 2.2rem;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero-visual {
        margin-top: 0.4rem;
    }
}

@media (max-width: 480px) {
    .nav-shell {
        gap: 0.6rem;
    }

    .logo-title {
        font-size: 0.82rem;
    }

    .logo-subtitle {
        font-size: 0.64rem;
    }

    .hero-tag span {
        font-size: 0.7rem;
    }

    .hero-kicker {
        font-size: 0.75rem;
    }

    .hero-usp-pill {
        font-size: 0.7rem;
    }

    .cta-card {
        border-radius: 20px;
        padding-inline: 1rem;
    }

    .contact-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-note {
        font-size: 0.68rem;
    }

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