/* ============================================================
   WebYa — Estudio web express
   Visual signature: Kinetic Type + Electric Lime + Live Marquee
   ============================================================ */

/* ---------- 0. TOKENS ---------- */
:root {
    --bg:              #0B0D12;
    --bg-elev-1:       #10131B;
    --bg-elev-2:       #161A25;
    --border:          #1F2432;
    --border-hover:    #2D3446;

    --text:            #FAFAFA;
    --text-muted:      #7A828F;
    --text-faint:      #4A5060;

    --lime:            #D4FF00;
    --lime-deep:       #B8E000;
    --lime-glow:       rgba(212, 255, 0, 0.18);
    --lime-soft:       rgba(212, 255, 0, 0.08);

    --cyan:            #06B6D4;
    --cyan-glow:       rgba(6, 182, 212, 0.15);

    --danger:          #FF4757;

    --radius-sm:       6px;
    --radius-md:       12px;
    --radius-lg:       20px;
    --radius-xl:       28px;

    --font-body:       "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-display:    "Instrument Serif", "Cormorant", Georgia, serif;
    --font-mono:       "JetBrains Mono", ui-monospace, "Menlo", monospace;

    --ease:            cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);

    --container:       1240px;
    --section-pad:     clamp(56px, 8vw, 110px);
}

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--lime); color: var(--bg); }

/* Subtle scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ---------- 2. BACKGROUND GRID (subtle atmosphere) ---------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at 50% 20%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 30%, transparent 75%);
}

/* ---------- 3. NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 4vw, 48px);
    background: rgba(11, 13, 18, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s var(--ease);
}
.nav.hidden { transform: translateY(-100%); }

.nav-logo {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: var(--text);
    padding: 4px 0;
    flex-shrink: 0;
}
.nav-logo em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--lime);
    font-size: 22px;
    letter-spacing: -0.02em;
}
.nav-logo:hover em { animation: flicker 0.4s var(--ease); }
@keyframes flicker {
    0%, 100% { opacity: 1; }
    30% { opacity: 0.4; }
    60% { opacity: 1; }
}

.nav-center {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-link {
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--bg-elev-1); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-ticker {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.nav-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime-glow);
    animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--lime);
    color: var(--bg);
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 999px;
    letter-spacing: -0.01em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px var(--lime-glow); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
}
.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

/* ---------- 4. COMMON ---------- */
.section {
    position: relative;
    padding: var(--section-pad) 0;
    z-index: 1;
}
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 48px);
}

.section-head {
    max-width: 820px;
    margin-bottom: clamp(50px, 7vw, 90px);
}
.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.section-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
}

.section-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(36px, 5.6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 24px;
}
.section-title em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--lime);
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.55;
}
.section-head-center .section-sub { margin-inline: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: -0.01em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--lime);
    color: var(--bg);
    font-weight: 700;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px var(--lime-glow);
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { transition: transform 0.2s var(--ease); }

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--border);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--text-muted);
    background: var(--bg-elev-1);
}

.btn-big { padding: 20px 30px; font-size: 17px; }

/* ---------- 5. HERO ---------- */
.hero {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0 clamp(50px, 7vw, 100px);
    overflow: hidden;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, var(--lime-soft), transparent 50%),
        radial-gradient(ellipse at 20% 80%, var(--cyan-glow), transparent 40%);
    pointer-events: none;
    opacity: 0.9;
}

.hero-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 48px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime-glow);
    animation: pulse 2s var(--ease) infinite;
}

/* Layout — 2 columns on desktop, stacked on mobile */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-main { min-width: 0; }

