

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7fb;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ENCABEZADO */
.site-header {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
section[id] {
    scroll-margin-top: 110px;
}
.site-header.scrolled {
    background-color: rgba(15, 23, 42, 0.85);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.20);
}

/* BARRA DE NAVEGACIÓN */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;

}
/* BOTÓN MENÚ HAMBURGUESA */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    border-radius: 3px;
}
/* CGLink */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.brand-text h2 {
    color: #ffffff;
    margin: 0;
    font-size: 23px;
}

/* MENÚ DE NAVEGACIÓN */
.main-nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

.main-nav a {
    color: #f4f7fb;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #54baff;
}

/* BOTÓN DE CONTACTO */
.btn-contact {
    display: inline-block;
    color: white;
    padding: 11px 20px;
    border: 2px solid #168bdb;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #54baff;
    border-color: #168bdb;
}

/* SECCIÓN NOSOTROS */
.Frame_Quienes_Somos {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    background-color: #ffffff;
}

.Nosotros_Contenido {
    max-width: 650px;
}

.Etiqueta_Nosotros {
    color: #168bdb;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.Nosotros_Contenido h2 {
    color: #0f172a;
    font-size: 38px;
    line-height: 1.2;
    margin: 18px 0;
}

.IFI {
    color: #526174;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* BOTÓN WHATSAPP */
.BWha {
    display: inline-block;
    background-color: #168bdb;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.BWha:hover {
    background-color: #0f172a;
    transform: translateY(-3px);
}

/* VALORES */
.Nosotros_Valores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.Valor {
    background-color: #f4f7fb;
    padding: 22px;
    border-radius: 12px;
    border-left: 4px solid #168bdb;
    transition: transform 0.3s ease;
}

.Valor:hover {
    transform: translateX(6px);
}

.Valor h3 {
    color: #0f172a;
    margin: 0 0 10px;
    font-size: 19px;
}

.Valor p {
    color: #526174;
    margin: 0;
    line-height: 1.7;
}

/* CONTENEDOR DE SERVICIOS */
.Serv {
    padding: 80px 40px;
    background-image:
        linear-gradient(
            to bottom,
            #f4f7fb 0%,
            rgba(15, 23, 42, 0.45) 50%,
            #0f172a 100%
        ),
        linear-gradient(to top, #0f172a, transparent 100px),
        linear-gradient(
            rgba(15, 23, 42, 0.88),
            rgba(15, 23, 42, 0.92)
        ),
        url("Img/Placa.jpeg");

    background-size: 100% 150px, 100% 100px, cover, cover;
    background-position: top, bottom, center, center;
    background-repeat: no-repeat;
}

.Serv-encabezado {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}

.Serv-encabezado h2 {
    color: #168bdb;
    font-size: 36px;
    margin: 15px 0;
}

.Serv-encabezado p {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.TServicio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* TARJETAS DE SERVICIOS */
.tarjeta-servicio {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(79, 189, 240, 0.266);
}

/* IMÁGENES DE SERVICIOS */
.img {
    width: 35%;
    min-width: 120px;
    height: 200px;
    margin: 0 0 0 20px;
    align-self: center;
    object-fit: cover;
    display: block;
    border-radius: 50%;

}

/* INFORMACIÓN DE SERVICIOS */
.texto-servicio {
    flex: 1;
    padding: 20px;
    min-width: 0;
}

.texto-servicio h3 {
    color: #4d71c5;
    font-size: 18px;
    margin: 0 0 12px;
    text-align: center;
}

.texto-servicio p {
    color: #aec4e0;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 40px;
    min-height: 450px;
}

/* CONTENIDO DEL HERO */
.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    color: #168bdb;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: #0f172a;
    font-size: 52px;
    line-height: 1.15;
    margin: 0 0 20px;
}

.hero-content h1 span {
    color: #168bdb;
}

.hero-content p {
    color: #526174;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* BOTONES HERO */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #168bdb;
    color: white;
}

.btn-primary:hover {
    background-color: #0f172a;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid #168bdb;
    color: #168bdb;
}

.btn-secondary:hover {
    background-color: #168bdb;
    color: white;
}

/* IMAGEN HERO */
.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    display: block;
}

/* PROCESO DE TRABAJO */
.CTrabajamos {
    padding: 80px 40px;
    background-image:
        linear-gradient(to bottom, #0f172a, transparent 100px),
        linear-gradient(to top, #0f172a, transparent 100px),
        linear-gradient(
            rgba(15, 23, 42, 0.88),
            rgba(15, 23, 42, 0.92)
        ),
        url("Img/Mantenimiento GV.jpeg");

    background-size: 100% 100px, 100% 100px, cover, cover;
    background-position: top, bottom, center, center;
    background-repeat: no-repeat;
}
.Proceso-encabezado {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
    position: relative;
    z-index: 1;
}

.Proceso-encabezado span {
    color: #54baff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.Proceso-encabezado h2 {
    color: #ffffff;
    font-size: 36px;
    margin: 15px 0;
}

.Proceso-encabezado p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
}

.Proceso-pasos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.Paso {
    background: transparent;
    padding: 25px 18px;
    border-radius: 14px;
    border-top: 4px solid #168bdb;
    transition: transform 0.3s ease;
}

.Paso:hover {
    transform: translateY(-8px);
}

.Paso-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #168bdb;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 15px;
}

.Paso h3 {
    color: #168bdb;
    font-size: 17px;
    margin: 0 0 12px;
}

.Paso p {
    color: #8a9bb3;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}


/* CONTACTO */
.Contacto {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    background-color: #0f172a;
    padding: 60px 20px;
}

.Contacto-contenido {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

.Contacto-texto {
    color: #fff;
    max-width: 750px;
}

.Contacto-texto span {
    color: #168bdb;
    font-size: 25px;
}

.Contacto-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.Contacto-item {
    background-color: rgba(255, 255, 255, 0.06);
    padding: 22px;
    border-radius: 12px;
}

.Contacto-item span {
    display: block;
    color: #54baff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.Contacto-item p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin: 5px 0;
}

.Contacto-item strong {
    color: #ffffff;
}

.Contacto-item .Correo {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.Contacto-item .Correo:hover {
    color: #54baff;
}

/* HORARIO A TODO EL ANCHO */
.Contacto-item:last-child {
    grid-column: 1 / -1;
}

/* PIE DE PÁGINA */
.Footer {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding: 25px 20px;
    background-color: #0f172a;
    color: #ffffff;
}

.FContenido {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: auto;
}

.LogoP {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-Lgoo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 8px;
}

.Copyright {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    padding-top: 0;
}
/* BOTÓN FLOTANTE DE WHATSAPP */
.WhatsApp-flotante {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #25D366;
    color: #ffffff;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.WhatsApp-flotante svg {
    width: 34px;
    height: 34px;
}

.WhatsApp-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* TABLETS Y DISPOSITIVOS MÓVILES */
@media (max-width: 768px) {
    /* ENCABEZADO */
.site-header {
    padding: 15px 20px;
}
.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    position: relative;
}

.brand {
    flex-shrink: 0;
}

.menu-toggle {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
}
.main-nav {
    display: none;
}

.main-nav.active {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    position: absolute;
    top: 100%;
    left: -20px;
    width: calc(100% + 40px);
    padding: 20px;
    background-color: transparent;
    z-index: 1001;
}
.main-nav a{
    color: #000;
}
.btn-contact {
    display: none;
}
    /* HERO */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
        gap: 35px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        height: 280px;
    }

    /* NOSOTROS */
    .Frame_Quienes_Somos {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 65px 20px;
        gap: 35px;
    }

    .Nosotros_Contenido h2 {
        font-size: 30px;
    }

    .IFI {
        font-size: 15px;
    }

    /* SERVICIOS */
    .Serv {
        padding: 50px 15px 20px;
    }

    .Serv-encabezado h2 {
        font-size: 30px;
    }

    .TServicio {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 20px;
    }

    .img {
        height: 220px;
    }

    .texto-servicio {
        padding: 20px;
    }

    /* PROCESO DE TRABAJO */
.CTrabajamos {
    padding: 55px 20px;
    margin: 0;
}

.Proceso-encabezado h2 {
    font-size: 30px;
}

.Proceso-pasos {
    grid-template-columns: 1fr;
    gap: 15px;
}

.Paso {
    padding: 22px;
}

    /* CONTACTO */
    .Contacto {
        padding: 45px 20px;
    }

    .Contacto-contenido {
        text-align: center;
        gap: 30px;
    }

    .Contacto-texto {
        margin: 0 auto;
    }

    .Contacto-texto span {
        font-size: 20px;
    }

    .Contacto-texto h2 {
        font-size: 30px;
    }

    .Contacto-info {
        grid-template-columns: 1fr;
    }

    .Contacto-item:last-child {
        grid-column: auto;
    }

    /* FOOTER */
    .Footer {
        padding: 25px 15px;
    }

    .FContenido {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        text-align: center;
    }

    .img-Lgoo {
        width: 35px;
        height: 35px;
    }

    .Copyright {
        font-size: 12px;
        line-height: 1.5;
        padding-top: 15px;
        margin-top: 20px;
    }
    /* AJUSTE PARA CELULARES */
    .WhatsApp-flotante {
        width: 55px;
        height: 55px;
        right: 18px;
        bottom: 18px;
    }

    .WhatsApp-flotante svg {
        width: 31px;
        height: 31px;
    }
}

/* PANTALLAS PEQUEÑAS */
@media (max-width: 480px) {

    .brand img {
        width: 45px;
        height: 45px;
    }

    .brand-text h2 {
        font-size: 20px;
    }
    .main-nav a {
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-image img {
        height: 230px;
    }

    .tarjeta-servicio {
        flex-direction: column;
        padding: 15px;
    }

    .img {
        width: 100%;
        min-width: 0;
        height: 200px;
        margin: 0;
    }

    .texto-servicio {
        padding: 18px 5px 5px;
    }

    .Serv-encabezado h2 {
        font-size: 27px;
    }

    .Contacto-texto span {
        font-size: 17px;
    }
}