/* Variables Globales Vainilla - Paleta NORD / Minimalista Plana */
:root {
    --bg-color: #f8fafc;
    /* Gris muy claro */
    --surface-color: #ffffff;
    /* Blanco puro para tarjetas */
    --text-main: #0f172a;
    /* Gris muy oscuro casi negro */
    --text-muted: #64748b;
    /* Gris metálico suave */
    --brand-color: #3b82f6;
    /* Azul vibrante principal */
    --brand-hover: #2563eb;
    /* Azul oscuro para interacciones */
    --score-high: #22c55e;
    /* Verde para puntuación alta */
    --score-mid: #3b82f6;
    /* Azul para puntuación media */
    --score-low: #94a3b8;
    /* Gris para puntuación baja */
    --border-color: #e2e8f0;
    /* Gris claro para bordes */
    --radius: 12px;
    --transition-speed: 0.3s;
    --violet-accent: #8b5cf6;
    --violet-hover: #7c3aed;
}

/* Reset y Tipografía */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alineado arriba */
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 80px; /* Espacio para el footer flotante */

    /* Fondo abstracto colorido y sutilmente animado */
    background: linear-gradient(-45deg, #ff9a9e, #fecfef, #a1c4fd, #c2e9fb);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Estructura Principal */
.app-container {
    width: 100%;
    max-width: 600px; /* Default for mobile/small */
    background: transparent; /* Changed to transparent, cards will have white bg */
    border-radius: var(--radius);
    padding: 0 20px 20px 20px; /* Quitamos padding superior */
    margin: 0 auto;
}

@media (min-width: 992px) {
    .app-container {
        max-width: 1100px;
        padding: 0 40px 40px 40px; /* Quitamos padding superior */
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
    /* Adjust as needed */
}

.main-logo {
    width: 100%;
    max-width: 1200px; /* 800 * 1.5 */
    max-height: 270px; /* 180 * 1.5 */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}


/* Gestión de Pantallas y Animaciones de Flujo */
.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.screen.sliding-out {
    display: block;
    animation: slideOutLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

.screen h2,
.question-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.screen p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

/* Barra de Progreso y Contador */
.question-counter {
    text-align: center;
    font-size: 0.85rem;
    color: var(--brand-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--brand-color);
    width: 0%;
    transition: width 0.4s ease-out;
}

/* Botones y Opciones */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.primary-btn {
    background-color: var(--brand-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--brand-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--bg-color);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.secondary-btn:hover {
    background-color: var(--border-color);
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 18px;
    border-radius: var(--radius);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: inherit;
}

/* Slider de Presupuesto */
.slider-container {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-value-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-color);
    margin-bottom: 20px;
}

.budget-slider {
    -webkit-appearance: none;
    appearance: none; /* Added for standard compatibility */
    width: 100%;
    height: 12px;
    border-radius: 10px;
    background: var(--border-color);
    outline: none;
    margin-bottom: 10px;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-color);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    transition: transform 0.1s;
}

.budget-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.budget-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 3px solid white;
    border-radius: 50%;
    background: var(--brand-color);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.option-btn:hover {
    border-color: var(--brand-color);
    background-color: #f1f5f9;
    /* Active slate */
}

/* Grilla de Resultados (Tarjetas de Móviles) */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--surface-color);
    transition: transform 0.2s;
    cursor: pointer;
    position: relative; /* Añadido para posicionar etiquetas absolutas */
}

