/*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: calc(100% + 65px);
    border: 0;
    margin-top: -65px;
}

.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: 420px;
}

/* 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:400px;
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_bolsa1.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

.omega-header-contact{
background-image:url("/images/cabeceras/cabecera_bolsa1.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:not(.home) #t4-header {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

/*** FORMULARIO ACTUALIZADO ***/

/* 1. Contenedor Principal: Añadimos el Overlay Negro */
.custom-contact-section {
    background-color: #000; /* Fondo base negro */
    /* El gradiente va de negro (0.7 de opacidad) a negro (0.4 de opacidad) sobre la imagen */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('/images/contacto/mapa2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 80px 10%;
    display: flex !important;
    justify-content: flex-end; 
    align-items: center; 
    min-height: 950px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* 2. Ocultar el título interno de RSForm */
.custom-contact-section h2 {
    display: none !important;
}

/* 3. Contenedor del Formulario: Un poco más de padding interno */
.custom-contact-section .formContainer {
    background: #ffffff !important;
    padding: 50px !important; 
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 450px; 
    color: #333 !important;
    z-index: 10;
}

/* 4. Fix para la bandera del teléfono */
.custom-contact-section .rsform-block-telefono input[type="tel"] {
    padding-left: 55px !important;
}

/* Estilo botones */
.custom-contact-section button, 
.custom-contact-section .rsform-submit-button,
.custom-contact-section .rsform-next-button,
.custom-contact-section .rsform-prev-button {
    border: none !important;
    padding: 14px 28px !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.9rem;
}

.custom-contact-section .rsform-submit-button { background: #1a1a1a !important; color: #fff !important; float: right; }
.custom-contact-section .rsform-next-button { background: #28a745 !important; color: #fff !important; float: right; }
.custom-contact-section .rsform-prev-button { background: #fd7e14 !important; color: #fff !important; float: left; }

.custom-contact-section .formRow::after {
    content: "";
    display: table;
    clear: both;
}

/* Ajustes de inputs */
.custom-contact-section input[type="text"],
.custom-contact-section input[type="email"],
.custom-contact-section input[type="tel"],
.custom-contact-section select {
    border: none !important;
    border-bottom: 2px solid #eee !important;
    margin-bottom: 15px;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 1rem;
}

.custom-contact-section input:focus {
    border-bottom: 2px solid #1a1a1a !important;
    outline: none;
}

.iti--allow-dropdown .iti__country-container {
  right: auto;
  left: -20px;
}

/* Checkboxes */
.custom-contact-section .rsform-checkbox {
    margin-right: 15px !important; 
    cursor: pointer;
    vertical-align: middle;
    transform: scale(1.1); /* Ligeramente más grande */
}

.custom-contact-section .rsformVerticalClear {
    margin-bottom: 12px !important; 
    display: flex;
    align-items: center;
}

.custom-contact-section .rsformVerticalClear label {
    cursor: pointer;
    font-size: 1.1rem; /* Texto de checkbox más legible */
    color: #444;
    display: flex;
    align-items: center;
}

.rsfp-fieldset {
  padding: 0 !important;
  margin: 15px 0 !important;
  border: 0 !important;
}

/* Select */
.custom-contact-section select,
.custom-contact-section select option {
    font-family: inherit !important;
    font-size: 1rem !important;
    color: #333;
}

.custom-contact-section select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
    cursor: pointer;
    padding-right: 20px !important;
}

/* INFORMACIÓN IZQUIERDA: Textos e iconos aumentados */
.contact-info-overlay {
    position: absolute;
    left: 10%; /* Alineado con el padding del contenedor */
    top: 50%;
    transform: translateY(-50%);
    max-width: 40%;
    color: #ffffff;
    z-index: 5;
}

.info-item {
    display: flex;
    align-items: center; /* Alineación centrada entre icono y texto */
    margin-bottom: 50px; /* Más espacio entre bloques */
}

.info-icon {
    font-size: 2.5rem; /* Iconos mucho más grandes */
    margin-right: 30px;
    min-width: 50px;
    text-align: center;
}

.info-text h3 {
    font-size: 1.4rem; /* Títulos más grandes */
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
    color: #ffffff !important;
}

.info-text p {
    font-size: 1.15rem; /* Datos más grandes */
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
    font-family: inherit;
}

/* Responsivo */
@media (max-width: 900px) {
    .custom-contact-section {
        padding: 50px 20px;
        flex-direction: column;
        justify-content: center;
        height: auto;
    }
    .contact-info-overlay {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        max-width: 100%;
        margin-bottom: 50px;
    }
}

/* Responsivo: Ajustes para tablets y móviles */
@media (max-width: 1120px) {
    /* Ocultamos los textos de la izquierda para evitar el "espacio blanco" */
    .contact-info-overlay {
        display: none !important;
    }

    .custom-contact-section {
        flex-direction: column;
        justify-content: center;
        padding: 40px 20px; /* Reducimos padding para aprovechar el ancho */
        height: auto;
        min-height: auto; /* Permitimos que la altura se ajuste al formulario */
    }

    .custom-contact-section .formContainer {
        width: 100%;
        max-width: 100%;
        margin: 0; /* Eliminamos márgenes que puedan desplazarlo */
        padding: 30px 20px !important; /* Un poco más compacto en móvil */
    }
}

/* Forzar bordes redondeados y márgenes en móvil para todos los formularios */
@media (max-width: 1120px) {
    /* Aseguramos que el contenedor blanco tenga bordes redondeados y no pegue a los lados */
    .custom-contact-section .formContainer {
        width: 90% !important; /* Evita que se vea demasiado ancho */
        max-width: 90% !important;
        margin: 20px auto !important; /* Lo centra y le da aire arriba/abajo */
        border-radius: 20px !important; /* Bordes redondeados como en Contacto */
        padding: 30px 20px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }

    /* Ajuste para el contenedor del mapa en móvil */
    .custom-contact-section {
        padding: 20px 0 !important; /* Quitamos padding lateral para que el 90% del form mande */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Fix específico para el botón de "Seleccionar archivo" (Bolsa de trabajo) */
.custom-contact-section input[type="file"] {
    font-family: inherit;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Estilo para el botón enviar cuando es página única */
.custom-contact-section .rsform-submit-button {
    width: auto !important;
    padding: 15px 40px !important;
}

/* Estilo para la tarjeta de agradecimiento */
.thank-you-card {
    background: #ffffff !important;
    padding: 50px !important;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 500px; /* Un poco más ancha para el texto */
    color: #333 !important;
    margin-left: auto; /* Para que se mantenga a la derecha como el form */
    text-align: center;
    z-index: 10;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

/* Ajustes de texto dentro de la tarjeta */
.thank-you-card h3 {
    color: #1a1a1a !important;
    font-weight: bold;
    margin-bottom: 20px;
}

.thank-you-card p {
    color: #555 !important;
    line-height: 1.6;
    font-size: 1.1rem;
}

.success-mark {
    font-weight: bold;
    color: #28a745 !important; /* Verde éxito */
    margin-top: 20px;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para móvil */
@media (max-width: 1120px) {
    .thank-you-card {
        margin: 20px auto !important;
        max-width: 90%;
        padding: 40px 20px !important;
    }
}

/*** WHATSAPP BUTTON ***/

/* Estilos para el botón flotante en toda la web */
.whatsapp-float-global {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 150px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    z-index: 99999; /* Valor muy alto para que siempre esté por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Efecto de hover */
.whatsapp-float-global:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}

/* Animación sutil de pulso al cargar */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-global {
    animation: pulse-whatsapp 2s infinite;
}

/* Ajuste para móviles: también lo subimos un poco aquí */
@media (max-width: 768px) {
    .whatsapp-float-global {
        width: 55px;
        height: 55px;
        bottom: 80px; /* En móvil lo dejamos a 80px para que no estorbe */
        right: 20px;
        font-size: 28px;
    }
}

/* =========================================================
   OMEGA SPORTS SECTION
========================================================= */

.omega-sports {
    padding: 80px 20px;
    background: #000;
    position: relative;
}

.omega-sports-header {
    text-align: center;
    margin-bottom: 60px;
}

.omega-sports-header h2 {
    color: #fff;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0;
}

.omega-sports-grid {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* =========================================================
   CARD
========================================================= */

.omega-sport-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    overflow: hidden;
    transition: 
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease;
    opacity: 0;
    transform: translateY(60px);
    animation: omegaFadeUp 1s ease forwards;
}

/* Delay escalonado */
.omega-sport-card:nth-child(1) { animation-delay: 0.1s; }
.omega-sport-card:nth-child(2) { animation-delay: 0.2s; }
.omega-sport-card:nth-child(3) { animation-delay: 0.3s; }
.omega-sport-card:nth-child(4) { animation-delay: 0.4s; }
.omega-sport-card:nth-child(5) { animation-delay: 0.5s; }
.omega-sport-card:nth-child(6) { animation-delay: 0.6s; }

.omega-sport-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

/* =========================================================
   IMAGE
========================================================= */

.omega-sport-image {
    overflow: hidden;
    position: relative;
}

.omega-sport-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.omega-sport-card:hover img {
    transform: scale(1.06);
}

/* Overlay elegante */
.omega-sport-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.05)
        );
    pointer-events: none;
}

/* =========================================================
   CONTENT
========================================================= */

.omega-sport-content {
    padding: 28px;
}

.omega-sport-content h3 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.1;
}

.omega-sport-content p {
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes omegaFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .omega-sports-grid {
        grid-template-columns: 1fr;
    }

    .omega-sports-header h2 {
        font-size: 40px;
    }

    .omega-sport-content h3 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {

    .omega-sports {
        padding: 60px 15px;
    }

    .omega-sports-header {
        margin-bottom: 40px;
    }

    .omega-sports-header h2 {
        font-size: 32px;
    }

    .omega-sport-image img {
        height: 250px;
    }

    .omega-sport-content {
        padding: 22px;
    }

    .omega-sport-content h3 {
        font-size: 28px;
    }

    .omega-sport-content p {
        font-size: 16px;
    }
}

/* =========================================================
   OMEGA CATALOGO CTA
========================================================= */

.omega-catalog-cta {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 28px;
    margin: 80px auto;
    max-width: 1500px;

    background-image: url('/images/canchas/catalogo-cancha.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    border: 1.5px solid rgb(212, 175, 55)
}

/* =========================================================
   OVERLAY
========================================================= */

.omega-catalog-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.92) 0%,
            rgba(0,0,0,0.82) 35%,
            rgba(0,0,0,0.45) 65%,
            rgba(0,0,0,0.15) 100%
        );

    z-index: 1;
}

/* =========================================================
   CONTENT
========================================================= */

.omega-catalog-content {
    position: relative;
    z-index: 2;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    padding: 80px;
}

/* =========================================================
   TEXTO
========================================================= */

.omega-catalog-text {
    max-width: 650px;

    opacity: 0;
    transform: translateY(40px);

    animation: omegaCatalogFade 1s ease forwards;
}

.omega-catalog-label {
    display: inline-block;

    color: #d4af37;

    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 28px;
}

.omega-catalog-text h2 {
    color: #fff;

    font-size: 74px;
    line-height: 1.05;
    font-weight: 700;

    margin-bottom: 30px;
}

.omega-catalog-text h2 br {
    display: block;
}

.omega-catalog-line {
    width: 90px;
    height: 3px;

    background: #d4af37;

    margin-bottom: 30px;
}

.omega-catalog-text p {
    color: rgba(255,255,255,0.82);

    font-size: 24px;
    line-height: 1.7;

    margin: 0;
}

/* =========================================================
   BOTÓN
========================================================= */

.omega-catalog-action {
    text-align: center;

    opacity: 0;
    transform: translateY(40px);

    animation: omegaCatalogFade 1s ease forwards;
    animation-delay: 0.3s;
}

.omega-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 24px 42px;

    border-radius: 18px;

    background: rgba(0,0,0,0.45);

    border: 2px solid rgba(212,175,55,0.8);

    backdrop-filter: blur(10px);

    text-decoration: none;

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.omega-catalog-btn:hover {
    transform: translateY(-6px);

    background: rgba(0,0,0,0.7);

    box-shadow:
        0 0 20px rgba(212,175,55,0.35),
        0 0 45px rgba(212,175,55,0.12);
}

.omega-btn-icon {
    color: #d4af37;

    font-size: 34px;
    line-height: 1;
}

.omega-btn-text {
    color: #fff;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: 2px;
}

.omega-catalog-meta {
    margin-top: 18px;

    color: rgba(255,255,255,0.65);

    font-size: 16px;

    letter-spacing: 1px;
}

/* =========================================================
   ANIMACIÓN
========================================================= */

@keyframes omegaCatalogFade {

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .omega-catalog-text h2 {
        font-size: 60px;
    }

    .omega-catalog-text p {
        font-size: 20px;
    }
}

@media (max-width: 991px) {

    .omega-catalog-content {
        flex-direction: column;
        align-items: flex-start;

        padding: 60px 40px;
    }

    .omega-catalog-action {
        width: 100%;
        text-align: left;
    }

    .omega-catalog-text h2 {
        font-size: 52px;
    }
}

@media (max-width: 767px) {

    .omega-catalog-cta {
        min-height: auto;
        border-radius: 22px;
    }

    .omega-catalog-content {
        padding: 50px 25px;
        gap: 40px;
    }

    .omega-catalog-text h2 {
        font-size: 38px;
    }

    .omega-catalog-text p {
        font-size: 18px;
    }

    .omega-catalog-btn {
        width: 100%;
        justify-content: center;

        padding: 20px 24px;
    }

    .omega-btn-text {
        font-size: 16px;
        text-align: center;
    }

    .omega-btn-icon {
        font-size: 28px;
    }
}

/* FIX CENTRADO HERO CANCHAS */
.page-cancha .hero-content,
.page-cancha .hero-content-inner {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
}