
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-success: #059669;
    --color-warning: #d97706;
    --color-danger: #dc2626;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(30, 41, 59, 0.07), 0 2px 4px -2px rgba(30, 41, 59, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(30, 41, 59, 0.08), 0 4px 6px -4px rgba(30, 41, 59, 0.05);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
}

.navbar .navbar-item.nav-current {
    color: var(--color-primary);
    font-weight: 600;
    background-color: var(--color-primary-light);
}

.navbar .navbar-link.nav-current {
    color: var(--color-primary);
    font-weight: 600;
    background-color: var(--color-primary-light);
}

.navbar .navbar-item.nav-current:hover {
    color: var(--color-primary-dark);
    background-color: #bfdbfe;
}

.navbar-item {
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-item:hover {
    background-color: var(--color-bg);
}

.hero {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--color-border);
}

.card {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    background: var(--color-surface);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.quick-fact-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.85rem;
}

.home-content {
    max-width: 980px;
}

/* Hero Content Styles */
.hero-content {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-primary);
    letter-spacing: -0.01em;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.content-section p {
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.content-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Features Grid */
.features-section {
    margin-bottom: 3rem;
}

.features-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.01em;
}

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

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-card.primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
}

.feature-card.primary h3 {
    color: white;
}

.feature-card.primary p {
    color: rgba(255, 255, 255, 0.85);
}

.feature-card.primary .feature-link {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.feature-card.primary .feature-icon {
    background: rgba(255, 255, 255, 0.15);
}

.feature-card.primary .feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.feature-link:hover {
    gap: 0.6rem;
}

/* Guides Section */
.guides-section {
    margin-bottom: 3rem;
}

.guides-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.guides-list {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}

.guides-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guides-list li {
    margin-bottom: 0.75rem;
}

.guides-list li:last-child {
    margin-bottom: 0;
}

.guides-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: 10px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid var(--color-primary);
}

.guides-list li a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    transform: translateX(4px);
}

.guide-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Highlight Section */
.highlight-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 20% 50%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 80% 60% at 80% 50%, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.highlight-section > * {
    position: relative;
    z-index: 1;
}

.highlight-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fbbf24;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.highlight-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.faq-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.faq-section p {
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid var(--color-border);
}

.cta-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button.primary {
    background: var(--color-primary);
    color: white;
}

.cta-button.primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.cta-button.secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-button.secondary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    color: var(--color-primary);
}

.cta-button svg {
    width: 16px;
    height: 16px;
}

/* Original styles kept */
.home-content .info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-content .info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
}

.home-content .info-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.home-content .info-card a {
    color: #1d4ed8;
    font-weight: 600;
}

.home-content .info-card a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.home-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.home-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.home-content p {
    line-height: 1.7;
    color: #374151;
}

.home-content ul {
    padding-left: 1.5rem;
}

.home-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.home-content ul li a {
    color: #1d4ed8;
    font-weight: 500;
}

.home-content ul li a:hover {
    color: #1e40af;
    text-decoration: underline;
}

#faqs {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

#faqs h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

#faqs h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

#faqs p {
    color: #4b5563;
    line-height: 1.7;
}

.quick-facts-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.page-section {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
}

.info-page {
    max-width: 860px;
    margin: 0 auto;
}

.info-page .page-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
}

.related-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.breadcrumb {
    margin-bottom: 1rem;
}

.info-page .breadcrumb ul {
    flex-wrap: wrap;
}

.info-page .breadcrumb li {
    max-width: 100%;
}

