/* ========================================
   HUB - Additional styles
   Base styles come from style.css
======================================== */

/* ========================================
   HERO (hub pages)
======================================== */
.hub-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height, 64px) + 48px) 16px 48px;
}

@media (min-width: 768px) {
    .hub-hero {
        padding: calc(var(--nav-height, 64px) + 100px) 24px 80px;
    }
}

/* ========================================
   SERVICE PAGE HERO
======================================== */
.hub-service-hero {
    min-height: auto;
    padding: calc(var(--nav-height, 64px) + 48px) 16px 48px;
}

@media (min-width: 768px) {
    .hub-service-hero {
        padding: calc(var(--nav-height, 64px) + 80px) 24px 64px;
    }
}

/* ========================================
   STAGGERED REVEAL SYSTEM
   Use data-reveal on parent, children auto-stagger
   Or use data-reveal-delay="N" for manual control
======================================== */
.js-ready [data-reveal-delay="1"] {
    transition-delay: 0.1s;
}
.js-ready [data-reveal-delay="2"] {
    transition-delay: 0.2s;
}
.js-ready [data-reveal-delay="3"] {
    transition-delay: 0.3s;
}
.js-ready [data-reveal-delay="4"] {
    transition-delay: 0.4s;
}
.js-ready [data-reveal-delay="5"] {
    transition-delay: 0.5s;
}
.js-ready [data-reveal-delay="6"] {
    transition-delay: 0.6s;
}

/* Stagger children within [data-stagger] containers */
.js-ready [data-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready [data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
.js-ready [data-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
.js-ready [data-stagger].revealed > *:nth-child(3) { transition-delay: 0.19s; }
.js-ready [data-stagger].revealed > *:nth-child(4) { transition-delay: 0.26s; }
.js-ready [data-stagger].revealed > *:nth-child(5) { transition-delay: 0.33s; }
.js-ready [data-stagger].revealed > *:nth-child(6) { transition-delay: 0.40s; }

.js-ready [data-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ENHANCED CARD / BLOCK HOVER EFFECTS
======================================== */
.hub-service-block {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-service-block:hover {
    border-color: var(--green-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 65, 0.06);
}

@media (min-width: 768px) {
    .hub-service-block {
        padding: 32px 28px;
    }
}

/* ========================================
   SERVICE DETAIL BLOCKS
======================================== */
.hub-services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.hub-service-block h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.hub-service-hook {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
}

.hub-service-block-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.hub-service-ideal {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    padding-top: 12px;
    border-top: 1px solid var(--bg-card-hover);
}

.hub-service-ideal strong {
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* Service block number badge */
.hub-service-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green-bright);
    background: rgba(0, 255, 65, 0.08);
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* ========================================
   PROCESS STEPS
======================================== */
.hub-process {
    margin-top: 32px;
}

.hub-process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--bg-card-hover);
}

.hub-process-step:last-child { border-bottom: none; }

.hub-process-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-bright);
    font-weight: 600;
    padding-top: 2px;
}

.hub-process-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.hub-process-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   INVESTMENT TABLE
======================================== */
.hub-investment {
    margin-top: 32px;
}

.hub-investment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--bg-card-hover);
    gap: 16px;
}

.hub-investment-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hub-investment-value {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.hub-investment-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ========================================
   MENTORING PATHS
======================================== */
.hub-paths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-paths {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hub-path {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-path:hover {
    border-color: var(--green-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 255, 65, 0.06);
}

.hub-path-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green-bright);
    margin-bottom: 12px;
}

.hub-path h3 {
    margin-bottom: 16px;
}

.hub-path-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.hub-path-list {
    list-style: none;
    margin-bottom: 20px;
}

.hub-path-list li {
    padding: 6px 0 6px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
}

.hub-path-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-weight: 600;
}

.hub-path-meta {
    padding-top: 16px;
    border-top: 1px solid var(--bg-card-hover);
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.hub-path-meta strong {
    color: var(--text-secondary);
}

.hub-path-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-primary);
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hub-path-link:hover {
    color: var(--green-bright);
    text-shadow: 0 0 12px var(--green-glow);
}

/* ========================================
   SYSTEM HIGHLIGHT (Aprender)
======================================== */
.hub-book {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-top: 3px solid var(--green-bright);
    border-radius: 12px;
    padding: 32px 28px;
    margin-top: 32px;
}

.hub-book-sub {
    font-size: 1rem;
    color: var(--green-bright);
    font-family: var(--font-mono);
    margin-bottom: 16px;
}

.hub-book-stats {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.hub-book-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ========================================
   FOR WHO / NOT FOR WHO
======================================== */
.hub-for-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-for-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hub-for-col h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.hub-for-list {
    list-style: none;
}

.hub-for-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hub-for-list.yes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-weight: 700;
}

.hub-for-list.no li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--red, #f85149);
    font-weight: 700;
}

/* ========================================
   CTA SECTION
======================================== */
.hub-cta-section {
    padding: 64px 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .hub-cta-section {
        padding: 80px 24px;
    }
}

.hub-cta-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hub-cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 24px;
}

.hub-cta-note {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ========================================
   CONTACT FORM
======================================== */
.hub-contact-form {
    margin-top: 40px;
}

.hub-form-group {
    margin-bottom: 20px;
}

.hub-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hub-form-input,
.hub-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow 0.3s ease;
}

.hub-form-input:focus,
.hub-form-textarea:focus {
    outline: none;
    border-color: var(--green-bright);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.08);
}

.hub-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-message.success {
    background: rgba(0, 255, 65, 0.08);
    color: var(--green-bright);
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.contact-message.error {
    background: rgba(248, 81, 73, 0.08);
    color: var(--red, #f85149);
    border: 1px solid rgba(248, 81, 73, 0.2);
}

/* ========================================
   TIMELINE
======================================== */
.hub-timeline {
    margin-top: 32px;
}

.hub-timeline-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-card-hover);
}

.hub-timeline-item:last-child { border-bottom: none; }

.hub-timeline-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-bright);
    font-weight: 600;
}

.hub-timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hub-timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hub-timeline-closing {
    margin-top: 24px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
}

/* ========================================
   DIFFERENTIATORS
======================================== */
.hub-diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-diff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hub-diff-item {
    padding: 24px;
    border-left: 3px solid var(--green-bright);
    background: var(--bg-card);
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-diff-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.04);
}

.hub-diff-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hub-diff-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   STATS GRID (hub version)
======================================== */
.hub-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.hub-stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.hub-stat-item:hover {
    border-color: rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}

.hub-stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-bright);
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .hub-stat-value { font-size: 1.8rem; }
}

.hub-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ========================================
   PROBLEM COPY BLOCK
======================================== */
.hub-problem-copy {
    max-width: 800px;
    margin-top: 24px;
}

.hub-problem-copy p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hub-problem-copy p:last-child { margin-bottom: 0; }
.hub-problem-copy strong { color: var(--text-primary); }

.hub-problem-copy .mono-accent {
    color: var(--green-bright);
    font-family: var(--font-mono);
    font-size: 0.95em;
}

/* ========================================
   TERMINAL CURSOR BLINK
======================================== */
.terminal-cursor {
    display: inline;
}

.terminal-cursor::after {
    content: '█';
    display: inline;
    animation: blink-cursor 1s step-end infinite;
    color: var(--green-bright);
    font-size: 0.85em;
    margin-left: 2px;
    vertical-align: baseline;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================================
   SECTION HEADER SUBTITLE
======================================== */
.section-header-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 700px;
}

.section-header-sub.section-header-sub--wide {
    max-width: 980px;
}

/* =====================================================
   CONTACTO — "Qué esperar" plegable
===================================================== */
.contacto-que-esperar-toggle {
    margin: 24px auto 32px;
    max-width: 820px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.contacto-que-esperar-toggle[open] {
    border-color: var(--green-primary);
}

.contacto-que-esperar-toggle summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    color: var(--text-primary);
}

.contacto-que-esperar-toggle summary::-webkit-details-marker {
    display: none;
}

.contacto-que-esperar-toggle-text {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contacto-que-esperar-toggle-mark {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--green-bright);
    line-height: 1;
    transition: transform 0.2s ease;
}

.contacto-que-esperar-toggle[open] .contacto-que-esperar-toggle-mark {
    transform: rotate(45deg);
}

.contacto-que-esperar-toggle summary:hover .contacto-que-esperar-toggle-text {
    color: var(--green-bright);
}

.contacto-que-esperar-toggle .que-esperar {
    margin: 0;
    border: none;
    border-top: 1px solid var(--bg-card-hover);
    border-radius: 0;
    background: transparent;
}

.section-header[style*="text-align: center"] .section-header-sub,
.hub-cta-section .section-header-sub {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   COMPARE GRID (Problema — agencia/freelancer/CTO)
======================================== */
.hub-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-compare-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.hub-compare-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    padding: 24px 20px;
    transition: border-color 0.3s ease;
}

.hub-compare-item.hub-compare-fail {
    border-top: 3px solid var(--red, #f85149);
}

.hub-compare-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red, #f85149);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hub-compare-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hub-compare-verdict {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    padding-top: 12px;
    border-top: 1px solid var(--bg-card-hover);
    line-height: 1.5;
}

/* ========================================
   SOLUTIONS GRID (3 pilares — Home)
======================================== */
.hub-solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .hub-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hub-solution-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-left: 4px solid var(--green-bright);
    border-radius: 0 12px 12px 0;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hub-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 255, 65, 0.08);
    border-left-color: var(--green-bright);
}

.hub-solution-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-bright);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.hub-solution-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hub-solution-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.hub-solution-hook {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
}

.hub-solution-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.hub-solution-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-primary);
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hub-solution-link:hover {
    color: var(--green-bright);
    text-shadow: 0 0 12px var(--green-glow);
}

/* ========================================
   PROFILE CARD (Sobre mí — Home)
======================================== */
.hub-profile-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 16px;
    padding: 32px 24px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-profile-card {
        grid-template-columns: 200px 1fr;
        gap: 40px;
        padding: 40px 36px;
    }
}

.hub-profile-photo {
    text-align: center;
}

@media (min-width: 768px) {
    .hub-profile-photo {
        text-align: left;
    }
}

.hub-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card-hover);
    transition: border-color 0.3s ease;
}

.hub-profile-card:hover .hub-profile-img {
    border-color: var(--green-primary);
}

@media (min-width: 768px) {
    .hub-profile-img {
        width: 200px;
        height: 200px;
    }
}

.hub-profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.hub-profile-handle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-bright);
    margin-bottom: 16px;
}

.hub-profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.hub-profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 600px) {
    .hub-profile-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hub-profile-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}

.hub-profile-stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-bright);
    margin-bottom: 2px;
}

.hub-profile-stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hub-profile-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green-primary);
    font-weight: 600;
}

/* ========================================
   GLOW BORDER (Journey highlighted option)
======================================== */
.hub-glow-border {
    position: relative;
    border-color: var(--green-primary);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
    }
    50% {
        box-shadow: 0 0 32px rgba(0, 255, 65, 0.15), 0 0 8px rgba(0, 255, 65, 0.1);
    }
}

/* Journey option audit tag */
.option-audit .option-tag {
    background: rgba(88, 166, 255, 0.15);
    color: var(--blue, #58a6ff);
}

/* ========================================
   SECTION DIVIDER (visual rhythm)
======================================== */
.hub-section-divider {
    text-align: center;
    padding: 24px 0;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    opacity: 0.5;
}

/* ========================================
   PULL QUOTE (large emphasis text)
======================================== */
.hub-pull-quote {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    max-width: 800px;
    margin: 32px auto;
    text-align: center;
    position: relative;
}

.hub-pull-quote .highlight {
    color: var(--green-bright);
}

/* ========================================
   USABILITY: UNIFORM WIDTHS & RESPONSIVE
======================================== */

/*
 * Width system for hub pages:
 * - Grid components (services, cards, paths, diff, stats, for-grid)
 *   fill the full .container (1100px)
 * - Narrative/linear components use a consistent 800px centered
 * - CTA sections use their own centered narrow text (by design)
 */

/* Unified width for all narrow/linear content blocks */
.hub-process,
.hub-investment,
.hub-book,
.hub-contact-form,
.hub-timeline,
.hub-problem-copy {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Override base component widths for consistency (hub.css only loads on hub pages) */
.terminal {
    max-width: min(800px, 100%);
}

.emotional-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.insight-box {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services list: 2 columns on desktop for better scanning */
@media (min-width: 768px) {
    .hub-services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Better mobile spacing for for-who lists */
@media (max-width: 767px) {
    .hub-for-grid {
        gap: 40px;
    }

    .hub-diff-grid {
        gap: 16px;
    }

    .hub-stat-item {
        padding: 20px 12px;
    }

    .hub-stat-value {
        font-size: 1.3rem;
    }

    .hub-paths {
        gap: 20px;
    }

    .hub-path {
        padding: 24px 20px;
    }

    .hub-service-block {
        padding: 24px 20px;
    }

    .hub-investment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hub-investment-value {
        text-align: left;
    }

    .hub-process-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .hub-timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }
}

/* CTA section: better vertical rhythm */
.hub-cta-section .btn {
    margin-top: 8px;
}

/* ========================================
   NAV ACTIVE STATE FOR HUB PAGES
======================================== */
.nav-links a.active {
    color: var(--green-bright);
}

/* ========================================
   LOGO SIZE OVERRIDE (hub pages)
======================================== */
.nav-logo-img {
    height: 34px;
}

.footer-logo-img {
    height: 36px;
}

@media (min-width: 768px) {
    .footer-logo-img {
        height: 42px;
    }
}

/* ========================================
   HERO HOME — subtítulo más ancho (matched al H1)
======================================== */
.hub-hero .hero-content-centered .hero-subtitle {
    max-width: 880px;
}

/* ========================================
   QUÉ ESPERAR — sección + bloque CRO reusable
======================================== */
.que-esperar-section {
    padding: 24px 16px 32px;
}

@media (min-width: 768px) {
    .que-esperar-section {
        padding: 32px 24px 48px;
    }
}

/* Variante "qué esperar" integrada dentro del CTA final (journey) */
.journey-que-esperar {
    margin: 32px auto;
    max-width: 980px;
}

@media (min-width: 768px) {
    .journey-que-esperar {
        margin: 40px auto 48px;
    }
}

.journey-que-esperar .que-esperar {
    background: rgba(0, 0, 0, 0.18);
    border-color: var(--bg-card-hover);
}

.que-esperar {
    margin: 0;
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    position: relative;
}

.que-esperar-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.que-esperar-label {
    font-family: var(--font-mono);
    color: var(--green-primary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.que-esperar-header h3 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.que-esperar-cta {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.que-esperar-cta-note {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin: 0.75rem 0 0;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .que-esperar {
        padding: 2.25rem 2.25rem 2rem;
    }

    .que-esperar-header {
        margin-bottom: 2rem;
    }

    .que-esperar-header h3 {
        font-size: 1.6rem;
    }

    .que-esperar-cta {
        margin-top: 2rem;
        padding-top: 1.75rem;
    }
}

/* ========================================
   CONTACTO — Calendly CTA primary + divider
======================================== */
.contacto-cta-primary {
    text-align: center;
    margin: 1rem 0 2.5rem;
}

.contacto-cta-note {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.contacto-or-divider {
    text-align: center;
    margin: 2rem 0;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacto-or-divider::before,
.contacto-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ========================================
   CTA card destacada (Calendly) en CTA finales
======================================== */
.journey-option.option-calendly {
    border: 1px solid var(--green-primary);
    box-shadow: 0 0 24px var(--green-glow);
}

/* ========================================
   FOOTER — redes sociales
======================================== */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: border-color var(--transition-normal), color var(--transition-normal);
}

.footer-social a:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ========================================
   HUB PATHS — variante 3 caminos (/aprender)
======================================== */
@media (min-width: 1024px) {
    .hub-paths.hub-paths--three {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   FOR WHO — variante stacked (3 listas verticales en /aprender)
======================================== */
.hub-for-grid.hub-for-grid--stacked {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    gap: 36px;
}

@media (min-width: 768px) {
    .hub-for-grid.hub-for-grid--stacked {
        grid-template-columns: 1fr;
    }
}

.hub-for-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--green-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

/* ========================================
   LOGOS CLIENTES — strip horizontal
======================================== */
.logos-clientes {
    padding: 32px 0 48px;
}

.logos-clientes-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 24px;
}

.logos-clientes-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.logo-cliente {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    flex: 0 0 auto;
}

.logo-cliente img {
    max-height: 100%;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.logo-cliente:hover img,
a.logo-cliente:hover img {
    opacity: 1;
}

@media (min-width: 768px) {
    .logo-cliente {
        height: 44px;
    }
    .logo-cliente img {
        max-width: 180px;
    }
    .logos-clientes-strip {
        gap: 28px 56px;
    }
}

/* ========================================
   HERO — Credibility line (sobre el eyebrow)
======================================== */
.hero-credibility {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin: 0 auto 18px;
    max-width: 760px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-credibility {
        font-size: 0.85rem;
    }
}

/* ========================================
   COMPARE GRID — variante 4 columnas
======================================== */
@media (min-width: 768px) {
    .hub-compare-grid.hub-compare-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .hub-compare-grid.hub-compare-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hub-compare-bridge {
    margin: 32px auto 0;
    max-width: 720px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   QUÉ ESPERAR — Stepper memorable (3 pasos + bifurcación)
======================================== */
.qe-stepper {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    counter-reset: qe;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
}

@media (min-width: 900px) {
    .qe-stepper {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        align-items: start;
        margin-top: 3rem;
    }
}

.qe-step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
}

@media (min-width: 900px) {
    .qe-step {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1.5rem;
        gap: 0.75rem;
    }
}

/* Marcador circular numerado */
.qe-step-marker {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--bg-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: span 3;
    z-index: 2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 900px) {
    .qe-step-marker {
        grid-row: auto;
        margin: 0 auto 0.75rem;
    }
}

.qe-step:hover .qe-step-marker {
    border-color: var(--green-bright);
    box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.08), 0 0 24px rgba(0, 255, 65, 0.25);
}

.qe-step-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-bright);
    line-height: 1;
}

/* Pulse halo en el primer step (CTA implícito) */
.qe-step-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--green-bright);
    opacity: 0;
    animation: qe-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes qe-pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.45); }
}

/* Conector horizontal entre marcadores (desktop) */
@media (min-width: 900px) {
    .qe-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 27px;
        left: calc(50% + 32px);
        right: calc(-50% + 32px);
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--bg-card-hover) 0 8px,
            transparent 8px 14px
        );
        z-index: 1;
    }
}

