/* =============================================
    LANDING RECIÉN NACIDO
============================================= */

html {
    scroll-behavior: smooth;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.fw-500 { font-weight: 500; }

.fs-7 { font-size: 0.75rem; }
.fs-8 { font-size: 0.65rem; }

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.py-7 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

.py-8 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

@media (max-width: 991px) {
    .py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

:root {
    --rn-purple:       #9f98ff;
    --rn-purple-dark:  #7566db;
    --rn-purple-xdark: #5a4fc4;
    --rn-teal:         #18b4b0;
    --rn-teal-dark:    #0e8a87;
    --rn-pink:         #ed5482;
    --rn-orange:       #f2964d;
    --rn-lime:         #afd652;
    --rn-dark:         #1a1730;
    --rn-gray:         #5a577a;
    --rn-light-gray:   #9a97ba;
    --rn-baby-blue:    #ddfafe;
    --rn-baby-purple:  #d4d1fc;
    --rn-baby-pink:    #ffdeeb;
    --rn-baby-peach:   #fce4c2;
}

/* ──────────────────────────────────
    GLOBAL
────────────────────────────────── */
.rn-body {
    background: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* ──────────────────────────────────
    NAVBAR
────────────────────────────────── */
.purple-navbar {
    background: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 0 #e8e6f8;
}

.purple-navbar .navbar-brand img {
    filter: none;
}

.purple-navbar .navbar-toggler {
    border-color: rgba(159, 152, 255, 0.35);
    padding: 4px 8px;
}

.purple-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%235a4fc4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.purple-navbar .nav-link {
    color: var(--rn-purple-xdark) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 6px 10px;
    transition: color 0.2s;
}

.purple-navbar .nav-link:hover,
.purple-navbar .nav-link.active {
    color: var(--rn-teal) !important;
}

@media (max-width: 991px) {
    .purple-navbar .navbar-collapse {
        background: #f0eeff;
        padding: 16px;
        border-radius: 0 0 14px 14px;
        margin-top: 6px;
    }

    .purple-navbar .navbar-nav {
        gap: 4px;
    }

    .purple-navbar .nav-link {
        padding: 8px 4px;
        border-bottom: 1px solid rgba(159,152,255,0.15);
    }

    .purple-navbar .nav-item:last-child .nav-link,
    .purple-navbar .nav-item:has(.btn-nav-purple) .nav-link {
        border-bottom: none;
    }

    .purple-navbar .nav-item:has(.btn-nav-purple) {
        margin-top: 8px;
    }

    .purple-navbar .btn-nav-purple {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.btn-nav-purple {
    background: var(--rn-baby-purple);
    color: var(--rn-purple-xdark) !important;
    border: 1.5px solid rgba(159, 152, 255, 0.35);
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-nav-purple:hover {
    background: #c8c4fa;
    color: var(--rn-purple-xdark) !important;
}

/* ──────────────────────────────────
    HERO
────────────────────────────────── */
.rn-hero {
    background: linear-gradient(170deg, #d4d1fc 0%, #e8e6ff 60%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 48px 0 56px;
}

.rn-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.rn-blob-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: #18b4b0;
    opacity: 0.12;
}

.rn-blob-2 {
    bottom: 40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: #ed5482;
    opacity: 0.10;
}

.rn-blob-3 {
    top: 38%;
    right: -30px;
    width: 100px;
    height: 100px;
    background: #f2964d;
    opacity: 0.18;
}

.rn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(159, 152, 255, 0.4);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 20px;
}

.rn-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rn-teal);
    animation: rn-pulse 2s infinite;
}

@keyframes rn-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.rn-badge-text {
    font-size: 0.72rem;
    color: var(--rn-teal-dark);
    font-weight: 600;
    line-height: 1;
}

.rn-hero-h1 {
    font-size: clamp(1.7rem, 3vw + 0.8rem, 2.8rem);
    font-weight: 700;
    color: var(--rn-dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.rn-hero-h1 em {
    color: var(--rn-teal);
    font-style: normal;
}

.rn-hero-sub {
    font-size: clamp(0.88rem, 1vw + 0.6rem, 1.05rem);
    color: var(--rn-gray);
    line-height: 1.65;
    margin-bottom: 28px;
}

.rn-video-wrap {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid rgba(159, 152, 255, 0.3);
    box-shadow: 0 0 40px rgba(159, 152, 255, 0.15);
}

.rn-video-wrap video {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ──────────────────────────────────
    BTN MEMBRESÍA — fondo blanco
────────────────────────────────── */
.btn-rn-membresia {
    width: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--rn-teal);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(14, 138, 135, 0.28);
    display: block;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-rn-membresia:hover {
    box-shadow: 0 8px 30px rgba(14, 138, 135, 0.36);
    transform: translateY(-2px);
}

.btn-rn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 20px 14px;
}

.btn-rn-top > div:first-child {
    flex: 1;
    min-width: 0;
}

.btn-rn-top > div:last-child {
    flex-shrink: 0;
    text-align: right;
}

.btn-rn-star {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.btn-rn-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-rn-price {
    font-size: clamp(1.1rem, 3vw + 0.5rem, 1.65rem);
    font-weight: 700;
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
}

.btn-rn-period {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    margin-top: 2px;
    text-align: right;
}

.btn-rn-strip {
    background: var(--rn-teal-dark);
    padding: 9px 20px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ──────────────────────────────────
    BTN PRUEBA — borde semi-transparente
────────────────────────────────── */
.btn-rn-prueba {
    width: 100%;
    border: 1.5px solid rgba(159, 152, 255, 0.35);
    border-radius: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-rn-prueba:hover {
    background: rgba(255, 255, 255, 0.85);
}

.btn-rn-prueba .rn-p-text {
    font-size: 0.78rem;
    color: var(--rn-light-gray);
    white-space: nowrap;
}
.btn-rn-prueba .rn-p-price {
    font-size: 0.78rem;
    color: var(--rn-gray);
    font-weight: 500;
    white-space: nowrap;
}

/* ──────────────────────────────────
    CHIP
────────────────────────────────── */
.rn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 5px 13px;
    margin-bottom: 14px;
}

.rn-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ──────────────────────────────────
    SECCIONES GENÉRICAS
────────────────────────────────── */
.rn-section {
    padding: 52px 0;
    border-top: 1px solid #f0f0f8;
}

.rn-section-title {
    font-size: clamp(1.3rem, 2vw + 0.7rem, 2.1rem);
    font-weight: 700;
    color: var(--rn-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.rn-section-sub {
    font-size: clamp(0.88rem, 0.8vw + 0.65rem, 1.05rem);
    color: var(--rn-gray);
    margin-bottom: 28px;
    line-height: 1.65;
}

/* ──────────────────────────────────
    SECCIÓN 2 — MEMBRESÍA / BENEFITS
────────────────────────────────── */
.rn-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .rn-benefit-grid { grid-template-columns: repeat(4, 1fr); }
}

.rn-bc {
    border-radius: 14px;
    padding: 18px 16px;
    border: 1px solid transparent;
}

.rn-bc-1 {
    background: var(--rn-baby-purple);
    border-color: rgba(159,152,255,0.2);
}

.rn-bc-2 {
    background: var(--rn-baby-blue);
    border-color: rgba(24,180,176,0.15);
}

.rn-bc-3 {
    background: var(--rn-baby-pink);
    border-color: rgba(237,84,130,0.15);
}

.rn-bc-4 {
    background: var(--rn-baby-peach);
    border-color: rgba(242,150,77,0.15);
}

.rn-bc-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.rn-bc-label {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--rn-dark);
    margin-bottom: 3px;
}

.rn-bc-desc {
    font-size: 0.76rem;
    color: var(--rn-gray);
    line-height: 1.45;
}

.rn-price-box {
    background: linear-gradient(135deg, #d4d1fc 0%, #ddfafe 100%);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(159, 152, 255, 0.2);
}

.rn-price-main {
    font-size: clamp(1.4rem, 4vw + 0.5rem, 2.2rem);
    font-weight: 700;
    color: var(--rn-purple-xdark);
    word-break: break-word;
}

.rn-price-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rn-purple-xdark);
}

.rn-price-sub {
    font-size: 0.75rem;
    color: var(--rn-gray);
    line-height: 1.5;
    margin-top: 3px;
}

/* ──────────────────────────────────
    SECCIÓN 3 — CASOS DE USO
────────────────────────────────── */
.rn-casos {
    padding: 52px 0;
    background: var(--rn-baby-blue);
}

.rn-case-list { margin-top: 4px; }

.rn-case-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(24, 180, 176, 0.15);
}

.rn-case-item:last-child { border-bottom: none; padding-bottom: 0; }

.rn-case-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--rn-teal);
    margin-top: 5px;
    flex-shrink: 0;
}

.rn-case-text {
    font-size: 0.9rem;
    color: var(--rn-dark);
    line-height: 1.6;
    margin: 0;
}

.rn-case-text strong { font-weight: 700; color: var(--rn-teal-dark); }

/* ──────────────────────────────────
    SECCIÓN 4 — CTA INTERMEDIO
────────────────────────────────── */
.rn-cta-mid {
    padding: 52px 0;
    background: var(--rn-baby-purple);
    border-top: 1px solid rgba(159,152,255,0.2);
    border-bottom: 1px solid rgba(159,152,255,0.2);
}

.rn-cta-mid-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rn-purple-xdark);
    margin-bottom: 4px;
}

.rn-cta-mid-sub {
    font-size: 0.85rem;
    color: var(--rn-gray);
    margin-bottom: 22px;
}

.btn-rn-mid {
    width: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--rn-teal);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    display: block;
    text-align: left;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.btn-rn-mid:hover {
    background: var(--rn-teal-dark);
    transform: translateY(-2px);
}

.btn-rn-mid-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 20px 14px;
}

