/* ================================================== */
/* Variables y colores corporativos */
/* ================================================== */
:root {
    --color-primary: #007bff;
    --color-secondary: #dc3545;
    --color-title: #003366;
    --color-border: #CC0000;
    --color-table-header: #00695c;
    --color-table-hover: rgba(0, 123, 255, 0.1);
    --box-shadow-default: 0 4px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================================================== */
/* Estilos generales */
/* ================================================== */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

strong {
    font-weight: 700;
}

/* ================================================== */
/* Estilos para la página de aterrizaje */
/* ================================================== */
.landing-page {
    padding: 0;
    margin: 0;
}

._tabinicio li {
    border: none !important;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logos img {
    max-width: 150px;
    height: auto;
}
/* Estilos para los botones en pantallas pequeñas */
@media (max-width: 768px) {
    .hero-section .btn {
        width: 100%; /* Los botones ocupan el 100% del ancho */
        margin: 0.5rem 0; /* Espaciado entre botones */
    }

    .hero-section .btn-animated {
        margin-left: 0 !important; /* Elimina el margen izquierdo en móviles */
    }
}
/* ================================================== */
/* Estilos para la sección de Casos de Éxito */
/* ================================================== */
.clientes-destacados-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.caso-exito-card {
    background-color: white;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.caso-exito-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.caso-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.caso-exito-card:hover .caso-icon {
    color: var(--color-secondary);
}

.caso-exito-card h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-title);
    margin-bottom: 1rem;
}

.caso-exito-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ================================================== */
/* Estilos para el carrusel */
/* ================================================== */
.carousel-fade .carousel-item {
    transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item:not(.active) {
    opacity: 0;
}

/* ================================================== */
/* Estilos para la sección hero */
/* ================================================== */
.hero-section {
    background-image: url('/images/Fondos/bg_landing.webp'); /* usa .webp si puedes */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}


.hero-overlay .container {
    color: #fff;
    max-width: 1320px;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
	height: 100%;
	
}    


.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-section p.lead {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
    text-align: justify !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para botones animados */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.5s ease;
}

.btn-animated:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
}

.btn-primary.btn-animated {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary.btn-animated:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-light.btn-animated {
    color: white;
    border-color: white;
}

.btn-outline-light.btn-animated:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.25rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .text-center .btn {
        margin: 0.5rem 0;
        width: 100%;
    }
}
@media (max-width: 450px) {
    .hero-section h1 {
        font-size: 1.5rem !important;
    }

    .hero-section p.lead {
        font-size: 0.9rem !important;
    }
      
}
/* ================================================== */
/* Estilos para servicios */
/* ================================================== */
.servicios-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.servicio-card {
    /* Estilos base */
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    
    /* Estilos de diseño */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    
    /* Transiciones unificadas */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

/* Efecto hover principal */
.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Línea animada */
.servicio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg, 
        var(--color-primary), 
        var(--color-secondary)
    );
    transition: width 0.4s ease-in-out;
}

.servicio-card:hover::after {
    width: 100%;
}

/* Iconos */
.servicio-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    will-change: transform;
}

.servicio-card:hover .servicio-icon {
    color: var(--color-secondary);
    transform: scale(1.15);
}

/* ================================================== */
/* Estilos para clientes */
/* ================================================== */
.clientes-section {
    padding: 4rem 0;
    background-color: #fff;
}

.carousel-item .logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* ================================================== */
/* Estilos para botones */
/* ================================================== */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 0.5s ease;
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* ================================================== */
/* Estilos para el contenido del artículo */
/* ================================================== */
.article-content {
    padding: 0 0 2rem 0;
}

.article-content h1 {
    color: var(--color-title);
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: justify !important;
    font-size: 2em;
}

.imgright {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 50%;
}

.imgright img {
    width: 100%;
    height: auto;
    border: 3px solid #86b7fe;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.article-content .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 2rem 0;
}

/* ================================================== */
/* Estilos para listas */
/* ================================================== */
.list-unstyled {
    list-style-type: none;
    padding-left: 0;
}

.list-unstyled li {
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #F5F5F5;
    border-left: 4px solid #CC0000;
    font-size: 1.1em;
    color: #333333;
    transition: background-color 0.3s ease;
}