.hero-headline {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.85;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.hero-line1 {
    font-size: clamp(52px, 8vw, 108px);
    color: var(--text);
    animation: fadeUp 0.7s var(--ease) 0.25s both;
}

.hero-line2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(110px, 18vw, 240px);
    line-height: 0.82;
    color: var(--lime);
    letter-spacing: -0.04em;
    text-shadow: 0 0 80px var(--lime-glow);
    animation: scaleIn 1.1s var(--ease-out) 0.35s both;
    position: relative;
    transform-origin: left center;
}
.hero-line2 em {
    font-style: italic;
    position: relative;
}
.hero-period {
    color: var(--cyan);
    font-family: var(--font-body);
    font-weight: 900;
    font-style: normal;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.82); letter-spacing: 0em; }
    to   { opacity: 1; transform: scale(1); letter-spacing: -0.04em; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--text);
    max-width: 560px;
    line-height: 1.5;
    margin-bottom: 28px;
    font-weight: 400;
    animation: fadeUp 0.7s var(--ease) 0.55s both;
}
.hero-sub strong { color: var(--lime); font-weight: 600; }
.hero-sub-mute { color: var(--text-muted); font-size: 0.95em; }

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease) 0.75s both;
}

/* Hero side — stats + disclaimer */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: fadeUp 0.8s var(--ease) 0.85s both;
}

.hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.hero-proof::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
}
.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hero-proof-item:nth-child(even) { border-right: none; }
.hero-proof-item:nth-child(n+3) { border-bottom: none; }
.hero-proof-item strong {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 38px;
    font-weight: 400;
    color: var(--lime);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hero-proof-item span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
}

.hero-side-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--lime-soft);
    border: 1px solid rgba(212, 255, 0, 0.25);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text);
    letter-spacing: 0.02em;
    align-self: flex-start;
}
.hero-side-note svg { color: var(--lime); flex-shrink: 0; }

@media (min-width: 1000px) {
    .hero-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 64px;
    }
    .hero-side { max-width: 440px; justify-self: end; width: 100%; }
}

/* ---------- 6. MARQUEE ---------- */
.marquee-wrap {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    background: var(--lime);
    color: var(--bg);
    border-top: 1px solid var(--lime-deep);
    border-bottom: 1px solid var(--lime-deep);
    z-index: 2;
    transform: rotate(-1.2deg);
    margin: 30px -20px;
}
.marquee-wrap-slow {
    background: transparent;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(0.6deg);
    padding: 16px 0;
    margin: 0 -20px;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    animation: marquee-scroll 35s linear infinite;
}
.marquee-track-slow {
    animation-duration: 55s;
    animation-direction: reverse;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    gap: 24px;
}
.marquee-dot {
    font-size: 18px;
    opacity: 0.65;
}
.marquee-subtle {
    color: var(--text-muted);
}
.marquee-dot-subtle {
    color: var(--text-faint);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

/* ---------- 7. CÓMO FUNCIONA ---------- */
.section-como {
    padding-top: clamp(100px, 12vw, 160px);
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 42px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: background 0.3s;
}
.step:last-child { border-bottom: none; }
.step:hover { background: var(--lime-soft); }

.step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 72px;
    font-weight: 400;
    color: var(--lime);
    line-height: 1;
    letter-spacing: -0.03em;
}

.step-body h3 {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.step-duration {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--lime);
    background: var(--lime-soft);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.step-body p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 620px;
}

/* ---------- 8. COMPARATIVA ---------- */
.section-compare {
    background:
        radial-gradient(ellipse at 50% 0%, var(--lime-soft), transparent 60%),
        var(--bg);
}

.compare-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.compare-row:hover {
    transform: translateX(3px);
    border-color: var(--lime);
}
.compare-old {
    font-size: 15.5px;
    color: var(--text-muted);
    text-align: right;
    font-family: var(--font-body);
    opacity: 0.9;
}
.compare-old s {
    text-decoration-color: var(--danger);
    text-decoration-thickness: 2.5px;
    text-decoration-skip-ink: none;
    text-underline-offset: 0;
}
.compare-arrow {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--lime);
    line-height: 1;
    text-align: center;
    letter-spacing: -0.05em;
}
.compare-new {
    font-size: 17px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* ---------- 9. PRICING ---------- */
.section-pricing .section-head { text-align: center; max-width: 780px; margin-inline: auto; }
.section-pricing .section-sub { margin-inline: auto; }

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.pkg {
    position: relative;
    padding: 36px 30px 32px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pkg:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}
.pkg-featured {
    border-color: var(--lime);
    background: linear-gradient(180deg, var(--lime-soft) 0%, var(--bg-elev-1) 30%);
    box-shadow: 0 20px 80px var(--lime-glow);
}
.pkg-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 100px var(--lime-glow);
}

