/* NAMIRIAL COLOR SYSTEM OVERRIDE */

/* Forzar texto blanco en botones de redes sociales al hacer hover y activos */
.dtr-styled-social .dtr-social-button:hover,
.dtr-styled-social .dtr-social-button:focus,
.dtr-styled-social .dtr-social-button:active {
    color: #fff !important;
}

/* Reducir espacio vertical entre secciones */
.dtr-section.dtr-py-100 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.dtr-mt-30 {
    margin-top: 10px !important;
}

/* Botones de redes sociales: texto blanco al pasar el mouse */
.dtr-styled-social .dtr-social-button:hover,
.dtr-styled-social .dtr-social-button:focus {
    color: #fff !important;
}

/* Mantener imagen de fondo y eliminar fondo rojo en CTA DISTRIBUIDOR */
section.dtr-section.parallax.dtr-py-100 {
    background-image: url('../images/trabajo-contacto.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center !important;
    background-color: transparent !important;
}

section.dtr-section.parallax.dtr-py-100 * {
    background-color: transparent !important;
}

/* Eliminar fondo rojo de elementos internos en el CTA DISTRIBUIDOR */
.dtr-section.parallax .row,
.dtr-section.parallax .row.alig {
    background: transparent !important;
}

/* Forzar fondo del CTA DISTRIBUIDOR al color del header y eliminar rojo */
.dtr-section.parallax[style*="DISTRIBUIDOR"],
.dtr-section.parallax {
    background-color: #00423f !important;
    background-image: none !important;
}

/* Links */
a {
    color: #00423f;
}

a:hover,
a:focus {
    color: #00A69D;
}

/* Utility colour classes */
.color-primary,
.text-color-primary {
    color: #00423f !important;
}

.bg-primary,
.bg-color-primary {
    background-color: #00423f !important;
}

/* Preloader */
.dtr-preloader-img {
    border-top-color: #33B8B1 !important;
    border-right-color: rgba(0, 66, 63, .2) !important;
    border-bottom-color: rgba(0, 66, 63, .2) !important;
    border-left-color: rgba(0, 66, 63, .2) !important;
}

/* Navigation / Header (full override) */
#dtr-header-global {
    background-color: #00423f !important;
    border-bottom: none !important;
}

#dtr-header-global .container {
    max-width: 1360px;
}

#dtr-header-global.on-scroll {
    background-color: #00423f !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15) !important;
}

/* All menu links default to white on dark header */
#dtr-header-global .sf-menu > li > a,
#dtr-header-global .dtr-nav > li > a,
#dtr-header-global .sf-menu a,
.sf-menu.dtr-scrollspy li a,
.sf-menu.dtr-nav li a,
.dark-nav-on-load li a,
.dark-nav-on-scroll li a,
.main-navigation .sf-menu > li > a {
    color: #FFFFFF !important;
}

/* Hover & active menu links */
#dtr-header-global .sf-menu > li > a:hover,
#dtr-header-global .sf-menu > li.current > a,
#dtr-header-global .sf-menu > li.sfHover > a,
#dtr-header-global .sf-menu > li > a.active,
.sf-menu li a:hover,
.sf-menu li.current > a,
.sf-menu li.sfHover > a,
.dtr-nav li a.active,
.dtr-nav li a:hover,
.sf-menu.dtr-scrollspy li a:hover,
.sf-menu.dtr-scrollspy li a.active,
.dark-nav-on-load li a:hover,
.dark-nav-on-scroll li a:hover,
.main-navigation .sf-menu > li > a:hover,
.main-navigation .sf-menu > li.current > a {
    color: #33B8B1 !important;
}

/* Dropdown / sub-menu */
.sf-menu ul {
    background-color: #00423f !important;
    border: none !important;
}

.sf-menu ul li a {
    color: #FFFFFF !important;
}

.sf-menu ul li a:hover {
    color: #33B8B1 !important;
    background-color: rgba(255, 255, 255, .08) !important;
}

