/* --- VARIABLES Y PALETA CORPORATIVA PREMIUM --- */
:root {
    --primario: #0b1329; /* Azul industrial profundo */
    --secundario: #1c2541; /* Azul noche para contrastes */
    --acento: #777777; /* Naranja/Ámbar de seguridad industrial de alta visibilidad */
    --exito: #25d366;
    --texto-oscuro: #202020;
    --texto-claro: #f8fafc;
    --fuente: 'Segoe UI', Arial, sans-serif;
}

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

body {
    font-family: var(--fuente);
    color: var(--texto-oscuro);
    background-color: #000000;
    line-height: 1.6;
}

/* --- INTERACTIVIDAD Y BOTONES --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--acento);
    color: var(--primario);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 2px solid var(--acento);
    box-shadow: 0 4px 12px rgba(150,150,150,0.10);
}

.btn:hover {
    background-color: transparent;
    color: var(--acento);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180,180,180,0.12);
}

.btn-secundario {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--texto-claro);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid var(--texto-claro);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-secundario:hover {
    background-color: var(--texto-claro);
    color: var(--primario);
    transform: translateY(-2px);
}

/* --- HEADER / NAVEGACIÓN --- */
header {
    background-color: var(--primario);
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo {
    color: var(--texto-claro);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--acento);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

nav a {
    color: #c7c7c7;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
    font-size: 0.95rem;
    padding-bottom: 5px;
}

nav a:hover {
    color: var(--acento);
}

/* --- HERO CORPORATIVO CON CAROUSEL --- */
.hero {
    position: relative;
    padding: 150px 8% 130px 8%;
    color: var(--texto-claro);
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--acento);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 45px;
    color: #c7c7c7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- ESTRUCTURA DE SECCIONES --- */
.section-padding {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--primario);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--acento);
    margin: 15px auto 0 auto;
    border-radius: 3px;
}

.bg-alterno {
    background-color: #0b0b0b;
}

/* --- QUIÉNES SOMOS Y ESTILOS DE LA INSIGNIA --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background-color: #ffffff;
    padding: 45px 35px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 5px solid var(--secundario);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--acento);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primario);
    font-weight: 700;
}

/* Clases de compatibilidad para insignias corporativas */
.insignia-local-container {
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.insignia-local-img {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.insignia-local-img:hover {
    transform: scale(1.03);
}

/* --- SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    height: 240px;
    overflow: hidden;
    background-color: #c7c7c7;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-info {
    padding: 35px;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primario);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    background-color: #f8fafc;
    color: var(--secundario);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    border-left: 3px solid var(--acento);
}

/* --- NUEVA GALERÍA DE PORTAFOLIO DINÁMICO --- */
.portfolio-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.portfolio-item-advanced {
    position: relative;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: #202020;
}

.portfolio-item-advanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.9);
}

.portfolio-item-advanced:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* --- EFECTO LIGHTBOX --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 41, 0.95);
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomEfecto 0.3s ease;
}

@keyframes zoomEfecto {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--acento); }

.lightbox-nav {
    position: absolute;
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 20px;
    transition: color 0.2s;
}
.lightbox-nav:hover { color: var(--acento); }
.ln-prev { left: 20px; }
.ln-next { right: 20px; }

/* --- ENFOQUE DUAL EMPRESA / INDIVIDUAL --- */
.dual-focus {
    background-color: var(--primario);
    color: var(--texto-claro);
}

.dual-focus .section-title {
    color: var(--texto-claro);
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dual-column {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 45px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dual-column h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--acento);
    font-weight: 700;
}

.dual-column ul li {
    margin-bottom: 18px;
    list-style: none;
    padding-left: 30px;
    position: relative;
}

.dual-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--acento);
    font-weight: 900;
}

/* --- CAPACIDAD TÉCNICA / NÚMEROS --- */
.stats-bg {
    background-color: var(--secundario);
    color: var(--texto-claro);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--acento);
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    color: #c7c7c7;
    font-weight: 500;
}

/* --- SECCIÓN DESCARGA BROCHURE --- */
.brochure-section {
    background: linear-gradient(rgba(130,130,130,0.08), rgba(100,100,100,0.04));
    text-align: center;
}

/* --- CONTACTO --- */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 60px 50px;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-box h4 {
    color: var(--primario);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

/* Corrección y blindaje para el campo de ubicación manual */
#direccionProyecto {
    background-image: none !important;
    padding-right: 12px !important;
    text-overflow: ellipsis;
}