/* Conector vertical (mobile) */
.qe-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: -2.5rem;
    width: 2px;
    background: repeating-linear-gradient(
        180deg,
        var(--bg-card-hover) 0 8px,
        transparent 8px 14px
    );
    z-index: 1;
}

@media (min-width: 900px) {
    .qe-step:not(:last-child)::before {
        display: none;
    }
}

/* Time chip */
.qe-step-time {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--green-bright);
    background: rgba(0, 255, 65, 0.08);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 999px;
    padding: 3px 10px;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .qe-step-time {
        margin: 0 auto;
    }
}

/* Title + desc */
.qe-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

@media (min-width: 900px) {
    .qe-step-title {
        font-size: 1.15rem;
    }
}

.qe-step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Bifurcación final — ancho completo, 2 columnas */
.qe-fork {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 700px) {
    .qe-fork {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 3rem;
    }
}

.qe-fork-branch {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.55;
    border-left: 3px solid;
}

.qe-fork-pass {
    background: rgba(0, 255, 65, 0.05);
    border-left-color: var(--green-bright);
    color: var(--text-primary);
}

.qe-fork-fail {
    background: rgba(210, 153, 34, 0.06);
    border-left-color: var(--amber, #d29922);
    color: var(--text-secondary);
}

.qe-fork-mark {
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
}

.qe-fork-pass .qe-fork-mark { color: var(--green-bright); }
.qe-fork-fail .qe-fork-mark { color: var(--amber, #d29922); }

.qe-fork-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.qe-fork-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.qe-fork-pass .qe-fork-label { color: var(--green-bright); }
.qe-fork-fail .qe-fork-label { color: var(--amber, #d29922); }

.qe-fork-text {
    font-family: var(--font-sans);
    font-size: 0.88rem;
}

/* ========================================
   SOLUTIONS GRID — variante 2 columnas
======================================== */
@media (min-width: 768px) {
    .hub-solutions-grid.hub-solutions-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Aprender divider — link sutil debajo de Construir/Escalar */
.hub-aprender-divider {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px dashed var(--bg-card-hover);
    text-align: center;
}

.hub-aprender-divider p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-dim);
    margin: 0;
}

.hub-aprender-divider a {
    color: var(--green-bright);
    font-weight: 600;
    margin-left: 6px;
    transition: text-shadow 0.2s ease;
}

.hub-aprender-divider a:hover {
    text-shadow: 0 0 12px var(--green-glow);
}

/* ========================================
   PROFILE — nota junto al @handle
======================================== */
.hub-profile-handle-note {
    display: block;
    margin-top: 4px;
    font-family: var(--font-sans, inherit);
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   TRACK RECORD — Lista de clientes/proyectos
======================================== */
.hub-cases-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hub-case-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 0;
    border-bottom: 1px solid var(--bg-card-hover);
}

.hub-case-row:last-child {
    border-bottom: none;
}

.hub-case-client {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.hub-case-meta {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 0.85rem;
}

.hub-case-work {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hub-case-work strong {
    color: var(--green-bright);
    font-weight: 600;
}

/* ========================================
   JOURNEY — variante inline (comparativa entre secciones)
======================================== */
.journey-section.journey-section-inline {
    padding: 64px 0;
}

.journey-section.journey-section-inline .journey-paths {
    margin-top: 32px;
}

/* journey-final-options-2: dos opciones en grid */
.journey-final-options-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .journey-final-options-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ========================================
   FAQ
======================================== */
.hub-faq-list {
    margin-top: 32px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.hub-faq-item[open] {
    border-color: var(--green-primary);
}

.hub-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

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

.hub-faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--green-bright);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.hub-faq-item[open] summary::after {
    content: '−';
}

.hub-faq-item summary:hover {
    color: var(--green-bright);
}

.hub-faq-answer {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--bg-card-hover);
    padding-top: 16px;
}

.hub-faq-answer p {
    margin: 0;
}

/* =====================================================
   COMPARATIVA — diff style (Cómo decido si encajamos)
===================================================== */
.hub-decide-section {
    padding: 80px 0;
}

.hub-decide-diff {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .hub-decide-diff {
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
        align-items: stretch;
    }
}

/* Cada lado del diff */
.hub-decide-side {
    position: relative;
    padding: 28px 24px 0;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 900px) {
    .hub-decide-side {
        padding: 36px 32px 0;
    }
}

/* Lado fail: rojo apagado, opacidad reducida */
.hub-decide-fail {
    border-color: rgba(248, 81, 73, 0.25);
}

.hub-decide-fail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 81, 73, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Lado pass: verde, glow */
.hub-decide-pass {
    border-color: rgba(0, 255, 65, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.08), 0 0 60px -20px rgba(0, 255, 65, 0.25);
}

.hub-decide-pass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hub-decide-pass:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.15), 0 0 80px -20px rgba(0, 255, 65, 0.35);
}

/* Tag tipo terminal arriba */
.hub-decide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.hub-decide-fail .hub-decide-tag { color: var(--red); opacity: 0.85; }
.hub-decide-pass .hub-decide-tag { color: var(--green-bright); }

.hub-decide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.hub-decide-fail .hub-decide-dot {
    background: var(--red);
    box-shadow: 0 0 10px rgba(248, 81, 73, 0.6);
}

.hub-decide-pass .hub-decide-dot {
    background: var(--green-bright);
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.8);
    animation: hub-decide-pulse 2.4s ease-in-out infinite;
}

@keyframes hub-decide-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 65, 0.8); }
    50%      { box-shadow: 0 0 22px rgba(0, 255, 65, 1); }
}

.hub-decide-side-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hub-decide-fail .hub-decide-side-title { color: var(--text-secondary); }
.hub-decide-pass .hub-decide-side-title { color: var(--text-primary); }

@media (min-width: 900px) {
    .hub-decide-side-title { font-size: 1.55rem; }
}

/* Lista diff */
.hub-decide-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.hub-decide-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    line-height: 1.55;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.hub-decide-fail .hub-decide-list li {
    color: var(--text-secondary);
    background: rgba(248, 81, 73, 0.05);
}

.hub-decide-pass .hub-decide-list li {
    color: var(--text-primary);
    background: rgba(0, 255, 65, 0.05);
}

.hub-decide-pass .hub-decide-list li:hover {
    background: rgba(0, 255, 65, 0.1);
}

.hub-decide-mark {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    text-align: center;
}

.hub-decide-fail .hub-decide-mark { color: var(--red); }
.hub-decide-pass .hub-decide-mark { color: var(--green-bright); }

/* Verdict footer strip por lado */
.hub-decide-verdict {
    margin: 0 -24px;
    padding: 18px 24px;
    border-top: 1px solid var(--bg-card-hover);
    font-size: 0.92rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .hub-decide-verdict {
        margin: 0 -32px;
        padding: 20px 32px;
    }
}

.hub-decide-fail .hub-decide-verdict {
    background: rgba(248, 81, 73, 0.08);
    color: var(--text-dim);
}

.hub-decide-pass .hub-decide-verdict {
    background: rgba(0, 255, 65, 0.08);
    color: var(--text-primary);
}

.hub-decide-verdict-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.8;
}

.hub-decide-fail .hub-decide-verdict-label { color: var(--red); }
.hub-decide-pass .hub-decide-verdict-label { color: var(--green-bright); }

/* Divisor central — else */
.hub-decide-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}

@media (min-width: 900px) {
    .hub-decide-divider {
        flex-direction: column;
        padding: 0 16px;
        gap: 12px;
    }
}

.hub-decide-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bg-card-hover), transparent);
    min-width: 40px;
}

@media (min-width: 900px) {
    .hub-decide-divider-line {
        width: 1px;
        height: auto;
        min-height: 60px;
        background: linear-gradient(180deg, transparent, var(--bg-card-hover), transparent);
    }
}

.hub-decide-divider-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 999px;
    padding: 4px 14px;
    text-transform: lowercase;
    white-space: nowrap;
}

/* =====================================================
   SERVICIOS — Service spec cards (Construir / Escalar)
===================================================== */
.hub-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .hub-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.hub-service {
    --service-accent: var(--green-bright);
    --service-accent-soft: rgba(0, 255, 65, 0.12);
    --service-accent-glow: rgba(0, 255, 65, 0.25);

    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 14px;
    padding: 36px 28px 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 900px) {
    .hub-service {
        padding: 44px 36px 32px;
    }
}

.hub-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--service-accent);
    opacity: 0.7;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.hub-service:hover {
    transform: translateY(-6px);
    border-color: var(--service-accent);
    box-shadow: 0 24px 60px -20px var(--service-accent-glow);
}

.hub-service:hover::before {
    opacity: 1;
    height: 4px;
}

/* Accent por servicio */
.hub-service-construir {
    --service-accent: var(--green-bright);
    --service-accent-soft: rgba(0, 255, 65, 0.12);
    --service-accent-glow: rgba(0, 255, 65, 0.25);
}

.hub-service-escalar {
    --service-accent: var(--amber, #d29922);
    --service-accent-soft: rgba(210, 153, 34, 0.14);
    --service-accent-glow: rgba(210, 153, 34, 0.3);
}

/* Watermark gigante */
.hub-service-watermark {
    position: absolute;
    top: -18px;
    right: 12px;
    font-family: var(--font-mono);
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--service-accent);
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (min-width: 900px) {
    .hub-service-watermark {
        font-size: 12rem;
        right: 18px;
    }
}

.hub-service:hover .hub-service-watermark {
    opacity: 0.12;
    transform: translateY(-4px);
}

/* Header del card */
.hub-service-header {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.hub-service-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--service-accent);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--service-accent-soft);
}

.hub-service-name {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 8px;
    color: var(--text-primary);
}

@media (min-width: 900px) {
    .hub-service-name { font-size: 2.4rem; }
}

.hub-service-hook {
    font-size: 1rem;
    color: var(--service-accent);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    font-family: var(--font-mono);
}

.hub-service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

/* Chips de meta */
.hub-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hub-service-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 4px;
    padding: 4px 10px;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.hub-service:hover .hub-service-chip {
    border-color: var(--service-accent);
    color: var(--text-primary);
}

/* "if (encaja) { ... }" block */
.hub-service-fit {
    background: var(--bg-secondary);
    border-left: 3px solid var(--service-accent);
    border-radius: 0 6px 6px 0;
    padding: 14px 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hub-service-fit-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--service-accent);
    line-height: 1.4;
}

.hub-service-fit p {
    margin: 6px 0;
    padding-left: 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA del card */
.hub-service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--service-accent);
    margin-top: auto;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    align-self: flex-start;
    transition: border-color 0.2s ease, gap 0.2s ease;
    position: relative;
    z-index: 1;
}

.hub-service-cta:hover {
    border-bottom-color: var(--service-accent);
    gap: 14px;
}

.hub-service-cta-arrow {
    transition: transform 0.2s ease;
    font-size: 1.05rem;
}

.hub-service:hover .hub-service-cta-arrow {
    transform: translateX(2px);
}

/* =====================================================
   Stack y Ejemplo (en service-block o path card)
===================================================== */
.hub-service-block .hub-service-stack,
.hub-service-block .hub-service-example,
.hub-path .hub-service-stack,
.hub-path .hub-service-example {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.hub-service-stack-label,
.hub-service-example-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--green-bright);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: lowercase;
}

/* Cuando va dentro de un hub-path, el label usa el accent del path */
.hub-path .hub-service-stack-label,
.hub-path .hub-service-example-label {
    color: var(--path-accent, var(--green-bright));
}

.hub-service-block .hub-service-stack,
.hub-path .hub-service-stack {
    display: block;
}

.hub-service-block .hub-service-stack .hub-service-chip,
.hub-path .hub-service-stack .hub-service-chip {
    display: inline-block;
    margin: 4px 6px 0 0;
}

.hub-service-block:hover .hub-service-chip,
.hub-path:hover .hub-service-chip {
    border-color: var(--path-accent, var(--green-primary));
    color: var(--text-primary);
}

.hub-service-example p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =====================================================
   PROCESO — Entregable por fase
===================================================== */
.hub-process-output {
    margin: 10px 0 0;
    padding: 10px 14px;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--green-bright);
    border-radius: 0 6px 6px 0;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hub-process-output-label {
    color: var(--green-bright);
    font-weight: 600;
    margin-right: 6px;
    letter-spacing: 0.02em;
}

/* =====================================================
   APRENDER — Complemento de Negociación (sub-producto)
===================================================== */
.hub-path-complement {
    margin: 56px auto 0;
    max-width: 1100px;
    padding: 28px 32px;
    background: var(--bg-secondary);
    border: 1px dashed var(--bg-card-hover);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 900px) {
    .hub-path-complement {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 32px 40px;
    }
}

.hub-path-complement-content { flex: 1; }

.hub-path-complement-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.hub-path-complement-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .hub-path-complement-title { font-size: 1.3rem; }
}

.hub-path-complement-desc {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 720px;
}

.hub-path-complement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--green-bright);
    flex-shrink: 0;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, gap 0.2s ease;
}

.hub-path-complement-link:hover {
    border-bottom-color: var(--green-bright);
    gap: 12px;
}

/* =====================================================
   FIT CHECK — Code-review style block (Construir / Escalar / Aprender)
===================================================== */
.hub-fit-section {
    padding: 80px 0;
}

.hub-fit-check {
    margin: 48px auto 0;
    max-width: 1180px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.5);
}

/* Header (window chrome style) */
.hub-fit-check-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--bg-card-hover);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.hub-fit-check-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hub-fit-check-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.hub-fit-check-dot--red    { background: var(--red); opacity: 0.6; }
.hub-fit-check-dot--yellow { background: var(--amber); opacity: 0.6; }
.hub-fit-check-dot--green  { background: var(--green-primary); opacity: 0.6; }

.hub-fit-check-file {
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
    letter-spacing: 0.02em;
}

