/* Custom Styles */ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; } /* TOP NOTIFICATION BAR */ .top-notification-bar { background-color: #4C5C6B; color: #ffffff; padding: 0.5rem 0; font-size: 0.9rem; text-align: center; } .top-notification-bar a { color: #ffffff; font-weight: 500; } .top-notification-bar a:hover { color: #61c7cd; } .top-notification-bar i { color: #61c7cd; } .top-notification-bar strong { color: #61c7cd; } /* MEJORAS NAVBAR */ .navbar { position: sticky; top: 0; z-index: 1030; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.15); background-color: #0E2337 !important; } .navbar.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.25); } .navbar-brand b { font-weight: 700; } .nav-link { position: relative; transition: all 0.3s ease; padding: 0.5rem 1rem !important; font-weight: 500; color: rgba(255, 255, 255, 0.9) !important; } .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 80%; height: 2px; background: #61c7cd; transition: transform 0.3s ease; } .nav-link:hover { color: #61c7cd !important; background-color: rgba(97, 199, 205, 0.1); border-radius: 4px; transform: translateY(-2px); } .nav-link:hover::after { transform: translateX(-50%) scaleX(1); } .dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 8px; animation: slideDown 0.3s ease; } @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .dropdown-item { padding: 0.75rem 1.5rem; transition: all 0.2s ease; } .dropdown-item:hover { background-color: rgba(97, 199, 205, 0.1); color: #61c7cd; transform: translateX(5px); } /* Dropdown toggle color */ .navbar-dark .navbar-nav .nav-link.dropdown-toggle { color: rgba(255, 255, 255, 0.9) !important; } .navbar-dark .navbar-nav .nav-link.dropdown-toggle:hover { color: #61c7cd !important; } /* OPCIÓN 03: MODERNO Y PROFESIONAL - H1 HERO */ .hero-title { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%); box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25); } .hero-title h1 { color: #ffffff !important; font-weight: 700; line-height: 1.4; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); } .post-title-container h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; } .featured-image-container { border-radius: 0.5rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } /* MEJORAS TOC */ .toc-container { top: 5rem; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: all 0.3s ease; padding: 1rem 1.25rem; } .toc-container:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); } .toc-container h4 { color: #2c3e50; padding-bottom: 12px; border-bottom: 3px solid #0d6efd; margin-bottom: 1rem; font-weight: 700; text-align: center; font-style: normal; } .toc-container ol { padding-left: 0; margin-bottom: 0; } .toc-container li { margin-bottom: 0.25rem; } .toc-container a, .toc-container .list-unstyled a { display: block; padding: 0.375rem 1rem; color: #495057; text-decoration: none; border-left: 3px solid transparent; transition: all 0.3s ease; border-radius: 4px; font-size: 0.95rem; } .toc-container a:hover, .toc-container .list-unstyled a:hover { background: linear-gradient(90deg, rgba(13, 110, 253, 0.08), transparent); border-left-color: #0d6efd; color: #0d6efd; padding-left: 1.5rem; } .toc-container a.active { background: linear-gradient(90deg, rgba(13, 110, 253, 0.12), transparent); border-left-color: #0d6efd; color: #0d6efd; font-weight: 600; } /* POST CONTENT */ .post-content h2 { font-size: 2rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; } .post-content h3 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; } .post-content p, .post-content li { line-height: 1.8; font-size: 1.1rem; } /* OPCIÓN 03: MODERNO Y PROFESIONAL - CARDS GRISES */ .related-posts .card { cursor: pointer; background: #f8f9fa !important; border: 1px solid #dee2e6 !important; border-left: 4px solid #6c757d !important; transition: all 0.3s ease; } .related-posts .card:hover { background: #ffffff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important; border-left-color: #0d6efd !important; } .related-posts .card-body { padding: 2rem !important; } .related-posts .card-title { color: #495057 !important; font-weight: 600; font-size: 0.95rem; } /* PAGINACIÓN PROFESIONAL */ .pagination .page-link { color: #495057; border: 1px solid #dee2e6; padding: 0.5rem 1rem; margin: 0 0.25rem; border-radius: 4px; font-weight: 500; transition: all 0.3s ease; } .pagination .page-link:hover { background-color: #f8f9fa; border-color: #0d6efd; color: #0d6efd; } .pagination .page-item.active .page-link { background-color: #1e3a5f; border-color: #1e3a5f; color: #ffffff; } /* TABLAS DE ANÁLISIS DE PRECIOS UNITARIOS - USABILIDAD MEJORADA */ .analisis { margin: 2rem 0; overflow-x: auto; } .analisis table { width: 100%; border-collapse: collapse; background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 8px; overflow: hidden; border: none; border-spacing: 0; } /* Eliminar todos los bordes */ .analisis table td { border: none; } .analisis table tbody { border: none; } .analisis table tr { border: none; } /* Anchos fijos para las columnas */ .analisis table td:nth-child(1) { width: 150px; } .analisis table td:nth-child(2) { width: auto; min-width: 300px; } .analisis table td:nth-child(3) { width: 80px; } .analisis table td:nth-child(4) { width: 110px; } .analisis table td:nth-child(5) { width: 120px; } .analisis table td:nth-child(6) { width: 120px; } /* Encabezados de tabla con fondo oscuro y texto centrado */ .analisis table thead tr th { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%); color: #ffffff; font-weight: 600; text-align: center !important; padding: 1rem; border: none; } /* Filas normales con padding adecuado */ .analisis table tbody td { padding: 0.75rem 1rem; border: none; } /* Zebra striping - filas con colores alternados */ .analisis table tbody tr:nth-child(even):not(.section-header):not(.subtotal-row):not(.total-row) { background-color: #f8f9fa; } .analisis table tbody tr:nth-child(odd):not(.section-header):not(.subtotal-row):not(.total-row) { background-color: #ffffff; } /* Alineación de columnas */ .analisis table td:nth-child(1) { text-align: left; } .analisis table td:nth-child(2) { text-align: left; } /* Columna Unidad (3) centrada */ .analisis table td:nth-child(3), .analisis table td.c3 { text-align: center !important; color: #6c757d; } /* Columnas monetarias a la derecha */ .analisis table td:nth-child(4), .analisis table td.c4, .analisis table td:nth-child(5), .analisis table td.c5, .analisis table td:nth-child(6), .analisis table td.c6 { text-align: right !important; font-family: 'Courier New', monospace; font-weight: 500; } /* Hover en filas de datos para mejor identificación */ .analisis table tbody tr:not(.section-header):not(.subtotal-row):not(.total-row):hover { background-color: #fff3cd !important; transition: background-color 0.2s ease; cursor: pointer; } /* Encabezados de sección (Material, Mano de Obra, Herramienta, Equipo) */ .analisis table tr.section-header { background-color: #e9ecef !important; } .analisis table tr.section-header td { font-weight: 600; color: #1e3a5f; padding: 0.75rem 1rem; border: none !important; } /* Filas de subtotales (Suma de Material, Suma de Mano de Obra, etc) */ .analisis table tr.subtotal-row { background-color: #d1e7fd !important; } .analisis table tr.subtotal-row td { font-weight: 700; color: #0d47a1; padding: 0.875rem 1rem; border: none !important; } .analisis table tr.subtotal-row td.c6 { font-size: 1.05rem; } /* Fila de Costo Directo (Total final) */ .analisis table tr.total-row { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%) !important; } .analisis table tr.total-row td { color: #ffffff !important; font-weight: 700; font-size: 1.1rem; padding: 1.125rem 1rem !important; border: none !important; } .analisis table tr.total-row td.c6 { font-size: 1.25rem; letter-spacing: 0.5px; } /* Responsive para móviles */ @media (max-width: 768px) { .analisis { font-size: 0.85rem; } .analisis table td { padding: 0.5rem !important; } .analisis table tr.total-row td { font-size: 1rem !important; } .analisis table tr.total-row td.c6 { font-size: 1.1rem !important; } } /* CATEGORÍAS */ .category-badge { display: inline-flex; align-items: center; padding: 0.375rem 0.875rem; background: #e9ecef; border-radius: 20px; color: #6c757d; text-decoration: none; font-size: 0.813rem; font-weight: 500; pointer-events: none; } .category-badge i { font-size: 0.7rem; color: #6c757d; opacity: 0.7; } /* Categorías en el Hero (fondo oscuro) */ .category-badge-hero { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.95); pointer-events: none; } .category-badge-hero i { color: rgba(255, 255, 255, 0.85); opacity: 0.8; } /* MEJORAS COMPARTIR */ .share-buttons .btn { transition: all 0.3s ease; border-width: 2px; } .share-buttons .btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); } /* MEJORAS CTA */ .cta-section { box-shadow: 0 8px 24px rgba(255, 133, 0, 0.3); } /* FOOTER */ .bg-dark { background-color: #1a1a1a !important; } .footer a.text-white:hover { text-decoration: underline; } /* ANIMACIONES SUAVES */ * { scroll-behavior: smooth; } /* ======================================== NUEVAS FUNCIONALIDADES - Let's Talk + CTA Box + Modal ======================================== */ /* 1. BOTÓN "LET'S TALK" EN NAVBAR */ .btn-lets-talk { background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%); color: #ffffff; font-weight: 600; padding: 0.5rem 1.5rem; border: none; border-radius: 6px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3); } .btn-lets-talk:hover { background: linear-gradient(135deg, #FF5722 0%, #FF6B35 100%); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 107, 53, 0.45); } .btn-lets-talk:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3); } .btn-lets-talk i { font-size: 1.1rem; } /* 2. TOC OPTIMIZADA CON MAX-HEIGHT Y SCROLL */ .toc-list { max-height: 600px; overflow-y: auto; padding-right: 0.5rem; } /* Estilo del scrollbar para TOC */ .toc-list::-webkit-scrollbar { width: 5px; } .toc-list::-webkit-scrollbar-track { background: #e9ecef; border-radius: 3px; } .toc-list::-webkit-scrollbar-thumb { background: #0d6efd; border-radius: 3px; } .toc-list::-webkit-scrollbar-thumb:hover { background: #0b5ed7; } /* Reducir padding/margin en TOC para evitar scroll */ .toc-container { padding: 0.75rem 1rem !important; } .toc-container h4 { margin-bottom: 0.75rem !important; padding-bottom: 0.5rem !important; } .toc-container li { margin-bottom: 0.1rem !important; } .toc-container a { padding: 0.25rem 0.75rem !important; font-size: 0.875rem !important; line-height: 1.3 !important; } /* 3. CTA BOX EN SIDEBAR - Sin icono, más compacto, NO sticky */ .cta-box-sidebar { background: linear-gradient(135deg, #FF8600 0%, #FFB800 100%); border-radius: 10px; padding: 1.25rem; text-align: center; box-shadow: 0 6px 20px rgba(255, 133, 0, 0.3); transition: all 0.3s ease; position: relative; overflow: hidden; } .cta-box-sidebar::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%); animation: pulse 4s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.05); opacity: 0.6; } } .cta-box-sidebar:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255, 133, 0, 0.4); } .cta-box-title { color: #ffffff; font-weight: 700; font-size: 1rem; margin-bottom: 0.65rem; position: relative; z-index: 1; line-height: 1.3; } .cta-box-text { color: rgba(255, 255, 255, 0.95); font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.4; position: relative; z-index: 1; } .btn-cta-box { background: #ffffff; color: #FF8600; font-weight: 600; padding: 0.65rem 1.5rem; border: none; border-radius: 8px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); position: relative; z-index: 1; } .btn-cta-box:hover { background: #f8f9fa; color: #FF6B35; transform: scale(1.05); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); } .btn-cta-box:active { transform: scale(0.98); } /* 4. MODAL DE CONTACTO */ .modal-content { border-radius: 16px; border: none; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } .modal-header { padding: 1.5rem 1.5rem 1rem 1.5rem; } .modal-title { font-size: 1.5rem; color: #2c3e50; } .btn-close { opacity: 0.6; } .btn-close:hover { opacity: 1; } .modal-body { padding: 1rem 1.5rem 1.5rem 1.5rem; } .form-label { font-weight: 500; color: #495057; margin-bottom: 0.5rem; } .form-control { border-radius: 8px; border: 1px solid #dee2e6; padding: 0.65rem 1rem; transition: all 0.3s ease; } .form-control:focus { border-color: #FF8600; box-shadow: 0 0 0 0.2rem rgba(255, 133, 0, 0.15); } .btn-submit-form { background: linear-gradient(135deg, #FF5722 0%, #FF6B35 100%); color: #ffffff; font-weight: 600; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3); } .btn-submit-form:hover { background: linear-gradient(135deg, #E64A19 0%, #FF5722 100%); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 87, 34, 0.45); } .btn-submit-form:active { transform: translateY(0); } /* Mensajes de éxito/error del formulario */ .alert { border-radius: 8px; font-size: 0.9rem; } .alert-success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; } .alert-danger { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; } /* 5. FORMULARIO DE CONTACTO (Sección antes del footer) */ .contact-info h6 { font-weight: 600; color: #2c3e50; } .btn-contact-submit { background: linear-gradient(135deg, #FF8600 0%, #FFB800 100%); color: #ffffff; font-weight: 600; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(255, 133, 0, 0.3); } .btn-contact-submit:hover { background: linear-gradient(135deg, #FF6B35 0%, #FF8600 100%); color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 133, 0, 0.45); } .btn-contact-submit:active { transform: translateY(0); } /* 6. RESPONSIVE ADJUSTMENTS */ @media (max-width: 991.98px) { .btn-lets-talk { margin-top: 1rem; width: 100%; } .cta-box-sidebar { margin-top: 2rem; } .toc-list { max-height: 300px; } } @media (max-width: 767.98px) { .cta-box-title { font-size: 1rem; } .cta-box-text { font-size: 0.85rem; } .toc-container h4 { font-size: 1.1rem; } }