/* ═══════════════════════════════════════════
   SALVADS GROWTH — LANDING PAGES STYLESHEET
   Compartido entre las 9 landings de servicios
═══════════════════════════════════════════ */

:root {
    --bg: #04080f; --bg2: #070d18; --card: #0b1220;
    --border: #1a2235; --border-b: rgba(67,97,238,.35);
    --white: #f5f7fb; --g1: #cdd2dd; --g2: #8a93a8; --g3: #555c6e;
    --blue: #4361EE; --blue-dark: #2e4cd8; --blue-glow: rgba(67,97,238,.4);
    --green: #25D366;
    --r: 18px; --rs: 12px; --nav: 60px; --topbar: 36px;
    --fd: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --fb: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--fb); background: var(--bg); color: var(--white);
    line-height: 1.6; overflow-x: hidden; min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* === TOPBAR (always visible) === */
.topbar {
    background: rgba(7,13,24,.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--topbar); display: flex; align-items: center;
    position: fixed; top: 0; left: 0; right: 0; z-index: 101;
    font-size: 12px;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--g1); transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar .phone { color: var(--white); font-weight: 600; }
.topbar .wa { color: var(--green); font-weight: 600; }
.topbar svg { width: 14px; height: 14px; }

/* === NAV — glassmorphism premium siempre visible (desktop + mobile + Safari iOS) === */
.nav {
    position: fixed; top: var(--topbar); left: 0; right: 0; z-index: 100;
    height: var(--nav); display: flex; align-items: center;
    background: rgba(4,8,15,.85);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav__inner {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%;
}
/* nav__back eliminado — mantener display:none como seguridad si alguna referencia quedó */
.nav__back { display: none !important; }
/* Logo como elemento de branding puro (span, no enlace) */
.nav__logo { display: flex; align-items: center; cursor: default; }
.nav__logo img { height: 28px; width: auto; display: block; }
.nav__cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 20px; background: var(--blue); color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    transition: all .25s;
}
.nav__cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px var(--blue-glow); }

/* === HERO with form === */
.hero {
    position: relative; padding: calc(var(--topbar) + var(--nav) + 32px) 0 48px;
    overflow: hidden;
    min-height: 100vh;
    display: flex; align-items: center;
}
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(26,111,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,111,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 10%, transparent 100%);
    animation: gridMove 22s linear infinite;
}
@keyframes gridMove { to { background-position: 56px 56px; } }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.orb1 { width: 600px; height: 600px; background: var(--blue); opacity: .15; top: -200px; right: -100px; animation: flt 9s ease-in-out infinite; }
.orb2 { width: 380px; height: 380px; background: #60c8ff; opacity: .08; bottom: -60px; left: -80px; animation: flt 7s ease-in-out infinite reverse; }
@keyframes flt { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.04); } }

.hero__grid2 {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 56px; align-items: start;
}

/* Hero left: copy */
.hero__left { padding-top: 8px; }
.tag {
    display: inline-block; font-size: 11px; color: var(--blue);
    background: rgba(67,97,238,.1); padding: 5px 14px; border-radius: 100px;
    letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
    margin-bottom: 18px; border: 1px solid rgba(67,97,238,.25);
    opacity: 0; transform: translateY(18px); animation: heroUp .7s .15s forwards;
}
.hero__h1 {
    font-size: clamp(32px, 4.2vw, 52px); font-weight: 800;
    letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 18px;
    opacity: 0; transform: translateY(30px); animation: heroUp .75s .3s forwards;
}
.hero__h1 .ac { color: var(--blue); position: relative; display: inline-block; }
.hero__h1 .ac::after {
    content:''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--blue), #60c8ff);
    border-radius: 2px; transform: scaleX(0); transform-origin: left;
    animation: lineIn .8s 1.1s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes lineIn { to { transform: scaleX(1); } }
.hero__sub {
    font-size: clamp(14.5px, 1.5vw, 17px); color: var(--g1);
    line-height: 1.7; margin-bottom: 24px; max-width: 540px;
    opacity: 0; transform: translateY(20px); animation: heroUp .7s .48s forwards;
}
.hero__bullets {
    display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px;
    opacity: 0; transform: translateY(20px); animation: heroUp .7s .58s forwards;
}
.hero__bullets li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14.5px; color: var(--g1);
}
.hero__bullets .ck {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(67,97,238,.15); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; margin-top: 1px;
}

/* Trust badge (años de experiencia) */
.trust {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; background: rgba(67,97,238,.06);
    border: 1px solid var(--border-b); border-radius: 12px;
    opacity: 0; transform: translateY(20px); animation: heroUp .7s .72s forwards;
}
.trust__ico {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
    background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
}
.trust__ico svg { width: 20px; height: 20px; }
.trust__title { font-family: var(--fd); font-size: 13px; font-weight: 700; color: var(--white); }
.trust__sub { font-size: 12px; color: var(--g2); margin-top: 2px; }

