/* =========================================================================
   LUZYANA SERVICIO TÉCNICO - STYLE.CSS
   Descripción: Archivo global de variables y estilos base
   Eslogan: "Luzyana, confianza que repara"
   ========================================================================= */

:root {
    --luzy-blue: #003366;
    --luzy-yellow: #FFD700;
    --luzy-light: #F4F7FB;
    --luzy-dark: #1A1A1A;
    --luzy-gray: #777777;
    --luzy-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
    --font-primary: 'Inter', 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--luzy-dark);
    background: #f5ecbc6e;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.elementor-element-44443f2,
.elementor-element-25722b8, 
.elementor-element-f4bd6d2,
.elementor-element-0a0554e {
    margin-top: -86px;
}

/* Tipografía de títulos */
h1,
h2,
h3,
h4,
h5 {
    color: var(--luzy-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.luzy-slogan {
    font-size: 1.2rem;
    color: var(--luzy-gray);
    font-style: italic;
    font-weight: 400;
}

/* Enlaces generales */
a {
    color: var(--luzy-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--luzy-yellow);
}

/* =========================================================================
   CABECERA FIJA / STICKY HEADER
   ========================================================================= */

#masthead,
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

/* Efecto visual al hacer scroll (la clase .luzy-sticky se activa con tu JS) */
body.luzy-sticky #masthead,
body.luzy-sticky .site-header {
    background-color: rgba(255, 255, 255, 0.97) !important;
    box-shadow: var(--luzy-shadow) !important;
    backdrop-filter: blur(10px);
}

/* Espacio al cuerpo para no quedar oculto bajo el header transparente/fijo */
body:not(.elementor-editor-active) #content {
    margin-top: 80px;
}

/* =========================================================================
   ESTILOS DEL LOGO 
   ========================================================================= */

/* Logo cuando estÃ¡ arriba (Sin sticky) */
body:not(.luzy-sticky) .site-logo-img img {
    /*height: 4vw;
    width: auto;*/
    transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
    filter: brightness(10000%);
    filter: brightness(0) invert(1);
}

/* Logo cuando hace SCROLL (Con sticky) */
body.luzy-sticky .site-logo-img img {
    /* Vuelve al color y tamaÃ±o normal de Astra */
    height: auto;
    /* Puedes ajustar esto si quieres que mida distinto al scrollear */
    transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
    filter: brightness(100%);
}

.page-id-475 .site-logo-img img,
.page-id-505 .site-logo-img img,
.page-id-527 .site-logo-img img,
.page-id-532 .site-logo-img img,
.page-id-538 .site-logo-img img,
.page-id-549 .site-logo-img img,
.page-id-556 .site-logo-img img{
    filter: brightness(100%) !important;
}

/* Secciones fondo */
.luzy-contact {
    background: -webkit-linear-gradient(to right, #4b88aa, #1c2f4e) !important;
    background: linear-gradient(to right, #4b88aa, #1c2f4e) !important;
}

.e-con-full.e-flex {
    padding: 0 !important;
}

/* =========================================================================
   CORRECCIÓN CONTRASTE CAJA DE CONTACTO
   ========================================================================= */
.luzy-contact-info {
    background-color: #ffffff !important;
}

.luzy-contact-info h2 {
    color: var(--luzy-blue-dark) !important;
}

.luzy-contact-info p {
    color: var(--luzy-text-main) !important;
}

.luzy-contact-details p {
    color: var(--luzy-text-main) !important;
}

.luzy-contact-details strong {
    color: var(--luzy-yellow) !important;
}

.luzy-contact-details a {
    color: var(--luzy-blue-dark) !important;
}

.luzy-contact-details a:hover {
    color: var(--luzy-yellow) !important;
}