/* ========================================
   DIGI PYME - SISTEMA DE DISEÑO PREMIUM
   Paleta de Colores Definida y Profesional
======================================== */

:root {
    /* === PALETA DE COLORES PRINCIPAL === */
    /* Azul Primario - Confianza y profesionalidad */
    --primary: #0052FF;
    --primary-dark: #0041CC;
    --primary-light: #3D7DFF;
    --primary-ultra-light: #E8F0FF;

    /* Verde Crecimiento - Éxito y resultados */
    --success: #00D68F;
    --success-dark: #00B878;
    --success-light: #2DE1A1;
    --success-ultra-light: #E6FCF5;

    /* Púrpura Innovación - Creatividad y calidad */
    --premium: #7B61FF;
    --premium-dark: #6245FF;
    --premium-light: #9B82FF;
    --premium-ultra-light: #F2EFFF;

    /* Naranja Acción - Energía y dinamismo */
    --accent: #FF6B4A;
    --accent-dark: #FF4D29;
    --accent-light: #FF8C70;
    --accent-ultra-light: #FFF0ED;

    /* === ESCALA DE GRISES === */
    --gray-900: #0A0E1A;
    --gray-800: #161B2E;
    --gray-700: #1E2745;
    --gray-600: #4B5578;
    --gray-500: #6B7794;
    --gray-400: #9AA1B9;
    --gray-300: #C7CEDB;
    --gray-200: #E3E8F0;
    --gray-100: #F5F7FA;
    --white: #FFFFFF;

    /* === GRADIENTES MEJORADOS === */
    --gradient-primary: linear-gradient(135deg, #0052FF 0%, #7B61FF 100%);
    --gradient-success: linear-gradient(135deg, #00D68F 0%, #0052FF 100%);
    --gradient-premium: linear-gradient(135deg, #7B61FF 0%, #FF6B4A 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E1A 0%, #161B2E 100%);
    --gradient-light: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);

    /* === SOMBRAS PROFESIONALES === */
    --shadow-xs: 0 1px 2px 0 rgba(10, 14, 26, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(10, 14, 26, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 14, 26, 0.1);
    --shadow-lg: 0 8px 24px rgba(10, 14, 26, 0.12);
    --shadow-xl: 0 16px 40px rgba(10, 14, 26, 0.15);
    --shadow-2xl: 0 24px 56px rgba(10, 14, 26, 0.18);
    --shadow-glow-primary: 0 0 32px rgba(0, 82, 255, 0.35);
    --shadow-glow-success: 0 0 32px rgba(0, 214, 143, 0.35);
    --shadow-glow-premium: 0 0 32px rgba(123, 97, 255, 0.35);

    /* === TRANSICIONES Y ANIMACIONES === */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* === ESPACIADO Y BORDES === */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* === TIPOGRAFÍA === */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

/* ========================================
   NAVEGACIÓN PREMIUM
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0;
    letter-spacing: -0.03em;
}

.logo-digi {
    color: var(--primary);
    font-weight: 900;
}

.logo-pyme {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

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

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

.btn-primary-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-primary-nav::after {
    display: none;
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gray-900);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--gradient-light);
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 140%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--primary-ultra-light) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--primary-ultra-light) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--primary-ultra-light);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    border: 2px solid rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 var(--primary);
}

.hero-title {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 700px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-wrapper {
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.stat-number {
    font-size: 3.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: var(--font-display);
}

.stat-plus {
    font-size: 3.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* ========================================
   BENEFITS BAR
======================================== */
.benefits-bar {
    padding: 4rem 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.benefit-item h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   BOTONES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn svg {
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--primary-ultra-light);
    border-radius: var(--radius-full);
    border: 2px solid rgba(0, 102, 255, 0.15);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.75rem;
    color: var(--gray-900);
}

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

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

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, var(--gray-100) 0%, transparent 100%);
    pointer-events: none;
}

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

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gray-100);
    font-family: var(--font-display);
    line-height: 1;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.service-icon-svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 1.875rem;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.service-features li {
    color: var(--gray-700);
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-weight: 500;
}

.service-features li:first-child {
    border-top: none;
}

.check-icon {
    color: var(--success);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   PROCESO
======================================== */
.process {
    background: var(--gradient-light);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 55px;
    top: 110px;
    width: 3px;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, var(--primary) 0%, var(--success) 100%);
    opacity: 0.3;
}

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

.step-number {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 900;
    box-shadow: var(--shadow-2xl), var(--shadow-glow-primary);
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
}

.step-content {
    flex: 1;
    padding-top: 1.5rem;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.125rem;
}

/* ========================================
   PORTAFOLIO
======================================== */
.portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.625rem;
    text-align: center;
    padding: 3rem;
    font-family: var(--font-display);
    transition: var(--transition);
}

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

