* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-pure);
    overflow-x: hidden;
    padding-top: 75px; /* Evita que la navbar fija tape el inicio */
}

/* --- HEADER & NAV (EFECTO LED NEÓN) --- */
header {
    background-color: rgba(11, 11, 13, 0.96);
    /* Borde inferior LED de color corporativo */
    border-bottom: 2px solid var(--accent-orange) !important;
    /* Resplandor neón industrial */
    box-shadow: 0 4px 25px rgba(255, 82, 26, 0.35), 0 1px 5px rgba(255, 82, 26, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--accent-orange);
}

.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--accent-orange);
}

.btn-header {
    background-color: var(--accent-orange);
    color: var(--text-pure);
    padding: 0.6rem 1.3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-header:hover {
    background-color: var(--accent-hover);
}

.btn-header-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO (INICIO CON TU IMAGEN OSCURECIDA Y FUSIONADA) --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
    
    /* GRADIENTE CORREGIDO: Cambiado 100__ por 100% y ajustada la extensión a .jpeg */
    background-image: 
        linear-gradient(
            to bottom, 
            rgba(11, 11, 13, 0.85) 0%,    
            rgba(15, 18, 15, 0.70) 50%,   
            rgba(18, 22, 18, 1) 100%
        ), 
        url('../assets/arbolesfondo.jpeg');
        
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Genial efecto Parallax en PC */
    overflow: hidden;
}

/* Tinte negro suave extra para garantizar legibilidad óptima de tus títulos */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2; /* Envía textos y CTAs por delante de las capas oscuras */
}

/* NUEVO: Estilo para la insignia superior adaptada al enfoque institucional corporativo */
.hero-content .badge-empresa {
    display: inline-block;
    background-color: rgba(255, 82, 26, 0.12);
    color: var(--accent-orange);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 82, 26, 0.35);
    box-shadow: 0 0 15px rgba(255, 82, 26, 0.1);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    color: var(--text-pure); /* Mejorado de muted a pure para romper el fondo oscuro */
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- BOTONES --- */
.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-pure);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    background-color: rgba(255,255,255,0.02);
    color: var(--text-pure);
    padding: 0.9rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

