/* ============================================
   QR LANDING PAGES - cavevi.co/?qr=...
   ============================================ */

/* When a QR landing is active, hide the normal page */
body.qr-landing-active .header,
body.qr-landing-active .hero,
body.qr-landing-active .about-services,
body.qr-landing-active .professionals,
body.qr-landing-active .testimonials,
body.qr-landing-active .values,
body.qr-landing-active .footer,
body.qr-landing-active .floating-promo,
body.qr-landing-active .promo-overlay {
    display: none !important;
}

.qr-landing {
    min-height: 100vh;
    background: linear-gradient(135deg, #FAF2E0 0%, #f5f0e5 100%);
    padding: 2rem 1rem;
}

.qr-landing-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.qr-landing-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.qr-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
}

.qr-landing-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #524594;
    margin-bottom: 0.5rem;
}

.qr-subtitle {
    color: #666;
    font-size: 1rem;
}

/* Lead Form Section */
.qr-lead-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(82, 69, 148, 0.1);
    margin-bottom: 2rem;
}

.qr-lead-intro {
    text-align: center;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.qr-lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.qr-form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.qr-form-group input[type="text"],
.qr-form-group input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.qr-form-group input:focus {
    border-color: #524594;
}

/* Phone input */
.qr-phone-row {
    display: flex;
    gap: 0.5rem;
}

.qr-phone-country {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 0 0.6rem;
    min-width: 90px;
    transition: border-color 0.2s;
}

.qr-phone-country:focus-within {
    border-color: #524594;
}

.qr-country-flag {
    font-size: 1.1rem;
}

.qr-phone-country select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    padding: 0.6rem 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
}

.qr-phone-row input[type="tel"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.qr-phone-row input[type="tel"]:focus {
    border-color: #524594;
}

/* Submit button */
.qr-submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: #524594;
    color: #FAF2E0;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
}

.qr-submit-btn:hover {
    background: #3d3470;
    transform: translateY(-1px);
}

.qr-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.qr-form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* Skip / bypass button */
.qr-skip-btn {
    display: block;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.6rem;
    background: none;
    border: none;
    color: #999;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s;
}

.qr-skip-btn:hover {
    color: #524594;
    text-decoration: underline;
}

/* Content Section (shown after form submit) */
.qr-content-section {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(82, 69, 148, 0.1);
    margin-bottom: 2rem;
    animation: fadeIn 0.4s ease;
}

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

/* Rueda de Emociones Instructions */
.qr-instructions h2 {
    color: #524594;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.qr-objective {
    background: #FAF2E0;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.qr-steps {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.qr-steps li {
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 0.3rem;
}

.qr-steps li em {
    color: #524594;
    font-style: italic;
}

.qr-important {
    background: linear-gradient(135deg, #524594 0%, #6b5bbd 100%);
    color: #FAF2E0;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.qr-important strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

/* Presentations List */
.qr-presentations h2 {
    color: #524594;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.qr-ppts-intro {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.qr-ppts-list {
    list-style: none;
    padding: 0;
}

.qr-ppts-list li {
    margin-bottom: 0.8rem;
}

.qr-ppt-link {
    display: block;
    padding: 1rem 1.2rem;
    background: #FAF2E0;
    border-radius: 10px;
    text-decoration: none;
    color: #524594;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.qr-ppt-link:hover {
    background: #EBE554;
    transform: translateX(4px);
}

/* Footer */
.qr-footer {
    text-align: center;
    padding: 1.5rem 0;
    color: #999;
    font-size: 0.8rem;
}

.qr-footer a {
    color: #524594;
    text-decoration: none;
}

.qr-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .qr-landing {
        padding: 1rem 0.75rem;
    }

    .qr-landing-header h1 {
        font-size: 1.6rem;
    }

    .qr-lead-section,
    .qr-content-section {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
    }

    .qr-instructions h2,
    .qr-presentations h2 {
        font-size: 1.2rem;
    }

    .qr-steps li {
        font-size: 0.9rem;
    }
}
