/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 1rem 2rem;
    backdrop-filter: blur(20px);
    background: rgba(13, 31, 45, 0.95);
    border-bottom: 1px solid rgba(147, 250, 228, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}



.nav-logo svg {
    height: 36px;
    width: auto;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-cta,
button.nav-cta {
    background: var(--gradient-accent);
    color: var(--dark) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover,
button.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(104, 237, 203, 0.4) !important;
    color: var(--dark) !important;
}

/* ─── HERO LOGO ─── */
.hero-logo-wrap {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-logo-svg {
    width: 320px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(104, 237, 203, 0.25));
    animation: logoGlow 4s ease-in-out infinite alternate;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 2rem 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

/* animated mesh blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatBlob 8s ease-in-out infinite alternate;
    z-index: -1;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #68edcb;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #3bf243;
    bottom: -100px;
    left: -100px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #93fae4;
    top: 40%;
    left: 40%;
    animation-delay: -5s;
}

/* diagonal grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(147, 250, 228, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 250, 228, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(104, 237, 203, 0.12);
    border: 1px solid rgba(104, 237, 203, 0.3);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--mint-strong);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary,
button.btn-primary {
    display: inline-flex;
    align-items: center;
    border: none;
    box-sizing: border-box;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(104, 237, 203, 0.45);
}

.btn-primary:hover::after {
    left: 150%;
}

.step-number {
    transition: box-shadow 0.3s, transform 0.3s;
}

.step:hover .step-number {
    box-shadow: 0 0 22px rgba(104, 237, 203, 0.55);
    transform: scale(1.1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(147, 250, 228, 0.07);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.6s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Archivo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.brand-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(147, 250, 228, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1rem;
}

.card-brand-name {
    font-family: 'Archivo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.analysis-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(147, 250, 228, 0.04);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.analysis-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: var(--mint-strong);
    box-shadow: 0 0 8px var(--mint-strong);
}

.dot-yellow {
    background: #ffd060;
    box-shadow: 0 0 8px #ffd060;
}

.dot-cyan {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.analysis-progress {
    margin-top: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 100px;
    width: 82%;
    animation: growBar 1.5s ease 1.2s both;
}

/* Floating badges on card */
.float-badge {
    position: absolute;
    background: rgba(13, 31, 45, 0.9);
    border: 1px solid rgba(147, 250, 228, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: floatCard 4s ease-in-out infinite alternate;
}

.float-badge-1 {
    top: -20px;
    right: 20px;
    color: var(--mint-strong);
    animation-delay: 0s;
}

.float-badge-2 {
    bottom: -20px;
    left: 20px;
    color: var(--cyan);
    animation-delay: -2s;
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(147, 250, 228, 0.08);
    border-bottom: 1px solid rgba(147, 250, 228, 0.08);
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Fade masks on left and right */
.trust-bar::before,
.trust-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.trust-bar::before {
    left: 0;
    background: linear-gradient(to right, #0c1a24 0%, transparent 100%);
}

.trust-bar::after {
    right: 0;
    background: linear-gradient(to left, #0c1a24 0%, transparent 100%);
}

.trust-ticker-wrap {
    display: flex;
    width: max-content;
    animation: trustTicker 28s linear infinite;
}

.trust-ticker-wrap:hover {
    animation-play-state: paused;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1.25rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    white-space: nowrap;
    padding: 0 2.5rem;
    position: relative;
}

/* Dot separator between items */
.trust-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(147, 250, 228, 0.25);
}

.trust-icon {
    display: flex;
    align-items: center;
    color: var(--blue-light);
    flex-shrink: 0;
}

.trust-icon svg {
    stroke: var(--blue-light);
}

/* ─── SECTIONS ─── */
section {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-badge {
    display: inline-block;
    background: rgba(104, 237, 203, 0.1);
    border: 1px solid rgba(104, 237, 203, 0.25);
    color: var(--mint);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    line-height: 1.7;
}

/* ─── WHY US ─── */
.why-section {
    background: rgba(255, 255, 255, 0.01);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.why-card {
    background: var(--gradient-card);
    border: 1px solid rgba(147, 250, 228, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(104, 237, 203, 0.3);
    box-shadow: 0 12px 40px rgba(104, 237, 203, 0.1);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--mint);
}

.why-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--mint);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}


/* ─── NEW PROCESS TIMELINE ─── */
.process-timeline {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(147, 250, 228, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(147, 250, 228, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.process-card:hover::before {
    opacity: 1;
}

.process-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.process-card:hover .process-num {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0px transparent;
}

.process-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.process-card:hover .process-info h3 {
    color: var(--mint);
}

.process-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .process-card {
        flex-direction: column;
        gap: 1.2rem;
        padding: 2rem;
    }

    .process-num {
        font-size: 2.8rem;
    }

    .process-info h3 {
        font-size: 1.2rem;
    }
}


/* ─── SIMULATOR CTA ─── */
.simulator-cta {
    background: linear-gradient(135deg, rgba(47, 72, 88, 0.8), rgba(23, 86, 97, 0.8));
    border: none;
    border-radius: 0;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.simulator-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: rgba(104, 237, 203, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.simulator-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.simulator-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
}

/* ─── PRICING ─── */
.pricing-card {
    background: linear-gradient(135deg, rgba(23, 86, 97, 0.5), rgba(0, 107, 130, 0.3));
    border: 1px solid rgba(147, 250, 228, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 480px;
    margin: 3rem auto 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.pricing-badge {
    display: inline-block;
    background: rgba(59, 242, 67, 0.15);
    border: 1px solid rgba(59, 242, 67, 0.3);
    color: var(--mint-strong);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.price-old {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
    font-family: 'Archivo', sans-serif;
    margin-bottom: 0.25rem;
}

.price-main {
    font-family: 'Archivo', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-features li::before {
    content: '✓';
    color: var(--mint-strong);
    font-weight: 700;
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   STANDARD BLOCK SYSTEM — MARCA CENTER
   Versión 2.0 — Diseño Unificado
════════════════════════════════════════ */

/* ─── SECTION HEADER (Encabezado estándar centrado) ─── */
.std-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.std-header .section-badge {
    margin-bottom: 1.2rem;
}

.std-header .section-title {
    margin-bottom: 1.2rem;
}

.std-header .section-subtitle {
    margin: 0 auto;
}

/* ─── TIPO A: BENEFIT GRID (why-grid, ya existe — estilos reforzados) ─── */
/* Las clases .why-grid y .why-card ya existen. Se mantienen. */

/* ─── TIPO B: STEPS GRID (proceso numerado 4 pasos) ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--gradient-card);
    border: 1px solid rgba(147, 250, 228, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(104, 237, 203, 0.25);
    box-shadow: 0 12px 40px rgba(104, 237, 203, 0.08);
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-card.step-highlight {
    background: transparent;
    padding: 1px;
    border: none;
    box-shadow: none;
}

.step-card.step-highlight .step-inner {
    background: #080a09;
    border-radius: 19px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-sizing: border-box;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.step-num.step-num-accent {
    background: rgba(104, 237, 203, 0.1);
    color: var(--mint);
    border: 1px solid var(--mint);
}

.step-num.step-num-plain {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-num.step-num-done {
    background: var(--mint);
    color: #000;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: 'Archivo', sans-serif;
}

.step-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── TIPO C: DEEP INFO BLOCK (2 columnas texto profundo) ─── */
.deep-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 4rem;
}

.deep-info-card {
    padding: 3.5rem;
    border-radius: 28px;
    transition: transform 0.3s;
}

.deep-info-card:hover {
    transform: translateY(-3px);
}

.deep-info-card.card-teal {
    background: linear-gradient(145deg, rgba(23, 86, 97, 0.35), rgba(23, 86, 97, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.deep-info-card.card-mint {
    background: linear-gradient(145deg, rgba(147, 250, 228, 0.06), rgba(147, 250, 228, 0.01));
    border: 1px solid rgba(147, 250, 228, 0.13);
}

.deep-info-heading {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.deep-info-bar {
    width: 3px;
    height: 52px;
    border-radius: 3px;
    flex-shrink: 0;
}

.deep-info-bar.bar-mint {
    background: var(--mint);
}

.deep-info-bar.bar-white {
    background: rgba(255, 255, 255, 0.7);
}

.deep-info-card h3 {
    font-size: 1.7rem;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.deep-info-card p {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0;
}

@media (max-width: 768px) {
    .deep-info-grid {
        grid-template-columns: 1fr;
    }

    .deep-info-card {
        padding: 2.5rem 2rem;
    }
}

/* ─── TIPO D: FAQ ACORDEÓN (nuevo, premium) ─── */
.faq-accordion {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(147, 250, 228, 0.08);
    padding: 0;
    transition: padding 0.3s;
}

.faq-item:first-child {
    border-top: 1px solid rgba(147, 250, 228, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
    gap: 1.5rem;
    padding: 1.8rem 0;
    transition: color 0.25s;
    user-select: none;
}

.faq-question:hover {
    color: var(--mint);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(104, 237, 203, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.35s ease;
    color: var(--mint);
}

.faq-item.open .faq-icon {
    background: rgba(104, 237, 203, 0.12);
    border-color: var(--mint);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.8rem;
}

/* Legacy arrow class — backwards compat */
.faq-arrow {
    color: var(--mint);
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

/* ─── TIPO E: FINAL CTA — ya existe (.final-cta-section) ─── */
/* Mantener como está. */

/* ─── RESPONSIVE GRID 2 (ya existente, refuerzo) ─── */
.responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .responsive-grid-2 {
        grid-template-columns: 1fr;
    }
}


/* ─── FOOTER 2.0 ─── */
footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(147, 250, 228, 0.05);
    padding: 6rem 2rem 3rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(104, 237, 203, 0.3);
    border-radius: 50%;
}

.footer-list a, .footer-list button {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.footer-list a:hover, .footer-list button:hover {
    color: var(--mint);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(104, 237, 203, 0.1);
    border-color: var(--mint);
    color: var(--mint);
    transform: translateY(-3px);
}

.footer-divider {
    max-width: 1200px;
    margin: 4rem auto 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* ─── LIVE INPUT ─── */
/* ─── LEAD CAPTURE CARD ─── */
.lead-card {
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid rgba(147, 250, 228, 0.15);
    border-radius: 20px;
    padding: 2rem 2rem 1.5rem;
    backdrop-filter: blur(16px);
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(104, 237, 203, 0.05);
}

.lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(104, 237, 203, 0.4), transparent);
}

.lead-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.lead-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-green {
    background: #3bf243;
}

.lead-field {
    margin-bottom: 1.1rem;
    position: relative;
}

.lead-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.lead-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(147, 250, 228, 0.15);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    box-sizing: border-box;
    resize: none;
}

.lead-input-name {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    letter-spacing: 0.02em;
}

.lead-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
    font-size: 0.85rem;
}

.lead-input-name::placeholder {
    font-family: 'Work Sans', sans-serif;
}

.lead-input:focus {
    border-color: rgba(104, 237, 203, 0.5);
    box-shadow: 0 0 0 3px rgba(104, 237, 203, 0.08);
    background: rgba(255, 255, 255, 0.07);
}

.lead-char-count {
    position: absolute;
    bottom: 0.6rem;
    right: 0.8rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.lead-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    background: var(--gradient-accent);
    border: none;
    border-radius: 10px;
    color: #0a1628;
    font-family: 'Archivo', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.lead-cta:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
}

.lead-cta:not(:disabled):hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(104, 237, 203, 0.25);
}

.lead-cta:not(:disabled):active {
    transform: translateY(0);
}

.lead-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    justify-content: center;
}

.lead-footer svg {
    stroke: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ─── LIGHT SECTION TRANSITIONS ─── */
.section-light+section,
section+.section-light {
    position: relative;
}

.section-light {
    position: relative;
}

/* Override card gradient text in light mode */
.section-light .why-card::after {
    background: linear-gradient(90deg, #006b82, #00919e);
}

/* Override step hover glow in light */
.section-light .step:hover .step-number {
    box-shadow: 0 0 22px rgba(0, 145, 158, 0.4);
}

/* Make FAQ answer readable in light */
.section-light #faq-container .faq-item.open .faq-answer {
    color: rgba(47, 72, 88, 0.7);
}

/* Simulator CTA on light bg */
.section-light .simulator-cta {
    background: linear-gradient(135deg, #ffffff, #e8f7f3);
    border-color: rgba(0, 145, 158, 0.2);
    color: #2f4858;
}

.section-light .simulator-cta h2 {
    color: #2f4858;
}

.section-light .simulator-cta p {
    color: rgba(47, 72, 88, 0.65);
}

/* ─── COST SIMULATOR ─── */
.cost-simulator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cost-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cost-left p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cost-left-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.biz-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    text-align: center;
}

.biz-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.biz-btn:hover {
    background: rgba(104, 237, 203, 0.08);
    border-color: rgba(104, 237, 203, 0.25);
    color: var(--mint);
}

.biz-btn.active {
    background: rgba(104, 237, 203, 0.12);
    border-color: rgba(104, 237, 203, 0.4);
    color: var(--mint);
}

.logo-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.logo-btn {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.logo-btn.active {
    background: rgba(104, 237, 203, 0.12);
    border-color: rgba(104, 237, 203, 0.35);
    color: var(--mint);
}

.cost-right {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(147, 250, 228, 0.1);
    border-radius: 16px;
    padding: 2rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cost-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
}

.cost-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: rgba(255, 255, 255, 0.15);
    margin: 0 auto 0.75rem;
    display: block;
}

.cost-breakdown {
    display: none;
}

.cost-breakdown.show {
    display: block;
}

.cost-classes-badge {
    display: inline-block;
    background: rgba(104, 237, 203, 0.1);
    border: 1px solid rgba(104, 237, 203, 0.2);
    color: var(--mint);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.cost-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

.cost-label {
    color: rgba(255, 255, 255, 0.5);
}

.cost-val {
    color: var(--white);
    font-weight: 600;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 0.25rem;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
}

.cost-total-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Work Sans', sans-serif;
}

.cost-total-val {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cost-coffee {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: right;
}

.cost-breakdown .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}

.cost-note {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
}

/* ─── RISK SECTION ─── */
.risk-section {
    background: var(--bg-dark);
    padding: 6rem 2rem;
}

.risk-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.risk-section-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.risk-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 250, 228, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.risk-card:hover {
    border-color: rgba(104, 237, 203, 0.2);
    transform: translateY(-2px);
}

.risk-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    color: #ff8080;
}

.risk-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ff8080;
}

.risk-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff8080;
    margin-bottom: 0.75rem;
}

.risk-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.risk-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.risk-quote {
    margin-top: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(104, 237, 203, 0.3);
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

.risk-cta-wrap {
    text-align: center;
    margin-top: 3rem;
}

/* ─── RESPONSIVE QUERIES ─── */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        display: block;
        margin-top: 2rem;
        opacity: 1;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }



    .hero-logo-svg {
        width: 220px;
    }

    .section-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0.9rem 1.25rem;
    }

    .nav-logo {
        height: 28px;
    }

    .nav-logo svg {
        width: 130px;
        height: 28px;
    }

    .hero {
        padding: 5.5rem 1.25rem 2.5rem;
        min-height: auto;
    }

    .hero-logo-wrap {
        margin-bottom: 1rem;
    }

    .hero-logo-svg {
        width: 160px;
    }

    .hero-badge {
        font-size: 0.62rem;
        padding: 0.3rem 0.75rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.9rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem 2rem;
        flex-wrap: wrap;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    #heroCanvas {
        opacity: 0.3;
    }

    .float-badge {
        display: none;
    }

    .trust-item {
        font-size: 0.78rem;
        padding: 0 1.75rem;
    }

    .section-inner {
        padding: 3rem 1.25rem;
    }

    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
        line-height: 1.15;
    }

    .section-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .section-badge {
        font-size: 0.62rem;
    }

    .why-section .section-inner {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .why-card {
        padding: 1.25rem 1.5rem;
        border-radius: 10px;
    }

    .why-card h3 {
        font-size: 0.92rem;
        margin-bottom: 0.3rem;
    }

    .why-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .why-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.6rem;
    }

    .steps-section .section-inner {
        padding: 2.5rem 1.25rem;
    }

    .step {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(47, 72, 88, 0.08);
        margin-bottom: 0 !important;
    }

    .step:last-child {
        border-bottom: none;
    }

    .steps-line {
        display: none;
    }

    .step-number {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .step-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .step-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .risk-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .risk-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .risk-card h3 {
        font-size: 1rem;
    }

    .risk-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .risk-icon {
        width: 40px;
        height: 30px;
    }

    .simulator-cta {
        padding: 3rem 1.25rem;
    }

    .simulator-cta h2 {
        font-size: clamp(1.4rem, 6vw, 1.9rem) !important;
    }

    .cost-simulator {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .biz-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .biz-btn {
        padding: 0.8rem 0.5rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }

    .biz-btn svg {
        width: 18px;
        height: 18px;
    }

    .cost-right {
        padding: 1.5rem;
        min-height: auto;
    }

    .cost-right h3 {
        font-size: 0.85rem;
    }

    .cost-line {
        font-size: 0.82rem;
        padding: 0.6rem 0;
    }

    .cost-total {
        font-size: 1.3rem;
    }

    #faq-container {
        margin-top: 1.5rem !important;
        max-width: 100% !important;
    }

    .faq-item {
        padding: 0.75rem 0;
    }

    .faq-question {
        font-size: 0.88rem;
    }

    .faq-answer {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .faq-section .section-inner {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    footer {
        padding: 2rem 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 0.6rem 1.25rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-copy {
        font-size: 0.7rem;
    }
}

/* ─── MOBILE MENU & IOS ZOOM FIXES ─── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0;
}

.nav-hamburger span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 31, 45, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(147, 250, 228, 0.1);
        z-index: 100 !important;
        opacity: 0;
    }

    nav.scrolled .nav-links.active,
    .nav-links.active {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Prevent iOS Zoom on Inputs */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    .lead-input {
        font-size: 16px !important;
    }

    .lead-input-name {
        font-size: 18px !important;
    }

    .lead-label {
        font-size: 1rem !important;
    }
}


/* ─── INNER PAGES HERO & CONTENT ─── */
.page-hero {
    padding: 10rem 1.5rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(23, 86, 97, 0.4) 0%, transparent 100%);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero-badge {
    display: inline-block;
    background: rgba(104, 237, 203, 0.1);
    color: var(--mint);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(104, 237, 203, 0.2);
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

@media (max-width: 900px) {
    .page-hero {
        padding: 8rem 1.25rem 3rem;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 7rem 1.25rem 2.5rem;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 9vw, 2.5rem);
    }

    .page-hero p {
        font-size: 1rem;
    }
}


/* ─── INNER PAGES BLOCKS (Por Que Nosotros) ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(147, 250, 228, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 5rem;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.diff-card-main {
    grid-column: 1 / -1;
    background: rgba(104, 237, 203, 0.04);
    border-color: rgba(104, 237, 203, 0.15);
}

@media (max-width: 900px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }


}


/* ─── INNER PAGES BLOCKS (Como Funciona) ─── */
.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.process-step.last-step {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .process-step {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
}


/* ─── WHY CARD ACCORDION (MOBILE) ─── */
.why-arrow {
    display: none;
    color: var(--mint);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.why-card.open .why-arrow {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .why-card {
        cursor: pointer;
    }

    .why-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .why-card-title-group {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .why-icon {
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    .why-card h3 {
        margin-bottom: 0 !important;
        font-size: 0.95rem !important;
    }

    .why-arrow {
        display: block;
    }

    .why-card-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, margin-top 0.35s ease;
    }

    .why-card.open .why-card-content {
        max-height: 250px;
        margin-top: 1rem;
    }
}



/* ─── PRECIOS.HTML MOBILE FIXES ─── */
.biz-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.price-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 900px) {
    .biz-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .biz-grid-container {
        grid-template-columns: 1fr;
    }

    .price-result-grid {
        grid-template-columns: 1fr;
    }

    .price-result-grid>div {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }
}


/* ─── BLOG.HTML MOBILE FIXES ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CUSTOM OVERRIDES --- */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-visual {
        display: block !important;
        margin-top: 2rem;
    }
}

@media (min-width: 901px) {
    .btn-desktop-hide {
        display: none !important;
    }
}

/* ─── LEAD MODAL ─── */
.lead-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 45, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.lead-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lead-modal-container {
    width: 100%;
    max-width: 500px;
    background: rgba(13, 31, 45, 0.95);
    border: 1px solid rgba(147, 250, 228, 0.2);
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.lead-modal-overlay.active .lead-modal-container {
    transform: translateY(0);
}

.lead-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.8rem;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.lead-modal-close:hover {
    color: var(--white);
}

.lead-modal-container .lead-card {
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    margin: 0;
}

/* ─── PRICING PAGE ENHANCEMENTS ─── */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* Payment Diagram */
.payment-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
}

.flow-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 250, 228, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    text-align: center;
}

.flow-step::after {
    content: "→";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(147, 250, 228, 0.3);
    font-size: 1.2rem;
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 48px;
    height: 48px;
    background: rgba(104, 237, 203, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin: 0 auto 1rem;
}

.flow-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.flow-amount {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Extra Costs Section */
.extra-costs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.extra-cost-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.extra-cost-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(147, 250, 228, 0.2);
    transform: translateY(-4px);
}

.extra-cost-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.extra-cost-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    max-width: 60%;
}

.extra-cost-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--mint);
}

.extra-cost-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .payment-flow {
        grid-template-columns: 1fr;
    }

    .flow-step::after {
        content: "↓";
        right: auto;
        left: 50%;
        bottom: -1rem;
        top: auto;
        transform: translateX(-50%);
    }
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── FINAL CTA SECTION ─── */
.final-cta-section {
    background: linear-gradient(135deg, rgba(104, 237, 203, 0.1), rgba(0, 0, 0, 0.5));
    border-radius: 32px;
    text-align: center;
    border: 1px solid rgba(147, 250, 228, 0.2);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    margin: 4rem auto;
    max-width: 1100px;
}

.final-cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-size: 1.15rem;
}

.final-cta-section .cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .final-cta-section {
        padding: 4rem 1.5rem;
        margin: 2rem 1rem;
        border-radius: 20px;
    }
    
    .final-cta-section .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .final-cta-section .btn-primary,
    .final-cta-section .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════════════════
   SISTEMA DE RITMO VISUAL — SEPARACIÓN ENTRE SECCIONES
   Versión 3.0 — Marca Center Layout Rhythm System
══════════════════════════════════════════════════════════ */

/* ─── DIVISOR VISUAL entre secciones ─── */
.sect-divider {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(147, 250, 228, 0.15) 25%, rgba(147, 250, 228, 0.22) 50%, rgba(147, 250, 228, 0.15) 75%, transparent 100%);
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── SECCIÓN ALTERNADA — fondo ligeramente distinto para crear ritmo visual ─── */
.sect-alt {
    background: rgba(255, 255, 255, 0.018);
    position: relative;
}

.sect-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(147, 250, 228, 0.1) 30%, rgba(147, 250, 228, 0.16) 50%, rgba(147, 250, 228, 0.1) 70%, transparent 100%);
    pointer-events: none;
}

.sect-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(147, 250, 228, 0.07) 30%, rgba(147, 250, 228, 0.1) 50%, rgba(147, 250, 228, 0.07) 70%, transparent 100%);
    pointer-events: none;
}

/* ─── SECCIÓN ESTÁNDAR — espaciado vertical consistente ─── */
.sect-std {
    padding: 5rem 0;
}

.sect-std .section-inner {
    padding-top: 0;
    padding-bottom: 0;
}

/* ─── PAGE HERO mejorado para sub-páginas ─── */
.page-hero {
    padding: 11rem 2rem 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(23, 86, 97, 0.45) 0%, transparent 100%);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147, 250, 228, 0.25), transparent);
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.page-hero h1 .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── STEP FINAL — variante destacada de step-card ─── */
.step-card.step-final {
    background: linear-gradient(145deg, rgba(104, 237, 203, 0.08), rgba(59, 242, 67, 0.04));
    border: 1px solid rgba(104, 237, 203, 0.3);
}

.step-card.step-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px 2px 0 0;
}

/* ─── step-title y step-desc — clases utilitarias de steps-grid ─── */
.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Archivo', sans-serif;
    margin-bottom: 0.9rem;
    color: var(--white);
}

.step-card.step-final .step-title {
    color: var(--mint);
}

.step-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.8;
    margin: 0;
}

