/* ============================================
   DAJO STUDIO - STYLES v2.0
   ============================================
   Archivo: styles.css
   Empresa: Desarrollo Web + Marketing Digital
   ============================================ */

/* ============================================
   CSS VARIABLES - BRAND COLORS
   ============================================ */
:root {
    /* Colores principales */
    --bg-primary: #0B0F19;
    --bg-secondary: #111827;
    --bg-card: #1F2937;
    
    /* Colores de marca */
    --violet-base: #4F46E5;
    --cyan-neon: #06B6D4;
    --white-off: #E5E7EB;
    --gray-ui: #9CA3AF;
    --gray-dark: #4B5563;
    
    /* Gradientes */
    --gradient-brand: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    --gradient-hover: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%);
    
    /* Sombras */
    --shadow-glow: 0 0 60px rgba(79, 70, 229, 0.3);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tipografías */
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan-neon);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-ui);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--violet-base);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--cyan-neon);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--violet-base), var(--cyan-neon));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(40px, 40px) scale(1.05); }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-logo {
    height: 500px;
    width: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-ui);
    position: relative;
    transition: var(--transition-smooth);
}

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

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

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

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-brand);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white-off);
    transition: var(--transition-smooth);
    display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--cyan-neon);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan-neon);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-ui);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-display);
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white-off);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--cyan-neon);
    color: var(--cyan-neon);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeLeft 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-container {
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-12deg) rotateX(3deg) translateY(-20px); }
}

.mockup-browser {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }

.mockup-url {
    flex: 1;
    margin-left: 16px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-ui);
}

.mockup-content {
    height: 300px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mockup-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-ui);
    text-align: left;
    padding: 20px;
}

.mockup-code .keyword { color: var(--violet-base); }
.mockup-code .string { color: var(--cyan-neon); }
.mockup-code .function { color: #F59E0B; }
.mockup-code .comment { color: var(--gray-dark); }

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1s; }
.stat-item:nth-child(2) { animation-delay: 1.2s; }
.stat-item:nth-child(3) { animation-delay: 1.4s; }

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-ui);
    margin-top: 4px;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   CATALOG SECTION
   ============================================ */
.catalog {
    background: var(--bg-secondary);
}

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

.catalog-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.catalog-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.catalog-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--cyan-neon);
}

.catalog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.catalog-description {
    color: var(--gray-ui);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.catalog-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-tag {
    padding: 5px 12px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--cyan-neon);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.3);
}

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

.service-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--violet-base);
    margin-bottom: 14px;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    color: var(--gray-ui);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.portfolio-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--gray-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-display);
}

.portfolio-tab:hover,
.portfolio-tab.active {
    background: var(--gradient-brand);
    border-color: transparent;
    color: white;
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-preview {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.portfolio-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-primary);
}

.portfolio-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.portfolio-browser-dot:nth-child(1) { background: #EF4444; }
.portfolio-browser-dot:nth-child(2) { background: #F59E0B; }
.portfolio-browser-dot:nth-child(3) { background: #10B981; }

.portfolio-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    position: relative;
}

.portfolio-style {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan-neon);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.portfolio-name {
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 20px;
}

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

.portfolio-overlay-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-overlay-desc {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 20px;
    text-align: center;
}

.portfolio-overlay-btn {
    padding: 10px 24px;
    background: white;
    color: var(--violet-base);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.portfolio-overlay-btn:hover {
    transform: scale(1.05);
}

/* Portfolio Style Variations */
.portfolio-item[data-style="landing"] .portfolio-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.portfolio-item[data-style="corporate"] .portfolio-content {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.portfolio-item[data-style="ecommerce"] .portfolio-content {
    background: linear-gradient(135deg, #14532d 0%, #166534 50%, #0f172a 100%);
}

.portfolio-item[data-style="blog"] .portfolio-content {
    background: linear-gradient(135deg, #7c2d12 0%, #1c1917 100%);
}

.portfolio-item[data-style="webapp"] .portfolio-content {
    background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%);
}

.portfolio-item[data-style="mobile"] .portfolio-content {
    background: linear-gradient(135deg, #0e7490 0%, #164e63 100%);
}

/* ============================================
   PROCESS SECTION - FIXED TIMELINE
   ============================================ */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Línea central */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: var(--gradient-brand);
    transform: translateX(-50%);
    border-radius: 3px;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    align-items: center;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Número central */
.process-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    z-index: 2;
    flex-shrink: 0;
    position: relative;
}

/* Contenido */
.process-content {
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pasos impares: contenido a la izquierda */
.process-step:nth-child(odd) .process-content {
    grid-column: 1;
    text-align: right;
}

.process-step:nth-child(odd) .process-number {
    grid-column: 2;
}

.process-step:nth-child(odd) .process-spacer {
    grid-column: 3;
}

/* Pasos pares: contenido a la derecha */
.process-step:nth-child(even) .process-spacer {
    grid-column: 1;
}

.process-step:nth-child(even) .process-number {
    grid-column: 2;
}

.process-step:nth-child(even) .process-content {
    grid-column: 3;
    text-align: left;
}

.process-spacer {
    /* Espacio vacío para mantener el grid */
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white-off);
}

.process-description {
    color: var(--gray-ui);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--gray-ui);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-method-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--cyan-neon);
}

.contact-method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-method-content p {
    color: var(--gray-ui);
    font-size: 0.9375rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-ui);
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white-off);
    font-family: var(--font-display);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--cyan-neon);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--white-off);
}

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

.form-submit {
    padding: 16px 32px;
    background: var(--gradient-brand);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.form-submit svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 70px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--gray-ui);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white-off);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--gray-ui);
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--cyan-neon);
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    color: var(--gray-ui);
    font-size: 0.875rem;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-social {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    stroke: var(--gray-ui);
    transition: var(--transition-smooth);
}

.footer-social:hover {
    background: var(--gradient-brand);
}

.footer-social:hover svg {
    stroke: white;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .catalog-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .nav-cta {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .hero-text {
        order: 1;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

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

    .hero-visual {
        order: 2;
    }

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

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

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

    /* Timeline responsive - versión vertical */
    .process-timeline::before {
        left: 28px;
    }

    .process-step {
        display: flex;
        flex-direction: row;
        gap: 24px;
        padding-left: 0;
    }

    .process-number {
        flex-shrink: 0;
        width: 56px;
        height: 56px;
    }

    .process-content {
        flex: 1;
        text-align: left !important;
    }

    .process-spacer {
        display: none;
    }

    .process-step:nth-child(odd) .process-content,
    .process-step:nth-child(even) .process-content {
        grid-column: unset;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .mockup-container {
        transform: none;
        animation: none;
    }

    .portfolio-tabs {
        gap: 6px;
    }

    .portfolio-tab {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .btn {
        padding: 12px 22px;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .catalog-card,
    .service-card {
        padding: 24px;
    }

    .process-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .process-timeline::before {
        left: 24px;
    }

    .nav-logo img {
        height: 36px;
    }
}
