/**
 * Theme Name: SeekMyClient
 * Theme URI: https://seekmyclient.com
 * Author: SeekMyClient Team
 * Description: Premium WordPress theme - Navy & Gold Elegant Design System
 * Version: 4.0.0
 * License: GPL v2 or later
 * Text Domain: seekmyclient
 */

/* ==========================================================================
   0. SELF-HOSTED FONTS
   ========================================================================== */

/* Cormorant Garamond - latin-ext */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('./assets/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cormorant Garamond - latin */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('./assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('./assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter - latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('./assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   1. CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Core Colors - Navy & Gold Theme */
    --navy: #0F172A;
    --navy-light: #1E293B;
    --navy-soft: #334155;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --white: #FFFFFF;
    
    /* Gray Scale */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-light: var(--gray-400);
    --text-on-dark: var(--white);
    --border-color: var(--gray-200);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes - Type Scale */
    --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 */
    --text-7xl: 4.5rem;     /* 72px */
    
    /* Spacing Scale (8px base) */
    --space-0: 0;
    --space-px: 1px;
    --space-0-5: 0.125rem;  /* 2px */
    --space-1: 0.25rem;     /* 4px */
    --space-2: 0.5rem;      /* 8px */
    --space-3: 0.75rem;     /* 12px */
    --space-4: 1rem;        /* 16px */
    --space-5: 1.25rem;     /* 20px */
    --space-6: 1.5rem;      /* 24px */
    --space-8: 2rem;        /* 32px */
    --space-10: 2.5rem;     /* 40px */
    --space-12: 3rem;       /* 48px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    --space-24: 6rem;       /* 96px */
    --space-32: 8rem;       /* 128px */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius: 0.5rem;       /* 8px */
    --radius-md: 0.75rem;   /* 12px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 70px;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-6xl); font-weight: 300; }
h2 { font-size: var(--text-5xl); font-weight: 300; }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

/* Context-specific heading colors - ENFORCED */
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
    color: var(--white) !important;
}
.hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}
.cta-section h1, .cta-section h2 { color: var(--white) !important; }
.portfolio h1, .portfolio h2 { color: var(--white); }
[class*="navy"] h1, [class*="navy"] h2 { color: var(--white); }

p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Text on dark backgrounds */
.hero p, .cta-section p, .portfolio p {
    color: rgba(255, 255, 255, 0.9);
}

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

a:hover {
    color: var(--gold);
}

strong, b {
    font-weight: 600;
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--navy);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--white);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color var(--transition);
}

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

.btn-contact-nav {
    background: var(--gold);
    color: var(--navy);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition);
}

.btn-contact-nav:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-base);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* ==========================================================================
   7. CARDS & COMPONENTS
   ========================================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

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

/* ==========================================================================
   8. SECTIONS - HOME PAGE SPECIFIC
   ========================================================================== */

/* Hero Section - STANDARD FOR ALL PAGES */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.92) 100%),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80') center/cover;
    color: var(--white);
    position: relative;
    padding-top: var(--header-height);
    background-attachment: fixed;
}

/* Alternative hero backgrounds for variety */
.hero.hero-alt-1 {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.92) 100%),
                url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1600&q=80') center/cover;
    background-attachment: fixed;
}

.hero.hero-alt-2 {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.92) 100%),
                url('https://images.unsplash.com/photo-1504639725590-34d0984388bd?w=1600&q=80') center/cover;
    background-attachment: fixed;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-4);
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--space-6);
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Section */
.stats {
    background: var(--gray-50);
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    color: var(--gray-600);
    font-weight: 300;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services {
    padding: var(--space-20) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition);
}

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

/* Portfolio Section */
.portfolio {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

.portfolio-header h2 {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: var(--space-4);
}

.portfolio-header p {
    color: var(--gold-light);
    font-size: var(--text-lg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: all var(--transition);
}

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

/* Pricing Section */
.pricing {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: var(--space-12) auto 0;
}

.pricing-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}

.pricing-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--gold);
}

.pricing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* CTA Section - FIXED */
.cta-section {
    padding: var(--space-24) 0;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2,
.cta-section .cta-title {
    color: var(--white) !important;
    font-size: var(--text-5xl);
    font-weight: 300;
    margin-bottom: var(--space-6);
}

.cta-section p,
.cta-section .cta-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
}

.cta-button {
    background: var(--gold);
    color: var(--navy);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: 600;
    display: inline-block;
    transition: all var(--transition);
    text-decoration: none;
}