/* Responsive / mobile header */
.dtr-responsive-header {
    background-color: #00423f !important;
}

.dtr-responsive-header-menu {
    background-color: #00423f !important;
}

.dtr-responsive-header-menu a {
    color: #FFFFFF !important;
}

.dtr-responsive-header-menu a:hover,
.dtr-responsive-header-menu a.active {
    color: #33B8B1 !important;
}

.dtr-hamburger-lines,
.dtr-hamburger-lines::before,
.dtr-hamburger-lines::after {
    background-color: #FFFFFF !important;
}

/* Kill any red accent bar */
#dtr-header-global::after,
#dtr-header-global .dtr-header-left::after,
.main-navigation::after,
.sf-menu > li > a::after {
    background-color: #33B8B1 !important;
}

/* Heading decorative bar */
.dtr-styled-heading h2::after {
    background-color: #33B8B1 !important;
}

/* Service boxes (Beneficios) */
.dtr-service-box:hover {
    border-color: #33B8B1 !important;
}

.dtr-service-number {
    color: #33B8B1 !important;
}

.dtr-service-box img {
    background: none !important;
    box-shadow: none !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none !important;
}

/* Portfolio overlay (Productos) */
.dtr-portfolio-overlay {
    background: rgba(0, 66, 63, 0.85) !important;
}

/* Theme buttons */
.dtr-btn,
.dtr-btn-primary {
    background-color: #00423f !important;
    color: #FFFFFF !important;
    border-color: #00423f !important;
}

.dtr-btn:hover,
.dtr-btn-primary:hover {
    background-color: #00A69D !important;
    border-color: #00A69D !important;
    color: #FFFFFF !important;
}

/* Button-24 (consultas) */
.button-24 {
    background-color: #33B8B1 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 24px;
    padding: 10px 28px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s;
}

.button-24:hover {
    background-color: #00A69D !important;
    border-color: #00A69D !important;
    color: #FFFFFF !important;
}

/* Social buttons */
.dtr-styled-social .dtr-social-button {
    background-color: #00423f !important;
    color: #FFFFFF !important;
}

.dtr-styled-social .dtr-social-button:hover {
    background-color: #00A69D !important;
}

/* Footer / Copyright */
.dtr-copyright {
    background-color: #00423f !important;
    color: #FFFFFF !important;
}

.dtr-copyright a {
    color: #FFFFFF !important;
}

.dtr-copyright a:hover {
    color: #33B8B1 !important;
}

/* Filter nav (portfolio) */
.dtr-filter-nav a.active,
.dtr-filter-nav a:hover {
    color: #00423f !important;
}

.dtr-filter-nav a.active::after {
    background-color: #33B8B1 !important;
}

/* Contact section */
.bg-light-blue {
    background-color: #f0fafa !important;
}

/* Text selection */
::selection {
    background-color: #33B8B1;
    color: #FFFFFF;
}

/* Scrollspy active */
.dtr-scrollspy .nav-link.active {
    color: #33B8B1 !important;
}

/* Page notification icons */
.dtr-notification-icon {
    color: #005E8C;
}

.dtr-notification-icon.error {
    color: #00A69D;
}

/* External-link button icon */
.btn-external-link {
    color: #35364A;
}

/* Footer icons */
#dtr-footer i,
#dtr-footer .icon {
    color: #FFFFFF;
}

/* Header menu: keep all items in one row */
#dtr-header-global .main-navigation .sf-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

#dtr-header-global .main-navigation .sf-menu > li > a {
    font-size: 14px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

@media (min-width: 992px) {
    #dtr-header-global .container > .d-flex {
        justify-content: flex-start !important;
    }

    #dtr-header-global .dtr-header-right {
        margin-left: 34px;
    }
}

/* WhatsApp floating button */
#whatsapp {
    z-index: 100;
    position: fixed;
    bottom: 45px;
    right: 10px;
}

#whatsapp svg {
    width: 80px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}