/* ================================================== */
/* Estilos para tablas */
/* ================================================== */
.table thead th {
    background-color: var(--color-title);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1rem;
    border: none;
    position: relative;
}

.table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.table-hover tbody tr:hover {
    background-color: var(--color-table-hover);
}

/* ================================================== */
/* Estilos para iconos */
/* ================================================== */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

/* ================================================== */
/* Estilos para fondos de imagen */
/* ================================================== */

._bgimagen_fondo {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

._bgdigitalizacion {
    background-image: url('/images/Fondos/bg_digitalizacion.jpg') !important;
}

._bgtranscripciones {
    background-image: url('/images/Fondos/bg_transcripcion.jpg') !important;
}
._bgquienesomos {
    background-image: url('/images/Fondos/bg_nuestra_empresa.jpg') !important;
}
._bgservicios{
    background-image: url('/images/Fondos/bg_servicios.jpg')!important;

}
._bgcontacto{
    background-image: url('/images/Fondos/bg_contacto.jpg')!important;
}
._bgdestruccion {
    background-image: url('/images/Fondos/bg_destruccion.jpg')!important;
	
}
._bgcustodia {
    background-image: url('/images/Fondos/bg_custodia.jpg')!important;
}	
._bgdatos {
    background-image: url('/images/Fondos/bg_datos.jpg')!important;
}
._bgimagen_fondo {
    background-image: url('/images/Fondos/bg_digitacion.jpg');
}


._bgimagen_fondo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

._text_imagen {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

._text_imagen h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

._text_imagen p {
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ================================================== */
/* Media Queries para responsividad */
/* ================================================== */


@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.25rem;
    }

    .imgright {
        float: none;
        margin: 0 auto 20px auto;
        max-width: 100%;
        text-align: center;
    }

    .imgright img {
        max-width: 100%;
    }

    .article-content .lead {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}
@media (max-width: 570px) {
    .article-content h1 {
        font-size: 1.2em;
    }
}

/* ================================================== */
/* Estilos para las pestañas */
/* ================================================== */
/* ================================================== */
/* Tabs - Versión Corregida (Evita conflictos con Bootstrap) */
/* ================================================== */
.nav-tabs {
    border-bottom: 2px solid var(--color-primary) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    background: #fff !important; /* Fondo explícito */
}

.nav-tabs .nav-link {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    background-color: #f8f9fa !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
}

.nav-tabs .nav-link.active {
    color: var(--color-primary) !important;
    background-color: white !important;
    border-bottom: 3px solid var(--color-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.nav-tabs .nav-link:hover {
    color: var(--color-primary) !important;
    background-color: rgba(0, 123, 255, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* ================================================== */
/* Media Queries Corregidos */
/* ================================================== */
@media (max-width: 991.98px) {
    .nav-tabs {
        background: #fff !important; /* Mantiene fondo blanco */
        padding: 0.5rem !important;
    }
    
    .nav-tabs .nav-link {
        margin: 0.25rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 583px) {
    .nav-tabs {
        flex-direction: column !important;
        background: #fff !important; /* Fuerza fondo blanco */
		border:none!important;
    }
    
     .nav-tabs .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .nav-tabs .nav-link i {
        display: inline-block !important; /* Mantiene íconos visibles */
        margin-right: 0.5rem !important;
		
    }
}


/* Estilos para la sección de servicios detallados */
.servicios-detallados-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.servicios-detallados-section h2 {
    color: var(--color-title);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.servicios-detallados-section .lead {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.servicio-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.servicio-item h3 {
    color: var(--color-title);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.servicio-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.servicio-item ul {
    margin-bottom: 1.5rem;
}

.servicio-item ul li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.servicio-item img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
    .servicio-item {
        text-align: center;
    }

    .servicio-item img {
        margin-bottom: 1.5rem;
    }

    .servicio-item h3 {
        font-size: 1.75rem;
    }

    .servicio-item p {
        font-size: 1rem;
    }
}
.shadow-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .shadow-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }
    .bg-primary-light {
        background-color: rgba(13, 110, 253, 0.1);
    }
    .display-5 {
        font-size: 2.2rem;
        font-weight: 500;
    }
	
	.card-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    box-shadow: var(--box-shadow-default);
    border-radius: 10px;
}

.card-effect:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

/* ================================================== */
/* Estilos para sección combinada (Tipos y Acceso) */
/* ================================================== */
.card-header-primary {
    
   
}

.list-icon-primary li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.list-icon-primary li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--color-primary);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--color-primary);
    min-width: 32px;
}

    .hover-scale {
        transition: transform 0.3s;
    }
    .hover-scale:hover {
        transform: translateY(-5px);
    }
    .mockup-field {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px;
    }
    .timeline {
        display: flex;
        justify-content: space-between;
        position: relative;
    }
    .timeline-step {
        width: 23%;
        padding: 20px;
        border-radius: 12px;
        color: white;
        text-align: center;
        position: relative;
    }
    .timeline-step:not(:last-child):after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10%;
        width: 20%;
        height: 2px;
        background: #dee2e6;
    }
    .app-icon {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }


/* Carrusel Clientes - Estilos Base */
.carrusel-clientes {
    padding: 3rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.carrusel-clientes .logo-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    justify-items: center;
}

.carrusel-clientes .logo-item {
    width: 180px;
    height: 90px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    flex-shrink: 0;
}

/* Efectos Hover */
.carrusel-clientes .logo-item:hover {
    transform: scale(1.15);
    filter: grayscale(0%);
    opacity: 1;
    z-index: 2;
    position: relative;
}

/* Controles Responsivos */
.carrusel-clientes .carousel-control-prev,
.carrusel-clientes .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.9);
    border-radius: 50%;
    top: 45%;
    opacity: 0.8;
}

/* Media Queries Organizadas */
@media (max-width: 992px) {
    .carrusel-clientes .logo-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .carrusel-clientes .logo-item {
        width: 160px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .carrusel-clientes .carousel-control-prev,
    .carrusel-clientes .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .carrusel-clientes .logo-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .carrusel-clientes .logo-item {
        width: 140px;
        height: 70px;
        margin: 8px;
    }
}

@media (hover: none) {
    .carrusel-clientes .logo-item:hover {
        transform: none;
    }
}

/* Animaciones Esenciales */
@keyframes fade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes shred {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes type {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Estilos Generales */
.service-icon-container {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon {
    font-size: 3rem;
    transition: all 0.3s ease;
}
.audio-wave {
    position: absolute;
    width: 120px;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        currentColor 0px,
        currentColor 5px,
        transparent 5px,
        transparent 10px
    );
    animation: wave 1s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

.fixed-bottom-button {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center!important;
}

.card-body {
    position: relative;
    
}

/* Aplicación de Animaciones */
.fade-animation { animation: fade 2s infinite; }
.pulse { animation: pulse 2s infinite; }
.shred-animation { animation: shred 2s linear infinite; }
.floating { animation: float 3s ease-in-out infinite; }
.rotate-3d { animation: rotate3d 8s linear infinite; }
.type-animation { animation: type 0.8s infinite; }

/* Responsividad */
@media (max-width: 768px) {
    .display-6 {
        font-size: 2rem;
    }
    .card-body {
        padding: 1.5rem !important;
    }
}

/* animacion boton basura servicios*/
.fade-out-animation {
   animation: fadeOut 5s infinite;
}
@keyframes fadeOut {
  0% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}





/* Menú responsivo */
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        z-index: 1000;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .container-nav .nav {
        flex-direction: column;
    }
}

/* Alineación logo y menú */
.container-header .navbar-brand {
    flex-shrink: 0;
}

.container-nav {
    flex-grow: 1;
    justify-content: flex-end;

}



/* Botón toggler - Estado inicial (colapsado) */
.custom-toggler.collapsed .open-icon {
    opacity: 1 !important;
    transform: rotate(0) !important;
}

.custom-toggler.collapsed .close-icon {
    opacity: 0 !important;
    transform: rotate(-180deg) !important;
}

/* Botón toggler - Estado activo */
.custom-toggler:not(.collapsed) .open-icon {
    opacity: 0 !important;
    transform: rotate(180deg) !important;
}

.custom-toggler:not(.collapsed) .close-icon {
    opacity: 1 !important;
    transform: rotate(0) !important;
    color: var(--color-vinotinto);
}

/* Menú desplegable móvil */
@media (max-width: 991px) {
    .custom-navbar-collapse {
        background: var(--menu-mobile-bg);
        
    }
    
    .main-navigation .nav-link {
        color: var(--color-vinotinto) !important;
        font-weight: 600;
    }
    
    .main-navigation .nav-link:hover,
    .main-navigation .nav-link:focus {
        background: rgba(109, 7, 26, 0.1) !important;
    }
    
    .nav-link::before {
        background: var(--color-vinotinto);
    }
    
    .custom-toggler:not(.collapsed) {
        border-color: var(--color-vinotinto);
    }
}

/* Asegurar transición suave de iconos */
.custom-toggler-icon i {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
}
@media (max-width: 991px) {
    .custom-navbar-collapse {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* custom.css */
@media (max-width: 991px) {
    .custom-navbar-collapse {
        background: white !important;
        border-radius: 20px;
        margin: 0;
        box-shadow: 0 8px 32px rgba(109, 7, 26, 0.2);
        display: flex;
        align-items: center;
        justify-content: center !important;
    }
    
    .custom-menu-wrapper {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-link {
        background: var(--color-vinotinto) !important;
        color: white !important;
        margin: 10px 0;
        padding: 15px 30px !important;
        border-radius: 50px !important;
        box-shadow: 0 4px 15px rgba(109, 7, 26, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .nav-link:hover {
        transform: scale(1) !important;
        box-shadow: 0 6px 20px rgba(109, 7, 26, 0.4);
        z-index: 1;
    }
	    .custom-menu-wrapper ul li a {display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 1rem;
        background: #bfbfbf45;
        border-radius: 6px;
		}
} 



/* ================================================== */
/* Header Full Width */
/* ================================================== */
.header.container-header.full-width {
    width: 100%;
    background: url('/images/Fondos/maya_cabecera.png')26% 50%; /* Añade tu imagen de fondo */
    position: relative;
}

/* Contenedor principal */
.container-header .container-xl {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center; /* Centrado vertical */
    min-height: 100px; /* Altura del header */
}

/* Navbar personalizado */
.custom-nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Logo a la izquierda - Menú a la derecha */
    align-items: center;
    padding: 0 15px;
}

.custom-navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}
.container-header .navbar-toggler{color:black !important;}

/* Logo centrado verticalmente */
.custom-navbar-brand {
    display: flex !important;
    align-items: center;
    margin-right: auto; /* Empuja el menú a la derecha */
}

/* Menú desktop */
.custom-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Menú móvil centrado */
@media (max-width: 991px) {
    .custom-nav-container {
        justify-content: center; /* Centra logo y botón hamburguesa */
    }
    
    .custom-navbar-collapse {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 95% !important;
    }
    
    .custom-navbar-brand {
        margin-right: 0; /* Elimina margen en móvil */
    }
}

@media (max-width: 427px) {
  .logo{
    height: 80px; /* más pequeño para que no empuje el menú */
  }
}
@media (max-width: 325px) {
  .logo{
    height: 60px; /* más pequeño para que no empuje el menú */
  }
}

#mainNav ul li a{        color: #750200;
    font-weight: bold;}
	


/* Estilos para el menú principal */


._MenuPrincipal a {
    position: relative;
    display: inline-block;
    padding: 5px 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #750200;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
	position: relative;
    overflow: hidden;
	z-index:50;
}

/* Estilo de hover moderno */
._MenuPrincipal a::after {
     content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    bottom: 0;
    left: -100%;
    transition: left 0.3s ease-in-out;
}



/* Estilo para el botón activo */

/* Estilo para el botón activo en Joomla */
._MenuPrincipal .nav-item.active > a,
._MenuPrincipal .current > a {
    color: var(--color-primary)!important;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.7); /* Sombra azul sobre el texto */
}


._MenuPrincipal a {
    position: relative;
    overflow: hidden;
}

._MenuPrincipal a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    bottom: 0;
    left: -100%;
    transition: left 0.3s ease-in-out;
}

._MenuPrincipal a:hover::before {
    left: 0;
}




/* Menú fijo con alineación correcta */
.menu-fixed {
    position: fixed;
    top: -100px; /* Inicialmente oculto */
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px; /* Ajuste de espaciado */
    height: 60px; /* Tamaño ajustado */
    transition: top 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
}

/* Contenedor del logo y menú bien alineado */
.menu-fixed .custom-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px; /* Limita el ancho */
    margin: auto;
    padding: 0 20px; /* Asegura alineación con el contenido */
}

/* Ajustar el tamaño del logo en el menú fijo */
.menu-fixed .custom-navbar-brand img {
    max-height: 40px;
}

/* Asegurar que los elementos del menú estén alineados horizontalmente */
.menu-fixed .custom-menu-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-grow: 1;
}

/* Mantiene los elementos del menú en una sola fila */
.menu-fixed .custom-menu-wrapper ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
	
}

/* Evita que los botones del menú se deformen */
.menu-fixed .custom-menu-wrapper ul li {
    display: inline-block !important;
    white-space: nowrap !important;
}

/* ✅ Eliminar la línea debajo del botón activo */
.menu-fixed .custom-menu-wrapper ul li a {
    font-size: 0.9rem;
    padding: 5px 10px;
    text-decoration: none; /* Elimina decoraciones extra */
    border-bottom: none !important; /* Quita la línea activa */
}

/* Ocultar la línea de hover en el menú fijo */
.menu-fixed .custom-menu-wrapper ul li a::after {
    display: none !important;
}

/* Mostrar el menú fijo con efecto suave */
.menu-visible {
    top: 0 !important;
    opacity: 1 !important;
}



/* ====== Menú Fijo - Responsivo ====== */
@media (max-width: 991px) {
    .menu-fixed {
        height: 55px; /* Ajuste para móviles */
        padding: 5px 15px;
    }

    .menu-fixed .custom-navbar {
        flex-direction: row;
        justify-content: space-between; /* Asegura distribución correcta */
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }

    .menu-fixed .custom-menu-wrapper {
        display: none; /* Oculta el menú en móviles */
    }

    /* Mostrar el menú hamburguesa */
    .menu-fixed .custom-toggler {
        display: flex;
        align-items: center;
    }
}
/*desaparecer menu de arriba responsivo*/
@media (max-width: 991px) {
    .menu-fixed {
        display: none !important; /* Elimina el menú fijo de la vista */
        pointer-events: none !important; /* Evita que bloquee clics */
        position: absolute !important; /* Lo saca de la estructura del documento */
    }
}
/* ====== Menú Móvil - Asegurar diseño correcto ====== */
@media (max-width: 768px) {
    .custom-navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white!important;
        padding: 10px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
		z-index:1;
    }

    .custom-menu-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .custom-menu-wrapper ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .custom-menu-wrapper ul li {
        width: 100%;
		
    }

    .custom-menu-wrapper ul li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 1rem;
		background: #bfbfbf45;
        border-radius: 6px;
    }

    /* Estilos del botón hamburguesa */
    .custom-toggler {
        border: none;
        background: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
    }
}




