/* ========================================
   RESET & VARIABLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
img {
    display: block;
    max-width: 100%;
}
:root {
    --bg: #060605;
    --bg2: #0E0E0C;
    --bg3: #161614;
    --text: #F0EFE8;
    --muted: #69695F;
    --a: #E9A000;
    --a2: #FF6835;
    --bdr: rgb(240 239 232 / 10%);
    --r: 14px;
    --fd: 'Plus Jakarta Sans', sans-serif;
    --fb: 'DM Sans', sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--fb);
    font-weight: 300;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: auto;
}

/* ========================================
   CURSOR PERSONALIZADO (SOLO HERO)
   ======================================== */
#cursor,
#cursor-dot {
    display: none;
}
.hero-cursor-active #cursor,
.hero-cursor-active #cursor-dot {
    display: block;
}
#cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--a);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width .3s, height .3s, border-color .3s, background .3s;
    transform: translate(-50%, -50%);
}
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--a);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
#cursor.hover {
    width: 56px;
    height: 56px;
    border-color: var(--a2);
    background: rgba(233, 160, 0, .15);
    mix-blend-mode: normal;
}
@media(max-width:768px) {
    #cursor,
    #cursor-dot {
        display: none !important;
    }
}

/* ========================================
   PROGRESS BAR
   ======================================== */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--a), var(--a2));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9998;
    pointer-events: none;
}

/* ========================================
   TIPOGRAFÍA & UTILIDADES
   ======================================== */
