/*
Theme Name: Concilia Honduras Theme
Theme URI: https://concilia.group
Author: Concilia Developer
Description: Tema minimalista corporativo adaptado para Landing Page. Morado (#2e1a5e) y Blanco con acentos en Verde (#00c626).
Version: 1.0.3
*/

:root {
    --color-primary: #2e1a5e;
    --color-accent: #00c626;
    --color-bg-light: #f4f6f9;
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: #444444;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, .purple-title, .section-title {
    font-family: var(--font-titles);
    color: var(--color-primary);
    font-weight: 800;
}

/* ============================================================
   1. CABECERA sticky (FIJA Y SÓLIDA AL HACER SCROLL)
   ============================================================ */
header.header-concilia { 
    background: #ffffff !important; 
    height: 110px !important; /* Altura ideal para que el logo respire */
    position: sticky !important; 
    top: 0 !important; 
    z-index: 9999 !important; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    display: flex; 
    align-items: center; 
}

.header-grid { 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Alineación nativa al centro al remover menús laterales */
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative; 
    padding: 0 40px; 
}

/* Centrado absoluto real sin riesgos de cortes tipográficos inferiores */
.logo-center { 
    position: relative !important; /* Cambiado a relativo para alineación exacta en cabeceras limpias */
    z-index: 20; 
    overflow: visible !important;
}

.logo-center img { 
    width: 200px !important; 
    height: auto !important; 
    display: block;
    margin: 0 auto;
}

/* Solapa de conversión anclada de forma fija bajo el marco del header */
.cta-floating { 
    position: fixed !important; /* Forzado a fixed para que acompañe el scroll junto al menú */
    left: 50% !important; 
    top: 110px !important; /* Posicionado exactamente donde termina el header de 110px */
    transform: translateX(-50%) !important; 
    z-index: 9998 !important; 
}

.cta-floating a { 
    background-color: #2e1a5e !important; 
    color: #ffffff !important; 
    padding: 12px 45px !important; 
    border-radius: 0 0 15px 15px !important; /* Curvatura inferior estilo pestaña limpia */
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    text-decoration: none; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.18) !important; 
    display: block; 
    transition: all 0.3s ease; 
    border: 2px solid transparent; 
    white-space: nowrap;
}

.cta-floating a:hover { 
    background-color: #ffffff !important; 
    color: #2e1a5e !important; 
    border-bottom: 4px solid #00c626 !important; 
    transform: translateY(2px);
}

/* ============================================================
   2. HERO BANNER
   ============================================================ */
#hero {
    position: relative;
    min-height: 80vh;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    color: #ffffff;
    z-index: 1;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(46, 26, 94, 0.85), rgba(26, 15, 53, 0.6));
    z-index: 2;
}

