/* CSS Variables for Theme Switching */
:root {
    /* Light Theme */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --success-color: #10b981;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --cursor-gradient: radial-gradient(circle at 60% 40%, #e0e7ffcc 70%, #7b5cff44 100%);
    --cursor-shadow: 0 0 32px 8px #7b5cff44, 0 0 0 2.5px #fff, 0 0 0 8px #7b5cff22;
    --cursor-border: #fff;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --cursor-gradient: radial-gradient(circle at 60% 40%, #e0e7ffcc 70%, #7b5cff44 100%);
    --cursor-shadow: 0 0 32px 8px #7b5cff44, 0 0 0 2.5px #fff, 0 0 0 8px #7b5cff22;
    --cursor-border: #fff;
}

[data-theme="light"] {
    --cursor-gradient: radial-gradient(circle at 60% 40%, #23283aee 70%, #111827cc 100%) !important;
    --cursor-shadow: 0 0 16px 6px #23283a55, 0 0 0 2.5px #23283a, 0 0 0 8px #0002 !important;
    --cursor-border: #23283a !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    padding-top: 70px; /* Account for fixed navbar */
}

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

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Active navigation styles */
.nav-link.active {
    color: var(--primary-color);
}

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

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: rotate(180deg);
}

.theme-toggle .fa-sun {
    color: #f59e0b;
}

.theme-toggle .fa-moon {
    color: #3b82f6;
}

/* Theme transition overlay */
.theme-transition {
    position: fixed;
    width: 100px;
    height: 100px;
    background: var(--bg-primary);
    z-index: 9998;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse 1.2s ease-out;
    opacity: 0.85;
    backdrop-filter: blur(1px);
    mix-blend-mode: normal;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        box-shadow: 0 0 0 30px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.floating-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.card-header {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-muted);
}

.card-dots span:nth-child(1) { background: #ef4444; }
.card-dots span:nth-child(2) { background: #f59e0b; }
.card-dots span:nth-child(3) { background: #10b981; }

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 3.5rem;
    z-index: 2;
}

.code-line {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.code-line:nth-child(1) { width: 80%; }
.code-line:nth-child(2) { width: 60%; }
.code-line:nth-child(3) { width: 90%; }
.code-line.short { width: 40%; }

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.element {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

/* Blur decorative elements */
.console-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    z-index: 1;
}
.console-blur.blur1 {
    width: 120px;
    height: 120px;
    background: #6366f1;
    top: 10%;
    left: 10%;
}
.console-blur.blur2 {
    width: 100px;
    height: 100px;
    background: #f59e0b;
    bottom: 10%;
    right: 15%;
}
.console-blur.blur3 {
    width: 80px;
    height: 80px;
    background: #ec4899;
    top: 60%;
    left: 60%;
}
.console-blur.blur4 {
    width: 60px;
    height: 60px;
    background: #10b981;
    bottom: 20%;
    left: 30%;
}

@media (min-width: 1024px) {
    .floating-card {
        min-height: 380px;
        padding: 3rem 3rem 3rem 3rem;
    }
    .card-header {
        top: 3rem;
        left: 3rem;
    }
    .card-content {
        margin-top: 4.5rem;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.section-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
}
.section-anim.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-anim.out {
    opacity: 0;
    transform: translateY(40px);
}

/* Servicios Section */
.servicios {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.servicio-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.servicio-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.servicio-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.servicio-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-card ul {
    list-style: none;
}

.servicio-card li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.servicio-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Paquetes Section */
.paquetes {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.paquetes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.paquete-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.paquete-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

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

.paquete-header {
    margin-bottom: 2rem;
}

.paquete-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.precio {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.moneda {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cantidad {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.periodo {
    font-size: 1rem;
    color: var(--text-secondary);
}

.paquete-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex: 1 1 auto;
}

.paquete-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.paquete-features li:last-child {
    border-bottom: none;
}

.paquete-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.paquete-card button.btn {
    margin-top: auto;
}

.paquete-card.personalizado {
    grid-column: 1 / -1;
    width: 100%;
    margin: 2rem auto 0 auto;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    min-height: 180px;
    padding: 2rem 2rem 2rem 2rem;
    
    border-style: solid;
    border-radius: 20px;
    gap: 2rem;
}
.paquete-card.personalizado .personalizado-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.paquete-card.personalizado .personalizado-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}
.paquete-card.personalizado .personalizado-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}
.paquete-card.personalizado .personalizado-precio {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}
.paquete-card.personalizado .personalizado-mensaje {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    line-height: 1.6;
    text-align: left;
    max-width: 500px;
}
.paquete-card.personalizado .btn {
    font-size: 1.08rem;
    padding: 0.8rem 2.2rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px 0 rgba(99,102,241,0.10);
    border-radius: 10px;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.paquete-card.personalizado .btn:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 900px) {
    .paquete-card.personalizado {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    .paquete-card.personalizado .personalizado-info,
    .paquete-card.personalizado .personalizado-mensaje {
        align-items: center;
        text-align: center;
    }
    .paquete-card.personalizado .btn {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contacto Section */
.contacto {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

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

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

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacto-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contacto-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contacto-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contacto-details a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: opacity 0.2s, text-decoration 0.2s;
}
.contacto-details a:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Form Styles */
.contacto-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: var(--bg-primary);
    padding: 0 0.5rem;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: var(--bg-primary);
    padding: 0 0.4rem;
    z-index: 2;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group select.has-value + label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: var(--bg-primary);
    padding: 0 0.4rem;
    z-index: 2;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        height: 100vh;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0 4rem 2rem;
        gap: 2rem;
        z-index: 9999;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

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

    .sidenav-close {
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 2rem;
        align-self: flex-end;
        margin-bottom: 2rem;
        margin-right: 2rem;
        cursor: pointer;
        transition: color 0.2s;
    }
    .sidenav-close:hover {
        color: var(--primary-color);
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-primary);
        padding: 0.95rem 2.2rem;
        border-radius: 12px;
        margin-bottom: 0.7rem;
        transition: background 0.18s, color 0.18s, box-shadow 0.18s;
        box-shadow: none;
    }
    .nav-menu .nav-link.active, .nav-menu .nav-link:hover {
        background: var(--gradient-primary);
        color: #fff;
        box-shadow: 0 2px 12px 0 #7b5cff22;
    }
    .nav-menu .nav-link i {
        font-size: 1.25em;
        margin-right: 0.5em;
    }
    .nav-theme-bottom {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 1.2rem 2.2rem 1.2rem 2.2rem;
    }
    .nav-theme-bottom .theme-toggle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--gradient-primary);
        color: #fff;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3em;
        box-shadow: 0 2px 12px 0 #7b5cff22;
        transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    }
    .nav-theme-bottom .theme-toggle:hover {
        background: var(--primary-color);
        color: #fff;
        box-shadow: 0 4px 18px 0 #7b5cff33;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .paquetes-grid {
        grid-template-columns: 1fr;
    }

    .paquete-card.featured {
        transform: none;
    }

    .paquete-card.featured:hover {
        transform: translateY(-10px);
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .servicio-card,
    .paquete-card {
        padding: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .paquetes-grid {
        grid-template-columns: 1fr;
    }

    .paquete-card.personalizado {
        grid-column: auto;
        margin-top: 0;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (min-width: 769px) {
    .sidenav-close {
        display: none !important;
    }
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

#progress-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, #7b5cff, #00e0ff 80%);
    box-shadow: 0 2px 8px 0 #0002;
    z-index: 800;
    border-radius: 0 8px 8px 0;
    transition: width 0.18s cubic-bezier(.4,2,.6,1);
}

#scroll-top-btn {
    position: fixed;
    right: 2.2rem;
    bottom: 2.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient, linear-gradient(135deg, #7b5cff, #00e0ff));
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px 0 #0003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 800;
    cursor: pointer;
}
#scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
#scroll-top-btn svg {
    display: block;
}
@media (max-width: 600px) {
    #scroll-top-btn {
        right: 1rem;
        bottom: 1.2rem;
        width: 42px;
        height: 42px;
    }
    #progress-bar {
        height: 4px;
    }
}

#cursor-tracker {
    position: fixed;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1200;
    background: var(--cursor-gradient);
    box-shadow: var(--cursor-shadow);
    mix-blend-mode: lighten;
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
    transition: background 0.3s, box-shadow 0.3s, opacity 0.3s, transform 0.18s cubic-bezier(.4,2,.6,1);
    will-change: transform, opacity;
    display: none;
    border: 2.5px solid var(--cursor-border);
}
@media (min-width: 1024px) {
    #cursor-tracker {
        display: block;
    }
}
[data-theme="light"] #cursor-tracker {
    background: radial-gradient(circle at 60% 40%, #23283aee 70%, #111827cc 100%) !important;
    box-shadow: 0 0 16px 6px #23283a55, 0 0 0 2.5px #23283a, 0 0 0 8px #0002 !important;
    border-color: #23283a !important;
}

.typing-cursor {
    display: inline-block;
    margin-left: 0.5px;
    color: inherit;
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0;
    animation: blink-cursor 0.8s steps(1) infinite;
    vertical-align: baseline;
}
@keyframes blink-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
} 