.btn-rn-mid-top > div:first-child {
    flex: 1;
    min-width: 0;
}

.btn-rn-mid-top > div:last-child {
    flex-shrink: 0;
    text-align: right;
}

.btn-rn-mid-star {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.btn-rn-mid-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
}

.btn-rn-mid-price {
    font-size: clamp(1.1rem, 3vw + 0.5rem, 1.65rem);
    font-weight: 700;
    color: #fff;
    text-align: right;
    white-space: nowrap;
}

.btn-rn-mid-period {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    margin-top: 2px;
    text-align: right;
}

.btn-rn-mid-strip {
    background: var(--rn-teal-dark);
    padding: 9px 20px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-rn-prueba-mid {
    width: 100%;
    border: 1.5px solid rgba(159, 152, 255, 0.35);
    border-radius: 12px;
    padding: 12px 18px;
    background: #ffffff;
    font-size: 0.82rem;
    color: var(--rn-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
}

.btn-rn-prueba-mid:hover { border-color: rgba(159, 152, 255, 0.6); }

.btn-rn-prueba-mid strong {
    color: var(--rn-purple-xdark);
    font-weight: 600;
    white-space: nowrap;
}

/* ──────────────────────────────────
    SECCIÓN 5 — CÓMO FUNCIONA
────────────────────────────────── */
.rn-paso {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.rn-paso:last-child { margin-bottom: 0; }

.rn-paso-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--rn-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.rn-paso-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--rn-dark);
    display: block;
    margin-bottom: 3px;
}

.rn-paso-desc {
    font-size: 0.8rem;
    color: var(--rn-gray);
    line-height: 1.55;
}

/* ──────────────────────────────────
    SECCIÓN 6 — TESTIMONIOS
────────────────────────────────── */
.rn-testimonials {
    padding: 52px 0;
    background: #fafafe;
}

.rn-test-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #e8e6f8;
    box-shadow: 0 2px 14px rgba(159, 152, 255, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rn-test-card .rn-test-author { margin-top: auto; }

.rn-stars {
    color: var(--rn-orange);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.rn-test-quote {
    font-size: 0.88rem;
    color: var(--rn-dark);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}

.rn-test-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rn-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--rn-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.rn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rn-avatar-pink { background: var(--rn-pink); }

.rn-avatar-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.rn-author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rn-dark);
}

.rn-author-role {
    font-size: 0.72rem;
    color: var(--rn-light-gray);
}

/* ──────────────────────────────────
    SECCIÓN 7 — LOGOS
────────────────────────────────── */
.rn-logos-section { padding: 52px 0; }

.logo-grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.rn-logos-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--rn-light-gray);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.rn-logo-pill {
    background: var(--rn-baby-purple);
    border: 1px solid rgba(159, 152, 255, 0.25);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--rn-purple-xdark);
    display: inline-block;
}

