/* ===========================
   EDOLAB MARKETS — GLOBAL STYLES
   Version: v1.3
   =========================== */

/* BRAND COLOR */
:root {
    --brand-accent: #5B9FAD; /* DarkTeal - Azul celeste de marca */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* COLOR SYSTEM - LIGHT MODE */
    --text-primary: #000000;
    --text-secondary: #404040;
    --text-tertiary: #737373;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --border-color: #E5E5E5;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* DARK MODE */
body.dark-mode {
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --text-tertiary: #8C8C8C;
    --bg-primary: #0B1118;
    --bg-secondary: #111A23;
    --border-color: #2A2A2A;
    --shadow-color: rgba(255, 255, 255, 0.05);
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--brand-accent);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER */
#header {
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#header.scrolled {
    box-shadow: 0 1px 3px var(--shadow-color);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img,
.site-logo {
    height: 32px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.lang-btn:hover {
    color: var(--brand-accent);
}

.lang-btn.active {
    color: var(--brand-accent);
    font-weight: 600;
}

.lang-separator {
    font-size: 0.9375rem;
    color: var(--border-color);
    user-select: none;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
}

.social-icons a {
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.social-icons svg path {
  fill: currentColor;
}

.social-icons a:hover {
    color: var(--brand-accent);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

.social-icons img {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icons .social-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hide mobile social icons in desktop */
.social-icons-mobile {
    display: none;
}

/* HERO SECTION */
.hero {
    padding: 8rem 0 8rem 0;
    text-align: center;
}

.hero-logo {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    height: 120px;
    width: auto;
}

.hero-subheadline {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* SECTIONS */
.section {
    padding: 6rem 0;
}

.section-gray {
    background-color: var(--bg-secondary);
}

/* GRID LAYOUTS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* CARDS */
.card {
    padding: 0;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* OUR APPROACH SECTION */
.approach-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    max-width: 800px;
}

.approach-list li {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.approach-list li:before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 600;
}

/* STATUS SECTION */
.status-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.status-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.status-content p:last-child {
    margin-bottom: 0;
}

/* INDICATORS SECTION */
.indicators-list {
    max-width: 800px;
    margin: 0 auto;
}

.indicator-item {
    padding: 0;
    margin-bottom: 3rem;
}

.indicator-item:last-child {
    margin-bottom: 0;
}

.indicator-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

.indicator-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.indicator-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.indicator-link:hover {
    color: #4A8695;
    text-decoration: underline;
}

/* PAGE HEADER */
.page-header {
    padding: 6rem 0 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* CTA CARDS (HOME) */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.cta-card:hover {
    background-color: var(--bg-secondary);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta-button:hover {
    color: #4A8695;
    text-decoration: underline;
}

/* TUTORIAL SECTION (HOME) */
.tutorial-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tutorial-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-top: 2rem;
}

.tutorial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
}

/* INDICATORS PAGE - SHOWCASE */
/* INDICATORS FILTER */
.indicators-filter {
    background: var(--bg-secondary);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-tertiary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.filter-tab.active {
    color: var(--bg-primary);
    background: var(--text-primary);
    border-color: var(--text-primary);
}

/* INDICATORS BADGES */
.indicator-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--bg-primary);
    border: 1px solid;
    z-index: 10;
}

.indicator-badge-free {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.indicator-badge-premium {
    color: var(--bg-primary);
    background: var(--text-primary);
    border-color: var(--text-primary);
}

/* INDICATORS SHOWCASE */
.indicators-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.indicator-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.indicator-showcase-card > a {
    display: block;
}

.indicator-showcase-card > a img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border-color);
}

.indicator-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.indicator-showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.indicator-showcase-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.indicator-showcase-content h3 a:hover {
    color: var(--brand-accent);
}

.version-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.indicator-showcase-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.indicator-showcase-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.indicator-image {
    width: 100%;
    position: relative;
}

.indicator-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border-color);
}

.indicator-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.indicator-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.indicator-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.indicator-version {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.indicator-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.indicator-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Disabled button */
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Clickable indicator cards */
.indicator-card-clickable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.indicator-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

/* BREADCRUMB */
.breadcrumb {
    padding: 2rem 0 1rem;
    background: var(--bg-secondary);
}

.breadcrumb a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--border-color);
}

.breadcrumb span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* INDIVIDUAL INDICATOR PAGES */
.indicator-detail-hero {
    padding: 3rem 0;
}

.indicator-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    /* Anchor para .indicator-badge (position:absolute). Sin esto el badge
       escapaba al viewport y aparecía pegado a la esquina superior derecha
       de la página. */
    position: relative;
    flex-wrap: wrap;
    padding-right: 5rem;
}

.indicator-detail-header h1 {
    margin: 0;
}

.indicator-detail-subtitle {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
}

.indicator-detail-image {
    max-width: 800px;
    margin: 0 auto;
}

.indicator-detail-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
}

.indicator-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.indicator-detail-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.indicator-detail-list {
    list-style: none;
    padding-left: 0;
}

.indicator-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.indicator-detail-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: 600;
}

.indicator-detail-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.premium-notice {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
}

.risk-warning {
    background: var(--bg-secondary);
    border-left: 4px solid var(--brand-accent);
    padding: 2rem;
}

.risk-warning h3 {
    margin-top: 0;
    color: var(--brand-accent);
}

.risk-warning p {
    margin: 0;
    color: var(--text-secondary);
}

/* Legacy styles (keep for backwards compatibility) */
.indicators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.indicator-card {
    padding: 0;
}

.indicator-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.indicator-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* MANUALS PAGE */
.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.disclaimer-box p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.manuals-list {
    max-width: 800px;
    margin: 0 auto;
}

.manual-item {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.manual-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.manual-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.manual-downloads {
    margin-bottom: 1.5rem;
}

.manual-download-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.manual-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bg-primary);
    background-color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--text-primary);
    transition: all 0.2s ease;
}

.manual-button:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.manual-meta {
    margin-top: 1rem;
}

.manual-meta p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.manual-meta p:last-child {
    margin-bottom: 0;
}

.manual-meta strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* FOOTER */
#footer {
    padding: 4rem 0 3rem 0;
    border-top: 1px solid var(--border-color);
}

#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

#footer p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-align: center;
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        gap: 2rem;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero-logo img {
        height: 100px;
    }

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

    .section {
        padding: 5rem 0;
    }

    .page-header {
        padding: 5rem 0 3rem 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .indicator-showcase-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .indicator-header h3 {
        font-size: 1.75rem;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 65px;
    }

    .hero-logo img {
        height: 90px;
    }

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

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p {
        font-size: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-logo {
        margin-bottom: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.125rem;
    }

    .section {
        padding: 4rem 0;
    }

    .page-header {
        padding: 4rem 0 3rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .manual-download-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .manual-button {
        width: 100%;
        text-align: center;
    }

    .indicator-showcase-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .indicator-header h3 {
        font-size: 1.5rem;
    }

    .indicator-actions {
        flex-direction: column;
    }
    
    .indicator-showcase-actions {
        flex-direction: column;
    }
    
    .indicator-showcase-actions .btn-secondary {
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .grid,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Indicator detail pages responsive */
    .indicator-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .indicator-detail-cta {
        flex-direction: column;
    }
    
    .indicator-detail-cta .btn-primary,
    .indicator-detail-cta .btn-secondary {
        width: 100%;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .social-icons {
        display: none;
    }
  
    /* Mobile social icons inside hamburger menu */
    .social-icons-mobile {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
    }
    
    .social-icons-mobile a {
        color: var(--text-tertiary);
        display: flex;
        align-items: center;
        transition: color 0.2s ease;
    }
    
    .social-icons-mobile a:hover {
        color: var(--brand-accent);
    }
    
    .social-icons-mobile svg,
    .social-icons-mobile .social-icon {
        width: 18px;
        height: 18px;
        display: block;
    }

    /* MOBILE NAVIGATION */
    .header-content {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.125rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .page-header {
        padding: 3rem 0 2rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .cta-card {
        padding: 1.5rem 1rem;
    }

    .indicator-header h3 {
        font-size: 1.375rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .logo img {
        height: 55px;
    }

    .hero-logo img {
        height: 80px;
    }

    .hero-logo {
        margin-bottom: 2rem;
    }

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

    .hero {
        padding: 3rem 0;
    }

    #footer {
        padding: 3rem 0 2.5rem 0;
    }

    .section {
        padding: 3rem 0;
    }
}

/* ===========================
   CONTACT PAGE
   =========================== */

/* Contact Container */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9375rem;
    text-align: center;
}

.form-success {
    background-color: #F0F9F0;
    color: #2D5F2D;
    border: 1px solid #A8D5A8;
}

.form-error {
    background-color: #FDF0F0;
    color: #8B2020;
    border: 1px solid #E8A8A8;
}

/* Direct Contact Section */
.direct-contact {
    max-width: 700px;
    margin: 0 auto;
}

.direct-contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.direct-contact-intro {
    font-size: 1.125rem;
    color: #404040;
    margin-bottom: 2rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E5E5;
}

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

.contact-item strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000000;
}

.contact-item a {
    font-size: 1rem;
    color: #404040;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #000000;
}

/* Responsive - Contact Page */
@media (max-width: 768px) {
    .contact-container {
        max-width: 100%;
    }

    .direct-contact h2 {
        font-size: 1.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .contact-item {
        padding: 0.875rem 0;
    }
}

@media (max-width: 480px) {
    .direct-contact h2 {
        font-size: 1.5rem;
    }

    .direct-contact-intro {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .social-icons {
        display: none;
    }
}

/* ===========================
   REDESIGN 2026
   =========================== */

/* Hero eyebrow label */
.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    display: block;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Section label (small uppercase label above titles) */
.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    display: block;
}

/* Approach pills (inline tags) */
.approach-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.approach-pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    border: 1px solid var(--border-color);
    color: var(--text-tertiary);
    background: transparent;
}

/* Indicators grid (2-column for indicators page) */
.indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Manuals grid (2-column for manuals page) */
.manuals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* Indicators group label (FREE / PREMIUM labels) */
.indicators-group-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    display: block;
}

/* Manual card (free manuals in grid) */
.manual-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.manual-card-meta {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.manual-card-downloads {
    display: flex;
    gap: 0.5rem;
}

.manual-btn-dl {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.manual-btn-dl:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Manual premium row (locked manuals) */
.manual-premium-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    margin-bottom: 0.5rem;
}

.manual-premium-lock {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.manual-premium-info {
    flex: 1;
}

.manual-premium-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.manual-premium-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.2rem;
}

/* TASK 7 — Contact page layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.contact-form-side {
    padding: 2rem 1.75rem;
    border-right: 1px solid var(--border-color);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info-side {
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-direct-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}

.contact-direct-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-direct-reason {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-direct-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.contact-social-link:hover {
    color: var(--brand-accent);
}

.contact-response-note {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Responsive adjustments for new classes */
@media (max-width: 768px) {
    .indicators-grid,
    .manuals-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .approach-pills {
        gap: 0.375rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-side {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat-number {
        font-size: 1.25rem;
    }
}

/* Principles grid (2-column card layout) */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.pr-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pr-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.pr-card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive for principles grid */
@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   INDICATORS GRID REDESIGN
   =========================== */

.indicators-group-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    display: block;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ind-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ind-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.ind-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--bg-secondary);
}

.ind-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ind-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
}

.ind-card-badge-free {
    background: #EAF3DE;
    color: #3B6D11;
}

.ind-card-badge-premium {
    background: #EEEDFE;
    color: #3C3489;
}

.ind-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.4rem;
}

.ind-card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.ind-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.ind-card-version {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    flex-shrink: 0;
}

.ind-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.ind-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive for indicators grid */
@media (max-width: 768px) {
    .indicators-grid {
        grid-template-columns: 1fr;
    }

    .ind-card-actions {
        flex-direction: column;
    }

    .ind-card-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   13.0B REDISEÑO — HOME ENHANCEMENTS
   =========================== */

/* LOGO (SVG inline: icono teal fijo + wordmark heredando el tema) --- */
.logo-stack {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    background: none;
    border: 0;
    padding: 0;
}
/* El wordmark usa fill="currentColor" -> hereda el color de texto del tema.
   El icono (anillo + barras) lleva el teal de marca quemado en el SVG. */
.logo-mark {
    display: block;
    height: 56px;
    width: auto;
    color: var(--text-primary);
    transition: color 0.25s ease;
}
.footer-logo .logo-mark { height: 66px; }

@media (max-width: 1024px) {
    .logo-mark { height: 52px; }
    .footer-logo .logo-mark { height: 58px; }
}
@media (max-width: 768px) {
    .logo-mark { height: 46px; }
    .footer-logo .logo-mark { height: 52px; }
}
@media (max-width: 480px) {
    .logo-mark { height: 40px; }
    .footer-logo .logo-mark { height: 46px; }
}

/* SCROLL REVEAL ANIMATIONS ---------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* HEADER GLASS ON SCROLL ------------------------------------ */
#header {
    transition: box-shadow 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}
#header.scrolled {
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    box-shadow: 0 1px 3px var(--shadow-color);
}
body.dark-mode #header.scrolled {
    background-color: rgba(11, 17, 24, 0.82);
}

