/*COMIENZO DEL CSS*/

/* VIDEO EN SLIDESHOW */
.t4-slideshow-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Video */
.t4-slideshow-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay oscuro */
.t4-slideshow-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

/* Texto */
.t4-slideshow-overlay {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 40vh;

}

.t4-slideshow-overlay h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
}

.t4-slideshow-overlay p {
    font-size: 1.2rem;
    margin: 20px 0 30px;
}

/*ESPACIO PARA VIDEO EN MOBILE*/


.t4-slideshow-video,
.t4-slideshow-video * {
    margin: 0;
}

.t4-section.slideshow {
    padding: 0 !important;
}

.t4-slideshow-video {
    height: 60vh;
    min-height: 600px;
}

@media (max-width: 768px) {
    .t4-slideshow-overlay {
        padding-top: 30vh;
    }
}

/* --- FIX HEADER SOBRE VIDEO SLIDESHOW --- */

.t4-header {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.header-transparent {
    background: rgba(0, 0, 0, 0.35);
    margin-bottom: -82px;
    z-index: 1000;
    position: relative;
}

body.dark-active .d-light {
    display: none !important;
}
.blog-list .item-image,
.d-block {
    display: block;
}

.logo-img-sm {
    max-height: 32px;
    margin-top: 15px;
}

/* --- DEGRADADO NEGRO INFERIOR SLIDESHOW --- */

.t4-slideshow-video::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,1) 100%);
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1700px;
    }

    .item-page p,
    .t4-content p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    @media (max-width: 768px) {
        .item-page p,
        .t4-content p {
            text-align: left;
        }
    }
}

/* ===== MISION - VISION - VALORES ===== */

.omega-mvv {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    text-align: center;
}

.omega-box {
    flex: 1;
}

.omega-icon {
    margin-bottom: 1.5rem;
}

.omega-icon img {
    width: 70px;
    /* puedes ajustar tamaño */
    height: auto;
    display: block;
    margin: 0 auto;
}

.omega-box h3 {
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}

.omega-box p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* MOBILE */
@media (max-width: 768px) {
    .omega-mvv {
        flex-direction: column;
        gap: 3rem;
    }

    .omega-box {
        padding: 0 1rem;
    }

    .omega-icon img {
        width: 60px;
    }
}

/* Justificar texto en JA ACM Features style-2 */
.acm-features.style-2 .fd-item.media-top-center .fd-item-desc {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
}

.acm-features.style-2 .fd-item.media-top-center .fd-item-title {
    text-align: center;
    font-size: var(--h2-font-size);
    font-weight: var(--heading-font-weight);
}

.acm-pricing.style-1 {
    background-image: url("/images/joomlart/Front/img_back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.acm-pricing.style-1 .pricing-features {
    background: transparent !important;
}

.acm-pricing.style-1 .pricing-features {
    position: relative;
    overflow: hidden;
}

.acm-pricing.style-1 .pricing-features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* ajusta opacidad */
    z-index: 1;
}

.acm-pricing.style-1 .feature-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2.5rem 2rem;
}

.acm-pricing.style-1 h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.acm-pricing.style-1 .pricing-desc {
    color: rgba(255, 255, 255, 0.9);
}

.acm-pricing.style-1 .pricing-features:hover::before {
    background: rgba(0, 0, 0, 0.85);
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .acm-pricing.style-1 {
        background-position: center top;
    }

    .acm-pricing.style-1 .feature-inner {
        padding: 2rem 1.5rem;
    }
}

.acm-pricing.style-1 {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .acm-pricing.style-1 {
        padding: 3.5rem 0;
    }
}

.acm-pricing.style-1 {
    background-attachment: fixed;
}

.custom-bg-wrapper {
    position: relative;
    overflow: hidden;
}

.custom-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.custom-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.custom-bg-wrapper .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .custom-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
}

/* Justificar texto en JA ACM Features style-3 */
.acm-features.style-2 .fd-item.media-top-center .fd-item-desc {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
}

.acm-features.style-2 .fd-item.media-top-center .fd-item-title {
    text-align: center;
    font-size: var(--h2-font-size);
    font-weight: var(--heading-font-weight);
}

