/* ===================================================================================

* Theme Name: Bioxlab Child
* Theme URI: https://www.themepure.net/wp/bioxlab/
* Author: Theme_Pure
* Author URI: https://themeforest.net/user/theme_pure/portfolio
* Description: Bioxlab – Laboratory & Science Research WordPress Theme
* Version: 1.0.0
* Template: bioxlab
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* ===================================================================================
   PERSONALIZACIONES ENZYTECH
====================================================================================== */

/* DETERGENTES ENZIMATICOS - Intercambiar columnas y color de texto */
@media (min-width: 992px) {
    .enz-det-section .enz-det-bottom-row {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .enz-det-section .enz-det-bottom-row > div:first-child {
        order: 2 !important;
    }
    
    .enz-det-section .enz-det-bottom-row > div:last-child {
        order: 1 !important;
    }
}

/* Color de texto gris igual al parrafo superior */
.enz-det-advantages,
.enz-det-advantages .enz-det-adv-list li {
    color: #666666 !important;
}

/* Título Ventajas en color turquesa */
.enz-det-section .enz-det-advantages .enz-det-adv-title,
h3.enz-det-adv-title {
    color: #67C3B7 !important;
}

/* Eliminar borde azul izquierdo */
.enz-det-advantages {
    border-left: none !important;
}

/* FIX SLIDER MOBILE - Biofilms y Asesorias */
@media (max-width: 575px) {
    /* Biofilms slider */
    .enz-bio-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    /* Asesorias slider */
    .enz-ase-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    /* Ajustar padding del track para centrar */
    .enz-bio-slider-track,
    .enz-ase-slider-track {
        padding: 20px 0 !important;
    }
}

/* Boton Contáctanos en Ingeniería y Equipación - Mismo estilo que Nuestros Servicios */
.enz-ing-btn {
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    padding: 25px 45px !important;
    background-color: #171151 !important;
    text-align: center !important;
    display: inline-block !important;
    border-radius: 5px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
    gap: 0 !important;
}
@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
    .enz-ing-btn {
        padding: 20px 40px !important;
    }
}
.enz-ing-btn::after {
    content: "" !important;
    height: 300px !important;
    width: 300px !important;
    background-color: #67C3B7 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translateY(-50%) translateX(-50%) scale(0) !important;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: -1 !important;
}
.enz-ing-btn:hover {
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}
.enz-ing-btn:hover::after {
    transform: translateY(-50%) translateX(-50%) scale(1) !important;
}
.enz-ing-btn i {
    font-size: 15px !important;
    margin-left: 8px !important;
    transition: transform 0.3s ease !important;
    transform: none !important;
}
.enz-ing-btn:hover i {
    transform: translateX(4px) !important;
}