.hub-fit-check-status {
    color: var(--amber);
    font-size: 0.72rem;
    background: rgba(210, 153, 34, 0.12);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

/* Body */
.hub-fit-check-body {
    padding: 28px 24px;
}

@media (min-width: 768px) {
    .hub-fit-check-body { padding: 36px 32px; }
}

.hub-fit-check-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .hub-fit-check-grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
    .hub-fit-check-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* Each block (approve_if / skip_if) */
.hub-fit-block {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-fit-block--approve {
    border-color: rgba(0, 255, 65, 0.2);
}

.hub-fit-block--approve:hover {
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.15), 0 0 40px -10px rgba(0, 255, 65, 0.25);
}

.hub-fit-block--skip {
    border-color: rgba(248, 81, 73, 0.2);
}

.hub-fit-block--skip:hover {
    border-color: rgba(248, 81, 73, 0.5);
}

/* Tag (function signature line) */
.hub-fit-block-tag {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.hub-fit-block-mark {
    font-weight: 700;
    font-size: 1rem;
}

.hub-fit-block--approve .hub-fit-block-mark { color: var(--green-bright); }
.hub-fit-block--skip .hub-fit-block-mark { color: var(--red); }

.hub-fit-block-fn {
    font-weight: 700;
}

.hub-fit-block--approve .hub-fit-block-fn { color: var(--green-bright); }
.hub-fit-block--skip .hub-fit-block-fn { color: var(--red); }

.hub-fit-block-arg {
    color: var(--text-dim);
    font-size: 0.82rem;
}

.hub-fit-block-brace {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.92rem;
}

/* List of items */
.hub-fit-block-list {
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hub-fit-block-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: baseline;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.hub-fit-block--approve .hub-fit-block-list li {
    background: rgba(0, 255, 65, 0.04);
}

.hub-fit-block--approve .hub-fit-block-list li:hover {
    background: rgba(0, 255, 65, 0.1);
    color: var(--text-primary);
}

.hub-fit-block--skip .hub-fit-block-list li {
    background: rgba(248, 81, 73, 0.04);
}

.hub-fit-block--skip .hub-fit-block-list li:hover {
    background: rgba(248, 81, 73, 0.08);
}

.hub-fit-item-mark {
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.hub-fit-block--approve .hub-fit-item-mark { color: var(--green-bright); }
.hub-fit-block--skip .hub-fit-item-mark { color: var(--red); }

/* Summary line */
.hub-fit-check-summary {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px dashed var(--bg-card-hover);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.hub-fit-check-comment {
    color: var(--text-dim);
    margin-right: 8px;
}

.hub-fit-check-summary strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hub-fit-check-match {
    display: inline-block;
    margin-left: 6px;
    color: var(--green-bright);
    font-weight: 700;
    text-shadow: 0 0 16px rgba(0, 255, 65, 0.4);
}

/* Sub-groups dentro de approve_if (caso /aprender con dos audiencias) */
.hub-fit-subgroup {
    margin-bottom: 18px;
}

.hub-fit-subgroup:last-of-type {
    margin-bottom: 8px;
}

.hub-fit-subgroup-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    padding-left: 4px;
    border-left: 2px solid rgba(0, 255, 65, 0.3);
    padding: 4px 0 4px 10px;
}

.hub-fit-subgroup-label--skip {
    border-left-color: rgba(248, 81, 73, 0.4);
    margin-bottom: 12px;
}

/* =====================================================
   APRENDER — Attempts (cards con stuck progress meter)
===================================================== */
.hub-attempts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hub-attempts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

/* Variante 4 cards (Construir): 2x2 en tablet, 4 cols en wide */
@media (min-width: 768px) {
    .hub-attempts-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .hub-attempts-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Variante 2x2 fija (Home): siempre 2 columnas en >=768px, no se expande */
@media (min-width: 768px) {
    .hub-attempts-grid--2x2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hub-attempt {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-top: 3px solid var(--red);
    border-radius: 0 0 12px 12px;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-attempt:hover {
    box-shadow: 0 16px 40px -16px rgba(248, 81, 73, 0.18);
    border-top-color: var(--red);
    border-color: rgba(248, 81, 73, 0.3);
}

.hub-attempt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

.hub-attempt-status {
    color: var(--red);
    background: rgba(248, 81, 73, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hub-attempt-method {
    color: var(--text-dim);
}

.hub-attempt-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
}

@media (min-width: 768px) {
    .hub-attempt-title { font-size: 1.2rem; }
}

/* Stuck progress meter */
.hub-attempt-meter {
    --meter-progress: 0%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px dashed var(--bg-card-hover);
    border-bottom: 1px dashed var(--bg-card-hover);
}

.hub-attempt-meter-track {
    position: relative;
    height: 6px;
    background: rgba(248, 81, 73, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.hub-attempt-meter-fill {
    position: absolute;
    inset: 0;
    width: var(--meter-progress);
    background: repeating-linear-gradient(
        45deg,
        var(--red) 0 6px,
        rgba(248, 81, 73, 0.6) 6px 12px
    );
    border-radius: 999px 0 0 999px;
    box-shadow: 0 0 8px rgba(248, 81, 73, 0.4);
    transition: width 0.6s ease;
}

.hub-attempt-meter-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.hub-attempt-meter-label {
    color: var(--text-dim);
}

.hub-attempt-meter-value {
    color: var(--red);
    font-weight: 700;
}

.hub-attempt-desc {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.hub-attempt-verdict {
    margin: 0;
    padding: 12px 14px;
    background: rgba(248, 81, 73, 0.06);
    border-left: 3px solid var(--red);
    border-radius: 0 6px 6px 0;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hub-attempt-verdict-label {
    display: block;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

/* =====================================================
   APRENDER — Caminos memorables (watermark + DE→A transform)
===================================================== */
.hub-paths--memorable {
    margin-top: 40px;
}

/* Resetea reglas heredadas de .hub-path para esta variante memorable */
.hub-paths--memorable .hub-path {
    --path-accent: var(--green-bright);
    --path-accent-soft: rgba(0, 255, 65, 0.12);
    --path-accent-glow: rgba(0, 255, 65, 0.25);

    position: relative;
    overflow: hidden;
    padding: 36px 28px 28px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .hub-paths--memorable .hub-path {
        padding: 44px 36px 32px;
    }
}

.hub-paths--memorable .hub-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--path-accent);
    opacity: 0.7;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.hub-paths--memorable .hub-path:hover {
    transform: translateY(-6px);
    border-color: var(--path-accent);
    box-shadow: 0 24px 60px -20px var(--path-accent-glow);
}

.hub-paths--memorable .hub-path:hover::before {
    opacity: 1;
    height: 4px;
}

/* Accent por camino */
.hub-path--dev {
    --path-accent: var(--green-bright);
    --path-accent-soft: rgba(0, 255, 65, 0.12);
    --path-accent-glow: rgba(0, 255, 65, 0.25);
}

.hub-path--biz {
    --path-accent: var(--blue, #58a6ff);
    --path-accent-soft: rgba(88, 166, 255, 0.14);
    --path-accent-glow: rgba(88, 166, 255, 0.3);
}

/* Variantes para servicios (4 cards en construir/escalar) */
.hub-path--svc-01 {
    --path-accent: var(--green-bright);
    --path-accent-soft: rgba(0, 255, 65, 0.12);
    --path-accent-glow: rgba(0, 255, 65, 0.25);
}

.hub-path--svc-02 {
    --path-accent: var(--blue, #58a6ff);
    --path-accent-soft: rgba(88, 166, 255, 0.14);
    --path-accent-glow: rgba(88, 166, 255, 0.3);
}

.hub-path--svc-03 {
    --path-accent: var(--amber, #d29922);
    --path-accent-soft: rgba(210, 153, 34, 0.14);
    --path-accent-glow: rgba(210, 153, 34, 0.3);
}

.hub-path--svc-04 {
    --path-accent: var(--green-primary);
    --path-accent-soft: rgba(63, 185, 80, 0.14);
    --path-accent-glow: rgba(63, 185, 80, 0.3);
}

/* Watermark gigante */
.hub-path-watermark {
    position: absolute;
    top: -20px;
    right: 14px;
    font-family: var(--font-mono);
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--path-accent);
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (min-width: 900px) {
    .hub-path-watermark {
        font-size: 12rem;
        right: 22px;
    }
}

.hub-paths--memorable .hub-path:hover .hub-path-watermark {
    opacity: 0.13;
    transform: translateY(-4px);
}

/* Tag pill (con dot pulsante) */
.hub-path-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--path-accent);
    letter-spacing: 0.04em;
    background: var(--path-accent-soft);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    align-self: flex-start;
    position: relative;
    z-index: 1;
}

.hub-path-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--path-accent);
    box-shadow: 0 0 8px var(--path-accent);
}

/* Title + hook */
.hub-path-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .hub-path-name { font-size: 2.2rem; }
}

.hub-path-hook {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--path-accent);
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 22px;
    position: relative;
    z-index: 1;
}

/* Transformación DE → A — el elemento más memorable */
.hub-path-transform {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hub-path-transform-side {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hub-path-transform-side--to {
    background: var(--path-accent-soft);
    text-align: right;
}

.hub-path-transform-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hub-path-transform-side--to .hub-path-transform-label {
    color: var(--path-accent);
}

.hub-path-transform-state {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
    word-wrap: break-word;
}

.hub-path-transform-side--to .hub-path-transform-state {
    color: var(--text-primary);
    font-weight: 500;
}

.hub-path-transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--path-accent);
    background: var(--bg-secondary);
    border-left: 1px solid var(--bg-card-hover);
    border-right: 1px solid var(--bg-card-hover);
}

/* Lista (override del estilo base con > prefix) */
.hub-paths--memorable .hub-path-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.hub-paths--memorable .hub-path-list li {
    padding: 6px 0 6px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
}

.hub-paths--memorable .hub-path-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--path-accent);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}

/* Meta footer (key/val rows) */
.hub-paths--memorable .hub-path-meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--bg-card-hover);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.hub-path-meta-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    align-items: baseline;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .hub-path-meta-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.hub-path-meta-key {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--path-accent);
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.hub-path-meta-val {
    color: var(--text-secondary);
}

/* =====================================================
   APRENDER — Módulos en 2x2 grid (Cuatro áreas)
===================================================== */
.hub-modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hub-modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.hub-module {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--green-bright);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hub-module:hover {
    transform: translateY(-4px);
    border-color: var(--green-primary);
    box-shadow: 0 16px 40px -16px rgba(0, 255, 65, 0.2);
}

.hub-module:hover::before {
    opacity: 1;
}

.hub-module-corner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hub-module-num {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--green-bright);
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.9;
}

.hub-module-tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.hub-module-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0 0 8px;
}

@media (min-width: 900px) {
    .hub-module-name { font-size: 1.4rem; }
}

.hub-module-hook {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--green-bright);
    line-height: 1.4;
    margin: 0 0 14px;
    font-weight: 500;
}

.hub-module-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 20px;
    flex: 1;
}

.hub-module-output {
    margin-top: auto;
    padding: 12px 14px;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--green-bright);
    border-radius: 0 6px 6px 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hub-module-output-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--green-bright);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Variante biz (azul) — IA aplicada al negocio en detalle */
.hub-modules-grid--biz .hub-module::before {
    background: var(--blue, #58a6ff);
}

.hub-modules-grid--biz .hub-module:hover {
    border-color: var(--blue, #58a6ff);
    box-shadow: 0 16px 40px -16px rgba(88, 166, 255, 0.25);
}

.hub-modules-grid--biz .hub-module-num,
.hub-modules-grid--biz .hub-module-hook,
.hub-modules-grid--biz .hub-module-output-label {
    color: var(--blue, #58a6ff);
}

.hub-modules-grid--biz .hub-module-output {
    background: rgba(88, 166, 255, 0.06);
    border-left-color: var(--blue, #58a6ff);
}

/* =====================================================
   APRENDER — Sub-producto memorable (Sistema de negociación)
===================================================== */
.hub-side-product {
    margin: 56px auto 0;
    max-width: 1100px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--bg-card-hover);
    border-radius: 14px;
    padding: 32px 28px;
    overflow: hidden;
}

@media (min-width: 900px) {
    .hub-side-product {
        padding: 40px 44px;
    }
}

/* Stamp diagonal en la esquina */
.hub-side-product-stamp {
    position: absolute;
    top: 18px;
    right: -42px;
    background: var(--amber, #d29922);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 56px;
    text-transform: uppercase;
    transform: rotate(35deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hub-side-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .hub-side-product-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 36px;
    }
}

.hub-side-product-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hub-side-product-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    padding: 4px 12px;
    border: 1px dashed var(--bg-card-hover);
    border-radius: 999px;
    text-transform: lowercase;
}

.hub-side-product-title {
    margin: 0 0 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hub-side-product-title {
        font-size: 1.8rem;
    }
}

.hub-side-product-desc {
    margin: 0 0 22px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hub-side-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: border-color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.hub-side-product-cta:hover {
    border-color: var(--amber, #d29922);
    color: var(--amber, #d29922);
    gap: 14px;
    transform: translateX(2px);
}

.hub-side-product-cta-arrow { transition: transform 0.2s ease; }
.hub-side-product-cta:hover .hub-side-product-cta-arrow { transform: translateX(2px); }

/* Snippet de transformation.log */
.hub-side-product-snippet {
    background: var(--bg-primary);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.5);
}

.hub-side-product-snippet-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--bg-card-hover);
    font-family: var(--font-mono);
    font-size: 0.74rem;
}

.hub-side-product-snippet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.6;
}

.hub-side-product-snippet-dot--red    { background: var(--red); }
.hub-side-product-snippet-dot--yellow { background: var(--amber); }
.hub-side-product-snippet-dot--green  { background: var(--green-primary); }

.hub-side-product-snippet-file {
    color: var(--text-dim);
    margin-left: 8px;
    letter-spacing: 0.02em;
}

.hub-side-product-code {
    margin: 0;
    padding: 18px 20px;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.hub-side-product-code-comment {
    color: var(--text-dim);
    font-style: italic;
}

.hub-side-product-code-year {
    color: var(--blue, #58a6ff);
    font-weight: 600;
}

.hub-side-product-code-val-low {
    color: var(--red);
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-color: rgba(248, 81, 73, 0.5);
}

.hub-side-product-code-val-high {
    color: var(--green-bright);
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
}

/* =====================================================
   APRENDER — Por qué yo · Credentials cards (memorable)
===================================================== */
.hub-credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .hub-credentials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.hub-credential {
    --cred-accent: var(--green-bright);
    --cred-accent-soft: rgba(0, 255, 65, 0.08);
    --cred-accent-glow: rgba(0, 255, 65, 0.25);

    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-credential:hover {
    transform: translateY(-4px);
    border-color: var(--cred-accent);
    box-shadow: 0 16px 40px -16px var(--cred-accent-glow);
}

.hub-credential--teach {
    --cred-accent: var(--blue, #58a6ff);
    --cred-accent-soft: rgba(88, 166, 255, 0.1);
    --cred-accent-glow: rgba(88, 166, 255, 0.3);
}

.hub-credential--prod {
    --cred-accent: var(--green-bright);
    --cred-accent-soft: rgba(0, 255, 65, 0.1);
    --cred-accent-glow: rgba(0, 255, 65, 0.25);
}

.hub-credential--career {
    --cred-accent: var(--amber, #d29922);
    --cred-accent-soft: rgba(210, 153, 34, 0.12);
    --cred-accent-glow: rgba(210, 153, 34, 0.3);
}

.hub-credential-code {
    background: var(--bg-secondary);
    padding: 18px 22px;
    border-bottom: 1px solid var(--bg-card-hover);
    border-left: 4px solid var(--cred-accent);
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
}

.hub-credential-code-line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-credential-code-indent {
    padding-left: 18px;
}

.hub-credential-fn {
    color: var(--cred-accent);
    font-weight: 700;
}

.hub-credential-brace {
    color: var(--text-dim);
}

.hub-credential-val {
    color: var(--cred-accent);
    font-weight: 600;
}

.hub-credential-prose {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hub-credential-prose strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.hub-credential-prose p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* =====================================================
   FIT CHECK — Sub-grupos en 2 columnas + outer 2fr/1fr (Aprender)
===================================================== */
.hub-fit-subgroups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    flex: 1;
    margin-bottom: 12px;
}

@media (min-width: 900px) {
    .hub-fit-subgroups {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Outer grid 2fr/1fr — approve wider, skip narrower */
@media (min-width: 768px) {
    .hub-fit-check-grid--approve-wide {
        grid-template-columns: 2fr 1fr;
    }
}

/* =====================================================
   SOBRE MÍ — Hero side-by-side (texto + foto AWS Summit)
===================================================== */
.hub-author-hero .hero-content-author {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 900px) {
    .hub-author-hero .hero-content-author {
        grid-template-columns: 1.1fr 1fr;
        gap: 56px;
    }
}

.hub-author-hero .hero-text {
    text-align: left;
}

.hub-author-hero .hero-text .hero-badge,
.hub-author-hero .hero-text .hero-ctas {
    justify-content: flex-start;
}

.hub-author-hero .hero-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hub-author-hero .hero-photo-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--bg-card-hover);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    display: block;
}

.hub-author-hero .hero-photo-caption {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.5;
}

/* =====================================================
   Credentials grid — variante 2x2 (Filosofía Sobre mí)
===================================================== */
@media (min-width: 768px) {
    .hub-credentials-grid--2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .hub-credentials-grid--2x2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1100px;
    }
}

/* =====================================================
   === SPRINT LANDING ===
===================================================== */

/* Hero · subtitle strong + trust + counter */
.sprint-hero-subtitle-strong {
    color: var(--green-bright);
    font-weight: 600;
}

.sprint-hero-trust {
    margin: 16px auto 0;
    max-width: 640px;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.55;
    letter-spacing: 0.02em;
}

.sprint-hero-trust-extra {
    display: block;
    margin-top: 4px;
    color: var(--green-primary);
}

.sprint-counter {
    margin: 36px auto 0;
    padding: 20px 24px;
    max-width: 760px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-left: 3px solid var(--red);
    border-radius: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-mono);
}

.sprint-counter-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.sprint-counter-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

@media (min-width: 600px) {
    .sprint-counter-values {
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
        align-items: center;
    }
}

.sprint-counter-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
}

@media (min-width: 600px) {
    .sprint-counter-cell { padding: 6px 16px; text-align: left; }
}

.sprint-counter-cell-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sprint-counter-divider {
    display: none;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, var(--bg-card-hover), transparent);
}

@media (min-width: 600px) {
    .sprint-counter-divider { display: block; }
}

.sprint-counter-value {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 0 18px rgba(248, 81, 73, 0.35);
    font-variant-numeric: tabular-nums;
}

.sprint-counter-value--euros {
    color: var(--amber);
    text-shadow: 0 0 18px rgba(210, 153, 34, 0.35);
}

.sprint-counter-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .sprint-counter-value { font-size: 2.3rem; }
}

/* Dolor · escena + listas + bridge */
.sprint-pain-scene {
    margin: 28px auto 32px;
    max-width: 760px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sprint-pain-scene strong {
    color: var(--text-primary);
}

.sprint-pain-h3 {
    margin: 36px 0 18px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.sprint-pain-list {
    list-style: none;
    margin: 0 auto 32px;
    padding: 0;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sprint-pain-list li {
    padding: 14px 18px 14px 38px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.sprint-pain-list li::before {
    content: '!';
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(210, 153, 34, 0.18);
    color: var(--amber);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 18px;
    text-align: center;
}

.sprint-pain-list strong {
    color: var(--text-primary);
}

.sprint-pain-bridge,
.sprint-pain-close {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sprint-pain-bridge strong {
    color: var(--text-primary);
}

.sprint-pain-close {
    text-align: center;
    color: var(--green-bright);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 16px;
}

/* Solución · 3 cards "no es" */
.sprint-not-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .sprint-not-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.sprint-not-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-top: 3px solid var(--red);
    border-radius: 0 0 10px 10px;
    padding: 22px;
}

.sprint-not-mark {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sprint-not-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.sprint-not-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cómo funciona · 4 fases */
.sprint-phases {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .sprint-phases { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (min-width: 1100px) {
    .sprint-phases { grid-template-columns: repeat(4, 1fr); }
}

.sprint-phase {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    padding: 22px;
    border-top: 3px solid var(--green-bright);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sprint-phase-marker {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sprint-phase-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-bright);
    line-height: 1;
}

.sprint-phase-days {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.sprint-phase-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.sprint-phase-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-top: 4px;
}

.sprint-phase-desc {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.sprint-phase-desc strong { color: var(--text-primary); }

/* Stack de valor · tabla con diff */
.sprint-stack-table {
    margin: 36px auto 0;
    max-width: 880px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    overflow: hidden;
}

.sprint-stack-row {
    display: grid;
    grid-template-columns: 1fr 90px 110px;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bg-card-hover);
    font-size: 0.92rem;
    align-items: baseline;
}

@media (min-width: 768px) {
    .sprint-stack-row {
        grid-template-columns: 1fr 120px 140px;
        padding: 16px 24px;
        font-size: 0.95rem;
    }
}

.sprint-stack-row:last-child { border-bottom: none; }

.sprint-stack-row--head {
    background: var(--bg-secondary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sprint-stack-cell--alone { text-align: right; color: var(--text-dim); }
.sprint-stack-cell--sprint { text-align: right; color: var(--green-bright); font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; }
.sprint-stack-cell--alone s { color: var(--red); opacity: 0.85; }

.sprint-stack-row--subtotal {
    background: rgba(0, 255, 65, 0.04);
    font-weight: 600;
}

.sprint-stack-row--subtotal .sprint-stack-cell--name { color: var(--text-primary); }

/* Bonos */
.sprint-bonos {
    margin: 32px auto 0;
    max-width: 880px;
}

.sprint-bonos-title {
    margin: 0 0 18px;
    font-size: 1.15rem;
    color: var(--text-primary);
    text-align: center;
}

.sprint-bonos-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .sprint-bonos-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.sprint-bonos-list li {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-left: 3px solid var(--green-primary);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sprint-bono-mark { font-size: 1.1rem; flex-shrink: 0; line-height: 1.4; }

.sprint-bonos-list li > div { display: flex; flex-direction: column; gap: 2px; }
.sprint-bonos-list li strong { font-size: 0.95rem; color: var(--text-primary); }
.sprint-bono-extra { font-size: 0.82rem; color: var(--text-dim); font-style: italic; }
.sprint-bono-value { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green-bright); margin-top: 2px; letter-spacing: 0.02em; }

.sprint-bonos-total {
    margin: 18px 0 0;
    text-align: center;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.sprint-bonos-total strong { color: var(--green-bright); }

/* Investment summary box */
.sprint-investment {
    margin: 36px auto 0;
    max-width: 540px;
    background: var(--bg-card);
    border: 1px solid var(--green-primary);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 24px 60px -24px rgba(0, 255, 65, 0.25);
}

.sprint-investment-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px dashed var(--bg-card-hover);
}

.sprint-investment-row--final { border-bottom: none; padding-top: 14px; }

.sprint-investment-label { font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-secondary); letter-spacing: 0.02em; }

.sprint-investment-value { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; }
.sprint-investment-value--strike { color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(248, 81, 73, 0.55); }
.sprint-investment-value--final { color: var(--green-bright); font-size: 2.1rem; text-shadow: 0 0 18px rgba(0, 255, 65, 0.35); }

.sprint-investment-installments {
    margin: 8px 0 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Garantía console output */
.sprint-guarantee {
    margin: 32px auto 0;
    max-width: 880px;
}

.sprint-guarantee-code {
    margin: 0;
    padding: 22px 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.sprint-guarantee-comment { color: var(--text-dim); font-style: italic; }
.sprint-guarantee-num { color: var(--green-bright); font-weight: 700; text-shadow: 0 0 12px rgba(0, 255, 65, 0.3); }
.sprint-guarantee-string { color: var(--green-primary); }

/* Casos placeholders */
.sprint-cases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 40px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .sprint-cases { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.sprint-case-placeholder {
    background: repeating-linear-gradient(45deg, var(--bg-card) 0 8px, var(--bg-secondary) 8px 16px);
    border: 1px dashed var(--bg-card-hover);
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sprint-case-tag {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--amber);
    letter-spacing: 0.04em;
}

.sprint-case-placeholder-body { display: flex; flex-direction: column; gap: 8px; }

.sprint-case-placeholder-title {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.sprint-case-placeholder-meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.55;
    font-style: italic;
}

.sprint-why-prove {
    margin: 40px auto 0;
    max-width: 820px;
    padding: 22px 26px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-left: 3px solid var(--green-primary);
    border-radius: 0 10px 10px 0;
}

.sprint-why-prove-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.sprint-why-prove p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sprint-why-prove strong { color: var(--text-primary); }

/* Pricing card */
.sprint-pricing-card {
    margin: 40px auto 0;
    max-width: 640px;
    background: var(--bg-card);
    border: 1px solid var(--green-primary);
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 32px 80px -32px rgba(0, 255, 65, 0.3);
}

.sprint-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.sprint-pricing-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--green-bright);
    background: rgba(0, 255, 65, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.sprint-pricing-deadline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--amber);
    background: rgba(210, 153, 34, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.sprint-pricing-amounts { padding: 18px 0; border-bottom: 1px dashed var(--bg-card-hover); margin-bottom: 18px; }

.sprint-pricing-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.sprint-pricing-row--final { padding-top: 14px; }

.sprint-pricing-label { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text-secondary); }
.sprint-pricing-value { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; }
.sprint-pricing-value--strike { color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(248, 81, 73, 0.55); }
.sprint-pricing-value--final { color: var(--green-bright); font-size: 2.4rem; text-shadow: 0 0 18px rgba(0, 255, 65, 0.4); }

.sprint-pricing-installments {
    margin: 6px 0 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
}

.sprint-pricing-includes {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sprint-pricing-includes li {
    padding: 6px 0 6px 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    position: relative;
}

.sprint-pricing-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-weight: 700;
}

.sprint-pricing-cta { width: 100%; text-align: center; margin-top: 8px; }

.sprint-pricing-note {
    margin: 14px 0 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.55;
    text-align: center;
}

/* CTA final · ROI + capacidad */
.sprint-roi {
    margin: 32px auto 24px;
    max-width: 720px;
    padding: 22px 26px;
    background: rgba(0, 255, 65, 0.04);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px;
}

.sprint-roi-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 14px;
}

.sprint-roi-piece { color: var(--text-primary); }
.sprint-roi-op { color: var(--text-dim); }
.sprint-roi-result { color: var(--green-bright); font-weight: 700; font-size: 1.2rem; text-shadow: 0 0 12px rgba(0, 255, 65, 0.35); }

.sprint-roi-equiv {
    margin: 0 0 14px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.65;
}

.sprint-roi-equiv strong { color: var(--green-bright); }

.sprint-roi-extras {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.sprint-roi-extras li { padding-left: 10px; }

.sprint-capacity {
    margin: 24px auto 28px;
    max-width: 540px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-hover);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sprint-capacity-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-family: var(--font-mono); font-size: 0.85rem; }
.sprint-capacity-label { color: var(--text-dim); letter-spacing: 0.02em; }
.sprint-capacity-value { color: var(--text-primary); font-weight: 600; text-align: right; }
.sprint-capacity-value em { color: var(--amber); font-style: normal; }

.sprint-final-options { margin-top: 8px; }

.sprint-final-closing {
    margin-top: 28px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sprint-final-closing strong { color: var(--green-bright); }

/* =====================================================
   === CHEQUE REGALO — LANDING ===
   Audiencia: dueños de restaurante, no perfiles técnicos.
   Registro editorial (serif, aire, filetes dorados) pero
   con el ritmo roto a propósito: ninguna sección repite
   la forma de la anterior. Todo scopeado a `.cr-body`.
   ===================================================== */

.cr-body {
    --cr-ink:       #12100E;
    --cr-ink-deep:  #0E0C0B;
    --cr-surface:   #171412;
    --cr-card:      #1C1815;
    --cr-line:      #2E2721;

    --cr-gold:      #C9A227;   /* 7.9:1 sobre --cr-ink */
    --cr-gold-soft: #E3C567;

    --cr-cream:     #F5EFE6;   /* 16.6:1 */
    --cr-warm:      #B8AFA2;   /*  8.8:1 */
    --cr-mute:      #8A8177;   /*  5.0:1 */

    --cr-serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;

    background: var(--cr-ink);
    color: var(--cr-cream);
}

/* Nav y footer, en la misma temperatura */
.cr-body .nav { background: rgba(18,16,14,.92); border-bottom-color: var(--cr-line); }
.cr-body .nav-links a { color: var(--cr-warm); }
.cr-body .nav-links a:hover { color: var(--cr-cream); }
.cr-body .nav .btn-primary { background: var(--cr-gold); border-color: var(--cr-gold); color: var(--cr-ink); }
.cr-body .nav .btn-primary:hover { background: var(--cr-gold-soft); border-color: var(--cr-gold-soft); }
.cr-body .footer { background: var(--cr-ink-deep); border-top-color: var(--cr-line); }
.cr-body .footer-links a, .cr-body .footer-legal a, .cr-body .footer-copy { color: var(--cr-mute); }
.cr-body .footer-links a:hover, .cr-body .footer-legal a:hover { color: var(--cr-gold); }
.cr-body .footer-social svg { fill: var(--cr-mute); }
.cr-body .footer-social a:hover svg { fill: var(--cr-gold); }

/* ---------- Tipografía base ---------- */

.cr-body h1, .cr-body h2, .cr-body h3 {
    font-family: var(--cr-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cr-cream);
}

.cr-section { padding: 96px 0; }
@media (min-width: 768px) { .cr-section { padding: 136px 0; } }

.cr-h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.2rem);
    line-height: 1.14;
    margin: 0;
}

.cr-h2--center { text-align: center; margin-bottom: 72px; }

.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    min-height: 58px;
    padding: 12px 36px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.cr-btn--gold { background: var(--cr-gold); border-color: var(--cr-gold); color: var(--cr-ink); }
.cr-btn--gold:hover { background: var(--cr-gold-soft); border-color: var(--cr-gold-soft); transform: translateY(-1px); }
.cr-btn--ghost { background: transparent; border-color: var(--cr-line); color: var(--cr-cream); }
.cr-btn--ghost:hover { border-color: var(--cr-gold); color: var(--cr-gold); }

/* ============================================
   1 · HERO
============================================ */

.cr-hero {
    position: relative;
    overflow: hidden;
    padding: 128px 0 96px;
    text-align: center;
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(201,162,39,.13) 0%, rgba(201,162,39,0) 62%),
        var(--cr-ink);
}

@media (min-width: 768px) { .cr-hero { padding: 168px 0 116px; } }

.cr-hero-inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 24px; }

.cr-hero h1 { font-size: clamp(2.7rem, 7vw, 4.8rem); line-height: 1.05; margin: 0; }
.cr-hero h1 span { display: block; color: var(--cr-gold); }

.cr-hero-sub {
    margin: 26px auto 38px;
    max-width: 520px;
    font-size: 1.26rem;
    line-height: 1.6;
    color: var(--cr-warm);
}

.cr-stage { margin: 74px auto 0; max-width: 660px; padding: 0 24px; perspective: 1600px; }

.cr-stage-caption {
    margin: 32px auto 0;
    font-size: 1.02rem;
    color: var(--cr-mute);
    text-align: center;
}

/* ---------- El cheque ---------- */

.cr-voucher {
    display: grid;
    grid-template-columns: 1fr;
    background: #FBF8F3;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow:
        0 2px 4px rgba(0,0,0,.3),
        0 30px 70px rgba(0,0,0,.55),
        0 0 0 1px rgba(201,162,39,.35),
        0 0 90px rgba(201,162,39,.12);
    transform: rotateX(4deg) rotateY(-7deg);
    animation: cr-float 7s ease-in-out infinite;
}

@media (min-width: 560px) { .cr-voucher { grid-template-columns: 38% 1fr; } }

@keyframes cr-float {
    0%, 100% { transform: rotateX(4deg) rotateY(-7deg) translateY(0); }
    50%      { transform: rotateX(3deg) rotateY(-5deg) translateY(-12px); }
}

.cr-voucher-art {
    position: relative;
    min-height: 150px;
    background: linear-gradient(165deg, #8FB3C4 0%, #6E93A8 45%, #C7B49A 100%);
    display: flex;
    align-items: flex-end;
    padding: 18px 16px;
}

.cr-voucher-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-voucher-art-label { position: relative; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.cr-voucher-art-name { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cr-voucher-art-tag { display: block; font-family: var(--cr-serif); font-style: italic; font-size: .82rem; opacity: .95; }

.cr-voucher-body { padding: 22px 22px 18px; color: #2B2724; }
.cr-voucher-brand { font-family: var(--cr-serif); font-size: 1.05rem; font-weight: 700; color: #8E2F3E; margin-bottom: 16px; }
.cr-voucher-eyebrow { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6B635C; }

.cr-body .cr-voucher-title {
    font-family: var(--cr-serif);
    font-size: 1.62rem;
    line-height: 1.15;
    margin: 4px 0 14px;
    color: #241F1B;
}

.cr-voucher-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0 0 16px; }
.cr-voucher-field:first-child { grid-column: 1 / -1; }
.cr-voucher-field dt { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A817A; margin-bottom: 3px; }
.cr-voucher-field dd { margin: 0; padding-bottom: 5px; border-bottom: 1px solid #DED5C9; font-size: .94rem; color: #2B2724; min-height: 1.5em; }

.cr-voucher-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid #EDE5D9; }
.cr-voucher-foot-text { font-size: .68rem; line-height: 1.5; color: #8A817A; }
.cr-voucher-qr svg { display: block; width: 52px; height: 52px; }

/* ============================================
   FRANJA DE CONFIANZA — filete fino, sin caja
============================================ */

.cr-trust {
    border-top: 1px solid var(--cr-line);
    border-bottom: 1px solid var(--cr-line);
    background: var(--cr-surface);
    padding: 22px 0;
}

.cr-trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 0;
    text-align: center;
    font-size: 1rem;
    color: var(--cr-warm);
}

.cr-trust-inner span { padding: 0 26px; }
.cr-trust-inner span + span { border-left: 1px solid var(--cr-line); }
.cr-trust-inner strong { color: var(--cr-cream); font-weight: 600; }

@media (max-width: 720px) {
    .cr-trust-inner span { flex: 0 0 50%; padding: 6px 12px; }
    .cr-trust-inner span + span { border-left: none; }
}

/* ============================================
   2 · TRES PASOS — flujo, sin tarjetas
============================================ */

.cr-flow-section { background: var(--cr-ink); }

.cr-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 820px) {
    .cr-flow { grid-template-columns: repeat(3, 1fr); gap: 48px; }
    /* Flecha entre pasos, dibujada con el borde: sin más elementos */
    .cr-flow-step + .cr-flow-step::before {
        content: '';
        position: absolute;
        top: 62px;
        left: -30px;
        width: 12px;
        height: 12px;
        border-top: 1.5px solid var(--cr-gold);
        border-right: 1.5px solid var(--cr-gold);
        transform: rotate(45deg);
        opacity: .55;
    }
}

.cr-flow-step { position: relative; text-align: center; }

.cr-art { display: block; width: 100%; max-width: 210px; margin: 0 auto 26px; }
.cr-art svg { display: block; width: 100%; height: auto; }

.cr-flow-step h3 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 8px; }
.cr-flow-step p { margin: 0; font-size: 1.06rem; color: var(--cr-warm); }

/* ============================================
   3 · DECLARACIÓN — frase grande, fondo distinto
============================================ */

.cr-statement {
    padding: 96px 0;
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(201,162,39,.08) 0%, rgba(201,162,39,0) 70%),
        var(--cr-surface);
    border-top: 1px solid var(--cr-line);
    border-bottom: 1px solid var(--cr-line);
}

@media (min-width: 768px) { .cr-statement { padding: 136px 0; } }

.cr-statement-h2 {
    max-width: 900px;
    margin: 0 auto 72px;
    text-align: center;
    font-family: var(--cr-serif);
    font-size: clamp(2.3rem, 6vw, 4.2rem);
    line-height: 1.1;
    color: var(--cr-cream);
}

.cr-statement-h2 span { color: var(--cr-gold); }

.cr-statement-arts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 880px;
    margin: 0 auto;
}

@media (min-width: 760px) { .cr-statement-arts { grid-template-columns: 1fr 1fr; gap: 64px; } }

.cr-statement-art { margin: 0; text-align: center; }
.cr-statement-art svg { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 20px; }

.cr-statement-art figcaption {
    font-size: 1.06rem;
    line-height: 1.6;
    color: var(--cr-warm);
}

/* ============================================
   SIN TIENDA — contraste a dos columnas
============================================ */

.cr-versus {
    padding: 96px 0;
    background: var(--cr-ink);
    border-top: 1px solid var(--cr-line);
}

@media (min-width: 768px) { .cr-versus { padding: 128px 0; } }

.cr-versus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 940px;
    margin: 0 auto;
    border: 1px solid var(--cr-line);
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 760px) { .cr-versus-grid { grid-template-columns: 1fr 1fr; } }

.cr-versus-side { padding: 38px 34px; }

.cr-versus-side--them {
    background: rgba(255, 255, 255, .015);
    border-bottom: 1px solid var(--cr-line);
}

@media (min-width: 760px) {
    .cr-versus-side--them { border-bottom: none; border-right: 1px solid var(--cr-line); }
}

.cr-versus-side--us { background: rgba(201, 162, 39, .07); }

.cr-versus-label {
    display: block;
    margin-bottom: 14px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cr-mute);
}

.cr-versus-side--us .cr-versus-label { color: var(--cr-gold); }

.cr-versus-side p {
    margin: 0;
    font-family: var(--cr-serif);
    font-size: 1.34rem;
    line-height: 1.45;
    color: var(--cr-warm);
}

.cr-versus-side--us p { color: var(--cr-cream); }

.cr-versus-note {
    max-width: 620px;
    margin: 34px auto 0;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--cr-mute);
}

/* ============================================
   4 · EL PANEL — partición 50/50
============================================ */

.cr-split { padding: 96px 0; background: var(--cr-ink); }

@media (min-width: 768px) { .cr-split { padding: 136px 0; } }

.cr-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .cr-split-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
}

.cr-stack { position: relative; padding: 26px 0 34px; }

.cr-stack img { display: block; width: 100%; height: auto; border-radius: 8px; }

.cr-stack img.cr-stack-front {
    position: relative;
    z-index: 3;
    border: 1px solid var(--cr-line);
    box-shadow: 0 26px 60px rgba(0,0,0,.55);
}

/* Sólo asoma por detrás: sugiere que hay más pantallas, sin ensuciar.
   Va con `.cr-stack img…` para ganar a la regla genérica de arriba. */
.cr-stack img.cr-stack-back {
    position: absolute;
    z-index: 1;
    right: 2%;
    bottom: 0;
    width: 34%;
    border: 1px solid var(--cr-line);
    border-radius: 6px;
    opacity: .38;
    filter: saturate(.35);
    transform: rotate(4deg);
}

.cr-split-text h2 { margin-bottom: 22px; }

.cr-split-text p {
    margin: 0 0 16px;
    font-size: 1.16rem;
    line-height: 1.7;
    color: var(--cr-warm);
}

.cr-split-note {
    font-size: 1rem !important;
    color: var(--cr-mute) !important;
    padding-left: 16px;
    border-left: 2px solid var(--cr-gold);
}

/* ============================================
   5 · LA CITA
============================================ */

.cr-quote-section {
    padding: 96px 0;
    background: var(--cr-surface);
    border-top: 1px solid var(--cr-line);
    text-align: center;
}

@media (min-width: 768px) { .cr-quote-section { padding: 128px 0; } }

.cr-quote { max-width: 860px; margin: 0 auto; }

.cr-quote p {
    margin: 0 0 26px;
    font-family: var(--cr-serif);
    font-size: clamp(1.5rem, 3.6vw, 2.4rem);
    line-height: 1.4;
    color: var(--cr-cream);
}

.cr-quote em { color: var(--cr-gold); font-style: italic; }

.cr-quote footer { font-size: 1.06rem; color: var(--cr-warm); }
.cr-quote footer strong { color: var(--cr-cream); font-weight: 600; }

.cr-quote-proof {
    max-width: 620px;
    margin: 30px auto 0;
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--cr-mute);
}

.cr-quote-proof a { color: var(--cr-gold); text-decoration: underline; text-underline-offset: 3px; }

.cr-byline {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 620px;
    margin: 56px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--cr-line);
    text-align: left;
}

.cr-byline img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(1);
    box-shadow: 0 0 0 4px rgba(201,162,39,.12);
}

.cr-byline p { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--cr-warm); }
.cr-byline strong { color: var(--cr-cream); font-weight: 600; }
.cr-byline a { color: var(--cr-gold); white-space: nowrap; }

/* ============================================
   6 · PRECIO
============================================ */

.cr-price { padding: 96px 0; background: var(--cr-ink); }

@media (min-width: 768px) { .cr-price { padding: 136px 0; } }

.cr-price-anchor {
    max-width: 620px;
    margin: -36px auto 52px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cr-warm);
}

.cr-price-anchor strong { color: var(--cr-gold); font-weight: 600; }

.cr-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 820px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 780px) { .cr-plans { grid-template-columns: 1fr 1fr; gap: 30px; } }