.phone-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.phone-img-placeholder {
    width: 60px;
    height: 80px;
    background-color: var(--border-color);
    border-radius: 6px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.phone-info {
    flex: 1;
    min-width: 0; /* Evita que el contenedor se desborde con textos largos */
}

.phone-info h4 {
    margin: 0 0 5px 0;
    color: var(--brand-color);
}

.phone-info p {
    margin: 0;
    font-size: 0.85rem;
    text-align: left;
    color: var(--text-main);
}

.phone-score {
    margin-top: 5px !important;
    font-weight: bold;
    color: var(--text-muted);
}

.compact-badge {
    display: flex;
    width: fit-content;
    margin-left: auto;
    align-items: center;
    gap: 4px;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Lista del Resumen */
.summary-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.summary-list li {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-list li strong {
    color: var(--brand-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

/* Animación de Carga (Lupa y Móvil) */
.loader-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
}

.phone-mock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 85px;
    background: var(--surface-color);
    border: 4px solid var(--border-color);
    border-radius: 10px;
}

.magnifier {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 60px;
    height: 60px;
    border: 5px solid var(--brand-color);
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(2px);
    z-index: 2;
    animation: searchPhone 1.5s infinite ease-in-out alternate;
}

.magnifier::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 20px;
    height: 5px;
    background: var(--brand-color);
    transform: rotate(45deg);
    border-radius: 3px;
}

@keyframes searchPhone {
    0% {
        transform: translate(-10px, -20px) scale(0.9);
    }

    100% {
        transform: translate(30px, 40px) scale(1.1);
    }
}

/* Pantalla de Detalles */
.detail-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 25px;
    text-align: center;
}

.detail-two-cols {
    display: flex;
    flex-direction: column;
    /* Cambiado a columna para apilar imagen y texto */
    gap: 20px;
    align-items: center;
    /* Centrar la imagen en la columna superior */
    margin-bottom: 30px;
}

.detail-img-container {
    width: 100%;
    /* Ocupa el 100% de la caja disponible en vez de 160px */
    max-width: 300px;
    /* Limitamos para que no sea inmensa en PC */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
}

.large-phone-placeholder {
    width: 100%;
    height: 220px;
    background-color: var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
}

.large-phone-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Para cuando metamos urls de imagenes reales */
}

.detail-specs-container {
    flex: 1;
    /* Ocupa el resto del espacio libre */
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
}

.detail-specs-container h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.detail-specs-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-specs-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 15px;
    position: relative;
}

.detail-specs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-color);
}

/* Resalte de coincidencias con el usuario (Heurística) - Estilo Minimalista */
.highlight-match {
    font-weight: normal; /* Eliminamos la negrita por petición */
    color: inherit !important;
    background: transparent !important;
    padding: 0;
    display: inline;
}

.highlight-match::before {
    content: "✨";
    margin-right: 4px;
}

/* Barras de Progreso de Especificaciones */
.spec-container {
    margin-top: 8px;
    margin-bottom: 15px;
}

