/* ========================================
   TECSOFAN - Custom Styles
   Modern Technology Company Design
   ======================================== */

:root {
    --primary-color: #0066FF;
    --secondary-color: #00C9FF;
    --success-color: #00CC77;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00C9FF 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-success: linear-gradient(135deg, #00CC77 0%, #00B894 100%);
    --shadow-sm: 0 3px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 102, 255, 0.15);
    --shadow-hover: 0 15px 50px rgba(0, 102, 255, 0.2);
    --border-radius-sm: 10px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ========================================
   GENERAL STYLES
   ======================================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Sobrescribir colores de Bootstrap para consistencia */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-info {
    color: var(--secondary-color) !important;
}

.text-warning {
    color: #FFA500 !important;
}

.text-muted {
    color: var(--text-light) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* ========================================
   NAVIGATION
   ======================================== */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
}

.navbar {
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #0066FF 0%, #00C9FF 100%) 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative !important;
    margin-bottom: 0 !important;
}

body {
    padding-top: 80px !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.tecsofan-logo {
    height: 90px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.3) saturate(1.3);
}

.tecsofan-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4) saturate(1.4) drop-shadow(0 2px 12px rgba(0, 201, 255, 0.5));
}

.nav-link {
    font-family: 'Verdana', 'Geneva', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #00C9FF !important;
    background: rgba(0, 201, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 2px;
    left: 50%;
    background: linear-gradient(90deg, #00C9FF, #0066FF);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    color: #00C9FF !important;
    background: rgba(0, 201, 255, 0.15);
}

/* Botón de contacto especial */
.nav-link.btn-contact {
    background: linear-gradient(135deg, #0066FF 0%, #00B4FF 100%);
    color: white !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    margin-left: 12px;
}

.nav-link.btn-contact:hover {
    background: linear-gradient(135deg, #0052CC 0%, #0099FF 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
    color: white !important;
}

.nav-link.btn-contact::after {
    display: none;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-features .feature-item i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.hero-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero-image i {
    color: #FFFFFF;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-preview {
    background: white;
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0.5), transparent);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

.service-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries-section {
    background: var(--light-color) !important;
}

.industry-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.3);
}

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF 0%, #00C9FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(10deg);
}

.industry-card h5 {
    color: #1a3a6b;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us-section {
    background: var(--light-color) !important;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.2);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Stat Box - Usado en páginas de clientes y otras secciones */
.stat-box {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.2);
}

.stat-box h3 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: var(--gradient-dark);
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 201, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */

.footer-section {
    background: var(--gradient-dark) !important;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) 1;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.tecsofan-logo-footer {
    height: 70px;
    width: auto;
    filter: brightness(1.3) saturate(1.3);
    transition: var(--transition);
}

.tecsofan-logo-footer:hover {
    filter: brightness(1.4) saturate(1.4);
    transform: scale(1.05);
}

.social-links a {
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    background: rgba(0, 201, 255, 0.2);
    transform: translateY(-3px);
}

.footer-section h5 {
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Animación suave para todos los enlaces */
a {
    transition: var(--transition);
}

/* Mejorar hover de botones generales */
.btn {
    transition: var(--transition);
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Estilo para iconos grandes */
.fa-10x {
    font-size: 10em !important;
}

.fa-4x, .fa-3x {
    transition: var(--transition);
}

/* ========================================
   MODAL DE CONTACTO
   ======================================== */

.modal-content {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: none;
}

.modal-header.bg-gradient-primary {
    background: linear-gradient(135deg, #0066FF 0%, #00B4FF 100%);
    padding: 1.5rem;
}

.modal-body {
    background: white;
}

.form-control, .form-select {
    border: 2px solid #e0e6ed;
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    transition: var(--transition);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.15);
}

.form-label {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 600;
}

.modal-footer {
    padding: 1.5rem;
}

.modal-footer .btn {
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background: var(--accent-color);
    border: none;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    color: white;
}

.modal-footer .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    color: white;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
    color: white;
}

/* ========================================
   PÁGINA DE CLIENTES
   ======================================== */

.clientes-hero {
    padding: 100px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.clientes-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.clientes-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.clientes-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.clientes-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.clientes-image i {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.client-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.client-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: var(--transition);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.soloverde-logo {
    background: white;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 204, 119, 0.4);
    padding: 20px;
    width: 180px;
    height: 180px;
}

.soloverde-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.ecoverde-logo {
    background: white;
    color: white;
    box-shadow: 0 8px 20px rgba(85, 239, 196, 0.4);
    padding: 20px;
    width: 180px;
    height: 180px;
}

.ecoverde-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.motorrad-logo {
    background: white;
    color: white;
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.4);
    padding: 20px;
    width: 180px;
    height: 180px;
}

.motorrad-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.client-card:hover .client-logo {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.3);
}