.cr-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 38px 32px 32px;
    background: var(--cr-card);
    border: 1px solid var(--cr-line);
    border-radius: 12px;
}

.cr-plan--featured {
    border-color: var(--cr-gold);
    box-shadow: 0 0 0 1px rgba(201,162,39,.22), 0 20px 50px rgba(201,162,39,.07);
}

.cr-plan-badge {
    position: absolute;
    top: -13px;
    left: 32px;
    padding: 5px 16px;
    background: var(--cr-gold);
    color: var(--cr-ink);
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
}

.cr-plan-name { font-size: 1.5rem; margin: 0 0 6px; }

.cr-plan-for {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--cr-mute);
    min-height: 3.1em;
}

.cr-plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--cr-line);
}

.cr-plan-amount { font-family: var(--cr-serif); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--cr-cream); }
.cr-plan--featured .cr-plan-amount { color: var(--cr-gold); }
.cr-plan-vat { font-size: .98rem; color: var(--cr-mute); }

.cr-plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1 1 auto;
}

.cr-plan-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1.06rem;
    line-height: 1.5;
    color: var(--cr-warm);
}

.cr-plan-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 7px;
    border-left: 2px solid var(--cr-gold);
    border-bottom: 2px solid var(--cr-gold);
    transform: rotate(-45deg);
}