.pkg-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 999px;
}

.pkg-head { display: flex; flex-direction: column; gap: 6px; }
.pkg-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}
.pkg-featured .pkg-name { color: var(--lime); }
.pkg-ideal {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.pkg-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-block: 8px 14px;
    border-bottom: 1px dashed var(--border);
}
.pkg-currency {
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--text-muted);
    font-weight: 500;
}
.pkg-amount {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 64px;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--text);
}
.pkg-featured .pkg-amount { color: var(--lime); }
.pkg-unit {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-left: 6px;
    align-self: flex-end;
    padding-bottom: 12px;
}

.pkg-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pkg-timeline-bar {
    position: relative;
    height: 8px;
    background: var(--bg-elev-2);
    border-radius: 99px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.pkg-timeline-bar::after {
    content: "";
    position: absolute;
    inset: 1px 1px 1px 1px;
    width: 0;
    background: linear-gradient(90deg, var(--lime) 0%, var(--lime-deep) 100%);
    border-radius: 99px;
    transition: width 1.2s var(--ease-out);
    box-shadow: 0 0 10px var(--lime-glow);
}
.pkg-timeline-bar.filled::after { width: calc(var(--fill) - 2px); }

.pkg-timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pkg-timeline-meta strong {
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font-body);
}

.pkg-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.pkg-features li {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}
.pkg-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 6px;
    border-left: 1.8px solid var(--lime);
    border-bottom: 1.8px solid var(--lime);
    transform: rotate(-45deg);
}
.pkg-features li strong {
    color: var(--text);
    font-weight: 600;
}

.pkg-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s var(--ease);
    margin-top: auto;
}
.pkg-cta:hover {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--bg);
}
.pkg-cta:hover svg { transform: translateX(3px); }
.pkg-cta svg { transition: transform 0.2s; }
.pkg-cta-featured {
    background: var(--lime);
    color: var(--bg);
    border-color: var(--lime);
    font-weight: 700;
}
.pkg-cta-featured:hover {
    background: var(--text);
    border-color: var(--text);
    transform: translateY(-1px);
}

