/* ============================================
   SISTEMA DE DISEÑO MINIMALISTA - VERSIÓN FINAL
   ============================================ */

/* Variables de Diseño - ESTILO APPLE */
:root {
    /* Paleta Monocromática Apple (para index.html) */
    --color-white: #FFFFFF;
    --color-off-white: #F5F5F7;
    --color-light-gray: #F5F5F7;
    --color-medium-gray: #E5E5EA;
    --color-text-gray: #86868B;
    --color-text-dark: #1D1D1D;
    --color-text-light: #A1A1A6;
    
    /* Paleta Premium Oscura (para servicios.html) */
    --color-dark-bg: #000000;
    --color-dark-card: #1D1D1D;
    --color-dark-border: #424245;
    --color-dark-text: #F5F5F7;
    --color-dark-text-light: #E5E5EA;
    --color-dark-text-gray: #A1A1A6;
    
    /* Color de Acento Estratégico (Azul Apple) */
    --color-accent: #0071E3; /* Azul Apple oficial */
    --color-accent-light: #F0F6FF;
    --color-positive: #34C759; /* Verde Apple */
    --color-negative: #FF3B30; /* Rojo Apple */
    
    /* Tipografía - San Francisco (Apple) */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Escala de Tipografía */
    --text-xs: 0.75rem;   /* 12px */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-lg: 1.125rem;  /* 18px */
    --text-xl: 1.25rem;   /* 20px */
    --text-2xl: 1.5rem;   /* 24px */
    --text-3xl: 1.875rem; /* 30px */
    --text-4xl: 2.25rem;  /* 36px */
    --text-5xl: 3rem;     /* 48px */
    --text-6xl: 3.75rem;  /* 60px */
    
    /* Espaciado */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    --space-4xl: 6rem;    /* 96px */
    
    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Sombras Sutiles */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

/* Página de Servicios - Tema Oscuro */
body.services-page {
    background-color: var(--color-dark-bg);
    color: var(--color-dark-text);
}

/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   COMPONENTES REUTILIZABLES
   ============================================ */

/* Encabezados de Sección */
.section {
    padding: var(--space-4xl) 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #1d1d1f;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* ============================================
   CASE STUDY SECTION - APPLE STYLE
   ============================================ */
.case-study-section {
    padding: 80px 0;
    background: white;
}

/* ============================================
   CONTEXT Y CHALLENGE - APPLE STYLE
   ============================================ */
.case-context {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 60px 0 80px;
    padding: 40px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #e8e8ed;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.context-item {
    text-align: center;
}

.context-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    font-weight: 600;
    margin-bottom: 8px;
}

.context-value {
    font-size: 0.9375rem;
    color: #1d1d1f;
    font-weight: 500;
}

.context-divider {
    width: 1px;
    height: 24px;
    background: #e8e8ed;
    display: none;
}

@media (min-width: 768px) {
    .context-divider {
        display: block;
    }
}

.case-challenge {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 40px;
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
}

.case-challenge h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.case-challenge p {
    font-size: 1rem;
    line-height: 1.6;
    color: #86868b;
    font-weight: 400;
}

/* ============================================
   SKILLS & KEYWORDS SECTION - APPLE STYLE
   ============================================ */
.skills-keywords-section {
    padding: 80px 0;
    background: white;
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.keyword-card {
    background: #fafafa;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.keyword-card:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.keyword-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(52, 199, 89, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.keyword-icon svg {
    stroke: #0071e3;
    transition: all 0.3s ease;
}

.keyword-card:hover .keyword-icon {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.15) 0%, rgba(52, 199, 89, 0.15) 100%);
    transform: scale(1.05);
}

.keyword-card:hover .keyword-icon svg {
    stroke: #0077ed;
    transform: scale(1.1);
}

.keyword-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.keyword-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #86868b;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   DESIGN SYSTEM SECTION - GLASSMORPHISM SHOWCASE
   ============================================ */
.design-system-section {
    padding: 120px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image Full Screen - SIN FILTROS */
.ds-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/design-system-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

/* GLASSMORPHISM CARD - VIDRIO TRANSPARENTE LIMPIO */
.ds-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px) saturate(100%);
    -webkit-backdrop-filter: blur(10px) saturate(100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 80px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: glassCardFloat 6s ease-in-out infinite;
}

.ds-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 8s linear infinite;
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.ds-glass-card .section-header h2 {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ds-glass-card .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 1.25rem;
}

/* DS Stats Row */
.ds-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 60px 0 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ds-stat-item {
    text-align: center;
}

