/* ===========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   =========================================== */
:root {
    /* Colores Dark Mode */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-accent: #64ffda;
    --border-color: #2d3748;
    
    /* Colores Metálicos */
    --copper: linear-gradient(135deg, #b87333 0%, #cd853f 50%, #daa520 100%);
    --bronze: linear-gradient(135deg, #cd7f32 0%, #b8860b 50%, #daa520 100%);
    --silver: linear-gradient(135deg, #c0c0c0 0%, #e6e6fa 50%, #f8f8ff 100%);
    --gold: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ffa500 100%);
    --diamond: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    
    /* Sombras y efectos */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.3);
    
    /* Transiciones */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================================
   RESET Y CONFIGURACIÓN BASE
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===========================================
   NAVEGACIÓN
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
    transition: var(--transition-smooth);
}

.nav-logo .logo-img:hover {
    filter: brightness(1.3) contrast(1.2);
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-accent);
    transition: var(--transition-fast);
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /*background: */
    /*    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);*/
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

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

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

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.3));
    animation: heroLogo 3s ease-out;
}

@keyframes heroLogo {
    0% { opacity: 0; transform: scale(0.8) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-accent);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--text-accent) 0%, #4ade80 100%);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease-out 1.5s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #4ade80 0%, var(--text-accent) 100%);
}

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

/* ===========================================
   SECCIONES GENERALES
   =========================================== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* ===========================================
   SERVICIOS
   =========================================== */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-accent);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--text-accent), #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--bg-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-more {
    background: transparent;
    color: var(--text-accent);
    border: 2px solid var(--text-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.service-more:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
    transform: scale(1.05);
}

/* ===========================================
   METODOLOGÍA
   =========================================== */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.method-card {
    background: rgba(22, 33, 62, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.method-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--text-accent) 0%, transparent 70%);
    opacity: 0.1;
    transition: var(--transition-slow);
}

.method-card:hover::after {
    transform: scale(3);
    opacity: 0.2;
}

.method-number {
    width: 60px;
    height: 60px;
    background: var(--diamond);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
}

.method-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.method-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.method-more {
    background: transparent;
    color: var(--text-accent);
    border: 2px solid var(--text-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.method-more:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
}

/* ===========================================
   MEMBRESÍAS METÁLICAS
   =========================================== */
.memberships {
    background: var(--bg-secondary);
    position: relative;
}

.membership-note {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(16, 33, 62, 0.5);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.membership-note i {
    color: var(--text-accent);
    margin-right: 0.5rem;
}

.tax-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.membership-card {
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(15px);
}

/* Efectos metálicos específicos */
.membership-card.copper {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-image: var(--copper) 1;
}

.membership-card.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-image: var(--bronze) 1;
}

.membership-card.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-image: var(--silver) 1;
}

.membership-card.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-image: var(--gold) 1;
}

.membership-card.diamond {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-image: var(--diamond) 1;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, rgba(100, 255, 218, 0.3) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

.membership-card:hover::before {
    opacity: 1;
}

.membership-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.membership-tier {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.membership-tier i {
    font-size: 1.3rem;
}

.copper .membership-tier i { color: #cd853f; }
.bronze .membership-tier i { color: #cd7f32; }
.silver .membership-tier i { color: #c0c0c0; }
.gold .membership-tier i { color: #ffd700; }
.diamond .membership-tier i { color: #3b82f6; }

.membership-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-accent);
    line-height: 1;
}

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

.membership-features {
    list-style: none;
}

.membership-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.membership-features i {
    color: var(--text-accent);
    font-size: 0.9rem;
}

/* Membresía de Mantenimiento */
.maintenance-section {
    background: rgba(16, 33, 62, 0.5);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 3rem;
}

.maintenance-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-accent);
}

.maintenance-card {
    max-width: 400px;
    margin: 2rem auto;
}

.maintenance-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.maintenance-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-accent);
}

.maintenance-price .or {
    color: var(--text-secondary);
    font-style: italic;
}

.maintenance-features {
    list-style: none;
    text-align: left;
}

.maintenance-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.maintenance-features i {
    color: var(--text-accent);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.5);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    margin-top: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===========================================
   CASOS DE ÉXITO
   =========================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-accent);
    box-shadow: var(--shadow-glow);
}