.acm-pricing.style-3 {
    background-image: url("/images/joomlart/Front/arq_back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.acm-pricing.style-3 .pricing-features {
    background: transparent !important;
}

.acm-pricing.style-3 .pricing-features {
    position: relative;
    overflow: hidden;
}

.acm-pricing.style-3 .pricing-features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* ajusta opacidad */
    z-index: 1;
}

.acm-pricing.style-3 .feature-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2.5rem 2rem;
}

.acm-pricing.style-3 h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.acm-pricing.style-3 .pricing-desc {
    color: rgba(255, 255, 255, 0.9);
}

.acm-pricing.style-3 .pricing-features:hover::before {
    background: rgba(0, 0, 0, 0.85);
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .acm-pricing.style-3 {
        background-position: center top;
    }

    .acm-pricing.style-3 .feature-inner {
        padding: 2rem 1.5rem;
    }
}

.acm-pricing.style-3 {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .acm-pricing.style-3 {
        padding: 3.5rem 0;
    }
}

.acm-pricing.style-3 {
    background-attachment: fixed;
}

.custom-bg-wrapper {
    position: relative;
    overflow: hidden;
}

.custom-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.custom-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.custom-bg-wrapper .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 7680px) {
    .custom-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
}

/* Justificar texto en JA ACM Features style-4 */
.acm-features.style-2 .fd-item.media-top-center .fd-item-desc {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
}

.acm-features.style-2 .fd-item.media-top-center .fd-item-title {
    text-align: center;
    font-size: var(--h2-font-size);
    font-weight: var(--heading-font-weight);
}

.acm-pricing.style-4 {
    background-image: url("/images/joomlart/Front//cons_back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.acm-pricing.style-4 .pricing-features {
    background: transparent !important;
}

.acm-pricing.style-4 .pricing-features {
    position: relative;
    overflow: hidden;
}

.acm-pricing.style-4 .pricing-features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* ajusta opacidad */
    z-index: 1;
}

.acm-pricing.style-4 .feature-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2.5rem 2rem;
}

.acm-pricing.style-4 h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.acm-pricing.style-4 .pricing-desc {
    color: rgba(255, 255, 255, 0.9);
}

.acm-pricing.style-4 .pricing-features:hover::before {
    background: rgba(0, 0, 0, 0.85);
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .acm-pricing.style-4 {
        background-position: center top;
    }

    .acm-pricing.style-4 .feature-inner {
        padding: 2rem 1.5rem;
    }
}

.acm-pricing.style-4 {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .acm-pricing.style-4 {
        padding: 3.5rem 0;
    }
}

.acm-pricing.style-4 {
    background-attachment: fixed;
}

.custom-bg-wrapper {
    position: relative;
    overflow: hidden;
}

.custom-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.custom-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.custom-bg-wrapper .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 7680px) {
    .custom-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
}

/* CARRUSEL CLIENTES*/

.clients-logos-section {
    overflow: hidden;
    padding: 0;
    background: #000;
    padding-top: 0;
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-logos 35s linear infinite;
}


@media (max-width: 768px) {

    .clients-track {
        animation: scroll-logos 20s linear infinite;
    }

    .clients-slide img {
        height: 45px;
        margin: 0 1.5rem;
    }

}

.clients-slide {
    display: flex;
    align-items: center;
}

