@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #5b4fff;
    --primary-dark: #4a36f0;
    --primary-light: #eceeff;
    --primary-glow: rgba(91,79,255,0.22);
    --green: #00cc76;
    --red: #ff3347;
    --amber: #ff9f0a;
    --bg: #f0f2f8;
    --surface: #ffffff;
    --border: #e2e8f2;
    --text: #0d0f1a;
    --text-2: #2d3244;
    --text-muted: #5c6480;
    --nav-bg: #08091a;
    --footer-bg: #08091a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */

header {
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 66px;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #5b4fff 0%, #9333ea 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(120deg, #a5b4fc 0%, #e0d7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
}

.has-dropdown { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    cursor: pointer;
}

.has-dropdown:hover .nav-link {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

.chevron {
    font-size: 0.6rem;
    opacity: 0.5;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-block;
}

.has-dropdown:hover .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
    padding: 0.5rem;
    min-width: 270px;
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 300;
    animation: dropIn 0.16s cubic-bezier(0.16,1,0.3,1);
}

.drop-wide { min-width: 290px; }

.dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.has-dropdown:hover .dropdown { display: block; }

.drop-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
}

.drop-item:hover { background: #f8fafc; }

.drop-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 9px;
    flex-shrink: 0;
}

.drop-text strong {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.1rem;
}

.drop-text span {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

.currency-sel {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    border-radius: 8px;
    padding: 0.38rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    transition: all 0.15s;
}

.currency-sel:hover, .currency-sel:focus {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.currency-sel option { background: #08091a; color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 9px;
    transition: background 0.15s;
}

.nav-toggle:hover { background: rgba(255,255,255,0.1); }

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all 0.22s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   MAIN
══════════════════════════════════════ */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

/* ══════════════════════════════════════
   HERO — SPLIT LAYOUT
══════════════════════════════════════ */

.hero {
    background: linear-gradient(145deg, #08091a 0%, #1c0d5e 45%, #2e0e96 70%, #08091a 100%);
    margin: 0 -2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 30%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(130,80,255,0.42) 0%, transparent 58%);
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 5.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.22);
    color: #a5b4fc;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.38rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(120deg, #a78bfa 0%, #e879f9 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    background: linear-gradient(135deg, #5b4fff 0%, #9333ea 100%);
    color: white;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(79,70,229,0.42);
    transition: all 0.22s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(79,70,229,0.55);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ht-item {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
}

.ht-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

/* HERO MOCKUP CARD */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    position: relative;
}

.mockup-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 1.75rem;
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 60px rgba(79,70,229,0.18), inset 0 1px 0 rgba(255,255,255,0.1);
    animation: floatCard 5s ease-in-out infinite;
    transform: rotate(-2deg);
}

@keyframes floatCard {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-2deg) translateY(-12px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mockup-icon-wrap {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5b4fff, #9333ea);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mockup-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.mockup-sub-title {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.15rem;
}

.mockup-fields {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.mockup-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.mockup-field span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.mockup-field strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
}

.mockup-result-block {
    background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(124,58,237,0.2));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.1rem;
    text-align: center;
}

.mockup-result-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.35rem;
}

.mockup-result-value {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(120deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mockup-result-detail {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    margin-top: 0.35rem;
}

.mockup-cta-btn {
    display: block;
    text-align: center;
    padding: 0.65rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #a5b4fc;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}

.mockup-cta-btn:hover {
    background: rgba(255,255,255,0.13);
    color: #fff;
}

.mockup-badge-float {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.25);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    align-self: flex-end;
    animation: floatCard 5s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* ══════════════════════════════════════
   BENEFITS STRIP
══════════════════════════════════════ */

.benefits-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    margin: 0 -2rem 3.5rem;
    box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}

.benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.75rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.benefit-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ══════════════════════════════════════
   HERRAMIENTAS / CATEGORIES
══════════════════════════════════════ */

.herramientas { padding-bottom: 1rem; }

.categoria { margin-bottom: 3rem; }

.cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.cat-emoji {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cat-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
}

.cat-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* GRID + CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: transform 0.22s cubic-bezier(0.4,0,0.2,1), box-shadow 0.22s, border-color 0.22s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-gradient, linear-gradient(90deg, #5b4fff, #a78bfa));
    border-radius: 18px 18px 0 0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15,23,42,0.1), 0 6px 16px rgba(0,0,0,0.06);
    border-color: rgba(79,70,229,0.12);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.1rem;
}

.card-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #5b4fff, #9333ea);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: -0.2px;
}

