:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --accent-blue: #3b82f6;
    --accent-teal: #10b981;
    --accent-red: #ef4444;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo-container { text-decoration: none; cursor: pointer; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: #fff; }
.logo-text span { color: var(--accent-blue); }
.my-company-logo {
     height: 50px;
    /* Efecto para logos oscuros con transparencia */
    filter: drop-shadow(1px 3px 1px rgb(167, 187, 255)) brightness(1.2) contrast(1.1);
    transition: 0.3s;
}

nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: 0.3s; cursor: pointer; }
nav a:hover, nav a.active { color: var(--accent-blue); }

.btn-primary-nav {
    background-color: var(--accent-blue); color: white; padding: 0.6rem 1.25rem;
    border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.3s; cursor: pointer;
}
.btn-primary-nav:hover { background-color: #2563eb; }

.menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* --- Main Content Area --- */
#main-content {
    flex: 1; /* Empuja el footer hacia abajo */
    padding: 100px 2rem 6rem; /* Espacio para el header fijo */
    width: 100%;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem; background-color: var(--bg-primary);
    text-align: center;
}
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-size: 1.25rem; font-weight: 800; color: white; text-decoration: none; }
.footer-logo span { color: var(--accent-blue); }
.footer-copyright { color: var(--text-muted); font-size: 0.9rem; }

/* --- Componentes Generales (Reutilizables) --- */
.btn-primary { background-color: var(--accent-blue); color: white; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;}
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { color: var(--accent-blue); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; display: block; margin-bottom: 0.75rem; }
.section-title { font-size: 2.5rem; font-weight: 800; }

.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.card { background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 2.5rem; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.4); }
.card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.img-placeholder { width: 100%; background-color: #1f2937; border: 2px dashed var(--border-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- Slider --- */
.slider-viewport { width: 100%; max-width: 1200px; margin: 0 auto 3rem; position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-color); aspect-ratio: 16/7; }
.slider-container { display: flex; width: 400%; height: 100%; transition: transform 0.5s ease-in-out; }
.slide { width: 25%; height: 100%; position: relative; display: flex; align-items: center; background-size: cover; background-position: center; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(11, 15, 25, 0.8) 10%, rgba(11, 15, 25, 0.1) 55%); z-index: 1; }
.slide-content { position: relative; z-index: 2; max-width: 1000px; width: 100%; padding: 0 4rem; text-align: left; }
.slide-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.slide-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; max-width: 550px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(17, 24, 39, 0.7); border: 1px solid var(--border-color); color: white; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; }
.arrow-left { left: 20px; } .arrow-right { right: 20px; }

/* --- Contact Form --- */
.contact-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background-color: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 20px; padding: 4rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background-color: var(--bg-primary); border: 1px solid var(--border-color); padding: 0.85rem; border-radius: 8px; color: white; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-blue); }

/* --- Responsive --- */
@media (max-width: 968px) {
    .menu-toggle { display: block; }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--bg-primary); border-bottom: 1px solid var(--border-color); max-height: 0; overflow: hidden; transition: 0.3s; }
    nav.mobile-active { max-height: 300px; }
    nav ul { flex-direction: column; padding: 2rem; gap: 1.5rem; }
    .hero, .contact-container { grid-template-columns: 1fr; }
    .slide-content { padding: 0 2rem; }
    .slide-content h2 { font-size: 1.8rem; }
}