.cliente-card {
    position: relative;
}

.cliente-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.05) 0%, rgba(220,53,69,0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.cliente-card:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

.cliente-card:hover .cliente-logo i {
    animation: iconPulse 1s ease infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Efecto de luz ambiental */
.cliente-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), 
                rgba(0, 123, 255, 0.08) 0%, 
                transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* Seguimiento del mouse */
.cliente-card:hover::before {
    opacity: 1;
}

/* Movimiento suave + brillo del ícono */
.cliente-card:hover {
    transform: translateY(-4px);
}

.cliente-card:hover .cliente-logo i {
    filter: 
        drop-shadow(0 2px 4px rgba(0, 123, 255, 0.2))
        brightness(1.1);
    transform: rotate(-5deg) scale(1.1);
}

/* Transición del texto */
.cliente-card:hover p {
    color: var(--color-title);
}

/* Efecto de borde dinámico */
.cliente-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.4s ease;
}

.cliente-card:hover::after {
    width: 100%;
}


/* Efecto de línea dinámica + pulso de ícono + cambio de color */
.cliente-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Línea animada de derecha a izquierda */
.cliente-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    transition: width 0.5s ease-in-out;
}

/* Efecto hover general */
.cliente-card:hover {
    transform: translateY(-3px);
}