/* --- SECCIÓN SERVICIOS --- */
.services-section {
    background-color: #121612 !important; /* Fondo personalizado ligeramente verde/industrial profundo */
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(255, 82, 26, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #1a201a !important; /* Tarjetas acopladas al nuevo tono de la sección */
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(255, 82, 26, 0.15);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.service-objective {
    background-color: rgba(255,255,255,0.02);
    padding: 1rem;
    border-left: 3px solid var(--accent-orange);
    font-size: 0.9rem;
    margin-top: auto; /* Empuja el objetivo al fondo para nivelar alturas de tarjeta */
}

/* --- SECCIÓN NOSOTROS --- */
.about-section {
    background: linear-gradient(180deg, #121612 0%, #0d100d 100%) !important; /* Transición limpia a oscuro */
    padding: 6rem 1.5rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text { flex: 1; }

.about-text .badge-empresa {
    display: inline-block;
    background-color: rgba(255, 82, 26, 0.1);
    color: var(--accent-orange);
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 82, 26, 0.2);
}

.about-text h2 { font-size: 2.4rem; margin: 1rem 0; }
.about-text p { color: var(--text-muted); margin-bottom: 2rem; }

.bullet-points { display: flex; flex-direction: column; gap: 1rem; }
.bullet { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; }
.bullet i { color: var(--accent-orange); }

.about-image-box { flex: 1; display: flex; justify-content: center; }
.about-img { max-width: 80%; border-radius: 8px; border: 1px solid var(--border-color); }

/* --- ADS BANNER --- */
.ads-section { padding: 2rem 1.5rem; }
.ad-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(90deg, #191921 0%, #111116 100%);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* --- SECCIÓN PROYECTOS (GALERÍA DE FOTOS) --- */
.projects-section {
    background-color: #0d100d !important; /* Fondo de carbono oscuro para aislar imágenes */
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.project-card {
    background-color: #141a14 !important;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}
.project-img-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #000;
}
.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}
.project-info {
    padding: 1.5rem;
}
.project-tag {
    display: inline-block;
    background-color: rgba(255, 82, 26, 0.1);
    color: var(--accent-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}
.project-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* --- COMPLEMENTOS NAVBAR (REDES Y BOTONES DE ACCIÓN) --- */
.header-right-desktop {
    display: flex;
    align-items: center;
}
.header-actions-desktop {
    display: flex;
    gap: 0.5rem;
}
.btn-dino {
    background-color: transparent !important;
    border: 1px solid var(--accent-orange);
    color: var(--text-pure) !important;
}
.btn-dino:hover {
    background-color: var(--accent-orange) !important;
}

.header-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 15px;
    border-right: 1px solid var(--border-color);
    padding-right: 15px;
}
.header-socials a {
    color: var(--text-muted);
    font-size: 1.1Gram;
    transition: color 0.3s;
}
.header-socials a:hover {
    color: var(--accent-orange);
}

.mobile-socials {
    display: none;
    justify-content: center;
    gap: 25px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.mobile-socials a {
    font-size: 1.5rem;
    color: var(--text-muted);
}
.mobile-socials a:hover {
    color: var(--accent-orange);
}

/* --- DISEÑO CORPORATIVO CAJA EQUIPO --- */
.team-info-box {
    background-color: #141a14 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.team-info-box h3 {
    font-size: 1.1rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.team-info-box p {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
}
.leader-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-orange);
}
.leader-icon {
    font-size: 1.8rem;
    color: var(--accent-orange);
}
.leader-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}
.leader-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.3rem;
}
.leader-card p {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
}

/* --- FOOTER & WHATSAPP (CON EFECTO LED SUPERIOR) --- */
footer {
    background-color: #060608;
    /* Borde superior LED naranja */
    border-top: 2px solid var(--accent-orange) !important;
    /* Resplandor neón hacia arriba */
    box-shadow: 0 -5px 25px rgba(255, 82, 26, 0.35), 0 -1px 5px rgba(255, 82, 26, 0.2);
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    gap: 2rem; 
    flex-wrap: wrap; 
}

.phone-link { 
    font-size: 1.5rem; 
    color: var(--text-pure); 
    text-decoration: none; 
    font-weight: 700; 
    display: block; 
    margin: 0.5rem 0; 
}

.cobertura { 
    color: var(--accent-orange); 
    font-weight: 600; 
}

.footer-social-box {
    margin-top: 1.5rem;
}
.footer-social-box h5 {
    font-size: 0.9rem;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}
.footer-social-links {
    display: flex;
    gap: 10px;
}
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s;
}
.footer-social-links a:hover {
    opacity: 0.9;
}
.footer-link-fb { background-color: #1877f2; }
.footer-link-ig { background-color: #e1306c; }

.footer-bottom { 
    text-align: center; 
    margin-top: 2rem; 
    padding-top: 1.5rem; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: rgba(255,255,255,0.3); 
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 999;
    text-decoration: none;
}

/* --- RESPONSIVIDAD Y MEDIA QUERIES --- */
@media (max-width: 900px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-img { max-width: 60%; }
    .bullet { justify-content: center; }
    .ad-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .btn-header { display: none; }
    .header-socials { display: none; }
    .mobile-socials { display: flex; }
    .project-img-wrapper { height: 380px; }
    
    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background-color: var(--bg-surface);
        flex-direction: column;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: left 0.4s ease;
    }
    .nav-menu.active { left: 0; }
    
    .btn-header-mobile { 
        display: block; 
        background-color: var(--accent-orange); 
        color: white !important; 
        padding: 0.8rem 3rem; 
        border-radius: 4px; 
    }
    .secondary-mobile {
        background-color: transparent !important;
        border: 1px solid var(--accent-orange);
        margin-top: -1.5rem;
    }
    .hero h1 { font-size: 2.2rem; }
    
    /* Adaptación móvil del distintivo institucional */
    .hero-content .badge-empresa {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
        margin-bottom: 1.5rem;
    }
}