.ds-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ds-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* DS Foundation */
.ds-foundation {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.ds-section-block {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 48px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.ds-section-block:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ds-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.ds-section-title h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ds-tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Color Grid Pro */
.color-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.color-item-pro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.color-preview-large {
    height: 140px;
    border-radius: 16px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.color-item-pro:hover .color-preview-large {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.color-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-codes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-codes code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.8125rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 10px;
    border-radius: 8px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.color-usage {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

/* Typography Scale Pro */
.type-scale-pro {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.type-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.type-row:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateX(8px);
}

.type-sample {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.display-sample {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.heading-1-sample {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.heading-2-sample {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.body-sample {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.caption-sample {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
}

.type-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.type-spec-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.type-spec-value {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Components Showcase Grid */
.components-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.component-demo-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.component-demo-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.component-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.component-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* DS Buttons */
.btn-ds {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ds-primary {
    background: rgba(255, 255, 255, 0.9);
    color: #0071e3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-ds-primary:hover, .btn-ds-primary-hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-ds-disabled {
    background: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

/* DS Inputs */
.input-ds {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: white;
    font-family: inherit;
    transition: all 0.2s ease;
}

.input-ds::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-ds:focus, .input-ds-focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* DS Cards */
.card-ds {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-ds-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.card-ds-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* DS Badges */
.badge-ds {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-ds-blue {
    background: rgba(0, 113, 227, 0.3);
    color: white;
}

.badge-ds-green {
    background: rgba(52, 199, 89, 0.3);
    color: white;
}

.badge-ds-gray {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Tokens Visual Grid */
.tokens-visual-grid {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    justify-content: center;
    flex-wrap: wrap;
}

.token-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.token-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.token-visual-item:hover .token-box {
    transform: scale(1.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    background: white;
}

.token-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .ds-glass-card {
        padding: 40px 24px;
    }
    
    .type-row {
        grid-template-columns: 1fr;
    }
    
    .display-sample {
        font-size: 2rem;
    }
    
    .heading-1-sample {
        font-size: 1.5rem;
    }
    
    .color-grid-pro {
        grid-template-columns: 1fr;
    }
}

/* OLD DESIGN SYSTEM STYLES - DEPRECATED */
.ds-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 60px 0 80px;
    padding: 40px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    border-radius: 20px;
}

.ds-stat-item {
    text-align: center;
}

.ds-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ds-stat-label {
    font-size: 0.875rem;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* DS Foundation */
.ds-foundation {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.ds-section-block {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ds-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f5f5f7;
}

.ds-section-title h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.ds-tag {
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(52, 199, 89, 0.1) 100%);
    color: #0071e3;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Color Grid Pro */
.color-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.color-item-pro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.color-preview-large {
    height: 120px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.color-item-pro:hover .color-preview-large {
    transform: scale(1.05);
}

.color-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
}

.color-codes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-codes code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.8125rem;
    color: #0071e3;
    background: #f5f5f7;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
}

.color-usage {
    font-size: 0.8125rem;
    color: #86868b;
    font-style: italic;
}

/* Typography Scale Pro */
.type-scale-pro {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.type-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.type-row:hover {
    background: #f5f5f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.type-sample {
    color: #1d1d1f;
}

.display-sample {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.heading-1-sample {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.heading-2-sample {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.3;
}

.body-sample {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1d1d1f;
}

.caption-sample {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
}

.type-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.type-spec-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d1d1f;
}

.type-spec-value {
    font-size: 0.8125rem;
    color: #0071e3;
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Components Showcase Grid */
.components-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.component-demo-card {
    background: #fafafa;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.component-demo-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.component-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.component-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* DS Buttons */
.btn-ds {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ds-primary {
    background: #0071e3;
    color: white;
}

.btn-ds-primary-hover {
    background: #0077ed;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-ds-disabled {
    background: #e8e8ed;
    color: #86868b;
    cursor: not-allowed;
}

/* DS Inputs */
.input-ds {
    padding: 12px 16px;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1d1d1f;
    font-family: inherit;
    transition: all 0.2s ease;
}

.input-ds:focus, .input-ds-focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* DS Cards */
.card-ds {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-ds-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.card-ds-text {
    font-size: 0.875rem;
    color: #86868b;
    line-height: 1.5;
}

/* DS Badges */
.badge-ds {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-right: 8px;
}

.badge-ds-blue {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
}

.badge-ds-green {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.badge-ds-gray {
    background: #f5f5f7;
    color: #86868b;
}

/* Tokens Visual Grid */
.tokens-visual-grid {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 40px;
    background: #fafafa;
    border-radius: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.token-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.token-box {
    background: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
    transition: all 0.3s ease;
}

.token-visual-item:hover .token-box {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.token-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d1d1f;
}

/* Responsive */
@media (max-width: 768px) {
    .type-row {
        grid-template-columns: 1fr;
    }
    
    .display-sample {
        font-size: 2rem;
    }
    
    .heading-1-sample {
        font-size: 1.5rem;
    }
    
    .color-grid-pro {
        grid-template-columns: 1fr;
    }
}

/* OLD DESIGN SYSTEM STYLES - DEPRECATED */

/* Servicios - Ajustes para tema oscuro */
.services-page .section-subtitle {
    color: var(--color-dark-text-gray);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #0052A3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-medium-gray);
}

.btn-secondary:hover {
    border-color: var(--color-text-dark);
    background-color: var(--color-light-gray);
}

.btn.large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

/* Servicios - Ajustes de botones para tema oscuro */
.services-page .btn-secondary {
    color: var(--color-dark-text);
    border-color: var(--color-dark-border);
}

.services-page .btn-secondary:hover {
    background-color: var(--color-dark-card);
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

/* Header para tema oscuro (servicios.html) */
.dark-header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-dark-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: inherit;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-lg);
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
}

/* Ajuste para tema oscuro */
.dark-header .logo-mark {
    background-color: var(--color-dark-text);
    color: var(--color-dark-bg);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-nav a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
    padding: var(--space-sm) 0;
}

.main-nav a:hover {
    color: var(--color-text-dark);
}

.main-nav a.active {
    color: var(--color-text-dark);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 1px;
}

.nav-link-special {
    color: var(--color-accent) !important;
    font-weight: var(--font-weight-semibold) !important;
}

.nav-cta {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full);
}

.nav-cta:hover {
    background-color: #0052A3;
    transform: translateY(-1px);
}

/* Ajustes para tema oscuro */
.dark-header .main-nav a {
    color: var(--color-dark-text-light);
}

.dark-header .main-nav a:hover {
    color: var(--color-dark-text);
}

.dark-header .nav-link-special {
    color: var(--color-accent) !important;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Hero Principal (index.html) */
.hero-section {
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
    background-color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.result-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.hero-headline {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.highlight {
    color: var(--color-accent);
}

.hero-subhead {
    font-size: var(--text-xl);
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

.hero-subhead strong {
    color: var(--color-text-dark);
    font-weight: var(--font-weight-medium);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-light-gray);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

/* Hero de Servicios (servicios.html) */
.services-hero {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    text-align: center;
    position: relative;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-dark-text-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-dark-text);
}

.page-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: var(--text-xl);
    color: var(--color-dark-text-gray);
    margin-bottom: var(--space-2xl);
}

.services-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.services-stats .stat-number {
    color: var(--color-accent);
}

/* ============================================
   SECCIÓN DE RESULTADOS
   ============================================ */
.results-section {
    background-color: var(--color-off-white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.metric-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.metric-value {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.metric-value.positive {
    color: var(--color-positive);
}

.metric-value.negative {
    color: var(--color-negative);
}

.metric-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.metric-desc {
    color: var(--color-text-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.metric-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-light-gray);
    color: var(--color-text-gray);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CASO DE ÉXITO
   ============================================ */
.case-study-container {
    background-color: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-light-gray);
    border-bottom: 1px solid var(--color-medium-gray);
}

.comparison-label {
    padding: var(--space-lg);
    text-align: center;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
}

.comparison-label.before {
    color: var(--color-negative);
    border-right: 1px solid var(--color-medium-gray);
}

.comparison-label.after {
    color: var(--color-positive);
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl);
}

@media (max-width: 768px) {
    .image-comparison {
        grid-template-columns: 1fr;
    }
}

.image-wrapper {
    text-align: center;
}

.case-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.case-image:hover {
    transform: scale(1.01);
}

.image-caption {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
    font-style: italic;
}

/* ============================================
   CASE METRICS - APPLE STYLE
   ============================================ */
.case-metrics {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 80px 20px;
    border-top: 1px solid #e8e8ed;
    border-bottom: 1px solid #e8e8ed;
}

@media (max-width: 768px) {
    .case-metrics {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
}

.case-metric-group {
    display: flex;
    gap: 80px;
    align-items: center;
}

@media (max-width: 768px) {
    .case-metric-group {
        gap: 40px;
        width: 100%;
    }
}

.case-metric {
    text-align: center;
    position: relative;
}

.case-metric .metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.case-metric .metric-name {
    font-size: 0.9375rem;
    color: #86868b;
    font-weight: 400;
}

.case-metric.positive .metric-number {
    color: #1d1d1f;
}

.case-metric.negative .metric-number {
    color: #86868b;
}

/* ============================================
   CASE RESULTS - APPLE STYLE
   ============================================ */
.case-results {
    padding: 80px 20px;
    background-color: #fafafa;
}

.case-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 60px;
    color: #1d1d1f;
}

.results-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.result-number.positive {
    color: #1d1d1f;
}

.result-label {
    font-size: 0.9375rem;
    color: #86868b;
    font-weight: 400;
}

/* ============================================
   TESTIMONIAL - APPLE STYLE
   ============================================ */
.testimonial {
    background-color: white;
    border: 1px solid #e8e8ed;
    border-radius: 18px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 32px;
    font-weight: 400;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: #e8e8ed;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.author-name {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9375rem;
}

.author-role {
    font-size: 0.875rem;
    color: #86868b;
    font-weight: 400;
}

/* ============================================
   THUMBNAILS - APPLE STYLE CENTRADAS
   ============================================ */
.comparison-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin: 80px auto;
    max-width: 900px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .comparison-thumbnails {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
    }
    }
}

.thumbnail-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #e8e8ed;
}

.thumbnail-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.thumbnail-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.expand-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    color: #1d1d1f;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-container:hover .expand-button {
    opacity: 1;
}

.expand-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
    color: white;
    padding: 32px 24px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.thumbnail-container:hover .thumbnail-overlay {
    transform: translateY(0);
    opacity: 1;
}

.thumbnail-overlay .image-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 600;
}

.thumbnail-overlay .image-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    letter-spacing: -0.01em;
}

.thumbnail-overlay .image-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-weight: 400;
}

.process-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 48px;
}

.process-cta .btn {
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* ============================================
   MI PROCESO SECTION - APPLE STYLE
   ============================================ */
.process-section {
    padding: 80px 0;
    background: #fafafa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-card {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e8e8ed;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.process-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 24px;
    font-weight: 400;
}

.process-tools {
    font-size: 0.8125rem;
    color: #0071e3;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-top: 16px;
    border-top: 1px solid #e8e8ed;
}
    gap: var(--space-sm);
}

/* ============================================
   GALLERY GRID - APPLE STYLE PROJECT CARDS
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f5f5f7;
    overflow: hidden;
}

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

.project-image .expand-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: #1d1d1f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card:hover .project-image .expand-button {
    opacity: 1;
}

.project-image .expand-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-info {
    padding: 32px;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #86868b;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-metric {
    font-size: 0.9375rem;
    color: #0071e3;
    font-weight: 500;
    margin-bottom: 20px;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e8e8ed;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.detail-label {
    color: #86868b;
    font-weight: 500;
}

.detail-value {
    color: #1d1d1f;
    font-weight: 400;
}

/* ============================================
   COLLABORATION SECTION - APPLE STYLE
   ============================================ */
.collaboration-section {
    padding: 80px 0;
    background: white;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.collab-card {
    background: #fafafa;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 40px 32px;
}

.collab-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tools-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #0071e3;
    border-radius: 50%;
    color: #0071e3;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.tools-list li strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.tools-list li p {
    font-size: 0.875rem;
    color: #86868b;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* ============================================
   LESSONS SECTION - APPLE STYLE
   ============================================ */
.lessons-section {
    padding: 80px 0;
    background: #fafafa;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lesson-card {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
}

.lesson-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 3rem;
    font-weight: 700;
    color: #e8e8ed;
    letter-spacing: -0.02em;
}

.lesson-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    padding-right: 60px;
}

.lesson-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 16px;
    font-weight: 400;
}

.lesson-card strong {
    color: #1d1d1f;
    font-weight: 600;
}

.lesson-impact {
    display: inline-block;
    background: #e8e8ed;
    color: #1d1d1f;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 8px;
}

/* ============================================
   LEADERSHIP SECTION - APPLE STYLE
   ============================================ */
.leadership-section {
    padding: 80px 0;
    background: white;
}

.leadership-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.leadership-item {
    background: #fafafa;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 40px 32px;
}

.leadership-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.leadership-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 16px;
    font-weight: 400;
}

.leadership-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leadership-list li {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #86868b;
    padding-left: 24px;
    position: relative;
}

.leadership-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 700;
}

.leadership-list li strong {
    color: #1d1d1f;
    font-weight: 600;
}

/* ============================================
   DESIGN SYSTEM IMPACT - APPLE STYLE
   ============================================ */
.design-system-impact {
    background: white;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 48px;
    margin: 60px auto;
    max-width: 800px;
}

.design-system-impact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.impact-stat {
    text-align: center;
}

.impact-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.impact-label {
    display: block;
    font-size: 0.875rem;
    color: #86868b;
    font-weight: 500;
}

.impact-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #86868b;
    margin: 0;
    font-weight: 400;
    padding-top: 24px;
    border-top: 1px solid #e8e8ed;
}

/* ============================================
   CONFLICT STORY - APPLE STYLE
   ============================================ */
.conflict-story {
    background: #fafafa;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 48px;
    margin: 60px auto;
    max-width: 800px;
}

.conflict-story h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.conflict-story p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 20px;
    font-weight: 400;
}

.conflict-story strong {
    color: #1d1d1f;
    font-weight: 600;
}

.conflict-learning {
    display: block;
    background: white;
    border-left: 4px solid #0071e3;
    padding: 16px 20px;
    margin-top: 24px;
    font-size: 0.9375rem;
    color: #1d1d1f;
    font-weight: 500;
    font-style: italic;
}

/* ============================================
   GALERÍA DE MOCKUPS Y VIDEOS - ESTILO APPLE
   ============================================ */
.gallery-section {
    background-color: var(--color-white);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Fila de Videos Grandes */
.gallery-row.video-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-4xl);
}

@media (max-width: 1024px) {
    .gallery-row.video-row {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.video-item.large {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.video-item.large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--color-light-gray);
    overflow: hidden;
}

.mockup-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: var(--space-xl);
}

.video-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.video-desc {
    font-size: var(--text-base);
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Grid de Imágenes (Estilo Apple) */
.gallery-row.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
}

@media (max-width: 1024px) {
    .gallery-row.image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-row.image-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.image-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    aspect-ratio: 1/1;
    cursor: pointer;
}

.image-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
    padding: var(--space-xl);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.image-item:hover .image-overlay {
    transform: translateY(0);
    opacity: 1;
}

.image-category {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.image-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.image-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* CTA de Galería */
.gallery-cta {
    text-align: center;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-medium-gray);
}

.gallery-cta p {
    font-size: var(--text-xl);
    color: var(--color-text-gray);
    margin-bottom: var(--space-lg);
}

/* Modal para imágenes ampliadas */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: var(--text-3xl);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.modal-close:hover {
    opacity: 1;
}

.modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
    padding: var(--space-xl);
    padding-top: var(--space-2xl);
}

/* ============================================
   PÁGINA DE CASO DE ESTUDIO - AMARA
   ============================================ */
.case-page {
    background-color: var(--color-white);
}

.case-hero {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 140px 0 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-accent);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-fast);
}

.back-link:hover {
    gap: var(--space-sm);
}

.case-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.case-hero h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-dark);
}

.case-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-gray);
    margin-bottom: var(--space-3xl);
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

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

.case-stats .stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-positive);
    margin-bottom: var(--space-xs);
}

.case-stats .stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

.case-section {
    padding: var(--space-4xl) 0;
}

.case-section.dark-section {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.case-section.dark-section h2,
.case-section.dark-section h3 {
    color: var(--color-white);
}

.case-section.dark-section .section-subtitle {
    color: var(--color-text-light);
}

.problem-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.problem-card {
    background: var(--color-white);
    border-left: 4px solid var(--color-negative);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.problem-card.critical {
    border-left-color: var(--color-negative);
}

.problem-card.high {
    border-left-color: #FF9500;
}

.problem-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.problem-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.severity-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    margin-top: var(--space-md);
}

.heuristic-showcase {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.heuristic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.heuristic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.heuristic-header h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
}

.severity-badge {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.severity-badge.critical {
    background-color: rgba(255, 59, 48, 0.2);
    color: var(--color-negative);
}

.impact-metric {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-metric .metric-value {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-positive);
}

.impact-metric .metric-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.documentation-cta {
    text-align: center;
    margin-top: var(--space-4xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.documentation-cta .note {
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.brand-images-section {
    background: var(--color-off-white);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.brand-image-item {
    text-align: center;
}

.brand-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-medium-gray);
    cursor: pointer;
    transition: all var(--transition-base);
}

.brand-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.brand-label {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-gray);
    font-weight: var(--font-weight-medium);
}

.visual-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

@media (max-width: 768px) {
    .visual-comparison {
        grid-template-columns: 1fr;
    }
}

.comparison-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 3px solid var(--color-medium-gray);
}

.comparison-title.before {
    border-bottom-color: var(--color-negative);
}

.comparison-title.after {
    border-bottom-color: var(--color-positive);
}

.thumbnail-item {
    margin-bottom: var(--space-xl);
}

.image-thumbnail {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.image-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.thumbnail-caption {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-gray);
    text-align: center;
}

.solution-mockup {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-md);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-progress-bar {
    display: flex;
    gap: var(--space-md);
}

.progress-step {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-light-gray);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

.progress-step.active {
    background: var(--color-accent);
    color: white;
}

.mockup-cta-hierarchy {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-primary {
    padding: var(--space-lg) var(--space-2xl);
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.cta-secondary {
    padding: var(--space-lg) var(--space-2xl);
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.results-section {
    background: var(--color-off-white);
}

.results-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.result-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.result-trend {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
}

.result-trend.positive {
    color: var(--color-positive);
}

.result-trend.negative {
    color: var(--color-negative);
}

.result-detail {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
    margin-bottom: var(--space-md);
}

.result-bar {
    height: 8px;
    background: var(--color-light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--color-positive);
    max-width: 100%;
    transition: width 1s ease;
}

.bar-fill.negative {
    background: var(--color-negative);
}

.client-testimonial {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    margin-top: var(--space-3xl);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.author-name {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
}

.author-role {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

.case-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, #0052A3 100%);
    color: white;
    padding: var(--space-4xl) 0;
    text-align: center;
}

.case-cta h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.case-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xl);
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn.btn-outline:hover {
    background: white;
    color: var(--color-accent);
}

/* ============================================
   METODOLOGÍA/SERVICIOS (en index.html)
   ============================================ */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.service-description {
    color: var(--color-text-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.service-price {
    margin-bottom: var(--space-lg);
}

.price {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    display: block;
    margin-bottom: var(--space-xs);
}

.price-note {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

.service-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--color-light-gray);
    color: var(--color-text-gray);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.service-link {
    display: block;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: #0052A3;
}

.service-link.primary {
    color: var(--color-accent);
    font-weight: var(--font-weight-semibold);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-light-gray);
}

.section-cta p {
    font-size: var(--text-xl);
    color: var(--color-text-gray);
    margin-bottom: var(--space-xl);
}

/* ============================================
   FORMULARIO HUBSPOT (Estilizado)
   ============================================ */
.contact-section {
    background-color: var(--color-off-white);
}

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

.contact-content {
    text-align: center;
}

.contact-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
}

.contact-subtitle {
    font-size: var(--text-xl);
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
}

.highlight-list {
    display: block;
    color: var(--color-text-dark);
    font-weight: var(--font-weight-medium);
}

.hubspot-form-container {
    background: var(--color-white);
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
}

/* Sobreescribir estilos de HubSpot para que coincidan con nuestro diseño */
.hs-form-field {
    margin-bottom: var(--space-lg) !important;
}

.hs-form-field label {
    font-family: var(--font-primary) !important;
    font-size: var(--text-sm) !important;
    font-weight: var(--font-weight-medium) !important;
    color: var(--color-text-dark) !important;
    margin-bottom: var(--space-xs) !important;
    display: block !important;
}

.hs-input {
    width: 100% !important;
    padding: var(--space-md) !important;
    border: 1px solid var(--color-medium-gray) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--text-base) !important;
    color: var(--color-text-dark) !important;
    background: var(--color-white) !important;
    transition: border-color var(--transition-fast) !important;
}

.hs-input:focus {
    outline: none !important;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px var(--color-accent-light) !important;
}

.hs-error-msgs {
    list-style: none !important;
    padding: 0 !important;
    margin: var(--space-xs) 0 0 0 !important;
}

.hs-error-msgs li {
    color: var(--color-negative) !important;
    font-size: var(--text-sm) !important;
    margin-top: var(--space-xs) !important;
}

.hs-button {
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: var(--space-md) var(--space-xl) !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--text-base) !important;
    font-weight: var(--font-weight-medium) !important;
    cursor: pointer !important;
    transition: all var(--transition-base) !important;
    width: 100% !important;
    margin-top: var(--space-md) !important;
}

.hs-button:hover {
    background-color: #0052A3 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Responsive para formulario HubSpot */
@media (max-width: 768px) {
    .hubspot-form-container {
        padding: var(--space-lg);
    }
    
    .hs-form-field {
        margin-bottom: var(--space-md) !important;
    }
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-light-gray);
    max-width: 800px;
    margin: var(--space-2xl) auto 0;
}

@media (max-width: 768px) {
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg) var(--space-xl);
    }
}

@media (max-width: 480px) {
    .trust-metrics {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.trust-metric {
    text-align: center;
}

.trust-metric .metric-value {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-positive);
    margin-bottom: var(--space-xs);
}

.trust-metric .metric-label {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

/* ============================================
   PÁGINA DE SERVICIOS - COMPONENTES ESPECÍFICOS
   ============================================ */
.services-main {
    padding: var(--space-4xl) 0;
}

.services-section {
    margin-bottom: var(--space-4xl);
}

.section-intro {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-intro h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-intro p {
    font-size: var(--text-xl);
    color: var(--color-dark-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Tarjetas de Servicios Detallados */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.detailed-service-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.detailed-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.detailed-service-card.highlighted {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.card-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--color-dark-text);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-header {
    margin-bottom: var(--space-lg);
}

.service-header h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-dark-text);
}

.service-sub {
    font-size: var(--text-lg);
    color: var(--color-dark-text-gray);
    line-height: 1.4;
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-dark-text-light);
    font-size: var(--text-base);
}

.service-features li:before {
    content: '•';
    color: var(--color-accent);
    font-weight: bold;
    flex-shrink: 0;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-dark-border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.meta-label {
    font-size: var(--text-xs);
    color: var(--color-dark-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: var(--text-base);
    color: var(--color-dark-text-light);
    font-weight: var(--font-weight-medium);
}

.price-tag {
    color: var(--color-accent) !important;
    font-weight: var(--font-weight-semibold) !important;
    font-size: var(--text-lg) !important;
}

.service-action-btn {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background-color: var(--color-dark-card);
    color: var(--color-dark-text);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.service-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
}

.service-action-btn.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.service-action-btn.primary:hover {
    background-color: #0052A3;
}

/* Paquetes por Producto */
.product-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.package-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition-base);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.package-card.highlighted {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.package-header {
    margin-bottom: var(--space-lg);
}

.package-header h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-dark-text);
}

.package-sub {
    font-size: var(--text-lg);
    color: var(--color-dark-text-gray);
    line-height: 1.4;
}

.package-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.package-features li {
    margin-bottom: var(--space-md);
    color: var(--color-dark-text-light);
    font-size: var(--text-base);
    padding-left: var(--space-lg);
    position: relative;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.package-meta {
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-dark-border);
}

.package-action-btn {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background-color: var(--color-dark-card);
    color: var(--color-dark-text);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.package-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
}

.package-action-btn.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.package-action-btn.primary:hover {
    background-color: #0052A3;
}

/* Sección de Precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.pricing-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: none;
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-header h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    color: var(--color-dark-text);
}

.price {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    margin-bottom: var(--space-md);
    color: var(--color-dark-text-light);
    font-size: var(--text-base);
    padding-left: var(--space-lg);
    position: relative;
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.pricing-meta {
    margin-bottom: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-dark-border);
    text-align: center;
}

.pricing-action-btn {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background-color: var(--color-dark-card);
    color: var(--color-dark-text);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pricing-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent);
}

.pricing-action-btn.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.pricing-action-btn.primary:hover {
    background-color: #0052A3;
}

/* Tabla Comparativa */
.comparison-table {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--color-dark-border);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background-color: rgba(0, 102, 204, 0.1);
    font-weight: var(--font-weight-semibold);
}

.table-cell {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    color: var(--color-dark-text-light);
}

.table-row:not(.header):hover {
    background-color: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .table-row {
        grid-template-columns: 1fr;
        border-bottom: 1px solid var(--color-dark-border);
    }
    
    .table-cell {
        padding: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .table-cell:last-child {
        border-bottom: none;
    }
}

/* Sección de Garantías */
.guarantee-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 107, 0.1));
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin: var(--space-4xl) 0;
    text-align: center;
}

.guarantee-content h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xl);
    color: var(--color-dark-text);
}

.guarantee-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.guarantee-item {
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--color-dark-text-light);
    font-weight: var(--font-weight-medium);
}

