
/* Reset general y prevenciÃ³n de overflow */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}












/* Ojo la animación de esta sección no funciona */













/* Clases para animaciones */
.jeigg-consult-intro, .jeigg-consult-services, .jeigg-consult-benefits, .jeigg-consult-cta, .jeigg-service-card, .jeigg-benefit-card {
    opacity: 1;
    transform: translateY(30px);
    /*transition: opacity 0.8s ease, transform 0.8s ease;*/
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.jeigg-consult-intro:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    opacity: 0.8;
}

/* Separadores decorativos */
.jeigg-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 30px;
    width: 100%;
    max-width: 400px;
}

.jeigg-separator-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255, 0, 0, 0.3);
}

.jeigg-separator-icon {
    margin: 0 15px;
    color: #ff0000;
    font-size: 1.5rem;
}

.jeigg-separator-small {
    width: 50px;
    margin: 15px auto;
}

.jeigg-separator-line-small {
    display: block;
    height: 3px;
    background-color: #ff0000;
    margin: 0;
}



/* IntroducciÃ³n */
.jeigg-consult-intro {
    padding: 50px 20px;
    background-color: #f9f9f9;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.85)), url('../img/consultoria-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.jeigg-intro-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.jeigg-intro-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jeigg-intro-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Servicios de ConsultorÃ­a */
.jeigg-consult-services {
    padding: 100px 20px;
    background-color: #222;
    background-image: url('../img/pattern-dark.png');
    background-size: 200px;
    color: white;
    text-align: center;
    position: relative;
}

.jeigg-services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.85);
    z-index: 1;
}

.jeigg-services-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.jeigg-services-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jeigg-services-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.jeigg-service-card {
    background-color: #222;
    border-radius: 8px;
    padding: 40px 20px;
    width: calc(33.333% - 20px);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.jeigg-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 0, 0, 0.3);
}

.jeigg-service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #ff0000, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.jeigg-service-card:hover:before {
    transform: scaleX(1);
}

