/* --- CONFIGURACIÓN BASE --- */
:root {
    --primary-color: #2dd4bf;
    --bg-color: #020617;
    --text-color: #94a3b8;
    --title-color: #ffffff;
    --radius-global: 20px;
    --hero-pt: 140px;
    --hero-pb: 100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif; /* O la que estés usando */
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- COMPONENTES REUTILIZABLES --- */
.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}

/* --- HERO SPLIT --- */
.hero-main {
    padding: var(--hero-pt) 0 var(--hero-pb);
    background: radial-gradient(circle at 20% 30%, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    background: linear-gradient(180deg, #FFFFFF 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    max-width: 550px;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-global);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* --- BADGES (PageSpeed / Experiencia) --- */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(45, 212, 191, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 10;
    line-height: 1.2;
}

.experience-badge strong {
    font-size: 1.8rem;
    font-weight: 900;
}

.experience-badge span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- GRID DE SECCIONES (Nosotros / Beneficios / Procesos) --- */
.nosotros-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    color: var(--title-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* --- CARDS (Servicios / Pasos / Beneficios) --- */
.proceso-grid, 
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card, 
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.step-card:hover, 
.service-card:hover {
    background: rgba(45, 212, 191, 0.04);
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.step-number i, 
.card-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number i {
    transform: scale(1.2) rotate(5deg);
}

.step-title, 
.service-card-title {
    color: var(--title-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-desc {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-wrapper, 
    .nosotros-flex {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        order: 1;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-image {
        order: 2;
        justify-content: center;
    }

    .image-wrapper {
        max-width: 400px;
    }

    .experience-badge {
        right: -10px;
        bottom: -10px;
        padding: 15px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* --- ESTADO INICIAL DE LOS LOGOS --- */
.logos-confianza i {
    transition: all 0.4s ease;
    cursor: pointer;
    color: #94a3b8; /* Color gris base de tu diseño */
    opacity: 0.4;
    filter: grayscale(1);
}

/* --- EFECTO HOVER GENERAL --- */
.logos-confianza i:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-8px) scale(1.15);
}

/* --- COLORES OFICIALES (Ahora con !important para asegurar el cambio) --- */
.logos-confianza .fa-php:hover { color: #777BB4 !important; }
.logos-confianza .fa-js:hover { color: #F7DF1E !important; }
.logos-confianza .fa-python:hover { color: #3776AB !important; }
.logos-confianza .fa-aws:hover { color: #FF9900 !important; }
.logos-confianza .fa-database:hover { color: #4479A1 !important; }
.logos-confianza .fa-google:hover { color: #4285F4 !important; }