.cr-plan-list li strong { color: var(--cr-cream); font-weight: 600; }
.cr-plan .cr-btn { width: 100%; }

.cr-price-note {
    max-width: 640px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--cr-mute);
}

.cr-price-note strong { color: var(--cr-warm); }

/* ============================================
   7 · PREGUNTAS (override del partial faq)
============================================ */

.cr-body #faq { background: var(--cr-surface); padding: 96px 0; border-top: 1px solid var(--cr-line); }

@media (min-width: 768px) { .cr-body #faq { padding: 128px 0; } }

.cr-body #faq .section-header { margin-bottom: 48px; }
.cr-body #faq .section-label { display: none; }

.cr-body #faq h2 {
    font-family: var(--cr-serif);
    font-size: clamp(2.1rem, 4.6vw, 3.2rem);
    line-height: 1.14;
    color: var(--cr-cream);
}

.cr-body .hub-faq-item { background: transparent; border: none; border-bottom: 1px solid var(--cr-line); border-radius: 0; }

.cr-body .hub-faq-item summary {
    font-family: var(--cr-serif);
    font-size: 1.36rem;
    font-weight: 600;
    color: var(--cr-cream);
    padding: 26px 40px 26px 0;
}

.cr-body .hub-faq-item summary::after,
.cr-body .hub-faq-item summary::marker { color: var(--cr-gold); }

.cr-body .hub-faq-answer p { font-size: 1.1rem; line-height: 1.7; color: var(--cr-warm); }
.cr-body .hub-faq-answer strong { color: var(--cr-cream); }

/* ============================================
   8 · CIERRE
============================================ */

.cr-final {
    padding: 110px 0 120px;
    text-align: center;
    background:
        radial-gradient(100% 70% at 50% 110%, rgba(201,162,39,.15) 0%, rgba(201,162,39,0) 60%),
        var(--cr-ink);
    border-top: 1px solid var(--cr-line);
}

.cr-final h2 {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.12;
}

.cr-final-lead {
    max-width: 540px;
    margin: -20px auto 38px;
    font-size: 1.14rem;
    line-height: 1.7;
    color: var(--cr-warm);
}

.cr-final-note { margin-top: 24px; font-size: 1.02rem; color: var(--cr-mute); }

/* ============================================
   Pantallas estrechas y movimiento reducido
============================================ */

@media (max-width: 420px) {
    .cr-btn { padding: 12px 22px; font-size: 1rem; }
    .cr-section, .cr-statement, .cr-split, .cr-quote-section, .cr-price { padding: 72px 0; }
    .cr-hero { padding: 104px 0 78px; }
    .cr-plan { padding: 32px 22px 26px; }
    .cr-byline { flex-direction: column; text-align: center; gap: 16px; }
}

.cr-body { overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
    .cr-voucher { animation: none; }
    .cr-btn:hover { transform: none; }
}

/* =====================================================
   === PITUSABADI — SISTEMA GRANATE (2026) ===
   Comprador: propietario o director general de una empresa
   de 1 a 10 M€. No es developer. Fondo cálido casi negro,
   un solo acento granate en muy poca superficie, serif a
   peso medio, cero sombras: la profundidad la dan las
   superficies y las líneas. Todo scopeado a `.ps-body`.
   ===================================================== */

.ps-body {
    --ps-ink:        #14100F;   /* fondo */
    --ps-surface:    #1B1615;   /* bandas alternas */
    --ps-card:       #221C1A;   /* tarjetas */
    --ps-raised:     #2A2321;   /* hover / elevado */
    --ps-line:       #332A28;
    --ps-line-soft:  #261F1D;

    /* Granate. Desaturado respecto al logo para que sobre
       oscuro no vibre ni lea a error. */
    --ps-brand:      #A32328;   /* rellenos y botones · crema encima 6,3:1 */
    --ps-brand-hov:  #B92C31;
    --ps-brand-lt:   #D45A5C;   /* texto en color y enlaces · 4,9:1 sobre ink */
    --ps-brand-deep: #6E1A1E;   /* bandas y sellos */
    --ps-brand-tint: rgba(163, 35, 40, .12);
    --ps-brand-ring: rgba(163, 35, 40, .30);

    --ps-cream:      #F2EBE2;   /* 16:1 */
    --ps-warm:       #C9BFB4;   /* 10:1 · texto secundario */
    --ps-mute:       #948A80;   /* 5,6:1 · notas */

    --ps-serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
    --ps-ease: cubic-bezier(.2, .7, .3, 1);

    background: var(--ps-ink);
    color: var(--ps-cream);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Nav y footer, en la temperatura del sistema ---------- */

.ps-body .nav { background: rgba(20, 16, 15, .86); border-bottom-color: var(--ps-line-soft); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ps-body .nav-links a { font-family: var(--font-sans); font-size: .95rem; font-weight: 500; letter-spacing: -.005em; color: var(--ps-warm); transition: color .18s ease; }
.ps-body .nav-links a:hover, .ps-body .nav-links a.active { color: var(--ps-cream); }
.ps-body .nav .btn-primary {
    font-family: var(--font-sans); font-weight: 600; letter-spacing: 0;
    background: var(--ps-brand); border-color: var(--ps-brand); color: var(--ps-cream);
    border-radius: 8px;
}
.ps-body .nav .btn-primary:hover { background: var(--ps-brand-hov); border-color: var(--ps-brand-hov); color: var(--ps-cream); }
.ps-body .nav-hamburger span { background: var(--ps-warm); }

.ps-body .footer { background: #100D0C; border-top-color: var(--ps-line-soft); }
.ps-body .footer-links a, .ps-body .footer-legal a, .ps-body .footer-copy { color: var(--ps-mute); font-family: var(--font-sans); }
.ps-body .footer-links a:hover, .ps-body .footer-legal a:hover { color: var(--ps-cream); }
.ps-body .footer-social svg { fill: var(--ps-mute); }
.ps-body .footer-social a:hover svg { fill: var(--ps-brand-lt); }

/* ---------- Base ---------- */

.ps-body h1, .ps-body h2, .ps-body h3 {
    font-family: var(--ps-serif);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ps-cream);
    text-wrap: balance;
}

.ps-body p { text-wrap: pretty; }

.ps-body a { color: var(--ps-brand-lt); text-underline-offset: 3px; }
.ps-body .ps-btn, .ps-body .nav-logo { color: inherit; }

.ps-body :focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ps-brand-ring); border-radius: 6px; }

.ps-section { padding: 88px 0; }
@media (min-width: 768px) { .ps-section { padding: 112px 0; } }

.ps-h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin: 0; }
.ps-h2--center { text-align: center; margin-bottom: 56px; }

.ps-eyebrow {
    display: block; margin-bottom: 20px;
    font-family: var(--font-sans);
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    line-height: 1.6; color: var(--ps-brand-lt);
    max-width: 34em;
}

.ps-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    text-align: center; max-width: 100%;
    min-height: 52px; padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem; font-weight: 600; letter-spacing: -.005em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

.ps-btn:active { transform: scale(.98); }