.cta-button:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: var(--navy);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-column h3 {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

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

.footer-column li {
    margin-bottom: var(--space-2);
}

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

.footer-column a:hover {
    color: var(--gold);
}

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

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

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* ==========================================================================
   11. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Typography adjustments */
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
    
    /* Layout adjustments */
    .container {
        padding: 0 var(--space-4);
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mobile menu */
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Typography adjustments */
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    
    /* Small spacing adjustments */
    .section {
        padding: var(--space-8) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Apply animations */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   13. ACCESSIBILITY
   ========================================================================== */
/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--navy);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    top: var(--space-4);
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .card,
    .service-card,
    .pricing-box {
        border: 2px solid currentColor;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ==========================================================================
   14. PRINT STYLES
   ========================================================================== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .site-footer,
    .cta-section,
    .btn,
    .whatsapp-float {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   15. 3-TIER PRICING GRID
   ========================================================================== */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: var(--space-12) auto 0;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all var(--transition);
}

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

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--navy);
    margin-bottom: var(--space-2);
    font-weight: 400;
}

.pricing-card .pricing-subtitle {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.pricing-card .pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--space-2);
}

.pricing-card .pricing-amount .currency {
    color: var(--gold);
    font-size: var(--text-xl);
}

.pricing-card .pricing-amount .price {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 300;
    color: var(--navy);
}

.pricing-card .pricing-amount .period {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-left: var(--space-2);
}

.pricing-monthly {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-6);
    font-weight: 500;
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8) 0;
    text-align: left;
}

.pricing-card .pricing-features li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.pricing-card .pricing-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
}

/* Featured pricing card */
.pricing-featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-featured::before {
    height: 4px;
    background: var(--gold);
}

/* Pricing badge pill */
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 4px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-badge-save {
    background: var(--navy);
    color: var(--gold);
}

/* ==========================================================================
   16. FUNNEL STAGES VISUALIZATION
   ========================================================================== */
.funnel-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--space-8) 0;
    overflow-x: auto;
}

.funnel-stage {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    text-align: center;
    min-width: 160px;
    max-width: 200px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.funnel-stage:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.funnel-stage-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-3);
    color: var(--gold);
}

.funnel-stage h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-1);
}

.funnel-stage p {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
}

.funnel-arrow {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    padding: 0 var(--space-2);
}

/* ==========================================================================
   17. COMPARISON TABLE
   ========================================================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead th {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    text-align: center;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    color: var(--gray-600);
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--navy);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.comparison-table tbody tr:hover {
    background: rgba(245, 158, 11, 0.05);
}

.comparison-table .check {
    color: var(--gold);
    font-weight: 700;
    font-size: var(--text-lg);
}

.comparison-table .dash {
    color: var(--gray-300);
}

/* ==========================================================================
   18. LEAD CAPTURE FORMS
   ========================================================================== */
.lead-form {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    margin: 0 auto;
}

.lead-form h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--navy);
    margin-bottom: var(--space-6);
    text-align: center;
    font-weight: 400;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--navy);
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: var(--space-4);
    background: var(--white);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

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

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

.lead-form button[type="submit"] {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    margin-top: var(--space-2);
}

/* Lead capture form (generic class for all lead forms) */
.lead-capture-form input,
.lead-capture-form select,
.lead-capture-form textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--navy);
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: var(--space-3);
    background: var(--white);
}

.lead-capture-form input:focus,
.lead-capture-form select:focus,
.lead-capture-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* ==========================================================================
   19. EMAIL CAPTURE BAR
   ========================================================================== */
.email-capture-bar {
    background: var(--navy);
    padding: var(--space-12) 0;
}

.email-capture-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.email-capture-text h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--white) !important;
    margin-bottom: var(--space-2);
    font-weight: 400;
}

.email-capture-text p {
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
    font-size: var(--text-sm);
}

.email-capture-form {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

.email-capture-form input[type="email"] {
    padding: var(--space-3) var(--space-4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: var(--text-base);
    min-width: 280px;
    transition: all var(--transition);
}

.email-capture-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-capture-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   20. EXIT-INTENT POPUP
   ========================================================================== */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.exit-popup-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: fadeInUp 0.4s ease-out;
    border-top: 4px solid var(--gold);
}

.exit-popup-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition);
}

.exit-popup-close:hover {
    color: var(--navy);
}

.exit-popup-card h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--navy);
    margin-bottom: var(--space-3);
    font-weight: 400;
    padding-right: var(--space-8);
}