/* BUTTONS — MICRO INTERACTIONS ------------------------------ */
.btn-primary, .btn-secondary {
    transition: transform 0.18s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--shadow-color);
}
.btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Brand-accent variant (for hero primary CTA) */
.btn-accent {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 1px solid var(--brand-accent);
    background-color: var(--brand-accent);
    color: #fff;
    transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-accent:hover {
    background-color: #4A8695;
    border-color: #4A8695;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(91, 159, 173, 0.32);
}
.btn-accent:active { transform: translateY(0); box-shadow: none; }

/* BACK TO TOP ----------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(91, 159, 173, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease;
    z-index: 900;
}
.back-to-top:hover { background: #4A8695; transform: translateY(-2px); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 480px) {
    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* HOME — CHART ANALYSIS PREVIEW ----------------------------- */
.home-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.home-chart-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.10);
    border-color: var(--brand-accent);
}
.home-chart-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f1115;
    overflow: hidden;
}
.home-chart-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-chart-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 17, 21, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
}
.home-chart-card-body {
    padding: 1rem 1.25rem 1.25rem;
}
.home-chart-card-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 0.4rem;
}
.home-chart-card-date {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}
@media (max-width: 900px) {
    .home-chart-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .home-chart-grid { grid-template-columns: 1fr; }
}

/* LATEST INDICATOR BANNER ----------------------------------- */
.latest-banner {
    background: linear-gradient(90deg, rgba(91,159,173,0.12), rgba(91,159,173,0.04));
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}
body.dark-mode .latest-banner {
    background: linear-gradient(90deg, rgba(91,159,173,0.18), rgba(91,159,173,0.06));
}
.latest-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.65rem 2rem;
    flex-wrap: wrap;
}
.latest-banner-tag {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--brand-accent);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 700;
}
.latest-banner-text {
    color: var(--text-secondary);
}
.latest-banner-link {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: none;
}
.latest-banner-link:hover { text-decoration: underline; }
.latest-banner-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0 6px;
    font-size: 1.4rem;
    line-height: 1;
    margin-left: 0.5rem;
}
.latest-banner-close:hover { color: var(--text-primary); }

@media (max-width: 480px) {
    .latest-banner-inner { padding: 0.6rem 1rem; gap: 0.6rem; font-size: 0.78rem; }
}

/* APPROACH CARDS (UPGRADE FROM PILLS) ----------------------- */
.approach-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.approach-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.approach-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 22px var(--shadow-color);
}
.approach-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.dark-mode .approach-card-icon { background: rgba(91, 159, 173, 0.18); }
.approach-card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.approach-card-body { flex: 1; }
.approach-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.approach-card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .approach-cards { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* COMING SOON ----------------------------------------------- */
.coming-soon-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.coming-soon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.coming-soon-item:hover {
    border-color: var(--brand-accent);
    transform: translateX(4px);
}
.coming-soon-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.coming-soon-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-left: 1rem;
}
.coming-soon-tag-free { background: #EAF3DE; color: #3B6D11; }
.coming-soon-tag-premium { background: #EEEDFE; color: #3C3489; }
body.dark-mode .coming-soon-tag-free { background: rgba(108, 175, 53, 0.18); color: #B8DC9D; }
body.dark-mode .coming-soon-tag-premium { background: rgba(110, 102, 230, 0.18); color: #B4AEFA; }

@media (max-width: 768px) {
    .coming-soon-list { grid-template-columns: 1fr; }
}

/* COMPARE FREE VS PREMIUM ----------------------------------- */
.compare-wrap {
    max-width: 900px;
    margin: 2rem auto 0;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    font-size: 0.9rem;
}
.compare-table th, .compare-table td {
    padding: 0.95rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.compare-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}
.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
    text-align: center;
}
.compare-yes { color: var(--brand-accent); font-weight: 700; font-size: 1.05rem; }
.compare-no { color: var(--text-tertiary); }

@media (max-width: 600px) {
    .compare-table th, .compare-table td { padding: 0.7rem 0.7rem; font-size: 0.8rem; }
}

/* FAQ ------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--brand-accent); }
.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-tertiary);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.faq-item[open] .faq-question::after { content: '−'; color: var(--brand-accent); }
.faq-answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* HOME CATEGORY FILTER -------------------------------------- */
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
}
.cat-chip {
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-tertiary);
    cursor: pointer;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}
.cat-chip:hover { color: var(--text-primary); border-color: var(--text-primary); }
.cat-chip.active {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

/* HOME INDICATORS COMPACT GRID ------------------------------ */
.home-ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.home-ind-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-ind-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 22px var(--shadow-color);
}
.home-ind-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-secondary);
}
.home-ind-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.home-ind-card:hover .home-ind-card-img img { transform: scale(1.05); }
.home-ind-card-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
.home-ind-card-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.home-ind-card-cat {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.home-ind-card-arrow {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--brand-accent);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.home-ind-card:hover .home-ind-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.home-ind-card .ind-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--brand-accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 3px;
    z-index: 5;
    animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(91,159,173,0.4); }
    50% { transform: scale(1.08); box-shadow: 0 2px 14px rgba(91,159,173,0.6); }
}

@media (max-width: 1024px) {
    .home-ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .home-ind-grid { grid-template-columns: 1fr; }
}

/* HERO STATS NUMBER -- tabular figures */
.hero-stat-number { font-variant-numeric: tabular-nums; }

/* CTA CARDS — HOVER POLISH */
.cta-card {
    transition: background-color 0.2s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cta-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 22px var(--shadow-color);
}

/* PRINCIPLES — HOVER POLISH */
.pr-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.pr-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-accent);
}

/* ===========================
   13.1 — MANUALS PAGE CARDS
   =========================== */

/* Use the indicators-grid + ind-card system for consistent look.
   Specific tweaks for manual cards below. */

.manual-ind-card .manual-card-meta-line {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.manual-ind-card .manual-card-meta-line strong {
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.manual-ind-card .ind-card-actions {
    gap: 0.6rem;
}

.manual-ind-card .ind-card-actions .btn-secondary {
    flex: 1;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.manual-ind-card .ind-card-actions .btn-secondary svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Premium manual card variant — no buttons, license note */
.manual-ind-card-premium .ind-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}

.manual-ind-card-premium .manual-premium-license {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    font-style: italic;
    margin: 0.25rem 0 0;
    padding: 0.85rem 0.95rem;
    background: var(--bg-secondary);
    border-left: 3px solid var(--brand-accent);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.manual-ind-card-premium .manual-premium-license svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--brand-accent);
    stroke: currentColor;
}

@media (max-width: 768px) {
    .manual-ind-card .ind-card-actions {
        flex-direction: column;
    }
    .manual-ind-card .ind-card-actions .btn-secondary {
        width: 100%;
    }
}

/* ===========================
   13.1 — CONTACT PAGE POLISH
   =========================== */

.page-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--brand-accent);
    border-radius: 0;
}

.page-header-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-header-divider {
    display: block;
    width: 48px;
    height: 2px;
    margin: 1.25rem auto 0;
    background: var(--brand-accent);
    opacity: 0.85;
}

/* Accent stripe at the top of the contact-layout box */
.contact-layout {
    position: relative;
    overflow: hidden;
}

.contact-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-accent) 35%, transparent 100%);
    opacity: 0.85;
    z-index: 1;
}

.contact-form-side .section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-form-side .section-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1px;
    background: var(--brand-accent);
}

.contact-info-heading {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-direct-item {
    position: relative;
    padding-left: 1.85rem;
}

.contact-direct-item .contact-direct-icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    color: var(--brand-accent);
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-response-note {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    border-left: 3px solid var(--brand-accent);
    padding-left: 0.85rem;
}

.contact-response-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-accent);
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-response-note p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-tertiary);
}

/* ===========================
   v17 — INDICATOR GALLERY (FROM OUR FEED / SOCIAL-FEED)
   =========================== */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feed-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feed-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 12px 28px var(--shadow-color);
}

.feed-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.feed-card-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feed-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 7px;
    border-radius: 3px;
}