.ps-btn--brand { background: var(--ps-brand); border-color: var(--ps-brand); color: var(--ps-cream); }
.ps-btn--brand:hover { background: var(--ps-brand-hov); border-color: var(--ps-brand-hov); }

.ps-btn--ghost { background: transparent; border-color: var(--ps-line); color: var(--ps-cream); }
.ps-btn--ghost:hover { background: var(--ps-raised); border-color: var(--ps-mute); }

/* ---------- Ilustraciones de línea ----------
   Todas las escenas comparten el mismo vocabulario: trazo
   crema apagado, superficies del fondo, y un solo elemento
   en granate. Las clases van dentro del SVG. */

.ps-art svg {
    display: block; width: 100%; height: auto; overflow: visible;
    fill: none; stroke: var(--ps-warm); stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
    color: var(--ps-warm);
}
.ps-art .a  { stroke: var(--ps-brand-lt); }
.ps-art .af { fill: var(--ps-brand); stroke: none; }
.ps-art .at { fill: var(--ps-brand-tint); stroke: var(--ps-brand-lt); }
.ps-art .s  { fill: var(--ps-surface); stroke: var(--ps-line); }
.ps-art .s2 { fill: var(--ps-card); stroke: var(--ps-mute); }
.ps-art .m  { stroke: var(--ps-mute); }
.ps-art .ml { stroke: var(--ps-line); }
.ps-art .d  { stroke-dasharray: 4 5; }
.ps-art .w2 { stroke-width: 2.25; }
.ps-art .w1 { stroke-width: 1; }
.ps-art .cf { fill: var(--ps-cream); stroke: none; }
.ps-art .wf { fill: var(--ps-warm); stroke: none; }
.ps-art .mf { fill: var(--ps-mute); stroke: none; }
.ps-art .lf { fill: var(--ps-line); stroke: none; }
.ps-art .win  { fill: var(--ps-card); stroke: var(--ps-line); }
.ps-art .atf  { fill: var(--ps-brand-tint); stroke: none; }
.ps-art .aff  { fill: var(--ps-brand-lt); stroke: none; }
.ps-art .mf6  { fill: var(--ps-mute); fill-opacity: .45; stroke: none; }
.ps-art .so6 { stroke-opacity: .6; }
.ps-art .so4 { stroke-opacity: .4; }
.ps-art .o6 { opacity: .6; }
.ps-art .o4 { opacity: .4; }
.ps-art text {
    fill: var(--ps-mute); stroke: none;
    font-family: var(--font-sans); font-size: 10px; font-weight: 600; letter-spacing: .1em;
}
.ps-art text.cf { fill: var(--ps-cream); }
.ps-art text.a  { fill: var(--ps-brand-lt); stroke: none; }
.ps-art text.big { font-family: var(--ps-serif); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.ps-scene text.big { font-size: 24px; }
.ps-scene text { font-size: 11px; }

/* ============================================
   1 · HERO
============================================ */

.ps-hero {
    position: relative; overflow: hidden;
    padding: 124px 0 88px; text-align: center;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(163, 35, 40, .13) 0%, rgba(163, 35, 40, 0) 70%),
        var(--ps-ink);
}

@media (min-width: 768px) { .ps-hero { padding: 160px 0 108px; } }

.ps-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }

.ps-hero-inner .ps-eyebrow { text-align: center; margin-left: auto; margin-right: auto; }

.ps-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.06; margin: 0; letter-spacing: -.025em; }
.ps-hero h1 span { display: block; color: var(--ps-brand-lt); }

.ps-hero-sub {
    margin: 28px auto 36px; max-width: 600px;
    font-size: 1.2rem; line-height: 1.6; color: var(--ps-warm);
}

.ps-hero-sub em {
    display: block;
    margin-bottom: 12px;
    font-style: normal;
    font-family: var(--ps-serif);
    font-size: 1.32rem;
    line-height: 1.35;
    color: var(--ps-cream);
}

.ps-hero-note { margin-top: 22px; font-size: .98rem; color: var(--ps-mute); }

/* Hero de página interior */
.ps-hero--page { padding: 116px 0 80px; }
@media (min-width: 768px) { .ps-hero--page { padding: 148px 0 92px; } }
.ps-hero--page h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

/* Hero partido de página de servicio */
.ps-hero--split { padding: 104px 0 80px; text-align: left; }
@media (min-width: 768px) { .ps-hero--split { padding: 132px 0 96px; } }

.ps-hero-split {
    display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center;
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}

@media (min-width: 940px) {
    .ps-hero-split { grid-template-columns: minmax(0, 520px) 1fr; gap: 64px; }
}

.ps-hero--split h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 0; }
.ps-hero--split h1 span { display: block; color: var(--ps-brand-lt); }
.ps-hero--split h1 span.is-inline { display: inline; }

.ps-hero--split .ps-hero-sub {
    margin: 22px 0 34px; max-width: 520px;
    font-size: 1.15rem; line-height: 1.65; color: var(--ps-warm);
}

.ps-scene { width: 100%; }
.ps-scene svg { display: block; width: 100%; height: auto; overflow: visible; }

@media (min-width: 940px) { .ps-scene { width: 112%; max-width: none; } }
@media (max-width: 939px) { .ps-scene { max-width: 440px; margin: 0 auto; order: -1; } }

/* ============================================
   CREDENCIALES · el liderazgo, en hechos
============================================ */

.ps-creds {
    border-top: 1px solid var(--ps-line-soft);
    border-bottom: 1px solid var(--ps-line-soft);
    background: var(--ps-surface);
    padding: 22px 0;
}

.ps-creds-inner {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 8px 0; text-align: center;
    font-size: .95rem; color: var(--ps-warm);
}

.ps-creds-inner span { padding: 0 24px; }
.ps-creds-inner span + span { border-left: 1px solid var(--ps-line); }
.ps-creds-inner b { color: var(--ps-cream); font-weight: 600; }

@media (max-width: 860px) {
    .ps-creds-inner span { flex: 0 0 50%; padding: 6px 12px; }
    .ps-creds-inner span + span { border-left: none; }
}

/* ---------- Franja de logos ---------- */

.ps-body .logos-clientes { padding: 40px 0 44px; border-bottom: 1px solid var(--ps-line-soft); }
.ps-body .logos-clientes-label {
    font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ps-mute);
    margin-bottom: 26px;
}
.ps-body .logos-clientes-strip { gap: 22px 40px; max-width: 1180px; }
.ps-body .logo-cliente { height: 26px; }
.ps-body .logo-cliente img { max-height: 26px; max-width: 124px; opacity: .55; filter: brightness(0) invert(1) sepia(.18); }
.ps-body .logo-cliente:hover img { opacity: .9; }
@media (min-width: 768px) {
    .ps-body .logo-cliente { height: 28px; }
    .ps-body .logo-cliente img { max-height: 28px; max-width: 128px; }
    .ps-body .logos-clientes-strip { gap: 24px 44px; }
}
@media (min-width: 1100px) { .ps-body .logos-clientes-strip { flex-wrap: nowrap; } }

/* ============================================
   EL COSTE — el problema, en una cifra
============================================ */

.ps-cost {
    padding: 88px 0;
    background: var(--ps-surface);
    border-bottom: 1px solid var(--ps-line-soft);
    text-align: center;
}

@media (min-width: 768px) { .ps-cost { padding: 112px 0; } }

.ps-cost-figure {
    display: block;
    font-family: var(--ps-serif);
    font-size: clamp(3.4rem, 9vw, 6.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ps-cream);
}

.ps-cost-caption {
    max-width: 560px;
    margin: 22px auto 0;
    font-family: var(--ps-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.4;
    color: var(--ps-warm);
}

.ps-cost-caption em { display: block; margin-top: 6px; font-style: normal; color: var(--ps-brand-lt); }

/* Ya lo has intentado */
.ps-tried { max-width: 720px; margin: 52px auto 0; padding: 0; text-align: left; }
.ps-cost .ps-tried { margin-top: 52px; }

.ps-tried li {
    display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px;
    padding: 22px 0; border-bottom: 1px solid var(--ps-line);
    list-style: none;
}

.ps-tried li:first-child { border-top: 1px solid var(--ps-line); }

.ps-tried-x {
    grid-row: 1 / 3;
    font-family: var(--ps-serif); font-size: 1.5rem; line-height: 1.2;
    color: var(--ps-brand-lt); text-align: center;
}

.ps-tried-what { font-family: var(--ps-serif); font-size: 1.3rem; line-height: 1.3; color: var(--ps-cream); }
.ps-tried-why { font-size: 1.02rem; line-height: 1.6; color: var(--ps-warm); }

.ps-tried-close {
    max-width: 680px; margin: 44px auto 0;
    text-align: center;
    font-family: var(--ps-serif); font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    line-height: 1.4; color: var(--ps-cream);
}

.ps-tried-close span { color: var(--ps-brand-lt); }

/* ---------- Las cuatro alternativas, comparadas (solo home) ----------
   Sin sombras: las columnas se separan con hairlines de 1px hechas
   con el gap del grid sobre el color de línea. La cuarta es la única
   que cambia de superficie. */

.ps-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    max-width: 1120px;
    margin: 56px auto 0;
    text-align: left;
    background: var(--ps-line);
    border: 1px solid var(--ps-line);
}

@media (min-width: 700px)  { .ps-compare { grid-template-columns: repeat(2, 1fr); } }

/* A cuatro columnas las filas tienen que cuadrar entre sí, o deja de
   leerse como una comparación. Subgrid alinea nombre y las tres filas
   aunque los textos midan distinto. Sin subgrid, cae en el apilado
   normal y sigue siendo legible. */
@media (min-width: 1040px) {
    .ps-compare {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(7, auto);
        align-items: start;
        margin-top: 64px;
    }

    .ps-compare-col {
        display: grid;
        grid-row: span 7;
        grid-template-rows: subgrid;
        align-content: start;
    }

    .ps-compare-rows {
        display: grid;
        grid-row: span 6;
        grid-template-rows: subgrid;
    }
}

.ps-compare-col {
    padding: 28px 24px 30px;
    background: var(--ps-surface);
}

.ps-compare-col--pick {
    background: var(--ps-card);
    border-top: 2px solid var(--ps-brand);
    padding-top: 26px;
}

.ps-compare-name {
    margin: 0 0 22px;
    font-family: var(--ps-serif);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ps-warm);
}

.ps-compare-col--pick .ps-compare-name { color: var(--ps-cream); }

@media (min-width: 1040px) { .ps-compare-name { min-height: 3.1em; } }

.ps-compare-rows { margin: 0; }

.ps-compare-rows dt {
    margin-bottom: 5px;
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--ps-mute);
}

.ps-compare-rows dd {
    margin: 0 0 20px;
    font-size: .98rem;
    line-height: 1.55;
    color: var(--ps-warm);
}

.ps-compare-rows dd:last-child { margin-bottom: 0; }

.ps-compare-col--pick .ps-compare-rows dd { color: var(--ps-cream); }
.ps-compare-col--pick .ps-compare-verdict { color: var(--ps-brand-lt); }

@media (max-width: 420px) {
    .ps-compare-col { padding: 24px 20px 26px; }
    .ps-compare-name { margin-bottom: 18px; }
}

/* El problema, en frase sola (páginas antiguas) */
.ps-problem {
    padding: 88px 0;
    background: var(--ps-surface);
    border-top: 1px solid var(--ps-line-soft);
    border-bottom: 1px solid var(--ps-line-soft);
    text-align: center;
}

@media (min-width: 768px) { .ps-problem { padding: 112px 0; } }

.ps-problem h2 { max-width: 880px; margin: 0 auto; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; }
.ps-problem h2 span { color: var(--ps-brand-lt); }
.ps-problem p { max-width: 600px; margin: 28px auto 0; font-size: 1.12rem; line-height: 1.7; color: var(--ps-warm); }

/* ============================================
   LOS TRES — bloque de servicios de la home
============================================ */

.ps-panels { border-bottom: 1px solid var(--ps-line-soft); }

.ps-panel {
    display: block;
    padding: 56px 0;
    border-top: 1px solid var(--ps-line-soft);
    text-decoration: none;
    overflow: hidden;
    transition: background .25s ease;
}

@media (min-width: 900px) { .ps-panel { padding: 72px 0; } }

.ps-panel:nth-child(even) { background: var(--ps-surface); }
.ps-panel:hover { background: var(--ps-card); }

.ps-panel-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 900px) {
    .ps-panel-inner { grid-template-columns: 1fr 1.15fr; gap: 56px; }
    .ps-panel:nth-child(even) .ps-panel-art { order: -1; justify-self: start; }
    .ps-panel:nth-child(odd) .ps-panel-art { justify-self: end; }
}

.ps-panel-art { width: 100%; max-width: 520px; }
.ps-panel-art svg { display: block; width: 100%; height: auto; overflow: visible; }

@media (max-width: 899px) { .ps-panel-art { max-width: 420px; margin: 0 auto; order: -1; } }

.ps-panel-num {
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ps-brand-lt);
}

.ps-panel-title {
    font-family: var(--ps-serif);
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--ps-cream);
}

.ps-panel-said {
    display: block;
    margin-bottom: 20px;
    font-family: var(--ps-serif); font-style: italic;
    font-size: 1.15rem; line-height: 1.45;
    color: var(--ps-mute);
}

.ps-panel-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
    font-size: 1rem; font-weight: 500;
    color: var(--ps-cream);
}

.ps-panel-meta em { font-style: normal; font-weight: 400; color: var(--ps-mute); }
.ps-panel-meta i { font-style: normal; display: inline-block; color: var(--ps-brand-lt); transition: transform .25s var(--ps-ease); }
.ps-panel:hover .ps-panel-meta i { transform: translateX(6px); }

/* ============================================
   LOS SERVICIOS, COMO ÍNDICE (páginas interiores)
============================================ */

.ps-index {
    max-width: 1080px; margin: 0 auto;
    border-top: 1px solid var(--ps-line);
}

.ps-index-row {
    position: relative;
    display: grid; grid-template-columns: 1fr; gap: 18px;
    align-items: center;
    padding: 34px 20px;
    border-bottom: 1px solid var(--ps-line);
    transition: background .22s ease;
}

@media (min-width: 900px) {
    .ps-index-row { grid-template-columns: 56px 1fr 240px; gap: 36px; padding: 38px 24px; }
    .ps-index-row > .ps-index-art { order: 3; }
}

.ps-index-row:hover { background: var(--ps-surface); }

.ps-index-num {
    align-self: start;
    font-family: var(--font-sans);
    font-size: .8rem; line-height: 1.6; font-weight: 600; letter-spacing: .1em;
    color: var(--ps-brand-lt);
    padding-top: 6px;
}

.ps-index-name {
    font-family: var(--ps-serif);
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    line-height: 1.18;
    margin: 0 0 8px;
    color: var(--ps-cream);
}

.ps-index-said {
    margin: 0 0 10px;
    font-family: var(--ps-serif); font-style: italic;
    font-size: 1.05rem; line-height: 1.5;
    color: var(--ps-mute);
}

.ps-index-get { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ps-warm); max-width: 56ch; }
.ps-index-get b { color: var(--ps-cream); font-weight: 600; }

.ps-index-art { width: 100%; max-width: 240px; }
.ps-index-art svg { opacity: .7; transition: opacity .22s ease; }
.ps-index-row:hover .ps-index-art svg { opacity: 1; }

@media (max-width: 899px) {
    .ps-index-art { max-width: 200px; order: -1; }
    .ps-index-art svg { opacity: .9; }
    .ps-index-num { position: absolute; top: 22px; right: 20px; padding-top: 0; }
}

/* Bifurcación de público (Aprender) */
.ps-track-label {
    display: flex; align-items: center; gap: 16px;
    max-width: 1080px; margin: 52px auto 14px;
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ps-brand-lt);
}

.ps-track-label::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--ps-line); }
.ps-track-label:first-of-type { margin-top: 0; }

/* Enlace a producto o servicio contiguo */
.ps-aside {
    display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center;
    max-width: 860px; margin: 56px auto 0; padding: 28px 30px;
    background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: 12px;
}

@media (min-width: 760px) { .ps-aside { grid-template-columns: 1fr auto; gap: 32px; } }

.ps-aside h3 { font-size: 1.25rem; margin: 0 0 6px; }
.ps-aside p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ps-warm); }
.ps-aside .ps-btn { min-height: 46px; padding: 10px 22px; font-size: .95rem; white-space: nowrap; }

/* ============================================
   CÓMO TRABAJO — 50/50 + timeline
============================================ */