@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

/* Hero right: form */
.hero__form-wrap {
    position: sticky; top: calc(var(--topbar) + var(--nav) + 24px);
    opacity: 0; transform: translateY(30px); animation: heroUp .8s .35s forwards;
}
.lead-form {
    background: var(--card);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    position: relative; overflow: hidden;
}
.lead-form::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background: linear-gradient(90deg, var(--blue), #60c8ff);
}
.lead-form__head { margin-bottom: 18px; }
.lead-form__title { font-family: var(--fd); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.lead-form__sub { font-size: 13px; color: var(--g2); }
.lead-form .fg { margin-bottom: 12px; }
.lead-form input, .lead-form textarea {
    width: 100%; background: var(--bg); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 14px; color: var(--white);
    font-family: var(--fb); font-size: 14px; outline: none;
    transition: border-color .2s, background .2s;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--g3); }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--blue); background: rgba(67,97,238,.04); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form__btn {
    width: 100%; padding: 14px; background: var(--blue); color: #fff;
    border-radius: 10px; font-size: 15px; font-weight: 700;
    font-family: var(--fb); cursor: pointer; transition: all .25s;
    margin-top: 6px;
}
.lead-form__btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 28px var(--blue-glow); }
.lead-form__note { font-size: 11px; color: var(--g3); text-align: center; margin-top: 12px; }