.pricing-footnote {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 36px;
}
.pricing-footnote a {
    color: var(--lime);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

/* ---------- 10. PORTFOLIO ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.work {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), border-color 0.3s;
}
.work:hover {
    transform: translateY(-4px);
    border-color: var(--lime);
}

.work-browser {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.work-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--bg-elev-2);
    border-bottom: 1px solid var(--border);
}
.work-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}
.work-browser-bar span:first-child { background: #ff5f57; }
.work-browser-bar span:nth-child(2) { background: #febc2e; }
.work-browser-bar span:nth-child(3) { background: #28c840; }
.work-browser-url {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-muted);
    padding: 3px 10px;
    background: var(--bg);
    border-radius: 4px;
    flex: 1;
}
.work-browser-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-frame-luminance {
    background:
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.25), transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.work-frame-fonseca {
    background:
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.22), transparent 55%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
.work-frame-smilecr {
    background:
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.22), transparent 60%),
        linear-gradient(135deg, #052e16 0%, #064e3b 100%);
}
.work-frame-scope {
    background:
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.3), transparent 55%),
        linear-gradient(135deg, #0a0e1a 0%, #111827 100%);
}

.work-preview-content {
    text-align: center;
    padding: 24px;
    color: white;
}
.wp-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    margin-bottom: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}
.wp-headline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(24px, 3.5vw, 38px);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
}
.wp-headline em { color: var(--lime); font-style: italic; }
.wp-cta {
    display: inline-block;
    padding: 7px 14px;
    background: var(--lime);
    color: #0a0e1a;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.work-meta h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.work-meta p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}
.work-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    background: var(--lime-soft);
    color: var(--lime);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- 11. FAQ ---------- */
.faq {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] { border-color: var(--lime); background: var(--bg-elev-2); }

.faq-item summary {
    list-style: none;
    padding: 22px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.015em;
    transition: color 0.2s;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background-image: linear-gradient(to right, currentColor, currentColor), linear-gradient(to right, currentColor, currentColor);
    background-size: 10px 1.5px, 1.5px 10px;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease), border-color 0.2s;
}
.faq-item[open] summary::after {
    background-size: 10px 1.5px, 0 0;
    color: var(--bg);
    background-color: var(--lime);
    border-color: var(--lime);
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 26px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.faq-body strong { color: var(--text); }

/* ---------- 12. CONTACTO ---------- */
.section-contact {
    background:
        radial-gradient(ellipse at 10% 100%, var(--lime-soft), transparent 55%),
        var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-left .section-title { margin-bottom: 22px; }
.contact-left .btn-big { margin-top: 12px; }

.contact-alt {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-alt-item {
    display: flex;
    align-items: baseline;
    gap: 18px;
}
.contact-alt-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-width: 72px;
}
.contact-alt-item a,
.contact-alt-item span {
    font-size: 15.5px;
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.contact-alt-item a:hover { color: var(--lime); }

.contact-form {
    padding: 32px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    color: var(--lime);
    margin-bottom: 8px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.field input,
.field select,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    transition: border-color 0.2s;
    width: 100%;
    font-feature-settings: "cv02", "cv03", "cv04";
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--lime);
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-faint);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%237A828F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 4px;
}
.form-hint {
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
    margin-top: 4px;
}

/* ---------- 13. FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    position: relative;
    z-index: 1;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
    max-width: 280px;
    line-height: 1.5;
}
.footer-logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text);
}
.footer-logo em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--lime);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-weight: 500;
}
.footer-col a {
    font-size: 14px;
    color: var(--text);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--lime); }

.footer-bar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px clamp(18px, 4vw, 48px) 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

/* ---------- 14. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .nav-center { display: none; }
    .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .pkg-featured { order: -1; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
    .nav-ticker { display: none; }
    .nav-cta { padding: 8px 14px; font-size: 12.5px; }
    .nav-burger { display: flex; }

    .hero { padding: 36px 0 48px; }
    .hero-badge { margin-bottom: 20px; font-size: 11px; padding: 6px 12px; }
    .hero-headline { margin-bottom: 22px; }
    .hero-line1 { font-size: clamp(44px, 13vw, 80px); }
    .hero-line2 { font-size: clamp(100px, 36vw, 170px); }
    .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { justify-content: center; }
    .hero-layout { gap: 32px; }
    .hero-proof-item { padding: 14px 14px; }
    .hero-proof-item strong { font-size: 28px; }
    .hero-side-note { font-size: 11px; padding: 9px 12px; }

    .marquee-wrap { padding: 14px 0; margin: 20px -15px; }
    .marquee-track { font-size: 15px; gap: 20px; }

    .section-title { font-size: clamp(30px, 9vw, 46px); }
    .section-sub { font-size: 15px; }

    .step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
    .step-num { font-size: 50px; }
    .step-body h3 { font-size: 22px; }

    .compare-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 22px;
        text-align: center;
    }
    .compare-old { text-align: center; font-size: 14px; }
    .compare-arrow { transform: rotate(90deg); font-size: 24px; }
    .compare-new { font-size: 16px; }

    .pkg { padding: 26px 22px 24px; }
    .pkg-amount { font-size: 48px; }
    .pkg-name { font-size: 26px; }

    .work { padding: 16px; }

    .faq-item summary { padding: 18px 20px; font-size: 15px; gap: 12px; }
    .faq-item summary::after { width: 24px; height: 24px; }
    .faq-body { padding: 0 20px 20px; font-size: 14px; }

    .contact-form { padding: 22px; }

    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 460px) {
    .hero-line2 { font-size: clamp(90px, 42vw, 150px); }
    .footer-cols { grid-template-columns: 1fr; }
    .btn { padding: 12px 18px; font-size: 14px; }
    .btn-big { padding: 16px 24px; font-size: 15px; }
}

/* ---------- 16. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track, .marquee-track-slow { animation: none !important; transform: none !important; }
}
