/* ============================================= 
   PLUGGO - Hoja de Estilos Principal
   Version: 1.0.0
   Autor: Pluggo Development Team
   ============================================= */

/* ============================================= 
   1. VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================= */

:root {
    /* Colores Principales */
    --primary: #1E3A8A;
    --primary-dark: #152e6b;
    --primary-light: #2e4ba0;
    --primary-rgb: 30, 58, 138;
    
    --secondary: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #34D399;
    --secondary-rgb: 16, 185, 129;
    
    --accent: #F97316;
    --accent-dark: #ea580c;
    --accent-light: #FB923C;
    --accent-rgb: 249, 115, 22;
    
    /* Escala de Grises */
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F8FAFC;
    --gray-50: #FAFBFC;
    --white: #FFFFFF;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
    --gradient-dark: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    --gradient-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    
    /* Sombras */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 30px 60px -15px rgb(0 0 0 / 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    
    /* Bordes y Radio */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Tipografía */
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', ui-monospace, monospace;
    
    /* Tamaños de Fuente */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Transiciones */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-negative: -1;
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-60: 60;
    --z-70: 70;
    --z-80: 80;
    --z-90: 90;
    --z-100: 100;
}

/* ============================================= 
   2. RESET Y BASE
   ============================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================= 
   3. TIPOGRAFÍA
   ============================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: var(--text-xl);
    font-weight: 600;
}

h6 {
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

strong, b {
    font-weight: 700;
    color: var(--gray-900);
}

/* ============================================= 
   4. LAYOUT Y CONTENEDORES
   ============================================= */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--spacing-xl); }
}

.section {
    padding: var(--spacing-3xl) 0;
}

@media (min-width: 768px) {
    .section { padding: var(--spacing-4xl) 0; }
}

/* ============================================= 
   5. NAVEGACIÓN
   ============================================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: var(--z-50);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

nav.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav-container { height: 5rem; }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img,
.logo svg {
    height: 2rem;
    width: auto;
}

@media (min-width: 768px) {
    .logo { font-size: var(--text-2xl); }
    .logo img,
    .logo svg { height: 2.5rem; }
}

/* Botón de Menú Móvil */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: var(--z-60);
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background: var(--gray-900);
    margin: 3px 0;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menú de Navegación */
.nav-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

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

@media (min-width: 1024px) {
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
        padding: 0;
        box-shadow: none;
        background: transparent;
        max-height: none;
    }
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-top: var(--spacing-md);
}

@media (min-width: 1024px) {
    .nav-cta { margin-top: 0; }
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ============================================= 
   6. HERO SECTION
   ============================================= */

.hero {
    padding-top: calc(5rem + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(5rem + var(--spacing-4xl));
        padding-bottom: var(--spacing-4xl);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: var(--z-10);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-3xl);
    }
}

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

@media (min-width: 1024px) {
    .hero-text { text-align: left; }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-badges { justify-content: flex-start; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge svg {
    width: 1rem;
    height: 1rem;
}

.hero h1 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================= 
   7. FORMULARIOS Y CARDS
   ============================================= */

.form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
}

@media (min-width: 640px) {
    .form-card { padding: var(--spacing-xl); }
}

@media (min-width: 1024px) {
    .form-card { padding: calc(var(--spacing-xl) * 1.25); }
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.form-header h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.form-header p {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* GHL iframe Wrapper */
.ghl-wrapper {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
}

.ghl-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: var(--z-10);
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

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

.ghl-wrapper iframe {
    width: 100%;
    min-height: 450px;
    border: none;
    background: white;
    position: relative;
    z-index: var(--z-20);
}

/* ============================================= 
   8. PAIN POINTS BAR
   ============================================= */

.pain-points {
    background: var(--gradient-dark);
    padding: var(--spacing-md) 0;
    overflow: hidden;
}

.pain-carousel-wrapper {
    position: relative;
    width: 100%;
}

.pain-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

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

.pain-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0 var(--spacing-xl);
    white-space: nowrap;
    color: white;
    font-weight: 600;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.pain-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================= 
   9. SERVICES SECTION
   ============================================= */

.services {
    background: var(--gradient-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

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

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--spacing-xl) * 1.25);
    }
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card.popular {
    border-color: var(--secondary);
    background: linear-gradient(135deg, white 0%, #f0fdf4 100%);
}

@media (min-width: 1024px) {
    .service-card.popular {
        transform: scale(1.05);
        z-index: var(--z-10);
    }

    .service-card.popular:hover {
        transform: scale(1.05) translateY(-0.5rem);
    }
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gray-200);
}

.service-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
}

.price-currency {
    font-size: var(--text-xl);
    color: var(--gray-500);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.service-card.popular .price-amount {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--gray-600);
    font-size: var(--text-base);
}

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

.feature-item {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-cta {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-card.popular .service-cta {
    background: var(--gradient-secondary);
}

/* ============================================= 
   10. PROCESS SECTION
   ============================================= */

.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
}

.step-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-base);
}

.step-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--gray-600);
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================= 
   11. GUARANTEES SECTION
   ============================================= */

.guarantees {
    background: var(--gradient-primary);
    position: relative;
}

.guarantees .section-title,
.guarantees .section-subtitle {
    color: white;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

@media (min-width: 640px) {
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .guarantees-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
}

.guarantee-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-0.25rem);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.guarantee-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.guarantee-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================= 
   12. TESTIMONIALS SECTION
   ============================================= */

.testimonials {
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

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

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #FFC107;
    margin-bottom: var(--spacing-md);
}

.testimonial-quote {
    font-size: var(--text-lg);
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

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

/* ============================================= 
   13. CTA SECTION
   ============================================= */

.final-cta {
    background: var(--gradient-dark);
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: white;
    margin-bottom: var(--spacing-md);
}

.final-cta p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-banner {
    background: var(--accent);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    animation: pulse 2s infinite;
}

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

.urgency-banner svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================= 
   14. FOOTER
   ============================================= */

footer {
    background: var(--dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }
}

.footer-brand {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
}

/* ============================================= 
   15. COMPONENTES Y UTILIDADES
   ============================================= */

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Responsive Utilities */
@media (max-width: 639px) {
    .sm-hidden { display: none !important; }
}

@media (min-width: 640px) {
    .sm-visible { display: block !important; }
}

@media (max-width: 767px) {
    .md-hidden { display: none !important; }
}

@media (min-width: 768px) {
    .md-visible { display: block !important; }
}

@media (max-width: 1023px) {
    .lg-hidden { display: none !important; }
}

@media (min-width: 1024px) {
    .lg-visible { display: block !important; }
}

/* ============================================= 
   16. PRINT STYLES
   ============================================= */

@media print {
    nav, 
    .pain-points, 
    .mobile-menu-btn,
    .nav-cta,
    footer {
        display: none !important;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .hero-text h1,
    .hero-text p {
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .service-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}