.card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* ══════════════════════════════════════
   STATS SECTION
══════════════════════════════════════ */

.stats-section {
    background: linear-gradient(145deg, #08091a 0%, #1c0d5e 100%);
    margin: 1rem -2rem 0;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(79,70,229,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    padding: 2rem 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    transition: all 0.22s;
}

.stat-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(99,102,241,0.25);
    transform: translateY(-3px);
}

.stat-num {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(120deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.6rem;
    letter-spacing: -2px;
}

.stat-item span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    display: block;
}

/* ══════════════════════════════════════
   COMO FUNCIONA
══════════════════════════════════════ */

.como-funciona {
    padding: 5.5rem 0 2.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.75px;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.section-subhead {
    font-size: 1rem;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: calc(33.33% - 1px);
    right: calc(33.33% - 1px);
    height: 2px;
    background: linear-gradient(90deg, #5b4fff, #9333ea);
    opacity: 0.2;
    pointer-events: none;
}

.step-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.22s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15,23,42,0.1);
    border-color: rgba(79,70,229,0.15);
}

.step-number {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #5b4fff, #9333ea);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.2px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */

.cta-banner {
    background: linear-gradient(135deg, #4a36f0 0%, #9333ea 50%, #c026d3 100%);
    border-radius: 28px;
    padding: 5rem 3rem;
    text-align: center;
    margin: 3.5rem 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(79,70,229,0.4);
}

.cta-blob-1 {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.cta-blob-2 {
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 340px;
    height: 340px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.cta-banner h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.75px;
    line-height: 1.15;
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.25rem;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.4rem;
    background: white;
    color: #4338ca;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transition: all 0.22s;
    letter-spacing: -0.1px;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */

.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
   CALCULADORA PAGES
══════════════════════════════════════ */

.calculadora-page {
    max-width: 880px;
    margin: 0 auto;
    padding-top: 2.5rem;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }

.calculadora-page > h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}

.subtitulo { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; }

.calculadora-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,23,42,0.12), 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.formulario { background: var(--surface); padding: 2.25rem; }

.formulario-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.seccion-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 1.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.campo { margin-bottom: 1.1rem; }

.campo label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 0.35rem;
}

.input-wrap { position: relative; display: flex; align-items: center; }

.input-pre {
    position: absolute;
    left: 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.input-suf {
    position: absolute;
    right: 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
}

.campo input, .campo select {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fafbfd;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    -moz-appearance: textfield;
}

.campo input::-webkit-outer-spin-button,
.campo input::-webkit-inner-spin-button { -webkit-appearance: none; }

.campo input:focus, .campo select:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.campo input.with-pre { padding-left: 2.6rem; }
.campo input.with-suf { padding-right: 2.5rem; }

.btn-calcular {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #5b4fff 0%, #9333ea 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79,70,229,0.32);
    transition: all 0.2s;
}

.btn-calcular:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(79,70,229,0.44);
    transform: translateY(-1px);
}

.btn-calcular:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(79,70,229,0.3); }

.resultados {
    background: linear-gradient(160deg, #08091a 0%, #1c0d5e 100%);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
}

.resultados-espera {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.75rem;
    padding: 2rem 0;
}

.espera-icon { font-size: 2.5rem; opacity: 0.2; display:flex; align-items:center; justify-content:center; }
.espera-icon svg { width: 54px; height: 54px; color: white; }

.resultados-espera p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    max-width: 180px;
    line-height: 1.6;
}

.resultados-data { display: none; }

.resultados-data h2 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.3);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 0.25rem;
}

