/* ============================================================
   SISTEMA DE DISEÑO MÍNIMO — danielvisbal.com
   ============================================================ */

:root {
    --color-bg: #0f1117;
    --color-surface: #1a1d27;
    --color-border: #2a2d3e;
    --color-text: #e2e8f0;
    --color-muted: #94a3b8;
    --color-accent: #6366f1;
    --color-accent-hover: #818cf8;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 12px;
    --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand a { font-weight: 700; font-size: 1.1rem; color: var(--color-text); }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: var(--color-muted); font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 2rem; flex: 1; }

/* --- Hero --- */
.hero { padding: 4rem 0 2rem; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { color: var(--color-muted); font-size: 1.2rem; }

/* --- Grid de proyectos --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.project-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover { border-color: var(--color-accent); transform: translateY(-3px); }
.project-card h2 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.project-card p { color: var(--color-muted); margin-bottom: 1rem; }

/* --- Botón --- */
.btn {
    display: inline-block;
    background: var(--color-accent);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
}
.btn:hover { background: var(--color-accent-hover); }

/* --- Page Header (proyectos individuales) --- */
.page-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.tagline { color: var(--color-muted); font-size: 1.1rem; margin-top: 0.5rem; }

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* --- Responsivo --- */
@media (max-width: 600px) {
    .navbar { flex-direction: column; gap: 0.8rem; }
    .nav-links { gap: 1rem; }
    .container { padding: 1rem; }
}
```

---

## 5. Script de despliegue por SSH

### Estructura local en tu máquina
```
mi-sitio/
├── deploy.sh              ← script de subida
├── backup.sh              ← script de backup
└── public_html/
    ├── index.html
    ├── profile.html
    ├── glopstra.html
    ├── proyectox.html
    ├── 404.html
    ├── .htaccess
    └── assets/
        ├── css/main.css
        └── js/main.js