:root {
    --color-primary: #0064B0;
    --color-primary-hover: #004C8C;
    --color-primary-light: #E8F2FB;
    --color-secondary: #10B981;
    --color-secondary-light: #D1FAE5;
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFC;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-gradient { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-padding { padding: 5rem 0; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-weight: 600;
    font-size: 1rem; font-family: var(--font-primary); cursor: pointer;
    transition: all var(--transition-smooth); border: 2px solid transparent; white-space: nowrap;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0078D4);
    color: var(--color-white); border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 100, 176, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary));
    box-shadow: 0 6px 20px rgba(0, 100, 176, 0.4); transform: translateY(-2px);
}
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-2px); }
.pulse-animation { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==================== HEADER ==================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: all var(--transition-smooth);
}
.header-scrolled { border-bottom-color: var(--color-gray-200); box-shadow: var(--shadow-md); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 75px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--color-gray-900); z-index: 1001; display: flex; align-items: center; gap: 0.3rem; }
.logo-highlight { color: var(--color-primary); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-weight: 500; color: var(--color-gray-600); position: relative; padding: 0.25rem 0; transition: color var(--transition-fast); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-smooth); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--color-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 1001; }
.bar { width: 25px; height: 3px; background: var(--color-gray-800); border-radius: 5px; transition: all 0.3s; }

/* ==================== HERO ==================== */
.hero { padding: 150px 0 100px; background: linear-gradient(180deg, #F0F7FF 0%, #FFF 100%); position: relative; overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.2rem;
    background: var(--color-primary-light); color: var(--color-primary);
    border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; color: var(--color-gray-900); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--color-gray-500); margin-bottom: 2rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-features { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; color: var(--color-gray-600); font-size: 0.95rem; }
.hero-feature i { color: var(--color-secondary); font-size: 1.1rem; }
.hero-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-img { width: 300px; height: 300px; border-radius: var(--radius-2xl); object-fit: cover; box-shadow: var(--shadow-2xl); }
.hero-experience-badge {
    background: linear-gradient(135deg, var(--color-primary), #0078D4); color: white;
    padding: 1.5rem 2rem; border-radius: var(--radius-lg); text-align: center;
    box-shadow: var(--shadow-xl); position: absolute; bottom: -20px; right: -20px;
}
.hero-experience-badge .years { font-size: 2.5rem; font-weight: 800; display: block; line-height: 1; }
.hero-experience-badge .label { font-size: 0.85rem; opacity: 0.9; }

/* ==================== SERVICIOS ==================== */
.services { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block; padding: 0.4rem 1.2rem; background: var(--color-primary-light);
    color: var(--color-primary); border-radius: var(--radius-full);
    font-size: 0.875rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--color-gray-900); margin-bottom: 1rem; line-height: 1.2; }
.section-description { font-size: 1.125rem; color: var(--color-gray-500); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card {
    background: white; padding: 2.5rem 2rem; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md); transition: all var(--transition-smooth);
    position: relative; border: 2px solid transparent;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-2xl); border-color: var(--color-primary-light); }
.service-card.featured { border-color: var(--color-primary); background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%); }
.service-badge {
    position: absolute; top: -15px; right: 20px; background: var(--color-secondary);
    color: white; padding: 0.4rem 1rem; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600;
}
.service-icon-wrapper { margin-bottom: 1.5rem; }
.service-icon {
    width: 60px; height: 60px; background: var(--color-primary-light);
    border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--color-primary);
}
.featured .service-icon { background: var(--color-primary); color: white; }
.service-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-gray-900); }
.service-description { color: var(--color-gray-500); margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.6; }
.service-list { margin-bottom: 1.5rem; }
.service-list li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; color: var(--color-gray-600); font-size: 0.9rem; }
.service-list i { color: var(--color-secondary); font-size: 0.8rem; }
.service-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--color-primary); font-weight: 600; font-size: 0.95rem;
    transition: gap var(--transition-fast);
}
.service-link:hover { gap: 0.75rem; }

/* ==================== BANNER ==================== */
.banner-section { padding: 3rem 0; }
.ad-banner {
    background: var(--color-gray-50); border: 2px dashed var(--color-gray-300);
    border-radius: var(--radius-lg); padding: 3rem 2rem; text-align: center;
    color: var(--color-gray-400); transition: all var(--transition-smooth);
}
.ad-banner:hover { border-color: var(--color-primary); background: var(--color-primary-light); }
.ad-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.ad-text { font-size: 1.1rem; font-weight: 500; }
.ad-size { font-size: 0.85rem; opacity: 0.7; }

/* ==================== ABOUT ==================== */
.about { padding: 5rem 0; background: var(--color-off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-frame { position: relative; }
.about-img { width: 100%; max-width: 400px; border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat-card {
    background: white; padding: 1.25rem; border-radius: var(--radius-md);
    text-align: center; box-shadow: var(--shadow-sm);
}
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); display: block; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--color-gray-500); margin-top: 0.25rem; display: block; }
.about-content-col .section-tag { margin-bottom: 1rem; }
.about-text { color: var(--color-gray-600); margin-bottom: 1rem; line-height: 1.7; }
.about-values { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item i { font-size: 1.5rem; color: var(--color-primary); background: var(--color-primary-light); padding: 0.75rem; border-radius: var(--radius-md); }
.value-item h4 { font-size: 1.05rem; font-weight: 600; color: var(--color-gray-800); margin-bottom: 0.25rem; }
.value-item p { font-size: 0.9rem; color: var(--color-gray-500); }

/* ==================== CTA ==================== */
.cta-section { padding: 4rem 0; }
.cta-card {
    background: linear-gradient(135deg, var(--color-primary), #0078D4);
    border-radius: var(--radius-2xl); padding: 4rem 3rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    position: relative; overflow: hidden;
}
.cta-title { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 1rem; }
.cta-description { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 1.1rem; max-width: 500px; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline-white { background: transparent; color: white; border-color: white; }
.btn-outline-white:hover { background: white; color: var(--color-primary); }
.cta-decoration i { font-size: 15rem; color: rgba(255,255,255,0.1); position: absolute; right: -30px; top: -30px; }

/* ==================== FOOTER ==================== */
.footer { background: var(--color-gray-900); color: var(--color-gray-400); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-logo { color: white; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.3rem; }
.footer-description { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; transition: all var(--transition-fast);
}
.social-link:hover { background: var(--color-primary); transform: translateY(-3px); }
.footer-heading { color: white; font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a { color: var(--color-gray-400); font-size: 0.95rem; transition: color var(--transition-fast); }
.footer-links ul li a:hover { color: white; }
.contact-info li {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.95rem;
}
.contact-info i { color: var(--color-primary); width: 20px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: 0.9rem;
}
.heart-pulse { color: #ef4444; animation: pulse 1.5s infinite; }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 2rem; z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transition: all var(--transition-smooth);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh;
        background: white; flex-direction: column; padding: 100px 2rem;
        transition: right var(--transition-smooth); box-shadow: var(--shadow-2xl);
    }
    .nav.active { right: 0; }
    .nav-list { flex-direction: column; width: 100%; }
    .nav-list li { width: 100%; }
    .nav-link { display: block; padding: 0.5rem 0; font-size: 1.1rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-features { align-items: center; }
    .hero-image-wrapper { order: -1; }
    .hero-img { width: 200px; height: 200px; }
    .hero-experience-badge { position: relative; bottom: auto; right: auto; margin-top: -30px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .cta-card { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
    .cta-buttons { justify-content: center; }
    .cta-decoration { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-padding { padding: 3rem 0; }
    .hero { padding: 120px 0 60px; }
}
@media (max-width: 480px) {
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
    .stat-card { padding: 0.75rem; }
    .stat-number { font-size: 1.4rem; }
}