.resultado-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    animation: fadeUp 0.3s ease forwards;
}

.resultado-item:last-child { border-bottom: none; }

.resultado-item span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.25rem;
}

.resultado-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.resultado-item.highlight strong {
    font-size: 2.2rem;
    background: linear-gradient(120deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resultado-item.positivo strong { color: #34d399; }
.resultado-item.negativo strong { color: #f87171; }

.msg-presupuesto {
    margin-top: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    line-height: 1.5;
}

/* ── SEO CONTENT ── */
.contenido-seo {
    background: var(--surface);
    border-radius: 18px;
    padding: 2.25rem;
    border: 1px solid var(--border);
    margin-top: 1.5rem;
}

.contenido-seo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.contenido-seo h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.4rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contenido-seo h3::before {
    content: '';
    width: 3px;
    height: 1em;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.contenido-seo p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

.contenido-seo ul { list-style: none; margin-top: 0.5rem; }

.contenido-seo ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.35rem 0 0.35rem 1.4rem;
    position: relative;
    line-height: 1.6;
}

.contenido-seo ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ── RELACIONADAS ── */
.relacionadas { margin-top: 2rem; }

.rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.rel-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.18s;
}

.rel-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(79,70,229,0.1);
    transform: translateY(-2px);
}

.rel-icon { font-size: 1.5rem; flex-shrink: 0; width: 32px; height: 32px; display:flex; align-items:center; justify-content:center; }
.rel-icon svg { width: 22px; height: 22px; }
.rel-info { flex: 1; min-width: 0; }

.rel-info strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rel-info span { display: block; font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }
.rel-arrow { font-size: 0.85rem; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── AD UNIT ── */
.ad-unit { margin: 1.5rem 0; }

/* ── AVISO LEGAL ── */
.aviso-legal {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: #fafbfd;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-top: 1.25rem;
    line-height: 1.5;
}

/* ── ERROR PAGE ── */
.error-page { text-align: center; padding: 5rem 2rem; max-width: 640px; margin: 0 auto; }

.error-code {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(120deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-page h1 { font-size: 1.6rem; font-weight: 800; color: var(--text); margin-bottom: 0.75rem; }

.error-page p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.7; }

.error-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; }

.error-card {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all 0.18s;
}

.error-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79,70,229,0.12);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-ir-inicio {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #5b4fff 0%, #9333ea 100%);
    color: white;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79,70,229,0.32);
    transition: all 0.2s;
}

.btn-ir-inicio:hover { box-shadow: 0 6px 20px rgba(79,70,229,0.44); transform: translateY(-1px); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */

footer { background: var(--footer-bg); margin-top: 4rem; }

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 0.85rem;
}

.footer-logo .logo-icon { width: 32px; height: 32px; font-size: 0.95rem; }

.footer-logo span:last-child {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(120deg, #a5b4fc, #e0d7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p { font-size: 0.83rem; color: #475569; line-height: 1.75; max-width: 240px; margin-bottom: 1rem; }

.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 0.3px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #475569;
    margin-bottom: 0.9rem;
}

.footer-col a {
    display: block;
    font-size: 0.83rem;
    color: #334155;
    text-decoration: none;
    margin-bottom: 0.55rem;
    transition: color 0.15s;
}

.footer-col a:hover { color: #a5b4fc; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p { font-size: 0.77rem; color: #334155; }
.footer-disc { font-size: 0.72rem !important; color: #1e293b !important; font-style: italic; }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes dropIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* SVG icon sizing */
.card-icon svg,
.cat-emoji svg,
.benefit-icon svg { width: 26px; height: 26px; }

.drop-icon svg { width: 20px; height: 20px; }

.mockup-icon-wrap svg { width: 22px; height: 22px; color: white; }

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 5rem 2rem 4rem;
    }

    .hero-content { max-width: 100%; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-trust-row { justify-content: center; }
    .hero-visual { align-items: center; }
    .hero h1 { font-size: 2.8rem; }
    .mockup-card { max-width: 400px; animation: none; transform: none; }
    .mockup-badge-float { animation: none; }
    .hero-glow { left: 50%; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .benefits-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 680px) {
    .nav-links {
        position: absolute;
        top: 66px;
        left: 0; right: 0;
        background: var(--nav-bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.25rem 1.75rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        z-index: 199;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
    }

    .nav-links.nav-open { display: flex; }

    .has-dropdown { width: 100%; }

    .nav-link {
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255,255,255,0.3) !important;
        background: none !important;
        padding: 1rem 0.5rem 0.35rem;
        pointer-events: none;
        cursor: default;
        justify-content: flex-start;
    }

    .chevron { display: none; }

    .dropdown {
        display: block !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        min-width: auto !important;
        animation: none !important;
    }

    .dropdown::before { display: none; }
    .drop-item { padding: 0.55rem 0.5rem; border-radius: 10px; }
    .drop-item:hover { background: rgba(255,255,255,0.05) !important; }
    .drop-icon { background: rgba(255,255,255,0.06) !important; width: 34px; height: 34px; }
    .drop-text strong { color: #e2e8f0 !important; font-size: 0.83rem; }
    .drop-text span { color: rgba(255,255,255,0.3) !important; }

    main { padding: 0 1.25rem 3rem; }

    .hero { margin: 0 -1.25rem 0; }
    .hero-inner { padding: 4rem 1.5rem 3.5rem; }
    .hero h1 { font-size: 2rem; letter-spacing: -0.5px; }
    .hero-sub { font-size: 0.95rem; }
    .btn-hero, .btn-hero-outline { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    .mockup-card { max-width: 100%; }

    .benefits-strip { margin: 0 -1.25rem 2.5rem; }
    .benefits-inner { padding: 2rem 1.25rem; }

    .stats-section { margin: 1rem -1.25rem 0; padding: 4rem 1.25rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-num { font-size: 2.4rem; }

    .como-funciona { padding: 4rem 0 1.5rem; }
    .section-heading h2 { font-size: 1.75rem; }
    .steps-grid { gap: 1rem; }
    .step-card { padding: 1.75rem 1.25rem; }

    .cta-banner { border-radius: 20px; padding: 3.5rem 1.5rem; margin: 2.5rem 0 0; }
    .cta-banner h2 { font-size: 1.75rem; }

    .calculadora-container { grid-template-columns: 1fr; }
    .calculadora-page { padding-top: 2rem; }
    .calculadora-page > h1 { font-size: 1.5rem; }
    .resultados { min-height: auto; }
    .rel-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.25rem 2rem; gap: 1.75rem; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 1.25rem; gap: 0.4rem; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; }
    .btn-hero, .btn-hero-outline { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   BLOG
══════════════════════════════════════ */

.blog-intro {
    max-width: 600px;
    margin-bottom: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.blog-card:hover {
    box-shadow: 0 8px 28px rgba(91,79,255,0.13);
    transform: translateY(-2px);
    border-color: rgba(91,79,255,0.25);
}

.blog-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    display: inline-flex;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    width: fit-content;
}

.blog-card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.blog-card p {
    font-size: 0.855rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.blog-card-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #9333ea 100%);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-cta h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.blog-cta p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin: 0;
}

.blog-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    text-decoration: none;
    width: fit-content;
    margin-top: 0.25rem;
    transition: opacity 0.15s;
}

.blog-cta .btn-cta:hover { opacity: 0.9; }

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}
