:root {
    --primary: #f46530;
    --primary-dark: #d9521e;
    --primary-glow: rgba(245, 100, 48, 0.4);
    --bg: #050505;
    --card-bg: rgba(17, 17, 17, 0.7);
    --text: #ffffff;
    --text-dim: #a1a1a1;
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.02);
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }
a:visited { color: inherit; }

body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.03; pointer-events: none; z-index: 9999;
}

.reveal { opacity: 0; transform: translateY(18px); transition: 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.1); will-change: transform, opacity; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

.motion-orb { position: absolute; border-radius: 50%; filter: blur(18px); opacity: 0.55; pointer-events: none; mix-blend-mode: screen; }
.orb-1 { width: 220px; height: 220px; background: rgba(244, 100, 48, 0.35); left: -60px; top: 120px; animation: float1 10s ease-in-out infinite; }
.orb-2 { width: 160px; height: 160px; background: rgba(244, 100, 48, 0.25); right: 60px; top: 90px; animation: float2 12s ease-in-out infinite; }
.orb-3 { width: 140px; height: 140px; background: rgba(255, 255, 255, 0.08); right: -40px; bottom: 40px; animation: float3 14s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(22px, 16px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px, 22px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-12px, -18px); } }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .motion-orb { display: none; }
    .pricing-box .price-features li { opacity: 1; transform: none; transition: none; }
    .hero-card .trust-item { opacity: 1; transform: none; transition: none; }
}

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(5, 5, 5, 0.7); backdrop-filter: blur(20px);
    padding: 15px 8%; display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-bottom: 1px solid var(--border);
}
.navbar img { height: 45px; }

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.lang-toggle {
    display: flex;
    background: #111; border-radius: 30px; padding: 4px; border: 1px solid var(--border); cursor: pointer;
}
.lang-btn { padding: 5px 14px; font-size: 11px; font-weight: 800; border-radius: 20px; transition: 0.3s; color: var(--text-dim); background: transparent; border: none; appearance: none; }
.lang-btn.active { background: var(--primary); color: white; }
.hero-lang-mobile { display: none; }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: left; padding: 180px 20px 90px;

    background:
        radial-gradient(circle at 20% 35%, rgba(244, 100, 48, 0.18), transparent 55%),
        radial-gradient(circle at 80% 55%, rgba(244, 100, 48, 0.10), transparent 55%);
    position: relative;
    overflow: hidden;
}
.hero-inner { max-width: 1400px; width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 520px); gap: 72px; align-items: center; }

.hero-grid > div { min-width: 0; }

.hero-kicker { color: var(--primary); font-weight: 800; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker-badge { font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(244, 100, 48, 0.12); border: 1px solid rgba(244, 100, 48, 0.25); color: #fff; letter-spacing: 0.5px; }
.hero h1 { font-size: clamp(2.5rem, 6.3vw, 4.8rem); font-weight: 900; letter-spacing: -2px; line-height: 1.05; margin: 18px 0 22px; max-width: 100%; white-space: nowrap; }

.hero h1 span#dynamic-text { color: var(--primary); display: inline-flex; align-items: baseline; min-width: 10ch; }
.hero h1 span#dynamic-text .dynamic-word { display: inline-block; }
.hero h1 span#dynamic-text .caret { width: 3px; height: 0.95em; background: var(--primary); margin-left: 6px; transform: translateY(2px); animation: caretBlink 1s steps(1) infinite; }

@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero p { font-size: 1.08rem; color: var(--text-dim); max-width: 640px; margin: 0 0 28px; line-height: 1.85; }

.hero-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; max-width: 640px; }
.hero-list li { display: flex; gap: 10px; align-items: flex-start; color: #eaeaea; font-size: 0.98rem; }
.hero-list li::before { content: "✓"; color: var(--primary); font-weight: 900; margin-top: 1px; }

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.btn-main {
    background: var(--primary); color: white; padding: 20px 50px; border-radius: 12px;
    text-decoration: none; font-weight: 800; font-size: 14px; display: inline-block;
    transition: 0.4s; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 10px 30px var(--primary-glow);
    border: none; cursor: pointer;
}
.btn-main:visited { color: #fff; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 40px var(--primary-glow); background: var(--primary-dark); }

.btn-secondary {
    background: rgba(255,255,255,0.02);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(244, 100, 48, 0.55);
    box-shadow: 0 0 0 0 rgba(244, 100, 48, 0);
}
.btn-secondary:visited { color: #fff; }
.btn-secondary:hover { transform: translateY(-2px); background: rgba(244, 100, 48, 0.08); border-color: rgba(244, 100, 48, 0.85); box-shadow: 0 14px 40px rgba(244, 100, 48, 0.12); }

.hero-microcopy { color: var(--text-dim); font-size: 12px; margin-top: 14px; max-width: 640px; }

.hero-microcopy-slider {
    position: relative;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.45;
    margin-top: 18px;
    max-width: 640px;
    min-height: calc(1.45em + 2px);
}

.hero-microcopy-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.hero-microcopy-item.active {
    opacity: 1;
}

.hero-card {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.7), rgba(10, 10, 10, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

.hero-mockups { position: relative; height: 190px; margin-bottom: 18px; }
.mockup {
    position: absolute;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.25);
    box-shadow: 0 25px 70px rgba(0,0,0,0.55);
    overflow: hidden;
}
.mockup::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.68));
    pointer-events: none;
}
.mockup img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.mockup.m1 { width: 72%; height: 170px; left: 0; top: 10px; transform: rotate(-6deg); }
.mockup.m2 { width: 52%; height: 150px; right: 6px; top: 0; transform: rotate(8deg); }
.mockup.m3 { width: 58%; height: 120px; right: 34px; bottom: -8px; transform: rotate(-2deg); }

.hero-wp-badge {
    position: absolute;
    left: 42%;
    bottom: -18px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(5,5,5,0.55);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 60px rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
}
.hero-wp-badge span { font-weight: 900; font-size: 34px; color: #fff; letter-spacing: -1px; }
.hero-wp-badge::after { content: ""; position: absolute; inset: -10px; border-radius: 999px; background: radial-gradient(circle, rgba(244,100,48,0.18), transparent 60%); z-index: -1; }

.hero-card::before {
    content: "";
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle at 30% 20%, rgba(244, 100, 48, 0.22), transparent 40%);
    opacity: 0.9;
    pointer-events: none;
}
.hero-card > * { position: relative; }
.hero-card-title { font-weight: 900; font-size: 1.05rem; margin-bottom: 10px; letter-spacing: -0.3px; }
.hero-card-sub { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; margin-bottom: 18px; }
.hero-trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0 0; }
.trust-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.trust-left { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.trust-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(244, 100, 48, 0.15); }
.trust-right { color: var(--text-dim); font-size: 12px; font-weight: 700; }