/* ─── step-number — clase utilitaria (complementa .step-num) ─── */
.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    background: rgba(104, 237, 203, 0.1);
    color: var(--mint);
    border: 1px solid rgba(104, 237, 203, 0.4);
}

.step-number.step-number-final {
    background: rgba(104, 237, 203, 0.15);
    color: var(--mint);
    border: 1px solid var(--mint);
}

/* ─── STAT BLOCK — grilla de números clave ─── */
.stat-block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(147, 250, 228, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin: 4rem 0;
}

.stat-block {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(147, 250, 228, 0.08);
    transition: background 0.3s;
}

.stat-block:last-child {
    border-right: none;
}

.stat-block:hover {
    background: rgba(147, 250, 228, 0.03);
}

.stat-block-num {
    font-family: 'Archivo', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-block-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* ─── info-section estándar — padding coherente ─── */
/* sect-std ya gestiona el espaciado vertical; sin doble padding */
.info-section .section-inner {
    padding-top: 0;
    padding-bottom: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .stat-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-block {
        border-bottom: 1px solid rgba(147, 250, 228, 0.08);
    }
    .stat-block:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .stat-block-grid {
        grid-template-columns: 1fr;
    }
    .stat-block {
        border-right: none;
        padding: 1.75rem 1.5rem;
    }
    .stat-block:last-child {
        border-bottom: none;
    }
    .page-hero {
        padding: 8rem 1.5rem 4rem;
    }
    .page-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
    .sect-std {
        padding: 4rem 0;
    }
}