.exit-popup-card > p {
    color: var(--gray-500);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.exit-popup-form input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
    font-family: var(--font-sans);
    color: var(--navy);
    transition: border-color var(--transition);
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.exit-popup-form button {
    width: 100%;
    margin-top: var(--space-2);
}

.exit-popup-note {
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-align: center;
    margin-top: var(--space-4);
    margin-bottom: 0;
}

/* ==========================================================================
   21. URGENCY BANNER
   ========================================================================== */
.urgency-banner {
    background: var(--gold);
    color: var(--navy);
    text-align: center;
    padding: var(--space-4) var(--space-6);
    font-weight: 600;
    font-size: var(--text-base);
}

.urgency-banner p {
    margin: 0;
    color: var(--navy);
}

/* ==========================================================================
   22. RESPONSIVE - NEW COMPONENTS
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-featured {
        transform: none;
        order: -1;
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }

    .funnel-stages {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: var(--space-4);
    }

    .funnel-stage {
        min-width: 140px;
    }

    .email-capture-inner {
        flex-direction: column;
        text-align: center;
    }

    .email-capture-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .email-capture-form input[type="email"] {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: var(--text-xs);
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: var(--space-2) var(--space-3);
    }

    .lead-form {
        padding: var(--space-6);
    }

    .exit-popup-card {
        padding: var(--space-6);
        margin: var(--space-4);
    }
}

@media (max-width: 480px) {
    .funnel-stages {
        gap: 0;
    }

    .funnel-stage {
        min-width: 120px;
        padding: var(--space-4);
    }

    .funnel-arrow {
        font-size: 1rem;
        padding: 0 var(--space-1);
    }
}

/* ==========================================================================
   iOS Safari Fix: background-attachment: fixed not supported
   ========================================================================== */
@supports (-webkit-touch-callout: none) {
    .hero,
    .hero.hero-alt-1,
    .hero.hero-alt-2,
    .cta-section,
    .hero-embudos {
        background-attachment: scroll;
    }
}

@media (hover: none) {
    .hero,
    .hero.hero-alt-1,
    .hero.hero-alt-2,
    .cta-section,
    .hero-embudos {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   DESIGN FIXES (merged from design-fixes.css)
   ========================================================================== */

/* Hero Section - Mejor altura y presencia */
.hero {
    min-height: 85vh !important;
    padding: 120px 0 80px 0 !important;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%) !important;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2.5rem !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Secciones - Espaciado optimizado */
.section-padding {
    padding: 80px 0 !important;
}

.section-padding:first-of-type {
    padding-top: 100px !important;
}

.familiar-section {
    background: #f8fafc;
    padding: 60px 0 !important;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

/* Cards y Features - Diseño mejorado */
.card, .feature-card, .service-feature {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08),
                0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #3b82f6;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Tipografía - Mejor legibilidad */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #0f172a !important;
    margin-bottom: 1.25rem !important;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #1e293b !important;
    margin-bottom: 1rem !important;
}

p {
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    margin-bottom: 1.25rem;
}

/* Botones - Más prominentes */
.btn, .button, a.btn {
    padding: 14px 32px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    border: none !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20c55d 100%) !important;
    color: white !important;
}

.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

/* Lista de características "Mientras tanto" */
.mientras-list {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mientras-list ul {
    list-style: none;
    padding: 0;
}

.mientras-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1.125rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.mientras-list li:last-child {
    border-bottom: none;
}

.loss-highlight {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.loss-highlight strong {
    color: #dc2626;
    font-size: 1.25rem;
}

/* "Cómo Funciona" - Timeline mejorado */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.timeline-content {
    flex: 1;
    padding-top: 10px;
}

.timeline-content h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: #1e293b !important;
}

.timeline-content p {
    color: #64748b;
    font-size: 1.125rem;
}

/* Testimonios - Cards más atractivas */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #e5e7eb;
}

.testimonial-text {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin-bottom: 20px;
    padding-top: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.testimonial-role {
    color: #64748b;
    font-size: 0.875rem;
}

/* CTA Section - Más impactante */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%) !important;
    padding: 80px 0 !important;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    color: white !important;
    margin-bottom: 20px !important;
    font-weight: 800 !important;
}

.cta-subtitle {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 30px !important;
}

/* Mobile Responsive - Optimizaciones */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh !important;
        padding: 80px 20px 60px 20px !important;
    }

    .section-padding {
        padding: 60px 20px !important;
    }

    .container {
        padding: 0 20px !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem !important;
    }

    .btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        width: 100%;
        justify-content: center;
    }

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

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-number {
        margin: 0 auto;
    }
}

/* Utilidades adicionales */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-premium {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.border-gradient {
    position: relative;
    background: white;
    border-radius: 16px;
}

.border-gradient:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    z-index: -1;
}

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

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

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */