/**
 * Estilos principales - Jorge Ali Yáñez Soto
 * Desarrollo Web en Neiva, Huila, Colombia
 * Mobile First - Responsivo
 */

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --secondary: #0ea5e9;
    --secondary-dark: #0284c7;
    --accent: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --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;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-xl: 0 30px 60px -15px rgb(0 0 0 / 0.3);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   BASE
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* =====================================================
   UTILIDADES
   ===================================================== */
.section-padding { padding: 60px 0; }
@media (min-width: 768px) { .section-padding { padding: 80px 0; } }
@media (min-width: 992px) { .section-padding { padding: 100px 0; } }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.section-subtitle { font-size: 1.1rem; color: var(--gray-500); line-height: 1.7; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #3730a3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* =====================================================
   NAVBAR
   ===================================================== */
#mainNav {
    background: transparent;
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 1050;
}
#mainNav.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#mainNav .navbar-brand { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
#mainNav .navbar-brand i { color: var(--primary-light); }

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0 0.15rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
#mainNav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.navbar-nav .btn-whatsapp-nav {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.navbar-nav .btn-whatsapp-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 0.75rem;
        border: 1px solid rgba(255,255,255,0.06);
    }
    #mainNav .nav-link { padding: 0.75rem 1rem; margin: 0.15rem 0; }
    #mainNav .nav-link.active::after { display: none; }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4338ca 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero-bg-pattern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    border-radius: 50%;
}
.hero-bg-pattern::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: white;
    animation: floatShape 20s infinite ease-in-out;
}
.hero-shape:nth-child(1) { width: 100px; height: 100px; top: 20%; left: 10%; }
.hero-shape:nth-child(2) { width: 60px; height: 60px; top: 60%; right: 15%; animation-delay: -5s; }
.hero-shape:nth-child(3) { width: 40px; height: 40px; bottom: 20%; left: 30%; animation-delay: -10s; }
.hero-shape:nth-child(4) { width: 80px; height: 80px; top: 10%; right: 30%; animation-delay: -15s; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--accent); }

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}
.hero-title .hero-name-gradient {
    background: linear-gradient(135deg, #818cf8, #38bdf8, #818cf8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 560px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { text-align: left; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 0.25rem; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-image-container { position: relative; width: 320px; height: 320px; }

.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

.hero-image-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: rotateRing 30s linear infinite;
}
.hero-image-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 50%;
}
@keyframes rotateRing { to { transform: rotate(360deg); } }

.hero-image-circle {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(99,102,241,0.4), rgba(14,165,233,0.2));
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-image-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-circle .hero-icon-placeholder { font-size: 6rem; color: rgba(255,255,255,0.7); }

.hero-tech-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 3;
}
.hero-tech-badge:nth-child(1) { top: 5%; right: -10%; }
.hero-tech-badge:nth-child(2) { bottom: 10%; left: -15%; animation-delay: -2s; }
.hero-tech-badge:nth-child(3) { top: 50%; right: -20%; animation-delay: -4s; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.animate-bounce { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* Hero responsive */
@media (min-width: 768px) { .hero-title { font-size: 3.5rem; } .hero-subtitle { font-size: 1.3rem; } }
@media (min-width: 992px) { .hero-title { font-size: 4rem; } .hero-image-container { width: 380px; height: 380px; } }
@media (max-width: 991px) {
    .hero-visual { margin-top: 3rem; }
    .hero-image-container { width: 260px; height: 260px; }
    .hero-tech-badge { display: none; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.5rem; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { gap: 1rem; flex-wrap: wrap; }
    .hero-image-container { width: 200px; height: 200px; }
}

/* =====================================================
   SOBRE MÍ
   ===================================================== */
.about-image-wrapper { position: relative; display: flex; justify-content: center; }

.about-image-container { position: relative; width: 280px; height: 340px; }

.about-image-bg {
    position: absolute;
    inset: -8px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: rotate(3deg);
    opacity: 0.15;
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image .about-icon-placeholder { font-size: 5rem; color: var(--primary); }

.about-experience-badge {
    position: absolute;
    bottom: -15px;
    right: -20px;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 2;
}
.about-experience-badge .exp-number { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-experience-badge .exp-text { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

@media (min-width: 768px) { .about-image-container { width: 320px; height: 400px; } }

.about-text h2 { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-text h2 { font-size: 2.5rem; } }

.about-text .lead { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 1.25rem; }

.about-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary-100);
}

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }

.stat-card-item {
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}
.stat-card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card-item .stat-number { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.35rem; }
.stat-card-item .stat-label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

@media (max-width: 575px) {
    .stat-cards { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .stat-card-item .stat-number { font-size: 1.25rem; }
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

.service-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1rem; }

.service-features { list-style: none; padding: 0; margin: 0; }
.service-features li {
    padding: 0.4rem 0;
    color: var(--gray-600);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-features li i { font-size: 0.7rem; }

/* =====================================================
   PORTAFOLIO
   ===================================================== */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 576px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.portfolio-image { position: relative; height: 200px; overflow: hidden; }
.portfolio-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400);
}

.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(14, 165, 233, 0.85));
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-info { padding: 1.25rem; }
.portfolio-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.portfolio-info span { color: var(--gray-400); font-size: 0.8rem; font-weight: 500; }

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #3730a3 50%, #1e1b4b 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    top: -50px; right: -50px;
    border-radius: 50%;
}
.cta-section h2 { color: white; font-size: 2rem; font-weight: 800; }
@media (min-width: 768px) { .cta-section h2 { font-size: 2.5rem; } .cta-section { padding: 100px 0; } }

/* =====================================================
   CONTACTO
   ===================================================== */
.contact-info {
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-900), #1e1b4b);
    border-radius: var(--radius-xl);
    height: 100%;
    color: white;
}
.contact-info h5 { color: white; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-light);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-info .contact-item p,
.contact-info .contact-item h6 { color: rgba(255,255,255,0.8); }
.contact-info .contact-item h6 { color: white; font-weight: 600; }

.social-links-contact { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    font-size: 1rem;
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.form-label { font-weight: 600; color: var(--gray-700); margin-bottom: 0.4rem; font-size: 0.9rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--gray-900); position: relative; overflow: hidden; }
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer .social-links a { display: inline-flex; transition: var(--transition); }
.footer .social-links a:hover { transform: translateY(-3px); color: var(--primary-light) !important; }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.whatsapp-float-btn {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}
.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    color: white;
}
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    opacity: 0.3;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0.3; }
}

.whatsapp-float-tooltip {
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; transform: translateX(0); }

@media (max-width: 575px) {
    .whatsapp-float { bottom: 16px; right: 16px; }
    .whatsapp-float-btn { width: 54px; height: 54px; font-size: 1.5rem; }
    .whatsapp-float-tooltip { display: none; }
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 44px; height: 44px;
    background: var(--gray-800);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    font-size: 1rem;
    box-shadow: var(--shadow);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--primary); transform: translateY(-3px); }

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* =====================================================
   RESPONSIVE EXTRAS
   ===================================================== */
@media (max-width: 575.98px) {
    .section-title { font-size: 1.6rem; }
    .service-card, .contact-info, .contact-form-wrapper { padding: 1.5rem; }
    .btn-lg { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
}
@media (min-width: 576px) and (max-width: 767.98px) { .section-title { font-size: 1.8rem; } }
@media (min-width: 992px) { .service-card { padding: 2.25rem; } }

/* =====================================================
   SCROLLBAR & SELECTION
   ===================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--primary); color: var(--white); }

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 500;
}
.location-badge i { color: #ef4444; }
