/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary: #7c3aed;
    --primary-light: #8b5cf6;
    --primary-dark: #6d28d9;
    --accent: #06ffa5;
    --accent-hover: #00e695;
    --dark: #0a0a0a;
    --dark-light: #111111;
    --dark-card: #1a1a1a;
    --dark-border: #2a2a2a;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #06ffa5 100%);
    --gradient-accent: linear-gradient(135deg, #06ffa5 0%, #00e695 100%);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   CURSOR PERSONALIZADO
   ============================================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition);
    backdrop-filter: none;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    line-height: 1;
    margin-right: auto;
}

.navbar-logo {
    height: 115px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--gray-light) !important;
    font-weight: 500;
    margin-left: 2rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--white) !important;
}

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

.btn-contact {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 30px;
    margin-left: 2rem;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Ícono hamburguesa visible */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Fondo oscuro en el menú móvil abierto */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin-top: 0.75rem;
        border: 1px solid var(--dark-border);
    }

    .navbar.scrolled .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 255, 165, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    animation: particlesMove 20s linear infinite;
}

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

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

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    opacity: 0;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
}

.hero-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
}

.hero-buttons {
    opacity: 0;
}

/* Botones */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-glow {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark-border);
    color: var(--white);
    padding: calc(1rem - 2px) 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 120px 0;
    position: relative;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ============================================
   SERVICIOS
   ============================================ */
.services {
    background: var(--dark-light);
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.service-card:hover::before {
    opacity: 0.05;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    color: var(--gray);
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* ============================================
   PORTAFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    opacity: 0;
    transform: scale(0.9);
}

/* Monitor estilo Mac */
.portfolio-monitor {
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    border: 2px solid #2a2a2a;
    border-bottom: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.portfolio-monitor:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.3);
}

.monitor-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
}

.monitor-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.monitor-url {
    flex: 1;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.portfolio-item.item-1,
.portfolio-item.item-2 {
    grid-column: span 1;
}

.portfolio-item.item-3 {
    grid-column: span 1;
}

.portfolio-item.item-4,
.portfolio-item.item-5,
.portfolio-item.item-6 {
    grid-column: span 1;
}

.portfolio-image {
    position: relative;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--dark-card);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-category {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-view {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-view:hover {
    gap: 1rem;
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================
   ESTADÍSTICAS
   ============================================ */
.stats {
    background: var(--dark-light);
    position: relative;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.stat-card {
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    color: var(--gray-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Logos de clientes */
.stats-logos {
    opacity: 0;
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.logo-item {
    padding: 1rem 2rem;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: var(--transition);
}

.logo-item span {
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray);
    transition: var(--transition);
}

.logo-item:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.logo-item:hover span {
    color: var(--white);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stars {
    margin-bottom: 1rem;
}

.stars i {
    color: #ffd700;
    margin-right: 0.2rem;
}

.testimonial-text {
    color: var(--gray-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.author-info p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   PLANES / PRICING
   ============================================ */
.pricing {
    background: var(--dark-light);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(6, 255, 165, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(6, 255, 165, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 60px rgba(6, 255, 165, 0.25);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 2;
}

.pricing-header {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(10deg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin: 0;
}

.pricing-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark-border);
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.btn-plan {
    width: 100%;
    background: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem;
    border-radius: 50px;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-plan:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-plan-glow {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.btn-plan-glow:hover {
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.6);
}

.pricing-note {
    opacity: 0;
    transform: translateY(20px);
}

.pricing-note p {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: inline-block;
}

/* ============================================
   CONTACTO / CTA
   ============================================ */
.contact {
    background: var(--dark);
    padding: 6rem 0;
}

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

/* Formulario */
.contact-form-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 2.5rem;
}

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

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-form label i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--dark-light);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

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

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.contact-form select option {
    background: var(--dark-card);
    color: var(--white);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.form-note i {
    color: var(--accent);
}

/* Info lateral */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--gray-light);
    margin: 0;
    font-size: 0.9rem;
}

.btn-contact-sm {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: #25D366;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-contact-sm:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.horario-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 255, 165, 0.05));
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.horario-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.horario-card h4 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.horario-card p {
    color: var(--gray-light);
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.social-links-side {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link-side {
    width: 45px;
    height: 45px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link-side:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

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

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
}

.footer-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--gray-light);
    text-transform: lowercase;
    margin-top: 0.2rem;
    margin-bottom: 0;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.8rem 0 !important;
    }

    .btn-contact {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .hero-title {
        letter-spacing: -1px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .service-card {
        padding: 2rem;
    }

    .logos-row {
        gap: 1rem;
    }

    .logo-item {
        padding: 0.8rem 1.2rem;
    }

    .pricing-card {
        margin-bottom: 1rem;
    }

    .pricing-price .amount {
        font-size: 3rem;
    }

    .popular-badge {
        top: 15px;
        right: -40px;
        font-size: 0.7rem;
        padding: 0.25rem 3rem;
    }
}

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

    .stat-card {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILIDADES DE ANIMACIÓN
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   BOTONES DE CONTACTO RÁPIDO
   ============================================ */
.contact-link {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #25d366;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-quick:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-quick-call {
    background: var(--primary);
}

.btn-quick-call:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Parallax helper */
.parallax-element {
    will-change: transform;
}

/* ============================================
   LOADER DE CARGA
   ============================================ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.loader-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loader-pulse 1.5s ease-in-out infinite;
}

.loader-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gray-light);
    animation: loader-pulse 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* ============================================
   BOTÓN VOLVER ARRIBA
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 170px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

/* ============================================
   FAQ / PREGUNTAS FRECUENTES
   ============================================ */
.faq {
    background: var(--dark-light);
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer {
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer strong {
    color: var(--accent);
}

@media (max-width: 991px) {
    .scroll-top {
        bottom: 170px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .scroll-top {
        bottom: 160px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .loader {
        width: 100px;
        height: 100px;
    }
    
    .loader-text {
        font-size: 0.85rem;
    }
}