/* Animación de línea al hover */
.cliente-card:hover::after {
    width: 100%;
}

/* Contenedor del ícono */
.cliente-logo {
    transition: all 0.3s ease;
}

/* Animación de pulso y color del ícono */
.cliente-card:hover .cliente-logo i {
    animation: iconPulse 0.8s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.2));
    color: var(--color-primary) !important;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15) rotate(-5deg);
    }
    100% {
        transform: scale(1);
    }
}

/* Cambio sutil de color en texto */
.cliente-card:hover p {
    color: var(--color-title) !important;
}

/* Efecto de fondo sutil */
.cliente-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 255, 0.9) 100%);
}

/* Transición para todos los elementos internos */
.cliente-card > * {
    transition: all 0.3s ease 0.1s;
}






.servicio-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* Ajusta según necesites */
  justify-content: center;
}

.servicio-check {
  flex: 0 0 calc(25% - 0.75rem);
  max-width: calc(25% - 0.75rem);
  box-sizing: border-box;
  cursor:pointer;
}

/* En pantallas pequeñas, cada elemento ocupará el 100% */
@media (max-width: 530px) {
  .servicio-check {
    flex: 0 0 100%;
    max-width: 100%;
	
  }
}





/***** Estilos para Servicios - Versión Mejorada *****/

