/* PALETA DE COLORES MIMETIZADA CON EL LOGO - TENDENCIAS 2026 DARK INDUSTRIAL */
:root {
    --sien-dark-bg: #121212;     /* Negro/Antracita exacto del fondo del logo */
    --sien-orange: #F97316;      /* Naranja cobre/tecnológico de INGENIERIA */
    --sien-metallic: #E2E8F0;    /* Gris claro metálico de SIEN */
    --bg-card: #1E1E1E;          /* Fondo de tarjetas industriales */
    --text-main: #94A3B8;        /* Slate claro para textos de lectura */
    --white: #FFFFFF;
    --radius: 8px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: #161616;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--sien-metallic);
    line-height: 1.2;
}

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

/* NAVBAR TOTALMENTE MIMETIZADA CON EL LOGO */
.navbar {
    background-color: var(--sien-dark-bg); /* Mismo color del logo para integración total */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

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

/* CONTENEDOR DE IMAGEN ORIGINAL */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100px; 
}

.logo-img {
    height: 100%;       
    width: auto;        
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--sien-orange);
}

.btn-nav {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sien-orange);
    color: var(--sien-orange) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
}

.btn-nav:hover {
    background-color: var(--sien-orange);
    color: var(--sien-dark-bg) !important;
}

/* HERO CON ESTILO HIGH-TECH INDUSTRIAL */
.hero {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(30, 30, 30, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: var(--sien-metallic);
    padding: 60px 0;
}

.hero h1 {
    color: var(--white);
    font-size: 46px;
    margin-bottom: 16px;
    max-width: 800px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 650px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 14px;
    cursor: pointer;
}

.btn-orange {
    background-color: var(--sien-orange);
    color: var(--sien-dark-bg);
}

.btn-orange:hover {
    background-color: var(--white);
    color: var(--sien-dark-bg);
    transform: translateY(-1px);
}

/* SECCIONES DINÁMICAS Y ESTRUCTURA GENERAL */
.page-section {
    display: none;
    animation: slideUp 0.3s ease;
}

.page-section.active {
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 34px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--sien-orange);
}

/* COMPONENTES DE DIVISIONES EN DARK MODE */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card-service {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 4px solid var(--sien-orange);
    transition: var(--transition);
}

.card-service:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.card-service h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.card-service ul {
    list-style: none;
    margin-top: 16px;
}

.card-service ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

.card-service ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sien-orange);
    font-weight: bold;
}

/* NOSOTROS INFORMATIVO */
.about-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.about-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid var(--sien-orange);
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* FOOTER QUE CONTINÚA EL FLUJO DE FONDO DEL LOGO */
.footer {
    background-color: var(--sien-dark-bg);
    color: var(--sien-metallic);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer h3, .footer h4 {
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 14px;
}

.footer-form {
    background: rgba(255, 255, 255, 0.01);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-form input, .footer-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 14px;
}

.footer-form input:focus, .footer-form textarea:focus {
    outline: none;
    border-color: var(--sien-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    margin-top: 60px;
    color: #475569;
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero h1 { font-size: 32px; }
    .about-wrapper { grid-template-columns: 1fr; }
}