.gt {
    background: linear-gradient(110deg, #F0EFE8 5%, var(--a) 50%, var(--a2) 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ul {
    position: relative;
    text-decoration: none;
}
.ul::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to left, var(--a2), var(--a));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.ul:hover::after {
    transform: scaleX(1);
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--fb);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .1);
    transform: translateX(-101%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.btn:hover::before {
    transform: translateX(0);
}
.btn-fill {
    background: var(--a);
    color: #060605;
    padding: .9rem 2rem;
}
.btn-outline {
    border: 1px solid var(--bdr);
    color: var(--text);
    padding: .875rem 2rem;
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--a);
}
.btn-submit {
    background: var(--a);
    color: #060605;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-submit:hover {
    background: #c98600;
    transform: translateY(-2px);
}
button:hover {
    cursor: pointer;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */
.menu-toggle-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    height: 68px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
}
#nav.sc {
    background: rgb(6 6 5 / 40%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-color: var(--bdr);
}
.nav-in {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo img {
    height: 30px;
    width: auto;
}
footer .logo img {
    height: 40px;
    width: auto;
}
/* Desktop: nav-links posicionado sobre el nav */
.nav-links {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 801;
    height: 68px;
    max-width: 1380px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    list-style: none;
    pointer-events: none;
    clip-path: none;
    background: transparent;
    transition: none;
}
.nav-links a {
    text-decoration: none;
    color: #a4a4a4;
    font-size: .875rem;
    font-weight: 400;
    transition: color .2s;
    pointer-events: auto;
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links .nav-cta {
    background: var(--a);
    color: #060605;
    padding: .45rem 1.125rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: .875rem;
    font-family: inherit;
    letter-spacing: normal;
}

/* Hamburger */
.ham {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    position: relative;
    z-index: 900;
    padding: 0;
}
.ham span {
    display: block;
    background: var(--text);
    border-radius: 2px;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s, width .3s;
}
.ham span:nth-child(1) { width: 24px; height: 1.5px; }
.ham span:nth-child(2) { width: 16px; height: 1.5px; align-self: flex-end; margin-right: 4px; }
.ham span:nth-child(3) { width: 24px; height: 1.5px; }

/* Ham open state */
#menu-toggle:checked ~ #nav .ham span:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
#menu-toggle:checked ~ #nav .ham span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menu-toggle:checked ~ #nav .ham span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* menu-side */
.menu-side {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s .28s, transform .5s .28s cubic-bezier(.16, 1, .3, 1);
}
.menu-side-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}
.menu-side-loc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: .5rem;
}
.menu-side a {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: auto;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem 6rem;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
@property --spot-alpha { syntax: '<number>'; inherits: false; initial-value: 0.9; }
@property --spot-rx { syntax: '<length>'; inherits: false; initial-value: 120px; }
@property --spot-ry { syntax: '<length>'; inherits: false; initial-value: 120px; }
.hero-spot {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: --spot-alpha 0.5s ease, --spot-rx 0.35s cubic-bezier(.16,1,.3,1), --spot-ry 0.35s cubic-bezier(.16,1,.3,1);
    background: radial-gradient(ellipse var(--spot-rx) var(--spot-ry) at var(--mx, -500px) var(--my, -500px), rgb(0 0 0 / 4%) 0%, rgb(0 0 0 / 75%) 100%);
}
#hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: .85;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: .02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}
.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1920px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(233, 160, 0, .08);
    border: 1px solid rgba(233, 160, 0, .22);
    border-radius: 100px;
    padding: .4rem 1.125rem;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--a);
    margin-bottom: 2.5rem;
}
.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--a);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.7); }
}
.hero-h {
    font-family: var(--fd);
    font-size: clamp(2.75rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.04em;
    margin-bottom: 2rem;
}
.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text);
    max-width: 60ch;
    margin: 0 auto 3rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
}
.scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, var(--a), transparent);
    animation: sline 2.2s ease-in-out infinite;
}
@keyframes sline {
    0% { transform: scaleY(0); transform-origin: top; }
    49% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   MARQUEE
   ======================================== */
.mq-section {
    overflow: hidden;
    border-top: 1px solid var(--bdr);
    border-bottom: 1px solid var(--bdr);
    padding: 1.25rem 0;
    background: var(--bg2);
}
.mq-track {
    display: flex;
    width: max-content;
    animation: mq 22s linear infinite;
}
.mq-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 3rem;
    font-family: var(--fd);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.mq-dot {
    width: 4px;
    height: 4px;
    background: var(--a);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes mq {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================
   LAYOUT COMÚN
   ======================================== */
.wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
}
section {
    padding: 9rem 0;
}
.sec-label {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--a);
    margin-bottom: .875rem;
}
.t2xl {
    font-family: var(--fd);
    font-size: clamp(2.75rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}
.txl {
    font-family: var(--fd);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.025em;
}
.tlg {
    font-family: var(--fd);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

/* ========================================
   SERVICES
   ======================================== */
.svc-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.svc-bg-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .04;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(233,160,0,.3) 2px, rgba(233,160,0,.3) 4px);
    background-size: 4px 4px;
    animation: svcLines 20s linear infinite;
}
@keyframes svcLines {
    from { background-position: 0 0; }
    to { background-position: 0 100px; }
}
.svc-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}
.svc-sub {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 44ch;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.svc-card {
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(14px);
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease, border-color 0.5s, box-shadow 0.5s, filter 0.5s;
    cursor: default;
    transform-style: preserve-3d;
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(14 14 12 / 65%);
    z-index: -1;
}
.svc-card:hover {
    filter: grayscale(0);
    border-color: rgba(233,160,0,.15);
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.svc-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(233,160,0,.08);
    border: 1px solid rgba(233,160,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--a);
    margin-bottom: 1.75rem;
    transition: transform 0.5s, background 0.5s, box-shadow 0.5s;
    position: relative;
    z-index: 1;
}
.svc-card:hover .svc-card-icon {
    transform: rotate(8deg) scale(1.1);
    background: rgba(233,160,0,.18);
    box-shadow: 0 0 30px rgba(233,160,0,.25);
}
.svc-card-tag {
    font-family: var(--fd);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--a);
    opacity: .6;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
    transition: opacity .5s;
}
.svc-card:hover .svc-card-tag { opacity: 1; }
.svc-card-title {
    font-family: var(--fd);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
    color: var(--text);
}
.svc-card-desc {
    font-size: .9375rem;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}