.feed-card-badge-free { background: #EAF3DE; color: #3B6D11; }
.feed-card-badge-premium { background: var(--brand-accent); color: #fff; }

body.dark-mode .feed-card-badge-free { background: rgba(108, 175, 53, 0.18); color: #B8DC9D; }

.feed-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.feed-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.feed-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.2s ease, background 0.2s ease;
    opacity: 0.65;
}

.feed-carousel:hover .feed-carousel-btn { opacity: 1; }
.feed-carousel-btn:hover { background: rgba(0, 0, 0, 0.85); }
.feed-carousel-btn.prev { left: 8px; }
.feed-carousel-btn.next { right: 8px; }
.feed-carousel-btn svg { width: 16px; height: 16px; fill: currentColor; }

.feed-carousel-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 11px;
    backdrop-filter: blur(4px);
}

.feed-card-link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
    color: var(--brand-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.feed-card-link:hover { background: rgba(91, 159, 173, 0.06); }

@media (max-width: 900px) {
    .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .feed-grid { grid-template-columns: 1fr; }
}

/* ===========================
   v18 — VISUAL GUIDES PAGE
   =========================== */
.vg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.vg-card {
    background: var(--bg-secondary);
}

body.dark-mode .vg-card {
    background: var(--bg-primary);
}

.vg-series {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-accent);
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

body.dark-mode .vg-series {
    background: rgba(91, 159, 173, 0.06);
}

.vg-cta-card {
    background: rgba(91, 159, 173, 0.08);
    border: 1px solid rgba(91, 159, 173, 0.25);
    border-radius: 6px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

body.dark-mode .vg-cta-card {
    background: rgba(91, 159, 173, 0.10);
    border-color: rgba(91, 159, 173, 0.30);
}

.vg-cta-card-text {
    flex: 1 1 auto;
    min-width: 240px;
}

.vg-cta-card-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

.vg-cta-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
}

.vg-cta-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.vg-cta-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--brand-accent);
    color: #FFFFFF;
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vg-cta-card-btn:hover {
    background: #4A8B98;
    transform: translateY(-1px);
}

@media (max-width: 800px) {
    .vg-grid { grid-template-columns: 1fr; }
    .vg-cta-card { flex-direction: column; align-items: flex-start; text-align: left; }
    .vg-cta-card-btn { align-self: stretch; justify-content: center; }
}

/* ===========================
   v17 — METHODOLOGY: FAMILIES & COMBOS
   =========================== */
.families-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.family-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1.5rem 1.25rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.family-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 22px var(--shadow-color);
}

.family-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

body.dark-mode .family-card-icon { background: rgba(91, 159, 173, 0.18); }

.family-card-icon svg { width: 22px; height: 22px; }

.family-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.85rem;
}

.family-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.family-list li {
    font-size: 0.88rem;
    line-height: 1.5;
}

.family-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.family-list a:hover { color: var(--brand-accent); }

.family-soon {
    color: var(--text-tertiary);
}

.family-soon em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    border: 1px solid var(--border-color);
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 0.4rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .families-grid { grid-template-columns: 1fr; }
}

/* COMBOS */
.combos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.combo-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.combo-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 10px 28px var(--shadow-color);
}

.combo-card-premium {
    border: 1px solid var(--brand-accent);
    background: linear-gradient(180deg, rgba(91,159,173,0.04) 0%, var(--bg-primary) 60%);
}

.combo-card-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-accent);
}

