/* ==========================================================================
   PictoApp Premium Stylesheet
   Accesibilidad, Contraste Suave & Bienestar Digital para TEA
   ========================================================================== */

:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-accent: #0ea5e9;
    --color-success: #10b981;
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.1);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #0b1120;
        --bg-surface: #131d33;
        --bg-card: #18233c;
        --border-color: #1e293b;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
        --shadow-lg: 0 12px 30px rgba(0,0,0,0.5);
    }
}

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

html {
    scroll-behavior: smooth;
}

body.pictoapp-body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.picto-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.picto-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

@media (prefers-color-scheme: dark) {
    .picto-header {
        background: rgba(11, 17, 32, 0.9);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.picto-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.35rem;
    font-weight: 700;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 800;
    border-radius: var(--radius-sm);
}

.picto-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.picto-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.picto-nav a:hover {
    color: var(--color-primary);
}

.nav-download {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
}

.nav-family-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background 0.2s ease;
}

.nav-family-btn:hover {
    background: var(--color-primary-hover);
}

/* Hero */
.picto-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Phone Mockup */
.phone-mockup {
    max-width: 320px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 8px solid #1e293b;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.notch {
    width: 60px;
    height: 6px;
    background: #334155;
    border-radius: 999px;
}

.mockup-screen {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 16px;
}

.screen-brand {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-align: center;
}

.picto-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.card-icon {
    font-size: 2rem;
}

.card-label {
    font-size: 0.85rem;
    font-weight: 700;
}

.screen-timer {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success);
}

/* Sections */
.picto-section {
    padding: 80px 0;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 56px;
}

.text-center {
    text-align: center;
}

.sub-heading {
    display: block;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-kiosk { background: rgba(37, 99, 235, 0.1); color: var(--color-primary); }
.icon-caa { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }
.icon-cycle { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.icon-sound { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.check-list svg {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Routine Card Demo */
.routine-card-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    max-width: 420px;
    margin: 0 auto;
}

.routine-now, .routine-next {
    padding: 16px;
    border-radius: var(--radius-md);
}

.routine-now {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.routine-next {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
}

.routine-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.routine-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.routine-emoji {
    font-size: 2.2rem;
}

.routine-detail strong {
    display: block;
    font-size: 1.15rem;
}

.routine-detail small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.routine-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 12px 0;
}

/* Terminal Card */
.terminal-card {
    background: #0f172a;
    color: #f8fafc;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.terminal-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-left: 8px;
}

.terminal-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.terminal-body code {
    font-family: monospace;
    font-size: 0.95rem;
    color: #38bdf8;
    word-break: break-all;
}

.copy-btn {
    background: #334155;
    border: none;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.copy-btn:hover {
    background: var(--color-primary);
}

.terminal-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.download-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 16px;
}

.download-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.download-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

/* Footer */
.picto-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 56px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
}

.footer-brand strong {
    font-size: 1.15rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Micro-animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-lead {
        margin: 0 auto 32px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-meta {
        justify-content: center;
    }
    .split-layout {
        grid-template-columns: 1fr;
    }
    .download-grid {
        grid-template-columns: 1fr;
    }
    .picto-nav {
        display: none;
    }
}

/* ==========================================================================
   Nuevos Componentes Sin FricciÃ³n: QR Hero, PestaÃ±as de MÃ©todo & Asistente 1-Clic
   ========================================================================== */

.hero-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.qr-box-hero {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.qr-box-hero img {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    display: block;
}

.qr-box-hero .qr-text {
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.qr-box-hero .qr-text strong {
    display: block;
    color: var(--text-main);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

/* Selector de MÃ©todos */
.method-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.method-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.method-tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.method-tab-btn.active {
    background: var(--bg-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.tab-badge {
    padding: 3px 9px;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
}

.method-panel {
    display: none;
    max-width: 960px;
    margin: 0 auto;
}

.method-panel.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

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

/* Pasos Visuales */
.steps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Asistente 1-Clic Banner */
.win-activator-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1.5px dashed var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.win-activator-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.win-activator-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-activator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-activator:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* AcordeÃ³n para usuarios avanzados */
.advanced-details {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.advanced-details summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advanced-details summary:hover {
    color: var(--color-primary);
}

.advanced-details[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.advanced-details .advanced-content {
    padding: 20px;
}

@media (max-width: 860px) {
    .steps-cards-grid {
        grid-template-columns: 1fr;
    }
    .win-activator-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-activator {
        width: 100%;
        justify-content: center;
    }
    .hero-actions-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .qr-box-hero {
        justify-content: center;
    }
}

/* ==========================================================================
   Nuestra Historia, FAQ y Colaboración (PictoApp)
   ========================================================================== */

/* Nuestra Historia */
.story-card-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}

.story-lead-p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 32px;
    font-weight: 500;
}

.story-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 34px;
}

.story-col-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-col-card .col-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
}

.story-col-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.story-col-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.story-quote-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.06));
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 22px 28px;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 16px;
}

.story-quote-box span.quote-author {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    display: block;
    margin-top: 6px;
}

/* FAQ Acordeones */
.faq-container-narrow {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-card[open] {
    box-shadow: var(--shadow-sm);
    border-color: rgba(37, 99, 235, 0.35);
}

.faq-card summary {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    list-style: none;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card summary:hover {
    color: var(--color-primary);
}

.faq-card summary svg.chevron {
    transition: transform 0.2s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-card[open] summary svg.chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-card .faq-content {
    padding: 0 24px 22px;
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid transparent;
}

.faq-card[open] .faq-content {
    border-top-color: rgba(0, 0, 0, 0.04);
}

/* Sección Colaborar */
.colaborar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.colaborar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.colaborar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.colaborar-card .colaborar-badge {
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.colaborar-card h3 {
    font-size: 1.25rem;
    margin: 8px 0;
    color: var(--text-main);
}

.colaborar-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
    margin: 0;
}

.colaborar-card .colaborar-meta-alias {
    background: var(--bg-main);
    border: 1px dashed var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: monospace;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.colaborar-card .copy-alias-btn {
    border: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

/* Guía Anti-Miedo APK */
.apk-safety-box {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-top: 18px;
    font-size: 0.92rem;
    color: var(--text-main);
}

.apk-safety-box summary {
    font-weight: 700;
    color: #065f46;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.apk-safety-box ol {
    margin: 14px 0 0 20px;
    padding: 0;
    line-height: 1.6;
}

.apk-safety-box li {
    margin-bottom: 6px;
}

@media (max-width: 860px) {
    .story-columns-grid {
        grid-template-columns: 1fr;
    }
    .story-card-wrapper {
        padding: 26px 20px;
    }
    .story-quote-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