.portfolio-info {
    padding: 2.5rem;
}

.portfolio-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.portfolio-info p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.portfolio-tag {
    display: inline-block;
    background: var(--primary-ultra-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid rgba(0, 102, 255, 0.15);
}

/* ========================================
   TESTIMONIOS
======================================== */
.testimonials {
    background: var(--gradient-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.testimonial-stars {
    font-size: 1.625rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.125rem;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ========================================
   PRECIOS
======================================== */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-2xl), var(--shadow-glow-primary);
}

.pricing-card.featured:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .pricing-features li {
    color: var(--white);
}

.badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: var(--white);
    padding: 0.625rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg), var(--shadow-glow-success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    color: var(--gray-900);
}

.currency {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.amount {
    font-size: 4.75rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-display);
}

.period {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-top: 2rem;
    margin-left: 0.5rem;
    font-weight: 500;
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.85);
}

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

.pricing-features li {
    padding: 1rem 0;
    color: var(--gray-700);
    border-top: 1px solid var(--gray-200);
    font-weight: 500;
    font-size: 1.05rem;
}

.pricing-card.featured .pricing-features li {
    border-top-color: rgba(255, 255, 255, 0.25);
}

.pricing-features li:first-child {
    border-top: none;
}

.pricing-addon {
    background: var(--primary-ultra-light);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-addon strong {
    display: block;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pricing-addon p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.pricing-addon.featured {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.pricing-addon.featured strong,
.pricing-addon.featured p {
    color: var(--white);
}

/* ========================================
   IDEA SECTION
======================================== */
.idea-section {
    background: var(--gradient-light);
}

.idea-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.idea-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.idea-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.idea-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.idea-card h3 {
    font-size: 1.625rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
}

.idea-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.05rem;
}

.idea-cta {
    text-align: center;
}

.btn-large {
    padding: 1.375rem 3rem;
    font-size: 1.125rem;
}

/* ========================================
   CONTACTO
======================================== */
.contact {
    background: var(--gradient-dark);
    color: var(--white);
}

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

.contact-info h2 {
    font-size: 3.25rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.contact-info p {
    color: var(--gray-300);
    margin-bottom: 3.5rem;
    font-size: 1.25rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.125rem;
}

.contact-item p {
    color: var(--gray-300);
    margin: 0;
    font-size: 1.05rem;
}

.contact-form {
    background: var(--gray-800);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-700);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-lg);
    background: var(--gray-900);
    color: var(--white);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--gray-800);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}

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

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 5rem 0 2.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.25rem;
    color: var(--gray-500);
    font-size: 1.05rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-column a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 2px solid var(--gray-800);
    color: var(--gray-500);
}

/* ========================================
   WHATSAPP BUTTON
======================================== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

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

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

/* ========================================
   ANIMACIONES
======================================== */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(0, 102, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

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

    .menu-toggle {
        display: flex;
    }

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

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

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

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

    .hero-cta .btn {
        width: 100%;
    }

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

    .process-step {
        flex-direction: column;
        gap: 1.5rem;
    }

    .process-step::after {
        left: 55px;
        top: 120px;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }

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

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

    .stat-number {
        font-size: 3rem;
    }

    .service-card,
    .testimonial-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .trust-logos {
        gap: 2rem;
    }
}