.ps-split { padding: 88px 0; background: var(--ps-ink); }
@media (min-width: 768px) { .ps-split { padding: 112px 0; } }

.ps-split-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 900px) { .ps-split-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.ps-split-text h2 { margin-bottom: 22px; }

.ps-answer {
    display: block;
    margin: 0 0 24px;
    font-family: var(--ps-serif);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.35;
    color: var(--ps-brand-lt);
}

.ps-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.ps-rules li {
    padding-left: 18px;
    border-left: 2px solid var(--ps-brand);
    font-size: 1.04rem; line-height: 1.6; color: var(--ps-warm);
}

.ps-rules strong { display: block; color: var(--ps-cream); font-weight: 600; margin-bottom: 2px; }

.ps-timeline {
    position: relative;
    padding: 30px 28px 26px;
    background: var(--ps-card);
    border: 1px solid var(--ps-line);
    border-radius: 12px;
}

.ps-timeline-head {
    display: block; margin-bottom: 24px;
    font-family: var(--ps-serif); font-size: 1.2rem; color: var(--ps-cream);
}

.ps-tl { list-style: none; margin: 0; padding: 0; position: relative; }

.ps-tl::before {
    content: ''; position: absolute;
    left: 7px; top: 10px; bottom: 34px;
    width: 1px;
    background: linear-gradient(to bottom, var(--ps-brand-lt) 0%, var(--ps-brand-lt) 62%, var(--ps-line) 62%);
}

.ps-tl li { position: relative; padding: 0 0 26px 32px; }
.ps-tl li:last-child { padding-bottom: 0; }

.ps-tl li::before {
    content: ''; position: absolute; left: 0; top: 6px;
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--ps-card);
    border: 1.5px solid var(--ps-brand-lt);
}

.ps-tl-when {
    display: block; margin-bottom: 4px;
    font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ps-brand-lt);
}

.ps-tl-what { display: block; font-size: 1.1rem; line-height: 1.4; color: var(--ps-cream); margin-bottom: 4px; }
.ps-tl-note { display: block; font-size: .98rem; line-height: 1.55; color: var(--ps-warm); }

.ps-tl li.is-exit::before { background: var(--ps-brand); border-color: var(--ps-brand); box-shadow: 0 0 0 4px var(--ps-brand-tint); }
.ps-tl li.is-exit .ps-tl-what { color: var(--ps-brand-lt); }

.ps-timeline-foot {
    margin: 24px 0 0; padding-top: 20px;
    border-top: 1px solid var(--ps-line);
    font-size: .98rem; line-height: 1.6; color: var(--ps-mute);
}

.ps-timeline-foot b { color: var(--ps-cream); font-weight: 600; }

/* Firma compacta */
.ps-sign {
    display: flex; align-items: center; gap: 20px;
    max-width: 620px; margin: 56px auto 0; padding-top: 30px;
    border-top: 1px solid var(--ps-line);
}

.ps-sign img {
    flex: 0 0 72px; width: 72px; height: 72px;
    border-radius: 50%; object-fit: cover;
    filter: grayscale(1) contrast(1.02);
    border: 1px solid var(--ps-line);
}

.ps-sign p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ps-warm); }
.ps-sign strong { color: var(--ps-cream); font-weight: 600; }
.ps-sign a { color: var(--ps-brand-lt); white-space: nowrap; }

@media (max-width: 520px) { .ps-sign { flex-direction: column; text-align: center; } }

/* ============================================
   QUIÉN SOY · NÚMEROS · CASO
============================================ */

.ps-who {
    padding: 88px 0;
    background: var(--ps-surface);
    border-top: 1px solid var(--ps-line-soft);
}

@media (min-width: 768px) { .ps-who { padding: 112px 0; } }

.ps-who-card {
    display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start;
    max-width: 840px; margin: 0 auto;
}

@media (min-width: 700px) { .ps-who-card { grid-template-columns: 150px 1fr; gap: 44px; } }

.ps-who-photo {
    width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
    border: 1px solid var(--ps-line);
}

@media (min-width: 700px) { .ps-who-photo { width: 150px; height: 150px; } }

.ps-who-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }

.ps-who h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 14px; }
.ps-who p { margin: 0 0 14px; font-size: 1.06rem; line-height: 1.7; color: var(--ps-warm); }
.ps-who strong { color: var(--ps-cream); }

.ps-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ps-line); }
.ps-fact { font-size: 1rem; color: var(--ps-warm); }
.ps-fact b { font-family: var(--ps-serif); font-size: 1.5rem; color: var(--ps-cream); font-weight: 500; margin-right: 6px; }

.ps-who-link { display: inline-block; margin-top: 14px; color: var(--ps-brand-lt); font-size: 1rem; }

.ps-numbers {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px;
    max-width: 920px; margin: 0 auto; text-align: center;
}

@media (min-width: 760px) { .ps-numbers { grid-template-columns: repeat(4, 1fr); } }

.ps-number b {
    display: block; font-family: var(--ps-serif);
    font-size: clamp(2.3rem, 4.6vw, 3.1rem); line-height: 1; letter-spacing: -.02em;
    color: var(--ps-cream); font-weight: 500;
}

.ps-number span { display: block; margin-top: 10px; font-size: .95rem; line-height: 1.5; color: var(--ps-mute); }

.ps-note {
    max-width: 680px; margin: 0 auto;
    text-align: center;
    font-family: var(--ps-serif); font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    line-height: 1.45; color: var(--ps-cream);
}

.ps-note span { color: var(--ps-brand-lt); }

/* Caso: contexto → qué se hizo → número */
.ps-case {
    display: grid; grid-template-columns: 1fr; gap: 28px;
    max-width: 980px; margin: 56px auto 0; padding: 32px;
    background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: 12px;
}

@media (min-width: 820px) { .ps-case { grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 40px 44px; align-items: center; } }

.ps-case-figure { font-family: var(--ps-serif); font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--ps-cream); }
.ps-case-figure small { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: .95rem; line-height: 1.5; color: var(--ps-mute); letter-spacing: 0; }
.ps-case-figure em { font-style: normal; color: var(--ps-brand-lt); }
.ps-case-text h3 { font-size: 1.3rem; margin: 0 0 10px; }
.ps-case-text p { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.65; color: var(--ps-warm); }
.ps-case-text p:last-child { margin: 0; }
.ps-case-text b { color: var(--ps-cream); font-weight: 600; }

/* ---------- Foto grande con pie (AWS Summit) ---------- */

.ps-stage { padding: 88px 0; background: var(--ps-ink); border-top: 1px solid var(--ps-line-soft); }
@media (min-width: 768px) { .ps-stage { padding: 112px 0; } }

.ps-stage-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .ps-stage-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

.ps-stage-photo { position: relative; }
.ps-stage-photo img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--ps-line); }

.ps-stage-badge {
    position: absolute; left: 16px; bottom: 16px;
    padding: 8px 14px;
    background: rgba(20, 16, 15, .82); color: var(--ps-cream);
    border: 1px solid var(--ps-line);
    border-radius: 8px;
    font-size: .82rem; font-weight: 600; letter-spacing: .06em;
    backdrop-filter: blur(6px);
}

.ps-stage-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 0 0 20px; }
.ps-stage-text p { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.7; color: var(--ps-warm); }
.ps-stage-text strong { color: var(--ps-cream); }

.ps-stage-brands { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ps-line); font-size: .98rem; line-height: 1.7; color: var(--ps-mute); }
.ps-stage-brands b { color: var(--ps-warm); font-weight: 600; }

/* El recorrido: filas, no tarjetas */
.ps-fails { max-width: 880px; margin: 0 auto; }

.ps-fail { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--ps-line); }
.ps-fail:first-child { border-top: 1px solid var(--ps-line); }

@media (min-width: 760px) { .ps-fail { grid-template-columns: 260px 1fr; gap: 36px; align-items: baseline; } }

.ps-fail-what { font-family: var(--ps-serif); font-size: 1.3rem; line-height: 1.25; color: var(--ps-cream); }
.ps-fail-why { font-size: 1.02rem; line-height: 1.65; color: var(--ps-warm); }
.ps-fail-why b { display: block; margin-top: 6px; color: var(--ps-brand-lt); font-weight: 600; }

/* Principios: una sola pieza dividida */
.ps-services {
    display: grid; grid-template-columns: 1fr;
    max-width: 960px; margin: 0 auto;
    border: 1px solid var(--ps-line); border-radius: 12px; overflow: hidden;
}

@media (min-width: 760px) { .ps-services { grid-template-columns: 1fr 1fr; } }

.ps-service { padding: 30px 30px; border-bottom: 1px solid var(--ps-line); }
.ps-service:last-child { border-bottom: none; }

@media (min-width: 760px) {
    .ps-service:nth-child(odd) { border-right: 1px solid var(--ps-line); }
    .ps-service:nth-last-child(-n+2) { border-bottom: none; }
}

.ps-service h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 8px; }
.ps-service-pain { margin: 0 0 12px; font-size: 1rem; color: var(--ps-mute); font-style: italic; }
.ps-service p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ps-warm); }

/* Pasos numerados */
.ps-steps { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 820px) { .ps-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
@media (min-width: 900px) { .ps-steps--4 { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.ps-step-num {
    display: block; margin-bottom: 12px;
    font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ps-brand-lt);
}

.ps-step h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 8px; }
.ps-step p { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.65; color: var(--ps-warm); }
.ps-step-out { display: block; padding-left: 14px; border-left: 2px solid var(--ps-line); font-size: .96rem; line-height: 1.55; color: var(--ps-mute); }
.ps-step-out b { color: var(--ps-cream); font-weight: 600; }

/* ============================================
   CONTACTO
============================================ */

.ps-contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1080px; margin: 0 auto; }
@media (min-width: 940px) { .ps-contact-grid { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; } }

.ps-contact-steps { display: flex; flex-direction: column; gap: 0; }
.ps-contact-steps .ps-step { padding: 22px 0; border-bottom: 1px solid var(--ps-line); }
.ps-contact-steps .ps-step:first-child { border-top: 1px solid var(--ps-line); }
.ps-contact-steps .ps-step p { margin: 0; }
.ps-contact-side h2 { margin-bottom: 14px; }
.ps-contact-side > p { margin: 0 0 32px; font-size: 1.08rem; line-height: 1.65; color: var(--ps-warm); }

.ps-form { max-width: 620px; margin: 0 auto; }
.ps-form-card { padding: 30px 28px; background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: 12px; }
@media (min-width: 600px) { .ps-form-card { padding: 36px 36px; } }
.ps-form-card h2 { font-size: 1.6rem; margin: 0 0 6px; }
.ps-form-card > p { margin: 0 0 26px; font-size: 1rem; line-height: 1.6; color: var(--ps-warm); }

.ps-field { margin-bottom: 18px; }
.ps-field label { display: block; margin-bottom: 8px; font-size: .95rem; font-weight: 600; color: var(--ps-cream); }

.ps-field input, .ps-field textarea {
    width: 100%; padding: 13px 15px;
    background: var(--ps-ink); border: 1px solid var(--ps-line); border-radius: 8px;
    color: var(--ps-cream); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ps-field input::placeholder, .ps-field textarea::placeholder { color: var(--ps-mute); }
.ps-field input:focus, .ps-field textarea:focus { outline: none; border-color: var(--ps-brand-lt); box-shadow: 0 0 0 3px var(--ps-brand-ring); }
.ps-field textarea { min-height: 140px; resize: vertical; }
.ps-form .ps-btn { width: 100%; }
.ps-form-note { margin-top: 16px; text-align: center; font-size: .95rem; color: var(--ps-mute); }

/* FAQ dentro del sistema */
.ps-body #faq { background: var(--ps-surface); padding: 88px 0; border-top: 1px solid var(--ps-line-soft); }
@media (min-width: 768px) { .ps-body #faq { padding: 112px 0; } }
.ps-body #faq .section-header { margin-bottom: 40px; }
.ps-body #faq .section-label { display: none; }
.ps-body #faq h2 { font-family: var(--ps-serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; color: var(--ps-cream); }
.ps-body .hub-faq-list { max-width: 760px; margin: 0 auto; }
.ps-body .hub-faq-item { background: transparent; border: none; border-bottom: 1px solid var(--ps-line); border-radius: 0; }
.ps-body .hub-faq-item summary { font-family: var(--ps-serif); font-size: 1.22rem; font-weight: 500; letter-spacing: -.01em; color: var(--ps-cream); padding: 22px 40px 22px 0; }
.ps-body .hub-faq-item summary::after, .ps-body .hub-faq-item summary::marker { color: var(--ps-brand-lt); }
.ps-body .hub-faq-answer p { font-size: 1.02rem; line-height: 1.7; color: var(--ps-warm); }
.ps-body .hub-faq-answer strong { color: var(--ps-cream); }

/* ---------- Oferta y garantía (sprint) ---------- */

.ps-offer {
    max-width: 640px; margin: 0 auto;
    padding: 36px 34px 32px;
    background: var(--ps-card);
    border: 1px solid var(--ps-brand);
    border-radius: 12px;
    text-align: center;
}

.ps-offer-strike { display: block; font-size: 1.02rem; color: var(--ps-mute); text-decoration: line-through; text-decoration-color: var(--ps-brand-lt); }
.ps-offer-price { display: block; margin: 6px 0 4px; font-family: var(--ps-serif); font-size: clamp(2.8rem, 6.5vw, 4rem); line-height: 1; font-weight: 500; letter-spacing: -.03em; color: var(--ps-cream); }
.ps-offer-terms { display: block; font-size: 1rem; color: var(--ps-warm); }
.ps-offer ul { list-style: none; margin: 28px 0; padding: 24px 0 0; border-top: 1px solid var(--ps-line); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ps-offer li { position: relative; padding-left: 28px; font-size: 1.02rem; line-height: 1.5; color: var(--ps-warm); }
.ps-offer li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 7px; border-left: 1.5px solid var(--ps-brand-lt); border-bottom: 1.5px solid var(--ps-brand-lt); transform: rotate(-45deg); }
.ps-offer li b { color: var(--ps-cream); font-weight: 600; }
.ps-offer .ps-btn { width: 100%; }
.ps-offer-note { margin: 16px 0 0; font-size: .95rem; line-height: 1.6; color: var(--ps-mute); }

.ps-guarantee { max-width: 700px; margin: 52px auto 0; padding: 30px 32px; border: 1px solid var(--ps-line); border-radius: 12px; text-align: center; }
.ps-guarantee h3 { font-size: 1.35rem; margin: 0 0 10px; color: var(--ps-brand-lt); }
.ps-guarantee p { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--ps-warm); }
.ps-guarantee strong { color: var(--ps-cream); }

/* ============================================
   CIERRE
============================================ */

.ps-final {
    padding: 100px 0 108px; text-align: center;
    background:
        radial-gradient(70% 60% at 50% 110%, rgba(163, 35, 40, .16) 0%, rgba(163, 35, 40, 0) 70%),
        var(--ps-ink);
    border-top: 1px solid var(--ps-line-soft);
}

.ps-final h2 { max-width: 680px; margin: 0 auto 20px; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; }
.ps-final-lead { max-width: 540px; margin: 0 auto 34px; font-size: 1.12rem; line-height: 1.65; color: var(--ps-warm); }
.ps-final-note { margin-top: 22px; font-size: .98rem; color: var(--ps-mute); }

/* ============================================
   SOBRE MÍ · reportaje editorial
   Capítulos numerados, manifiesto tipográfico y
   retrato en duotono granate. Mismas superficies
   y líneas del sistema: cero sombras.
============================================ */

/* ---------- Hero editorial ---------- */

.ps-sm-hero {
    position: relative; overflow: hidden;
    padding: 116px 0 76px;
    background:
        radial-gradient(58% 62% at 76% 6%, rgba(163, 35, 40, .17) 0%, rgba(163, 35, 40, 0) 68%),
        var(--ps-ink);
}

@media (min-width: 768px) { .ps-sm-hero { padding: 152px 0 100px; } }

.ps-sm-hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr; gap: 48px;
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    align-items: center;
}

@media (min-width: 940px) { .ps-sm-hero-grid { grid-template-columns: minmax(0, 1fr) 356px; gap: 72px; } }

.ps-sm-hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.9rem);
    line-height: 1.05; letter-spacing: -.025em; margin: 0;
}

.ps-sm-hero h1 span { display: block; color: var(--ps-brand-lt); }

.ps-sm-lead { margin: 26px 0 0; max-width: 34em; font-size: 1.14rem; line-height: 1.7; color: var(--ps-warm); }
.ps-sm-lead strong { color: var(--ps-cream); font-weight: 600; }