#whatsapp circle {
    fill: #25d366;
}

#whatsapp path {
    fill: #fff;
}

/* Misc */
.sombreado {
    border-width: 1px;
    border-radius: 25px;
    background-color: #dddbdb;
    padding: 1em;
    line-height: 80%;
}

/* Cadena de Confianza */
.buscador-con-icono {
    position: relative;
    max-width: 400px;
    margin: 0 auto 20px;
    font-weight: 700;
    text-align: center;
}

.buscador-con-icono input {
    width: 100%;
    padding: 10px 40px 10px 36px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.buscador-con-icono h2 {
    font-size: 1.3rem;
}

.buscador-con-icono p {
    font-style: italic;
}

.icono-lupa {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
    pointer-events: none;
}

#limpiar-busqueda {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 18px;
    color: #999;
    cursor: pointer;
}

.swiper {
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    text-align: center;
}

.swiper-slide img {
    height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.6);
    color: #33B8B1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: #00423f dotted 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: scale(1.1);
}

/* Hero image container */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 100%;
    height: auto;
}

.btn {
    position: absolute;
    bottom: 16%;
    left: 5%;
    background-color: #33B8B1;
    color: #FFFFFF;
    font-weight: bold;
    padding: 1% 3%;
    font-size: 1.5vw;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 166, 157, 0.15);
    transition: background 0.2s, color 0.2s;
}

.btn:hover,
.btn:active {
    background-color: #00A69D;
    color: #FFFFFF;
}

.btn:active {
    opacity: .7;
}

@media (max-width: 768px) {
    .btn {
        font-size: 2vw;
    }
}

/* Product buy buttons */
.btn-compras {
    background-color: #00423f;
    color: #FFFFFF;
    padding: 12px 24px;
    position: absolute;
    top: 41%;
    left: 26%;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 166, 157, 0.15);
    transition: background 0.2s, color 0.2s;
}

.btn-compras:hover {
    background-color: #00A69D;
    color: #FFFFFF;
}

/* CTA / Banner button */
.btn-banner {
    background-color: #33B8B1;
    color: #FFFFFF;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 166, 157, 0.15);
    margin-top: 40px;
    font-family: 'Roboto', sans-serif;
    transition: background 0.2s, color 0.2s;
}

.btn-banner:hover {
    background-color: #00A69D;
    color: #FFFFFF;
}

/* ISO badges */
.uanataca-iso-box {
    text-align: center;
    padding: 10px 0 6px;
}

.uanataca-iso-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    flex-wrap: wrap;
}

.uanataca-iso-item {
    display: inline-flex;
    padding: 6px 10px;
}

.uanataca-iso-item img {
    height: 100px;
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .uanataca-iso-wrap {
        gap: 26px;
    }

    .uanataca-iso-item img {
        height: 55px;
        max-width: 250px;
    }
}

.align-left {
    text-align: left;
}

/* CTA limpio sin rojo */
.dtr-section.parallax {
    background: url('../images/trabajo-contacto.jpg') center right / cover no-repeat !important;
}

/* Eliminar overlays del template */
.dtr-section.parallax::before,
.dtr-section.parallax::after {
    content: none !important;
    display: none !important;
}

/* Quitar fondo rojo interno */
.row.alig {
    background: transparent !important;
}

.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:hover,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:focus,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:active,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:hover,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:focus,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:active,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:hover,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:focus,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:active {
    color: #FFFFFF !important;
    background-color: #00A69D !important;
    border-color: #00A69D !important;
}

.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:hover::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:focus::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-instagram:active::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:hover::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:focus::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-facebook:active::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:hover::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:focus::before,
.dtr-social.dtr-social-list.dtr-styled-social .dtr-social-button.dtr-linkedin:active::before {
    color: #FFFFFF !important;
}

/* CTA distribuidor */
.cta-distribuidor-diagonal {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.cta-distribuidor-diagonal .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../images/byNamirial/Landing/trabajo-contacto.jpg') center center/cover no-repeat;
    z-index: 1;
    will-change: transform;
    transition: transform 0.1s linear;
}

