:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 10%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.8rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
}

/* HERO */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top right, #eff6ff, #ffffff);
    padding: 0 10%;
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.25rem; max-width: 800px; margin: 0 auto; color: #475569; }

.cta-button {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: 0.3s;
}

.cta-button:hover { transform: translateY(-3px); }

/* SERVICIOS */
.services { padding: 6rem 10%; background: white; }
.section-title { text-align: center; margin-bottom: 4rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 3rem 2rem;
    background: var(--light);
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #f1f5f9;
}

.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.card:hover { transform: translateY(-10px); background: white; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* FOOTER & BOTONES */
footer {
    background: var(--dark);
    color: white;
    padding: 5rem 10% 2rem;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: var(--whatsapp);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover { background: var(--whatsapp-dark); transform: scale(1.05); }

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #1e293b; color: #64748b; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
}

/* ESTILOS DE PORTAFOLIO */
.portfolio-header {
    padding: 5rem 10% 2rem;
    text-align: center;
    background: white;
}

.portfolio-header h1 { font-size: 3rem; margin-bottom: 1rem; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 10% 5rem;
}

.portfolio-item {
    height: 250px;
    background: #e2e8f0; /* Color gris de base si no hay imagen */
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: 0.3s;
    border: 1px solid #cbd5e1;
}

.portfolio-item:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.drive-cta {
    padding: 5rem 10%;
    background: #f1f5f9;
    text-align: center;
}

.cta-card {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.cta-card i {
    font-size: 4rem;
    color: #34A853; /* Color Google Drive */
    margin-bottom: 1.5rem;
}

.cta-card h2 { font-size: 2rem; margin-bottom: 1rem; }