:root {
    --primary-color: #cc0000; /* Rojo corporativo inspirado en el branding */
    --dark-color: #222222;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

/* Clases de utilidad */
.bg-white {
    background-color: var(--white);
}

.center-text {
    text-align: center;
    margin-bottom: 2rem;
}

/* Navegación */
header {
    background: var(--white);
    color: var(--dark-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.navbar h1 {
    color: var(--primary-color);
    font-size: 2rem;
    letter-spacing: 2px;
}

.navbar ul { 
    display: flex; 
    list-style: none; 
}

.navbar ul li { 
    padding: 0 1rem; 
}

.navbar ul li a { 
    text-decoration: none; 
    color: var(--dark-color); 
    font-weight: bold; 
}

.navbar ul li a:hover { 
    color: var(--primary-color); 
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(34, 34, 34, 0.8), rgba(34, 34, 34, 0.8)), url('https://source.unsplash.com/1600x900/?business,building') no-repeat center center/cover;
    height: 100vh;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

.hero h2 { 
    font-size: 3rem; 
    margin-bottom: 10px; 
}

.hero p { 
    font-size: 1.5rem; 
    margin-bottom: 20px; 
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover { 
    background: #990000; 
}

/* Secciones Generales */
section { 
    padding: 4rem 2rem; 
}

.container { 
    width: 90%; 
    margin: auto; 
    max-width: 1200px; 
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Sobre Nosotros */
.about-content { 
    background: var(--white); 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.05); 
}

.about-content h3 { 
    color: var(--dark-color); 
    margin-bottom: 1rem; 
}

.about-content p { 
    margin-bottom: 1rem; 
    text-align: justify; 
}

/* Modelo PIIT */
.piit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.piit-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.piit-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: var(--dark-color); 
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-card h4 { 
    color: var(--primary-color); 
    margin-bottom: 10px; 
    font-size: 1.2rem; 
}

.service-card ul { 
    margin-left: 20px; 
    margin-top: 10px; 
}

/* Contacto & Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
}

footer h2 { 
    margin-bottom: 1rem; 
    color: var(--primary-color); 
    font-size: 2.5rem;
}

footer p { 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem; 
}

.copyright {
    font-size: 0.9rem;
    margin-top: 2rem;
}
.logo {
    max-height: 35px; 
    width: auto;
}