:root {
    --bg: #f3f4f6;
    --bg-card: #ffffff;
    --bg-card-hover: #e5e7eb;
    --border: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.18);
    --text: #1f2937;
    --text-muted: #6b7280;
    --text-dim: #9ca3af;
    --accent: #0ea5e9;
    --accent-glow: rgba(14,165,233,0.25);
    --accent2: #6366f1;
    --accent2-glow: rgba(99,102,241,0.25);
    --blue: #3b82f6;
    --blue-glow: rgba(59,130,246,0.4);
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --green: #00ff88;
    --gradient: linear-gradient(135deg, #0ea5e9, #6366f1);
    --gradient-text: linear-gradient(135deg, #0ea5e9, #6366f1);
    --font: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection { background: var(--accent); color: var(--bg); }

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

/* SCANLINE OVERLAY */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* CURSOR GLOW */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    filter: blur(2px);
}

/* GRID BG */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(0deg); }
    100% { transform: perspective(500px) rotateX(0deg) translateY(60px); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.navbar.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.logo-accent { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(0,240,255,0.05); text-shadow: 0 0 8px var(--accent-glow); }

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
    color: var(--bg) !important;
    font-weight: 700 !important;
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta:hover { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent2-glow); transform: translateY(-1px); }

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

.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 0 5px var(--accent-glow);
}

/* HERO */
.hero {
    .hero-bg-image {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
    }
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(3,7,18,0.9) 0%, rgba(3,7,18,0.7) 50%, rgba(3,7,18,0.9) 100%);
        z-index: 1;
    }
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding: 6px 14px;
    background: rgba(0,240,255,0.08);
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: 4px;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0,240,255,0.2); box-shadow: 0 0 5px rgba(0,240,255,0.1); }
    50% { border-color: rgba(0,240,255,0.5); box-shadow: 0 0 15px rgba(0,240,255,0.2); }
}

.tag-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--accent);
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--accent); }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.hero-title .line-1, .hero-title .line-2, .hero-title .line-3 {
    display: block;
}

.line-1 { animation: glitchText 3s infinite; }

@keyframes glitchText {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, -1px); }
    98% { transform: translate(1px, 1px); }
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-strike {
    position: relative;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.text-strike::after {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 100%; height: 3px;
    background: var(--accent);
    transform: rotate(-2deg);
    box-shadow: 0 0 10px var(--accent);
    animation: strikeAnim 2s ease-in-out infinite;
}

@keyframes strikeAnim {
    0%, 100% { opacity: 0.5; width: 100%; }
    50% { opacity: 1; width: 80%; }
}

.hero-desc {
    font-size: 0.95rem;
    color: #00f0ff;
    max-width: 500px;
    margin-bottom: 18px;
    line-height: 1.7;
    text-shadow: 0 0 20px rgba(0,240,255,0.3);
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before { transform: translateX(100%); }

.btn-glow {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--bg);
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent2-glow);
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent2-glow); }
    50% { box-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent2-glow); }
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px var(--accent2-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(0,240,255,0.05);
    box-shadow: 0 0 20px rgba(0,240,255,0.1);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 18px;
}

.metric { text-align: center; }

.metric-value {
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
}

.metric-plus, .metric-percent, .metric-unit {
    font-family: var(--mono);
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-glow);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* SCROLL INDICATOR */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollAnim 2s infinite;
    box-shadow: 0 0 5px var(--accent);
}

@keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* SECTIONS */
section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.about { padding: 90px 0; }

.about-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
}

.about-text .flag-cuba {
    font-size: 1.3em;
    vertical-align: -0.1em;
    margin: 0 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
    text-shadow: 0 0 10px var(--accent-glow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* SERVICES */
.services { background: rgba(0,240,255,0.02); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 16px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 30px rgba(0,240,255,0.15), 0 20px 40px rgba(0,0,0,0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.service-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0,240,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-glow { opacity: 1; }

.glow-green {
    background: radial-gradient(circle at center, rgba(0,255,136,0.08) 0%, transparent 50%);
}

.service-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--bg);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.service-number {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.service-icon {
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.icon-green { color: var(--green); filter: drop-shadow(0 0 8px rgba(0,255,136,0.4)); }

.service-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 8px 12px;
    background: rgba(0,240,255,0.08);
    border: 1px solid rgba(0,240,255,0.15);
    border-radius: 6px;
    display: inline-block;
    text-shadow: 0 0 5px var(--accent-glow);
}

.service-price span { font-weight: 800; }

.service-features {
    list-style: none;
    margin-bottom: 16px;
}

.service-features li {
    padding: 4px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding-left: 18px;
    position: relative;
}

.service-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent-glow);
}

.service-arrow {
    position: absolute;
    bottom: 24px; right: 24px;
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.service-card:hover .service-arrow {
    color: var(--accent);
    transform: translateX(4px);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* PORTFOLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0,240,255,0.15), 0 20px 40px rgba(0,0,0,0.3);
}

.portfolio-preview {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.5s;
}

.portfolio-card:hover .portfolio-img { transform: scale(1.05); }

.portfolio-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, currentColor, transparent 70%);
    z-index: 1;
}