/* Reducir padding de sección Ingeniería y Equipación */
.enz-ing-section {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

/* Color de fondo del menú lateral (sidebar) - ENZYTECH */
.tp-side-info-area,
.tp-side-info-area.tp-sidebar-opened,
body .tp-side-info-area {
    background: #0D0D3E !important;
    background-color: #0D0D3E !important;
}

/* Logo del header más grande - Desktop (sidebar izquierdo) */
.header-left-logo img,
.header-left-logo a img,
.secondary-logo img {
    width: 280px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Logo del header - otros layouts */
.header-logo-box img {
    width: 280px !important;
    max-width: 100%;
    height: auto;
}

/* Logo móvil más grande */
.tp-mob-logo img,
.tp-mob-logo a img,
.standard-logo img {
    width: 200px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Ajuste responsive para tablets */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header-left-logo img,
    .header-logo-box img,
    .secondary-logo img {
        width: 250px !important;
    }
}

/* Ajuste responsive para móviles */
@media (max-width: 991px) {
    .tp-mob-logo img,
    .standard-logo img {
        width: 180px !important;
    }
}

/* ===================================================================================
   SECCIÓN DE CONTACTO EN HEADER - ENZYTECH
====================================================================================== */

/* Contenedor principal de contacto - sin cuadro */
.enzytech-contact-box {
    background: transparent;
    border-radius: 0;
    padding: 0 0 0 20px;
    margin-top: 30px;
    border: none;
}

/* Título "Contáctanos" */
.enzytech-contact-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tp-theme-secondary, #10D0A1);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

/* Cada item de contacto (teléfono, email) */
.enzytech-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.enzytech-contact-item:last-child {
    margin-bottom: 0;
}

/* Iconos */
.enzytech-contact-item i {
    width: 32px;
    height: 32px;
    background: var(--tp-theme-secondary, #10D0A1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--tp-theme-primary, #171151);
    margin-right: 12px;
    flex-shrink: 0;
}

/* Links de contacto */
.enzytech-contact-item a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-word;
}

.enzytech-contact-item a:hover {
    color: var(--tp-theme-secondary, #10D0A1);
}

/* ===================================================================================
   BLOG POST CARDS - HOVER FIX (Layout 3)
====================================================================================== */

/* Fix hover desordenado en blog cards */
.blogthumb {
    overflow: hidden !important;
    border-radius: 8px;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Mostrar imagen de fondo en estado normal con overlay oscuro semitransparente */
.blogthumb::before {
    background-color: rgba(23, 17, 81, 0.55) !important;
    z-index: 0 !important;
}

.blogthumb .blogitem {
    position: relative;
    overflow: hidden !important;
    z-index: 1;
}

/* Texto blanco por defecto ya que la imagen de fondo es oscura */
.blogthumb .blogitem__avata-content span,
.blogthumb .blogitem__avata-content a,
.blogthumb .blog-item__date-info ul li,
.blogthumb .blog-item__date-info ul li i,
.blogthumb .blogitem__title a {
    color: #ffffff !important;
}

.blogthumb .inner-blog-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Categoría sola arriba a la izquierda */
.blogthumb .blogitem__avata-part {
    align-self: flex-start;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.blogthumb .blogitem__medi a {
    white-space: nowrap;
}

/* Publicado por: debajo del título, inferior izquierdo */
.blogthumb .blogitem__author-bottom {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.blogthumb .blogitem__author-bottom span {
    color: rgba(255, 255, 255, 0.7) !important;
    margin-right: 4px;
}

.blogthumb .blogitem__author-bottom a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
}

.blogthumb .blogitem__title-area {
    padding-top: 0;
    align-self: flex-end;
}

.blogitem__title-area {
    transform: translateY(0) !important;
}

.blogthumb .blog-item__date-info ul {
    flex-wrap: nowrap;
    gap: 15px;
}

.blogthumb .blog-item__date-info ul li {
    white-space: nowrap;
    font-size: 14px;
}

.blogthumb .blogitem__title {
    font-size: 18px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Color hover de las blog cards - #171151 */
.blogthumb:hover {
    background-color: #171151 !important;
}

.blogthumb:hover .blogitem__avata-content a,
.blogthumb:hover .blogitem__avata-content span,
.blogthumb:hover .blog-item__date-info ul li,
.blogthumb:hover .blogitem__title a,
.blogthumb:hover .blog-item__date-info ul li i {
    color: #ffffff !important;
}

.blogthumb:hover .blogitem__medi a {
    background-color: #67C3B7 !important;
    color: #ffffff !important;
}

/* ===================================================================================
   ALL BLOG BUTTON - Usa clase .tp-btn del tema (mismo estilo que Nuestros Servicios)
====================================================================================== */

.tp-blog-btn {
    text-align: right;
}

.tp-blog-btn .tp-allblog-btn {
    text-decoration: none;
    background-color: var(--tp-theme-blue) !important;
}

.tp-blog-btn .tp-allblog-btn::after {
    background-color: #171151 !important;
}

.tp-blog-btn .tp-allblog-btn:hover {
    color: #fff !important;
}

/* ===================================================================================
   HEADER PÁGINAS INTERNAS - ENZYTECH
====================================================================================== */

/* Logo páginas internas */
.enzytech-internal-logo img {
    max-width: 200px;
    height: auto;
}

/* Header general */
.enzytech-header-internal .header__area {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(23, 17, 81, 0.08);
    padding: 8px 15px;
}

/* Menú principal - estilos mejorados */
.enzytech-header-internal .enzytech-main-menu .main-menu nav > ul > li {
    position: relative;
}

.enzytech-header-internal .enzytech-main-menu .main-menu nav > ul > li > a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0D0D3E;
    padding: 30px 18px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.enzytech-header-internal .enzytech-main-menu .main-menu nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: #67C3B7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.enzytech-header-internal .enzytech-main-menu .main-menu nav > ul > li > a:hover {
    color: #67C3B7;
}

.enzytech-header-internal .enzytech-main-menu .main-menu nav > ul > li > a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Submenú */
.enzytech-header-internal .main-menu nav ul li .sub-menu {
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(23, 17, 81, 0.14);
    border-top: 3px solid #67C3B7;
    border-radius: 0 0 10px 10px;
    min-width: 380px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enzytech-header-internal .main-menu nav ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li {
    border-bottom: 1px solid rgba(23, 17, 81, 0.04);
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li:last-child {
    border-bottom: none;
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li a {
    color: #0D0D3E;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 22px;
    display: block;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0.3px;
    line-height: 1.4;
    position: relative;
    transition: all 0.3s ease;
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background-color: #67C3B7;
    border-radius: 0 3px 3px 0;
    transition: transform 0.3s ease;
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li a:hover {
    color: #67C3B7;
    padding-left: 28px;
    background-color: rgba(103, 195, 183, 0.06);
}

.enzytech-header-internal .main-menu nav ul li .sub-menu li a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

/* Sección Contáctanos en header */
.enzytech-header-contact {
    height: 100%;
}

.enzytech-header-contact-info {
    text-align: right;
    padding: 20px 0;
}

.enzytech-hc-title {
    display: none;
}

.enzytech-hc-items {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.enzytech-hc-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.enzytech-hc-item i {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0D0D3E, #4a47a3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.enzytech-hc-item span {
    font-size: 13px;
    font-weight: 600;
    color: #0D0D3E;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enzytech-hc-item:hover i {
    background: linear-gradient(135deg, #67C3B7, #4db3a5);
}

.enzytech-hc-item:hover span {
    color: #67C3B7;
}

/* Header móvil páginas internas */
.enzytech-mobile-header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(13, 13, 62, 0.08);
}

.enzytech-mobile-header .tp-mob-logo img {
    max-width: 160px !important;
    height: auto !important;
}

.enzytech-mob-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0D0D3E;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.enzytech-mob-phone i {
    color: #67C3B7;
    font-size: 14px;
}

.enzytech-mob-phone:hover {
    color: #67C3B7;
}

/* Menú toggle en páginas internas */
.enzytech-mobile-header .tp-menu-toggle {
    color: #0D0D3E;
    border: 2px solid #0D0D3E;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.enzytech-mobile-header .tp-menu-toggle:hover {
    background-color: #0D0D3E;
    color: #ffffff;
}

/* Header sticky para páginas internas */
.enzytech-header-internal .header__area.header-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: fadeInDown 0.4s ease;
    box-shadow: 0 4px 25px rgba(13, 13, 62, 0.12);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================================
   HERO BANNER HOME - DEGRADADO OVERLAY
====================================================================================== */

/* Degradado azul oscuro de izquierda a derecha sobre el hero del home */
body.home .hero-bg::before {
    background: linear-gradient(90deg, 
        #0D0D3E 0%, 
        rgba(13, 13, 62, 1) 10%, 
        rgba(13, 13, 62, 0.85) 30%, 
        rgba(13, 13, 62, 0.5) 50%, 
        rgba(13, 13, 62, 0.15) 70%, 
        rgba(13, 13, 62, 0) 85%
    ) !important;
}

/* ===================================================================================
   HERO BANNER / BREADCRUMB - PÁGINAS INTERNAS (excluye homepage)
====================================================================================== */

/* Estilos base del breadcrumb para páginas internas */
body:not(.home) .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-enzytech.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 55px 0 !important;
}
@media (max-width: 991px) {
    body:not(.home) .breadcrumb__area {
        padding: 45px 0 !important;
    }
}
@media (max-width: 767px) {
    body:not(.home) .breadcrumb__area {
        padding: 35px 0 !important;
    }
}

/* Centrar título del hero en todas las páginas internas */
body:not(.home) .tp-breadcrumb {
    text-align: center !important;
}
body:not(.home) .tp-breadcrumb__title {
    text-align: center !important;
    font-size: 32px !important;
}
@media (max-width: 991px) {
    body:not(.home) .tp-breadcrumb__title {
        font-size: 26px !important;
    }
}
@media (max-width: 767px) {
    body:not(.home) .tp-breadcrumb__title {
        font-size: 22px !important;
    }
}
body:not(.home) .tp-breadcrumb__link {
    justify-content: center !important;
}

/* Imagen específica por página */
body.page-template-default[class*="quienes-somos"] .breadcrumb__area,
body[class*="quienes-somos"] .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-quienes-somos.png') !important;
}

body[class*="soluciones"] .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-soluciones.png') !important;
}

body[class*="productos"] .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-productos.png') !important;
}

body[class*="faq"] .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-faq.png') !important;
}

body[class*="contacto"] .breadcrumb__area,
body[class*="contact"] .breadcrumb__area {
    background-image: url('/wp-content/uploads/2025/10/hero-bg-contacto.png') !important;
}

/* Ocultar breadcrumb link (ruta de navegación) en todas las páginas */
body:not(.home) .tp-breadcrumb__link {
    display: none !important;
}

/* Overlay oscuro sobre la imagen */
body:not(.home) .breadcrumb__overlay::after {
    background-color: rgba(13, 13, 62, 0.6) !important;
}

/* ===================================================================================
   FOOTER ENZYTECH
====================================================================================== */

/* Fondo del footer */
.enzytech-footer {
    background-color: #0D0D3E !important;
}

/* Logo del footer */
.enz-footer-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Descripción */
.enz-footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
}

/* Redes sociales */
.enz-footer-social {
    display: flex;
    gap: 10px;
}
.enz-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.enz-footer-social a:hover {
    background: #67C3B7;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(103, 195, 183, 0.4);
}

/* Títulos de columnas */
.enz-footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 14px;
    position: relative;
}
.enz-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #67C3B7;
    border-radius: 2px;
}

/* Enlaces */
.enz-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.enz-footer-links li {
    margin-bottom: 8px;
}
.enz-footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}
.enz-footer-links li a::before {
    content: '›';
    position: absolute;
    left: -14px;
    opacity: 0;
    color: #67C3B7;
    font-weight: 700;
    transition: all 0.3s ease;
}
.enz-footer-links li a:hover {
    color: #67C3B7;
    padding-left: 14px;
}
.enz-footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Dropdown en footer para Soluciones y Productos */
.enz-footer-has-dropdown {
    position: relative;
}
.enz-footer-has-dropdown > a .fa-chevron-right {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.enz-footer-has-dropdown:hover > a .fa-chevron-right {
    transform: rotate(90deg);
}
.enz-footer-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #67C3B7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}
.enz-footer-has-dropdown:hover .enz-footer-dropdown {
    padding: 6px 0 4px 12px;
    margin: 2px 0 6px 0;
    max-height: 300px;
    opacity: 1;
}
.enz-footer-dropdown li {
    margin-bottom: 6px;
}
.enz-footer-dropdown li a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-left: 0 !important;
}
.enz-footer-dropdown li a:hover {
    color: #67C3B7 !important;
}
.enz-footer-dropdown li a::before {
    display: none !important;
}

/* Contacto */
.enz-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.enz-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.5;
}
.enz-footer-contact li i {
    color: #67C3B7;
    font-size: 14px;
    margin-top: 3px;
    min-width: 16px;
}
.enz-footer-contact li a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.enz-footer-contact li a:hover {
    color: #67C3B7 !important;
}

