/* ==========================================================================
   ESTRUCTURA PRINCIPAL DEL CONTENIDO (Páginas Legales / Blog)
   ========================================================================== */
#main-content {
    position: relative; 
    width: 100%; 
    min-height: 100vh;
    padding-top: calc(var(--header-height, 68px) + 4rem);
    padding-bottom: 4rem;
    background-color: var(--bg-solid-bar, #060b51);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
}

#main-content .container-max {
    max-width: 1200px; 
    width: 100%; 
    margin: 0 auto; 
    padding: 0 20px; 
    box-sizing: border-box;
}

/* ==========================================================================
   TIPOGRAFÍA GLOBAL (DENTRO DEL MAIN)
   ========================================================================== */
#main-content p { 
    color: var(--text-muted, #e2e8f0); 
    margin-bottom: 1.5rem; 
    line-height: 1.8; 
    font-size: 1.1rem; 
}

#main-content p strong { 
    color: var(--text-main, #ffffff); 
    font-weight: 600; 
}

#main-content p a { 
    color: var(--color-interactive, #18aaf4); 
    text-decoration: underline; 
    text-decoration-thickness: 1px; 
    text-underline-offset: 4px; 
    transition: color 0.2s; 
}

#main-content p a:hover { 
    color: var(--color-accent, #1974e1); 
    text-decoration-color: var(--color-accent); 
}

#main-content h3, 
#main-content h2 {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--text-main, #ffffff);
    margin-top: 2.5rem; 
    margin-bottom: 1.25rem; 
    line-height: 1.3; 
    letter-spacing: -0.01em;
}

/* Títulos especiales con línea inferior (opcional) */
.title-with-line {
    position: relative; display: inline-block; 
    margin: 0 0 2rem 0;
    color: var(--text-main, #ffffff); 
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); 
    font-weight: 800; font-size: 2.25rem;
    line-height: 1.2; letter-spacing: -0.02em;
}
.title-with-line::after {
    content: ''; position: absolute; left: 0; bottom: -8px; width: 50px; height: 3px;
    background: var(--color-interactive, #18aaf4); border-radius: 2px;
    box-shadow: 0 0 10px rgba(24, 170, 244, 0.5);
}

/* ==========================================================================
   CABECERA DE LA PÁGINA (HERO HEADER)
   ========================================================================== */
.blog-hero-header {
    text-align: center;
    margin: 2rem auto 4rem; 
    max-width: 900px;
    width: 92%;
}

.blog-hero-title {
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(2rem, 3.5vw, 3rem); 
    font-weight: 800;
    color: var(--text-main, #ffffff);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.blog-hero-title span.highlight {
    background: var(--gradient-qanty, linear-gradient(135deg, #665fee, #27c2de, #05f2db));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(24, 170, 244, 0.3));
}

/* ==========================================================================
   CONTENEDORES Y TARJETAS (GLASSMORPHISM)
   ========================================================================== */
.full-section, 
.split-section { 
    padding: 4rem; 
    margin: 0 auto 4rem auto; 
    max-width: 1200px; 
    width: 92%; 
    box-sizing: border-box; 
}

.intro-summary, .table-of-contents, .full-section, 
.split-section, .info-box, .banner-container, 
.qanty-featured-banner, .call-to-action-section, .form-wrapper {
    background: var(--bg-card, rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
    box-shadow: var(--shadow-glass, 0 8px 32px 0 rgba(0, 0, 0, 0.3));
    border-radius: var(--radius-lg, 28px);
    overflow: hidden; 
    position: relative;
}

/* ==========================================================================
   LISTAS (VIÑETAS)
   ========================================================================== */
.typo-list { 
    padding-left: 0; 
    margin-bottom: 2.5rem; 
    list-style: none; 
}

.typo-list li { 
    margin-bottom: 1rem; 
    position: relative; 
    padding-left: 1.8rem; 
    color: #ffffff; 
    font-size: 1.1rem; 
    line-height: 1.8; 
}

ul.typo-list li::before { 
    content: "✦"; 
    color: var(--color-interactive, #18aaf4); 
    position: absolute; 
    left: 0; 
    font-size: 1rem; 
    top: 2px; 
}

/* ==========================================================================
   EFECTOS DE FONDO (GLOWS AMBIENTALES)
   ========================================================================== */
.faq-ambient-glow-right {
    position: fixed; 
    top: 50%; 
    right: -10%; 
    transform: translateY(-50%);
    width: 700px; 
    height: 700px; 
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 170, 244, 0.25) 0%, transparent 60%);
    filter: blur(80px); 
    z-index: 0; 
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (SOLO COMPONENTES DEL MAIN)
   ========================================================================== */
@media (max-width: 768px) {
    .intro-summary, .table-of-contents, .full-section, 
    .split-section, .qanty-featured-banner, 
    .initial-lead, .featured-snippet, .typo-quote { 
        padding: 1.5rem; 
    }
}