:root {
    /* --- PALETA DE LUJO "WARM MINIMALIST" --- */
    --primary: #ff5e00; 
    --primary-rgb: 255, 94, 0;
    --primary-hover: #e64a00;
    
    /* Fondos */
    --bg-bone: #fffaf5; 
    --bg-white: #ffffff;
    
    /* Texto */
    --text-dark: #1f1f1f;
    --text-grey: #585858;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-bone);
    color: var(--text-grey);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* --- NAVBAR GLASS --- */
.navbar {
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.navbar-brand { font-size: 1.6rem; }
.nav-link {
    font-weight: 600; color: var(--text-dark) !important;
    margin: 0 10px; transition: 0.3s;
}
.nav-link:hover { color: var(--primary) !important; }

/* --- BOTONES GENERALES --- */
.btn-brand {
    background: var(--primary); color: white;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 700; border: none;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
}
.btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
    background: var(--primary-hover); color: white;
}
.btn-outline {
    border: 2px solid #ddd; color: var(--text-dark);
    padding: 12px 30px; border-radius: 50px; font-weight: 700;
    background: transparent; transition: all 0.3s;
}
.btn-outline:hover {
    border-color: var(--text-dark); background: var(--text-dark); color: white;
}

/* --- HERO & IMÁGENES --- */
.hero-section { padding: 160px 0 100px 0; position: relative; }

.img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -10px rgba(0,0,0,0.1);
    background-color: #f0f0f0;
    min-height: 300px;
}
.hero-img {
    width: 100%; display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    object-fit: cover;
}
.img-wrapper:hover .hero-img { transform: scale(1.05); }

/* Badge Flotante */
.floating-badge {
    position: absolute; bottom: 30px; left: -30px;
    background: white; padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 15px;
    z-index: 2; animation: float 6s infinite ease-in-out;
}
@keyframes float { 0%, 100% {transform: translateY(0);} 50% {transform: translateY(-10px);} }

/* --- SECCIONES COMUNES --- */
.stats-bar {
    background: white; padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.stat-item h3 { color: var(--primary); font-size: 2.5rem; margin-bottom: 0; }
.stat-item p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; opacity: 0.6; }

.section-padding { padding: 120px 0; }
.bg-white-soft { background: var(--bg-white); }

.feature-icon {
    width: 60px; height: 60px; background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 25px;
}

/* --- SWITCH DE PAGOS (MEJORADO) --- */
.pricing-nav {
    background: #ffffff;
    padding: 5px;
    border-radius: 60px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    z-index: 10;
}

.pricing-nav .nav-link {
    border-radius: 50px;
    padding: 12px 30px;
    color: var(--text-grey);
    font-weight: 700;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* ESTADO ACTIVO: FONDO NARANJA - TEXTO BLANCO */
.pricing-nav .nav-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
    transform: scale(1.02);
}

/* Icono blanco al estar activo */
.pricing-nav .nav-link.active i {
    color: #ffffff !important;
}

/* Ajuste Móvil */
@media (max-width: 576px) {
    .pricing-nav { width: 100%; border-radius: 20px; }
    .pricing-nav .nav-link { width: 100%; margin-bottom: 5px; border-radius: 15px; white-space: normal; }
}

/* --- TARJETAS DE PRECIOS --- */
.pricing-section { 
    padding: 100px 0; 
    background: linear-gradient(180deg, var(--bg-bone) 0%, #fff 100%);
}
.pricing-card {
    background: white;
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}
.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(255, 94, 0, 0.2);
    border-color: rgba(255, 94, 0, 0.3);
}