.clients-slide img {
    height: 150px;
    margin: 0 3rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.clients-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.clients-logos-section {
    position: relative;
    width: 100%;
}

.clients-logos-section:hover .clients-track {
    animation-play-state: paused;
}

.clients-intro-module {
   /* padding-top: 6rem !important;*/
    padding-bottom: 0 !important;
}

.clients-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.clients-intro p {
    text-align: center;
    margin-bottom: 2.5rem;
}

.clients-intro h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.clients-intro p {
    color: rgba(255, 255, 255, 0.8);
}

/* SECCIÓN POR QUÉ ELEGIRNOS */

.t4-topbar {
    background-color: var(--tpl-base-100);
    color: var(--body-text-color);
    padding-top: 0;
    padding-bottom: 0;
}

.section-ct .pricing-features h3 {
    text-align: center;
}

.section-ct .pricing-features .pricing-desc {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin: 0 auto;
}

.section-ct .pricing-features h3 {
    text-align: center !important;
}

.section-ct .pricing-features h3 {
    text-align: center !important;
}

.section-ct .pricing-features .pricing-desc {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.6;
    margin: 0 auto;
}

/* Footer redes debajo del logo */
.t4-footer .footnav-5 .social-list {
    justify-content: flex-start !important;
    margin-top: 15px;
}

.t4-footnav .t4-module + .t4-module {
    margin-top: -1rem;
}

/*@media (max-width: 1024px) {
    .t4-footnav .t4-module + .t4-module {
    margin-top: 1rem;
    padding-left: 4.5rem;
    }
}*/


/* FORZAR JUSTIFICADO EN MOBILE */

@media (max-width: 767px) {

    #t4-section-5 .acm-pricing.style-1 .pricing-features {
        text-align: justify !important;
    }

    #t4-section-5 .acm-pricing.style-1 .pricing-features h3 {
        text-align: center !important;
    }

}

/* Footer contacto estilo final */

.footer-contact {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.footer-contact .contact-wrapper {
    display: flex;
    align-items: center;
}

.footer-contact .contact-icon img {
    width: 65px;
    /* tamaño del icono */
    height: auto;
    margin-right: 15px;
}

.footer-contact .contact-info p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.footer-contact .contact-icon img {
    margin-right: 20px;
    transform: translateY(2px);
    margin-top: -10px;

}

#t4-footnav .footnav-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.service-hero {
    position: relative;
    height: 50vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* IMAGEN */

.service-hero-image {
    position: absolute;
    inset: 0;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY DESVANECIDO */

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: 
        linear-gradient(to left, rgba(0,0,0,0.85), rgba(0,0,0,0) 60%),
        linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0) 60%);

    z-index: 1;
}

/* CONTENIDO */

.service-hero-content {
    position: relative;
    max-width: 650px;
    margin-left: auto;
    padding-right: 8%;
    z-index: 2;
}

.service-hero-content h1 {
    font-size: 56px;
    color: white;
    margin-bottom: 25px;
}

.service-hero-content p {
    color: #e0c25b;
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width:900px) {

    .service-hero {
        height: 60vh;
        min-height: 420px;
    }

    /* mantenemos todo encima de la imagen */

    .service-hero-content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 40px;

        margin: auto;
        padding: 30px;

        max-width: 90%;
        text-align: center;
    }

    /* oscurecer más para legibilidad */

    .service-hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
    }

    .service-hero-content h1 {
        font-size: 34px;
    }

    .service-hero-content p {
        font-size: 16px;
    }

}

.service-hero {
    position: relative;
}

.service-hero-content {
    z-index: 2;
}

.service-hero-overlay {
    z-index: 1;
}

.service-hero-center {
    max-width: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.service-hero-center h1 {
    margin: 0 auto;
}

/* GOOGLE MAPS */

.footer-map {
    width: 100%;
    height: 200px;

    border-radius: 6px;
    overflow: hidden;

    filter: invert(90%) hue-rotate(180deg) contrast(90%) brightness(80%);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width:900px) {

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-map {
        max-width: 100%;
        height: 220px;
    }

}

#footnav-5 {
    display: flex;
    justify-content: flex-end;
}

#footnav-5 .footer-map {
    max-width: 300px;
}

/* INGENIERIAS */

.engineering-section {
    padding: 120px 0;
}

.engineering-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

.engineering-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

.engineering-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.engineering-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.engineering-content h4 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #c9a857;
}

.engineering-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.engineering-content li {
    margin-bottom: 10px;
}

.engineering-note {
    font-style: italic;
    opacity: 0.85;
}

.engineering-section:nth-child(even) .engineering-image {
    order: 2;
}

.engineering-section:nth-child(even) .engineering-content {
    order: 1;
}

@media (max-width:900px) {

    .engineering-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .engineering-image img {
        height: 300px;
    }

    .engineering-content h2 {
        font-size: 32px;
    }

}

.engineering-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #c9a857;
    margin-top: 12px;
}

.engineering-content ul {
    list-style: none;
    padding: 0;
}

/* ==============================
TÍTULO CON LÍNEA TÉCNICA
============================== */