.extras h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    color: var(--color-dark-text);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    color: var(--color-dark-text-light);
}

.extra-name {
    font-weight: var(--font-weight-medium);
}

.extra-price {
    color: var(--color-accent);
    font-weight: var(--font-weight-semibold);
}

/* CTA Final */
.final-cta {
    text-align: center;
    padding: var(--space-4xl) 0;
}

.cta-content h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--color-dark-text);
}

.cta-content p {
    font-size: var(--text-xl);
    color: var(--color-dark-text-gray);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.cta-note {
    font-size: var(--text-sm);
    color: var(--color-dark-text-gray);
}

/* ============================================
   FOOTERS
   ============================================ */

/* Footer Principal (index.html) */
.main-footer {
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-medium-gray);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
    line-height: 1.4;
}

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

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.link-group h4 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-dark);
}

.link-group a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-text-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-medium-gray);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

.copyright {
    font-size: var(--text-sm);
    color: var(--color-text-gray);
}

.footer-legal a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-text-dark);
}

/* Footer de Servicios (servicios.html) */
.services-footer {
    border-top: 1px solid var(--color-dark-border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.services-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .services-footer .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}

.services-footer .footer-links {
    display: flex;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .services-footer .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
}

.services-footer .footer-links a {
    color: var(--color-dark-text-light);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.services-footer .footer-links a:hover {
    color: var(--color-dark-text);
}

.services-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-dark-border);
}

