/*=============================================================================*/
/* SERVICIOS.CSS - HOJA DE ESTILOS 100% INDEPENDIENTE                          */
/*=============================================================================*/

:root {
    --clr-dark: #111112;          /* Negro mate arquitectónico */
    --clr-light: #F7F7F9;         /* Blanco humo suave */
    --clr-white: #FFFFFF;
    --clr-accent: #969591;        /* Vino de alta gama refinado */
    --clr-accent-hover: #77686c;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ENLACE TIPO VÍNCULO WEB (CNC) */
.cnc-link {
    color: #1d6fe0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.cnc-link:hover {
    color: #134a96;
}

/* RESET GENERAL */
body {
    font-family: var(--font-body);
    color: #4a4a4e;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    font-weight: 700;
}

.section-padding { padding: 100px 0; }
.max-w-custom { max-width: 650px; }
.text-accent { color: var(--clr-accent) !important; }

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
}

/* ================= NAVEGACIÓN ================= */
.modern-navbar {
    background-color: transparent; /* Fondo transparente estando arriba */
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Línea sutil elegante */
}

.modern-navbar.scrolled {
    background-color: rgba(17, 17, 18, 0.98); 
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom-color: transparent;
}

.navbar-logo {
    max-height: 80px; /* Controla la altura del logo en el menú */
    width: auto;
    transition: var(--transition);
}

.footer-logo-img {
    max-height: 70px; /* Un poco más grande para el footer */
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); /* Le da una sombra sutil y elegante */
}

/* Opcional: Reducir un poco el logo en teléfonos móviles */
@media (max-width: 767px) {
    .navbar-logo {
        max-height: 35px; 
    }
}

.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    transition: var(--transition);
}
.modern-navbar .nav-link:hover, .modern-navbar .nav-link.active {
    color: var(--clr-white) !important;
}

.nav-cta-btn {
    background-color: var(--clr-accent);
    color: var(--clr-white) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}
.nav-cta-btn:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(158, 42, 75, 0.3);
}

/* ================= CABECERA DE SERVICIOS ================= */
.services-hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: linear-gradient(rgba(17, 17, 18, 0.9), rgba(17, 17, 18, 0.9)), url('../images/img8.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: var(--clr-white);
}

.section-tag {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
}
.tag-light { color: var(--clr-white); opacity: 0.6; }

.services-hero h1 { color: var(--clr-white); }

/* ================= CATÁLOGO DE SERVICIOS ================= */
.section-title {
    font-size: 32px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 16px; 
    line-height: 1.8;
}

.service-img-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}

.service-catalog-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-img-wrapper:hover .service-catalog-img {
    transform: scale(1.05);
}

/* Placeholder para la imagen faltante de impermeabilización */
.service-placeholder {
    height: 400px;
    background-color: var(--clr-dark);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-placeholder i {
    font-size: 6rem;
    opacity: 0.2;
}

/* ================= CALL TO ACTION FINAL ================= */
.services-cta-section {
    padding: 80px 0;
    background-color: var(--clr-accent);
    color: var(--clr-white);
}

/* ================= FOOTER ================= */
.footer-dark {
    background-color: var(--clr-dark);
    color: rgba(255,255,255,0.5);
    padding: 40px 0;
}

.footer-logo-img {
    max-height: 65px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.footer-socials a { transition: var(--transition); }
.footer-socials a:hover { color: var(--clr-accent) !important; }
.footer-bottom-text { font-size: 13px; }