/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Corporate Color Palette - Soft & Professional */
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --text-dark: #1e293b;
    --text-light: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --gradient-soft: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-blue: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
    
    /* Fonts - More Corporate */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows - Subtle */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-secondary);
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--light-gray);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%), url('14624.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.1s forwards;
    text-align: center;
}

.hero-logo-image {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.5));
    transition: all 0.3s ease;
}

.hero-logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.6));
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: left;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
    margin-bottom: 0.3rem;
    text-align: left;
}

.title-line:nth-child(1) { 
    animation-delay: 0.2s; 
    font-size: 0.9em;
    color: var(--text-light);
    font-weight: 400;
}
.title-line:nth-child(2) { 
    animation-delay: 0.4s; 
    font-size: 1.1em;
    margin: 0.5rem 0;
}
.title-line:nth-child(3) { 
    animation-delay: 0.6s; 
    font-size: 0.9em;
    color: var(--text-light);
    font-weight: 400;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
    line-height: 1.7;
    max-width: 600px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.btn-primary, .btn-secondary {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--dark-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.4);
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

/* Hologram Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.hero-mockup-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.hero-mockup-image:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hologram-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: rotate 10s linear infinite;
}

.outer {
    width: 300px;
    height: 300px;
    border-color: var(--light-blue);
    animation-duration: 15s;
    animation-direction: reverse;
}

.middle {
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    border-color: var(--medium-blue);
    animation-duration: 10s;
}

.inner {
    width: 100px;
    height: 100px;
    top: 100px;
    left: 100px;
    border-color: var(--primary-teal);
    animation-duration: 5s;
    animation-direction: reverse;
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    animation: bounce 2s infinite;
    font-size: 0.85rem;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--primary-blue);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #1e293b;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(79, 195, 247, 0.05) 0%, transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e3a8a;
    letter-spacing: -0.8px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-icon {
    font-size: 2rem;
    color: #1e293b;
    animation: iconFloat 3s ease-in-out infinite;
    display: inline-block;
    transition: all 0.3s ease;
}

.section-title:hover .section-icon {
    animation: iconPulse 0.6s ease-in-out;
    transform: scale(1.1);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.technologies .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.technologies .section-title {
    color: var(--white);
}

.desarrollo-web .section-subtitle {
    color: #000000;
}

.services .section-title {
    color: var(--white);
}

.services .section-icon {
    color: var(--white);
}

.services-footer-text {
    text-align: center;
    margin-top: 4rem;
}

.services-footer-text p {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.btn-asesor {
    padding: 1rem 2.5rem;
    background: var(--white);
    color: #1e293b;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-asesor:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.btn-asesor i {
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .desarrollo-web-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .desarrollo-web-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.service-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: justify;
}

.service-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.service-btn:hover {
    background: var(--dark-blue);
    transform: translateX(3px);
}

.service-btn-home {
    padding: 0.875rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-primary);
    flex-shrink: 0;
}

.service-btn-home:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-btn-home:active {
    transform: translateY(0);
}

.service-btn-home i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-btn-home:hover i {
    transform: scale(1.1);
}

.service-btn-home span {
    font-weight: 600;
}

/* Desarrollo Web Section */
.desarrollo-web {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%), url('14624.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.desarrollo-web-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.desarrollo-web-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.desarrollo-web-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.desarrollo-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
}

.desarrollo-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.desarrollo-card-featured {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.desarrollo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.desarrollo-card-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.desarrollo-card-header {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    border-radius: 16px 16px 0 0;
}

.desarrollo-header-pink {
    background: #e91e63;
}

.desarrollo-header-yellow {
    background: #ffc107;
}

.desarrollo-header-blue {
    background: #00bcd4;
}

.desarrollo-icon {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.desarrollo-icon-pink {
    background: #e91e63;
}

.desarrollo-icon-yellow {
    background: #ffc107;
}

.desarrollo-icon-blue {
    background: #00bcd4;
}

.desarrollo-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin: 0 1.5rem 1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.desarrollo-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 1.5rem 1rem;
    padding: 0;
}

.desarrollo-features {
    list-style: none;
    padding: 0;
    margin: 0 1.5rem;
    text-align: left;
    width: calc(100% - 3rem);
    flex-grow: 1;
}

.desarrollo-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.desarrollo-features-pink li i {
    color: #e91e63;
    font-size: 1.1rem;
}

.desarrollo-features-yellow li i {
    color: #ffc107;
    font-size: 1.1rem;
}

.desarrollo-features-blue li i {
    color: #00bcd4;
    font-size: 1.1rem;
}

.desarrollo-price {
    margin: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.desarrollo-price-amount {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-primary);
    display: block;
}

.desarrollo-price-pink .desarrollo-price-amount {
    color: #e91e63;
}

.desarrollo-price-yellow .desarrollo-price-amount {
    color: #ffc107;
}

.desarrollo-price-blue .desarrollo-price-amount {
    color: #00bcd4;
}

.desarrollo-price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    display: block;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.desarrollo-btn {
    width: calc(100% - 3rem);
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 1.5rem 1.5rem;
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.desarrollo-btn-pink {
    background: #e91e63;
    color: var(--white);
}

.desarrollo-btn-pink:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.desarrollo-btn-yellow {
    background: #ffc107;
    color: #000;
}

.desarrollo-btn-yellow:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.desarrollo-btn-blue {
    background: #00bcd4;
    color: var(--white);
}

.desarrollo-btn-blue:hover {
    background: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

.desarrollo-web-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Technologies Section */
.technologies {
    padding: 6rem 0;
    background: #1e293b;
    position: relative;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

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

.benefits-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.benefits-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #1e293b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.tech-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--off-white);
}

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

.project-card {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-overlay h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.project-overlay p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.project-tech span {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

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

.contact-info h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--medium-gray);
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-logo-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 195, 247, 0.2);
}

.footer-bottom p {
    color: var(--medium-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 20, 25, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }
    
    .title-line:nth-child(1) { 
        font-size: 0.85em;
    }
    .title-line:nth-child(2) { 
        font-size: 1.05em;
        margin: 0.4rem 0;
    }
    .title-line:nth-child(3) { 
        font-size: 0.85em;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-mockup-image {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .hero-logo-image {
        height: 140px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-image {
        position: static;
    }
    
    .benefits-img {
        max-width: 100%;
    }
    
    .desarrollo-web-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .desarrollo-web-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .desarrollo-web-image {
        position: static;
    }
    
    .desarrollo-img {
        max-width: 100%;
    }
    
    .desarrollo-card-featured {
        transform: scale(1);
    }
    
    .desarrollo-card-featured:hover {
        transform: translateY(-5px);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
        letter-spacing: 0.3px;
    }
    
    .title-line:nth-child(1) { 
        font-size: 0.8em;
    }
    .title-line:nth-child(2) { 
        font-size: 1em;
        margin: 0.3rem 0;
    }
    .title-line:nth-child(3) { 
        font-size: 0.8em;
    }
    
    .hero-logo-image {
        height: 110px;
    }
    
    .section-title {
        font-size: 2rem;
        gap: 0.75rem;
    }
    
    .section-icon {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card, .contact-form {
        padding: 1.5rem;
    }
    
    .desarrollo-card-header {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .desarrollo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 1rem auto 0.75rem;
    }
    
    .desarrollo-card h3 {
        font-size: 1.1rem;
        margin: 0 1rem 0.75rem;
    }
    
    .desarrollo-card p {
        font-size: 0.85rem;
        margin: 0 1rem 1rem;
    }
    
    .desarrollo-features {
        margin: 0 1rem 1rem;
        width: calc(100% - 2rem);
    }
    
    .desarrollo-features li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .desarrollo-price {
        margin: 1rem 1rem 0.75rem;
    }
    
    .desarrollo-price-amount {
        font-size: 1.5rem;
    }
    
    .desarrollo-btn {
        width: calc(100% - 2rem);
        margin: 0 1rem 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .hologram-container {
        width: 250px;
        height: 250px;
    }
    
    .outer {
        width: 250px;
        height: 250px;
    }
    
    .middle {
        width: 170px;
        height: 170px;
        top: 40px;
        left: 40px;
    }
    
    .inner {
        width: 90px;
        height: 90px;
        top: 80px;
        left: 80px;
    }
}

/* Scroll animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility classes for animations */
.animate-slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease forwards;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Dashboard Button - Fixed Floating Button */
.dashboard-btn {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    animation: slideInRight 0.3s ease;
}

.dashboard-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.dashboard-btn i {
    font-size: 1.2rem;
}

.dashboard-btn span {
    font-weight: 600;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Module View Section */
.module-view {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: var(--off-white);
}

.module-header {
    text-align: center;
    margin-bottom: 3rem;
}

.module-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.module-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.module-placeholder {
    background: var(--white);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.module-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    animation: rotate 3s linear infinite;
}

.module-placeholder p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.module-placeholder p:first-of-type {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.module-description {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .dashboard-btn {
        top: 80px;
        right: 20px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .dashboard-btn span {
        display: none;
    }
    
    .module-title {
        font-size: 2rem;
    }
    
    .module-placeholder {
        padding: 3rem 1.5rem;
    }
    
    .module-icon {
        font-size: 3rem;
    }
}

/* AI Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    width: auto;
    min-width: 140px;
    height: 60px;
    bottom: 110px;
    right: 30px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.chatbot-toggle-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chatbot-toggle-text {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffc107;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #fff;
}

.ai-chatbot {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.ai-chatbot.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    overflow: hidden;
}

.axxel-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chatbot-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-info p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    overflow: hidden;
}

.bot-message .message-avatar {
    background: transparent;
    color: #fff;
    padding: 0;
}

.bot-message .message-avatar .axxel-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-message .message-avatar {
    background: #e2e8f0;
    color: #475569;
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    line-height: 1.5;
}

.bot-message .message-content {
    background: #fff;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border-top-right-radius: 4px;
}

.message-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.message-content p:first-child {
    margin-top: 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.recommendation-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.recommendation-card h4 {
    margin: 0 0 0.5rem 0;
    color: #1e40af;
    font-size: 1rem;
    font-weight: 700;
}

.recommendation-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.5rem 0;
}

.recommendation-card .period {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.chatbot-input-container {
    padding: 1rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.chatbot-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-toggle {
        min-width: 120px;
        height: 55px;
        bottom: 90px;
        right: 20px;
        padding: 0 12px;
        gap: 8px;
    }
    
    .chatbot-toggle-img {
        width: 35px;
        height: 35px;
    }
    
    .chatbot-toggle-text {
        font-size: 12px;
    }
    
    .ai-chatbot {
        width: calc(100% - 40px);
        height: calc(100vh - 120px);
        bottom: 100px;
        right: 20px;
        left: 20px;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ==================== LOGIN MODAL ==================== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.login-modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.login-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close:hover {
    background: var(--light-gray);
    color: var(--text-dark);
    transform: rotate(90deg);
}

#login-form .form-group {
    margin-bottom: 1.5rem;
}

#login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

#login-form .form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

#login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.login-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    border: 1px solid #fecaca;
}

/* ==================== MÓDULO DE TERCEROS ==================== */
.terceros-container {
    max-width: 1200px;
    margin: 0 auto;
}

.terceros-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
}

.terceros-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.terceros-form-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-with-button {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.input-with-button input {
    flex: 1;
}

.btn-generate {
    padding: 0.875rem 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-generate:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.terceros-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.terceros-list-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    width: 300px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box i {
    position: absolute;
    left: 0.875rem;
    color: var(--text-light);
}

.terceros-list {
    display: grid;
    gap: 1.5rem;
}

.tercero-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.tercero-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.tercero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.tercero-info-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tercero-info-main h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.tercero-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tercero-badge-cliente {
    background: #dbeafe;
    color: #1e40af;
}

.tercero-badge-proveedor {
    background: #fef3c7;
    color: #92400e;
}

.tercero-badge-otro {
    background: #e0e7ff;
    color: #3730a3;
}

.tercero-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--light-gray);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.btn-icon.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
}

.tercero-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tercero-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tercero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tercero-info-item i {
    color: var(--primary-blue);
    width: 20px;
}

.tercero-credentials {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.credential-item strong {
    color: var(--text-dark);
    min-width: 70px;
}

.credential-item code {
    background: var(--white);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-blue);
    border: 1px solid var(--light-gray);
    flex: 1;
}

.btn-copy {
    padding: 0.4rem 0.75rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover {
    background: var(--dark-blue);
    transform: scale(1.05);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.empty-state-subtitle {
    font-size: 0.95rem !important;
}

/* ==================== NOTIFICACIONES ==================== */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10001;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left-color: #10b981;
    color: #065f46;
}

.notification-success i {
    color: #10b981;
}

.notification-warning {
    border-left-color: #f59e0b;
    color: #92400e;
}

.notification-warning i {
    color: #f59e0b;
}

.notification-error {
    border-left-color: #ef4444;
    color: #991b1b;
}

.notification-error i {
    color: #ef4444;
}

.notification-info {
    border-left-color: var(--primary-blue);
    color: var(--text-dark);
}

.notification-info i {
    color: var(--primary-blue);
}

.notification span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive Terceros */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .terceros-list-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .tercero-info-row {
        grid-template-columns: 1fr;
    }
    
    .tercero-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tercero-actions {
        align-self: flex-end;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .login-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}
