/*-------------------------------------------------------------------------------------------*/
/* VARIABLES DE MARCA Y TOKENS DE DISEÑO */
/*-------------------------------------------------------------------------------------------*/
: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);
}

/* 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;
}
@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
}

.max-w-custom { max-width: 650px; }
.max-w-sm { max-width: 400px; }

/* REGLAS COMPONENTES: NAVEGACIÓN */
.modern-navbar {
    background-color: transparent;
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.modern-navbar.scrolled {
    background-color: rgba(17, 17, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}
.logo-text {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 24px;
}
.logo-dot { color: var(--clr-accent); font-weight: 800; }

.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 {
    color: var(--clr-white) !important;
    opacity: 1;
}

.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);
}

/* REGLAS COMPONENTES: HERO COVER */

/* REGLAS COMPONENTES: HERO COVER */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: 140px;
    overflow: hidden; /* Esto asegura que el carrusel de fondo no se salga de los bordes */
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 18, 0.95) 0%, rgba(17, 17, 18, 0.7) 40%, rgba(17, 17, 18, 0.2) 100%);
}
.hero-badge {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    display: inline-block;
}
.hero-title {
    font-size: 58px;
    color: var(--clr-white);
    line-height: 1.2;
    font-weight: 800;
}
.hero-title .text-accent { color: var(--clr-accent); }
.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
}

.btn-premium-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 36px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}
.btn-premium-primary:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
    transform: translateY(-3px);
}
.btn-premium-secondary {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 36px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}
.btn-premium-secondary:hover {
    border-color: var(--clr-white);
    background: rgba(255,255,255,0.1);
    color: var(--clr-white);
}

@media (max-width: 991px) {
    .hero-title { font-size: 40px; }
    .hero-section { min-height: auto; padding-bottom: 80px; }
}

/* REGLAS SECCIONES COMUNES */
.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; }
.section-title {
    font-size: 38px;
    letter-spacing: -0.5px;
}
.section-desc { font-size: 16px; line-height: 1.8; }

.bg-placeholder-img {
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* CARDS DE SERVICIOS MODERNOS */
.modern-service-card {
    background: #19191b;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 8px;
    height: 100%;
    transition: var(--transition);
}
.modern-service-card:hover {
    background: #212124;
    transform: translateY(-5px);
    border-color: rgba(158, 42, 75, 0.4);
}
.card-icon-box {
    color: var(--clr-accent);
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
}
.modern-service-card h4 {
    color: var(--clr-white);
    font-size: 20px;
    margin-bottom: 15px;
}
.modern-service-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.card-cta-active {
    background: linear-gradient(145deg, var(--clr-accent), #690000);
    border: none;
}
.sm-btn { padding: 12px 24px; font-size: 12px; border-radius: 50px; }

/* GALERÍA DE PORTAFOLIO TIPO BLOQUE */
.portfolio-item-modern {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--clr-dark);
}
.portfolio-img-placeholder {
    height: 350px;
    background: #f0f0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 500;
    transition: var(--transition);
}
.portfolio-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(17,17,18,0.95), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item-modern:hover .portfolio-meta {
    transform: translateY(0);
    opacity: 1;
}
.portfolio-item-modern:hover .portfolio-img-placeholder {
    transform: scale(1.05);
    opacity: 0.4;
}
.portfolio-meta span {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.portfolio-meta h3, .portfolio-meta h5 {
    color: var(--clr-white);
    margin: 5px 0 0 0;
    font-size: 18px;
}

/* CAJAS DE CONTACTO */
.contact-box-minimal {
    background-color: var(--clr-white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}
.contact-box-minimal h6 {
    margin: 15px 0 8px 0;
    font-weight: 700;
}

/* FOOTER */
.footer-dark {
    background-color: var(--clr-dark);
    color: rgba(255,255,255,0.5);
    padding: 40px 0;
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--clr-white);
    font-size: 22px;
    letter-spacing: 1px;
}
.footer-bottom-text { font-size: 13px; }

/*-------------------------------------------------------------------------------------------*/
/* AJUSTES DE LOGOTIPO EN IMAGEN */
/*-------------------------------------------------------------------------------------------*/

/* Logo en el menú superior */
.navbar-logo {
    max-height: 80px; /* Controla la altura del logo en el menú */
    width: auto;
    transition: var(--transition);
}

/* Logo en el pie de página */
.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; 
    }
}

/*-------------------------------------------------------------------------------------------*/
/* SECCIÓN DE VIDEO CORPORATIVO */
/*-------------------------------------------------------------------------------------------*/
.video-premium-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); /* Sombra oscura para profundidad */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.video-premium-wrapper:hover {
    transform: translateY(-8px); /* Efecto de levitación */
    box-shadow: 0 25px 50px rgba(158, 42, 75, 0.2); /* Sombra color vino al pasar el ratón */
    border-color: rgba(158, 42, 75, 0.4);
}

/* Ajuste del icono de play para que respire bien */
.bi-play-circle {
    line-height: 1;
}