/* Newsletter */
.enz-footer-newsletter form {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease;
}
.enz-footer-newsletter form:focus-within {
    border-color: #67C3B7;
}
.enz-footer-newsletter input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}
.enz-footer-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.enz-footer-newsletter button {
    background: #67C3B7;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.enz-footer-newsletter button {
    background: #67C3B7;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.enz-footer-newsletter .wpcf7-form {
    display: flex !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    transition: border-color 0.3s ease;
    margin: 0;
    padding: 0;
}
.enz-footer-newsletter .wpcf7-form:focus-within {
    border-color: #67C3B7 !important;
}
.enz-footer-newsletter .wpcf7-form p {
    margin: 0 !important;
    display: flex !important;
    width: 100% !important;
}
.enz-footer-newsletter .wpcf7-email {
    flex: 1 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: none !important;
    padding: 12px 16px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    outline: none !important;
    width: 100% !important;
}
.enz-footer-newsletter .wpcf7-email::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.enz-footer-newsletter button.newsletter-btn,
.enz-footer-newsletter .newsletter-btn {
    background: #67C3B7 !important;
    border: none !important;
    padding: 12px 18px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
}
.enz-footer-newsletter button.newsletter-btn:hover,
.enz-footer-newsletter .newsletter-btn:hover {
    background: #4db3a5 !important;
}
.enz-footer-newsletter .wpcf7-spinner {
    display: none !important;
}
.enz-footer-newsletter .wpcf7-response-output {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
}