/* ──────────────────────────────────
    SECCIÓN 8 — CTA FINAL
────────────────────────────────── */
.rn-cta-final {
    background: var(--rn-baby-purple);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.rn-final-h {
    font-size: clamp(1.4rem, 2.5vw + 0.7rem, 2.4rem);
    font-weight: 700;
    color: var(--rn-purple-xdark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.rn-final-sub {
    font-size: clamp(0.88rem, 0.8vw + 0.65rem, 1.05rem);
    color: var(--rn-gray);
    margin-bottom: 32px;
    line-height: 1.65;
}

.btn-rn-final-prueba {
    width: 100%;
    border: 1.5px solid rgba(159, 152, 255, 0.35);
    border-radius: 12px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    cursor: pointer;
    margin-bottom: 18px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-rn-final-prueba:hover { background: rgba(255,255,255,0.8); }

.btn-rn-final-prueba .rn-p-text {
    font-size: 0.8rem;
    color: var(--rn-light-gray);
    white-space: nowrap;
}

.btn-rn-final-prueba .rn-p-price {
    font-size: 0.8rem;
    color: var(--rn-gray);
    font-weight: 500;
    white-space: nowrap;
}

.rn-final-note {
    font-size: 0.67rem;
    color: var(--rn-light-gray);
    text-align: center;
}

/* ──────────────────────────────────
    FOOTER
────────────────────────────────── */
.rn-footer {
    background: var(--rn-purple-xdark);
    padding: 28px 0;
}

.rn-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.2s;
    text-decoration: none;
}

.rn-footer-links a:hover { color: var(--rn-teal); }

.rn-footer-divider { border-color: rgba(255,255,255,0.1); }

.rn-footer-copy {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ──────────────────────────────────
    BTN SOPORTE
────────────────────────────────── */
#chat-with-sac {
    border: 2px solid white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    height: 48px;
    background-color: #0dc143;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, visibility 0.3s;
}

#chat-with-sac:hover {
    background-color: #0dc143;
}

@media (max-width: 425px) {
    #chat-with-sac {
        font-size: 14px;
    }
}