.hero-card .btn-main { display: flex; align-items: center; justify-content: center; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.hero-card .btn-main:hover { transform: translateY(-6px); box-shadow: 0 18px 55px var(--primary-glow); }
.hero-card .btn-main:active { transform: translateY(-2px); box-shadow: 0 12px 35px var(--primary-glow); }

.industry-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
}

.industry-marquee-track {
    flex: 0 0 auto;
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 14px 18px;
    animation: industryMarquee 24s linear infinite;
}

.industry-marquee-track span {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    white-space: nowrap;
}

.industry-marquee-track span:not(:last-child)::after {
    content: "•";
    margin-left: 34px;
    color: rgba(244, 100, 48, 0.7);
}

@keyframes industryMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* SECCIONES */
section { padding: 64px 8%; max-width: 1400px; margin: 0 auto; }
#portfolio { padding-top: 40px; }
#pricing { padding-top: 24px; }
#pricing .title { margin-bottom: 26px; }
#pricing .title,
#pricing > p,
#pricing .pricing-swipe-hint { position: relative; z-index: 3; }
#pricing .pricing-plans { position: relative; z-index: 1; }
#proceso { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; text-align: center; margin-bottom: 20px; margin-top: 20px; letter-spacing: -1px; }

/* GRID DE SERVICIOS */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.card {
    background: var(--card-bg); padding: 40px 35px; border-radius: 25px; border: 1px solid var(--border);
    backdrop-filter: blur(10px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(244, 100, 48, 0.1), transparent);
    opacity: 0; transition: 0.4s;
}
.card:hover, .card:active {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(244, 100, 48, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; color: #fff; }
.card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-tag { font-size: 11px; padding: 6px 13px; background: rgba(255,255,255,0.04); border-radius: 8px; color: #fff; border: 1px solid var(--border); transition: 0.3s; }
.card:hover .tech-tag { background: rgba(244, 100, 48, 0.15); border-color: var(--primary); }

/* SECCIÓN DE PROCESOS */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.process-item {
    padding: 40px; background: var(--card-bg); border-radius: 20px; border: 1px solid var(--border);
    position: relative; transition: 0.4s;
}
.process-item:hover { border-color: var(--primary); transform: translateY(-5px); }
.process-item h3 { font-size: 1.1rem; margin: 15px 0; color: #fff; }
.process-item p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }
.step-badge { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: white; font-weight: 900; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

/* SECCIÓN DE RESULTADOS / STATS */
.stats-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin: 60px 0; }
.stat-box { text-align: center; padding: 30px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 15px; }
.stat-number { font-size: 2.8rem; font-weight: 900; color: var(--primary); margin-bottom: 10px; }
.stat-text { color: var(--text-dim); font-size: 0.9rem; }

.portfolio-carousel {
    margin-top: 40px;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}
.portfolio-viewport {
    overflow: hidden;
    border-radius: 22px;
}
.portfolio-track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s ease;
    will-change: transform;
}
.portfolio-track .project-card {
    flex: 0 0 calc((100% - 22px) / 2);
}
.portfolio-nav {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: 0.25s;
}
.portfolio-nav:hover {
    border-color: rgba(244, 100, 48, 0.65);
    background: rgba(244, 100, 48, 0.1);
}
.portfolio-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.portfolio-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.portfolio-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.24);
    cursor: pointer;
    transition: 0.25s;
}
.portfolio-dot.active {
    width: 20px;
    background: var(--primary);
}
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}
.project-card:hover { border-color: rgba(244, 100, 48, 0.5); transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.45); }
.project-top { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 30%, rgba(244, 100, 48, 0.18), transparent 55%); }
.project-top img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); transform: scale(1); transition: transform 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.1); }
.project-card:hover .project-top img { transform: scale(1.05); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.72)); }
.project-body { padding: 22px 22px 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.project-tag { font-size: 11px; padding: 6px 12px; background: rgba(255,255,255,0.04); border-radius: 999px; color: #fff; border: 1px solid var(--border); font-weight: 800; letter-spacing: 0.4px; }
.project-title { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.6px; margin-bottom: 8px; }
.project-desc { color: var(--text-dim); font-size: 0.95rem; line-height: 1.75; margin-bottom: 16px; }
.project-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.project-link { text-decoration: none; }

@media (max-width: 1024px) {
    .portfolio-track .project-card { flex: 0 0 100%; }
}

.pricing-plans {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pricing-plan {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(8, 8, 8, 0.9));
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    padding: 26px 30px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 100, 48, 0.7);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.pricing-plan.featured {
    border-color: rgba(244, 100, 48, 0.65);
    box-shadow: 0 24px 60px rgba(244, 100, 48, 0.14);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    border-radius: 999px;
    padding: 6px 14px;
    letter-spacing: 0.4px;
}

.pricing-plan-title {
    font-size: clamp(1.95rem, 3.2vw, 3rem);
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 900;
    margin: 6px 0 10px;
}

.pricing-plan.featured .pricing-plan-title {
    white-space: nowrap;
    font-size: clamp(1.8rem, 2.9vw, 2.7rem);
}

.pricing-plan-sub {
    color: var(--text-dim);
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.pricing-plan-price {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -2px;
    white-space: nowrap;
}

.pricing-plan-price .price-prefix {
    font-size: 0.5em;
    font-weight: 700;
    color: var(--text-dim);
    margin-right: 8px;
    letter-spacing: 0;
}

.pricing-plan-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    flex: 1;
}

.pricing-plan:last-child .pricing-plan-price {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

.pricing-plan-features li {
    color: #f1f1f1;
    font-size: 1.02rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-plan-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
}

.pricing-plan-cta {
    width: 100%;
    margin-top: 18px;
    justify-content: center;
}

.pricing-plan-note {
    color: var(--text-dim);
    font-size: 11px;
    margin-top: 10px;
}

.pricing-swipe-hint {
    display: none;
}

.faq-container { max-width: 900px; margin: 40px auto 0; }
.faq-item { background: var(--card-bg); margin-bottom: 15px; border-radius: 15px; border: 1px solid var(--border); cursor: pointer; transition: 0.3s; }
.faq-item:hover { border-color: var(--primary); }
.faq-q { padding: 20px 30px; display: flex; justify-content: space-between; font-weight: 700; align-items: center; font-size: 0.95rem; }
.faq-a { padding: 0 30px; max-height: 0; overflow: hidden; transition: 0.4s ease; color: var(--text-dim); font-size: 0.9rem; }
.faq-item.active .faq-a { padding-bottom: 25px; max-height: 500px; }

#final-cta { padding-top: 18px; }
.final-cta-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 0% 0%, rgba(244, 100, 48, 0.2), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(244, 100, 48, 0.14), transparent 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    text-align: center;
}
.final-cta-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid rgba(244, 100, 48, 0.45);
    color: #ffd8c8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.final-cta-title {
    margin: 16px 0 10px;
    font-size: clamp(1.55rem, 3.6vw, 2.45rem);
    line-height: 1.15;
    letter-spacing: -0.6px;
}
.final-cta-text {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}
.final-cta-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2000; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: 0.3s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); }

