/* Estilos Generales */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    height: 2.8rem;
    transition: all 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    margin-left: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70rem;
    height: 70rem;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 50rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: -5rem;
    width: 50%;
    max-width: 50rem;
    z-index: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.primary-btn {
    background: white;
    color: var(--primary);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Secciones */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.section-title p {
    color: #64748b;
    max-width: 50rem;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Tarjetas de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--primary-light);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Plataforma */
.platform {
    background: var(--light);
    position: relative;
}

.platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyMzAsIDIzMCwgMjUwLCAwLjMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+') repeat;
    opacity: 0.3;
    z-index: 0;
}

.platform-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.platform-content {
    flex: 1;
    min-width: min(100%, 30rem);
}

.platform-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.platform-content p {
    color: #64748b;
    margin-bottom: 2rem;
}

.platform-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.platform-image {
    flex: 1;
    min-width: min(100%, 30rem);
    position: relative;
    perspective: 1000px;
}

.platform-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
    position: relative;
    z-index: 1;
}

.platform-image:hover .platform-img {
    transform: rotateY(0) rotateX(0);
}

.platform-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 1rem;
    top: 1rem;
    left: 1rem;
    z-index: 0;
    opacity: 0.2;
}

/* Apps */
.apps {
    text-align: center;
}

.app-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 15rem;
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.app-button i {
    font-size: 2rem;
    margin-right: 1rem;
}

.app-text {
    text-align: left;
}

.app-text span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.app-text strong {
    font-size: 1.1rem;
}

.android {
    background: linear-gradient(135deg, #3ddc84, #2bb673);
    color: white;
}

.ios {
    background: linear-gradient(135deg, #007aff, #0063cc);
    color: white;
}

/* Contacto */
.contact {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    flex: 1;
    min-width: min(100%, 30rem);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    height: 10rem;
    resize: vertical;
}

.submit-button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.contact-info {
    flex: 1;
    min-width: min(100%, 30rem);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-item div h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item div p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}

.whatsapp-button i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 0.3rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Efectos */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-image {
        opacity: 0.3;
        right: -10rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 20rem;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        padding: 5rem 2rem;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul li a {
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image {
        display: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .platform-container {
        flex-direction: column;
    }
    
    .platform-image {
        order: -1;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .app-button {
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        padding-right: 0;
    }
}

/* Páginas internas */
.internal-hero {
    padding: 7rem 0 4rem;
    background: var(--primary);
    text-align: center;
}

.internal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Soluciones */
.solution-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-category {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.solution-category:hover {
    transform: translateY(-5px);
}

.solution-header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.solution-icon {
    font-size: 1.8rem;
}

.solution-content {
    padding: 1.5rem;
}

.solution-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Servicios detallados */
.service-card.detailed {
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.8rem;
}

/* Proceso */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Páginas de detalle */
.solution-hero, .service-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: white;
}

/* Especificaciones */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Pestañas */
.feature-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tab.active {
    border-color: var(--primary);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
}

.tab-content.active {
    display: block;
}

/* Paquetes */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.package-card {
    padding: 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.package-card.featured {
    border: 2px solid var(--primary);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Proceso detallado */
.process-steps.detailed .process-step {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Cobertura */
.coverage-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.coverage-content {
    flex: 1;
    min-width: 300px;
}

.coverage-image {
    flex: 1;
    min-width: 300px;
}

.coverage-image img {
    max-width: 100%;
    border-radius: 8px;
}