/* 
 * Paleta de Colores Profesional para Solucion Fiscal
 * Azul corporativo con excelente contraste
 */

:root {
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --accent-green: #10b981;
    --accent-gold: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

/* Mejoras generales de tipografía */
body {
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
}

/* Header mejorado */
.navbar-light .navbar-brand {
    color: var(--primary-blue) !important;
    font-weight: 900;
    font-size: 1em;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* Fondo del tema principal */
.bg-theme {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
}

/* Secciones con fondo claro */
.light-bg {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Títulos principales mejorados */
.main-title-w3pvt {
    color: var(--primary-blue-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.main-title-w3pvt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
    border-radius: 2px;
}

.title-desc.text-center .main-title-w3pvt::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Iconos mejorados */
.abt-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%) !important;
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.3), 0 4px 6px -2px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.abt-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(30, 64, 175, 0.3), 0 10px 10px -5px rgba(30, 64, 175, 0.2);
}

.abt-icon span {
    color: white !important;
}

/* Tarjetas de servicios mejoradas */
.w3lspvt-about-grids {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.w3lspvt-about-grids:hover {
    transform: translateY(-10px);
}

.w3lspvt-about-grids > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem !important;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
}

.w3lspvt-about-grids:hover > div {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.w3lspvt-about-grids span {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    font-size: 2.5em !important;
    width: 80px;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    border: 3px solid;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 auto 1.5rem;
}

.w3lspvt-about-grids:hover span {
    background: var(--primary-blue);
    color: white !important;
    transform: rotate(360deg);
}

.w3lspvt-about-grids h4 {
    color: var(--primary-blue-dark) !important;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
    font-size: 1.3em;
}

.w3lspvt-about-grids p {
    text-align: center;
    color: #4b5563;
    line-height: 1.7;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Cards mejoradas */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-title {
    color: var(--primary-blue-dark);
    font-weight: 700;
}

/* Testimonios mejorados */
.testimonials_grid {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.testimonials_grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-green);
}

.testi-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testi-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.testi-desc {
    margin-top: 1.5rem;
    text-align: center;
}

.testi-desc span {
    color: var(--primary-blue) !important;
    font-size: 2.5em;
    display: block;
    margin-bottom: 0.5rem;
}

.testi-desc h5 {
    color: var(--primary-blue-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em;
    margin: 0;
}

/* Carousel indicators mejorados */
.carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-blue) !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators li.active {
    background: var(--primary-blue) !important;
}

/* Formulario de contacto mejorado */
.contact-form-wthreelayouts {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-radius: 20px !important;
    padding: 3rem !important;
    position: relative;
    overflow: hidden;
}

.contact-form-wthreelayouts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #10b981 50%, #f59e0b 100%);
}

.contact-form-wthreelayouts h4 {
    color: #1e3a8a !important;
    font-weight: 800 !important;
    font-size: 2em !important;
    margin-bottom: 2rem !important;
    text-align: center;
    position: relative;
}

.contact-form-wthreelayouts h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 100%);
    border-radius: 2px;
}

.contact-form-wthreelayouts input[type="text"],
.contact-form-wthreelayouts input[type="email"],
.contact-form-wthreelayouts input[type="tel"],
.contact-form-wthreelayouts textarea {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 1.05em !important;
    transition: all 0.3s ease !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Lato', sans-serif !important;
}

.contact-form-wthreelayouts input:focus,
.contact-form-wthreelayouts textarea:focus {
    border-color: #1e40af !important;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px);
    background: #f8fafc !important;
}

.contact-form-wthreelayouts textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.contact-form-wthreelayouts input[type="submit"] {
    background: linear-gradient(135deg, #1e40af 0%, #10b981 100%) !important;
    border: none !important;
    padding: 18px 50px !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 8px 15px -3px rgba(30, 64, 175, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

.contact-form-wthreelayouts input[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 25px -5px rgba(30, 64, 175, 0.5) !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%) !important;
}

.contact-form-wthreelayouts label {
    margin-bottom: 8px !important;
    display: block !important;
}

.contact-form-wthreelayouts .style4 {
    color: #374151 !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.contact-form-wthreelayouts p {
    margin-bottom: 1.5rem !important;
}

/* Contacto iconos mejorados */
.contact-w3 {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-w3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-w3:hover::before {
    left: 100%;
}

.contact-w3 span {
    color: var(--primary-blue) !important;
    font-size: 3em !important;
    transition: all 0.3s ease;
}

.contact-w3:hover span {
    transform: scale(1.1);
    color: #10b981 !important;
}

.contact-w3 p {
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-w3 strong {
    color: var(--primary-blue-dark);
    font-weight: 700;
    font-size: 1.3em;
}

/* Tarjetas de contacto mejoradas */
.contact-w3[style*="background: #f9fafb"] {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.contact-w3[style*="background: #f9fafb"]:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important;
    border-color: #1e40af !important;
}

.contact-w3[style*="background: linear-gradient(135deg, #10b981"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 2px solid #10b981 !important;
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.3s ease !important;
}

.contact-w3[style*="background: linear-gradient(135deg, #10b981"]:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 35px -5px rgba(16, 185, 129, 0.5) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* Estadísticas section */
.w3_stats {
    background: transparent;
    position: relative;
}

section.w3_stats {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    position: relative;
}

section.w3_stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

section.w3_stats .container {
    position: relative;
    z-index: 1;
}

.w3pvt-title {
    color: white;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.service-highlight {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-highlight:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-highlight h4,
.service-highlight p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.w3_stats p.text-white {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.1em !important;
}

.abt_bottom p.text-white {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.1em !important;
    line-height: 1.9;
}

.abt_bottom strong {
    font-weight: 700;
    color: #ffffff;
}

/* Banner slides mejorados */
.slider-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.slider-info h3 {
    font-size: 3em;
    font-weight: 900;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.slider-info p {
    font-size: 1.5em;
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.slider-info .line {
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 100%);
    height: 4px;
    width: 100px;
    display: block;
    margin: 1.5rem 0;
}

/* Footer mejorado */
footer.cpy-right {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    border-top: 3px solid #10b981;
}

footer.cpy-right p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

footer.cpy-right strong {
    color: #ffffff;
    font-weight: 700;
}


/* Botones CTA */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.4);
}


/* Sección abt_bottom mejorada */
.abt_bottom {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
    position: relative;
}

.abt_bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.abt_bottom .container {
    position: relative;
    z-index: 1;
}

.abt-text {
    color: white;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animaciones sutiles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .main-title-w3pvt {
        font-size: 1.8em;
    }
    
    .slider-info h3 {
        font-size: 2em;
    }
    
    .slider-info p {
        font-size: 1.2em;
    }
}