#direccionProyecto::placeholder {
    color: #888888;
    opacity: 1;
}

/* --- REDES SOCIALES --- */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    color: #c7c7c7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
}

.social-icon:hover {
    color: var(--acento);
    transform: translateY(-2px);
    border-color: var(--acento);
}

.footer-socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social-link {
    color: #9b9b9b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-social-link:hover {
    color: var(--acento);
}

/* --- FOOTER --- */
footer {
    background-color: #060a13;
    color: #888888;
    padding: 50px 8%;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #202020;
}

footer strong {
    color: var(--texto-claro);
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp::before {
    content: '';
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="white"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') no-repeat center center;
    display: block;
}

/* --- RESPONSIVIDAD Y AJUSTES MÓVILES --- */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 20px; padding: 20px; }
    nav a { margin: 0 10px; font-size: 0.85rem; }
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .section-padding { padding: 60px 5%; }
    
    /* Adaptación de la insignia regional para pantallas pequeñas */
    .insignia-local-img { max-width: 200px; }
    
    /* Optimización del Lightbox para celulares */
    .lightbox-content { max-width: 95%; }
    .lightbox-close { top: 20px; right: 25px; font-size: 2.2rem; }
    
    /* Movemos las flechas abajo para que no tapen el metal de la obra */
    .lightbox-nav { top: auto; bottom: 20px; transform: none; font-size: 2.5rem; padding: 10px 30px; }
    .ln-prev { left: 15%; }
    .ln-next { right: 15%; }
}
/* ESTILOS PARA TARJETAS DE PROYECTO CLASIFICADAS */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        .project-card {
            background: #1c2541;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.25);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.45);
            border-color: #777777;
        }
        .project-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #777777;
            color: #0b1329;
            font-size: 0.75rem;
            font-weight: 800;
            padding: 5px 12px;
            border-radius: 4px;
            text-transform: uppercase;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
        .project-cover {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .project-card:hover .project-cover {
            transform: scale(1.05);
        }
        .project-info {
            padding: 20px;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            background: #1c2541;
            z-index: 2;
        }
        .project-title {
            font-size: 1.15rem;
            margin: 0 0 10px 0;
            color: #ffffff;
            font-weight: 700;
        }
        .project-desc {
            color: #9b9b9b;
            font-size: 0.88rem;
            line-height: 1.4;
            margin-bottom: 15px;
        }
        .project-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #aaaaaa;
            font-weight: 700;
            font-size: 0.85rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 12px;
        }
        .photo-count {
            color: #c7c7c7;
            font-weight: 500;
            background: #0b1329;
            padding: 3px 8px;
            border-radius: 4px;
        }
        /* CABECERA DE LA MODAL DE FOTOS */
        .lightbox-content-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 90%;
            max-height: 90vh;
        }
        .lightbox-header {
            color: #ffffff;
            text-align: center;
            margin-bottom: 15px;
        }
        .lightbox-header h3 {
            margin: 0;
            font-size: 1.2rem;
            color: #777777;
        }
        .lightbox-header span {
            font-size: 0.85rem;
            color: #9b9b9b;
        }

/* ================================================================
   REDISEÑO CORPORATIVO DEIBI ARIAAN COMPANY SAC — NEGRO / BLANCO / GRIS
   ================================================================ */
