/* --- VARIABLES --- */
:root {
    --primary-color: #ff6600; /* Naranja Industrial (estilo KUKA robots) */
    --dark-bg: #121212;       /* Negro suave */
    --card-bg: #1e1e1e;       /* Gris oscuro */
    --text-light: #f5f5f5;
    --text-gray: #a0a0a0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

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

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.accent { color: var(--primary-color); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.btn-nav {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: white !important;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Fondeo degradado simulando metal oscuro */
    background: radial-gradient(circle at center, #2a2a2a 0%, #121212 100%);
    padding: 0 1rem;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin: 0.5rem;
    transition: transform 0.2s;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin: 0.5rem;
    transition: all 0.2s;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--dark-bg);
}

/* --- SECCIONES GENERALES --- */
.section-container {
    padding: 5rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 1rem auto;
}

/* --- GRID DE SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border: 1px solid #333;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.card:hover {
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- CTA SECTION --- */
.cta-section {
    background-color: #1a1a1a;
    padding: 5rem 1rem;
    text-align: center;
    border-top: 1px solid #333;
}

.small-contact {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #222;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Ocultamos menú en móvil por simplicidad ahora */
    .section-container { padding: 4rem 5%; }
}