/* Reset y Variables */
:root {
    --primary-color: #1a4d3a;
    --secondary-color: #2d5a47;
    --accent-color: #4a9b7a;
    --dark-bg: #0a1a14;
    --light-bg: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Logo Flotante */
.floating-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 2000;
    pointer-events: none;
    opacity: 1 !important;
    padding: 20px 30px;
    background: rgba(10, 26, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.floating-logo:hover {
    background: rgba(10, 26, 20, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.logo-white {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: var(--transition);
    display: block;
}

.floating-logo:hover .logo-white {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .floating-logo {
        left: 20px;
        top: 15px;
        padding: 15px 20px;
    }
    
    .logo-white {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .floating-logo {
        left: 15px;
        top: 10px;
        padding: 12px 18px;
        border-radius: 15px;
    }
    
    .logo-white {
        height: 100px;
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 26, 20, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-login:hover {
    background: #3a8a6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 155, 122, 0.3);
}

.btn-login::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section con Carrusel Vertical */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.carousel-vertical {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 26, 20, 0.8) 0%, rgba(26, 77, 58, 0.6) 100%);
    z-index: 2;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(74, 155, 122, 0.4);
}

.btn-primary:hover {
    background: #3a8a6a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 155, 122, 0.6);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* Secciones */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.section-title-large {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 2rem;
}

/* Sección Nosotros */
.section-about {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 6rem 0;
}

/* Misión y Visión */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.mission-vision-item {
    padding: 2rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Porqué nos eligen - Diseño Horizontal */
.why-choose-section {
    margin-top: 4rem;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.why-choose-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

.why-choose-card:hover .why-choose-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.why-choose-content {
    padding: 1.5rem 2rem;
    min-height: auto;
}

.why-choose-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    line-height: 1.3;
}

.why-choose-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Sección Servicios */
.section-services {
    background: var(--light-bg);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://247consultores.pe/web/imagenes/banner2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 0;
}

.section-services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.section-services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 155, 122, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Sección Ecosistema */
.section-ecosystem {
    background: linear-gradient(135deg, #0d2b1f 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 6rem 0;
}

.ecosystem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ecosystem-text {
    padding: 2rem;
}

.ecosystem-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ecosystem-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #2d8f5f);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(74, 155, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.ecosystem-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ecosystem-icon {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.section-title-ecosystem {
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ecosystem-description {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(74, 155, 122, 0.3);
}

.partnership {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.partnership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), #2d8f5f);
    border-radius: 0 4px 4px 0;
}

.partnership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.partnership-icon {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(74, 155, 122, 0.3));
}

.partnership-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partnership-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.partnership-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

.powered-by-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(74, 155, 122, 0.2) 0%, rgba(45, 143, 95, 0.2) 100%);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(74, 155, 122, 0.2);
    transition: all 0.3s ease;
}

.powered-by-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 155, 122, 0.3);
    border-color: #2d8f5f;
}

.powered-by-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.powered-by-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.powered-by-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(74, 155, 122, 0.5);
}

.powered-by-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 155, 122, 0.3) 0%, transparent 70%);
    animation: pulse-glow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.ecosystem-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* Sección Estadísticas */
.section-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 155, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 155, 122, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 3rem 2rem;
    background: var(--text-light);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), rgba(74, 155, 122, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 155, 122, 0.2);
    border-color: var(--accent-color);
}

.stat-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
}

.stat-item.animate .stat-icon-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.stat-icon {
    color: var(--accent-color);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    opacity: 0.6;
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(74, 155, 122, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -2px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--text-dark);
}

/* Sección Nuestros Clientes */
.section-clients {
    background: var(--light-bg);
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.client-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--text-light);
    width: 100%;
    max-width: 100%;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.client-media {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.client-image,
.client-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.client-card:hover .client-image,
.client-card:hover .client-video {
    transform: scale(1.1);
}

.client-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.client-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: background 0.4s ease;
}

.client-card:hover .client-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.client-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.client-card:hover .client-content {
    transform: translateY(0);
}

.client-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.client-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.client-card:hover .client-description {
    opacity: 1;
    transform: translateY(0);
}

.clients-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Sección Artículos */
.section-articles {
    background: var(--light-bg);
    padding: 6rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-content {
    padding: 2rem;
}

.article-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.article-excerpt {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.article-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 155, 122, 0.4);
    border-color: var(--accent-color);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (min-width: 1400px) {
    .container {
        max-width: 1800px;
        padding: 0 60px;
    }
    
    .why-choose-grid {
        gap: 3rem;
    }
    
    .services-grid {
        gap: 3rem;
    }
}

@media (max-width: 1400px) {
    .why-choose-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 968px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        gap: 1rem;
    }

    .navbar-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
    
    .client-card {
        width: 100%;
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .ecosystem-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ecosystem-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .ecosystem-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .section-title-ecosystem {
        font-size: 2rem;
    }
    
    .ecosystem-description {
        font-size: 1rem;
    }
    
    .partnership {
        padding: 2rem;
    }
    
    .partnership-title {
        font-size: 1.1rem;
    }
    
    .partnership-text {
        font-size: 0.95rem;
    }
    
    .powered-by-badge {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
    
    .powered-by-name {
        font-size: 1.2rem;
    }
    
    .ecosystem-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-services::before {
        background-attachment: scroll;
    }

    .section-title-large {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .section-clients {
        padding: 4rem 0;
    }
    
    .section-clients .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        padding: 0;
    }
    
    .client-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .client-media {
        height: 500px;
        width: 100%;
    }
    
    .client-image,
    .client-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .client-content {
        padding: 1.5rem;
    }
    
    .client-title {
        font-size: 1.3rem;
    }
    
    .client-description {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .ecosystem-products {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-header {
        flex-direction: row;
        align-items: center;
    }
    
    .ecosystem-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .section-title-ecosystem {
        font-size: 1.8rem;
    }
    
    .ecosystem-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .partnership {
        padding: 1.5rem;
    }
    
    .partnership-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .partnership-title {
        font-size: 1rem;
    }
    
    .partnership-text {
        font-size: 0.9rem;
    }
    
    .powered-by-badge {
        padding: 0.7rem 1.2rem;
        width: 100%;
    }
    
    .powered-by-label {
        font-size: 0.65rem;
    }
    
    .powered-by-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .section-services::before {
        background-attachment: scroll;
    }

    section {
        padding: 3rem 0;
    }
}

/* Animaciones de scroll */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Página de Artículo Individual */
.article-page {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.article-single {
    background: var(--text-light);
}

.article-header {
    position: relative;
    margin-bottom: 3rem;
}

.article-hero-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 26, 20, 0.3), rgba(10, 26, 20, 0.7));
}

.article-meta {
    padding: 2rem 0 1rem;
    color: var(--text-gray);
}

.article-single .article-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
}

.article-body {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.related-articles {
    background: var(--light-bg);
    padding: 4rem 0;
    margin-top: 3rem;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: whatsapp-pulse 2s infinite;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(15deg) scale(1.1);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.6);
    animation: whatsapp-ring 2s infinite;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsapp-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive para botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 35px;
        height: 35px;
    }
}