.combo-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.combo-card-stack {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.combo-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.combo-pill a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.combo-pill a:hover { color: var(--brand-accent); }

.combo-pill-soon {
    color: var(--text-tertiary);
    font-weight: 500;
}

.combo-tag {
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

.combo-tag-free { background: #EAF3DE; color: #3B6D11; }
.combo-tag-premium { background: var(--brand-accent); color: #fff; }
.combo-tag-soon { background: var(--bg-secondary); color: var(--text-tertiary); border: 1px solid var(--border-color); }

body.dark-mode .combo-tag-free { background: rgba(108, 175, 53, 0.18); color: #B8DC9D; }

.combo-card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.combo-card-cta {
    margin-top: auto;
    color: var(--brand-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.combo-card-cta:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .combos-grid { grid-template-columns: 1fr; }
}

/* ===========================
   v17 — RELEASE TIMELINE
   =========================== */
/* Viewport relativo que aloja la timeline y los botones de flecha */
.timeline-viewport {
    position: relative;
}

.timeline-wrap {
    position: relative;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Ocultar scrollbar nativa — el desplazamiento se hace con las flechas, rueda o touch */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade en los bordes para indicar que hay contenido fuera de la vista */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

.timeline-wrap::-webkit-scrollbar { display: none; height: 0; }

/* Flechas laterales */
.timeline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 14px var(--shadow-color);
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.timeline-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

.timeline-arrow:hover:not([disabled]) {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    transform: translateY(-50%) scale(1.05);
}

.timeline-arrow:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.timeline-arrow[disabled] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.timeline-arrow-prev { left: -8px; }
.timeline-arrow-next { right: -8px; }

/* Si la timeline cabe entera en el viewport, no enseñar flechas ni máscara */
.timeline-viewport.timeline-viewport-no-overflow .timeline-arrow { display: none; }
.timeline-viewport.timeline-viewport-no-overflow .timeline-wrap {
    -webkit-mask-image: none;
            mask-image: none;
}

body.dark-mode .timeline-arrow {
    background: var(--bg-secondary);
}

.timeline {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 280px;
    padding: 0 1rem;
    min-width: max-content;
}

/* Horizontal line through center */
.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    flex: 0 0 150px;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-card {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.55rem 0.6rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 18px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-card {
    bottom: calc(50% + 18px);
}

.timeline-item:nth-child(even) .timeline-card {
    top: calc(50% + 18px);
}

/* Connector line from card to dot */
.timeline-item:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 14px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1px;
    height: 14px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-card-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.timeline-card-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    align-self: center;
}

.timeline-card-tag.tag-free { background: #EAF3DE; color: #3B6D11; }
.timeline-card-tag.tag-premium { background: var(--brand-accent); color: #fff; }
.timeline-card-tag.tag-soon { background: var(--bg-secondary); color: var(--text-tertiary); border: 1px solid var(--border-color); }

body.dark-mode .timeline-card-tag.tag-free { background: rgba(108, 175, 53, 0.18); color: #B8DC9D; }
body.dark-mode .timeline-card-tag.tag-soon { background: var(--bg-secondary); }

.timeline-card-soon {
    cursor: default;
    opacity: 0.75;
}

.timeline-card-date {
    font-size: 0.65rem;
    font-weight: 500;
    color: #5B9FAD;
    opacity: 0.7;
    letter-spacing: 0.02em;
    align-self: center;
    line-height: 1.2;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 2;
}

.timeline-dot.dot-free { background: var(--brand-accent); border: 2px solid var(--bg-primary); box-shadow: 0 0 0 1px var(--brand-accent); }
.timeline-dot.dot-premium { background: #E6B800; border: 2px solid var(--bg-primary); box-shadow: 0 0 0 1px #E6B800; }
.timeline-dot.dot-soon {
    background: var(--bg-primary);
    border: 2px dashed var(--text-tertiary);
}

@media (max-width: 768px) {
    /* Vertical timeline on mobile — no horizontal scroll, no arrows, no mask */
    .timeline-arrow { display: none; }
    .timeline-wrap {
        overflow-x: visible;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        min-width: 100%;
        padding: 0;
        min-height: 0;
    }
    .timeline::before {
        left: 12px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
        transform: none;
    }
    .timeline-item {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0.5rem 0 0.5rem 36px;
    }
    .timeline-item .timeline-card,
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        position: relative;
        left: 0;
        top: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .timeline-item .timeline-card:hover,
    .timeline-item:nth-child(odd) .timeline-card:hover,
    .timeline-item:nth-child(even) .timeline-card:hover {
        transform: translateY(-1px);
    }
    .timeline-item:nth-child(odd) .timeline-card::after,
    .timeline-item:nth-child(even) .timeline-card::after {
        display: none;
    }
    .timeline-dot {
        left: 12px;
        top: 50%;
    }
}

/* ===========================
   v17 — STATS GRID (BY THE NUMBERS)
   =========================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 22px var(--shadow-color);
}

.stat-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .stat-card-icon { background: rgba(91, 159, 173, 0.18); }

.stat-card-icon svg { width: 20px; height: 20px; }

.stat-card-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card-number { font-size: 2rem; }
}

/* ===========================
   v17 — PRICING CARDS (FREE / PREMIUM)
   =========================== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--shadow-color);
}

.pricing-card-premium {
    border: 2px solid var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(91, 159, 173, 0.08);
    position: relative;
}

.pricing-card-premium:hover {
    box-shadow: 0 12px 32px rgba(91, 159, 173, 0.20), 0 0 0 4px rgba(91, 159, 173, 0.10);
}

.pricing-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 3px;
}

.pricing-card-badge-free {
    background: #EAF3DE;
    color: #3B6D11;
}

body.dark-mode .pricing-card-badge-free {
    background: rgba(108, 175, 53, 0.18);
    color: #B8DC9D;
}

.pricing-card-badge-premium {
    background: var(--brand-accent);
    color: #fff;
}

.pricing-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.4rem 0 0;
}

.pricing-card-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}

.pricing-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
}

.pricing-card-features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.5;
}

.pricing-card-features .is-included {
    color: var(--text-primary);
}

.pricing-card-features .is-excluded {
    color: var(--text-tertiary);
}

.pricing-mark {
    flex-shrink: 0;
    width: 1.4rem;
    font-weight: 700;
    color: var(--brand-accent);
}

.pricing-card-features .is-excluded .pricing-mark {
    color: var(--text-tertiary);
    font-weight: 400;
}

.pricing-card-foot {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-color);
}

.pricing-card-cta {
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-cards { grid-template-columns: 1fr; }
}

/* ===========================
   v17 — CONTACT REDESIGN
   =========================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.1rem 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-accent);
    box-shadow: 0 6px 18px var(--shadow-color);
}

.contact-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

body.dark-mode .contact-card-icon { background: rgba(91, 159, 173, 0.18); }

.contact-card-icon svg { width: 20px; height: 20px; }

.contact-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.contact-card-email {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-accent);
    word-break: break-word;
}

.contact-card-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .contact-cards-grid { grid-template-columns: 1fr; }
}

/* Social icons row */
.contact-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.contact-social-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.contact-social-icon svg { width: 18px; height: 18px; }
.contact-social-icon img { width: 22px; height: 22px; object-fit: contain; }

.contact-social-icon:hover { transform: translateY(-2px); }

.contact-social-tradingview:hover { background: #2962FF; border-color: #2962FF; }
.contact-social-tradingview:hover img { filter: brightness(0) invert(1); }
.contact-social-youtube:hover { background: #FF0000; border-color: #FF0000; color: #fff; }
.contact-social-x:hover { background: #000000; border-color: #000000; color: #fff; }
body.dark-mode .contact-social-x:hover { background: #FFFFFF; border-color: #FFFFFF; color: #000; }
.contact-social-instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    border-color: transparent;
    color: #fff;
}
.contact-social-facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }

/* Tooltip */
.contact-social-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social-icon[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Response time card */
.response-time-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--brand-accent);
}

.response-time-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.dark-mode .response-time-icon { background: rgba(91, 159, 173, 0.18); }

.response-time-icon svg { width: 18px; height: 18px; }

.response-time-body { flex: 1; }

.response-time-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.response-time-text {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.55;
    margin: 0;
}

/* ===========================
   CONTACT — Glass card (Variante 2)
   =========================== */
.contact-section-glass .container { max-width: 1080px; }

.contact-glass-wrap {
    position: relative;
    display: grid;
    place-items: center;
    padding: 3.25rem 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
/* Light mode: tint the panel so the teal/gold accent reads */
body:not(.dark-mode) .contact-glass-wrap {
    background:
        linear-gradient(180deg, rgba(91, 159, 173, 0.07), rgba(91, 159, 173, 0.02));
    border-color: rgba(91, 159, 173, 0.22);
}

.contact-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Stronger by default (light); softened again for dark below */
    background:
        radial-gradient(620px 380px at 26% 16%, rgba(91, 159, 173, 0.34), transparent 70%),
        radial-gradient(540px 360px at 82% 84%, rgba(230, 184, 0, 0.20), transparent 70%);
    animation: contactDrift 13s ease-in-out infinite alternate;
}
body.dark-mode .contact-mesh {
    background:
        radial-gradient(600px 360px at 28% 18%, rgba(91, 159, 173, 0.22), transparent 70%),
        radial-gradient(520px 340px at 80% 82%, rgba(230, 184, 0, 0.12), transparent 70%);
}
@keyframes contactDrift { to { transform: translateY(-12px) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .contact-mesh { animation: none; } }

.contact-glass {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 2.1rem 1.9rem;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.45);
}
/* Teal accent stripe on top of the card — gives brand color in both modes */
.contact-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-accent) 38%, transparent 100%);
    opacity: 0.9;
}
body:not(.dark-mode) .contact-glass {
    border-color: rgba(91, 159, 173, 0.20);
    box-shadow: 0 24px 60px -32px rgba(91, 159, 173, 0.45);
}
body.dark-mode .contact-glass {
    background: rgba(20, 28, 34, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Section label in brand color inside the glass */
.contact-glass .section-label { color: var(--brand-accent); }

.contact-glass .contact-form { gap: 1.1rem; margin-top: 0.35rem; }
.contact-glass .btn-submit { width: 100%; justify-content: center; }

/* Response badge inside the glass */
.contact-resp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.5rem 0.9rem;
    border-radius: 99px;
    border: 1px solid rgba(91, 159, 173, 0.35);
    background: rgba(91, 159, 173, 0.10);
    color: var(--brand-accent);
    font-size: 0.78rem;
    font-weight: 600;
}
.contact-resp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ad29a;
    box-shadow: 0 0 0 4px rgba(58, 210, 154, 0.18);
    flex-shrink: 0;
}

/* Social icons centered inside the glass */
.contact-social-centered { justify-content: center; margin-top: 1.15rem; }

/* Direct contact cards — row of 4 under the glass */
.contact-cards-row { margin-top: 2.75rem; }
.contact-cards-row .contact-info-heading {
    text-align: center;
    border-bottom: none;
    margin-bottom: 1.1rem;
}
.contact-cards-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
@media (max-width: 900px) {
    .contact-cards-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .contact-cards-grid-4 { grid-template-columns: 1fr; }
}

/* ===========================
   v17 — ERROR 404 PAGE
   =========================== */
.error-404 {
    min-height: calc(100vh - 80px - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-404-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    animation: error-404-rise 0.7s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes error-404-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.error-404-logo {
    height: 48px;
    width: auto;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
}
.error-404-logo .logo-mark {
    height: 48px;
}

.error-404-number {
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 700;
    line-height: 1;
    color: #0A7C8C;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

body.dark-mode .error-404-number {
    color: #5B9FAD;
}

.error-404-divider {
    display: block;
    width: 60px;
    height: 1px;
    background: #0A7C8C;
    margin: 0 auto 1.5rem;
    opacity: 0.6;
}

.error-404-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.error-404-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-404-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .error-404-actions { flex-direction: column; align-items: stretch; }
    .error-404-actions a { width: 100%; }
}

/* ===========================
   v14.0 — INDICATOR CARD CAROUSEL
   =========================== */
.ind-card-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--bg-secondary);
}

.ind-card-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

.ind-card-carousel.is-loading .ind-card-carousel-img {
    opacity: 0.4;
}

.ind-card-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ind-card-carousel:hover .ind-card-carousel-btn,
.ind-card-carousel:focus-within .ind-card-carousel-btn {
    opacity: 1;
}

.ind-card-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.ind-card-carousel-btn.prev {
    left: 10px;
}

.ind-card-carousel-btn.next {
    right: 10px;
}

.ind-card-carousel-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ind-card-carousel-counter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 11px;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.dark-mode .ind-card-carousel-btn {
    background: rgba(20, 28, 36, 0.7);
    color: #E8E8E8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .ind-card-carousel-btn:hover {
    background: rgba(91, 159, 173, 0.85);
    color: #FFFFFF;
}

body.dark-mode .ind-card-carousel-counter {
    background: rgba(20, 28, 36, 0.75);
    color: #E8E8E8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hide nav/counter when single image */
.ind-card-carousel.single .ind-card-carousel-btn,
.ind-card-carousel.single .ind-card-carousel-counter {
    display: none;
}

@media (max-width: 768px) {
    .ind-card-carousel-btn {
        opacity: 1;
        width: 30px;
        height: 30px;
        background: rgba(0, 0, 0, 0.45);
    }
    .ind-card-carousel-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Hero variant for detail pages */
.ind-card-carousel--hero {
    aspect-ratio: 16 / 8;
    border: 1px solid var(--border-color);
}

.ind-card-carousel--hero .ind-card-carousel-img {
    object-fit: contain;
    background: var(--bg-secondary);
}

.ind-card-carousel--hero .ind-card-carousel-btn {
    width: 42px;
    height: 42px;
    opacity: 1;
}

.ind-card-carousel--hero .ind-card-carousel-btn svg {
    width: 20px;
    height: 20px;
}

.ind-card-carousel--hero .ind-card-carousel-counter {
    bottom: 14px;
    left: 14px;
    font-size: 0.75rem;
    padding: 4px 11px;
}

@media (max-width: 768px) {
    .ind-card-carousel--hero {
        aspect-ratio: 4 / 3;
    }
    .ind-card-carousel--hero .ind-card-carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* Click hint on hero image */
.ind-card-carousel--hero .ind-card-carousel-img {
    cursor: zoom-in;
}

/* ===========================
   v15.0 — IMAGE LIGHTBOX
   =========================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    cursor: default;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease;
}

.lightbox.is-loading .lightbox-img {
    opacity: 0.4;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.lightbox-btn.prev,
.lightbox-btn.next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
}

.lightbox-btn.prev { left: 24px; }
.lightbox-btn.next { right: 24px; }

.lightbox-btn.close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
}

.lightbox-btn.close svg {
    width: 18px;
    height: 18px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox { padding: 1rem; }
    .lightbox-img { max-width: 100vw; max-height: 80vh; }
    .lightbox-btn.prev,
    .lightbox-btn.next {
        width: 42px;
        height: 42px;
    }
    .lightbox-btn.prev { left: 8px; }
    .lightbox-btn.next { right: 8px; }
    .lightbox-btn.close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    .lightbox-counter { bottom: 12px; font-size: 0.72rem; padding: 5px 11px; }
}

/* === COMING SOON BADGE (YouTube placeholder) === */
.btn-coming-soon {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    user-select: none;
}
.btn-coming-soon:hover { opacity: 0.5; }

/* === COPY LINK BUTTON (indicator detail) === */
.copy-link-btn {
    background: none;
    border: none;
    padding: 4px;
    margin-left: 0.5rem;
    cursor: pointer;
    color: #737373;
    vertical-align: middle;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}
.copy-link-btn:hover { color: var(--brand-accent, #5B9FAD); }
.copy-link-btn svg { width: 16px; height: 16px; }
.copy-link-btn.copied { color: var(--brand-accent, #5B9FAD); }
.copy-link-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.copy-link-btn:hover .copy-link-tooltip,
.copy-link-btn.copied .copy-link-tooltip { opacity: 1; }

/* === FORM SUCCESS / ERROR (contact) === */
.form-feedback {
    display: none;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    background: rgba(91, 159, 173, 0.06);
    border: 1px solid rgba(91, 159, 173, 0.2);
    animation: feedbackFadeIn 0.4s ease;
}
.form-feedback.error {
    background: rgba(220, 53, 69, 0.06);
    border-color: rgba(220, 53, 69, 0.25);
}
.form-feedback.visible { display: block; }
.form-feedback-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--brand-accent, #5B9FAD);
}
.form-feedback.error .form-feedback-icon { color: #dc3545; }
.form-feedback-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-feedback-subtitle {
    color: #737373;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}
.form-feedback-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.form-fade-out { animation: formFadeOut 0.3s ease forwards; }
@keyframes feedbackFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes formFadeOut {
    from { opacity: 1; }
    to { opacity: 0; height: 0; overflow: hidden; }
}

/* === IDEA DATE (chart-analysis cards) === */
.idea-date {
    display: block;
    font-size: 0.78rem;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

/* ===========================
   TUTORIALS PAGE
   Pagina tutorials.html — galeria de tutoriales largos + Shorts
   =========================== */

/* ---------- FILTER BAR ---------- */
.tutorials-filter-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.tutorials-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tutorials-chip {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tutorials-chip:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.tutorials-chip.active {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #FFFFFF;
}

/* ---------- INFO BOX ---------- */
.section-tight {
    padding-top: 3rem;
    padding-bottom: 0;
}

.tutorials-info-box {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-accent);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tutorials-info-box svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--brand-accent);
    margin-top: 2px;
}

.tutorials-info-box strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* ---------- SECTION HEADERS ---------- */
.tutorials-section-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.tutorials-section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.tutorials-section-meta {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.tutorials-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

/* ---------- ZONA 1: TUTORIALES LARGOS (16:9) ---------- */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.tutorial-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.tutorial-card:hover {
    border-color: var(--brand-accent);
    transform: translateY(-3px);
}

.tutorial-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0d1419;
}

.tutorial-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tutorial-youtube-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tutorial-youtube-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.tutorial-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tutorial-play-btn {
    width: 72px;
    height: 50px;
    border-radius: 14px;
    background-color: #FF0000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.tutorial-play-btn svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
    margin-left: 3px;
}

.tutorial-card:hover .tutorial-youtube-badge,
.tutorial-card:hover .tutorial-play-overlay {
    opacity: 1;
}

.tutorial-info {
    padding: 1.125rem 1.25rem 1.25rem;
}

.tutorial-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.tutorial-meta {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ---------- ZONA 2: SHORTS (9:16) ---------- */
/* Fondo igual al body para que los .shorts-group (bg-secondary) destaquen */
.section-shorts-zone {
    background-color: var(--bg-primary);
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.25rem;
}

.short-card {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background-color: #0d1419;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.short-card:hover {
    transform: translateY(-4px);
}

.short-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.short-youtube-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0.3rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.short-youtube-badge svg {
    width: 14px;
    height: 14px;
    fill: #FFFFFF;
}

.short-card:hover .short-youtube-badge {
    opacity: 1;
}

.short-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    font-weight: 500;
}

/* ---------- LIGHT MODE OVERRIDES ---------- */
body:not(.dark-mode) .tutorial-thumb {
    background-color: #F0F0F0;
}

body:not(.dark-mode) .short-card {
    background-color: #F0F0F0;
}

/* ---------- MOBILE: badges siempre visibles (no hay hover) ---------- */
@media (hover: none) {
    .tutorial-youtube-badge,
    .short-youtube-badge {
        opacity: 1;
    }
    .tutorial-play-overlay {
        opacity: 0;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .tutorials-section-title {
        font-size: 1.5rem;
    }
    .tutorials-section-header {
        align-items: flex-start;
    }
    .tutorials-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.25rem;
    }
    .shorts-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.875rem;
    }
    .tutorial-youtube-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
}

/* ---------- SHORTS AGRUPADOS POR INDICADOR (Variante D) ---------- */
.shorts-groups-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.shorts-group {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.dark-mode .shorts-group {
    box-shadow: none;
}

.shorts-group-stripe {
    height: 3px;
    background: var(--ind-color, var(--text-primary));
}

.shorts-group-header {
    display: flex;
    align-items: center;
    padding: 9px 14px 6px;
}

.shorts-group-title {
    font-size: 13.75px;
    font-weight: 500;
    line-height: 1;
    color: var(--ind-color, var(--text-primary));
}

.shorts-group-body {
    padding: 4px 12px 12px;
}

.shorts-group-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 600px) {
    .shorts-group-row { gap: 6px; }
    .shorts-group-header { padding: 8px 12px 5px; }
    .shorts-group-body { padding: 4px 10px 10px; }
    .shorts-group-title { font-size: 13px; }
}

/* ============================================================
 * INDICATORS ROADMAP — sección al final de indicators.html
 * Diseño moderno tipo "pipeline" — visualmente distinto al
 * Roadmap del home (.roadmap-list / .roadmap-card)
 * ============================================================ */
.pipeline-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pipeline-header-text { flex: 1 1 480px; min-width: 0; }

.pipeline-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5B9FAD;
    font-weight: 600;
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 28px;
}
.pipeline-eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 20px; height: 1px;
    background: #5B9FAD;
    transform: translateY(-50%);
}

.pipeline-title {
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
    line-height: 1.18;
}

.pipeline-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    max-width: 560px;
    line-height: 1.5;
}

.pipeline-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

.pipeline-count {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    line-height: 1;
}
.pipeline-count-num {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.pipeline-count-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 500;
}

.pipeline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-primary);
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pipeline-cta svg {
    width: 13px;
    height: 13px;
    transition: transform 0.15s ease;
}
.pipeline-cta:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}
.pipeline-cta:hover svg {
    transform: translateX(2px);
}

/* ---------- Pipeline grid ---------- */
.pipeline-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.pipeline-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem 0.7rem 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    cursor: default;
}

.pipeline-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pipeline-pill[data-type="free"]:hover {
    border-color: #5B9FAD;
}
.pipeline-pill[data-type="premium"]:hover {
    border-color: #E6B800;
}

.pipeline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--text-tertiary);
    box-shadow: 0 0 0 3px rgba(115, 115, 115, 0.12);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}
.pipeline-pill[data-type="free"] .pipeline-dot {
    background: #5B9FAD;
    box-shadow: 0 0 0 3px rgba(91, 159, 173, 0.15);
}
.pipeline-pill[data-type="premium"] .pipeline-dot {
    background: #E6B800;
    box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.18);
}

.pipeline-name {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pipeline-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    line-height: 1;
}
.pipeline-tag-free {
    background: rgba(91, 159, 173, 0.12);
    color: #5B9FAD;
}
.pipeline-tag-premium {
    background: rgba(230, 184, 0, 0.14);
    color: #B58E00;
}
body.dark-mode .pipeline-tag-premium {
    color: #E6B800;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pipeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pipeline-title { font-size: 1.55rem; }
    .pipeline-count-num { font-size: 2rem; }
}
@media (max-width: 560px) {
    .pipeline-grid { grid-template-columns: 1fr; }
    .pipeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .pipeline-header-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 1rem;
    }
}

/* Descripción debajo del título en tutoriales largos */
.tutorial-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================
   HOME REDESIGN — Banner, dropdown, hero, stats, roadmap, explore
   =========================== */

/* ---------- TOP BANNER LATEST CON COLOR ---------- */
.top-banner {
    background: linear-gradient(90deg, var(--brand-accent) 0%, #4A8A98 100%);
    color: #FFFFFF;
    padding: 0.65rem 0;
    text-align: center;
    font-size: 0.875rem;
    position: relative;
}
.top-banner .container {
    position: relative;
    padding-right: 3rem;
}
.top-banner-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.top-banner-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    padding: 0.18rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
}
.top-banner-text { font-weight: 500; color: #FFFFFF; }
.top-banner-link {
    color: #FFFFFF;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.top-banner-link:hover { border-bottom-color: #FFFFFF; }
.top-banner-close {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    line-height: 1;
}
.top-banner-close:hover { color: #FFFFFF; }

/* ---------- NAV DROPDOWN "LEARN" ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    transition: color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: var(--text-primary); }
.nav-dropdown-chevron {
    width: 11px;
    height: 11px;
    transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    z-index: 50;
}
body.dark-mode .nav-dropdown-menu {
    background: #161F29;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: background-color 0.15s, color 0.15s;
    text-decoration: none;
}
.nav-dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.nav-dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-dropdown-icon svg { width: 15px; height: 15px; }
.nav-dropdown-text { display: flex; flex-direction: column; }
.nav-dropdown-title { font-weight: 500; font-size: 0.9rem; }
.nav-dropdown-desc {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-top: 0.15rem;
    font-weight: 400;
}

/* ---------- HERO SECONDARY LINKS ---------- */
.hero-secondary {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1.5rem;
}
.hero-secondary a {
    color: var(--text-tertiary);
    transition: color 0.2s;
    text-decoration: none;
}
.hero-secondary a:hover { color: var(--text-primary); }
.hero-secondary .sep { opacity: 0.4; }

/* Watch Tutorials button — YouTube icon */
.btn-yt {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
}
.btn-yt-icon {
    width: 17px;
    height: 17px;
    fill: #FF0000;
    flex-shrink: 0;
}

/* ---------- STATS 2 BIG + 4 SMALL ---------- */
.stats-primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.stat-big {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
body.dark-mode .stat-big { background: var(--bg-secondary); }
.stat-big::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-accent);
}
.stat-big-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 12px;
    background: rgba(91, 159, 173, 0.12);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-big-icon svg { width: 26px; height: 26px; }
.stat-big-number {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}
.stat-big-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.stats-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-small {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.75rem 1.25rem;
    text-align: center;
}
body.dark-mode .stat-small { background: var(--bg-secondary); }
.stat-small-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1;
}
.stat-small-label {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

/* ---------- SECTION INTRO ---------- */
.section-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.55;
}

/* ---------- APPROACH CTA CENTRADO ---------- */
.approach-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ---------- FREE VS PREMIUM SIMPLIFICADO ---------- */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.access-card {
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    padding: 2.5rem;
    position: relative;
}
body.dark-mode .access-card { background: var(--bg-secondary); }
.access-card-premium { border-color: #C9A961; }
.access-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #C9A961;
}
.access-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.access-badge-free { background: rgba(91, 159, 173, 0.18); color: var(--brand-accent); }
.access-badge-premium { background: rgba(201, 169, 97, 0.18); color: #C9A961; }
.access-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.access-card-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}
.access-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.75rem;
}
.access-features li {
    padding: 0.55rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}
.access-features li:last-child { border-bottom: none; }
.access-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--brand-accent);
}
.access-card-premium .access-features li svg { color: #C9A961; }
.access-card-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
}
.btn-premium {
    background: #C9A961;
    color: #1a1a1a;
    border: 1px solid #C9A961;
    transition: background 0.2s;
}
.btn-premium:hover { background: #B89854; }
.access-compare {
    margin-top: 1rem;
    text-align: center;
}
.access-compare summary {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    cursor: pointer;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1px;
    display: inline-block;
    list-style: none;
}
.access-compare summary::-webkit-details-marker { display: none; }
.access-features-full {
    list-style: none;
    padding: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: left;
}

/* ---------- ROADMAP VERTICAL LIST ---------- */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 720px;
    margin: 0 auto;
}
.roadmap-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-accent);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}
body.dark-mode .roadmap-card { background: var(--bg-secondary); }
.roadmap-card:hover { transform: translateX(4px); }
.roadmap-card-premium { border-left-color: #C9A961; }
.roadmap-card-name {
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- EXPLORE FINAL SECTION ---------- */
.explore-header {
    text-align: center;
    margin-bottom: 4rem;
}
.explore-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.explore-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem 2rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
body.dark-mode .explore-card { background: var(--bg-secondary); }
.explore-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-color, var(--brand-accent));
    opacity: 0;
    transition: opacity 0.25s;
}
.explore-card:hover {
    border-color: var(--card-color, var(--brand-accent));
    transform: translateY(-4px);
}
.explore-card:hover::before { opacity: 1; }
.explore-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--card-icon-bg, rgba(91, 159, 173, 0.12));
    color: var(--card-color, var(--brand-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.explore-card-icon svg { width: 24px; height: 24px; }
.explore-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.6rem;
}
.explore-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}
.explore-card-meta {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    font-weight: 500;
}
.explore-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--card-color, var(--brand-accent));
    font-size: 0.95rem;
    font-weight: 600;
    transition: gap 0.2s;
}
.explore-card:hover .explore-card-cta { gap: 0.7rem; }
.card-indicators { --card-color: var(--brand-accent); --card-icon-bg: rgba(91, 159, 173, 0.12); }
.card-tutorials { --card-color: #FF0000; --card-icon-bg: rgba(255, 0, 0, 0.10); }
.card-manuals { --card-color: #A8A8A8; --card-icon-bg: rgba(168, 168, 168, 0.10); }

.explore-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.explore-secondary-link {
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.explore-secondary-link:hover { border-color: var(--brand-accent); }
.esl-title { font-size: 0.95rem; font-weight: 500; }
.esl-desc { color: var(--text-tertiary); font-size: 0.85rem; }

/* ---------- RESPONSIVE ---------- */

/* Aplanado del dropdown — sincronizado con el breakpoint del menú hamburguesa (768px) */
@media (max-width: 768px) {
    /* Ocultar trigger y aplanar el wrapper del dropdown */
    .nav-dropdown-trigger { display: none; }
    .nav-dropdown {
        display: contents; /* el wrapper desaparece y sus hijos quedan al mismo nivel del nav */
    }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        min-width: 0;
        display: contents; /* idem — los <a> hijos quedan al mismo nivel del nav */
    }

    /* Los <a> del dropdown deben verse EXACTAMENTE como cualquier otro nav a */
    nav .nav-dropdown-menu a {
        display: block !important;
        padding: 1rem 0 !important;
        background: transparent !important;
        font-size: 1.125rem !important;
        font-weight: inherit !important;
        color: inherit !important;
        gap: 0 !important;
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-color) !important;
        text-decoration: none !important;
    }

    /* Ocultar elementos decorativos que solo tienen sentido en el dropdown desktop */
    .nav-dropdown-icon,
    .nav-dropdown-desc { display: none !important; }

    /* El span con el título debe mostrar solo el texto, no como flex con icono */
    .nav-dropdown-text { display: contents; }
    .nav-dropdown-title {
        font-weight: inherit;
        font-size: inherit;
        color: inherit;
        display: inline;
    }
}

/* Layout responsive del Home — sigue activo entre 768px y 900px (tablet/móvil horizontal) */
@media (max-width: 900px) {
    .stats-primary, .stats-secondary, .access-grid, .explore-grid, .explore-secondary {
        grid-template-columns: 1fr;
    }
    .stats-secondary { grid-template-columns: repeat(2, 1fr); }
    .stat-big-number { font-size: 3.5rem; }
    .explore-header h2 { font-size: 1.85rem; }
    .top-banner-content { font-size: 0.78rem; }
    .top-banner-close { right: 0.5rem; }
}

/* ---------- HERO ACTIONS — siempre horizontal, incluso en móvil ---------- */
/* Anula el width:100% que el media query 768px aplica a .btn-primary/.btn-secondary
   y mantiene los 3 botones del hero en una sola fila (con wrap natural si no caben). */
.hero-actions .btn,
.hero-actions .btn-accent,
.hero-actions .btn-primary,
.hero-actions .btn-secondary,
.hero-actions .btn-outline,
.hero-actions .btn-yt {
    width: auto;
    flex: 0 1 auto;
}

@media (max-width: 900px) {
    .hero-actions {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .hero-actions .btn,
    .hero-actions .btn-accent,
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-outline,
    .hero-actions .btn-yt {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    .hero-actions .btn-yt-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn,
    .hero-actions .btn-accent,
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-outline,
    .hero-actions .btn-yt {
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* ===== VARIANTE A — CATALOG GRID (indicators + manuals) ===== */
.indicators-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem;}
@media(max-width:1100px){.indicators-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.indicators-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:460px){.indicators-grid{grid-template-columns:1fr;}}
.cat-card{position:relative;display:flex;flex-direction:column;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:var(--radius,16px);overflow:hidden;text-decoration:none;color:inherit;transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s,border-color .22s;}
.cat-card::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--a,var(--brand-accent));opacity:.9;z-index:2;}
.cat-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--bg-secondary);}
.cat-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;}
.cat-img .ind-card-badge{position:absolute;top:10px;right:10px;z-index:2;}
.cat-body{padding:0.85rem 0.95rem 0.95rem;display:flex;align-items:center;justify-content:space-between;gap:0.5rem;flex:1;}
.cat-name{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:0.95rem;line-height:1.25;}
.cat-go{color:var(--text-secondary);font-size:0.8rem;font-weight:500;white-space:nowrap;transition:color .2s ease;}
.cat-card:hover{transform:translateY(-5px);border-color:var(--a,var(--brand-accent));box-shadow:0 16px 38px -18px var(--a,var(--brand-accent));}
.cat-card:hover .cat-img img{transform:scale(1.06);}
.cat-card:hover .cat-go{color:var(--a,var(--brand-accent));}
/* manuals: stacked body with actions/license */
.cat-card-manual .cat-body{flex-direction:column;align-items:stretch;gap:0.7rem;}
.cat-card-manual .ind-card-actions{display:flex;gap:0.5rem;flex-wrap:wrap;margin:0;}
.cat-card-manual .ind-card-actions .btn-secondary{flex:1 1 0;justify-content:center;font-size:0.78rem;padding:0.5rem 0.5rem;}
.cat-card-manual .manual-premium-license{margin:0;display:flex;align-items:flex-start;gap:0.45rem;font-size:0.78rem;color:var(--text-secondary);}
.cat-card-manual .manual-premium-license svg{flex:0 0 auto;width:15px;height:15px;margin-top:1px;}
/* ===== /VARIANTE A ===== */