.engineering-content h2 {
    position: relative;
    margin-bottom: 25px;
}

.engineering-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #c9a857;
    margin-top: 12px;
}

/* ==============================
ALCANCES LISTA TÉCNICA
============================== */

.engineering-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.engineering-content li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.engineering-content li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #c9a857;
    font-size: 14px;
}

/* ==============================
NOTA FINAL DESTACADA
============================== */

.engineering-note {
    border-left: 2px solid #c9a857;
    padding-left: 15px;
    margin-top: 25px;
    opacity: 0.9;
    font-style: italic;
}

/* ==============================
SUBTÍTULO ALCANCES
============================== */

.engineering-content h4 {
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #c9a857;
}

/* ==============================
TÍTULO CON LÍNEA TÉCNICA
============================== */

.engineering-content h2 {
    position: relative;
    margin-bottom: 25px;
}

.engineering-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #c9a857;
    margin-top: 12px;
}

/* ==============================
ALCANCES LISTA TÉCNICA
============================== */

.engineering-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.engineering-content li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.engineering-content li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #c9a857;
    font-size: 14px;
}

/* ==============================
NOTA FINAL DESTACADA
============================== */

.engineering-note {
    border-left: 2px solid #c9a857;
    padding-left: 15px;
    margin-top: 25px;
    opacity: 0.9;
    font-style: italic;
}

/* ==============================
SUBTÍTULO ALCANCES
============================== */

.engineering-content h4 {
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #c9a857;
}

/* =========================================
   MÓDULO: ¿Cómo Iniciar?
   Agregar al final de custom.css
   ========================================= */

.como-iniciar-section {
    background-color: #000000;
    color: #ffffff;
    padding: 48px 32px 40px;
    width: 100%;
    box-sizing: border-box;
}

.como-iniciar-section *,
.como-iniciar-section *::after,
.como-iniciar-section *::before {
    box-sizing: border-box;
}

.como-iniciar-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.como-iniciar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.como-iniciar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.como-iniciar-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.como-iniciar-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.como-iniciar-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.como-iniciar-step-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0;
}

.como-iniciar-step-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaaaaa;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.como-iniciar-cta-wrap {
    text-align: center;
    margin-top: 36px;
}

.como-iniciar-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.como-iniciar-cta::after {
    content: " \2192";
}

.como-iniciar-cta:focus,
.como-iniciar-cta:hover {
    opacity: 0.6;
    color: #ffffff;
    text-decoration: none;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .como-iniciar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .como-iniciar-section {
        padding: 36px 20px 32px;
    }

    .como-iniciar-title {
        font-size: 1.3rem;
    }

    .como-iniciar-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SECCIÓN: Servicio con imagen real <img>
   Agregar al final de custom.css
   ========================================= */

.servicio-seccion {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 650px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

/* La imagen ocupa todo el contenedor como fondo */
.servicio-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
}

/* Overlay semitransparente sobre la imagen */
.servicio-overlay {
    position: relative;
    z-index: 1;
    width: 40%;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.68);
    padding: 48px 56px 48px 40px;
    display: flex;
    align-items: center;
}

.servicio-contenido {
    max-width: 420px;
}

.servicio-titulo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin: 0 0 20px;
}

.servicio-descripcion {
    font-size: 0.95rem;
    color: #dddddd;
    line-height: 1.6;
    margin: 0 0 18px;
}

.servicio-subtitulo {
    font-size: 0.9rem;
    color: #dddddd;
    margin: 0 0 10px;
}

.servicio-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.servicio-lista li {
    font-size: 0.9rem;
    color: #ffffff;
    padding: 4px 0 4px 22px;
    position: relative;
}

.servicio-lista li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #C9A84C;
    font-weight: 700;
}

.servicio-cierre {
    font-size: 0.9rem;
    color: #dddddd;
    line-height: 1.6;
    margin: 0;
}