.servicio-content {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.servicio-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    color: #495057;
}

/* Efectos hover y selección */
.servicio-check:hover .servicio-content {
    border-color: var(--bs-primary);
    transform: translateY(-3px);
}

input:checked + .servicio-content {
    border-color: var(--bs-primary);
    background: rgba(13, 110, 253, 0.05);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

input:checked + .servicio-content .servicio-icon {
    color: var(--bs-primary) !important;
}

/* Colores personalizados para iconos */
.fa-keyboard { color: #4dabf7; }
.fa-file-pdf { color: #e6492d; }
.fa-microphone-alt { color: #7950f2; }
.fa-chart-pie { color: #fab005; }
.fa-trash { color: #fa5252; }
.fa-shield-alt { color: #40c057; }
.fa-headset { color: #228be6; }




/*falidacion formulario*/

/* Eliminar reglas conflictivas anteriores y reemplazar por: */

.input-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    pointer-events: none;
}

.valid-feedback-icon {
    color: #28a745;
    display: none;
    font-size: 1.2rem;
}

.invalid-feedback-icon {
    color: #dc3545;
    display: none;
    font-size: 1.2rem;
}

/* Mostrar solo nuestro ícono cuando sea válido */
.form-control:not(:placeholder-shown):valid ~ .input-icons .valid-feedback-icon {
    display: block;
}

.form-control:not(:placeholder-shown):invalid ~ .input-icons .invalid-feedback-icon {
    display: block;
}

/* Eliminar efectos nativos de Bootstrap */
.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none;
    padding-right: 15px;
}

.form-control:invalid {
    box-shadow: none;
}



ul._MenuLateral {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* Contenedor principal del ítem */
ul._MenuLateral li {
    position: relative;
    overflow: visible;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Línea degradada */
ul._MenuLateral li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #dc3545);
    transition: width 0.4s ease;
    z-index: 1;
    border-radius: 2px;
}

/* Hover linea */
ul._MenuLateral li:hover::before {
    width: 100%;
}

/* Enlace */
ul._MenuLateral li a {
    display: block;
    position: relative;
    padding: 6px 10px;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none!important;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
	line-height:50px;
}

/* Hover con borde */
ul._MenuLateral li:hover a {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05), rgba(220, 53, 69, 0.05));
    transform: scale(1.003);
    letter-spacing: 0.3px;
    border-left: 3px solid transparent;
}

/* Active y current con borde izquierdo */
ul._MenuLateral li.active a,
ul._MenuLateral li.current a,
ul._MenuLateral li.Module_class a {
    color: #007bff;
    font-weight: 600;
    border-left: 4px solid #007bff;
    background: rgba(0, 123, 255, 0.05);
    box-shadow: inset 2px 0 5px rgba(0,123,255,0.1);
}

/* Sombra sutil al módulo completo */
div.Mocule_class {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 12px;
    background: #fff;
    margin: 0 auto;
    width: 100%;
}

/* Responsive */


@media (max-width: 1230px) {
    ul._MenuLateral {
        align-items: flex-start;
		font-size:14px;
    }
	}
@media (max-width: 1118px) {
    ul._MenuLateral {
        align-items: flex-start;
		font-size:12px;
    }
	}
@media (max-width: 990px) {
    ul._MenuLateral {
        align-items: flex-start;
		font-size:1em;
    }
}

@media (max-width: 768px) {
    ul._MenuLateral li:hover a {
        transform: none;
        letter-spacing: normal;
	
    }
}

@media (max-width: 600px) {
    ul._MenuLateral {
        text-align:center;
	
    }
}



/* Sistema de prefijo único: sc- */
/* ========== CONTACTO FLOTANTE ========== */
   .floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
	transition: opacity 0.3s ease;
    z-index: 9999;
}

/* Botón principal */
.floating-main-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-main-btn i {
    color: white;
    font-size: 1.8rem;
}

/* Texto flotante */
.hover-text {
    position: absolute;
    right: 75px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	pointer-events: auto;

}

.floating-main-btn:hover .hover-text {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* Botones secundarios */
.floating-buttons {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.floating-contact-container:hover .floating-buttons {
    opacity: 1;
    visibility: visible;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp { background: #25D366; }
.phone { background: #2196F3; }
.email { background: #FF5722; }

.floating-btn i {
    color: white;
    font-size: 1.5rem;
}

/* Animaciones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Hover Effects */
.floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsivo */
@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-main-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
    }
    
    .hover-text {
        display: none;
    }
}

/* Versión móvil flujos de trabajo - Menos de 768px */
@media (max-width: 767.98px) {
    .proceso-digitacion .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1.5rem;
    }

    .timeline-step {
        width: 100%;
        margin-bottom: 2rem;
        padding: 1rem;
        position: relative;
        border-radius: 0.5rem;
        min-height: auto;
        text-align: left;
    }

    .timeline-step::before {
        content: '';
        position: absolute;
        left: -1.5rem;
        top: 1.5rem;
        width: 2px;
        height: calc(100% + 2rem);
        background: #dee2e6;
    }

    .timeline-step:last-child::before {
        display: none;
    }

    .timeline-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .timeline-content i {
        font-size: 1.25rem !important;
        margin-top: 0 !important;
    }

    .timeline-content p {
        margin: 0 !important;
        font-size: 1rem;
    }

    .timeline-content small {
        display: block;
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .timeline-step.bg-primary::after,
    .timeline-step.bg-success::after,
    .timeline-step.bg-warning::after,
    .timeline-step.bg-danger::after {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 1.25rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid white;
        z-index: 1;
    }

    .timeline-step.bg-primary::after { background: #0d6efd; }
    .timeline-step.bg-success::after { background: #198754; }
    .timeline-step.bg-warning::after { background: #ffc107; }
    .timeline-step.bg-danger::after { background: #dc3545; }
}
/*centrado contacto cookies*/
.contact-help {
    text-align: center !important;
   
}
.privacy-item {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.security-list li {
    padding: 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 767px) {
    .privacy-item {
        margin-bottom: 1.5rem;
    }
    
    h4.text-primary {
        font-size: 1.25rem;
    }
    
    .security-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .security-list i {
        margin-bottom: 0.5rem;
    }
    
    .security-list strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}

@media (min-width: 768px) {
    .privacy-item {
        min-height: 380px;
    }
    
    .security-list li {
        min-height: 100px;
    }
}
/*desbordamiento contacto*/
._formulario_contacto{overflow-x: hidden;
    }

/* Estilo para centrar completamente el contenido del footer */
.footer-custom {
  display: flex;
  align-items: center;      /* Centra verticalmente */
  justify-content: center;  /* Centra horizontalmente */
  min-height: 80px;         /* Altura mínima del footer */
  text-align: center;
  padding: 1rem;
  overflow: hidden;         /* Previene scrolls extraños */
  flex-direction: column;   /* Permite que el contenido se apile si es necesario */
}

/* Versión móvil: divide el texto en dos líneas y reduce tamaño */
@media (max-width: 576px) {
  .footer-custom small {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}
