/* Variables de Identidad Visual */
:root {
    --bg-dark: #0f172a;        /* Fondo principal oscuro */
    --bg-card: #1e293b;        /* Fondo de tarjetas */
    --emerald: #10b981;        /* Acento esmeralda */
    --emerald-hover: #059669;  /* Esmeralda oscuro para hover */
    --text-main: #f8fafc;      /* Texto claro */
    --text-muted: #94a3b8;     /* Texto secundario */
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    padding: 20px 0;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo .dot {
    color: var(--emerald);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--emerald);
}

/* Botones */
.btn-outline {
    border: 1px solid var(--emerald);
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--emerald);
    color: var(--bg-dark) !important;
}

.btn-primary {
    display: inline-block;
    background-color: var(--emerald);
    color: var(--bg-dark);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 30px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--emerald-hover);
    transform: translateY(-2px);
}

/* Sección Hero */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background: radial-gradient(circle at center top, #1e293b 0%, #0f172a 80%);
}

.hero h2 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--text-main), var(--emerald));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 19px;
    max-width: 650px;
    margin: 0 auto;
}

/* Sección de Servicios */
.services {
    padding: 100px 0;
}

.services h3 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    border-top: 4px solid var(--emerald);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card h4 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 14px;
}

footer .legal-text {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.7);
}