/* Empuja el overlay hacia la derecha */
.servicio-spacer {
    flex: 1;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .servicio-seccion {
        /* En mobile la sección necesita altura mínima explícita
       para que la imagen tenga espacio aunque el overlay sea 100% ancho */
        min-height: 420px;
        align-items: flex-start;
    }

    .servicio-overlay {
        width: 100%;
        min-width: unset;
        background: rgba(0, 0, 0, 0.72);
        padding: 36px 24px;
    }

    .servicio-spacer {
        display: none;
    }

    .servicio-contenido {
        max-width: 100%;
    }

    .servicio-titulo {
        font-size: 1.3rem;
    }
}

/* FIX PADDING */
.bottom-large {
  padding-bottom: 0rem;
}

/* BOTON OCULTO */

.feature-btn{
display:inline-block;
margin-top:18px;
padding:10px 22px;
border:1px solid #e0c25b;
color:#e0c25b;
text-decoration:none;
font-size:14px;
letter-spacing:1px;

opacity:0;
transform:translateY(10px);
transition:all 0.3s ease;
}

/* aparece al hacer hover en el recuadro */

.stats-asset:hover .feature-btn{
opacity:1;
transform:translateY(0);
}

/* BOTON PROYECTOS */

.project-btn {
    margin-bottom: 20px;
    padding: 10px 22px;
    border: 1px solid #e0b94b;
    background: transparent;
    color: #e0b94b;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .3s ease;
}

.project-btn:hover {
    background: #e0b94b;
    color: #000;
}

/* TEXTO OCULTO */

.project-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease;
}

/* ACTIVO */

.project-item.active .project-text {
    opacity: 1;
    max-height: 500px;
}

/* ACTIVAR EFECTOS EXISTENTES */

.project-item.active img {
    transform: scale(1.12);
    filter: grayscale(0%);
}

.project-item.active .project-image::after {
    opacity: 1;
}


/* CONTENEDOR PROYECTOS */

.omega-projects {
    max-width: 1200px;
    margin: 0 auto;
}

/* BOTON CENTRADO */

.project-btn {
    padding: 14px 32px;
    border: 1px solid #e0b94b;
    background: transparent;
    color: #e0b94b;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all .3s ease;
}

.project-btn:hover {
    background: #e0b94b;
    color: #000;
}

/* CENTRAR BOTON */

.project-info {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* OCULTAR CONTENIDO POR DEFAULT */

.project-content {
    opacity: 0;
    transform: translateY(20px);
    transition: .4s ease;
}

/* OCULTAR BOTON CUANDO ACTIVO */


.project-text {
    display: none;
}

.project-item.active .project-text {
    display: block;
}

/* ESTADO INICIAL */

.project-content {
    opacity: 1;
    transform: none;
}

/* BOTON CENTRADO */

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* OCULTAR TEXTO */

.project-text {
    display: none;
}


/* OCULTAR BOTON CUANDO ACTIVO */

.project-item.active .project-btn {
    display: none;
}

.project-btn {
    padding: 14px 28px;
    border: 1px solid #e0b94b;
    background: transparent;
    color: #e0b94b;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .3s;
}

.project-btn:hover {
    background: #e0b94b;
    color: #000;
}

/* MOSTRAR TEXTO CUANDO ACTIVO */


.project-item {
    margin-bottom: 60px;
}

/* OCULTAR IMAGEN DE FONDO EN MOBILE */

@media (max-width: 768px) {

    .custom-bg-img {
        display: none;
    }

    .custom-bg-overlay {
        display: none;
    }

    .custom-bg-wrapper {
        background: #000;
    }

}

/* MOBILE - quitar imagen parallax */

/* QUITAR IMAGEN EN MOBILE */

@media (max-width: 1024px) {

    .acm-pricing.style-1 {
        background-image: none !important;
        background-color: #000 !important;
    }

    .custom-bg-img {
        display: none !important;
    }

    .custom-bg-overlay {
        display: none !important;
    }

}

@media (max-width: 1024px) {

    .acm-pricing.style-3 {
        background-image: none !important;
        background-color: #000 !important;
    }

    .custom-bg-img {
        display: none !important;
    }

    .custom-bg-overlay {
        display: none !important;
    }

}

@media (max-width: 1024px) {

    .acm-pricing.style-4 {
        background-image: none !important;
        background-color: #000 !important;
    }

    .custom-bg-img {
        display: none !important;
    }

    .custom-bg-overlay {
        display: none !important;
    }

}

/* MEJORAS MOBILE - CARDS */

@media (max-width: 1024px) {

    .pricing-features {
        background: #1b1b1b; /* gris oscuro */
        border: 1px solid rgba(255,255,255,0.15);
        padding: 30px 25px;
        margin-bottom: 20px;
        transition: all .3s ease;
    }

    .pricing-features:hover {
        border-color: rgba(255,255,255,0.35);
        transform: translateY(-3px);
    }

}

/* MOSTRAR BOTONES SIEMPRE EN MOBILE */

@media (max-width: 1024px) {

    .pricing-features .feature-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: relative;
        margin-top: 20px;
        display: inline-block;
    }

}

