.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Tamaño fluido */
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Botones con intención */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--dark);
    color: #fff;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    padding: 18px 35px;
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Barra de Logos */
.logos-bar {
    padding: 50px 0;
    border-top: 1px solid #eee;
    background: #fff;
    text-align: center;
}

.logos-bar p {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    filter: grayscale(100%); /* Logos en gris para no distraer */
    opacity: 0.6;
    flex-wrap: wrap;
    gap: 30px;
}

.logos-grid img {
    max-height: 40px;
    transition: 0.3s;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-image { order: -1; } /* La imagen sube en móvil */
    .logos-grid { justify-content: center; }
}

.solutions-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
}

.service-link:hover {
    letter-spacing: 1px;
}

/* Ajustes para tablet/móvil */
@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .services-grid { padding: 0 15px; }
}

.about-section {
    padding: 100px 0;
    background-color: var(--light-grey); /* Un fondo suave para diferenciarla */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Imagen a la izquierda, texto a la derecha */
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 450px; /* Tamaño máximo para la imagen de perfil */
    height: auto;
    border-radius: 15px; /* Bordes redondeados para un look moderno */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Sutil sombra */
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    margin-bottom: 40px;
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item span {
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1; /* Para que el ícono esté alineado con el texto */
}

.feature-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive para tablet y móvil */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Una columna en dispositivos pequeños */
        text-align: center;
    }
    .about-image {
        order: -1; /* Mueve la imagen arriba en móvil */
        margin-bottom: 40px;
    }
    .about-image img {
        margin: 0 auto; /* Centra la imagen en móvil */
    }
    .feature-item {
        justify-content: center;
    }
    .feature-item span { margin-top: 5px; } /* Ajuste de ícono si es necesario */
}

.team-section.dark-version {
    padding: 100px 0;
    background-color: #0a0a0a; /* Fondo oscuro profundo */
    color: #ffffff;
}

.text-white { color: #ffffff !important; }
.text-muted { color: #a0a0a0 !important; }

.team-section.dark-version .sub-title {
    color: var(--primary); /* Tu azul/color principal resalta mucho más aquí */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.team-card {
    background: #141414; /* Un gris muy oscuro para las tarjetas */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222; /* Borde muy sutil */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    border-color: var(--primary);
    background: #1a1a1a;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.team-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.team-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.team-card p {
    font-size: 0.95rem;
    color: #a0a0a0; /* Texto gris claro para que no canse la vista */
    line-height: 1.6;
    margin: 0;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .team-grid {
        padding: 0 15px;
    }
}

/* --- SECCIÓN RESULTADOS REALES --- */
.stats-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Un gris muy limpio para contrastar con el negro del equipo */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Efecto sutil al pasar el mouse */
.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Tamaño fluido */
    font-weight: 900;
    color: #000000; /* Negro puro para máxima legibilidad */
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif; /* O tu fuente de títulos */
}

/* El símbolo (+, -, %) en un color de acento (ej. el azul que usas) */
.stat-number::after {
    content: ''; /* Aquí podrías añadir un decorador si quisieras */
}

.stat-item p {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Decorador de línea debajo del número */
.stat-item::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: #007bff; /* Usa aquí tu color PRIMARY */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 50px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* --- SECCIÓN EXCLUSIVIDAD (FONDO OSCURO) --- */
.exclusivity-section {
    padding: 100px 0;
    background-color: #0a0a0a; /* Fondo negro profundo */
    color: #ffffff; /* Forzamos el color blanco para todo el texto de la sección */
}

.pas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Títulos y Subtítulos */
.exclusivity-section .sub-title {
    color: var(--primary); /* Tu color azul de marca */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.exclusivity-section h2 {
    color: #ffffff !important; /* Blanco puro para el título principal */
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.exclusivity-section p {
    color: #a0a0a0; /* Gris claro para los párrafos, mejora la lectura */
    font-size: 1.1rem;
    line-height: 1.7;
}

/* El Badge/Caja de Cupo Limitado */
.exclusivity-badge {
    margin-top: 40px;
    background-color: #111827; /* Azul muy oscuro/negro como en la imagen */
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #1f2937;
}

.exclusivity-badge p {
    color: #ffffff; /* Texto blanco dentro del badge */
    margin: 0;
    font-size: 1rem;
}

.exclusivity-badge strong {
    color: #ffffff;
}

/* Indicador de pulso rojo */
.pulse-icon {
    width: 10px;
    height: 10px;
    background-color: #ff4b2b; 
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 rgba(255, 75, 43, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 75, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

/* Metodología (Derecha) */
.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step {
    display: flex;
    gap: 25px;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #374151; /* Color gris oscuro para el número, que no brille tanto */
    line-height: 1;
}

.step-text h4 {
    color: #ffffff; /* Títulos de los pasos en blanco */
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-text p {
    color: #9ca3af; /* Gris para el texto de los pasos */
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .pas-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .exclusivity-section h2 {
        font-size: 2.2rem;
    }
}

.portfolio-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.portfolio-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.tech-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.portfolio-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-project {
    text-decoration: none;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.view-project:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.final-cta-section {
    padding: 100px 0;
    background-color: #f4f7f6;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #0a0a0a;
    padding: 60px;
    border-radius: 30px;
    align-items: center;
    color: #fff;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.cta-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff !important;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.benefit-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    border: 1px solid rgba(0, 123, 255, 0.3);
}



/* --- SECCIÓN CONTACTO (TOTAL BLACK) --- */
.final-cta-section {
    padding: 120px 0;
    background-color: #000000; /* Negro absoluto */
    color: #ffffff; /* Texto blanco puro */
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #ffffff !important;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Botón WhatsApp Minimalista */
.cta-action {
    text-align: center;
}

.btn-whatsapp-minimal {
    display: inline-block;
    background-color: #ffffff; /* Botón blanco para resaltar sobre el fondo negro */
    color: #000000; /* Texto negro */
    text-decoration: none;
    padding: 22px 45px;
    border-radius: 5px; /* Bordes más rectos y técnicos */
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-whatsapp-minimal:hover {
    background-color: #000000;
    color: #ffffff;
}

.direct-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #ffffff;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