.svc-card-line {
    width: 30px;
    height: 2px;
    background: var(--a);
    border-radius: 2px;
    position: relative;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.svc-card:hover .svc-card-line { transform: scaleX(1); }

/* ========================================
   PROCESS
   ======================================== */
.process-outer {
    background: var(--bg);
}
.process-intro {
    padding: 9rem 0 4rem;
    text-align: center;
    background: #060605;
    position: relative;
    z-index: 5;
}
.pcard {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pcard:nth-child(2) { background: #060605; z-index: 1; }
.pcard:nth-child(3) { background: #0A0A08; z-index: 2; }
.pcard:nth-child(4) { background: #0E0E0C; z-index: 3; }
.pcard:last-child { background: #121210; z-index: 4; }
.pcard-bg-img {
    position: absolute;
    inset: -15% 0;
    background-size: cover;
    background-position: center;
    transition: opacity .6s;
    opacity: 0.25;
    will-change: transform;
}
.process-outer > div:nth-of-type(2) .pcard-bg-img {
    -webkit-mask-image: linear-gradient(0deg, rgba(6, 6, 5, 1) 0%, rgba(6, 6, 5, 0) 90%, rgba(6, 6, 5, 0) 100%);
    mask-image: linear-gradient(0deg, rgba(6, 6, 5, 1) 0%, rgba(6, 6, 5, 0) 90%, rgba(6, 6, 5, 0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.pcard:first-child::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, transparent 0%, transparent 25%, #060605 85%);
    z-index: 1;
    pointer-events: none;
}
.pcard:first-child .pcard-inner { position: relative; z-index: 2; }
.pcard-num {
    font-family: var(--fd);
    font-size: clamp(10rem, 22vw, 22rem);
    font-weight: 800;
    letter-spacing: -.05em;
    color: rgb(240 239 232 / 9%);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}
.pcard-inner {
    position: relative;
    z-index: 2;
    max-width: 100%;
    text-align: center;
    padding: 2rem 3rem;
}
.pcard-step {
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--a);
    margin-bottom: 1.75rem;
}
.pcard-title {
    font-family: var(--fd);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -.035em;
    margin-bottom: 1.5rem;
}
.pcard-desc {
    font-size: 1.0625rem;
    color: var(--text);
    max-width: 46ch;
    margin: 0 auto;
    line-height: 1.72;
    font-weight: 500;
}
.pcard-line {
    width: 40px;
    height: 1px;
    background: var(--a);
    margin: 2.5rem auto 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.pcard.in-view .pcard-line { transform: scaleX(1); }

/* ========================================
   WORK (BENTO)
   ======================================== */
#work { background: var(--bg); }
.work-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    gap: 2rem;
}
.work-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    grid-auto-rows: minmax(420px, auto);
}
.work-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--bg2);
    border: 1px solid var(--bdr);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.4s, transform 0.4s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s;
    height: 100%;
}
.work-card--wide { grid-column: span 2; }
.work-card--tall { grid-row: span 2; }
.work-card--square { grid-column: span 1; }
.work-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    box-sizing: border-box;
}
.work-card--tall .work-card-inner { min-height: 860px; }
.work-card-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    border-radius: var(--r);
}
.work-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 6, 5, 0.95) 0%, rgba(6, 6, 5, 0.4) 60%, rgba(6, 6, 5, 0.1) 100%);
    z-index: 2;
    transition: opacity 0.5s;
}
.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7) contrast(1.15);
    transition: transform 0.8s cubic-bezier(.16, 1, .3, 1), filter 0.8s ease;
    transform: scale(1.05);
}
.work-card:hover {
    border-color: rgba(233, 160, 0, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}
.work-card:hover .work-card-img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.65) contrast(1.05);
}
.work-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(233, 160, 0, 0.08) 0%, transparent 80%);
}
.work-card:hover .work-card-glow { opacity: 1; }
.work-chip {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: rgba(6, 6, 5, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 3;
    backdrop-filter: blur(10px);
    transition: background 0.3s, border-color 0.3s;
}
.work-card:hover .work-chip {
    background: rgba(233, 160, 0, 0.9);
    border-color: rgba(233, 160, 0, 0.9);
    color: #060605;
}
.work-card-content {
    position: relative;
    z-index: 4;
    transform: translateY(125px);
    transition: transform 0.6s cubic-bezier(.16, 1, .3, 1);
    width: 100%;
}
.work-card:hover .work-card-content { transform: translateY(0); }
.work-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-family: var(--fd);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--a);
    font-weight: 700;
    text-transform: uppercase;
}
.work-card-num { opacity: 0.4; }
.work-card:hover .work-card-num { opacity: 0.8; }
.work-card-title {
    font-family: var(--fd);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.work-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.work-card:hover .work-card-desc { opacity: 0.8; }
.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #060605;
    background: var(--a);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.16, 1, .3, 1), background 0.3s;
}
.work-card:hover .work-card-link { opacity: 1; transform: translateY(0); }
.work-card-link:hover { background: #fff; }

/* ========================================
   TESTIMONIALS
   ======================================== */
#testi { background: var(--bg); overflow: hidden; }
.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 1rem;
}
.testi-left { display: flex; flex-direction: column; gap: .75rem; }
.testi-rating { display: flex; gap: 4px; }
.tsr {
    display: block;
    width: 27px; height: 27px;
    background-image: url('../img/svg/star-filled.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.tsr.tsr-h { background-image: url('../img/svg/star-middle-outline.svg'); }
.testi-arrows { display: flex; gap: .625rem; flex-shrink: 0; align-items: center; }
.tarr {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--bdr);
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .3s, background .3s, color .3s;
}
.tarr:hover { border-color: var(--a); background: rgba(233,160,0,.1); color: var(--a); }
.tscroll {
    overflow: hidden;
    margin-top: 2rem;
    scrollbar-width: none;
}
.tscroll::-webkit-scrollbar { display: none; }
.tscroll+.tscroll { margin-top: 1.5rem; }
.ttrack {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding: 0.5rem max(2rem, calc((100vw - 1380px)/2 + 2rem));
}
.tscroll-right .ttrack { animation: marqueeRight 45s linear infinite; }
.tscroll-left .ttrack { animation: marqueeLeft 45s linear infinite; }
.tscroll:hover .ttrack { animation-play-state: paused; }
@keyframes marqueeRight { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeLeft { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.tcard {
    width: 380px;
    flex-shrink: 0;
    background: var(--bg2);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 2.25rem;
    transition: border-color .3s, box-shadow .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.tcard:hover { border-color: rgba(233,160,0,.22); box-shadow: 0 24px 60px rgba(0,0,0,.4); transform: translateY(-6px); }
.t-stars { display: flex; gap: 3px; }
.tcard .t-stars { margin-top: .75rem; }
.ts {
    display: block;
    width: 14px; height: 14px;
    background-image: url('../img/svg/star-filled.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.ts.th { background-image: url('../img/svg/star-middle-outline.svg'); }
.ts.te { background-image: url('../img/svg/star-outline.svg'); }
.tq {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--text);
    font-weight: 300;
    font-style: italic;
    margin-top: 1.1rem;
}
.ta { display: flex; align-items: center; gap: .875rem; }
.tav {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--bdr);
    background: var(--bg3);
}
.tav img { width: 100%; height: 100%; object-fit: cover; }
.tn { font-family: var(--fd); font-weight: 600; font-size: .9375rem; letter-spacing: -.01em; }
.tr { font-size: .8125rem; color: var(--muted); margin-top: .1rem; }

/* ========================================
   STATS
   ======================================== */
#stats { position: relative; overflow: hidden; }
.stats-bg {
    position: absolute;
    top: -25%; left: 0;
    width: 100%; height: 150%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
#stats::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgb(6 6 5 / 0%) 0%, rgb(6 6 5 / 70%) 60%, rgb(6 6 5 / 90%) 100%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-card {
    padding: 2.5rem;
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    background: rgba(14,14,12,.6);
    backdrop-filter: blur(8px);
    transition: border-color .3s;
}
.stat-card:hover { border-color: rgba(233,160,0,.25); }
.stat-big {
    font-family: var(--fd);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--a);
    margin-bottom: .5rem;
}
.stat-label { font-size: .875rem; color: var(--muted); }

/* ========================================
   TECH
   ======================================== */
#tech { background: var(--bg); }
.tech-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
}
.tech-intro-sub {
    max-width: 36ch;
    font-size: .9375rem;
    color: var(--muted);
    line-height: 1.7;
    flex-shrink: 0;
}
.tech-modules {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1px;
    background: var(--bdr);
    border: 1px solid var(--bdr);
    border-radius: 18px;
    overflow: hidden;
}
.tmod {
    position: relative;
    background: var(--bg2);
    padding: 2.25rem 2.5rem 2.5rem;
    overflow: hidden;
    transition: background .4s ease;
}
.tmod:hover { background: var(--bg3); }
.tmod::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    transition: opacity .4s;
    opacity: .6;
}
.tmod:hover::before { opacity: 1; }
.tmod--dev::before  { background: var(--a); }
.tmod--sec::before  { background: #60A5FA; }
.tmod--perf::before { background: #FB923C; }
.tmod--seo::before  { background: #4ADE80; }
.tmod-bg-ico {
    position: absolute;
    bottom: -10px; right: -10px;
    width: 130px; height: 130px;
    opacity: .04;
    pointer-events: none;
    transition: opacity .4s, transform .5s cubic-bezier(.16,1,.3,1);
}
.tmod:hover .tmod-bg-ico { opacity: .07; transform: scale(1.08) rotate(-4deg); }
.tmod-bg-ico svg { width: 100%; height: 100%; }
.tmod-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.tmod-num {
    font-family: var(--fd);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--muted);
    line-height: 1;
}
.tmod-label {
    font-family: var(--fd);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .3s;
}
.tmod--dev  .tmod-label { color: var(--a); }
.tmod--sec  .tmod-label { color: #60A5FA; }
.tmod--perf .tmod-label { color: #FB923C; }
.tmod--seo  .tmod-label { color: #4ADE80; }
.tmod-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.5rem; max-width: 32ch; }
.tmod-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.tmc {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 6px;
    padding: .35rem .75rem;
    transition: border-color .3s, background .3s, color .3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 2px;
}
.tmod:hover .tmc { border-color: rgba(255,255,255,.12); }
.tmod--dev:hover  .tmc:hover { border-color: var(--a);    background: rgba(233,160,0,.08);  color: var(--a); }
.tmod--sec:hover  .tmc:hover { border-color: #60A5FA; background: rgba(96,165,250,.08);  color: #60A5FA; }
.tmod--perf:hover .tmc:hover { border-color: #FB923C; background: rgba(251,146,60,.08);  color: #FB923C; }
.tmod--seo:hover  .tmc:hover { border-color: #4ADE80; background: rgba(74,222,128,.08);  color: #4ADE80; }
.tmc i { margin-right: 0.1rem; font-size: 0.9rem; width: 1.2rem; text-align: center; }

/* ========================================
   ABOUT (HORIZONTAL SCROLL)
   ======================================== */
section#about { padding: 0; }
.abt-horizontal-section { background: var(--bg); position: relative; }
.abt-scroll-wrapper { overflow: hidden; }
.abt-scroll-container {
    display: flex;
    width: 400vw;
    height: 100vh;
    will-change: transform;
    overflow: hidden;
}
.abt-panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.abt-panel-content { position: relative; z-index: 2; width: 100%; }
.abt-panel--intro {
    background: radial-gradient(circle at 8% 10%, #150005 0%, transparent 70%), 
                radial-gradient(circle at 94% 85%, #eaa0002e 0%, transparent 35%, #000000 60%), 
                radial-gradient(circle at 15% 70%, rgb(233 160 0 / 13%) 0%, transparent 50%), 
                radial-gradient(circle at 85% 20%, rgba(233, 160, 0, 0.02) 0%, transparent 60%);
    background-blend-mode: screen, screen, screen, screen, normal;
}
.abt-panel--intro .abt-panel-bg { background: none; }
.abt-panel--intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(240 239 232 / 2%) 1px, transparent 1px), linear-gradient(90deg, rgb(240 239 232 / 2%) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}
.abt-huge-h {
    font-family: var(--fd);
    font-size: clamp(2.5rem, 5.5vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 1.5rem 0 3rem;
    max-width: 18ch;
}
.abt-decor-line {
    width: 80px; height: 2px;
    background: linear-gradient(to right, var(--a), var(--a2));
    border-radius: 2px;
    margin-bottom: 2rem;
}
.abt-subtext {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--muted);
    max-width: 42ch;
    line-height: 1.7;
}
.abt-scroll-cue {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: cue-bounce 2s ease-in-out infinite;
    z-index: 5;
}
@keyframes cue-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50%      { transform: translateX(-50%) translateY(-6px); opacity: 1; }
}
.abt-panel-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bdr);
}
.abt-panel-num {
    font-family: var(--fd);
    font-size: 5rem;
    font-weight: 900;
    color: var(--bdr);
    line-height: 1;
    letter-spacing: -0.04em;
}
.abt-panel-tag {
    font-family: var(--fd);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--a);
}
.abt-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.abt-panel-h {
    font-family: var(--fd);
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.abt-panel-p { font-size: 1.0625rem; color: var(--muted); line-height: 1.78; max-width: 48ch; }
.abt-panel--origen { background: var(--bg2); border-right: 1px solid var(--bdr); }
.abt-panel--origen .abt-panel-header { justify-content: center; text-align: center; }
.abt-panel--origen .abt-panel-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.abt-panel--origen .abt-panel-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.abt-panel--origen .abt-panel-h,
.abt-panel--origen .abt-panel-p { text-align: center; }
.abt-panel--origen .abt-panel-graphic { display: none; }
.abt-panel--evolucion .abt-panel-header { justify-content: center; text-align: center; }
.abt-panel--evolucion .abt-panel-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.abt-panel--evolucion .abt-panel-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.abt-panel--evolucion .abt-panel-h,
.abt-panel--evolucion .abt-panel-p { text-align: center; }
.abt-panel--presente { background: var(--bg2); }
.abt-presente-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 2rem; }
.abt-presente-cta { margin-top: 1.5rem; }
.abt-stats-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.abt-stat-box {
    background: var(--bg3);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 2.5rem 2rem;
    transition: border-color 0.3s, transform 0.3s;
}
.abt-stat-box:hover { border-color: rgba(233, 160, 0, 0.3); transform: translateY(-3px); }
.abt-stat-val {
    font-family: var(--fd);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--a);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}
.abt-stat-lbl { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.03em; line-height: 1.4; }
.abt-closing-quote { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--bdr); display: flex; flex-direction: column; gap: 2rem; }
.abt-quote-text { font-family: var(--fd); font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.abt-panel-bg-img {
    position: absolute;
    top: 0; bottom: 0;
    left: -10%; right: -10%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
    will-change: transform;
}
.abt-panel--origen,
.abt-panel--evolucion,
.abt-panel--presente { background: transparent !important; border-right: none !important; }
.abt-panel-content { position: relative; z-index: 2; }

/* ========================================
   FAQS
   ======================================== */
.faq-section {
    background: var(--bg);
    border-top: 1px solid var(--bdr);
    position: relative;
    overflow: hidden;
    padding: 9rem 0;
}
.faq-container { max-width: 1380px; margin: 0 auto; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; }
.faq-header { text-align: center; margin-bottom: 4rem; width: 100%; }
.faq-title { margin: 1.5rem 0 1.25rem; font-family: var(--fd); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.faq-subtitle { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin: 0 auto 3rem; max-width: 60ch; }
.faq-categories { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.faq-cat-btn {
    background: transparent;
    border: 1px solid var(--bdr);
    color: var(--muted);
    font-family: var(--fd);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    padding: 0.875rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.35s cubic-bezier(.16, 1, .3, 1);
    position: relative;
    overflow: hidden;
}
.faq-cat-num { font-size: 0.75rem; opacity: 0.5; font-weight: 800; }
.faq-cat-btn:hover { color: var(--text); border-color: rgba(233, 160, 0, 0.3); background: rgba(233, 160, 0, 0.02); }
.faq-cat-btn.active { color: #060605; background: var(--a); border-color: var(--a); box-shadow: 0 10px 25px rgba(233, 160, 0, 0.2); }
.faq-cat-btn.active .faq-cat-num { opacity: 0.9; }
.faq-right { display: flex; flex-direction: column; max-width: 850px; width: 100%; margin: 0 auto; }
.faq-group { display: none; width: 100%; }
.faq-group.active { display: block; animation: faqFadeIn 0.5s ease forwards; }
@keyframes faqFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.faq-item {
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    background: var(--bg2);
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
    overflow: hidden;
}
.faq-item:hover { border-color: rgba(233, 160, 0, 0.25); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.faq-item.open { background: var(--bg3); border-color: rgba(233, 160, 0, 0.4); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    text-align: left;
    font-family: var(--fd);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -.01em;
    gap: 1.5rem;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.faq-trigger:active { transform: scale(0.99); }
.faq-item-num { font-family: var(--fd); font-size: 0.8125rem; color: var(--a); font-weight: 800; opacity: 0.8; }
.faq-question { flex-grow: 1; line-height: 1.4; }
.faq-icon { display: flex; align-items: center; justify-content: center; color: var(--muted); transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), color 0.3s; flex-shrink: 0; }
.faq-item:hover .faq-icon { color: var(--a); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--a); }
.faq-answer { height: 0; overflow: hidden; transition: height 0.4s cubic-bezier(.16, 1, .3, 1); }
.faq-answer-inner { padding: 0 2.25rem 2.25rem 4.75rem; color: var(--text); opacity: 0.85; font-size: 0.9375rem; line-height: 1.75; }
.faq-answer-inner p { margin: 0; }

/* ========================================
   CONTACTO
   ======================================== */
#contact { background: var(--bg2); padding: 9rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form-group { margin-bottom: 2rem; position: relative; }
.form-group label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--a); margin-bottom: 0.5rem; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    font-family: var(--fb);
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--a); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* ========================================
   CTA FINAL
   ======================================== */
#cta-final { background: var(--bg); position: relative; overflow: hidden; text-align: center; padding: 11rem 0; }
.cta-glow {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,160,0,.1), transparent 70%);
    filter: blur(80px);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-text {
    font-family: var(--fd);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   MAPA
   ======================================== */
#map-section { padding: 0; }
#map { width: 100%; height: 500px; border: none; border-radius: 0; }
.leaflet-control-zoom a { background: #0E0E0C !important; color: #F0EFE8 !important; border-color: var(--bdr) !important; }
.leaflet-control-attribution { background: rgba(6,6,5,.7) !important; color: #69695F !important; font-size: .7rem !important; }
.leaflet-control-attribution a { color: var(--a) !important; }
.leaflet-popup-content-wrapper { background: #0E0E0C !important; color: #F0EFE8 !important; border-radius: 8px !important; border: 1px solid rgba(240,239,232,.1) !important; box-shadow: 0 10px 30px rgba(0,0,0,.6) !important; }
.leaflet-popup-tip { background: #0E0E0C !important; }

/* ========================================
   FOOTER
   ======================================== */
.modern-footer {
    background: var(--bg2);
    padding: 7rem 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--bdr);
}
.modern-footer .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; }
.mf-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.mf-heading { font-family: var(--fd); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; max-width: 15ch; color: var(--text); margin: 0; }
.mf-cta-wrap { flex-shrink: 0; }
.mf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 5rem; }
.mf-col-brand .logo { display: inline-block; margin-bottom: 1.5rem; }
.mf-desc { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; max-width: 32ch; margin-bottom: 2rem; }
.mf-socials { display: flex; gap: 1rem; }
.mf-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--bdr);
    color: var(--muted);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.mf-social-link:hover { color: var(--bg); background: var(--text); border-color: var(--text); transform: translateY(-3px); }
.mf-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--a); margin-bottom: 1.75rem; font-family: var(--fd); }
.mf-links { list-style: none; display: flex; flex-direction: column; gap: 1rem; padding: 0; margin: 0; }
.mf-links a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; transition: all 0.3s ease; position: relative; display: inline-block; width: fit-content; }
.mf-links a:hover { color: var(--text); }
.mf-highlight-link { font-weight: 600; color: var(--text) !important; }
.mf-text-muted { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; display: block; }
.mf-bottom { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; position: relative; z-index: 2; }
.mf-copy { color: var(--muted); font-size: 0.8125rem; }
.mf-legal { display: flex; gap: 2rem; }
.mf-legal a { color: var(--muted); font-size: 0.8125rem; text-decoration: none; transition: color 0.2s; }
.mf-legal a:hover { color: var(--text); }
.mf-giant-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0.8;
    margin-top: 1rem;
    text-align: center;
    user-select: none;
    pointer-events: none;
}
.mf-giant-text span {
    font-family: var(--fd);
    font-size: 16vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    display: block;
    transform: translateY(15%);
}

/* ========================================
   AUTORELLENO DE FORMULARIOS (AUTOCOMPLETE)
   ======================================== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
    -webkit-text-fill-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    caret-color: inherit !important;
}
input:-moz-autofill,
textarea:-moz-autofill {
    background-color: transparent !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

/* Desktop (≥769px) */
@media(min-width:769px) {
    .ham { display: none; }
    .menu-side { display: none !important; }
}

/* Tablet / Móvil (≤1024px) */
@media(max-width: 1024px) {
    .work-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .work-card--wide, .work-card--tall, .work-card--square { grid-column: span 1; grid-row: span 1; }
    .work-card-inner, .work-card--tall .work-card-inner { min-height: 380px; padding: 2rem; }
    .work-card-content { transform: translateY(0); }
    .work-card-desc { opacity: 0.8; }
    .work-card-link { opacity: 1; transform: translateY(0); }
    .mf-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Móvil (≤900px) */
@media(max-width: 900px) {
    .svc-card { filter: none; }
    .masonry { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr; }
    .cgrid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .ftop { grid-template-columns: 1fr; }
    .fbot { flex-direction: column; gap: .75rem; text-align: center; }
    section { padding: 3rem 0; }
    .work-hd { align-items: flex-start; margin-bottom: 3rem; flex-direction: column; }
    #work .btn-outline { background: var(--a); color: #060605; }
    .abt-scroll-container { flex-direction: column; width: 100%; height: auto; }
    .abt-panel { width: 100%; height: auto; min-height: 100vh; padding: 0; }
    .abt-panel-grid,
    .abt-presente-grid { grid-template-columns: 1fr; gap: 3rem; }
    .abt-panel-num { font-size: 3rem; }
    .abt-huge-h { font-size: clamp(2rem, 8vw, 3.5rem); }
    .abt-stats-bento { grid-template-columns: 1fr 1fr; }
    .abt-geo-mesh { height: 280px; }
    .abt-scroll-cue { display: none; }
}

/* Móvil pequeño (≤768px) */
@media(max-width:768px) {
    /* Nav overlay */
    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 700;
        background: var(--bg2);
        clip-path: circle(0% at calc(100% - 2.5rem) 34px);
        transition: clip-path .75s cubic-bezier(.16, 1, .3, 1);
        pointer-events: none;
        overflow-y: auto;
        height: auto;
        max-width: none;
        left: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: calc(68px + 1.5rem) 2rem 10rem;
        text-align: center;
        list-style: none;
    }
    #menu-toggle:checked ~ .nav-links { clip-path: circle(170% at calc(100% - 2.5rem) 34px); pointer-events: all; }
    .nav-links a {
        font-family: var(--fd);
        font-size: clamp(2.25rem, 6vw, 5rem);
        font-weight: 700;
        letter-spacing: -.03em;
        color: var(--muted);
        display: block;
        line-height: 1.2;
        opacity: 0;
        transform: translateY(24px);
        transition: color .3s, opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
        text-decoration: none;
    }
    .nav-links a:hover { color: var(--text); }
    #menu-toggle:checked ~ .nav-links a { opacity: 1; transform: translateY(0); }
    .nav-links .nav-cta {
        background: transparent;
        color: var(--muted);
        padding: 0;
        border-radius: 0;
        font-weight: 700;
        font-size: clamp(2.25rem, 6vw, 5rem);
        font-family: var(--fd);
        letter-spacing: -.03em;
    }
    /* menu-side mobile */
    .menu-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;
        position: fixed;
        bottom: 3rem;
        left: 0; right: 0;
        z-index: 701;
        text-align: center;
        pointer-events: none;
        clip-path: circle(0% at calc(100% - 2.5rem) 34px);
        transition: clip-path .75s cubic-bezier(.16, 1, .3, 1), opacity .5s .28s, transform .5s .28s cubic-bezier(.16, 1, .3, 1);
        opacity: 0;
        transform: translateY(20px);
    }
    #menu-toggle:checked ~ .menu-side { clip-path: circle(170% at calc(100% - 2.5rem) 34px); pointer-events: all; opacity: 1; transform: translateY(0); }
    .testi-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .testi-arrows { align-self: flex-start; margin-top: 1rem; }
    .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; cursor: grab; scroll-snap-type: x mandatory; scroll-padding: 0 2rem; }
    .tscroll .ttrack { animation: none !important; padding-bottom: 1rem; padding-left: 2rem; padding-right: 2rem; }
    .tscroll .tcard { scroll-snap-align: start; scroll-snap-stop: always; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    #about .abt-panel { padding-bottom: 3rem; padding-top: 2rem; }
    .tech-intro { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .tech-intro-sub { max-width: 100%; }
    .tech-modules { grid-template-columns: 1fr; }
    .tmod { padding: 1.75rem; }
    .tmc i { margin-right: 0.4rem; font-size: 0.8rem; width: 1rem; }
    .faq-categories { gap: 0.5rem; }
    .faq-cat-btn { padding: 0.75rem 1.25rem; font-size: 0.8125rem; }
    .faq-trigger { padding: 1.5rem 1.25rem; font-size: 1rem; gap: 1rem; }
    .faq-answer-inner { padding: 0 1.25rem 1.5rem 2.75rem; font-size: 0.875rem; }
    .mf-top { flex-direction: column; align-items: flex-start; gap: 2rem; margin-bottom: 4rem; padding-bottom: 3rem; }
    .mf-heading { font-size: clamp(2rem, 8vw, 3rem); }
    .mf-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mf-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .mf-legal { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .mf-giant-text span { font-size: 20vw; }
}