/* FOOTER ORDEN MOBILE */

@media (max-width: 1024px) {

    .t4-footnav .row {
        display: flex;
        flex-direction: column;
    }

    .footnav-1 { order: 1; }
    .footnav-5 { order: 2; }
    .footnav-4:nth-of-type(1) { order: 4; }
    .footnav-4:nth-of-type(2) { order: 3; }

}

/* FOOTER MAPA ANCHO COMPLETO */

@media (max-width: 1024px) {

    .footnav-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .footnav-5 iframe {
        width: 100%;
    }

}

/* Igualar altura de los recuadros */
.stats-asset {
    display: flex;
}

.pricing-features {
    display: flex;
    width: 100%;
}

.feature-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-desc {
    flex-grow: 1;
}

@media (max-width: 1024px) {

    .footnav-4 img {
        max-width: 200px;
    }

}

.t4-col.footnav-4 {
    text-align: center !important;
}

.t4-col.footnav-4 .custom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footnav-4 img {
    margin-top: 15px;
}

#t4-footer .footer1 {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#t4-footer .footer4 {
    text-align: center;
    margin: 0 auto;
}

#t4-footer .t4-col.footer {
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 992px) {
    .omega-contact-footer {
        padding-left: 6.5rem;
    }
}

@media (min-width: 992px) {
    .t4-footnav .t4-row > div, .t4-footnav .row > div {
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin: 0 auto;
    }
}

.project-content h6 {
  position: relative;
  font-size: 21px;
  margin-bottom: 25px;
  color: white;
  text-align: left;
}

/* =========================
PROYECTOS NUEVO SISTEMA
========================= */

.omega-projects-new{
max-width:1200px;
margin:0 auto;
}

/* GRID */

.project-card{
display:grid;
grid-template-columns:1fr 1fr;
min-height:420px;
margin-bottom:60px;
}

/* INVERTIR */

.project-card.reverse .project-card-image{
order:2;
}

.project-card.reverse .project-card-info{
order:1;
}

/* IMAGEN */

.project-card-image{
position:relative;
overflow:hidden;
}

.project-card-image img{
width:100%;
height:100%;
object-fit:cover;
filter:grayscale(100%);
transform:scale(1);
transition: transform 1s ease, filter .6s ease;
}

/* OVERLAY */

.project-card-image::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
opacity:0;
transition:.4s ease;
}

/* INFO */

.project-card-info{
background:#000;
display:flex;
align-items:center;
justify-content:center;
padding:80px;
}

/* CONTENIDO */

.project-card-content{
max-width:420px;
text-align:left;
position:relative;
}

/* TEXTO ESTILOS */

.project-category{
font-size:12px;
letter-spacing:2px;
color:#c9a227;
margin-bottom:10px;
}

.project-card-content h6{
position:relative;
font-size:21px;
margin-bottom:25px;
color:white;
}

.project-card-content h6::after{
content:"";
position:absolute;
left:0;
bottom:-10px;
width:60px;
height:2px;
background:#e0b94b;
}

.project-card-content p{
color:#b8b8b8;
line-height:1.6;
margin-bottom:15px;
}

.project-card-content strong{
color:#e0b94b;
}

/* BOTON */

.project-card-btn{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);

padding:14px 30px;
border:1px solid #e0b94b;
background:transparent;
color:#e0b94b;
cursor:pointer;
transition:.3s ease;
white-space:nowrap;
}

.project-card-btn:hover{
background:#e0b94b;
color:#000;
}