/* Newsletter Form - Nativo (reemplaza CF7) */
.enz-newsletter-form {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease;
}
.enz-newsletter-form:focus-within {
    border-color: #67C3B7;
}
.enz-newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}
.enz-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.enz-newsletter-btn {
    background: #67C3B7;
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.enz-newsletter-btn:hover {
    background: #4db3a5;
}
.enz-newsletter-btn i {
    font-size: 14px;
}

.enz-newsletter-success {
    color: #67C3B7;
    font-size: 13px;
    margin-top: 10px;
}
.enz-newsletter-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 10px;
}

/* Barra inferior - Copyright */
.enz-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.enz-footer-copyright span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}
.enz-footer-copyright-right {
    text-align: right;
}
.enz-footer-copyright-right a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.enz-footer-copyright-right a:hover {
    color: #67C3B7;
}
.enz-sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

/* Desktop grande (>1700px): sidebar 350px */
@media only screen and (min-width: 1701px) {
    body.home .enzytech-footer {
        margin-left: 350px;
        width: calc(100% - 350px);
    }
}

/* Desktop medio (1500-1700px): sidebar 300px */
@media only screen and (min-width: 1500px) and (max-width: 1700px) {
    body.home .enzytech-footer {
        margin-left: 300px;
        width: calc(100% - 300px);
    }
}