.spec-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.spec-text-ux {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.spec-progress-bg {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.spec-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Colores de las barras (Gris/Azul/Verde) */
.bg-score-high { background-color: var(--score-high); }  /* Verde */
.bg-score-mid { background-color: var(--score-mid); }   /* Azul */
.bg-score-low { background-color: var(--score-low); }   /* Gris */

.text-score-high { color: #15803d; }
.text-score-mid { color: #2563eb; }
.text-score-low { color: #64748b; }

/* Grilla de Marcas */
.brands-grid, #brands-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important; 
    margin-bottom: 25px;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-speed);
    user-select: none;
}

.brand-item:hover {
    border-color: var(--brand-color);
    background: #f1f5f9;
}

.brand-item.selected {
    border-color: var(--brand-color);
    background: #eff6ff;
}

.brand-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.brand-item label {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    flex-grow: 1;
}

/* Toggle de Móviles Compactos */
.compact-toggle-outer {
    margin-top: -10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.compact-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.compact-toggle-container:hover {
    border-color: var(--brand-color);
    background: #eff6ff;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #10b981; /* Verde esmeralda para coincidir con el estado seleccionado de marcas */
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.compact-info-bubble {
    font-size: 0.85rem;
    background: #fffbeb;
    color: #92400e;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid #fde68a;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.1);
}

.compact-info-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.compact-info-bubble .info-icon {
    font-size: 1.1rem;
}

/* Estilos Acerca de (en desuso por footer, pero mantenemos contenedor para la página /acerca.html) */
.about-content {
    text-align: justify; /* Justificado */
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.about-content p {
    text-align: justify; /* Justificado */
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.about-content p:last-child {
    margin-bottom: 0;
}

.mobile-separator {
    margin: 10px 0;
    position: relative;
    padding: 0 20px;
}

@media (min-width: 992px) {
    .mobile-separator {
        display: none;
    }
}

.mobile-separator::before,
.mobile-separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 15%;
    height: 1px;
    background: var(--border-color);
}

.mobile-separator::before { left: 5%; }
.mobile-separator::after { right: 5%; }

/* Ajustes para pantallas no-welcome */
.screen:not(#screen-welcome) {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

/* === REDISEÑO HOME (DOS TARJETAS) === */

.main-cards-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

@media (min-width: 992px) {
    .main-cards-container {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 40px;
    }
}

.card {
    background: var(--surface-color) !important;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Tarjeta Destacada (MDM) */
.card-mdm {
    border: 2px solid #fbbf24;
    background: linear-gradient(to bottom, #ffffff, #fffcf0) !important;
}

.badge-gold {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.badge-icon {
    font-size: 1.1rem;
}

#mdm-content {
    text-align: center;
    margin: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mdm-image {
    width: 100%;
    max-width: 200px;
    height: 260px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.mdm-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.mdm-specs {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.mdm-specs li {
    margin-bottom: 8px;
}

.orange-btn {
    background: linear-gradient(to right, #f97316, #ea580c);
    color: white;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.orange-btn:hover {
    background: linear-gradient(to right, #ea580c, #c2410c);
}

/* Tarjeta Quiz */
.card-quiz {
    text-align: center;
    justify-content: flex-start; /* Alineación arriba para simetría */
}

.card-quiz h2 {
    margin-top: 20px;
}

.card-quiz p {
    flex-grow: 1; /* Empuja el botón hacia abajo para igualar altura visual */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Divulgación de Afiliados */
.affiliate-disclosure {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-top: 15px !important;
    text-align: center !important;
    opacity: 0.8;
    line-height: 1.4 !important;
}

/* === SECCIÓN MITOS (NUEVA) === */

.card-myths {
    background: #ffffff !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    width: 100%;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.card-myths:hover {
    transform: translateY(-5px);
}

.myth-header {
    text-align: center;
    margin-bottom: 25px;
}

.myth-header-icon {
    width: 48px;
    height: 48px;
    color: var(--violet-accent);
    margin-bottom: 12px;
}

.myth-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.myth-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 35px auto;
    line-height: 1.5;
}

.myth-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.myth-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #fdfbff; /* Un toque de violeta muy sutil de fondo */
    border-radius: 16px;
    border: 1px solid #ede9fe; /* Borde violeta muy suave */
    transition: all 0.2s ease;
}

.myth-item:hover {
    border-color: var(--violet-accent);
    background: #f5f3ff;
}

.myth-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.myth-icon {
    width: 24px;
    height: 24px;
    color: var(--violet-accent);
    flex-shrink: 0;
}

.myth-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.myth-link {
    color: var(--violet-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.myth-link:hover {
    color: var(--violet-hover);
    text-decoration: underline;
}

.myth-cta-container {
    text-align: center;
}

.violet-btn {
    display: inline-block;
    background: var(--violet-accent);
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: none;
    cursor: pointer;
}

.violet-btn:hover {
    background: var(--violet-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

@media (max-width: 768px) {
    .card-myths {
        padding: 30px 20px;
    }
    
    .myth-header h3 {
        font-size: 1.5rem;
    }
    
    .myth-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .myth-link {
        align-self: flex-end;
    }
}

/* === FOOTER FLOTANTE === */
.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.floating-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.floating-footer a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.floating-footer a:hover {
    color: var(--brand-hover);
    text-decoration: underline;
}

/* === ESTILOS NAVEGACIÓN BLOG === */
.back-nav {
    padding: 30px 40px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--brand-color);
    text-decoration: underline;
}

.blog-body {
    text-align: justify;
}