.case-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    background: white;
    padding: 0.5rem;
}

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

.case-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.case-more {
    background: transparent;
    color: var(--text-accent);
    border: 2px solid var(--text-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.case-more:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

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

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

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition-smooth);
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-link.facebook::before {
    background: #1877f2;
}

.social-link.facebook:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.social-link.linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
    border: 1px solid rgba(10, 102, 194, 0.3);
}

.social-link.linkedin::before {
    background: #0a66c2;
}

.social-link.linkedin:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.twitter:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 161, 242, 0.3);
}

.social-link.github {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.social-link.github::before {
    background: #5865f2;
}

.social-link.github:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.social-link:hover::before {
    transform: scale(1);
}

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

/* ===========================================
   CHAT OMEGA
   =========================================== */
.omega-chat {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transform: translateY(100%) scale(0.8);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.omega-chat.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    border-radius: 20px 20px 0 0;
    background: rgba(16, 33, 62, 0.8);
}

.omega-avatar {
    width: 40px;
    height: 40px;
    background: var(--diamond);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.chat-title h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

.chat-title span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-close:hover {
    color: var(--text-accent);
}

.chat-messages {
    padding: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.message-avatar {
    width: 30px;
    height: 30px;
    background: var(--diamond);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
}

.message-content p {
    background: rgba(16, 33, 62, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
    background: rgba(16, 33, 62, 0.8);
    border-radius: 15px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-accent);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    background: rgba(16, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.chat-input input::placeholder {
    color: var(--text-secondary);
}

.chat-input input:focus {
    border-color: var(--text-accent);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--text-accent);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    background: #4ade80;
    transform: scale(1.1);
}

/* ===========================================
   BOTÓN WHATSAPP OMEGA
   =========================================== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.omega-symbol {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===========================================
   MODALES
   =========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 26, 46, 0.8);
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 1;
}

.modal-close:hover {
    background: var(--text-accent);
    color: var(--bg-primary);
}

#modal-body {
    padding: 3rem;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 1200px) {
    .memberships-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .memberships-grid .membership-card:nth-child(4),
    .memberships-grid .membership-card:nth-child(5) {
        grid-column: span 1;
    }
    
    .memberships-grid .membership-card:nth-child(5) {
        grid-column: 2;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        backdrop-filter: blur(20px);
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-logo {
        height: 80px;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .memberships-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .memberships-grid .membership-card:nth-child(5) {
        grid-column: span 2;
    }

    .omega-chat {
        width: 320px;
        right: 20px;
    }

    .container {
        padding: 0 1.5rem;
    }
}

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

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

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

    .memberships-grid .membership-card:nth-child(5) {
        grid-column: span 1;
    }

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

    .maintenance-price {
        flex-direction: column;
        gap: 0.5rem;
    }

    .omega-chat {
        width: 300px;
        right: 15px;
        bottom: 90px;
    }

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-logo {
        height: 60px;
    }

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

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

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

    .service-card,
    .method-card {
        padding: 1.5rem;
    }

    .membership-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .omega-chat {
        width: 280px;
        right: 10px;
        bottom: 85px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        right: 20px;
    }

    .omega-symbol {
        font-size: 1.5rem;
    }
}

/* ===========================================
   UTILIDADES Y ANIMACIONES ADICIONALES
   =========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-smooth);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-smooth);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
}

/* Selección de texto */
::selection {
    background: rgba(100, 255, 218, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(100, 255, 218, 0.3);
    color: var(--text-primary);
}