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

: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
   ============================================================ */
header.header-concilia { 
    background: #ffffff !important; 
    height: 110px !important;
    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;
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative; 
    padding: 0 40px; 
}

.logo-center { 
    position: relative !important;
    z-index: 20; 
    overflow: visible !important;
}

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

.cta-floating { 
    position: fixed !important;
    left: 50% !important; 
    top: 110px !important;
    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;
    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);
}

/* ============================================================
   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-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
   ============================================================ */
#servicios { padding: 90px 0; background-color: var(--color-bg-light); }
.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 i { color: white; font-size: 1.5rem; }
.card-flotante h3 { font-size: 1.35rem; margin: 15px 0 10px 0; }
.card-flotante p { color: #666666; font-size: 0.95rem; }

/* ============================================================
   5. LOGO SLIDER
   ============================================================ */
.logo-slider { overflow: hidden; padding: 30px 0; background: white; width: 100%; }
.logo-track { display: flex; width: max-content; animation: logo-scroll 60s 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. METODOLOGÍA
   ============================================================ */
.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);
}

/* ============================================================
   7. FOOTER
   ============================================================ */
#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.5fr; gap: 40px; margin-bottom: 60px; align-items: start; }
.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; }
.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); }

.footer-title { color: white; font-family: var(--font-titles); font-size: 1.2rem; font-weight: 800; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--color-accent); }

.footer-links, .contact-list { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b0b0c0; text-decoration: none; transition: 0.3s; font-size: 0.95rem; display: inline-block; }
.footer-links a:hover { color: var(--color-accent); padding-left: 5px; }

.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.contact-list i { width: 20px; color: var(--color-accent); }
.contact-list a { color: #b0b0c0; text-decoration: none; transition: 0.3s; }
.contact-list a:hover { color: white; }

.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; }
    .green-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 2.2rem; }
    .purple-title { font-size: 1.8rem; }
    .logo-track img { width: 100px; margin: 0 15px; }
    .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; }
}

@media (max-width: 576px) {
    .hero-text h1 { font-size: 1.8rem; }
    .purple-title { font-size: 1.5rem; }
}