footer { text-align: center; padding: 40px 8%; color: var(--text-dim); font-size: 0.85rem; border-top: 1px solid var(--border); }

@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .menu-toggle { margin-left: auto; }
    .navbar { position: fixed; }
    .navbar > div:last-child { display: none !important; }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 6%;
        right: 6%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
        background: rgba(10,10,10,0.95);
        border: 1px solid var(--border);
    }
    .nav-links a { padding: 10px 8px; }
    .navbar.menu-open .nav-links { display: flex !important; }

    .hero { min-height: auto; padding: 120px 0 90px; }
    .hero-inner { padding: 0 6%; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-grid > div:first-child { text-align: center; }
    .hero-card { max-width: min(560px, 100%); margin: 0 auto; justify-self: center; }
    .hero h1 {
        white-space: nowrap;
        font-size: clamp(2.5rem, 7.1vw, 2.2rem);
        letter-spacing: -1px;
        text-align: center;
    }
    .hero h1 #dynamic-text-prefix { white-space: nowrap; }
    .hero h1 span#dynamic-text { min-width: 0; justify-content: center; white-space: nowrap; display: inline-flex; }
    .hero h1 span#dynamic-text .dynamic-word { white-space: nowrap; }
    .hero p,
    .hero-list,
    .hero-microcopy { margin-left: auto; margin-right: auto; text-align: center; }
    .hero-list li { font-size: 0.82rem; white-space: nowrap; justify-content: center; }
    .hero-kicker { display: inline-flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; }
    .hero-kicker-badge { white-space: nowrap; margin: 0 auto; display: inline-flex; }
    .hero-ctas { justify-content: center; }
    .btn-main,
    .btn-secondary { width: 100%; max-width: 360px; text-align: center; }
    .hero-card .btn-main { width: 100%; justify-content: center; }
    .hero-wp-badge { left: 50%; transform: translateX(-50%); }
    .hero-lang-mobile { display: flex !important; justify-content: center; margin-bottom: 12px; }

    .pricing-plans {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        gap: 0;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding: 10px 0 8px;
        scroll-padding-inline: 0;
    }
    .pricing-swipe-hint {
        display: block;
        text-align: center;
        color: var(--text-dim);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.4px;
        margin: -8px 0 10px;
    }
    .pricing-plans::-webkit-scrollbar { display: none; }
    .pricing-plans { scrollbar-width: none; }
    .pricing-plan {
        min-width: 0;
        max-width: min(86%, 380px);
        width: min(86%, 380px);
        justify-self: center;
        margin: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 24px 18px 18px;
        border-radius: 22px;
    }
    .pricing-plan:hover {
        z-index: 6;
    }
    .pricing-plan.featured {
        padding-top: 44px;
    }
    .pricing-plan.featured .pricing-badge {
        top: 10px;
        z-index: 2;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .final-cta-actions .btn-main,
    .final-cta-actions .btn-secondary {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .navbar { padding: 12px 4%; }
    .navbar img { height: 34px; }
    .lang-toggle { transform: scale(0.95); }
    .hero { padding-top: 112px; }
    .hero-inner { padding: 0 5%; }
    .hero-card { padding: 20px; border-radius: 18px; width: 100%; max-width: 100%; overflow: hidden; }
    .hero-mockups { height: 150px; margin-bottom: 16px; }
    .mockup.m1 { width: 74%; height: 136px; left: -4px; top: 8px; }
    .mockup.m2 { width: 56%; height: 118px; right: -2px; top: 0; }
    .mockup.m3 { width: 62%; height: 96px; right: 14px; bottom: -4px; }
    .hero-wp-badge { width: 64px; height: 64px; bottom: -12px; }
    .hero-wp-badge span { font-size: 28px; }
    .hero-card-title { font-size: 0.98rem; }
    .hero-card-sub { font-size: 0.88rem; }

    section { padding: 56px 1%; }
    #proceso { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: 6%; padding-right: 6%; }

    .grid { grid-template-columns: 1fr; gap: 16px; }
    .card { padding: 24px 20px; border-radius: 18px; width: 90%; margin: 0 auto; }
    .card h3 { font-size: 1.1rem; }
    .card p { font-size: 0.9rem; }

    .project-body { padding: 16px; }
    .project-title { font-size: 1.15rem; }
    .project-desc { font-size: 0.9rem; }
    .hero-list li { font-size: 0.74rem; }
    .portfolio-carousel { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .portfolio-track { gap: 14px; }
    .portfolio-track .project-card { flex: 0 0 100%; }
    .portfolio-nav { width: 40px; height: 40px; font-size: 20px; }

    .process-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
    .process-item { padding: 24px 18px; }

    .stats-section { grid-template-columns: 1fr 1fr; margin: 30px 0; }
    .stat-box { padding: 18px 12px; }

    .faq-q { padding: 16px 18px; font-size: 0.9rem; }
    .faq-a { padding: 0 18px; font-size: 0.88rem; }

    footer {
        padding: 34px 4% 108px;
        font-size: 0.76rem;
        line-height: 1.35;
    }
    footer p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        white-space: nowrap;
    }

    .price-features { width: 100%; }
}