.info-page .breadcrumb li a {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ct-series-a .ct-line {
    stroke: rgb(66, 88, 255);
}
.ct-series-a .ct-point {
    stroke: rgb(66, 88, 255);
}

figure.image {
    margin-bottom: 16px;
}

/* ========================================
   NEW HERO AND IMPROVED LAYOUT
   ======================================== */

/* Hero Section */
.hero-new {
    background: linear-gradient(160deg, #1e293b 0%, #334155 100%);
    padding: 4rem 1rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.hero-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-new-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-new-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-date svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.date-text {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Chart Section */
.chart-section {
    margin-top: -2.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.chart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.chart-card {
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.chart-header {
    background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-title svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.chart-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.chart-body {
    padding: 2rem;
}

/* Quick Facts Panel */
.quick-facts-panel {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    height: fit-content;
}

.quick-facts-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.quick-fact-box {
    background: var(--color-bg);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-fact-box:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.quick-fact-box.cheap {
    border-left-color: var(--color-success);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.quick-fact-box.expensive {
    border-left-color: var(--color-danger);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.quick-fact-box.average {
    border-left-color: var(--color-primary);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.quick-fact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.quick-fact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-fact-icon svg {
    width: 20px;
    height: 20px;
}

.cheap .quick-fact-icon svg { color: var(--color-success); }
.expensive .quick-fact-icon svg { color: var(--color-danger); }
.average .quick-fact-icon svg { color: var(--color-primary); }

.quick-fact-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quick-fact-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.quick-fact-hint {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.quick-facts-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.quick-facts-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.quick-facts-cta svg {
    width: 16px;
    height: 16px;
}

/* Contenido Principal */
.content-section-main {
    padding: 3rem 1rem;
}

/* Responsive para el nuevo layout */
@media(max-width: 1024px) {
    .chart-layout {
        grid-template-columns: 1fr;
    }
    
    .chart-sidebar {
        order: -1;
    }
    
    .quick-facts-panel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .quick-facts-title {
        grid-column: 1 / -1;
    }
    
    .quick-facts-cta {
        grid-column: 1 / -1;
    }
}

@media(max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-facts-panel {
        grid-template-columns: 1fr;
    }
    
    .quick-fact-box {
        margin-bottom: 0.5rem;
    }
}

/* ========================================
   RESPONSIVE STYLES ORIGINALES
   ======================================== */

@media(max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .home-content .info-grid {
        grid-template-columns: 1fr;
    }

    .franja {
        font-size: 10px;
    }

    .ct-label {
        font-size: 0.5rem;
    }
    
    .page-section {
        padding-top: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: 4.5rem;
    }

    .info-page .page-card {
        padding: 0.75rem;
    }

    .breadcrumb {
        margin-bottom: 0.75rem;
        font-size: 0.875rem;
    }
}

@media(max-width: 450px) {
    .quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .home-content .info-grid {
        grid-template-columns: 1fr;
    }

    .franja {
        font-size: 10px;
    }

    .ct-label {
        font-size: 0.5rem;
    }
}

/* Prices Bar */
.prices-bar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(30, 41, 59, 0.06);
}

.prices-bar-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 1.25rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.75rem;
}

.prices-bar-label {
    font-weight: 600;
    color: var(--color-text);
}

.prices-bar-legend {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-color.cheap { background: var(--color-success); }
.legend-color.normal { background: var(--color-warning); }
.legend-color.expensive { background: var(--color-danger); }

/* ========================================
   TIME SLOTS BAR
   ======================================== */

.prices-bar-minimal {
    display: flex !important;
    height: 34px;
    min-height: 34px !important;
    max-height: 34px;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.prices-bar-minimal .franja {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-width: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.prices-bar-minimal .franja:last-child {
    border-right: none;
}

.prices-bar-minimal .franja:hover {
    flex: 1.5;
    font-size: 0.75rem;
    z-index: 10;
}

.prices-bar-minimal .franja.has-background-success {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
}

.prices-bar-minimal .franja.has-background-warning {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%) !important;
}

.prices-bar-minimal .franja.has-background-danger {
    background: linear-gradient(180deg, #f87171 0%, #dc2626 100%) !important;
}

/* Tooltip for time slot */
.prices-bar-minimal .franja::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--color-text);
    color: white;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15);
    z-index: 1001;
}

.prices-bar-minimal .franja:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* Override Bulma styles */
.prices-bar-minimal.navbar.is-fixed-bottom {
    min-height: 34px !important;
    padding: 0 !important;
}

/* Mobile styles */
@media(max-width: 768px) {
    .prices-bar-wrapper {
        border-top: none;
    }

    .prices-bar-info {
        display: none;
    }

    .prices-bar-minimal,
    .prices-bar-minimal.navbar.is-fixed-bottom {
        height: 22px !important;
        min-height: 22px !important;
        max-height: 22px !important;
        padding: 0 !important;
    }

    .prices-bar-minimal .franja {
        font-size: 0;
        min-width: auto;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .prices-bar-minimal .franja:hover {
        font-size: 0;
        flex: 1;
    }

    .prices-bar-minimal .franja::after {
        font-size: 0.65rem;
        padding: 0.25rem 0.4rem;
        bottom: 130%;
    }
}

@media(max-width: 450px) {
    .prices-bar-info {
        display: none;
    }

    .prices-bar-minimal,
    .prices-bar-minimal.navbar.is-fixed-bottom {
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
    }

    .prices-bar-minimal .franja {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   ARTICLE STYLES
   ======================================== */

/* Article Hero */
.article-hero {
    background: linear-gradient(160deg, #1e293b 0%, #334155 100%);
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.article-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.article-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumb in hero */
.article-breadcrumb {
    margin-bottom: 1.5rem;
}

.article-breadcrumb ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-breadcrumb li {
    display: flex;
    align-items: center;
}

.article-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-breadcrumb .is-active span {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Article title */
.article-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.article-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Article Section */
.article-section {
    padding: 3rem 1rem;
    background: var(--color-bg);
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* Article Card */
.article-card {
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.article-content {
    padding: 2.5rem;
}

/* Article content styles */
.article-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.article-content h2 {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-primary);
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-content a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-bottom-color: var(--color-primary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.article-content th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-text);
}

.article-content tr:hover {
    background: var(--color-bg);
}

/* Related Links */
.article-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.article-related h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.article-related ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.article-related li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg);
    border-radius: 10px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid var(--color-primary);
}

.article-related li a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    transform: translateX(4px);
}

.article-related li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 0.25rem;
}

.sidebar-widget li a {
    display: block;
    padding: 0.6rem 0;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
}

.sidebar-widget li a:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background: var(--color-bg);
    border-radius: 0 6px 6px 0;
}

.sidebar-widget.highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.sidebar-widget.highlight h3 {
    border-bottom-color: #bfdbfe;
    color: var(--color-primary-dark);
}

.sidebar-widget.highlight p {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: var(--color-primary);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.sidebar-cta svg {
    width: 16px;
    height: 16px;
}

/* Responsive para artículos */
@media(max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media(max-width: 768px) {
    .article-hero {
        padding: 2rem 1rem 2.5rem;
    }

    .article-hero-title {
        font-size: 1.75rem;
    }

    .article-hero-subtitle {
        font-size: 1rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.375rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-related ul {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 450px) {
    .article-content {
        padding: 1.25rem;
    }

    .article-content p {
        font-size: 1rem;
    }
}