.services-footer .copyright {
    color: var(--color-dark-text-gray);
}

.legal-note {
    font-size: var(--text-xs);
    color: var(--color-dark-text-gray);
}

/* ============================================
   TESTIMONIALS & SOCIAL PROOF
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(232, 232, 237, 0.8);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #FFB800;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #1d1d1f;
    margin: 0;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e8e8ed;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9375rem;
}

.author-title {
    font-size: 0.8125rem;
    color: #86868b;
}

.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e8e8ed;
}

.stat-box {
    text-align: center;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: #86868b;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0071e3 0%, #0071e3 50%, #34c759 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGradient 20s linear infinite;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.contact-cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-large {
    padding: 16px 48px !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    background: white !important;
    color: #0071e3 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

/* GLASSMORPHISM Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* ============================================
   ANIMACIONES Y EFECTOS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveGradient {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
    100% { transform: translate(0, 0); }
}

/* Button Arrow Effect */
.btn-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-with-arrow svg {
    transition: transform 0.3s ease;
}

.btn-with-arrow:hover svg {
    transform: translateX(6px);
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-4 { margin-top: var(--space-md); }
.mt-8 { margin-top: var(--space-lg); }
.mt-12 { margin-top: var(--space-xl); }
.mt-16 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-4 { margin-bottom: var(--space-md); }
.mb-8 { margin-bottom: var(--space-lg); }
.mb-12 { margin-bottom: var(--space-xl); }
.mb-16 { margin-bottom: var(--space-2xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-headline,
    .page-title {
        font-size: var(--text-4xl);
    }
    
    .section-header h2 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
        margin-top: var(--space-md);
    }
    
    .hero-headline,
    .page-title {
        font-size: var(--text-3xl);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .results-grid,
    .methodology-grid,
    .services-grid-detailed,
    .product-packages-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats,
    .services-stats,
    .trust-metrics {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .case-metrics {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .case-metric-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-headline,
    .page-title {
        font-size: var(--text-2xl);
    }
    
    .hero-subhead,
    .page-subtitle {
        font-size: var(--text-lg);
    }
    
    .section-header h2 {
        font-size: var(--text-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

/* ============================================
   ESTADOS DE CARGA Y ERRORES
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-medium-gray);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: var(--space-sm);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error {
    border-color: var(--color-negative) !important;
}

.error-message {
    color: var(--color-negative);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   IMPRESIÓN
   ============================================ */
@media print {
    .main-header,
    .hero-actions,
    .nav-cta,
    .service-action-btn,
    .package-action-btn,
    .pricing-action-btn,
    .hubspot-form-container,
    .gallery-cta {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        padding: 1cm 0;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    
    .metric-card,
    .service-card,
    .detailed-service-card,
    .package-card,
    .pricing-card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}

/* ============================================
   DETALLES Y SECCIONES ADICIONALES
   ============================================ */

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-4xl);
    padding: var(--space-3xl);
    background-color: var(--color-light-gray);
}

@media (max-width: 768px) {
    .project-details {
        grid-template-columns: 1fr;
    }
}

.detail-section h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
}

.detail-section p {
    color: var(--color-text-gray);
    line-height: 1.6;
}

.demo-section {
    margin-top: var(--space-4xl);
    text-align: center;
}

.demo-section h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2xl);
}

.demo-section .video-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.document-section {
    background-color: var(--color-off-white);
    padding: var(--space-2xl);
    text-align: center;
    margin-top: var(--space-2xl);
    border-radius: 0px;
}

.document-section h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.document-section p {
    color: var(--color-text-gray);
    margin-bottom: var(--space-lg);
}

.section-cta {
    text-align: center;
    padding: var(--space-2xl) 0;
    margin-top: var(--space-3xl);
}

.section-cta p {
    font-size: var(--text-lg);
    color: var(--color-text-gray);
    margin-bottom: var(--space-lg);
}

/* ============================================
   TESTIMONIALS & SOCIAL PROOF
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(232, 232, 237, 0.8);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: #FFB800;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #1d1d1f;
    margin: 0;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e8e8ed;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.9375rem;
}

.author-title {
    font-size: 0.8125rem;
    color: #86868b;
}

.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e8e8ed;
}

.stat-box {
    text-align: center;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0071e3;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: #86868b;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0071e3 0%, #0071e3 50%, #34c759 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGradient 20s linear infinite;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.contact-cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-large {
    padding: 16px 48px !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    background: white !important;
    color: #0071e3 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

/* GLASSMORPHISM Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
