:root{
    --bg:#070A0F;
    --fg:#ffffff;
    --muted:rgba(255,255,255,.72);
    --muted2:rgba(255,255,255,.55);
    --border:rgba(255,255,255,.12);
    --btn:rgba(255,255,255,.06);
    --btnHover:rgba(255,255,255,.09);
    --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    background: var(--bg);
    color:#fff;
    position:relative;
}

body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    background: var(--bg);
    color:#fff;
    position: relative;
}

/* ✅ BACKGROUND ANTIGUO (igual al que te gustaba) */
body::before{
    content:"";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 15% 15%, rgba(255,255,255,0.06), transparent 60%),
        radial-gradient(700px 400px at 85% 25%, rgba(255,255,255,0.05), transparent 65%),
        var(--bg);
    will-change: transform;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}

.container{
    width:min(1100px, calc(100% - 48px));
    margin:0 auto;
}

/* NAV */
.nav{
    position:sticky;
    top:0;
    z-index:50;
    background:transparent;
    border-bottom:1px solid transparent;
    backdrop-filter:none;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav.nav--scrolled{
    background: rgba(7,10,15,.62);
    backdrop-filter: blur(10px);
    border-bottom:1px solid rgba(255,255,255,.12);
}
.navInner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 0;
    gap:14px;
}
.brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-weight:650;
    letter-spacing:-.02em;
    font-size:16px;
}
.brandMark{
    width:22px;
    height:22px;
    display:block;
    object-fit:contain;
    opacity:1;
}

.navLinks{
    display:flex;
    align-items:center;
    gap:26px;
    color: rgba(255,255,255,.82);
    font-size:14px;
    letter-spacing:-.01em;
}
.navLinks a{opacity:.9}
.navLinks a:hover{opacity:1}
@media (max-width:900px){
    .navLinks{display:none}
}

/* HERO */
.hero{
    padding:110px 0 64px;
    position:relative;
}
.heroCenter{
    text-align:center;
    max-width: 920px;
    margin:0 auto;
}
.kicker{
    color:var(--muted);
    font-size:14px;
    letter-spacing:.06em;
    text-transform:uppercase;
}
h1{
    margin:14px 0 14px;
    font-size: clamp(42px, 6vw, 66px);
    line-height:1.02;
    letter-spacing:-.05em;
    font-weight:750;
}
.lead{
    margin:0 auto;
    max-width: 70ch;
    color:var(--muted);
    font-size:17px;
    line-height:1.75;
}

/* CTAs */
.ctaRow{
    margin-top:22px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
}
.btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border:1px solid var(--border);
    background:var(--btn);
    border-radius:12px;
    font-weight:650;
    letter-spacing:-.01em;
}
.btn:hover{background:var(--btnHover)}
.btnGhost{background:transparent}
.btnSmall{padding:10px 12px; border-radius:12px; font-size:14px}

/* Cards bajo el hero (pro, alineado izq) */
.grid2{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:26px;
    margin-top:34px;
    align-items:stretch;
}
@media (max-width:900px){
    .hero{padding:72px 0 46px}
    .grid2{grid-template-columns:1fr}
}

.card{
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    border-radius:16px;
    padding:16px;
    height:100%;
    text-align:left;
    box-shadow:none;
}

.cardTitle{
    margin:0 0 10px;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted2);
}
.p{margin:0; color:var(--muted); line-height:1.75; text-align:left}

.markSquare{
    width:22px; height:22px;
    border-radius:7px;
    background:#fff;
    display:inline-block;
    flex:0 0 auto;
}

/* SECTIONS */
.section{
    padding:54px 0;
    border-top:1px solid rgba(255,255,255,.12);
}
.h2{
    margin:0 0 10px;
    font-size:22px;
    letter-spacing:-.02em;
    font-weight:750;
}

/* SERVICES */
.services{
    margin-top:18px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
}
@media (max-width:900px){
    .services{grid-template-columns:1fr}
}
.service{
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    border-radius:16px;
    padding:16px;
}
.serviceTop{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    margin-bottom:10px;
    gap:10px;
}
.serviceNum{
    font-size:12px;
    color:var(--muted2);
    letter-spacing:.1em;
}
.serviceName{
    font-weight:750;
    letter-spacing:-.02em;
    white-space:nowrap;
}

/* WORK */
.workList{display:grid; gap:12px; margin-top:18px;}
.workItem{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    border-radius:16px;
    padding:16px;
}
.workLeft{display:grid; gap:6px}
.workName{
    font-weight:750;
    letter-spacing:-.02em;
    display:flex;
    align-items:center;
    gap:10px;
}
.workDesc{color:var(--muted); font-size:14px; line-height:1.55}
.arrow{opacity:.8; font-size:18px}

/* MANIFESTO */
.manifesto{
    font-size:18px;
    line-height:1.75;
    letter-spacing:-.01em;
    color: rgba(255,255,255,.86);
    max-width:68ch;
}

/* FOOTER */
footer{
    padding:34px 0 54px;
    border-top:1px solid rgba(255,255,255,.12);
    color:var(--muted);
    font-size:14px;
}
.footerRow{
    display:flex;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    align-items:flex-start;
}
.sep{width:1px;height:12px;background:rgba(255,255,255,.12);display:inline-block}
.smallLinks{display:inline-flex; gap:14px; flex-wrap:wrap}

.navLinks a{
    position:relative;
    padding:6px 0;
}
.navLinks a::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:-6px;
    height:1px;
    background: rgba(255,255,255,.22);
    transform: scaleX(0);
    transform-origin:left;
    transition: transform .2s ease;
}
.navLinks a:hover::after{
    transform: scaleX(1);
}