.jeigg-service-icon {
    margin-bottom: 25px;
    background-color: rgba(255, 0, 0, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.jeigg-service-card:hover .jeigg-service-icon {
    background-color: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.jeigg-service-icon i {
    color: #ff0000;
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.jeigg-service-card:hover .jeigg-service-icon i {
    color: #ff3333;
}

.jeigg-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
    transition: color 0.3s ease;
}

.jeigg-service-card:hover h3 {
    color: #ff9999;
}

.jeigg-service-card p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Beneficios de la ConsultorÃ­a */
.jeigg-consult-benefits {
    padding: 100px 20px;
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
}

.jeigg-benefits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.jeigg-benefits-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jeigg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.jeigg-benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.jeigg-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.jeigg-benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.jeigg-benefit-card:hover .jeigg-benefit-icon {
    background-color: rgba(255, 0, 0, 0.2);
}

.jeigg-benefit-icon i {
    color: #ff0000;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.jeigg-benefit-card:hover .jeigg-benefit-icon i {
    transform: scale(1.1);
}

.jeigg-benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
}

.jeigg-benefit-card p {
    font-size: 1rem;
    color: #666;
}

/* CTA ConsultorÃ­a */
.jeigg-consult-cta {
    padding: 100px 20px;
    background-color: #222;
    background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0.85), rgba(34, 34, 34, 0.85)), url('../img/cta-consultoria-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.jeigg-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.jeigg-cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jeigg-cta-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.7;
}

.jeigg-cta-button {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 15px 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.jeigg-cta-button:hover {
    background-color: transparent;
    border-color: #ff0000;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* AnimaciÃ³n de Fade In */
.jeigg-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Media queries para responsividad */
@media screen and (max-width: 992px) {
    .jeigg-services-list {
        flex-wrap: wrap;
    }
    
    .jeigg-service-card {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .jeigg-service-card {
        width: 100%;
    }
    
    .jeigg-intro-content h2,
    .jeigg-services-content h2,
    .jeigg-benefits-content h2,
    .jeigg-cta-content h2 {
        font-size: 2.2rem;
    }
}

/* Media queries para responsividad */
@media (max-width: 1024px) {
    .jeigg-services-list {
        gap: 20px;
    }
    
    .jeigg-service-card {
        width: calc(50% - 20px);
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .jeigg-intro-content h2, .jeigg-services-content h2, .jeigg-benefits-content h2, .jeigg-cta-content h2 {
        font-size: 2.5rem;
    }
    
    .jeigg-intro-content p, .jeigg-cta-content p {
        font-size: 1.1rem;
    }
    
    .jeigg-services-list {
        flex-direction: column;
        align-items: center;
    }
    
    .jeigg-service-card {
        width: 100%;
        max-width: 400px;
    }
    
    .jeigg-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .jeigg-consult-intro, .jeigg-consult-services, .jeigg-consult-benefits, .jeigg-consult-cta {
        padding: 70px 20px;
    }
}

@media (max-width: 576px) {
    .jeigg-intro-content h2, .jeigg-services-content h2, .jeigg-benefits-content h2, .jeigg-cta-content h2 {
        font-size: 2rem;
    }
    
    .jeigg-intro-content p, .jeigg-cta-content p {
        font-size: 1rem;
    }
    
    .jeigg-service-icon, .jeigg-benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .jeigg-service-icon i, .jeigg-benefit-icon i {
        font-size: 1.8rem;
    }
}

/* Media queries mejorados para la secciÃ³n Hero */
@media (max-width: 1200px) {
    .jeigg-hero-content {
        padding-inline: 100px;
    }
}

@media (max-width: 768px) {
    .jeigg-consult-hero {
        height: 500px;
    }
    
    .jeigg-hero-content {
        padding-inline: 30px;
    }
    
    .jeigg-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .jeigg-hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .jeigg-consult-hero {
        height: 400px;
    }
    
    .jeigg-hero-content h1 {
        font-size: 2rem;
    }
    
    .jeigg-hero-content p {
        font-size: 1rem;
    }
}

/* Mejoras adicionales para dispositivos pequeÃ±os */
@media (max-width: 400px) {
    .jeigg-service-card, .jeigg-benefit-card {
        padding: 20px 15px;
    }
    
    .jeigg-service-icon, .jeigg-benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .jeigg-service-icon i, .jeigg-benefit-icon i {
        font-size: 1.5rem;
    }
    
    .jeigg-cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .jeigg-intro-content h2, .jeigg-services-content h2, .jeigg-benefits-content h2, .jeigg-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .jeigg-separator {
        max-width: 300px;
    }
}

/* Mejora responsiva para la secciÃ³n de introducciÃ³n */
@media (max-width: 576px) {
    .jeigg-consult-intro {
        padding: 60px 15px;
    }
    
    .jeigg-intro-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Ajustes adicionales para las secciones de servicios y beneficios */
@media (max-width: 480px) {
    .jeigg-consult-services, .jeigg-consult-benefits, .jeigg-consult-cta {
        padding: 50px 15px;
    }
    
    .jeigg-service-card h3, .jeigg-benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .jeigg-service-card p, .jeigg-benefit-card p {
        font-size: 0.9rem;
    }
}

/* Media queries mejorados */
@media (max-width: 1200px) {
    .jeigg-hero-content {
        padding-inline: 100px;
    }
}

@media (max-width: 992px) {
    .jeigg-services-list {
        flex-wrap: wrap;
    }
    
    .jeigg-service-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    /* Ajustes generales */
    body, .jeigg-consult-hero, .jeigg-hero-content, .jeigg-consult-intro, 
    .jeigg-consult-services, .jeigg-consult-benefits, 
    .jeigg-consult-cta, footer {
        width: 100vw;
        max-width: 100%;
    }
    
    /* Hero section */
    .jeigg-consult-hero {
        height: 500px;
    }
    
    .jeigg-hero-content {
        padding-inline: 20px !important;
    }
    
    .jeigg-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .jeigg-hero-content p {
        font-size: 1.1rem;
    }
    
    /* Servicios */
    .jeigg-services-list {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .jeigg-service-card {
        width: 100% !important;
        margin: 10px 0;
        padding: 25px 15px;
    }
    
    /* Contenido general */
    .jeigg-intro-content h2, .jeigg-services-content h2, 
    .jeigg-benefits-content h2, .jeigg-cta-content h2 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .jeigg-intro-content p, .jeigg-cta-content p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Padding sections */
    .jeigg-consult-intro, .jeigg-consult-services, 
    .jeigg-consult-benefits, .jeigg-consult-cta {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .jeigg-consult-hero {
        height: 400px;
    }
    
    .jeigg-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .jeigg-hero-content p {
        font-size: 0.9rem;
    }
    
    .jeigg-service-card, .jeigg-benefit-card {
        padding: 20px 15px;
    }
    
    .jeigg-service-icon, .jeigg-benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .jeigg-service-icon i, .jeigg-benefit-icon i {
        font-size: 1.5rem;
    }
    
    .jeigg-cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .jeigg-intro-content h2, .jeigg-services-content h2, 
    .jeigg-benefits-content h2, .jeigg-cta-content h2 {
        font-size: 1.6rem;
    }
}