.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-text { max-width: 650px; border-left: 5px solid var(--color-accent); padding-left: 25px; }
.hero-text h1 { color: #ffffff; font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text p { font-size: 1.15rem; margin-bottom: 35px; color: #eaeaea; }

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 6px;
    font-family: var(--font-titles);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.hero-badge-odoo {
    position: absolute;
    top: 40px; right: 40px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 10;
    transition: all 0.3s ease;
}
.hero-badge-odoo:hover { transform: translateY(-3px); border: 2px solid var(--color-accent); }

/* ============================================================
   3. INTRODUCCIÓN
   ============================================================ */
.green-block-section { padding: 80px 0; background-color: #ffffff; }
.green-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.purple-title { font-size: 2.2rem; margin-bottom: 5px; }
.green-underline { width: 120px; height: 4px; background-color: var(--color-accent); margin-bottom: 25px; }
.green-box-content { background-color: var(--color-bg-light); border-left: 5px solid var(--color-primary); padding: 30px; border-radius: 0 12px 12px 0; font-size: 1.05rem; }
.green-img-col img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 15px; box-shadow: 0 15px 35px rgba(46, 26, 94, 0.1); }

/* ============================================================
   4. SERVICIOS / BENEFICIOS CLAVE
   ============================================================ */
#servicios { padding: 90px 0; background-color: var(--color-bg-light); }
.title-wrapper-servicios { display: flex; align-items: center; gap: 20px; margin-bottom: 60px; }
.green-line { flex-grow: 1; height: 3px; background-color: var(--color-accent); }
.servicios-grid-flotante { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card-flotante { background-color: #ffffff; border-radius: 16px; padding: 40px 25px 25px 25px; position: relative; border: 1px solid #eaeaea; box-shadow: 0 8px 20px rgba(0,0,0,0.03); transition: all 0.3s ease; }
.card-flotante:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(46, 26, 94, 0.12); }
.square-flotante { position: absolute; top: -20px; left: 25px; width: 55px; height: 55px; background-color: var(--color-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(46, 26, 94, 0.3); }
.square-flotante img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.card-flotante h3 { font-size: 1.35rem; margin: 15px 0 10px 0; }
.card-flotante p { color: #666666; font-size: 0.95rem; }

/* ============================================================
   5. CLIENTES Y FRANJA SINERGIA (TICKER INFINITO)
   ============================================================ */
#clientes { background: white; padding: 0; width: 100%; overflow: hidden; }
.container-clientes-ticker { padding: 60px 0; text-align: center; }
.client-title { color: var(--color-primary); font-family: var(--font-titles); font-size: 2rem; font-weight: 800; border-bottom: 5px solid var(--color-accent); display: inline-block; margin-bottom: 50px; }

.sinergia-ticker { background-color: var(--color-primary); overflow: hidden; width: 100%; padding: 15px 0; display: flex; }
.ticker-content { display: flex; flex-wrap: nowrap; width: max-content; animation: ticker-loop 30s linear infinite; }
.ticker-content span { font-family: var(--font-titles); font-weight: 900; font-size: 1.1rem; padding: 0 40px; white-space: nowrap; text-transform: uppercase; }
.texto-morado { color: #ffffff; }
.texto-verde { color: var(--color-accent); }

@keyframes ticker-loop { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Carrusel de Logos */
.logo-slider { overflow: hidden; padding: 20px 0; background: white; width: 100%; position: relative; }
.logo-track { display: flex; width: max-content; animation: logo-scroll 30s linear infinite; align-items: center; }
.logo-track img { width: 150px; height: auto; margin: 0 30px; object-fit: contain; filter: grayscale(100%); transition: 0.3s; opacity: 0.6; }
.logo-track img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes logo-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   6. CONTACTO Y FORMULARIO (CTA)
   ============================================================ */
.contacto-section { padding: 90px 0; background-color: #ffffff; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro-text { font-size: 1.1rem; margin-bottom: 40px; color: #555555; }
.detail-item { display: flex; gap: 20px; margin-bottom: 25px; }
.icon-circle { width: 48px; height: 48px; background-color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-item h4 { font-size: 1.05rem; color: var(--color-primary); font-weight: 700; }
.detail-item p, .detail-item a { color: #666666; text-decoration: none; }
.detail-item a:hover { color: var(--color-accent); }
.contact-form-wrapper { background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); border-top: 4px solid var(--color-primary); }

/* ============================================================
   FOOTER CORREGIDO - ALINEACIÓN VERTICAL PERFECTA
   ============================================================ */

#concilia-footer {
    background-color: #1a0f35;
    color: #e0e0e0;
    padding: 80px 0 30px;
    border-top: 5px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start; /* Alinea todas las columnas desde el inicio (arriba) */
}

/* Cada columna del footer */
.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Asegura que el contenido empiece desde arriba */
}

/* Títulos del footer - TODOS IGUALES */
.footer-title {
    color: white;
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    margin-top: 0; /* Elimina cualquier margen superior */
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

/* Listas del footer */
.footer-links, .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .contact-list li {
    margin-bottom: 12px;
}

.footer-links a, .contact-list a {
    color: #b0b0c0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover, .contact-list a:hover {
    color: var(--color-accent);
    transform: translateX(3px);
}

/* Logo y descripción */
.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #b0b0c0;
}

/* Redes sociales */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    border: 1px solid var(--color-accent);
    transform: translateY(-3px);
}

/* Contacto - íconos */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list i {
    width: 20px;
    color: var(--color-accent);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #888;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: var(--color-accent);
}

.separator {
    margin: 0 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-title {
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-desc {
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 25px;
    }
}

/* ============================================================
   8. SISTEMA RESPONSIVO ADAPTADO
   ============================================================ */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 850px) {
    .green-grid, .contacto-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .hero-text h1 { font-size: 2.2rem; }
    .purple-title { font-size: 1.8rem; }
    .green-img-col { order: 2; }
    .contact-form-wrapper { padding: 25px 20px; }
    .hero-badge-odoo { top: 20px; right: 20px; padding: 8px 15px; }
    
    header.header-concilia { height: 90px !important; }
    .logo-center img { height: 45px !important; width: auto !important; }
    .header-grid { padding: 0; justify-content: center; }
    .cta-floating { top: 90px !important; }
    .logo-track img { width: 100px; margin: 0 15px; }
}

/* ============================================================
   LÍNEA DE TIEMPO (METODOLOGÍA) VERSIÓN CLARA (CONCILIA)
   ============================================================ */
.methodology-timeline-light {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}
.step-box-light {
    flex: 1; min-width: 250px;
    text-align: center; 
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
}
.step-box-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 26, 94, 0.1);
    border-color: var(--color-accent);
}
.step-number-light {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 2rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}
.step-box-light:hover .step-number-light {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-accent);
}

/* ============================================================
   CARRUSEL TESTIMONIOS VERSIÓN CLARA (CONCILIA)
   ============================================================ */
.testimonials-carousel-container-light {
    width: 100%; overflow: hidden; position: relative; padding: 20px 0; display: flex;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.testimonials-carousel-track-light {
    display: inline-flex; gap: 30px; padding-right: 30px;
    animation: scrollTestimonials 30s linear infinite;
}
.testimonials-carousel-track-light:hover { animation-play-state: paused; }
.testimonial-card-light {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    width: 320px;
    flex-shrink: 0;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex; flex-direction: column;
}
.testimonial-card-light:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 35px rgba(46, 26, 94, 0.15);
    z-index: 10;
}
.testimonial-img-light {
    width: 100%; height: 120px; object-fit: contain; padding: 20px;
    border-bottom: 2px solid #f4f6f9;
}
.testimonial-content-light { padding: 25px 20px; }
.testimonial-content-light p { font-size: 0.95rem; color: #555; font-style: italic; margin-bottom: 15px; }
.testimonial-highlight-light { color: var(--color-primary); font-weight: 800; font-size: 1.1rem; }
/* ============================================================
   CORRECCIÓN: CENTRADO ABSOLUTO DEL HERO SECTION
   ============================================================ */
section#hero {
    justify-content: center !important;
}

.hero-content {
    justify-content: center !important;
    padding-left: 0 !important; /* Quita el margen izquierdo que empujaba la caja */
}

.hero-text {
    text-align: center !important;
    border-left: none !important; /* Quita la línea lateral verde */
    padding-left: 0 !important;
    margin: 0 auto !important; /* Centra la caja horizontalmente */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centra el botón y los textos internos */
    max-width: 850px !important;
}

.hero-text h1, 
.hero-text p {
    text-align: center !important;
    width: 100% !important;
}

/* Añadir a tu style.css - Animaciones adicionales */

/* Efecto hover mejorado para cards */
.card-flotante, .step-box-light {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación de glow para botones */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Efecto parallax suave en hero */
#hero {
    background-attachment: fixed;
    background-size: cover;
}

/* Efecto de fade al hacer scroll para elementos AOS */
[data-aos] {
    pointer-events: none;
}
[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive para parallax en móviles */
@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
}

/* Animación de carga suave */
body {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}