/*
Theme Name: Qirubber Hello Child
Theme URI: https://qirubber.com/
Description: Child theme of Hello Elementor
Author: jcmr
Template: hello-elementor
Version: 1.0.0
*/

/* A partir de aquí comienza el CSS personalizado */

/* ==========================================================================
   1. ESTILOS GLOBALES Y UTILIDADES
   ========================================================================== */
html {
    overflow-x: hidden;
}

body {
    background: #000;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.inc {
    font-size: 16px;
}

.link a,
.linkwhite a {
    color: #fff;
}

.link a {
    text-decoration: underline;
}

.degtex h2 {
    background: linear-gradient(to right, #50ff50, #66cccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.elementor-section.elementor-section-height-full {
    min-height: 100dvh !important;
}

.post-password-form {
    padding: 20px;
}

.gall22 {
    max-height: 750px;
    overflow: hidden;
}

#fancybox_rjg-title {
    display: none !important;
}

svg#Capa_1 .st2 {
    stroke-width: 1px !important;
    filter: none !important;
}

/* ==========================================================================
   2. SELECTOR DE IDIOMA (LANG TOGGLE)
   ========================================================================== */
.lang-toggle {
    position: relative;
    display: flex;
    align-items: center;
    width: 90px;
    height: 34px;
    padding: 4px;
    background: #eee;
    border-radius: 30px;
    font-size: 13px;
}

.lang-toggle .lang-item {
    flex: 1;
    z-index: 2;
    color: #555;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize !important;
}

.lang-toggle .lang-item.active {
    color: #000;
}

.lang-toggle .lang-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: 26px;
    background: linear-gradient(90deg, #8e3ec1 0%, #d091f2 100%);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.lang-toggle .lang-item:nth-child(1).active ~ .lang-slider {
    transform: translateX(0);
}

.lang-toggle .lang-item:nth-child(2).active ~ .lang-slider {
    transform: translateX(100%);
}

/* ==========================================================================
   3. MARQUEE INFINITO (#animado23)
   ========================================================================== */
#animado23 {
    overflow: hidden;
    width: 100%;
}

#animado23 .marquee-track {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: max-content;
    animation: marquee-infinite 260s linear infinite;
}

#animado23 .elementor-widget-wrap {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 40px;
}

#animado23 .elementor-icon-list-items {
    display: flex;
    flex-wrap: nowrap;
}

#animado23 .elementor-icon-list-item,
#animado23 .elementor-icon-list-text {
    white-space: nowrap;
}

@keyframes marquee-infinite {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(var(--marquee-distance));
    }
}

/* ==========================================================================
   4. HERO, SLIDERS (SMART SLIDER & SWIPER) Y ANIMACIONES
   ========================================================================== */
div#n2-ss-2 .n2-ss-layer {
    padding: 0 !important;
}

.n2-ss-layer-col {
    gap: 20px;
}

.n2-bullet {
    background: transparent !important;
    border: 2px solid #fff !important;
}

.n2-bullet.n2-active {
    background: #fff !important;
}

/* Animación de entrada del Hero */
.n2-ss-item-content {
    opacity: 0;
    animation: heroEntrada 1s ease-out forwards;
}

@keyframes heroEntrada {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animación de levitación */
.imge1 img,
#n2-ss-2item5 {
    display: block;
    animation: levitar 3.5s ease-in-out infinite;
    will-change: transform;
}

