:root {
    --bg-dark: #0a0a0a;
    --text-light: #f5f5f5;
    --gray-border: #333;
    --accent-hover: #ffffff;
    --text-muted: #888;
    --nav-height: 80px;
    --floating-bar-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: calc(var(--floating-bar-height) + 2rem);
}

h1, h2, h3, .logo-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--nav-height);
    border-bottom: 1px solid var(--gray-border);
    padding: 0 5%;
}

.nav-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text { font-size: 1.5rem; font-weight: 900; }
.logo-text span { font-weight: 500; color: var(--text-muted); }

.hero {
    padding: 5rem 5% 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.1rem; color: #aaa; margin-bottom: 2rem; }

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    border: 1px solid var(--gray-border);
    padding: 2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
}

.service-card:hover {
    border-color: var(--accent-hover);
    background: rgba(255, 255, 255, 0.03);
}

.service-card h3 { margin-bottom: 0.8rem; font-size: 1.1rem; color: #fff; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }

footer {
    text-align: center;
    padding: 2rem 5% 4rem;
    font-size: 0.8rem;
    color: #555;
}

/* Barra Flotante de Contacto */
.floating-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--floating-bar-height);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-border);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    padding: 0 5%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
    width: 100%;
    max-width: 250px;
}

.btn-primary { background: var(--text-light); color: var(--bg-dark); border-color: var(--text-light); }
.btn-primary:hover { background: transparent; color: var(--text-light); }
.btn-outline { background: transparent; color: var(--text-light); border-color: var(--gray-border); }
.btn-outline:hover { border-color: var(--text-light); }

/* Optimizaciones Móviles */
@media (max-width: 600px) {
    .floating-contact { gap: 0.5rem; }
    .btn { padding: 0.8rem 1rem; font-size: 0.8rem; }
}