/* Desktop pequeño (1200-1499px): sidebar 250px */
@media only screen and (min-width: 1200px) and (max-width: 1499px) {
    body.home .enzytech-footer {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
}

/* Todas las páginas: footer sin margen en pantallas <1200px o páginas internas */
body:not(.home) .enzytech-footer,
.enzytech-footer {
    margin-left: 0;
    width: 100%;
}

/* Tablet (<992px): centrar copyright */
@media (max-width: 991px) {
    .enz-footer-copyright,
    .enz-footer-copyright-right {
        text-align: center !important;
    }
    .enz-footer-copyright-right {
        margin-top: 10px;
    }
}

/* Móvil pequeño */
@media (max-width: 575px) {
    .enz-footer-logo img {
        max-width: 160px;
    }
}

/* ===================================================================================
   PILARES - ICONOS WEBP (detergentes enzimáticos, aditivos sanitizantes)
   Reemplaza el fondo degradado circular por los iconos de línea del home
====================================================================================== */

.enz-det-pillar-icon,
.enz-adi-pillar-icon,
.enz-des-pillar-icon {
    background: transparent !important;
    box-shadow: none !important;
    width: 80px !important;
    height: 80px !important;
}

.enz-det-pillar-icon img,
.enz-adi-pillar-icon img,
.enz-des-pillar-icon img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
}

/* Mantener el borde punteado giratorio */
.enz-det-pillar-icon::before,
.enz-adi-pillar-icon::before,
.enz-des-pillar-icon::before {
    width: 76px !important;
    height: 76px !important;
}

/* En hover, escalar el contenedor pero no el fondo */
.enz-det-pillar:hover .enz-det-pillar-icon,
.enz-adi-pillar:hover .enz-adi-pillar-icon,
.enz-des-pillar:hover .enz-des-pillar-icon {
    box-shadow: none !important;
}