.project-card-text{
opacity:0;
transform:translateY(20px);
transition:.4s ease;
position:relative;
}

/* TEXTO HOVER */

.project-card-text{
opacity:0;
transform:translateY(20px);
transition:.4s ease;
}




/* DESKTOP */

@media (min-width:1025px){

.project-card:hover .project-card-text{
opacity:1;
transform:translateY(0);
}

.project-card:hover .project-card-btn{
opacity:0;
pointer-events:none;
}

.project-card:hover .project-card-image img{
filter:grayscale(0%);
transform:scale(1.05);
}

.project-card:hover .project-card-image::after{
opacity:1;
}

}

/* TABLET Y MOBILE */

@media (max-width:1024px){

.project-card{
grid-template-columns:1fr;
}

.project-card.reverse .project-card-image,
.project-card.reverse .project-card-info{
order:initial;
}

.project-card-text{
opacity:1;
transform:none;
}

.project-card-btn{
display:none;
}

.project-card-image img{
filter:grayscale(0%);
}

.project-card-image::after{
opacity:1;
}

.project-card-info{
padding:50px 30px;
}

}

.project-extra{
margin-top:30px;
padding-left:20px;
border-left:2px solid #e0b94b;

font-style:italic;
color:#9c9c9c;
line-height:1.7;
font-size:15px;
}


/* =========================
CABECERAS BLOG CONTACT & JOB
========================= */

.omega-header{
position:relative;
height:420px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

/* IMAGEN */

.omega-header-blog{
background-image:url("/images/cabeceras/blog_cabecera.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

.omega-header-job{
background-image:url("/images/cabeceras/cabecera_bolsa.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

.omega-header-contact{
background-image:url("/images/cabeceras/contact_cabecera1.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

/* OVERLAY NEGRO DESVANECIDO */

.omega-header-overlay{
position:absolute;
inset:0;

background:linear-gradient(
to top,
rgba(0,0,0,0.85) 0%,
rgba(0,0,0,0.6) 40%,
rgba(0,0,0,0.2) 70%,
rgba(0,0,0,0) 100%
),
linear-gradient(
to left,
rgba(0,0,0,0.85) 0%,
rgba(0,0,0,0.4) 40%,
rgba(0,0,0,0) 100%
);

z-index:1;
}

/* CONTENIDO */

.omega-header-content{
position:relative;
z-index:2;
max-width:900px;
padding:0 20px;
}

/* TITULO */

.omega-header h1{
color:white;
font-size:48px;
letter-spacing:3px;
margin-bottom:20px;
}

/* LINEA DORADA */

.omega-header-line{
width:120px;
height:2px;
background:#e0b94b;
margin:0 auto 20px auto;
}

/* SUBTITULO */

.omega-header p{
color:#cfcfcf;
font-size:18px;
line-height:1.6;
font-style:italic;
}

/* RESPONSIVE */

@media (max-width:768px){

.omega-header{
height:320px;
}

.omega-header h1{
font-size:34px;
}

.omega-header p{
font-size:16px;
}

}

/* BLOG HEADER FIX */

body.view-category #t4-header,
body.view-article #t4-header {

background: rgba(0,0,0,0.35);
backdrop-filter: blur(6px);
border-bottom: 1px solid rgba(255,255,255,0.2);

position: absolute;
width: 100%;
z-index: 1000;
}

/* FORMULARIO */

#userForm input {
  background: transparent;
  color: #fff;
}

.uk-form input:not([type]):focus, .uk-form input[type="text"]:focus, .uk-form input[type="password"]:focus, .uk-form input[type="email"]:focus, .uk-form input[type="url"]:focus, .uk-form input[type="search"]:focus, .uk-form input[type="tel"]:focus, .uk-form input[type="number"]:focus, .uk-form input[type="datetime"]:focus, .uk-form input[type="datetime-local"]:focus, .uk-form input[type="date"]:focus, .uk-form input[type="month"]:focus, .uk-form input[type="time"]:focus, .uk-form input[type="week"]:focus, .uk-form input[type="color"]:focus, .uk-form select:focus, .uk-form textarea:focus {
  border-color: #0a58ca;
  outline: 0;
  background: #f5fbfe;
  color: #444;
}