:root {
    --primary: #00d4ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--dark);
    color: var(--light);
    scroll-behavior: smooth;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(15, 23, 42, 0.9);
    position: fixed;
    width: 80%;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--primary); }

nav ul { display: flex; list-style: none; }
nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}
nav ul li a:hover { color: var(--primary); }

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1510511459019-5dee997dd1db?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
}

.hero h1 span { color: var(--primary); }

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px 10%;
}

.card {
    background: var(--gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.btn {
    background: var(--primary);
    color: var(--dark);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

#contacto form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto 50px;
    gap: 15px;
}

#contacto input, textarea {
    padding: 15px;
    border-radius: 5px;
    border: none;
    background: var(--gray);
    color: white;
}