/* ============================================================
   REDISEÑO 22 — FASE 1 · Sistema visual base (decisión "00")
   Esquinas redondeadas · atmósfera · botón gradiente teal
   Badges: New = coral · Free = verde neón · Premium = oro
   (bloque al final → gana por orden de cascada, sin tocar 5 sitios)
   ============================================================ */
:root{
  --c-new:#FF8A66;        /* coral — New */
  --c-free:#2BE08A;       /* verde neón — Free */
  --c-premium:#E6B800;    /* oro — Premium */
  --radius:16px;          /* esquinas redondeadas */
  --radius-sm:10px;
  --radius-pill:999px;
  --grad-accent:linear-gradient(100deg, var(--brand-accent), #3C8A9A);
  /* atmósfera reutilizable */
  --atm-glow:radial-gradient(600px 300px at 80% -20%, rgba(91,159,173,.12), transparent 60%);
}

/* ---- BADGES unificados (un color por estado) ---- */
.indicator-badge-free, .ind-card-badge-free, .pricing-card-badge-free,
.feed-card-badge-free, .access-badge-free{
  background:rgba(43,224,138,.14); color:#138A55;
  border:1px solid rgba(43,224,138,.5);
}
body.dark-mode .indicator-badge-free, body.dark-mode .ind-card-badge-free,
body.dark-mode .pricing-card-badge-free, body.dark-mode .feed-card-badge-free,
body.dark-mode .access-badge-free{
  background:rgba(43,224,138,.16); color:#4FE3A0; border-color:rgba(43,224,138,.45);
}

.indicator-badge-premium, .ind-card-badge-premium, .pricing-card-badge-premium,
.feed-card-badge-premium, .access-badge-premium{
  background:rgba(230,184,0,.15); color:#8A6D00;
  border:1px solid rgba(230,184,0,.5);
}
body.dark-mode .indicator-badge-premium, body.dark-mode .ind-card-badge-premium,
body.dark-mode .pricing-card-badge-premium, body.dark-mode .feed-card-badge-premium,
body.dark-mode .access-badge-premium{
  background:rgba(230,184,0,.15); color:#E6B800; border-color:rgba(230,184,0,.45);
}

/* New badge → coral (mantiene el pulso) */
.badge-new{
  background:rgba(255,138,102,.16); color:#D9622F;
  border:1px solid rgba(255,138,102,.5);
}
body.dark-mode .badge-new{ color:#FF8A66; }
@keyframes badgePulse{
  0%,100%{ transform:scale(1); box-shadow:0 2px 8px rgba(255,138,102,.4); }
  50%{ transform:scale(1.08); box-shadow:0 2px 14px rgba(255,138,102,.6); }
}

/* ---- Botón primario de acento → gradiente teal con relieve ---- */
.btn-accent{
  background-image:var(--grad-accent);
  border-color:transparent;
  border-radius:var(--radius-sm);
}
.btn-accent:hover{
  background-image:linear-gradient(100deg, #66AEBD, #438E9E);
  border-color:transparent;
}

/* ============================================================
   REDISEÑO 22 — FASE 2 · Header "B Pro" (global, todas las páginas)
   Cinta teal→gold + glass al compactar + barra de progreso + subrayado activo
   Solo CSS + variable --scrollp (la setea js/main.js); no toca el HTML
   ============================================================ */
#header{
  background-color: color-mix(in srgb, var(--bg-primary) 55%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background-color .26s ease, box-shadow .26s ease, border-color .26s ease, backdrop-filter .26s ease;
  --scrollp:0%;
}
/* cinta teal→gold permanente arriba */
#header::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--brand-accent), var(--c-premium));
  z-index:2; pointer-events:none;
}
/* barra de progreso de lectura (aparece al hacer scroll) */
#header::after{
  content:''; position:absolute; bottom:0; left:0; height:2px; width:var(--scrollp,0%);
  background:linear-gradient(90deg, var(--brand-accent), #7BC4D4);
  box-shadow:0 0 8px var(--brand-accent);
  opacity:0; transition:opacity .3s ease; z-index:2; pointer-events:none;
}
#header.scrolled{
  background-color: color-mix(in srgb, var(--bg-primary) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom:1px solid rgba(91,159,173,.28);
  box-shadow:0 16px 40px -26px rgba(0,0,0,.5);
}
#header.scrolled::after{ opacity:1; }
.header-content{ position:relative; transition:height .26s ease; }
#header.scrolled .header-content{ height:62px; }
/* subrayado teal en la sección/página activa */
nav a.active{ position:relative; color:var(--text-primary); font-weight:600; }
nav a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-7px; height:2px;
  background:var(--brand-accent); border-radius:2px;
}

/* ============================================================
   REDISEÑO 22 — FASE 3 · Hero V1 (split + panel dashboard)
   Solo afecta a #hero (home). Light + dark.
   ============================================================ */
#hero{ padding:6rem 0 5rem; text-align:center; position:relative; overflow:hidden; }
/* atmósfera de fondo (retícula + glow), enmascarada hacia el panel */
#hero::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size:46px 46px; opacity:.35;
  -webkit-mask-image:radial-gradient(760px 420px at 50% 28%, #000, transparent 75%);
  mask-image:radial-gradient(760px 420px at 50% 28%, #000, transparent 75%);
}
body.dark-mode #hero::before{ opacity:.5; }
#hero .container{ position:relative; z-index:1; }
#hero .hero-grid{ display:block; max-width:820px; margin:0 auto; }
#hero .hero-copy{ min-width:0; }
#hero .hero-eyebrow{ color:var(--brand-accent); font-weight:600; }
#hero h1{ font-size:3.4rem; line-height:1.04; letter-spacing:-.025em; margin:0; }
#hero h1 .hero-accent{
  background:linear-gradient(100deg, #7BC4D4, var(--brand-accent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
#hero .hero-subheadline{ text-align:center; margin:1.25rem auto 1.9rem; max-width:540px; }
#hero .hero-actions{ justify-content:center; margin-top:0; flex-wrap:wrap; }
#hero .hero-secondary{ justify-content:center; flex-wrap:wrap; }
/* mini-stats compactas (la banda grande va más abajo, no duplicar) */
#hero .hero-mini-stats{ display:flex; justify-content:center; gap:2.75rem; margin-top:2.25rem; padding-top:1.5rem; border-top:1px solid var(--border-color); }
#hero .hero-mini-stat b{ font-family:var(--font-heading); font-size:1.6rem; font-weight:700; display:block; line-height:1; color:var(--text-primary); font-variant-numeric:tabular-nums; }
#hero .hero-mini-stat span{ color:var(--text-tertiary); font-size:.8rem; margin-top:.35rem; display:block; }

/* ---- Panel dashboard reutilizable (vive en methodology.html) ---- */
.hero-panel{
  position:relative; padding:1.15rem;
  background:linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
  border:1px solid var(--border-color); border-radius:var(--radius);
  box-shadow:0 40px 80px -42px rgba(0,0,0,.55), 0 0 0 1px rgba(91,159,173,.06);
}
.hero-panel-float{
  position:absolute; right:-12px; top:-12px;
  background:linear-gradient(180deg,#F4CE2E,var(--c-premium)); color:#1a1500;
  font-family:var(--font-heading); font-weight:700; font-size:.66rem; letter-spacing:.06em;
  padding:.35rem .7rem; border-radius:var(--radius-pill); box-shadow:0 8px 24px -8px var(--c-premium);
}
.hero-panel-head{ margin-bottom:.7rem; }
.hero-panel-ind{ display:block; font-family:var(--font-heading); font-weight:700; font-size:.95rem; color:var(--text-primary); letter-spacing:.01em; }
.hero-panel-sub{ display:block; font-size:.68rem; color:var(--text-secondary); letter-spacing:.04em; text-transform:uppercase; margin-top:.15rem; }
.hero-panel-bar{ height:8px; width:62%; border-radius:6px; margin-bottom:.9rem; background:linear-gradient(90deg, var(--brand-accent), var(--c-premium)); }
.hero-panel-row{ display:flex; justify-content:space-between; align-items:center; padding:.65rem .8rem; border:1px solid var(--border-color); border-radius:var(--radius-sm); margin-bottom:.5rem; background:color-mix(in srgb, var(--text-primary) 3%, transparent); }
.hero-panel-row b{ font-family:var(--font-heading); font-size:.85rem; font-weight:600; color:var(--text-primary); }
.hero-panel-pill{ font-size:.68rem; font-weight:700; padding:.2rem .6rem; border-radius:var(--radius-pill); letter-spacing:.03em; }
.hero-panel-pill.up{ background:rgba(91,159,173,.18); color:var(--brand-accent); }
.hero-panel-pill.dn{ background:rgba(230,184,0,.16); color:#B58E00; }
body.dark-mode .hero-panel-pill.up{ color:#7BC4D4; }
body.dark-mode .hero-panel-pill.dn{ color:#f0cf52; }
.hero-panel-spark{
  height:46px; border-radius:8px; margin-top:.5rem; border:1px solid var(--border-color);
  background:
    radial-gradient(120px 40px at 20% 80%, rgba(91,159,173,.28), transparent),
    linear-gradient(90deg, transparent, rgba(123,196,212,.14), transparent);
}
/* Sección "Cómo leer un dashboard" (methodology) */
.dashread-grid{ display:grid; grid-template-columns:1fr .9fr; gap:3rem; align-items:center; max-width:920px; margin:0 auto; }
.dashread-copy{ display:flex; flex-direction:column; gap:1.4rem; }
.dashread-point{ padding-left:1rem; border-left:2px solid var(--brand-accent); }
.dashread-point b{ display:block; font-family:var(--font-heading); font-size:1.02rem; font-weight:700; color:var(--text-primary); margin-bottom:.3rem; }
.dashread-point span{ display:block; color:var(--text-secondary); font-size:.92rem; line-height:1.55; }
@media (max-width:820px){
  .dashread-grid{ grid-template-columns:1fr; gap:2.25rem; max-width:480px; }
}

@media (max-width:900px){
  #hero{ padding:4.5rem 0 3.5rem; }
  #hero h1{ font-size:2.5rem; }
}

/* ============================================================
   REDISEÑO 22 — FASE 4 · Secciones index (mockup "07")
   Stats band con atmósfera · FAQ foco teal · Trust band
   ============================================================ */

/* ---- Stats "By the numbers" → banda con atmósfera ---- */
#stats{
  position:relative; overflow:hidden;
  background-image:radial-gradient(760px 320px at 50% -12%, rgba(91,159,173,.14), transparent 62%);
}
#stats::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size:44px 44px; opacity:.22;
  -webkit-mask-image:radial-gradient(circle at 50% 0, #000, transparent 72%);
  mask-image:radial-gradient(circle at 50% 0, #000, transparent 72%);
}
body.dark-mode #stats::before{ opacity:.32; }
#stats .container{ position:relative; z-index:1; }
#stats .stat-big-number,
#stats .stat-small-number{ color:var(--brand-accent); }
body.dark-mode #stats .stat-big-number,
body.dark-mode #stats .stat-small-number{ color:#7BC4D4; }

/* ---- FAQ → refuerzo de foco teal (anillo al abrir) ---- */
.faq-item{ border-radius:var(--radius-sm); transition:box-shadow .2s ease, border-color .2s ease; }
.faq-item[open]{ box-shadow:0 0 0 1px var(--brand-accent); }

/* ---- Trust band ---- */
.trust-band{
  margin:0 auto; display:flex; align-items:center; justify-content:center;
  gap:2.5rem; flex-wrap:wrap; padding:1.75rem 2rem; border-radius:var(--radius);
  background:var(--bg-secondary); box-shadow:0 0 0 1px var(--border-color);
}
.trust-band .trust-item{
  display:flex; align-items:center; gap:.7rem;
  color:var(--text-secondary); font-weight:600; font-size:.85rem; letter-spacing:.02em;
}
.trust-band .trust-item svg{ color:var(--brand-accent); flex:none; width:18px; height:18px; }
@media (max-width:720px){
  .trust-band{ gap:1.25rem 2rem; padding:1.5rem; }
  .trust-band .trust-item{ font-size:.8rem; }
}

/* ============================================================
   REDISEÑO 22 — FASE 5 · Pricing · CTA band · Footer ampliado (mockup "03")
   ============================================================ */

/* ---- Pricing Free vs Premium → diferenciación teal vs oro ---- */
.access-card{
  border-radius:var(--radius);
  transition:transform .24s var(--ease, ease), box-shadow .24s var(--ease, ease), border-color .24s ease;
}
.access-card:hover{
  transform:translateY(-5px);
  border-color:var(--brand-accent);
  box-shadow:0 22px 50px -20px rgba(0,0,0,.45), 0 0 36px -16px rgba(91,159,173,.5);
}
/* premium → oro de marca (#E6B800) en vez del C9A961 legacy */
.access-card-premium{ border-color:rgba(230,184,0,.45); }
.access-card-premium::before{ background:linear-gradient(90deg, #F4CE2E, var(--c-premium)); }
body.dark-mode .access-card-premium{ background:linear-gradient(180deg, rgba(230,184,0,.05), var(--bg-secondary)); }
.access-card-premium:hover{
  border-color:var(--c-premium);
  box-shadow:0 22px 50px -20px rgba(0,0,0,.5), 0 0 40px -16px rgba(230,184,0,.45);
}
.access-card-premium .access-features li svg{ color:var(--c-premium); }
.access-badge-premium{ background:rgba(230,184,0,.16); color:#8A6D00; }
body.dark-mode .access-badge-premium{ color:var(--c-premium); }

/* ---- CTA band de cierre (atmósfera glow + retícula técnica) ---- */
.cta-band{
  position:relative; overflow:hidden; border-radius:var(--radius);
  padding:3.5rem 2.5rem; text-align:center;
  background:radial-gradient(720px 320px at 50% -40%, rgba(91,159,173,.22), transparent 60%), var(--bg-secondary);
  box-shadow:0 0 0 1px var(--border-color);
}
.cta-band::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size:48px 48px; opacity:.18;
  -webkit-mask-image:radial-gradient(circle at 50% 0, #000, transparent 75%);
  mask-image:radial-gradient(circle at 50% 0, #000, transparent 75%);
}
body.dark-mode .cta-band::before{ opacity:.28; }
.cta-band h2{ position:relative; font-size:2.3rem; margin:0; }
.cta-band p{ position:relative; color:var(--text-secondary); margin:.85rem auto 0; max-width:52ch; }
.cta-band .cta-band-row{ position:relative; display:flex; gap:.85rem; justify-content:center; margin-top:1.75rem; flex-wrap:wrap; }

/* ---- Footer ampliado ---- */
.footer-expanded{ border-top:1px solid var(--border-color); background:var(--bg-secondary); padding:3.5rem 0 1.75rem; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2.5rem; }
.footer-brand .footer-logo{ display:flex; align-items:center; gap:.65rem; margin:0; justify-content:flex-start; }
.footer-brand .footer-logo .logo-mark{ height:34px; width:auto; color:var(--text-primary); }
.footer-brand p{ color:var(--text-tertiary); font-size:.85rem; margin-top:.9rem; max-width:34ch; line-height:1.6; }
.footer-social{ display:flex; gap:.6rem; margin-top:1.1rem; }
.footer-social a{ width:36px; height:36px; border-radius:var(--radius-pill); border:1px solid var(--border-color); display:flex; align-items:center; justify-content:center; color:var(--text-secondary); transition:all .2s var(--ease, ease); }
.footer-social a:hover{ transform:translateY(-2px); }
/* Hover al color de marca de cada red (igual que en la página de contacto), no al teal genérico */
.footer-social a[href*="tradingview"]:hover{ background:#2962FF; border-color:#2962FF; color:#fff; }
.footer-social a[href*="tradingview"]:hover img.social-icon{ filter:brightness(0) invert(1); }
.footer-social a[href*="youtube"]:hover{ background:#FF0000; border-color:#FF0000; color:#fff; }
.footer-social a[href*="x.com"]:hover{ background:#000; border-color:#000; color:#fff; }
body.dark-mode .footer-social a[href*="x.com"]:hover{ background:#fff; border-color:#fff; color:#000; }
.footer-social a[href*="instagram"]:hover{ background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4); border-color:transparent; color:#fff; }
.footer-social a[href*="facebook"]:hover{ background:#1877F2; border-color:#1877F2; color:#fff; }
.footer-social a img.social-icon{ width:16px; height:16px; transition:filter .2s ease; }
.footer-col h4{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-tertiary); margin-bottom:.9rem; }
.footer-col a{ display:block; color:var(--text-secondary); text-decoration:none; font-size:.88rem; margin-bottom:.6rem; transition:color .2s ease; }
.footer-col a:hover{ color:var(--brand-accent); }
.footer-bottom{ margin-top:2.5rem; padding-top:1.4rem; border-top:1px solid var(--border-color); display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; color:var(--text-tertiary); font-size:.78rem; }
@media (max-width:820px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:1.75rem; }
  .footer-brand{ grid-column:1 / -1; }
  .cta-band h2{ font-size:1.8rem; }
}

/* ============================================================
   REDISEÑO 22 — FASE 6 · Catálogo indicators.html (grid fusión B+C)
   Featured (último publicado) + grupos por familia + cards 02-B doble color
   --fam = color de familia (franja) · --uniq = color único del indicador
   ============================================================ */

/* ---- Featured (último publicado) ---- */
.cat-featured{
  position:relative; overflow:hidden; border-radius:var(--radius); margin-bottom:2.5rem;
  padding:2.25rem 2.25rem; display:grid; grid-template-columns:1.1fr .9fr; gap:1.75rem; align-items:center;
  background:radial-gradient(560px 260px at 80% -30%, rgba(255,138,102,.16), transparent 60%), var(--bg-secondary);
  box-shadow:0 0 0 1px var(--border-color);
}
.cat-featured::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(var(--border-color) 1px,transparent 1px),linear-gradient(90deg,var(--border-color) 1px,transparent 1px);
  background-size:40px 40px; opacity:.16;
  -webkit-mask-image:radial-gradient(circle at 80% 0,#000,transparent 70%);
  mask-image:radial-gradient(circle at 80% 0,#000,transparent 70%);
}
.cat-featured, .cat-featured *{ text-decoration:none; }
.cat-featured{ color:var(--text-primary); }
.cat-featured > *{ position:relative; z-index:1; }
.cat-featured-tag{ font-family:var(--font-heading); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:#FF8A66; font-weight:600; }
.cat-featured h3{ font-size:1.7rem; margin:.4rem 0 0; }
.cat-featured-fam{ font-size:.8rem; color:var(--c-premium); font-weight:600; margin-top:.2rem; display:block; }
.cat-featured p{ color:var(--text-secondary); font-size:.92rem; margin-top:.7rem; max-width:46ch; }
.cat-featured-btns{ display:flex; gap:.7rem; margin-top:1.25rem; flex-wrap:wrap; }
.cat-featured-vis{
  position:relative;
  height:170px; border-radius:var(--radius-sm); border:1px solid var(--border-color);
  background:linear-gradient(180deg, rgba(255,138,102,.07), transparent); display:flex; align-items:flex-end; overflow:hidden;
}
.cat-featured-vis svg{ width:100%; height:100%; }
.cat-featured-vis img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---- Cabecera de familia ---- */
.cat-famhead{ display:flex; align-items:center; gap:.8rem; margin:2.25rem 0 1.1rem; }
.cat-famhead .cat-famico{
  width:38px; height:38px; border-radius:10px; display:grid; place-items:center; flex:none;
  background:color-mix(in srgb, var(--fam) 16%, transparent);
  border:1px solid color-mix(in srgb, var(--fam) 40%, transparent); color:var(--fam);
}
.cat-famhead h2{ font-size:1.15rem; margin:0; }
.cat-famhead .cat-famcnt{ font-family:var(--font-heading); font-size:.8rem; color:var(--fam); font-weight:600; }
.cat-famhead .cat-famline{ flex:1; height:1px; background:linear-gradient(90deg, color-mix(in srgb, var(--fam) 50%, transparent), transparent); }

/* ---- Card compacta 02-B (doble color) ---- */
.cat-fam-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.ind02{
  position:relative; display:block; border-radius:var(--radius); overflow:hidden; padding:1.1rem 1.15rem 1rem;
  background:radial-gradient(320px 150px at 88% -25%, color-mix(in srgb, var(--uniq) 12%, transparent), transparent 60%), var(--bg-primary);
  box-shadow:0 0 0 1px var(--border-color); text-decoration:none; color:var(--text-primary);
  transition:transform .22s var(--ease, ease), box-shadow .22s var(--ease, ease);
}
body.dark-mode .ind02{ background:radial-gradient(320px 150px at 88% -25%, color-mix(in srgb, var(--uniq) 16%, transparent), transparent 60%), var(--bg-secondary); }
.ind02::before{ content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--fam); }
.ind02:hover{ transform:translateY(-4px); box-shadow:0 20px 44px -24px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--uniq) 55%, transparent), 0 0 30px -14px var(--uniq); }
/* cover (portada del indicador) */
.ind02-cover{ position:relative; display:block; aspect-ratio:16/10; border-radius:var(--radius-sm); overflow:hidden; background:var(--bg-secondary); margin-bottom:.8rem; }
.ind02-cover img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.ind02:hover .ind02-cover img{ transform:scale(1.05); }
.ind02-cover .ind-card-badge{ position:absolute; top:8px; right:8px; z-index:2; }
.ind02-fam{ font-family:var(--font-heading); font-size:.7rem; letter-spacing:.04em; font-weight:600; }
.ind02-name{ display:flex; align-items:center; gap:.5rem; font-family:var(--font-heading); font-weight:600; font-size:1rem; margin-top:.15rem; }
.ind02-dot{ width:8px; height:8px; border-radius:50%; flex:none; background:var(--uniq); box-shadow:0 0 8px var(--uniq); }
.ind02 .badges{ display:flex; gap:.4rem; margin-top:.6rem; }
.ind02-spark{ height:34px; margin-top:.7rem; display:block; opacity:.9; }
.ind02-spark svg{ width:100%; height:100%; }
.ind02-go{ display:inline-block; margin-top:.7rem; font-family:var(--font-heading); font-weight:600; font-size:.78rem; color:var(--text-secondary); transition:color .2s ease; }
.ind02:hover .ind02-go{ color:var(--uniq); }

/* badges compactos del catálogo (reutilizan colores madre) */
.ind02 .ind-card-badge{ font-size:.62rem; padding:.18rem .5rem; border-radius:var(--radius-pill); font-weight:700; letter-spacing:.06em; }

@media (max-width:920px){
  .cat-fam-grid{ grid-template-columns:1fr 1fr; }
  .cat-featured{ grid-template-columns:1fr; }
  .cat-featured-vis{ height:130px; }
}
@media (max-width:560px){
  .cat-fam-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   REDISEÑO 22 — FASE 7 · Methodology V1
   3 pilares (franja teal + número) · 6 familias con color y glow
   ============================================================ */

/* ---- Pilares ---- */
.approach-cards{ grid-template-columns:repeat(3,1fr); counter-reset:pillar; }
.approach-card{ position:relative; border-radius:var(--radius); overflow:hidden; padding-top:1.75rem; }
.approach-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--brand-accent), #7BC4D4);
}
.approach-card::after{
  counter-increment:pillar; content:'0' counter(pillar);
  position:absolute; top:.85rem; right:1.1rem; font-family:var(--font-heading); font-weight:700;
  font-size:1.7rem; line-height:1; color:color-mix(in srgb, var(--brand-accent) 24%, transparent);
}
.approach-card:hover{ box-shadow:0 18px 44px -22px var(--shadow-color); }
@media (max-width:820px){ .approach-cards{ grid-template-columns:1fr; } }

/* ---- Familias: 3 columnas + color por familia ---- */
.families-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1100px; }
.family-card{ position:relative; border-radius:var(--radius); overflow:hidden; --c:var(--brand-accent); }
.family-card::after{
  content:''; position:absolute; left:-30%; right:-30%; bottom:-60%; height:80%;
  background:radial-gradient(50% 100% at 50% 100%, var(--c), transparent 70%);
  opacity:.14; transition:opacity .3s ease; pointer-events:none;
}
.family-card:hover::after{ opacity:.32; }
.family-card:nth-of-type(1){ --c:#5B9FAD; } /* Trend */
.family-card:nth-of-type(2){ --c:#9B7BD4; } /* Momentum */
.family-card:nth-of-type(3){ --c:#E6B800; } /* Structure */
.family-card:nth-of-type(4){ --c:#FF8A66; } /* Volume */
.family-card:nth-of-type(5){ --c:#3B82C9; } /* Volatility */
.family-card:nth-of-type(6){ --c:#2BB5A0; } /* Sentiment */
.family-card-icon{
  background:color-mix(in srgb, var(--c) 14%, transparent) !important;
  border:1px solid color-mix(in srgb, var(--c) 38%, transparent);
  color:var(--c); border-radius:11px;
}
.family-card-title,
.family-list,
.family-card-icon{ position:relative; z-index:1; }
.family-card:hover{ border-color:var(--c); }
.family-list a:hover{ color:var(--c); }
.family-card-title::after{
  content:''; display:block; width:26px; height:2px; margin-top:.55rem;
  background:var(--c); border-radius:2px; opacity:.8;
}
@media (max-width:920px){ .families-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .families-grid{ grid-template-columns:1fr; } }


/* ============================================================
   Badge NEW en feed-cards (Visual Guides) — coral, junto al badge FREE/PREMIUM
   ============================================================ */
.feed-card-badges{ display:flex; align-items:center; gap:.4rem; }
.feed-card-badge-new{
  background:rgba(255,138,102,.16); color:#D9622F;
  border:1px solid rgba(255,138,102,.5);
  text-transform:uppercase;
}
body.dark-mode .feed-card-badge-new{ color:#FF8A66; border-color:rgba(255,138,102,.45); }

/* ============================================================
   Filtro free/premium del catálogo de indicadores (indicators.html)
   Clase propia (NO .cat-chip) para no colisionar con el filtro de categorías del home
   ============================================================ */
.ind-typefilter{ display:flex; justify-content:center; gap:.5rem; flex-wrap:wrap; margin:.25rem 0 2rem; }
.tfilter-chip{
  font-size:.78rem; padding:.45rem 1.15rem; border:1px solid var(--border-color);
  background:var(--bg-primary); color:var(--text-tertiary); cursor:pointer;
  border-radius:99px; font-family:'Inter',sans-serif; font-weight:500;
  transition:all .2s ease;
}
.tfilter-chip:hover{ color:var(--text-primary); border-color:var(--text-primary); }
.tfilter-chip.active{ background:var(--brand-accent); color:#fff; border-color:var(--brand-accent); }