.client-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.client-category {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.client-description {
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.client-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-badge {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.client-card:hover .service-badge {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.client-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stat-item i {
    font-size: 1.2rem;
}

.stat-item i.text-primary {
    color: var(--primary-color) !important;
}

.stat-item i.text-success {
    color: var(--success-color) !important;
}

/* Testimonios */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.2);
}

.testimonial-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 102, 255, 0.1);
}

.testimonial-author strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-box h3 {
    color: white;
    font-weight: 700;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-box .btn-primary {
    background: white;
    color: #0066FF;
    border: none;
}

.cta-box .btn-primary:hover {
    background: #f8f9fa;
    color: #0052CC;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-dark {
    background: var(--gradient-dark) !important;
}

.shadow-primary {
    box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   PÁGINA NOSOTROS
   ======================================== */

.nosotros-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.nosotros-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.nosotros-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.nosotros-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.nosotros-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.nosotros-image i {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.historia-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(0, 102, 255, 0.1);
}

.historia-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.historia-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
}

.mision-vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    border: 2px solid transparent;
}

.mision-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.mision-vision-card .icon-wrapper {
    text-align: center;
}

.mision-vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.mision-vision-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.valor-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.valor-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.valor-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.2);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 201, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.expertise-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.porque-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.porque-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.porque-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.porque-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.porque-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cta-nosotros {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(0, 102, 255, 0.1);
}

.cta-nosotros h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.cta-nosotros .lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ========================================
   PÁGINA SERVICIOS
   ======================================== */

.servicios-hero {
    padding: 100px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.servicios-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.servicios-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.servicios-image {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.servicios-image i {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Tarjetas de Servicio Detalladas */
.servicio-detalle-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.servicio-detalle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.servicio-detalle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.servicio-detalle-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.servicio-detalle-card:hover .servicio-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.servicio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.servicio-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
}

.servicio-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.servicio-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.servicio-tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 2px solid rgba(0, 102, 255, 0.1);
}

.tech-badge {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.servicio-detalle-card:hover .tech-badge {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Metodología Cards */
.metodologia-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

.metodologia-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.metodologia-numero {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.metodologia-icon {
    margin: 2rem 0 1rem;
}

.metodologia-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.metodologia-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.metodologia-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Tecnologías Cards */
.tech-category-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.3);
}

.tech-category-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 102, 255, 0.1);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-item {
    padding: 0.5rem 0.75rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.tech-category-card:hover .tech-item {
    background: rgba(0, 102, 255, 0.1);
    padding-left: 1rem;
}

/* Casos de Éxito Cards */
.caso-exito-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    text-align: center;
}

.caso-exito-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.caso-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 204, 119, 0.3);
}

.caso-exito-card:hover .caso-icon {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 6px 20px rgba(0, 204, 119, 0.5);
}

.caso-exito-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.caso-cliente {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.caso-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.caso-results {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 102, 255, 0.1);
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-item strong {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.result-item span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .servicios-title {
        font-size: 2rem;
    }
    
    .servicios-subtitle {
        font-size: 1.1rem;
    }
    
    .servicio-detalle-card {
        margin-bottom: 1rem;
    }
    
    .metodologia-card {
        margin-bottom: 2rem;
    }
    
    .clientes-title {
        font-size: 2rem;
    }
    
    .clientes-subtitle {
        font-size: 1.1rem;
    }
    
    .client-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .nosotros-title {
        font-size: 2rem;
    }
    
    .nosotros-subtitle {
        font-size: 1.1rem;
    }
    
    .historia-card {
        padding: 2rem;
    }
    
    .cta-nosotros h2 {
        font-size: 1.8rem;
    }
}