.ps-sm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.ps-sm-hero-note { margin: 0; max-width: 22em; font-size: .95rem; line-height: 1.55; color: var(--ps-mute); }

/* Retrato: duotono granate dentro de una ficha de una sola línea */
.ps-sm-portrait {
    max-width: 360px; margin: 0 auto; width: 100%;
    border: 1px solid var(--ps-line); border-radius: 14px;
    background: var(--ps-card); overflow: hidden;
}

.ps-sm-portrait-frame {
    position: relative; isolation: isolate;
    background: linear-gradient(158deg, #2A2321 0%, var(--ps-brand-deep) 100%);
}

.ps-sm-portrait-frame img {
    display: block; width: 100%; height: auto;
    filter: grayscale(1) contrast(1.06) brightness(1.04);
    mix-blend-mode: luminosity;
}

.ps-sm-portrait-frame::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20, 16, 15, 0) 46%, rgba(20, 16, 15, .88) 100%);
}

.ps-sm-portrait-cap { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; }
.ps-sm-portrait-cap b { display: block; font-family: var(--ps-serif); font-size: 1.35rem; font-weight: 500; line-height: 1.2; color: var(--ps-cream); }
.ps-sm-portrait-cap span {
    display: block; margin-top: 4px;
    font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--ps-brand-lt);
}

.ps-sm-stats { list-style: none; margin: 0; padding: 0; }
.ps-sm-stats li { display: flex; align-items: baseline; gap: 14px; padding: 13px 22px; border-top: 1px solid var(--ps-line); }
.ps-sm-stats b { flex: 0 0 auto; min-width: 3.5em; font-family: var(--ps-serif); font-size: 1.18rem; font-weight: 500; color: var(--ps-cream); }
.ps-sm-stats span { font-size: .93rem; line-height: 1.45; color: var(--ps-mute); }

/* ---------- Cabecera de capítulo ---------- */

.ps-sm-band { background: var(--ps-surface); border-top: 1px solid var(--ps-line-soft); border-bottom: 1px solid var(--ps-line-soft); }

.ps-sm-chap {
    display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
    font-family: var(--font-sans); font-size: .74rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--ps-brand-lt);
}

.ps-sm-chap::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--ps-line); }

.ps-sm-h2 { font-family: var(--ps-serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.1; margin: 0; color: var(--ps-cream); }
.ps-sm-intro { margin: 22px 0 0; max-width: 40em; font-size: 1.1rem; line-height: 1.7; color: var(--ps-warm); }

/* ---------- Las tres sillas ---------- */

.ps-sm-chairs {
    display: grid; grid-template-columns: 1fr; gap: 1px;
    margin-top: 56px;
    background: var(--ps-line);
    border: 1px solid var(--ps-line); border-radius: 14px; overflow: hidden;
}

@media (min-width: 900px) { .ps-sm-chairs { grid-template-columns: repeat(3, 1fr); margin-top: 64px; } }

.ps-sm-chair { display: flex; flex-direction: column; padding: 30px 28px 32px; background: var(--ps-ink); }
.ps-sm-chair--now { background: var(--ps-card); box-shadow: inset 0 2px 0 0 var(--ps-brand); }

.ps-sm-chair-when { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-mute); }
.ps-sm-chair--now .ps-sm-chair-when { color: var(--ps-brand-lt); }

.ps-sm-chair h3 { font-size: 1.32rem; line-height: 1.25; margin: 10px 0 0; }

.ps-sm-chair-art { width: 100%; max-width: 230px; margin: 20px 0 22px; }
.ps-sm-chair-art svg { display: block; width: 100%; height: auto; overflow: visible; }

.ps-sm-chair-did { margin: 0 0 20px; font-size: 1rem; line-height: 1.62; color: var(--ps-mute); }
.ps-sm-chair-learn { margin: auto 0 0; padding-left: 16px; border-left: 2px solid var(--ps-brand); font-size: 1.05rem; line-height: 1.6; color: var(--ps-cream); }

.ps-sm-chairs-close {
    max-width: 640px; margin: 44px auto 0; text-align: center;
    font-family: var(--ps-serif); font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    line-height: 1.4; color: var(--ps-brand-lt);
}

.ps-sm-chairs-close span { display: block; margin-top: 10px; color: var(--ps-cream); }

/* ---------- El manifiesto ---------- */

.ps-sm-rules { max-width: 940px; margin: 56px 0 0; }
@media (min-width: 820px) { .ps-sm-rules { margin-top: 64px; } }

.ps-sm-rule {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    padding: 36px 0; border-top: 1px solid var(--ps-line);
    transition: none;
}

.ps-sm-rule:last-child { border-bottom: 1px solid var(--ps-line); }

@media (min-width: 820px) { .ps-sm-rule { grid-template-columns: 130px 1fr; gap: 44px; padding: 48px 0; } }

.ps-sm-rule-num {
    font-family: var(--ps-serif); font-weight: 500;
    font-size: clamp(2.8rem, 6.4vw, 4.6rem); line-height: .82; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1.2px var(--ps-brand); text-stroke: 1.2px var(--ps-brand);
    transition: color .25s var(--ps-ease);
}

.ps-sm-rule:hover .ps-sm-rule-num { color: var(--ps-brand-tint); }

.ps-sm-rule-say { margin: 0; font-size: clamp(1.45rem, 2.9vw, 2.1rem); line-height: 1.25; color: var(--ps-cream); }
.ps-sm-rule-why { margin: 16px 0 0; max-width: 38em; font-size: 1.06rem; line-height: 1.7; color: var(--ps-warm); }

.ps-sm-rule-from {
    display: block; margin-top: 18px; padding-left: 16px;
    border-left: 2px solid var(--ps-line);
    font-size: .96rem; line-height: 1.6; color: var(--ps-mute);
}

.ps-sm-rule-from b { color: var(--ps-brand-lt); font-weight: 600; }

/* Lo que no hago */
.ps-sm-nots { max-width: 940px; margin: 64px 0 0; }
.ps-sm-nots-head { margin: 0 0 24px; font-size: 1.35rem; line-height: 1.3; color: var(--ps-cream); }
.ps-sm-nots ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--ps-line); border: 1px solid var(--ps-line); border-radius: 12px; overflow: hidden; }
@media (min-width: 760px) { .ps-sm-nots ul { grid-template-columns: repeat(3, 1fr); } }
.ps-sm-nots li { position: relative; padding: 24px 24px 26px 46px; background: var(--ps-surface); font-size: 1.02rem; line-height: 1.6; color: var(--ps-warm); }
.ps-sm-nots li::before { content: '✗'; position: absolute; left: 22px; top: 22px; font-family: var(--ps-serif); font-size: 1.15rem; color: var(--ps-brand-lt); }

/* ---------- El recorrido ---------- */

.ps-sm-road { position: relative; max-width: 900px; margin: 56px auto 0; padding-left: 30px; }

.ps-sm-road::before {
    content: ''; position: absolute; left: 5px; top: 12px; bottom: 22px; width: 1px;
    background: linear-gradient(to bottom, var(--ps-line) 0%, var(--ps-brand-lt) 100%);
}

.ps-sm-stop { position: relative; padding: 0 0 36px; }
.ps-sm-stop:last-child { padding-bottom: 0; }

.ps-sm-stop::before {
    content: ''; position: absolute; left: -30px; top: 7px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--ps-surface); border: 1.5px solid var(--ps-mute);
}

.ps-sm-stop--now::before { background: var(--ps-brand); border-color: var(--ps-brand); box-shadow: 0 0 0 4px var(--ps-brand-tint); }

@media (min-width: 780px) { .ps-sm-stop { display: grid; grid-template-columns: 112px 1fr; gap: 30px; align-items: start; } }

.ps-sm-stop-year { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-brand-lt); }
.ps-sm-stop h3 { font-size: 1.3rem; line-height: 1.25; margin: 6px 0 6px; }
@media (min-width: 780px) { .ps-sm-stop h3 { margin-top: -4px; } }
.ps-sm-stop p { margin: 0; max-width: 40em; font-size: 1.02rem; line-height: 1.65; color: var(--ps-warm); }
.ps-sm-stop p b { color: var(--ps-cream); font-weight: 600; }
.ps-sm-stop--now h3 { color: var(--ps-brand-lt); }

/* ---------- El escenario ---------- */

.ps-sm-quote {
    margin: 22px 0 0 !important; padding-left: 20px;
    border-left: 2px solid var(--ps-brand);
    font-family: var(--ps-serif); font-size: clamp(1.18rem, 2.2vw, 1.45rem) !important;
    line-height: 1.4 !important; color: var(--ps-cream) !important;
}

.ps-stage-text .ps-sm-chap { margin-bottom: 18px; }

/* ---------- En corto ---------- */

.ps-sm-short { display: grid; grid-template-columns: 1fr; max-width: 940px; margin: 48px 0 0; }
@media (min-width: 720px) { .ps-sm-short { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.ps-sm-short > div { padding: 20px 0; border-bottom: 1px solid var(--ps-line); }
.ps-sm-short > div:first-child, .ps-sm-short > div:nth-child(2) { border-top: 1px solid var(--ps-line); }
@media (max-width: 719px) { .ps-sm-short > div:nth-child(2) { border-top: none; } }

.ps-sm-short dt { margin-bottom: 6px; font-family: var(--font-sans); font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-mute); }
.ps-sm-short dd { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ps-cream); }

@media (max-width: 420px) {
    .ps-sm-hero { padding: 100px 0 64px; }
    .ps-sm-chair { padding: 26px 22px 28px; }
    .ps-sm-rule { padding: 30px 0; }
}

/* ============================================
   REVELADO AL SCROLL · sólo con `.ps-anim`
============================================ */

.ps-anim [data-rise] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ps-ease), transform .55s var(--ps-ease), background-color .22s ease;
}

.ps-anim [data-rise].is-in { opacity: 1; transform: none; }

.ps-anim [data-rise-group] > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ps-ease), transform .5s var(--ps-ease);
}

.ps-anim [data-rise-group].is-in > * { opacity: 1; transform: none; }

.ps-anim [data-rise-group].is-in > *:nth-child(1) { transition-delay: .02s; }
.ps-anim [data-rise-group].is-in > *:nth-child(2) { transition-delay: .08s; }
.ps-anim [data-rise-group].is-in > *:nth-child(3) { transition-delay: .14s; }
.ps-anim [data-rise-group].is-in > *:nth-child(4) { transition-delay: .20s; }
.ps-anim [data-rise-group].is-in > *:nth-child(5) { transition-delay: .26s; }
.ps-anim [data-rise-group].is-in > *:nth-child(6) { transition-delay: .32s; }
.ps-anim [data-rise-group].is-in > *:nth-child(7) { transition-delay: .38s; }
.ps-anim [data-rise-group].is-in > *:nth-child(8) { transition-delay: .44s; }

/* ---------- Las tres escenas de la home se dibujan solas ----------
   Cada trazo lleva pathLength="1", así que una sola animación de
   stroke-dashoffset vale para líneas, curvas, círculos y polilíneas.
   Las superficies y los iconos, que no se pueden dibujar, entran con
   un fundido. Se dispara una vez, con el `.is-in` que ya pone el
   observador; no hay bucle. */

@keyframes ps-draw   { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ps-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.ps-anim .ps-art .dw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ps-anim .ps-art .fd { opacity: 0; }

.ps-anim .is-in .dw { animation: ps-draw .8s var(--ps-ease) both; }
.ps-anim .is-in .fd { animation: ps-appear .45s var(--ps-ease) both; transform-box: fill-box; transform-origin: center; }

/* El orden de entrada cuenta la secuencia: primero el antes,
   luego el paso, luego el después. Estas reglas van después de
   las de arriba a propósito: el atajo `animation` resetea el delay. */
.ps-anim .is-in .t1 { animation-delay: .10s; }
.ps-anim .is-in .t2 { animation-delay: .24s; }
.ps-anim .is-in .t3 { animation-delay: .40s; }
.ps-anim .is-in .t4 { animation-delay: .56s; }
.ps-anim .is-in .t5 { animation-delay: .70s; }
.ps-anim .is-in .t6 { animation-delay: .84s; }
.ps-anim .is-in .t7 { animation-delay: .98s; }
.ps-anim .is-in .t8 { animation-delay: 1.12s; }
.ps-anim .is-in .t9 { animation-delay: 1.26s; }

.ps-anim .ps-scene[data-rise], .ps-anim .ps-timeline[data-rise] { transform: translateY(22px); }
.ps-anim .ps-scene[data-rise].is-in, .ps-anim .ps-timeline[data-rise].is-in { transform: none; }

/* ============================================
   Estrechos y movimiento reducido
============================================ */

@media (max-width: 420px) {
    .ps-btn { padding: 12px 22px; font-size: .98rem; }
    .ps-section, .ps-problem, .ps-cost, .ps-split, .ps-who, .ps-stage, .ps-body #faq { padding: 64px 0; }
    .ps-hero { padding: 100px 0 68px; }
    .ps-who-card { justify-items: center; text-align: center; }
    .ps-facts { justify-content: center; }
    .ps-final { padding: 80px 0 88px; }
}

@media (prefers-reduced-motion: reduce) {
    .ps-btn, .ps-btn:active, .ps-panel, .ps-panel-meta i, .ps-index-row, .ps-index-art svg { transition: none; transform: none; }
    .ps-anim [data-rise], .ps-anim [data-rise-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .ps-anim .ps-art .dw,
    .ps-anim .is-in .dw,
    .ps-anim .ps-art .fd,
    .ps-anim .is-in .fd {
        animation: none !important; opacity: 1 !important;
        stroke-dasharray: none !important; stroke-dashoffset: 0 !important;
    }
}

/* =====================================================
   Partial `case-study` — nunca tuvo estilos.
   Se deja definido para cualquier otra página que lo use.
   ===================================================== */

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
}

@media (min-width: 820px) {
    .case-study-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.case-study-block {
    padding: 22px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--green-primary);
    border-radius: 10px;
}

.case-study-block h4 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green-primary);
    margin: 0 0 10px;
}

.case-study-block p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.case-study-quote {
    margin: 28px auto 0;
    max-width: 780px;
    padding: 26px 26px 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--green-primary);
    border-radius: 10px;
}

.case-study-quote p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin: 0 0 14px;
    font-style: italic;
}

.case-study-quote cite {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-style: normal;
    color: var(--text-dim);
}

/* =====================================================
   SELECTOR DE IDIOMA · a la izquierda del botón Contacto
   ===================================================== */

.nav-lang {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .nav-lang {
        display: block;
    }
}

.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid var(--border-color, #262b32);
    border-radius: 999px;
    color: var(--text-secondary, #b6bfc9);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.nav-lang-toggle:hover,
.nav-lang.is-open .nav-lang-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .06);
}

.nav-lang-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.nav-lang-globe {
    width: 15px;
    height: 15px;
    flex: none;
}

.nav-lang-caret {
    width: 9px;
    height: 6px;
    flex: none;
    transition: transform .18s ease;
}

.nav-lang.is-open .nav-lang-caret {
    transform: rotate(180deg);
}

.nav-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #12161c;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 1003;
}

.nav-lang.is-open .nav-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-lang-menu a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text-secondary, #b6bfc9);
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .14s ease, color .14s ease;
}

.nav-lang-menu a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.nav-lang-menu a.is-current {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.nav-lang-code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: .04em;
    opacity: .62;
    min-width: 20px;
}

/* Idiomas dentro del menú desplegado en móvil */
.nav-mobile-langs {
    display: none;
}

.nav-links.open .nav-mobile-langs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .nav-mobile-langs {
        display: none !important;
    }
}

.nav-mobile-langs-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .5;
}

.nav-mobile-langs-list {
    display: flex;
    gap: 18px;
}

.nav-links.open .nav-mobile-langs-list a {
    font-size: 1rem;
    opacity: .62;
}

.nav-links.open .nav-mobile-langs-list a.is-current {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Ajuste sobre el sistema granate de las páginas `ps-` y el dorado de `cr-` */
.ps-body .nav-lang-toggle { border-color: var(--ps-line); }
.ps-body .nav-lang-menu   { background: var(--ps-card); border-color: var(--ps-line); }
.ps-body .nav-lang-menu a.is-current { color: var(--ps-brand-lt); }

.cr-body .nav-lang-toggle { border-color: var(--cr-line); }
.cr-body .nav-lang-menu   { background: #1C1815; border-color: var(--cr-line); }