.cta-distribuidor-diagonal .color-bg {
    background: #00A69D;
    color: #fff;
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px 60px 5vw;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2;
    min-width: 270px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.cta-distribuidor-diagonal h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cta-distribuidor-diagonal p {
    font-size: 1.2rem;
    margin-bottom: 28px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.cta-distribuidor-diagonal .btn-banner {
    background: #33B8B1;
    color: #fff;
    border-radius: 24px;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 32px;
    border: none;
    margin-top: 10px;
    box-shadow: 0 4px 18px rgba(0, 66, 63, 0.10);
    transition: background 0.2s, color 0.2s;
}

.cta-distribuidor-diagonal .btn-banner:hover {
    background: #00423f;
    color: #fff;
}

@media (max-width: 900px) {
    .cta-distribuidor-diagonal {
        flex-direction: column;
        min-height: 220px;
    }

    .cta-distribuidor-diagonal .color-bg {
        clip-path: none;
        width: 100%;
        padding: 30px 10px;
        min-width: unset;
    }
}

/* Contact section layout */
.contact-flex-3col {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 64px;
    width: 100%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

.contact-col {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 28px 36px 24px 36px;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: box-shadow 0.2s;
}

.contact-form {
    flex: 1.35 1 0;
    min-width: 0;
    max-width: none;
    box-shadow: 0 6px 32px rgba(51, 184, 177, 0.10);
    z-index: 2;
}

.contact-ubicacion,
.contact-aviso {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.contact-aviso .aviso-legal-datos {
    background: #f8f8f8;
    border: 2px solid #d0d0d0;
    box-shadow: none;
    min-height: 180px;
    overflow-wrap: anywhere;
}

.contact-ubicacion ul.dtr-social {
    justify-content: flex-start;
}

.contact-col > * {
    width: 100%;
}

/* Redes sociales: hover elegante */
.dtr-social-list .dtr-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #00A69D;
    font-size: 22px;
    margin-right: 10px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 166, 157, 0.07);
    transition: background 0.18s, color 0.18s, transform 0.18s;
}

.dtr-social-list .dtr-social-button:hover {
    background: #00A69D;
    color: #fff !important;
    transform: scale(1.13);
    box-shadow: 0 4px 16px rgba(0, 166, 157, 0.13);
}

.dtr-social-list .dtr-social-button span {
    display: none;
}

.contact-col .dtr-pl-30 {
    padding-left: 0 !important;
}

.contact-col .spacer-20 {
    height: 16px;
}

.contact-col .dtr-social-list {
    margin-top: 18px;
}

.contact-form form {
    width: 100%;
}

.contact-form .dtr-form-row,
.contact-form textarea,
.contact-form input {
    width: 100%;
}

.contact-form .dtr-btn {
    width: 100%;
    margin-top: 10px;
}

.contact-form #sugerencias {
    margin-top: 10px;
    font-size: 0.95em;
    color: #888;
}

.contact-aviso {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-aviso .aviso-legal-datos {
    margin: 0;
}

@media (max-width: 1360px) {
    .contact-flex-3col {
        gap: 14px;
        max-width: 1280px;
    }

    .contact-col {
        padding: 24px 20px;
    }
}

@media (max-width: 1100px) {
    .contact-flex-3col {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .contact-col {
        max-width: none;
        min-width: 0;
        align-items: stretch;
        min-height: auto;
        padding: 18px 12px;
    }

    .contact-form .dtr-form-row-2col {
        display: block;
    }

    .contact-form .dtr-form-column {
        width: 100%;
        margin-right: 0;
    }

    .contact-form img {
        max-width: 100%;
        height: auto;
    }

    .contact-form {
        min-width: 0;
        max-width: none;
    }

    .contact-ubicacion,
    .contact-aviso {
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .contact-col {
        padding: 20px 18px;
    }
}
