/* ==========================================================================
   SISTEMA DE DISEÑO Y VARIABLES (CIBERNÉTICO / FUTURISTA / PREMIUM)
   ISAEL FIGUEROA
   ========================================================================== */

:root {
    /* Paleta de Colores */
    --bg-absolute: #030308;
    --card-bg: #0a0a16;
    --border-color: #16162a;
    --primary: #00d4ff;       /* Cian - Tecnología y confianza */
    --secondary: #ff6bff;     /* Magenta - Creatividad y disrupción */
    --accent: #fffc00;        /* Amarillo - Conversión y energía */
    
    /* Colores de Texto */
    --text-white: #efeff8;
    --text-muted: #4a4a4a;
    
    /* Sombras y Glows */
    --glow-primary: 0 0 15px rgba(0, 212, 255, 0.35);
    --glow-secondary: 0 0 15px rgba(255, 107, 255, 0.35);
    --glow-accent: 0 0 15px rgba(255, 252, 0, 0.35);
    --glow-text: 0 0 8px rgba(0, 212, 255, 0.5);

    /* Tipografía */
    --font-primary: 'Space Grotesk', sans-serif;
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modo Claro */
body.light-mode {
    --bg-absolute: #f8f6f0;
    --card-bg: #fffefa;
    --border-color: #e6e2d6;
    --text-white: #1a1a14;
    --text-muted: #4a4a4a;
    --glow-primary: 0 0 8px rgba(255, 252, 0, 0.15);
    --glow-secondary: 0 0 8px rgba(255, 252, 0, 0.12);
    --glow-accent: 0 0 8px rgba(255, 252, 0, 0.18);
    --glow-text: none;
    color-scheme: light;
}

/* ==========================================================================
   BOTÓN TOGGLE TEMA
   ========================================================================== */
.theme-toggle {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a14;
    font-size: 21px;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 2px 12px rgba(255, 252, 0, 0.35);
    flex-shrink: 0;
    cursor: pointer;
}

.theme-toggle:hover {
    transform: scale(1.12) rotate(15deg);
    box-shadow: 0 4px 24px rgba(255, 252, 0, 0.5);
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    transition: var(--transition-smooth);
}

body:not(.light-mode) .theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

body:not(.light-mode) .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-mode .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-mode .theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* ==========================================================================
   MODO CLARO — NAVBAR
   ========================================================================== */
body.light-mode .navbar.scrolled {
    background-color: #ffffff;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 252, 0, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .logo-text {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .logo-diamond {
    color: #fffc00;
}

body.light-mode .nav-link {
    color: #6e6e5a;
}

body.light-mode .nav-link:hover {
    color: #1a1a14;
}

body.light-mode .nav-link::after {
    background: linear-gradient(90deg, #fffc00, #fffc00);
}

body.light-mode .menu-toggle .bar {
    background-color: #1a1a14;
}

body.light-mode .nav-menu {
    background-color: transparent;
}

/* ==========================================================================
   MODO CLARO — HERO
   ========================================================================== */
body.light-mode .hero {
    background-color: var(--bg-absolute);
}

body.light-mode .bg-pulse {
    background: radial-gradient(circle at 40% 40%, rgba(255, 252, 0, 0.04) 0%, rgba(248, 246, 240, 1) 60%);
}

body.light-mode .hero-title {
    color: #1a1a14;
}

body.light-mode .hero-subtitle {
    color: #5a5a48;
}

body.light-mode .badge {
    background-color: rgba(255, 252, 0, 0.06);
    border-color: rgba(255, 252, 0, 0.2);
    color: #1a1a14;
}

body.light-mode .badge-dot {
    background-color: #fffc00;
    box-shadow: 0 0 6px rgba(255, 252, 0, 0.4);
}

body.light-mode .draw-text {
    color: #8a8a72;
}

body.light-mode .ring-solid { border-color: rgba(255, 252, 0, 0.12); }
body.light-mode .ring-reverse { border-color: rgba(255, 252, 0, 0.15); }
body.light-mode .ring-dashed { border-color: rgba(255, 252, 0, 0.2); }
body.light-mode .ring-dotted { border-color: rgba(140, 140, 110, 0.1); }

body.light-mode .profile-frame {
    border-color: #e6e2d6;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 0 20px rgba(255, 252, 0, 0.06);
}

body.light-mode .badge-founder {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .btn-primary {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 252, 0, 0.35);
}

body.light-mode .btn-secondary {
    border-color: #d6d2c6;
    color: #1a1a14;
    background-color: transparent;
}

body.light-mode .btn-secondary:hover {
    border-color: #fffc00;
    color: #fffc00;
    box-shadow: 0 0 12px rgba(255, 252, 0, 0.12);
}

body.light-mode .btn-accent {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .gradient-text {
    background: linear-gradient(90deg, #000000, #fffc00, #000000);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
}

/* ==========================================================================
   MODO CLARO — STATS
   ========================================================================== */
body.light-mode .stats {
    background: linear-gradient(180deg, #f2efe7 0%, #fbf9f2 55%, #f6f3ec 100%);
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* Glow que sigue al cursor en modo claro */
body.light-mode .tech-stack,
body.light-mode .stats,
body.light-mode .process,
body.light-mode .services,
body.light-mode .portfolio,
body.light-mode .faq,
body.light-mode .contact {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

body.light-mode .tech-stack::before,
body.light-mode .stats::before,
body.light-mode .process::before,
body.light-mode .services::before,
body.light-mode .portfolio::before,
body.light-mode .faq::before,
body.light-mode .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 350px at var(--mouse-x) var(--mouse-y), rgba(255, 252, 0, 0.13) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.light-mode .glow-active::before {
    opacity: 1;
}

body.light-mode .tech-stack,
body.light-mode .stats,
body.light-mode .process,
body.light-mode .services,
body.light-mode .portfolio,
body.light-mode .faq,
body.light-mode .contact {
    overflow: hidden;
}

body.light-mode .stat-card {
    background-color: #fffefa;
    border-color: #e6e2d6;
}

body.light-mode .stat-card:hover {
    border-color: rgba(255, 252, 0, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03), 0 0 12px rgba(255, 252, 0, 0.06);
}

body.light-mode .stat-label {
    color: #5a5a48;
}

body.light-mode .stat-bar {
    background: linear-gradient(90deg, #fffc00, #fffc00);
}

/* ==========================================================================
   MODO OSCURO — TECNOLOGÍAS
   ========================================================================== */
body:not(.light-mode) .tech-stack .section-subtitle {
    color: var(--text-muted);
}

/* ==========================================================================
   MODO CLARO — TECNOLOGÍAS
   ========================================================================== */
body.light-mode .tech-stack {
    background: linear-gradient(180deg, #f6f3ec 0%, #fbf9f2 45%, #f2efe7 100%);
}

body.light-mode .tech-badge {
    background: linear-gradient(135deg, #fef7c3 0%, #fffdf0 100%);
    border: 1.5px solid #fffc00;
    color: #1a1a14;
    box-shadow: 0 2px 8px rgba(255, 252, 0, 0.1);
}

body.light-mode .tech-badge:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fef7c3 100%);
    border-color: #fffc00;
    box-shadow: 0 6px 20px rgba(255, 252, 0, 0.2);
    transform: translateY(-4px);
}

body.light-mode .tech-icon {
    background: linear-gradient(135deg, #9a7b00, #fffc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   MODO CLARO — CÓMO TRABAJO
   ========================================================================== */
body.light-mode .process {
    background: linear-gradient(180deg, #f2efe7 0%, #fbf9f2 50%, #f6f3ec 100%);
}

body.light-mode .process-step {
    background-color: #fffdf0;
    border-color: rgba(255, 252, 0, 0.2);
}

body.light-mode .process-step:hover {
    background-color: #fef9d0;
    border-color: #fffc00;
    box-shadow: 0 8px 24px rgba(255, 252, 0, 0.1);
    background: linear-gradient(135deg, #ccc921, #fffc00);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0px);
}

body.light-mode .step-number {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .step-title {
    color: #1a1a14;
}

body.light-mode .step-desc {
    color: #6a6a50;
}

body.light-mode .step-connector {
    background: linear-gradient(90deg, #fffc00, #fffc00);
}

/* ==========================================================================
   MODO CLARO — SERVICIOS
   ========================================================================== */
body.light-mode .services {
    background: linear-gradient(180deg, #f2efe7 0%, #fbf9f2 50%, #f6f3ec 100%);
}

body.light-mode .section-title {
    color: #1a1a14;
}

body.light-mode .section-subtitle {
    color: #6a6a50;
}

body.light-mode .service-card {
    background-color: #fffdf0;
    border-color: rgba(255, 252, 0, 0.2);
}

body.light-mode .service-card:hover {
    background-color: #fef9d0;
    border-color: #fffc00;
    box-shadow: 0 12px 30px rgba(255, 252, 0, 0.1);
}

body.light-mode .service-card-desc {
    color: #6a6a50;
}

body.light-mode .service-decor-num {
    color: #fffc00;
}

body.light-mode .service-card-features {
    color: #3a3a2a;
}

body.light-mode .service-card-features i {
    color: #fffc00;
}

body.light-mode .service-card-title {
    color: #14151a;
}

.fa-code, .fa-cart-shopping, .fa-mobile-screen-button{
    color: #000000;
}
body.light-mode .service-icon {
    background: linear-gradient(135deg, #ccc921, #fffc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .service-icon-wrapper {
    background: #fffc00;
    border-color: rgba(255, 252, 0, 0.25);
}

/* ==========================================================================
   MODO CLARO — FAQ
   ========================================================================== */
body.light-mode .faq {
    background: linear-gradient(180deg, #f6f3ec 0%, #fbf9f2 50%, #f2efe7 100%);
}

body.light-mode .faq-label {
    color: #fffc00;
}

body.light-mode .faq-intro {
    color: #6a6a50;
}

body.light-mode .faq-item {
    background-color: #fffdf0;
    border-color: rgba(255, 252, 0, 0.2);
}

body.light-mode .faq-item:hover {
    background-color: #fef9d0;
    border-color: #fffc00;
}

body.light-mode .faq-item.active {
    background-color: #fef9d0;
    border-color: #fffc00;
    box-shadow: 0 4px 16px rgba(255, 252, 0, 0.12);
}

body.light-mode .faq-question {
    color: #1a1a14;
}

body.light-mode .faq-question:hover {
    color: #fffc00;
}

body.light-mode .faq-icon {
    background-color: rgba(255, 252, 0, 0.1);
    border-color: rgba(255, 252, 0, 0.25);
    color: #fffc00;
}

body.light-mode .faq-item.active .faq-icon {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .faq-answer p {
    color: #6a6a50;
}

/* ==========================================================================
   MODO CLARO — CONTACTO
   ========================================================================== */
body.light-mode .contact {
    background: linear-gradient(180deg, #f2efe7 0%, #fbf9f2 50%, #f6f3ec 100%);
    border-top-color: transparent;
}

body.light-mode .contact-title {
    color: #1a1a14;
}

body.light-mode .contact-subtitle {
    color: #5a5a48;
}

body.light-mode .contact-detail-item {
    background-color: rgba(255, 254, 250, 0.8);
    border-color: #e6e2d6;
}

body.light-mode .contact-detail-item:hover {
    border-color: rgba(255, 252, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

body.light-mode .detail-label {
    color: #8a8a72;
}

body.light-mode .detail-val {
    color: #1a1a14;
}

body.light-mode .icon-box {
    background-color: #000000;
    border-color: rgba(255, 252, 0, 0.15);
    color: #fffc00;
}

body.light-mode .icon-box:hover {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .trust-tag {
    background-color: #fffc00;
    border-color: #fffc00;
    color: #000000;
}

body.light-mode .contact-form-col {
    background-color: #fffefa;
    border-color: #e6e2d6;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

body.light-mode .form-label {
    color: #1a1a14;
}

body.light-mode .form-control {
    background-color: #f5f3ec;
    border-color: #e6e2d6;
    color: #1a1a14;
}

body.light-mode .form-control::placeholder {
    color: #a0a08a;
}

body.light-mode .form-control:focus {
    border-color: #fffc00;
    box-shadow: 0 0 0 3px rgba(255, 252, 0, 0.08);
}

body.light-mode .btn-liquid {
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #1a1a14;
}

body.light-mode .form-success-container {
    background-color: #fffefa;
}

body.light-mode .success-title {
    color: #1a1a14;
}

body.light-mode .success-desc {
    color: #4a4a4a;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fffc00, #fffc00);
    color: #000000;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 252, 0, 0.3);
    border: 1px solid rgb(0, 0, 0);
}

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

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 252, 0, 0.5);
}

.scroll-top-btn i {
    color: #000000;
    font-style: normal;
    font-size: 35px;
}

/* ==========================================================================
   MODO CLARO — FOOTER
   ========================================================================== */
body.light-mode .footer {
    background-color: #fffc00;
    border-top: none;
}

body.light-mode .footer-logo .logo-text {
    background: linear-gradient(135deg, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .footer-logo .logo-diamond {
    color: #000000;
}

body.light-mode .footer-phrase {
    color: #3a3a2a;
}

body.light-mode .social-link {
    border-color: #000000;
    color: #000000;
}

body.light-mode .social-link:hover {
    background-color: #000000;
    color: #fffc00;
    border-color: #000000;
}

body.light-mode .copyright {
    color: #3a3a2a;
}

body.light-mode .footer-bottom {
    border-top: none;
}

body.light-mode .footer-menu {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .footer-menu-link {
    color: #000000;
}

body.light-mode .footer-menu-link:hover {
    color: #000000;
}

body.light-mode .footer-menu-link::after {
    background: #000000;
}

/* ==========================================================================
   MODO CLARO — EFECTOS DE FONDO
   ========================================================================== */
body.light-mode .particles span {
    opacity: 0.06;
}

body.light-mode .light-1,
body.light-mode .light-2,
body.light-mode .light-3 {
    opacity: 0.02;
}

body.light-mode .text-innovacion,
body.light-mode .text-tecnologia {
    color: rgba(255, 252, 0, 0.03);
    -webkit-text-stroke: 1px rgba(255, 252, 0, 0.04);
}

body.light-mode .mouse-track {
    background: radial-gradient(circle, rgba(255, 252, 0, 0.03) 0%, transparent 70%);
}

/* ==========================================================================
   MODO CLARO — SCROLLBAR
   ========================================================================== */
body.light-mode ::-webkit-scrollbar-track {
    background: #f0eee6;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #ccc8b8;
    border: 1px solid rgba(255, 252, 0, 0.2);
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #fffc00;
}

/* ==========================================================================
   MODO CLARO — CURSORES
   ========================================================================== */
body.light-mode .custom-cursor-outline {
    border-color: #fffc00;
}

body.light-mode .custom-cursor-dot {
    background-color: #fffc00;
}

/* ==========================================================================
   ESTILOS GENERALES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 20px;
    background-color: var(--bg-absolute);
    color: var(--text-white);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Barra de Scroll Personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-absolute);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    border: 1px solid var(--primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

/* Contenedor estándar */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none; /* Oculta cursor por defecto */
}

button, input, textarea, select {
    font-family: inherit;
    cursor: none; /* Oculta cursor por defecto */
}

/* ==========================================================================
   EFECTO 5: SCROLL PROGRESS BAR (Barra de progreso superior)
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1001;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   EFECTOS 3 & 4: CURSOR PERSONALIZADO (Outline + Dot + Hover state)
   ========================================================================== */
.custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

/* Expandido durante hover */
body.cursor-hovering .custom-cursor-outline {
    width: 50px;
    height: 50px;
    border-color: var(--secondary);
    background-color: rgba(255, 107, 255, 0.05);
    box-shadow: var(--glow-secondary);
}

body.cursor-hovering .custom-cursor-dot {
    background-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.5);
}

/* Ocultar en dispositivos táctiles */
@media (pointer: coarse) {
    .custom-cursor-outline, .custom-cursor-dot {
        display: none !important;
    }
    a, button, input, textarea, select {
        cursor: auto !important;
    }
}

/* ==========================================================================
   1. NAVBAR (Fija, Glassmorphism con Blur, Borde cian al scroll)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.iconOS{
    height: 33px;
    display: flex;
    color: white;
}


/* EFECTO 18: Glassmorphism en Navbar */
.navbar.scrolled {
    height: 70px;
    background-color: rgba(3, 3, 8, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* Logo "IF" con rombo y pulso */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logoMail {
    width: 110px !important;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* EFECTO 14: Rombo pulsante con rotación */
.logo-diamond {
    color: var(--accent);
    font-size: 22px;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        text-shadow: none;
    }
    50% {
        transform: rotate(225deg) scale(1.3);
        text-shadow: var(--glow-accent);
    }
}

.logo img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.logo .logo-text,
.logo .logo-diamond {
    display: none;
}

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

.nav-menu li {
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 19px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

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

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

/* CTA en navbar */
.nav-cta-item .btn {
    padding: 8px 20px;
    font-size: 19px;
}

/* Botón menú móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
    cursor: none;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   ESTILOS DE BOTONES (CTAs con glow y rebotes elásticos)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 19px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-spring);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-absolute);
    border: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--bg-absolute);
    border: none;
}

/* EFECTO 10: Bounce (spring) elástico al hover */
.btn-bounce:hover {
    transform: scale(1.08) translateY(-2px);
}

.btn-bounce:active {
    transform: scale(0.95) translateY(0);
}

/* CTA Glow pulse continuo y al hover */
.btn-glow {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-glow:hover {
    box-shadow: var(--glow-primary);
}

.btn-glow-active {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-glow-active:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6), 0 0 10px rgba(255, 107, 255, 0.4);
}

.btn-glow-yellow {
    box-shadow: 0 0 12px rgba(255, 252, 0, 0.2);
}

.btn-glow-yellow:hover {
    box-shadow: 0 0 25px rgba(255, 252, 0, 0.5), 0 0 12px rgba(255, 107, 255, 0.4);
}

/* ==========================================================================
   2. HERO CON PARALLAX 3D
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-color: var(--bg-absolute);
    overflow: hidden;
}

/* EFECTO 22: Bg pulse 3D (Fondo gradiente sutil) */
.bg-pulse {
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
    width: 100%;
    height: 100%;
}

/* Contenedor Parallax */
.parallax-container {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    overflow: hidden;
    pointer-events: none;
    perspective: 1200px;
    transform-style: preserve-3d;
    z-index: 1;
}

/* Capa Parallax General */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Capas 2, 3, 4: Cubos flotantes */
.cube-1 {
    font-size: 100px;
    color: rgba(0, 212, 255, 0.15);
    text-shadow: var(--glow-primary);
    top: -20%;
    left: -35%;
}

.cube-2 {
    font-size: 62px;
    color: rgba(255, 107, 255, 0.18);
    text-shadow: var(--glow-secondary);
    top: 30%;
    left: 35%;
}

.cube-3 {
    font-size: 75px;
    color: rgba(255, 252, 0, 0.12);
    text-shadow: var(--glow-accent);
    top: -30%;
    left: 25%;
}

/* Capas 5, 6, 7: Esferas decorativas con degradados */
.sphere-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    top: 20%;
    left: -15%;
}

.sphere-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 255, 0.08) 0%, transparent 70%);
    top: -15%;
    left: 45%;
}

.sphere-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 252, 0, 0.06) 0%, transparent 70%);
    top: 40%;
    left: 10%;
}

/* EFECTO 23: Light pulse (Líneas de luz neón pulsantes) */
.light-1, .light-2, .light-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    animation: lightPulse 6s ease-in-out infinite alternate;
}

.light-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -10%;
    left: -10%;
}

.light-2 {
    width: 500px;
    height: 500px;
    background-color: var(--secondary);
    bottom: -15%;
    right: -10%;
    animation-delay: 2s;
}

.light-3 {
    width: 300px;
    height: 300px;
    background-color: var(--accent);
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes lightPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.12;
    }
    100% {
        transform: scale(1.15);
        opacity: 0.22;
    }
}

/* EFECTO 21: Particle drift (Partículas flotantes) */
.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    opacity: 0.3;
    animation: floatParticle 20s linear infinite;
}

.particles span:nth-child(even) {
    background-color: var(--secondary);
    box-shadow: var(--glow-secondary);
    width: 4px;
    height: 4px;
}

.particles span:nth-child(3n) {
    background-color: var(--accent);
    box-shadow: var(--glow-accent);
    width: 5px;
    height: 5px;
}

/* Posiciones iniciales y duraciones de partículas */
.particles span:nth-child(1) { top: 10%; left: 15%; animation-duration: 15s; }
.particles span:nth-child(2) { top: 25%; left: 80%; animation-duration: 22s; }
.particles span:nth-child(3) { top: 70%; left: 20%; animation-duration: 18s; }
.particles span:nth-child(4) { top: 40%; left: 75%; animation-duration: 25s; }
.particles span:nth-child(5) { top: 85%; left: 60%; animation-duration: 14s; }
.particles span:nth-child(6) { top: 15%; left: 45%; animation-duration: 30s; }
.particles span:nth-child(7) { top: 50%; left: 10%; animation-duration: 20s; }
.particles span:nth-child(8) { top: 60%; left: 85%; animation-duration: 17s; }
.particles span:nth-child(9) { top: 30%; left: 30%; animation-duration: 28s; }
.particles span:nth-child(10) { top: 75%; left: 40%; animation-duration: 21s; }
.particles span:nth-child(11) { top: 90%; left: 90%; animation-duration: 16s; }
.particles span:nth-child(12) { top: 5%; left: 65%; animation-duration: 24s; }

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* EFECTO 24: Text 3D float (INNOVACION / TECNOLOGIA flotando en 3D) */
.text-innovacion, .text-tecnologia {
    font-size: 11vw;
    font-weight: 800;
    color: rgba(22, 22, 42, 0.05);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    user-select: none;
    letter-spacing: 15px;
    position: absolute;
}

.text-innovacion {
    top: 15%;
    left: -5%;
}

.text-tecnologia {
    bottom: 15%;
    right: -5%;
}

/* EFECTO 2: Mouse Tracker (Luz que sigue al mouse en Hero) */
.mouse-track {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    filter: blur(30px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Estructura del contenido del hero */
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Columna Izquierda del Hero */
.hero-text-col {
    display: flex;
    flex-direction: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

/* EFECTO 16: Glow pulse on status badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-glow {
    background-color: rgba(255, 252, 0, 0.06);
    border: 1px solid rgba(255, 252, 0, 0.25);
    color: #1a1a14;
    box-shadow: 0 0 10px rgba(255, 252, 0, 0.05);
    animation: glowPulse 2s infinite alternate;
}

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

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

/* EFECTO 27: Gradiente Animado */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 500% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
    display: inline-block;
}

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

.hero-subtitle {
    font-size: 22px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* EFECTO 11: Draw text 3D */
.draw-text-container {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.draw-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-block;
    position: relative;
    text-shadow: 0 0 1px transparent;
    animation: drawTextGlow 3s ease-in-out infinite alternate;
}

@keyframes drawTextGlow {
    0% {
        color: var(--text-muted);
        text-shadow: none;
    }
    100% {
        color: var(--text-white);
        text-shadow: var(--glow-text);
    }
}

/* Columna Derecha del Hero (Foto de perfil premium) */
.hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* EFECTO 6: Float 3D (Levitación con inclinación) */
.profile-container {
    position: relative;
    width: 532px;
    height: 532px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 800px;
    animation: float3D 6s ease-in-out infinite alternate;
}

@keyframes float3D {
    0% {
        transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    }
    100% {
        transform: translateY(8px) rotateX(-2deg) rotateY(-2deg);
    }
}

/* EFECTO 7: Concentric Spin Rings (Anillos giratorios a diferentes velocidades) */
.ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-solid {
    width: 632px;
    height: 632px;
    border: 2px solid var(--primary);
    opacity: 0.15;
    animation: spinRing 25s linear infinite;
}

.ring-reverse {
    width: 599px;
    height: 599px;
    border: 1.5px solid var(--secondary);
    opacity: 0.25;
    animation: spinRingRev 18s linear infinite;
}

.ring-dashed {
    width: 566px;
    height: 566px;
    border: 2px dashed var(--accent);
    opacity: 0.35;
    animation: spinRing 12s linear infinite;
}

.ring-dotted {
    width: 666px;
    height: 666px;
    border: 3px dotted var(--text-muted);
    opacity: 0.15;
    animation: spinRingRev 35s linear infinite;
}

@keyframes spinRing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinRingRev {
    0% { transform: translate(-50%, -50%) rotate(360deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Marco de la imagen de perfil */
.profile-frame {
    width: 466px;
    height: 466px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), var(--glow-primary);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: saturate(0.85) contrast(1.05);
}

/* Desaturación e incremento de contraste al hover */
.profile-container:hover .profile-frame {
    border-color: #fffc00;
    box-shadow: 0 0 40px rgba(255, 252, 0, 0.5), 0 0 15px rgba(255, 252, 0, 0.35);
}

.profile-container:hover .profile-img {
    filter: saturate(1.2) contrast(1.2) scale(1.05);
}

/* EFECTO 9: Wiggle 3D on Founder Badge */
.badge-founder {
    position: absolute;
    bottom: 5%;
    right: 5%;
    background-color: var(--secondary);
    color: var(--bg-absolute);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 5;
    box-shadow: var(--glow-secondary);
    animation: wiggleBadge 4s ease-in-out infinite alternate;
}

@keyframes wiggleBadge {
    0% {
        transform: rotate(-3deg) scale(1);
    }
    100% {
        transform: rotate(3deg) scale(1.05);
    }
}

/* ==========================================================================
   5. STATS (Métricas de confianza con hover elevation)
   ========================================================================== */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
    position: relative;
    z-index: 10;
}

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

/* EFECTO 19: Hover elevation en Stats */
.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-spring);
}

.stat-num {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Barra inferior animada al hover */
.stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.05), var(--glow-primary);
}

.stat-card:hover .stat-bar {
    width: 100%;
}

/* ==========================================================================
   5.5 TECNOLOGÍAS QUE USO (Badges con íconos)
   ========================================================================== */
.tech-stack {
    height: 700px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
}

.tech-stack .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Marquee en el top de la sección */
.marquee-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.marquee-track {
    display: flex;
    gap: 350px;
    animation: marquee-scroll 50s linear infinite;
    width: max-content;
    position: absolute;
    top: 40px;
}

.marquee-text {
    font-size: clamp(83px, 13.8vw, 193px);
    font-weight: 900;
    letter-spacing: 10px;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 3px rgba(255, 252, 0, 0.35);
    user-select: none;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 19px;
    font-weight: 600;
    color: #fffc00;
    transition: var(--transition-spring);
    cursor: default;
}

.tech-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.08), var(--glow-primary);
    transform: translateY(-4px);
}

.tech-icon {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   5.6 CÓMO TRABAJO (Proceso en 4 pasos)
   ========================================================================== */
.process {
    height: 940px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
}

.process .container {
    position: relative;
    z-index: 1;
}

.section-desc {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 500px;
    margin: -8px auto 0;
    text-align: center;
}

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

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    position: relative;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.process-step:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.05), var(--glow-primary);
    transform: translateY(-6px);
}

.step-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

.step-connector {
    display: none;
}

.process-step::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.step-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   6. SERVICIOS (Con efecto Tilt 3D y números decorativos)
   ========================================================================== */
.services {
    height: 1160px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

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

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

/* EFECTO 25: Tilt 3D (Perspectiva en tarjetas de servicios) */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Números decorativos de fondo */
.service-decor-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 90px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.015);
    transition: var(--transition-smooth);
    user-select: none;
}

/* EFECTO 17: Icon Float 3D */
.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
    animation: iconFloat3D 4s ease-in-out infinite alternate;
}

@keyframes iconFloat3D {
    0% {
        transform: translateY(0) rotateY(0deg);
    }
    100% {
        transform: translateY(-5px) rotateY(10deg);
    }
}

.service-icon {
    font-size: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    transform: translateZ(30px); /* Profundidad en 3D */
}

.service-card-desc {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    transform: translateZ(15px);
}

.service-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-white);
    transform: translateZ(10px);
}

.service-card-features i {
    color: var(--primary);
    margin-right: 8px;
}

/* Hover de tarjeta */
.service-card:hover {
    border-color: rgba(255, 107, 255, 0.3);
    box-shadow: 0 15px 35px rgba(255, 107, 255, 0.05), var(--glow-secondary);
    background: linear-gradient(85deg, #ccc921, #fffc00);
}

.service-card:hover .service-decor-num {
    color: #000000;
    transform: scale(1.1) translateZ(40px);
}

.service-card:hover .service-card-title {
    color: #fffc00;
    transform: scale(1.1) translateZ(40px);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 107, 255, 0.2));
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

/* ==========================================================================
   PORTAFOLIO
   ========================================================================== */
.portfolio {
    height: 1640px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-items: center;
}

.portfolio-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-spring);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.1), var(--glow-primary);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.portfolio-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 6px 12px;
    background-color: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* Light mode */
body.light-mode .portfolio {
    background: linear-gradient(180deg, #f2efe7 0%, #fbf9f2 50%, #f6f3ec 100%);
}

body.light-mode .portfolio-card {
    background-color: #fffdf0;
    border-color: rgba(255, 252, 0, 0.2);
}

body.light-mode .portfolio-card:hover {
    border-color: #fffc00;
    box-shadow: 0 15px 35px rgba(255, 252, 0, 0.1);
}

body.light-mode .portfolio-img {
    background: linear-gradient(135deg, rgba(255, 252, 0, 0.1), rgba(255, 252, 0, 0.05));
    border-bottom-color: rgba(255, 252, 0, 0.2);
}

body.light-mode .portfolio-title {
    color: #1a1a14;
}

body.light-mode .portfolio-desc {
    color: #6a6a50;
}

body.light-mode .portfolio-tags span {
    background-color: rgba(255, 252, 0, 0.08);
    border-color: rgba(255, 252, 0, 0.2);
    color: #b89a00;
}

/* ==========================================================================
   7.5 FAQ (Preguntas frecuentes con acordeón)
   ========================================================================== */
.faq {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.faq-intro {
    font-size: 21px;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    background-color: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    background-color: var(--primary);
    color: var(--bg-absolute);
    transform: rotate(45deg);
    box-shadow: var(--glow-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer p {
    padding: 0 24px 20px 68px;
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   8. CONTACTO (Formulario de captación con Liquid Bounce)
   ========================================================================== */
.contact {
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at 50% 50%, rgba(22, 22, 42, 0.8) 0%, rgba(3, 3, 8, 1) 80%);
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
}

.contact-title {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background-color: rgba(22, 22, 42, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-spring);
}

.contact-detail-item:hover {
    transform: translateX(8px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 25px;
    transition: var(--transition-smooth);
}

.contact-detail-item:hover .icon-box {
    background-color: var(#fffc00);
    color: var(--bg-absolute);
    box-shadow: var(--glow-primary);
}

.detail-label {
    display: block;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-val {
    font-size: 20px;
    font-weight: 600;
}

.trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-tag {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    padding: 6px 14px;
    background-color: #fffc00;
    border: 1px solid #fffc00;
    border-radius: 50px;
}

/* Formulario */
.contact-form-col {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-control {
    width: 100%;
    background-color: rgba(3, 3, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 19px;
    color: var(--text-white);
    outline: none;
    transition: var(--transition-smooth);
}

/* EFECTO 20: Border glow on focus */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

/* EFECTO 15: Liquid Bounce (Submit button elástico) */
.btn-block {
    width: 100%;
}

.btn-liquid {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-absolute);
    cursor: none;
    font-size: 20px;
    font-weight: 700;
    height: 52px;
}

.btn-liquid:hover {
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4), var(--glow-secondary);
}

.btn-liquid:active {
    transform: scale(0.97) translateY(1px);
    transition: transform 0.1s ease;
}

.form-success-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    border-radius: 24px;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a14;
}

.success-desc {
    font-size: 19px;
    color: var(--text-muted);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    padding: 64px 0 32px 0;
    border-top: none;
    background-color: #fffc00;
    position: relative;
    z-index: 10;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 35px;
    font-weight: 800;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo .logo-diamond {
    color: #000000;
}

.footer-phrase {
    font-size: 18px;
    color: #3a3a2a;
    font-weight: 500;
}

/* EFECTO 26: Social Icons Hover (Subida, escala y rotación) */
.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 22px;
    transition: var(--transition-spring);
}

.social-link:hover {
    transform: translateY(-6px) scale(1.15) rotate(15deg);
    background-color: #000000;
    color: #fffc00;
    border-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 24px;
}

.footer-menu-link {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    transition: var(--transition-smooth);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: var(--transition-smooth);
}

.footer-menu-link:hover {
    color: #000000;
}

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

.footer-bottom {
    border-top: none;
    padding-top: 0;
    text-align: center;
}

.copyright {
    font-size: 16px;
    color: #3a3a2a;
    font-weight: 500;
}

/* ==========================================================================
   SCROLL REVEAL CLASES (Inserción con JS vía IntersectionObserver)
   ========================================================================== */

/* EFECTO 12: Reveal 3D (Entrada con rotación X, Y, Z) */
.reveal-3d {
    opacity: 0;
    transform: translateY(30px) rotateX(15deg) rotateY(-5deg) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-3d.active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
}

/* EFECTO 13: Reveal Scale (Entrada con escala y rotación Z) */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8) rotateZ(-3deg);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
}

/* ==========================================================================
   DISEÑO RESPONSIVE (Tablets y Móviles)
   ========================================================================== */

/* -------- TABLET (max-width: 1024px) -------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 20px;
        max-width: 60%;
    }

    .section-title {
        font-size: 56px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-num {
        font-size: 48px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-step::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-title {
        font-size: 42px;
    }

    .contact-form-col {
        padding: 36px;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .tech-stack,
    .process,
    .services,
    .portfolio {
        height: auto;
        padding: 100px 0;
    }

    .faq {
        padding: 80px 0;
    }

    .faq-question {
        font-size: 19px;
    }

    .faq-answer p {
        font-size: 17px;
    }

    /* Profile rings más pequeños */
    .profile-container {
        width: 420px;
        height: 420px;
    }

    .profile-frame {
        width: 360px;
        height: 360px;
    }

    .ring-solid { width: 500px; height: 500px; }
    .ring-reverse { width: 467px; height: 467px; }
    .ring-dashed { width: 434px; height: 434px; }
    .ring-dotted { width: 534px; height: 534px; }

    .marquee-text {
        -webkit-text-stroke: 2px rgba(255, 252, 0, 0.35);
    }

    .service-card {
        padding: 36px 28px;
    }

    .service-card-title {
        font-size: 26px;
    }

    .service-decor-num {
        font-size: 70px;
    }
}

/* -------- MÓVIL (max-width: 768px) -------- */
@media (max-width: 768px) {
    html {
        font-size: 18px;
    }

    /* --- NAVBAR MÓVIL --- */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(3, 3, 8, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--border-color);
        padding: 40px 24px;
    }

    body.light-mode .nav-menu {
        background-color: rgba(248, 246, 240, 0.98);
    }

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

    .nav-link {
        font-size: 22px;
    }

    .nav-cta-item .btn {
        font-size: 18px;
        padding: 10px 24px;
    }

    /* --- HERO MÓVIL --- */
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-col {
        align-items: center;
    }

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

    .hero-subtitle {
        font-size: 17px;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-actions .btn {
        font-size: 16px;
        padding: 10px 22px;
    }

    .draw-text-container {
        margin: 0 auto;
        max-width: 100%;
    }

    .draw-text {
        font-size: 11px;
    }

    /* --- FOTO PERFIL MÓVIL --- */
    .profile-container {
        width: 300px;
        height: 300px;
    }

    .profile-frame {
        width: 260px;
        height: 260px;
    }

    .ring-solid { width: 370px; height: 370px; }
    .ring-reverse { width: 340px; height: 340px; }
    .ring-dashed { width: 310px; height: 310px; }
    .ring-dotted { width: 400px; height: 400px; }

    .badge-founder {
        font-size: 13px;
        padding: 5px 12px;
        bottom: 2%;
        right: 2%;
    }

    /* --- PARALLAX / TEXTOS DE FONDO --- */
    .text-innovacion, .text-tecnologia {
        display: none;
    }

    /* --- SECCIONES GENERALES --- */
    .section-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .section-desc {
        font-size: 16px;
    }

    /* --- STATS --- */
    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-num {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* --- TECH STACK --- */
    .tech-stack {
        height: auto;
        padding: 80px 0;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tech-badge {
        padding: 12px 18px;
        font-size: 15px;
        gap: 8px;
    }

    .tech-icon {
        font-size: 22px;
    }

    .marquee-text {
        font-size: clamp(50px, 10vw, 120px);
        -webkit-text-stroke: 2px rgba(255, 252, 0, 0.3);
    }

    /* --- PROCESO --- */
    .process {
        height: auto;
        padding: 80px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step {
        padding: 28px 24px;
    }

    .step-number {
        font-size: 48px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-desc {
        font-size: 16px;
    }

    /* --- SERVICIOS --- */
    .services {
        height: auto;
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-card-title {
        font-size: 24px;
    }

    .service-card-desc {
        font-size: 17px;
    }

    .service-card-features {
        font-size: 16px;
    }

    .service-decor-num {
        font-size: 60px;
        top: 16px;
        right: 16px;
    }

    .service-icon-wrapper {
        width: 52px;
        height: 52px;
        margin-bottom: 24px;
    }

    .service-icon {
        font-size: 26px;
    }

    /* --- PORTAFOLIO --- */
    .portfolio {
        height: auto;
        padding: 80px 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-card {
        border-radius: 12px;
    }

    .portfolio-img {
        height: 180px;
    }

    .portfolio-info {
        padding: 20px;
    }

    .portfolio-title {
        font-size: 20px;
    }

    .portfolio-desc {
        font-size: 15px;
    }

    /* --- FAQ --- */
    .faq {
        padding: 60px 0;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-intro {
        font-size: 18px;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-question {
        font-size: 17px;
        padding: 16px 18px;
        gap: 12px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 18px;
    }

    .faq-answer p {
        padding: 0 18px 16px 54px;
        font-size: 16px;
    }

    /* --- CONTACTO --- */
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        gap: 36px;
    }

    .contact-title {
        font-size: 34px;
    }

    .contact-subtitle {
        font-size: 17px;
    }

    .contact-form-col {
        padding: 28px;
        border-radius: 16px;
    }

    .form-label {
        font-size: 16px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 17px;
    }

    .btn-liquid {
        font-size: 18px;
        height: 48px;
    }

    .detail-val {
        font-size: 17px;
    }

    .detail-label {
        font-size: 14px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .trust-tags {
        gap: 8px;
    }

    .trust-tag {
        font-size: 14px;
        padding: 5px 12px;
    }

    .success-title {
        font-size: 24px;
    }

    .success-desc {
        font-size: 17px;
    }

    .form-success-container {
        padding: 28px;
        border-radius: 16px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-left {
        align-items: center;
    }

    .footer-logo {
        font-size: 30px;
    }

    .footer-phrase {
        font-size: 16px;
    }

    .footer-socials {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .copyright {
        font-size: 14px;
    }

    /* --- SCROLL TOP BUTTON --- */
    .scroll-top-btn {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

}

/* -------- MÓVIL PEQUEÑO (max-width: 480px) -------- */
@media (max-width: 480px) {

    html {
        font-size: 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions .btn {
        font-size: 15px;
        padding: 10px 18px;
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .stat-card {
        padding: 20px 16px;
    }

    .stat-num {
        font-size: 36px;
    }

    .stat-label {
        font-size: 13px;
    }

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

    .tech-badge {
        padding: 10px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .profile-container {
        width: 250px;
        height: 250px;
    }

    .profile-frame {
        width: 216px;
        height: 216px;
    }

    .ring-solid { width: 310px; height: 310px; }
    .ring-reverse { width: 280px; height: 280px; }
    .ring-dashed { width: 250px; height: 250px; }
    .ring-dotted { width: 340px; height: 340px; }

    .badge-founder {
        font-size: 11px;
        padding: 4px 10px;
    }

    .faq-question {
        font-size: 16px;
        padding: 14px 14px;
        gap: 10px;
    }

    .faq-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 14px 14px 46px;
        font-size: 15px;
    }

    .contact-form-col {
        padding: 20px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-detail-item {
        padding: 12px;
        gap: 14px;
    }

    .icon-box {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .detail-val {
        font-size: 15px;
    }

    .portfolio-img {
        height: 160px;
    }

    .marquee-text {
        font-size: clamp(36px, 9vw, 80px);
        letter-spacing: 5px;
        -webkit-text-stroke: 1.5px rgba(255, 252, 0, 0.3);
    }

    .process-step {
        padding: 24px 18px;
    }

    .step-number {
        font-size: 40px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-desc {
        font-size: 15px;
    }
}

/* ==========================================================================
   EFECTO 28: RESPETO POR REDUCIR MOVIMIENTO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .custom-cursor-outline, .custom-cursor-dot {
        display: none !important;
    }

    .profile-container,
    .ring,
    .breathe-icon,
    .breathe-ring,
    .service-icon-wrapper,
    .badge-founder,
    .particles span {
        animation: none !important;
        transform: none !important;
    }

    .hero-title .gradient-text {
        animation: none !important;
    }

    .parallax-layer {
        transform: none !important;
        transition: none !important;
    }

    .reveal-3d, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .btn, .social-link, .stat-card, .service-card, .contact-detail-item {
        transition: none !important;
    }

    .btn:hover, .social-link:hover, .stat-card:hover, .service-card:hover, .contact-detail-item:hover {
        transform: none !important;
    }
}