/* --- ETIQUETA "OFERTA" ANIMADA --- */
@keyframes pulse-badge {
    0% { transform: rotate(45deg) scale(1); box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7); }
    70% { transform: rotate(45deg) scale(1.05); box-shadow: 0 0 0 10px rgba(255, 94, 0, 0); }
    100% { transform: rotate(45deg) scale(1); box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

.badge-popular {
    position: absolute; top: 35px; right: -40px;
    background: linear-gradient(45deg, #ff5e00, #ff0055);
    color: white; padding: 10px 50px;
    transform: rotate(45deg);
    font-weight: 900; font-size: 0.9rem; letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 94, 0, 0.4);
    z-index: 2;
    animation: pulse-badge 2s infinite;
}

/* --- PRECIO GIGANTE --- */
.price-tag {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 0.9;
    margin: 30px 0;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.price-number {
    font-size: 6rem; /* Gigante */
    background: linear-gradient(45deg, var(--text-dark), #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -3px;
}
.currency { 
    font-size: 2.5rem; color: var(--primary); font-weight: 700; align-self: flex-start; margin-top: 15px;
}
.period { font-size: 1rem; color: #999; font-weight: 600; align-self: flex-end; margin-bottom: 15px; }

/* Lista de beneficios */
.feature-list li { margin-bottom: 18px; display: flex; align-items: center; font-size: 1.05rem; color: #555; font-weight: 500; }
.check-icon {
    min-width: 28px; height: 28px; background: #fff4e6;
    color: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px; font-size: 0.9rem; transition: 0.3s;
}
.pricing-card:hover .check-icon { background: var(--primary); color: white; transform: scale(1.1); }

/* --- BOTÓN SUSCRIPCIÓN (NARANJA) --- */
.btn-subscribe {
    background: linear-gradient(45deg, #ff5e00, #ff8800);
    color: white; width: 100%; padding: 20px;
    border-radius: 50px; font-weight: 800; border: none;
    font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.3);
    transition: all 0.3s; text-decoration: none;
    display: inline-block; text-align: center; position: relative; overflow: hidden;
}
.btn-subscribe::after {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.btn-subscribe:hover::after { left: 100%; }
.btn-subscribe:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(255, 94, 0, 0.5); color: white; }

/* --- ESTILOS YAPE / PLIN --- */
.yape-purple { color: #742284; }
.yape-card { border: 2px solid #742284; }

.qr-container {
    background: #fff; border-radius: 24px; padding: 15px;
    display: inline-block; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05); margin: 20px 0; position: relative;
}
/* Marco punteado */
.qr-container::after {
    content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border: 2px dashed #e0e0e0; border-radius: 28px; z-index: -1;
}
.qr-img { width: 160px; height: 160px; object-fit: contain; mix-blend-mode: multiply; }

.steps-wrapper {
    background: #fdfbff; border-radius: 20px; padding: 20px;
    margin-bottom: 25px; border: 1px solid rgba(116,34,132,0.1);
}
.step-item { display: flex; align-items: flex-start; margin-bottom: 15px; }
.step-item:last-child { margin-bottom: 0; }

.step-icon {
    background: white; color: #742284; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; box-shadow: 0 4px 10px rgba(116,34,132,0.15);
    margin-right: 15px; flex-shrink: 0; border: 1px solid rgba(116,34,132,0.1);
}

/* --- BOTÓN YAPE (PREMIUM) --- */
.btn-yape {
    /* Gradiente Yape */
    background: linear-gradient(135deg, #742284 0%, #D5006D 100%);
    color: white !important;
    width: 100%; padding: 20px;
    border-radius: 50px; font-weight: 800; border: none;
    font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(116, 34, 132, 0.3);
    transition: all 0.3s; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    position: relative; overflow: hidden;
}
.btn-yape::after {
    content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.btn-yape:hover::after { left: 100%; }
.btn-yape:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(213, 0, 109, 0.4); color: white; }

.yape-logo-btn { height: 24px; width: auto; filter: brightness(0) invert(1); }
.yape-logo-header { height: 40px; width: auto; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; }

/* --- FAQ --- */
.faq-card {
    background: white; border-radius: 20px; padding: 30px;
    border: 1px solid rgba(0,0,0,0.03); height: 100%;
}
.faq-icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 15px; }

/* --- TESTIMONIOS & CONTACTO --- */
.testimonial-card {
    background: white; padding: 40px; border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    height: 100%; border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); }
.stars { color: #FFC107; margin-bottom: 15px; }

.contact-box {
    background: white; border-radius: 30px; padding: 60px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}
.form-control-beauty {
    background: #f7f7f7; border: 2px solid transparent;
    padding: 16px; border-radius: 12px; font-weight: 500;
}
.form-control-beauty:focus {
    background: white; border-color: var(--primary); box-shadow: none;
}

/* --- ELEMENTOS FLOTANTES --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px; background: #25d366;
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 10px 20px rgba(37,211,102,0.3);
    transition: 0.3s; z-index: 100; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }

.text-gradient {
    background: linear-gradient(45deg, var(--primary), #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- LIBRO DE RECLAMACIONES --- */
.book-link { display: inline-block; text-decoration: none; }
.book-img { 
    width: 85px; border-radius: 4px; opacity: 0.7; 
    filter: grayscale(100%); transition: all 0.3s ease;
}
.book-img:hover { opacity: 1; filter: grayscale(0%); }

/* Modal Reclamaciones */
.modal-reclamaciones .modal-content { border-radius: 20px; border: none; }
.modal-reclamaciones .modal-header { background: #f8f9fa; border-radius: 20px 20px 0 0; }
.legal-text { font-size: 0.75rem; color: #666; text-align: justify; line-height: 1.4; }
.section-title-sm {
    font-size: 0.9rem; font-weight: 800; text-transform: uppercase; 
    color: var(--primary); margin-top: 15px; margin-bottom: 10px; border-bottom: 2px solid #eee; padding-bottom: 5px;
}





/* =========================================
   DISEÑO PREMIUM DE PRECIOS
   ========================================= */

/* --- 1. SELECTOR DE FRECUENCIA (Segmented Control) --- */
.freq-nav-wrapper {
    background: #f4f6f8;
    padding: 6px;
    border-radius: 100px;
    display: inline-flex;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.freq-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.freq-btn:hover { color: var(--text-dark); }

/* Estado Activo: Elevación y Color */
.freq-btn.active {
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: scale(1.05);
}

/* Badge de Descuento en el Selector */
.badge-discount {
    background: #FFEBEE;
    color: #D32F2F;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 6px;
    font-weight: 800;
    letter-spacing: 0.5px;
    vertical-align: middle;
    transition: 0.3s;
}
.freq-btn.active .badge-discount {
    background: #D32F2F; color: white; /* Invierte colores al activar */
}

/* --- AJUSTE POSICIÓN SWITCH --- */
.payment-switch-container {
    margin-bottom: 20px; /* Reducido para acercarlo al selector de frecuencia */
    display: flex;
    justify-content: center;
}

/* El wrapper de frecuencia ahora tiene un fondo sutil para destacarse abajo */
.freq-nav-wrapper {
    background: #f8f9fa;
    padding: 6px;
    border-radius: 100px;
    display: inline-flex;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05); /* Borde sutil */
}
.pricing-nav {
    background: #ffffff;
    padding: 6px;
    border-radius: 16px; /* Borde más cuadrado pero suave */
    display: inline-flex;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.pricing-nav .nav-link {
    border-radius: 12px;
    padding: 12px 25px;
    color: var(--text-grey);
    font-weight: 700;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 8px;
}

.pricing-nav .nav-link.active {
    background: var(--text-dark); 
    color: white !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pricing-nav .nav-link.active i { color: white !important; }

/* --- 3. TARJETA DE PRECIO (La Joya) --- */
.pricing-card {
    background: white;
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    position: relative;
    /* Sombra suave y difusa de alta calidad */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease;
    overflow: visible; /* Para que salga el badge */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.12);
}

/* Fondo decorativo sutil en el header de la tarjeta */
.pricing-header {
    position: relative;
    margin-bottom: 2rem;
}
.pricing-header::after {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 150px; height: 100px;
    background: radial-gradient(ellipse at center, rgba(255, 94, 0, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0; pointer-events: none;
}

/* Cinta de Oferta "Ribbon" */
.badge-corner {
    position: absolute;
    top: 20px; right: 20px;
    background: linear-gradient(135deg, #ff5e00, #ff9100);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    z-index: 10;
    animation: float-badge 3s ease-in-out infinite;
}
@keyframes float-badge { 0%,100% {transform: translateY(0);} 50% {transform: translateY(-3px);} }

/* Tipografía del Precio */
.price-wrapper {
    display: flex; align-items: flex-start; justify-content: center;
    line-height: 1; margin: 25px 0 10px 0;
    position: relative; z-index: 1;
}
.currency { 
    font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-top: 10px; margin-right: 4px;
}
.price-number {
    font-size: 5.5rem; 
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.period-text { font-size: 1rem; color: #999; font-weight: 600; }

/* Caja de Ahorro */
.savings-pill {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 2px 5px rgba(46, 125, 50, 0.1);
}

/* Lista de Características */
.feature-list li {
    margin-bottom: 16px;
    color: #555;
    font-size: 1.05rem;
    display: flex; align-items: center;
}
.icon-circle {
    width: 32px; height: 32px;
    background: #FFF3E0;
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Botón Acción (Gradient Naranja) */
.btn-action {
    background: linear-gradient(90deg, #ff5e00 0%, #ff8800 100%);
    color: white; width: 100%; padding: 18px;
    border-radius: 16px; font-weight: 800;
    font-size: 1.1rem; border: none;
    box-shadow: 0 10px 25px rgba(255, 94, 0, 0.25);
    transition: all 0.3s;
    display: block; text-align: center; text-decoration: none;
}
.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 94, 0, 0.35);
    color: white;
}

/* Yape Specifics */
.yape-purple-text { color: #742284; }
.btn-yape-action {
    background: linear-gradient(135deg, #742284 0%, #D5006D 100%);
    box-shadow: 0 10px 25px rgba(116, 34, 132, 0.25);
}
.btn-yape-action:hover {
    box-shadow: 0 15px 35px rgba(116, 34, 132, 0.35);
}




/* --- SELECTOR DE USUARIOS (NIVEL 1) --- */
.user-nav-wrapper {
    background: white;
    padding: 8px;
    border-radius: 16px;
    display: inline-flex;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.user-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-grey);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex; align-items: center; gap: 8px;
}

.user-btn i { font-size: 1.1rem; opacity: 0.7; }
.user-btn:hover { background: #f8f9fa; color: var(--text-dark); }

/* Activo: Borde Naranja sutil y texto oscuro */
.user-btn.active {
    background: #fff4e6; /* Naranja muy suave */
    color: var(--primary);
    border-color: rgba(255, 94, 0, 0.2);
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.08);
}
.user-btn.active i { opacity: 1; }

/* Ajuste móvil para los selectores */
@media (max-width: 768px) {
    .user-nav-wrapper, .freq-nav-wrapper { width: 100%; display: flex; }
    .user-btn, .freq-btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 10px; }
}


/* --- TARJETA PRINCIPAL (CONTENEDOR) --- */
.pricing-grid-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    position: relative; /* Indispensable */
    
    /* --- EL RECORTE PERFECTO --- */
    overflow: hidden;           /* Oculta todo lo que se salga */
    transform: translateZ(0);   /* Fuerza el recorte en bordes curvos (Chrome/Safari fix) */
    /* -------------------------- */

    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1; /* Asegura el contexto de apilamiento */
}

/* --- CINTA POPULAR (HIJO) --- */
.badge-popular {
    position: absolute;
    /* Coordenadas ajustadas para que cruce la esquina */
    top: 25px;       /* Bájalo un poco para que no quede muy en la punta */
    right: -55px;    /* Sácalo bastante a la derecha */
    
    /* ANCHO GRANDE: Esto es clave para que no se vean las esquinas del rectángulo */
    width: 180px;    
    
    padding: 10px 0; /* Un poco más de cuerpo */
    
    /* Estilos Visuales */
    background: linear-gradient(45deg, #ff5e00, #ff0055);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* Sombra para profundidad */
    
    /* Rotación */
    transform: rotate(45deg);
    z-index: 10;
}

.pricing-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Plan Destacado (El del medio) */
.pricing-grid-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(255, 94, 0, 0.15);
    transform: scale(1.05); /* Un poco más grande */
    z-index: 2;
}
.pricing-grid-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Títulos y Precios en la Grid */
.grid-plan-name { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); }
.grid-users { font-size: 0.9rem; color: #777; font-weight: 600; margin-bottom: 20px; display: block; }

.grid-price-wrapper {
    display: flex; align-items: flex-start; justify-content: center;
    line-height: 1; margin: 20px 0;
}
.grid-currency { font-size: 1.5rem; font-weight: 700; margin-top: 5px; }
.grid-price { font-size: 3.5rem; font-weight: 800; color: var(--text-dark); letter-spacing: -1px; }
.grid-period { font-size: 0.9rem; color: #999; font-weight: 600; }

/* Características compactas */
.grid-features { text-align: left; margin: 30px 0; flex-grow: 1; }
.grid-features li {
    font-size: 0.9rem; margin-bottom: 12px; display: flex; align-items: flex-start; color: #555;
}
.grid-features i {
    color: var(--primary); margin-right: 10px; margin-top: 3px;
}

/* Botón en la Grid */
.btn-grid {
    width: 100%; padding: 14px; border-radius: 12px; font-weight: 700;
    transition: all 0.3s; border: none; font-size: 1rem;
}
.btn-grid-primary {
    background: var(--primary); color: white;
}
.btn-grid-outline {
    background: transparent; border: 2px solid #eee; color: var(--text-dark);
}
.btn-grid:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- ESTILOS MODO YAPE EN GRID --- */
.yape-mode .pricing-grid-card { border-color: rgba(116, 34, 132, 0.3); }
.yape-mode .featured { border-color: #742284; box-shadow: 0 20px 50px rgba(116, 34, 132, 0.15); }
.yape-mode .grid-features i { color: #742284; }
.yape-mode .grid-currency { color: #742284; }

/* Contenedor QR Global */
.global-qr-section {
    background: white; border: 2px dashed #742284; border-radius: 20px;
    padding: 20px; margin-bottom: 40px; display: none; /* Oculto por defecto */
    animation: slideDown 0.4s ease;
}
.global-qr-section.active { display: flex; align-items: center; justify-content: center; gap: 30px; }

@keyframes slideDown { from {opacity:0; transform:translateY(-20px);} to {opacity:1; transform:translateY(0);} }

/* Ajuste Móvil */
@media (max-width: 992px) {
    .pricing-grid-card.featured { transform: scale(1); margin: 20px 0; }
    .global-qr-section.active { flex-direction: column; text-align: center; }
}