.portfolio-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
    z-index: 2;
}

.portfolio-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.portfolio-tag {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px var(--accent-glow);
}

.portfolio-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-content p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;
}

.portfolio-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.portfolio-tech span {
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    background: rgba(0,240,255,0.08);
    border: 1px solid rgba(0,240,255,0.15);
    border-radius: 4px;
    color: var(--accent);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}

.portfolio-link:hover {
    gap: 10px;
    text-shadow: 0 0 10px var(--accent-glow);
}

/* PROCESS */
.process { background: rgba(0,229,255,0.02); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    position: relative;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.process-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0,240,255,0.15);
}

.process-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.process-card:hover::after { transform: scaleX(1); }

.process-line { display: none; }

.process-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.process-num {
    font-family: var(--mono);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    text-shadow: 0 0 10px var(--accent-glow);
}

.process-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent-glow); }
}

.process-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* CONTACT */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 50px;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0,240,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.1), 0 0 20px rgba(0,240,255,0.1);
}

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

.form-group 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='%2300f0ff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.btn-full { width: 100%; justify-content: center; }

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.whatsapp-card:hover {
    border-color: #25d366;
    box-shadow: 0 0 30px rgba(37,211,102,0.2);
}

.email-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0,240,255,0.15);
}

.contact-card-icon {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.contact-card-arrow {
    position: absolute;
    bottom: 24px; right: 24px;
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.contact-card:hover .contact-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
    text-shadow: 0 0 10px var(--accent-glow);
}

.faq-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.faq-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0,240,255,0.1);
}

.faq-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37,211,102,0.5);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

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

.whatsapp-float svg { margin-left: -2px; }

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float { animation: whatsappPulse 2s infinite; }

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* FLOATING PARTICLES */
.floating-particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(3,7,18,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: all 0.3s;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-link { width: 100%; text-align: center; padding: 12px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .hero-metrics { flex-direction: column; gap: 16px; }
    .metric-divider { width: 40px; height: 1px; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .container { padding: 0 16px; }
    section { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 16px; left: 16px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

/* SPACESHIP */
.spaceship {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 15px rgba(0,240,255,0.8)) drop-shadow(0 0 30px rgba(255,0,229,0.5));
}

.spaceship svg {
    width: 100%;
    height: 100%;
}

/* SPACESHIP TRAIL */
.ship-trail {
    position: fixed;
    z-index: 99;
    pointer-events: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow);
    opacity: 0.6;
    animation: trailFade 0.8s forwards;
}

@keyframes trailFade {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(0); opacity: 0; }
}

/* ENGINE GLOW */
.engine-glow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 20px;
    background: linear-gradient(to bottom, #00f0ff, #ff00e5, transparent);
    border-radius: 50%;
    animation: enginePulse 0.15s infinite alternate;
    filter: blur(3px);
}

@keyframes enginePulse {
    0% { opacity: 0.8; height: 18px; }
    100% { opacity: 1; height: 24px; }
}

/* SPACESHIP BOUNCE */
.spaceship-container {
    position: fixed;
    z-index: 100;
    pointer-events: none;
    width: 50px;
    height: 50px;
    transition: none;
}

.spaceship-container svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(0,240,255,1)) drop-shadow(0 0 25px rgba(255,0,229,0.7));
}

.ship-engine {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 22px;
    background: linear-gradient(to bottom, #00f0ff, #ff00e5, transparent);
    border-radius: 50%;
    filter: blur(4px);
    animation: engineFlicker 0.1s infinite alternate;
}

@keyframes engineFlicker {
    0% { opacity: 0.7; height: 18px; }
    100% { opacity: 1; height: 26px; }
}

.ship-trail-dot {
    position: fixed;
    z-index: 99;
    pointer-events: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff, 0 0 16px rgba(0,240,255,0.5);
    animation: trailDot 0.6s forwards;
}

@keyframes trailDot {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(0); opacity: 0; }
}

/* ===== LIGHT THEME: el hero conserva legibilidad sobre su imagen oscura ===== */
.btn-glow { color: #0b1220; }

.hero-content { color: #f1f5f9; }
.hero-title { color: #ffffff; }
.hero .metric-value { color: #f1f5f9; }
.hero .metric-label { color: #cbd5e1; }
.hero .metric-plus,
.hero .metric-percent,
.hero .metric-unit { color: #38bdf8; text-shadow: none; }
.hero .btn-outline { color: #f1f5f9; border-color: rgba(255,255,255,0.35); }
.hero .btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56,189,248,0.2);
}
.hero-scroll span { color: #38bdf8; text-shadow: none; }