/* === SECTIONS === */
section { padding: 80px 0; position: relative; }
section.alt { background: var(--bg2); }
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec-h2 {
    font-size: clamp(26px, 3vw, 38px); font-weight: 800;
    letter-spacing: -0.025em; line-height: 1.15; margin-top: 14px;
}
.sec-h2 .ac { color: var(--blue); }
.sec-p { color: var(--g2); font-size: 15px; line-height: 1.7; margin-top: 12px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* === QUICK BENEFITS GRID === */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bn {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--rs); padding: 26px 22px;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    position: relative; overflow: hidden;
}
.bn::before {
    content:''; position:absolute; top:0; left:0; right:0; height:2px;
    background: linear-gradient(90deg, var(--blue), #60c8ff);
    transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.bn:hover { transform: translateY(-4px); border-color: var(--border-b); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.bn:hover::before { transform: scaleX(1); }
.bn__ico {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(67,97,238,.1); border: 1px solid var(--border-b);
    color: var(--blue); display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.bn:hover .bn__ico { background: var(--blue); color: #fff; transform: scale(1.1) rotate(-5deg); }
.bn__ico svg { width: 20px; height: 20px; }
.bn__title { font-family: var(--fd); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bn__desc { font-size: 13px; color: var(--g2); line-height: 1.6; }

/* === INCLUDES LIST === */
.includes-list {
    max-width: 760px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
}
.inc-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--rs);
    transition: all .3s;
    font-size: 14.5px; color: var(--g1);
}
.inc-item:hover { border-color: var(--border-b); transform: translateX(4px); }
.inc-item .ck {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; margin-top: 1px;
}

/* === RESULTS METRICS === */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res {
    text-align: center; padding: 44px 24px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--rs); position: relative; overflow: hidden;
    transition: all .4s cubic-bezier(.16,1,.3,1);
}
.res::before {
    content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
    background: linear-gradient(90deg, var(--blue), #60c8ff);
    transform: scaleX(0); transform-origin: left; transition: transform .5s;
}
.res:hover { transform: translateY(-6px); border-color: rgba(67,97,238,.4); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.res:hover::before { transform: scaleX(1); }
.res__n { font-family: var(--fd); font-size: clamp(40px, 4.5vw, 56px); font-weight: 800; color: var(--blue); letter-spacing: -0.035em; line-height: 1; }
.res__l { font-size: 12.5px; color: var(--g2); margin-top: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }

/* === URGENCY BANNER === */
.urgency { padding: 56px 0; background: linear-gradient(135deg, rgba(67,97,238,.08), rgba(67,97,238,.02)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.urgency__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.urgency__text {
    display: flex; align-items: center; gap: 14px;
    font-size: 16px; font-weight: 600; color: var(--white);
}
.urgency__icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%; background: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(67,97,238,.45); } 50% { box-shadow: 0 0 0 14px rgba(67,97,238,0); } }
.urgency__btn {
    padding: 12px 28px; background: var(--blue); color: #fff;
    border-radius: 10px; font-size: 14px; font-weight: 700;
    transition: all .25s; white-space: nowrap;
}
.urgency__btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--blue-glow); }

/* === FAQ === */
.faqs { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--rs); padding: 20px 26px;
    transition: border-color .25s;
}
.faq:hover { border-color: var(--border-b); }
.faq[open] { border-color: var(--blue); }
.faq summary {
    cursor: pointer; list-style: none; font-weight: 600; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content:'+'; font-size: 22px; color: var(--blue); transition: transform .3s; line-height: 1; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--g2); font-size: 14px; line-height: 1.7; margin-top: 12px; }

/* === FINAL CTA === */
.final-cta {
    padding: 90px 0; text-align: center;
    background: var(--bg); position: relative; overflow: hidden;
    border-top: 1px solid var(--border);
}
.final-cta::before {
    content:''; position:absolute; top:-200px; left:50%; transform:translateX(-50%);
    width:800px; height:600px; background:var(--blue); border-radius:50%;
    filter:blur(180px); opacity:.10; pointer-events:none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.15; }
.final-cta p { color: var(--g2); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.final-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.final-cta__phone { font-size: 13px; color: var(--g2); }
.final-cta__phone a { color: var(--blue); font-weight: 600; }
.final-cta__phone a:hover { text-decoration: underline; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; font-size: 14.5px; font-weight: 600;
    border-radius: 10px; transition: all .25s; font-family: var(--fb);
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 32px var(--blue-glow); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa {
    background: #25D366; color: #fff;
    padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
    display: inline-flex; align-items: center; gap: 10px; transition: all .25s;
}
.btn-wa:hover { background: #1db954; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.35); }
.btn-lg { padding: 15px 30px; font-size: 15px; }

/* === FOOTER === */
.footer { padding: 36px 0 28px; border-top: 1px solid var(--border); background: var(--bg2); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__logo img { height: 32px; }
.footer__copy { font-size: 12px; color: var(--g3); }
.footer__copy b { color: var(--blue); font-weight: 500; }
.footer__links { display: flex; gap: 22px; font-size: 13px; color: var(--g2); }
.footer__links a:hover { color: var(--white); }

/* === WHATSAPP FLOAT === */
.wa-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 200;
    width: 54px; height: 54px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,.4); transition: all .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.wa-float::before { content:''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,.4); animation: wap 2s infinite; }
@keyframes wap { to { transform: scale(1.45); opacity: 0; } }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* === SCROLL REVEAL === */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.rv.on { opacity: 1; transform: translateY(0); }

/* Split text */
.sec-h2 .word { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.1; }
.sec-h2 .word-i { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.16,1,.3,1); will-change: transform; }
.sec-h2.split-on .word-i { transform: translateY(0); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .hero__grid2 { grid-template-columns: 1fr; gap: 36px; }
    .hero__form-wrap { position: static; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .includes-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    section { padding: 64px 0; }
    .hero { padding: calc(var(--topbar) + var(--nav) + 32px) 0 48px; }
    /* Topbar mobile: phone visible siempre, WA solo ícono */
    .topbar { font-size: 11px; height: 32px; }
    :root { --topbar: 32px; }
    .topbar .phone { font-weight: 700; }
    .topbar .wa span { display: none; }
    /* Nav mobile: glassmorphism intacto, contenido más compacto pero VISIBLE */
    :root { --nav: 56px; }
    .nav__inner { gap: 10px; }
    .nav__logo img { height: 26px; }
    .nav__cta { font-size: 12px; padding: 8px 16px; }
    .urgency__inner { flex-direction: column; text-align: center; }
    .urgency__text { flex-direction: column; }
    .lead-form { padding: 24px 20px; }
    .final-cta__btns { flex-direction: column; align-items: stretch; }
    .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .rv, .sec-h2 .word-i { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════
   PREMIUM FX — Cursor blob + Button distort
   Inspirado en QClay / Awwwards
═══════════════════════════════════════════ */

/* CURSOR BLOB: punto pequeño discreto que crece sobre CTAs (mix-blend-mode invert) */
.cursor-blob {
    position: fixed; top: 0; left: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #60c8ff;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    transition: opacity .3s ease,
                width .4s cubic-bezier(.34,1.56,.64,1),
                height .4s cubic-bezier(.34,1.56,.64,1),
                background-color .3s;
    will-change: transform, width, height;
}
.cursor-blob.on { opacity: 1; }
/* Hover sobre CTA principal: tamaño similar al botón */
/* Hover sobre CTA: contenido dentro del botón (≤ alto del CTA, nunca lo excede) */
.cursor-blob.hover-cta { width: 34px; height: 34px; background: #4361EE; }
/* Hover sobre link cualquiera: crece levemente */
.cursor-blob.hover-link { width: 22px; height: 22px; }
/* Touch devices: desactivado completamente */
@media (hover: none), (max-width: 768px) {
    .cursor-blob { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .cursor-blob { display: none !important; }
}