@keyframes levitar {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Swiper */
.swiper-slide-image:hover {
    transform: scale(1.08) !important;
    transition: transform 0.5s ease;
}

.swiper-slide-duplicate {
    transform: scale(1);
    transition: transform 0.5s ease;
}

/* ==========================================================================
   5. TABLAS DE PRECIOS (PRICING)
   ========================================================================== */
.pricing-table__heading {
    position: relative;
}

.pricing-table__subtitle span {
    color: #a9a9a9;
    font-size: 13px;
    font-weight: 600;
}

.pricing-table__action-before {
    margin-bottom: 20px;
}

.pricing-table-button {
    width: 100%;
    background: linear-gradient(to right, #50ff50, #66cccc);
}

.pricing-feature,
.popular .pricing-feature {
    margin-bottom: 10px;
}

/* Iconos de envío en Pricing */
.ship .pricing-table__heading::before,
.air .pricing-table__heading::before {
    content: "";
    position: absolute;
    right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.ship .pricing-table__heading::before {
    bottom: 10px;
    width: 24px;
    height: 24px;
    background-image: url('https://qirubber.com/wp-content/uploads/2026/01/ship-1.png');
}

.air .pricing-table__heading::before {
    top: 10px;
    width: 34px;
    height: 34px;
    background-image: url('https://qirubber.com/wp-content/uploads/2026/01/air.png');
}

/* Caja inferior de precios con borde degradado */
.preciosbottom {
    position: relative;
    z-index: 1;
    padding: 20px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(
        5deg,
        rgba(135, 246, 100, 0.7) 0%,
        rgba(28, 55, 39, 0.7) 42%,
        rgba(28, 55, 39, 0.7) 55%,
        rgba(106, 216, 199, 0.7) 100%
    );
    background-size: 100% 150%;
    background-position: center;
    background-repeat: no-repeat;
}

.preciosbottom::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 3px;
    border-radius: 25px;
    background: linear-gradient(to bottom, #87f665, #996ce5, #6ad8c7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.preciosbottom a.elementor-button {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: none !important;
}

.preciosbottom a.elementor-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 2px;
    border-radius: 25px;
    background: linear-gradient(to right, #89f85d, #68d6cd);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.preciosbottom .elementor-button .elementor-button-text {
    display: inline-block;
    background: linear-gradient(to right, #89f85d, #68d6cd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   6. ELEMENTOR WIDGETS, FAQS Y CAJAS
   ========================================================================== */
.mod1 .elementor-icon-box-description {
    text-align: left;
}

.box-white .elementor-widget-wrap.elementor-element-populated {
    display: flex;
    gap: 20px !important;
    margin: 10px;
    padding: 40px 0;
    background: #ffffffc7;
    border-radius: 25px;
    box-shadow: -1px 2px 13px 2px rgba(54, 54, 54, 0.17);
    -webkit-box-shadow: -1px 2px 13px 2px rgba(54, 54, 54, 0.17);
    -moz-box-shadow: -1px 2px 13px 2px rgba(54, 54, 54, 0.17);
}

/* Toggles & FAQs */
.elementor-tab-title {
    background: #111328;
}

.elementor-toggle .elementor-tab-content {
    background: #7e16c7;
    color: #fff;
    opacity: 0.78;
}

.elementor-toggle-item {
    margin-bottom: 13px;
}

.faqw .elementor-widget-container {
    box-shadow: none !important;
}

.faqw .elementor-toggle .elementor-tab-title {
    border-radius: 15px;
}

.faqw .elementor-toggle .elementor-tab-title.elementor-active {
    border-radius: 15px 15px 0 0 !important;
}

.faqw .elementor-tab-content.elementor-active {
    border-radius: 0 0 15px 25px !important;
}

/* Equipo / Nosotros */
.user12 .elementor-image-box-img {
    overflow: hidden;
    border-radius: 0 !important;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.user12 .elementor-image-box-img img {
    display: block;
    border-radius: 0 !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.user12:hover .elementor-image-box-img {
    border-color: #02e7a6;
}

.user12:hover .elementor-image-box-img img {
    transform: scale(1.04);
    filter: brightness(1.03);
}

/* ==========================================================================
   7. FORMULARIOS (CUSTOM DARK FORM & CF7)
   ========================================================================== */
.custom-dark-form {
    max-width: 500px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.custom-dark-form .form-group {
    margin-bottom: 14px;
}

.custom-dark-form input[type="text"],
.custom-dark-form input[type="email"],
.custom-dark-form input[type="tel"],
.custom-dark-form textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #F8F9FA;
    color: #1A1A1A;
    border: 1px solid #383838;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.custom-dark-form input:focus,
.custom-dark-form textarea:focus {
    border-color: #00e59b;
}

.custom-dark-form textarea {
    min-height: 140px;
    resize: vertical;
}

.custom-dark-form ::placeholder {
    color: #a6a6a6;
    opacity: 1;
}

.custom-dark-form .submit-group {
    margin-top: 20px;
    margin-bottom: 0;
}

.custom-dark-form input[type="submit"] {
    display: inline-block;
    padding: 12px 35px;
    background-color: #00e59b;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.custom-dark-form input[type="submit"]:hover {
    background-color: #00c785;
}

.custom-dark-form input[type="submit"]:active {
    transform: scale(0.98);
}

.wpcf7 form.invalid .wpcf7-response-output {
    padding: 12px;
    border-color: #00e59b;
    color: #00e59b;
    font-size: 18px;
}

/* ==========================================================================
   8. FOOTER Y PÁGINAS ESPECÍFICAS
   ========================================================================== */
.bottom .menu-menu-2026-container,
.menu-menu-2026-en-container {
    text-align: center;
}

.bottom .menu {
    display: inline-flex;
    gap: 15px;
    padding-left: 0;
    list-style: none;
}

.bottom .menu a {
    color: #fff;
    text-transform: uppercase;
}

.bottom .lang-item {
    display: none;
}

/* Página ID 3765 */
.page-id-3765 strong {
    font-weight: 700 !important;
}

.page-id-3765 span {
    font-weight: normal !important;
}

.page-id-3765 .t3 .elementor-image-box-content {
    max-width: 191px;
}

    /* Header Sticky */
    header.elementor-section.shrinker {
        transition: transform 0.3s ease !important;
        will-change: transform;
    }

    .shrinker.active {
        transform: translateY(-100%);
    }

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (min-width: 768px) {
    #proceso .elementor-col-50 {
        width: 100% !important;
    }
}

@media (max-width: 992px) {
    /* Header Sticky */
    header.elementor-section.shrinker {
        transition: transform 0.3s ease !important;
        will-change: transform;
    }

    .shrinker.active {
        transform: translateY(-100%);
    }

    /* Layout & Modales */
    .nosmod {
        min-height: 281px;
        margin-bottom: 30px;
    }

    .invert .elementor-container {
        display: flex;
        flex-direction: column-reverse;
    }

    /* Slider */
    .n2-ss-layer h1 {
        font-size: 44px !important;
    }

    .n2-ss-item-content,
    .n2-ss-item-content p,
    .n2-ss-item-content h1 {
        text-align: center !important;
    }

    div#n2-ss-2 .n2-ss-layer .n2-ss-section-main-content .n2-ss-layer.n2-ss-layer--block {
        max-height: 740px;
        padding-top: 50px !important;
    }

    /* Formularios y Footer */
    .wpcf7-spinner {
        width: 100%;
    }

    .submit-group p {
        text-align: center;
    }

    .bottom img {
        width: 60% !important;
    }
}

@media (max-width: 768px) {
    #animado23 .elementor-widget-wrap {
        gap: 20px;
    }

    #animado23 .marquee-track {
        animation-duration: 60s;
    }

    #animado23 .elementor-icon-list-text {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    /* Centrado vertical y horizontal del slider */
    .elementor-element-3f0011e .n2-ss-layers-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 100% !important;
    }

    .elementor-element-3f0011e [data-sstype="content"] {
        width: 100% !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .elementor-element-3f0011e .n2-ss-layer-row-inner {
        align-items: center !important;
        text-align: center !important;
    }

    /* Fondos en móvil */
    .elementor-3765 .elementor-element.elementor-element-9b647c2:not(.elementor-motion-effects-element-type-background),
    .elementor-3765 .elementor-element.elementor-element-9b647c2 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
    .elementor-3604 .elementor-element.elementor-element-9b647c2:not(.elementor-motion-effects-element-type-background),
    .elementor-3604 .elementor-element.elementor-element-9b647c2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
        background-attachment: scroll !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: 1200px auto !important;
    }
}