:root{
  --primario:#050505;
  --secundario:#151515;
  --acento:#858585;
  --exito:#777777;
  --texto-oscuro:#f4f4f4;
  --texto-claro:#ffffff;
  --surface:#0c0c0c;
  --surface-2:#141414;
  --border:#2c2c2c;
  --muted:#a7a7a7;
  --hover:#5d5d5d;
}
html{background:#000;}
body{background:#000 !important;color:#fff !important;}
header{background:rgba(0,0,0,.96) !important;border-bottom:1px solid #252525;box-shadow:0 6px 24px rgba(0,0,0,.5);backdrop-filter:blur(12px);}
.logo{color:#fff !important;font-size:clamp(1rem,2vw,1.45rem) !important;}
.logo span{color:#bdbdbd !important;}
.logo-img{height:54px !important;width:54px !important;border-radius:50%;object-fit:cover !important;background:#fff;padding:2px;border:1px solid #3b3b3b;box-shadow:0 0 0 3px rgba(255,255,255,.04);}
nav a,.main-nav a{color:#c7c7c7 !important;border-radius:7px;padding:7px 10px !important;transition:background .2s,color .2s,transform .2s !important;}
nav a:hover,.main-nav a:hover,.main-nav a.active{color:#fff !important;background:#333 !important;transform:translateY(-1px);}
.hero .slide{filter:saturate(.75) brightness(.72);}
.hero h1 span{color:#bdbdbd !important;}
.hero p{color:#d0d0d0 !important;}
.section-padding,.bg-alterno,.stats-bg,.dual-focus,.brochure-section,#contacto{background:#000 !important;color:#fff !important;}
.section-title{color:#fff !important;}
.section-title::after{background:#666 !important;height:3px;}
.stat-number{color:#d0d0d0 !important;}
.stat-item p{color:#aaa !important;}
.service-card,.about-card,.contact-container,.contact-box,.sector-box,.focus-box{background:#0d0d0d !important;color:#fff !important;border:1px solid #292929 !important;box-shadow:0 14px 38px rgba(0,0,0,.32) !important;}
.service-card:hover,.about-card:hover,.contact-box:hover,.focus-box:hover{border-color:#666 !important;transform:translateY(-4px);}
.service-info h3,.about-card h3,.contact-box h4,.dual-focus h3{color:#fff !important;}
.service-info p,.about-card p,.contact-box p,.dual-focus p,.dual-focus li{color:#b5b5b5 !important;}
.service-img{background:#080808 !important;}
.tag{background:#181818 !important;color:#cfcfcf !important;border:1px solid #333 !important;border-left:3px solid #777 !important;}
.project-card,.project-info{background:#0c0c0c !important;border-color:#292929 !important;}
.project-card:hover{border-color:#777 !important;box-shadow:0 15px 36px rgba(0,0,0,.55) !important;}
.project-badge{background:#555 !important;color:#fff !important;}
.project-desc,.project-footer,.photo-count{color:#aaa !important;}
.project-footer{border-color:#2e2e2e !important;}
.photo-count{background:#181818 !important;}
.lightbox-modal{background:rgba(0,0,0,.96) !important;}
.lightbox-header h3{color:#ddd !important;}
.form-cotizacion{background:#0b0b0b !important;border:1px solid #2d2d2d !important;box-shadow:0 18px 45px rgba(0,0,0,.45) !important;}
.form-group label{color:#c7c7c7 !important;}
.form-group input,.form-group select,.form-group textarea{background:#050505 !important;color:#fff !important;border-color:#3a3a3a !important;}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#8d8d8d !important;box-shadow:0 0 0 3px rgba(160,160,160,.13) !important;}
#direccionProyecto::placeholder,.form-group input::placeholder,.form-group textarea::placeholder{color:#777 !important;}
.btn,.btn-secundario,.quote-btn,.btn-postular{
  background:#2d2d2d !important;color:#fff !important;border:1px solid #666 !important;border-radius:8px !important;
  box-shadow:none !important;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s !important;
}
.btn:hover,.btn-secundario:hover,.quote-btn:hover,.btn-postular:hover{
  background:#606060 !important;color:#fff !important;border-color:#bdbdbd !important;transform:translateY(-2px) !important;
  box-shadow:0 10px 24px rgba(255,255,255,.08) !important;
}
#nosotros{background-color:#000 !important;}
#nosotros > div:first-child{background:linear-gradient(135deg,rgba(0,0,0,.96),rgba(8,8,8,.92)) !important;}
#nosotros > div:nth-child(2) > div:first-child > span{color:#aaa !important;}
#nosotros > div:nth-child(2) > div:first-child > div{background:#686868 !important;}
.nosotros-box{background:#0c0c0c !important;border:1px solid #2b2b2b !important;border-left:4px solid #666 !important;color:#fff !important;box-shadow:0 14px 30px rgba(0,0,0,.35) !important;}
.nosotros-box:hover{background:#151515 !important;border-color:#666 !important;transform:translateY(-2px);}
.nosotros-box h3{color:#fff !important;}
.nosotros-box .box-icon{color:#cfcfcf !important;background:#222;border:1px solid #444;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;}
.nosotros-box .box-content p{color:#b9b9b9 !important;}
.nosotros-box .box-content span[onclick]{color:#d0d0d0 !important;background:#171717 !important;border-color:#4a4a4a !important;}
.company-mark-large{border-radius:24px !important;background:#fff !important;border:1px solid #3a3a3a !important;box-shadow:0 24px 55px rgba(0,0,0,.55) !important;transition:transform .25s,box-shadow .25s !important;}
.company-mark-large:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 30px 70px rgba(0,0,0,.7) !important;}
#contacto h2{color:#fff !important;}
#contacto > .contact-container > p{color:#aaa !important;}
#contacto .contact-box p{color:#bdbdbd !important;}
footer{background:#030303 !important;color:#8d8d8d !important;border-top-color:#242424 !important;}
footer strong{color:#fff !important;}
.footer-social-link{color:#bdbdbd !important;padding:7px 12px;border:1px solid #333;border-radius:7px;}
.footer-social-link:hover{color:#fff !important;background:#333 !important;border-color:#666 !important;}
.footer-separator{color:#555;align-self:center;}
.btn-whatsapp{background:#2e2e2e !important;border:1px solid #777;box-shadow:0 8px 24px rgba(0,0,0,.45) !important;}
.btn-whatsapp:hover{background:#656565 !important;box-shadow:0 10px 28px rgba(255,255,255,.08) !important;}
/* CTA de empleo */
section.section-padding > div[style*="linear-gradient"]{border:1px solid #292929 !important;}
section.section-padding span[style*="text-transform: uppercase"]{color:#aaa !important;}
section.section-padding p[style*="color: #9b9b9b"]{color:#aaa !important;}
@media(max-width:768px){
 .logo-img{height:48px !important;width:48px !important;}
 .company-mark-large{width:min(300px,90vw) !important;}
}


/* ===== AJUSTES V2: acordeón, nuevas tarjetas y redes sociales ===== */
.nosotros-box .box-content{
  overflow:hidden !important;
  transition:max-height .38s ease,padding-top .28s ease !important;
}
.nosotros-close{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  padding:8px 14px;
  margin-top:4px;
  border:1px solid #666;
  border-radius:7px;
  background:#242424;
  color:#fff;
  font:700 .78rem/1 'Segoe UI',Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.7px;
  cursor:pointer;
  position:relative;
  z-index:5;
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.nosotros-close:hover,
.nosotros-close:focus-visible{
  background:#555;
  border-color:#bdbdbd;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(255,255,255,.07);
  outline:none;
}
.service-img-editable{position:relative;background:#080808 !important;}
.service-img-editable img{object-fit:cover;}
.photo-slot-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:7px;
  background:rgba(0,0,0,.72);
  color:#ddd;
  font-size:.72rem;
  letter-spacing:.25px;
  backdrop-filter:blur(5px);
  pointer-events:none;
}
.social-facebook::before{content:'f';font-weight:900;margin-right:7px;font-family:Arial,sans-serif;}
.social-instagram::before{content:'◎';font-weight:900;margin-right:7px;}
@media(max-width:768px){
  .nosotros-close{width:100%;margin-top:8px;}
  .photo-slot-badge{font-size:.66rem;}
}

/* ===== AJUSTES FINALES DEIBI ARIAAN ===== */
.service-img{height:auto !important;aspect-ratio:4/3;background:#070707 !important;}
.service-img img{width:100%;height:100%;object-fit:cover !important;display:block;}
.services-grid .service-card:nth-child(1) .service-img img{object-position:center 48%;}
.services-grid .service-card:nth-child(2) .service-img img{object-position:center 48%;}
.services-grid .service-card:nth-child(3) .service-img img{object-position:center 55%;}
.services-grid .service-card:nth-child(4) .service-img img{object-position:center 48%;}
.services-grid .service-card:nth-child(5) .service-img img{object-position:center 50%;}
.service-img-contain img{object-fit:contain !important;padding:14px;box-sizing:border-box;background:#070707;}
.photo-slot-badge{display:none !important;}
.service-card{display:flex;flex-direction:column;}
.service-info{display:flex;flex-direction:column;flex:1;}
.service-tags{margin-top:auto;padding-top:18px;}
.brochure-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;}
.brochure-actions .btn{min-width:210px;text-align:center;}
.btn-brochure-download{background:#151515 !important;border-color:#444 !important;}
.social-email::before{content:'@';font-weight:900;margin-right:7px;font-family:Arial,sans-serif;}
.project-footer{justify-content:flex-start !important;}
@media(max-width:768px){.service-img{aspect-ratio:16/11;}.brochure-actions{flex-direction:column;}.brochure-actions .btn{width:min(100%,320px);}}
