/* VARIABLES Y RESET */
:root {
    --bg-dark: #07070a;
    --bg-card: #111116;
    --primary-logo: #221d61;
    --accent-tech: #5b85ff;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 span {
    color: var(--accent-tech);
}

.text-center { text-align: center; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 7, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--accent-tech));
}

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

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

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

.btn-contacto {
    background: var(--accent-tech);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700 !important;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-logo);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    border: 1px solid var(--accent-tech);
    box-shadow: 0 0 20px rgba(91, 133, 255, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-tech);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(91, 133, 255, 0.4);
}

/* SECCION NOSOTROS */
.seccion-nosotros {
    padding: 100px 0;
}

.dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.texto-nosotros h2 { margin-bottom: 1.5rem; }

.lista-ventajas {
    list-style: none;
    margin-top: 20px;
}

.lista-ventajas li {
    margin-bottom: 10px;
    color: var(--accent-tech);
    font-weight: 500;
}

.img-nosotros-wrapper {
    position: relative;
}

.img-nosotros {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.decorador-img {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-tech);
    border-radius: 10px;
    z-index: 1;
}

/* SERVICIOS */
.seccion-servicios {
    padding: 100px 0;
    background: #0a0a0f;
}

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

.card-servicio {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card-servicio:hover {
    transform: translateY(-10px);
    border-color: var(--accent-tech);
}

.img-servicio {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.info-servicio {
    padding: 25px;
}

.info-servicio h3 {
    color: var(--accent-tech);
    margin-bottom: 10px;
}

/* GALERIA */
.seccion-galeria { padding: 100px 0; }

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.item-galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    filter: grayscale(40%);
    transition: var(--transition);
    cursor: pointer;
}

.item-galeria img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* FOOTER */
.footer {
    background: #000;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo { height: 60px; margin-bottom: 20px; }

.btn-intranet {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    font-size: 0.8rem;
    color: #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .dos-columnas { grid-template-columns: 1fr; }
    h2 { font-size: 1.8rem; }
}