:root {
    --bg-dark: #050505;
    --main-red: #c63e41;
    --text-light: #ffffff;
    --font-main: 'Rubik', sans-serif
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden;
    width: 100%
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

header,
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgb(255 255 255 / .1)
}

.logo-small,
.site-title {
    display: flex;
    flex-direction: column;
    font-weight: 900;
    line-height: .9
}

.logo-small img,
.site-title img {
    width: 63px;
    height: auto;
    max-width: 100%;
    border-width: 0
}

.logo-small .deg {
    font-size: 24px
}

.logo-small .txt {
    font-size: 12px;
    letter-spacing: 1px
}

.hero-h1-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: normal;
    border: 0
}

.main-nav ul {
    display: flex;
    gap: 25px
}

.main-nav a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    margin-right: 5px
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--main-red)
}

.main-nav a.active {
    border-bottom: 2px solid var(--main-red)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    font-weight: 700
}

.whatsapp-icon {
    font-size: 20px;
    transition: color 0.3s;
    color: #25d366
}

.whatsapp-icon:hover {
    color: #25d366
}

.divider {
    width: 1px;
    height: 20px;
    background-color: rgb(255 255 255 / .3)
}

.btn-cotizar {
    background-color: #25D366;
    color: #ffffff !important;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 1px solid #1ebe5d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgb(37 211 102 / .4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap
}

.btn-cotizar:hover {
    background-color: #1ebe5d;
    border-color: #1abe59;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgb(37 211 102 / .6);
    color: #ffffff !important
}

.hero {
    position: relative;
    width: 100%;
    height: 78vh;
    display: flex;
    background-color: var(--bg-dark);
    flex-grow: 1
}

.hero-content {
    position: absolute;
    padding-top: 18.8vw;
    top: 0;
    left: 0;
    width: 45%;
    padding-bottom: 18.6vw;
    height: 440px;
    background-color: var(--main-red);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4%
}

.hero-logo-large {
    display: flex;
    flex-direction: column;
    line-height: .85;
    margin-bottom: 20px
}

.hero-logo-large .number {
    font-size: 140px;
    font-weight: 900;
    letter-spacing: -5px
}

.hero-logo-large .word {
    font-size: 60px;
    font-weight: 900
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    width: 50%
}

.hero-subtitle::before {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #fff
}

.hero-subtitle::after {
    content: '';
    flex: 9;
    height: 2px;
    background-color: #fff
}

.hero-description {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 5px
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px
}

.store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}

.store-btn {
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none
}

.store-btn-primary,
.store-btn-secondary {
    background-color: var(--main-red);
    color: #fff;
    border: 2px solid var(--main-red);
    box-shadow: 0 4px 15px rgb(211 47 47 / .3)
}

.store-btn-primary:hover,
.store-btn-secondary:hover {
    background-color: #a00000;
    border-color: #a00000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(211 47 47 / .45)
}

.btn-cotizar-proyecto-tooltip {
    position: relative
}

.btn-cotizar-proyecto-tooltip .cotizar-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #222;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(0 0 0 / .5);
    pointer-events: none;
    z-index: 100
}

.btn-cotizar-proyecto-tooltip .cotizar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #222 #fff0 #fff0 #fff0
}

.btn-cotizar-proyecto-tooltip:hover .cotizar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.6s ease-in-out, background-position 0.6s ease-in-out
}

.slider-controls {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 20;
    display: flex;
    gap: 15px
}

.slider-btn {
    background: #fff0;
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease
}

.slider-btn:hover {
    color: var(--main-red)
}

.hero-flags {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 15px
}

.flag-img {
    width: 55px;
    height: 38px;
    object-fit: cover;
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: 2px
}

.bottom-nav {
    background-color: var(--bg-dark);
    padding: 30px 40px;
    border-top: 1px solid rgb(255 255 255 / .1)
}

.bottom-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.bottom-nav li {
    flex: 1;
    text-align: center;
    border-left: 1px solid rgb(255 255 255 / .2);
    padding: 0 15px
}

.bottom-nav li:first-child {
    border-left: none
}

.bottom-nav a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s
}

.bottom-nav a:hover {
    color: var(--main-red)
}

@media (max-width:992px) {
    .hero-content {
        width: 65%;
        clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%)
    }

    .hero-logo-large .number {
        font-size: 100px
    }

    .hero-logo-large .word {
        font-size: 40px
    }

    .hero-logo-large img {
        width: 49%
    }

    .logo-small img {
        width: 84px
    }

    .bottom-nav ul {
        flex-wrap: wrap;
        gap: 20px
    }

    .bottom-nav li {
        border: none;
        flex: 1 1 40%
    }

    .slider-btn {
        border: none
    }
}

@media (max-width:768px) {
    .hero {
        height: auto;
        min-height: 72vh
    }

    .hero-content {
        position: relative;
        width: 100%;
        padding: 20px;
        clip-path: none;
        background: rgb(139 0 0 / .85);
        align-items: center;
        text-align: center;
        height: auto;
        min-height: 72vh
    }

    .hero-description {
        font-size: 16px;
        letter-spacing: 1px;
        white-space: normal;
        line-height: 1.2
    }

    .store-header {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .store-buttons {
        justify-content: center;
        width: 100%
    }

    .hero-logo-large {
        align-items: center
    }

    .hero-logo-large img {
        width: 49%
    }

    .hero-subtitle {
        font-size: 14px;
        width: 100%;
        justify-content: center
    }

    .hero-buttons {
        justify-content: center
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        flex: 1
    }

    .system-features {
        display: none !important
    }

    .slider-controls {
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: translateY(-50%) !important;
        justify-content: space-between !important;
        padding: 0 15px !important;
        pointer-events: none !important;
        z-index: 20 !important
    }

    .slider-btn {
        pointer-events: auto !important;
        background: transparent !important;
        border: none !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
        color: #fff !important;
        text-shadow: 0 1px 4px rgb(0 0 0 / .7) !important
    }
}

@media (max-width:480px) {
    .hero-content {
        width: 100%;
        padding: 20px;
        clip-path: none;
        height: auto;
        min-height: 72vh
    }

    .hero-description {
        font-size: 13px;
        letter-spacing: 0
    }

    .header-actions {
        gap: 10px
    }

    .btn-cotizar {
        padding: 5px 10px;
        font-size: 9px
    }

    .store-buttons {
        gap: 10px
    }

    .store-btn {
        padding: 10px 16px;
        font-size: 10px
    }

    .system-features {
        display: none !important
    }
}

.system-features {
    position: absolute;
    bottom: 10px;
    left: 45%;
    z-index: 3;
    display: flex;
    gap: 30px
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-shadow: 1px 1px 4px rgb(0 0 0 / .8)
}

.icon-circle {
    width: 55px;
    height: 55px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    background-color: rgb(0 0 0 / .3);
    box-shadow: 0 0 10px rgb(0 0 0 / .5);
    transition: all 0.3s ease
}

.feature-item:hover .icon-circle {
    background-color: var(--main-red);
    border-color: var(--main-red)
}

.feature-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    max-width: 90px;
    line-height: 1.3
}

.complete-system {
    background-color: var(--bg-dark);
    padding: 10px 40px
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light)
}

.system-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%
}

.system-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.product-card {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #fff0;
    transition: all 0.3s ease
}

.product-card:hover {
    background: rgb(255 255 255 / .03)
}

.product-card.active-system-card {
    border-color: var(--main-red);
    background: rgb(211 47 47 / .08);
    box-shadow: 0 0 20px rgb(211 47 47 / .35);
    transform: translateY(-5px)
}

.store-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px
}

.store-nav-tabs>.cotizar {
    margin-right: auto
}

.store-nav-tabs>.ver-tienda {
    margin-left: auto
}

.store-tabs-service-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center
}

.store-tabs-center {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.store-nav-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap
}

.store-nav-action.cotizar {
    background: #25D366;
    border: 2px solid #1ebe5d;
    color: #fff;
    box-shadow: 0 4px 15px rgb(37 211 102 / .3)
}

.store-nav-action.cotizar:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / .5)
}

.store-nav-action.ver-tienda {
    background: var(--main-red);
    border: 2px solid #b71c1c;
    color: #fff;
    box-shadow: 0 4px 15px rgb(211 47 47 / .3)
}

.store-nav-action.ver-tienda:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(211 47 47 / .5)
}

.store-tab-btn {
    background: linear-gradient(135deg, rgb(255 255 255 / .08) 0%, rgb(255 255 255 / .02) 100%);
    border: 1px solid rgb(255 255 255 / .15);
    color: #eaeaea;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.175, .885, .32, 1.275);
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgb(0 0 0 / .2);
    text-transform: uppercase
}

.store-tab-btn:hover,
.store-tab-btn.active {
    background: linear-gradient(135deg, var(--main-red) 0%, #a00000 100%);
    border-color: #fff0;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgb(211 47 47 / .5)
}

.item-image {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.system-item h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light)
}

.system-item p {
    font-size: 11px;
    color: #b0b0b0;
    line-height: 1.5;
    max-width: 90%
}

.plus-sign {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center
}

@media (max-width:992px) {
    .system-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px 15px
    }

    .system-item {
        flex: 1 1 25%
    }

    .plus-sign {
        display: none
    }
}

@media (max-width:768px) {
    .system-item {
        flex: 1 1 45%
    }
}

.applications-section {
    background-color: var(--bg-dark);
    padding: 10px 40px 24px 40px
}

.applications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px
}

.applications-header .section-title {
    margin-bottom: 0
}

.btn-aplicar-espacio {
    background-color: #25D366;
    color: #ffffff !important;
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #1ebe5d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(37 211 102 / .35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap
}

.btn-aplicar-espacio:hover {
    background-color: #1ebe5d;
    border-color: #1abe59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / .5)
}

.applications-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    user-select: none;
    cursor: grab;
    position: relative
}

.applications-marquee-wrapper.apps-dragging {
    cursor: grabbing
}

.applications-marquee-wrapper::-webkit-scrollbar {
    display: none
}

.applications-grid {
    display: flex;
    gap: 10px;
    width: max-content
}

.app-card {
    flex: 0 0 calc((90vw - 80px - 30px) / 2);
    position: relative;
    height: 30vw;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-light);
    background-color: #111
}

.app-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / .85) 0%, rgb(0 0 0 / .2) 60%, rgb(0 0 0 / .1) 100%);
    z-index: 2;
    transition: background 0.3s ease
}

.app-card:hover .app-card-bg {
    transform: scale(1.1)
}

#appLightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgb(0 0 0 / .92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: lbFadeIn 0.2s ease
}

#appLightbox.open {
    display: flex
}

@keyframes lbFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

#appLightboxImgWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 90vw;
    max-height: 88vh;
    user-select: none;
    cursor: grab
}

#appLightboxImgWrap.lb-dragging {
    cursor: grabbing
}

#appLightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 60px rgb(0 0 0 / .8);
    transform: scale(.95);
    animation: lbZoomIn 0.25s ease forwards;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(.4, 0, .2, 1), opacity 0.18s;
    will-change: transform, opacity
}

#appLightbox img.lb-slide-left {
    animation: lbSlideLeft 0.28s ease forwards
}

#appLightbox img.lb-slide-right {
    animation: lbSlideRight 0.28s ease forwards
}

@keyframes lbZoomIn {
    to {
        transform: scale(1)
    }
}

@keyframes lbSlideLeft {
    from {
        transform: translateX(60px) scale(.93);
        opacity: 0
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1
    }
}

@keyframes lbSlideRight {
    from {
        transform: translateX(-60px) scale(.93);
        opacity: 0
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1
    }
}

#appLightboxCaption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgb(0 0 0 / .5);
    padding: 6px 18px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap
}

#appLightboxPrev,
#appLightboxNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0 0 0 / .45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
    backdrop-filter: blur(4px);
    user-select: none
}

#appLightboxPrev {
    left: 18px
}

#appLightboxNext {
    right: 18px
}

#appLightboxPrev:hover,
#appLightboxNext:hover {
    background: rgb(255 255 255 / .18);
    transform: translateY(-50%) scale(1.1)
}

#appLightboxPrev:active,
#appLightboxNext:active {
    transform: translateY(-50%) scale(.95)
}

#appLightboxCounter {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255 255 255 / .7);
    font-size: 13px;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 10001
}

#appLightboxClose {
    position: absolute;
    top: 18px;
    right: 24px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity 0.2s;
    z-index: 10000
}

#appLightboxClose:hover {
    opacity: 1
}

.app-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.app-icon {
    font-size: 28px;
    font-weight: 400
}

.app-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

.app-arrow {
    font-size: 14px;
    margin-bottom: 2px
}

@media (max-width:1200px) {
    .app-card {
        flex: 0 0 calc((130vw - 40px - 80px) / 3)
    }
}

@media (max-width:992px) {
    .app-card {
        flex: 0 0 calc((120vw - 80px - 10px) / 2)
    }
}

@media (max-width:768px) {
    .applications-header {
        flex-direction: column;
        align-items: center;
        text-align: center
    }
}

@media (max-width:576px) {
    .app-card {
        flex: 0 0 90vw;
        height: 60vw;
        min-height: 220px
    }

    .app-card-bg {
        background-size: cover !important;
        background-position: center center !important
    }

    .app-card::before {
        background: linear-gradient(to top, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / .05) 60%, transparent 100%) !important
    }
}

.gallery-materials-section {
    background-color: var(--bg-dark);
    padding: 40px 40px 60px 40px
}

.gallery-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap
}

.gallery-top-bar-left {
    display: flex;
    align-items: baseline;
    gap: 40px;
    flex-wrap: wrap
}

.btn-cambio-asi {
    background-color: #25D366;
    color: #ffffff !important;
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #1ebe5d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(37 211 102 / .35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap
}

.btn-cambio-asi:hover {
    background-color: #1ebe5d;
    border-color: #1abe59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / .5)
}

.gallery-top-bar .section-title {
    margin-bottom: 0
}

.gallery-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #7a7a7a
}

.gallery-filters a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
    padding-bottom: 4px
}

.gallery-filters a:hover {
    color: #fff
}

.gallery-filters a.active {
    color: var(--main-red);
    border-bottom: 2px solid var(--main-red)
}

.gallery-filters .sep {
    color: rgb(255 255 255 / .15);
    font-weight: 400
}

.gallery-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 15px;
    user-select: none;
    cursor: grab
}

.gallery-marquee-wrapper.gallery-dragging {
    cursor: grabbing
}

.gallery-marquee-wrapper::-webkit-scrollbar {
    display: none
}

.gallery-grid {
    display: flex !important;
    gap: 25px !important;
    width: max-content !important
}

.gallery-grid .ba-card {
    width: 360px !important;
    flex: 0 0 360px !important;
    height: 250px !important
}

@media (max-width:991px) {
    .gallery-grid .ba-card {
        flex: 0 0 calc(50vw - 18px) !important;
        width: calc(50vw - 18px) !important;
        height: 200px !important
    }
}

.ba-card {
    position: relative;
    height: 220px;
    background-color: #111;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center
}

.ba-image.before {
    z-index: 1;
    clip-path: inset(0 50% 0 0)
}

.ba-image.after {
    z-index: 0
}

.ba-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 10px rgb(0 0 0 / .6);
    pointer-events: none
}

.ba-slider::before {
    content: '';
    position: absolute;
    top: -110px;
    bottom: -110px;
    width: 2px;
    background-color: #fff;
    z-index: -1
}

.section-divider {
    border: 0;
    border-top: 1px solid rgb(255 255 255 / .1);
    margin: 40px 0
}

.materials-container {
    display: flex;
    gap: 50px;
    overflow: hidden
}

.colors-section {
    flex: 0 0 35%;
    padding-right: 50px;
    border-right: 1px solid rgb(255 255 255 / .1)
}

.textures-section {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    margin: 0 4vw 0 4vw
}

.materials-grid {
    display: grid;
    gap: 20px 15px;
    margin-top: 25px
}

.materials-grid.colors {
    grid-template-columns: repeat(4, 1fr)
}

.textures-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 25px;
    user-select: none;
    position: relative;
    cursor: grab
}

.textures-marquee-wrapper.tonos-paused-by-click {
    cursor: pointer
}

.textures-marquee-wrapper:active {
    cursor: grabbing
}

.textures-marquee-wrapper::-webkit-scrollbar {
    display: none
}

.tonos-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 48px;
    height: 48px;
    background: rgb(0 0 0 / .55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.18s cubic-bezier(.34, 1.56, .64, 1), opacity 0.18s;
    opacity: 0
}

.tonos-play-indicator.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
}

.tonos-play-indicator svg {
    width: 22px;
    height: 22px;
    fill: #fff
}

.materials-grid.textures {
    display: flex;
    gap: 20px;
    width: max-content;
    margin-top: 0
}

.mat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px
}

.mat-swatch {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s
}

.mat-swatch:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px rgb(255 255 255 / .35)
}

.mat-swatch.microcemento-texture {
    position: relative;
    overflow: hidden
}

.mat-swatch.microcemento-texture img {
    border-radius: inherit
}

.mat-swatch.microcemento-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='marble'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.012 0.006' numOctaves='6' seed='14' stitchTiles='noStitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.88  0 0 0 0 0.88  0 0 0 0 0.88  0 0 0 1.8 -0.55'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23marble)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
    opacity: .47
}

.mat-swatch.microcemento-texture::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='vein'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08 0.04' numOctaves='3' seed='22' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 2.4 -1.1'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23vein)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
    opacity: .31
}

#tonoZoomPanel {
    position: fixed;
    top: 50%;
    right: -35%;
    transform: translateY(-50%);
    width: 35%;
    height: 80vh;
    background: #0d0d0d;
    border-radius: 16px 0 0 16px;
    z-index: 8888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgb(255 255 255 / .12);
    box-shadow: -12px 0 60px rgb(0 0 0 / .7);
    transition: right 0.38s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden
}

#tonoZoomPanel.open {
    right: 0
}

#tonoZoomImgWrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 32px rgb(0 0 0 / .6)
}

#tonoZoomImgWrap.microcemento-zoom::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='marble'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.012 0.006' numOctaves='6' seed='14' stitchTiles='noStitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.88  0 0 0 0 0.88  0 0 0 0 0.88  0 0 0 1.8 -0.55'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23marble)'/%3E%3C/svg%3E");
    background-size: 60% 60%;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
    opacity: .47
}

#tonoZoomImgWrap.microcemento-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='vein'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08 0.04' numOctaves='3' seed='22' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 2.4 -1.1'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23vein)'/%3E%3C/svg%3E");
    background-size: 50% 50%;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
    opacity: .31
}

#tonoZoomImg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit
}

#tonoZoomPanel .tono-zoom-grid {
    position: absolute;
    inset: 0 0 56px 0;
    pointer-events: none;
    background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 2
}

#tonoZoomPanel .tono-zoom-grid::before,
#tonoZoomPanel .tono-zoom-grid::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgb(255 255 255 / .45);
    border-style: solid
}

#tonoZoomPanel .tono-zoom-grid::before {
    top: 16px;
    left: 16px;
    border-width: 2px 0 0 2px
}

#tonoZoomPanel .tono-zoom-grid::after {
    bottom: 16px;
    right: 16px;
    border-width: 0 2px 2px 0
}

#tonoZoomFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgb(0 0 0 / .82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    gap: 12px
}

#tonoZoomLabel {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase
}

#tonoZoomClose {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgb(0 0 0 / .55);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s
}

#tonoZoomClose:hover {
    background: rgb(255 255 255 / .18)
}

#tonoZoomBadge {
    position: absolute;
    top: 12px;
    left: 14px;
    background: rgb(0 0 0 / .55);
    color: rgb(255 255 255 / .7);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
    text-transform: uppercase
}

#tonoZoomBackdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / .35);
    z-index: 8887
}

#tonoZoomBackdrop.open {
    display: block
}

@media (max-width:768px) {
    #tonoZoomPanel {
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%) scale(.95);
        width: 90%;
        max-width: 400px;
        height: auto;
        max-height: 85vh;
        border-radius: 12px;
        padding: 25px 20px 70px 20px;
        background: #111;
        border: 1px solid rgb(255 255 255 / .1);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease
    }

    #tonoZoomPanel.open {
        right: 50%;
        transform: translate(50%, -50%) scale(1);
        opacity: 1;
        pointer-events: auto
    }

    #tonoZoomImgWrap {
        width: 100%;
        height: auto;
        max-height: 55vh;
        border-radius: 6px;
        box-shadow: none;
        display: block
    }

    #tonoZoomImg {
        width: 100%;
        height: auto;
        max-height: 55vh;
        object-fit: contain
    }

    #tonoZoomPanel .tono-zoom-grid {
        display: none
    }

    #tonoZoomFooter {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: #fff0;
        border-top: 1px solid rgb(255 255 255 / .05)
    }

    #tonoZoomBadge {
        top: -15px;
        display: none
    }

    #tonoZoomClose {
        top: -15px;
        right: -10px;
        background: #e63946
    }
}

.c-gris {
    background-color: #7a7a7a
}

.c-arena {
    background-color: #d1c5b4
}

.c-blanco {
    background-color: #e8e8e8
}

.c-grafito {
    background-color: #4a4a4a
}

.c-negro {
    background-color: #141414
}

.c-natural {
    background-color: #6e6e6e
}

.c-custom {
    background: conic-gradient(#ff0000, #ff8000, #ffff00, #00ff00, #00ffff, #0000ff, #8000ff, #ff00ff, #ff0000);
    border-radius: 50%
}

.mat-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3
}

@media (max-width:1100px) {
    .materials-container {
        flex-direction: column
    }

    .colors-section {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgb(255 255 255 / .1);
        padding-bottom: 40px
    }
}

@media (max-width:768px) {

    .materials-grid.textures,
    .materials-grid.colors {
        grid-template-columns: repeat(3, 1fr)
    }
}

.info-section {
    background-color: var(--bg-dark);
    padding: 40px 40px 80px 40px;
    border-top: 1px solid rgb(255 255 255 / .05)
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.info-column {
    display: flex;
    flex-direction: column
}

.info-column .section-title {
    margin-bottom: 25px;
    font-size: 16px
}

.faq-list {
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(255 255 255 / .1);
    border-bottom: none
}

.faq-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgb(255 255 255 / .1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    overflow: hidden
}

.faq-item:hover {
    background-color: rgb(255 255 255 / .04)
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #d1d1d1;
    transition: color 0.3s ease
}

.faq-item.active .faq-question {
    color: var(--main-red)
}

.faq-icon {
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease, color 0.3s ease
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--main-red)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 15px 20px
}

.faq-answer p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    margin: 0
}

.training-content {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.training-text {
    font-size: 13px;
    color: #d1d1d1;
    line-height: 1.5
}

.btn-red {
    background-color: var(--main-red);
    color: #fff;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    width: fit-content;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block
}

.btn-red:hover {
    background-color: #a00000
}

.training-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-top: 10px;
    border: 1px solid rgb(255 255 255 / .1)
}

.test-tabs {
    display: flex;
    gap: 15px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #7a7a7a;
    text-transform: uppercase;
    letter-spacing: 1px
}

.test-tabs a {
    padding-bottom: 5px;
    transition: color 0.3s
}

.test-tabs a:hover {
    color: #fff
}

.test-tabs a.active {
    color: var(--main-red);
    border-bottom: 2px solid var(--main-red)
}

.test-slider-container {
    display: flex;
    align-items: center;
    gap: 15px
}

.testimonial-card {
    display: flex;
    background-color: #111;
    border: 1px solid rgb(255 255 255 / .1);
    height: 180px;
    flex: 1;
    overflow: hidden
}

.test-img-split {
    flex: 0 0 45%;
    display: flex;
    position: relative;
    border-right: 1px solid rgb(255 255 255 / .1)
}

.test-img-half {
    flex: 1;
    background-size: cover;
    background-position: center
}

.test-img-half.left {
    border-right: 1px solid #fff
}

.test-img-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 10px;
    z-index: 2
}

.test-text-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.test-quote {
    font-size: 12px;
    font-style: italic;
    color: #d1d1d1;
    line-height: 1.6;
    margin-bottom: 15px
}

.test-author {
    font-size: 11px;
    font-weight: 700;
    color: #fff
}

.slider-arrow-right {
    font-size: 18px;
    color: #7a7a7a;
    cursor: pointer;
    transition: color 0.3s
}

.slider-arrow-right:hover {
    color: #fff
}

@media (max-width:1100px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px
    }

    .info-column:last-child {
        grid-column: span 2
    }
}

@media (max-width:768px) {
    .info-grid {
        grid-template-columns: 1fr
    }

    .info-column:last-child {
        grid-column: span 1
    }

    .testimonial-card {
        flex-direction: column;
        height: auto
    }

    .test-img-split {
        height: 150px;
        border-right: none;
        border-bottom: 1px solid rgb(255 255 255 / .1)
    }
}

.projects-section {
    background-color: var(--bg-dark);
    padding: 60px 40px
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px
}

.projects-tabs {
    display: flex;
    gap: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #7a7a7a;
    text-transform: uppercase
}

.projects-tabs .active {
    color: var(--main-red);
    border-bottom: 2px solid var(--main-red)
}

.projects-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    cursor: grab;
    user-select: none
}

.projects-marquee-wrapper::-webkit-scrollbar {
    display: none
}

.projects-marquee-wrapper.is-dragging {
    cursor: grabbing
}

.projects-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 25px !important;
    width: max-content !important
}

.projects-grid .project-card {
    width: 360px !important;
    flex: 0 0 360px !important;
    height: 250px !important
}

@media (max-width:991px) {
    .projects-grid .project-card {
        flex: 0 0 calc(50vw - 18px) !important;
        width: calc(50vw - 18px) !important;
        height: 220px !important
    }
}

.project-card {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s
}

.cta-banner {
    background-color: #111;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgb(255 255 255 / .1)
}

.cta-text {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase
}

.cta-buttons {
    display: flex;
    gap: 15px
}

.main-footer {
    background-color: #000;
    padding: 50px 40px 30px 40px;
    font-size: 11px;
    color: #7a7a7a;
    border-top: 1px solid rgb(255 255 255 / .08)
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.system-features {
    position: absolute;
    bottom: 10px;
    left: 45%;
    z-index: 3;
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex-wrap: nowrap
}

@media (max-width:992px) {
    .system-features {
        display: none !important
    }
}

.complete-system {
    background-color: var(--bg-dark);
    padding: 10px 40px;
    overflow: hidden
}

.store-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 15px 0;
    user-select: none;
    cursor: grab
}

.store-marquee-wrapper.is-dragging {
    cursor: grabbing
}

.store-marquee-wrapper::-webkit-scrollbar {
    display: none
}

.system-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 25px !important;
    width: max-content !important;
    padding-bottom: 20px
}

.system-container .product-card {
    width: 310px !important;
    flex: 0 0 310px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.system-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.plus-sign {
    flex: 0 0 auto;
    font-size: 24px;
    margin-top: 45px
}

.faq-carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none
}

.faq-carousel-container::-webkit-scrollbar {
    display: none
}

.faq-item-card {
    flex: 0 0 150px;
    height: 150px;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(255 255 255 / .1);
    text-align: center;
    font-size: 12px
}

.colors-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0
}

.color-swatch {
    flex: 0 0 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.color-box {
    width: 100%;
    height: 100%;
    border-radius: 4px
}

.footer-flags {
    display: flex;
    gap: 10px;
    align-items: center
}

.footer-flags img {
    width: 25px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgb(255 255 255 / .2)
}

.info-section {
    background-color: var(--bg-dark);
    padding: 60px 40px;
    border-top: 1px solid rgb(255 255 255 / .1)
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.info-section .section-title {
    font-size: 16px;
    margin-bottom: 25px;
    letter-spacing: 1px
}

.faq-carousel {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scrollbar-width: none
}

.faq-carousel::-webkit-scrollbar {
    display: none
}

.faq-item-card {
    flex: 0 0 150px;
    height: 150px;
    background: #111;
    border: 1px solid rgb(255 255 255 / .1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px
}

.training-box {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.btn-red {
    background: var(--main-red);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700
}

.testimonial-card {
    background: #111;
    padding: 20px;
    border: 1px solid rgb(255 255 255 / .1)
}

.triple-section {
    background-color: var(--bg-dark);
    padding: 60px 40px;
    border-top: 1px solid rgb(255 255 255 / .08)
}

.triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto
}

.section-box {
    display: inline-grid;
    flex-direction: column
}

.box-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff
}

.btn-resolver-duda {
    background-color: #25D366;
    color: #ffffff !important;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #1ebe5d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(37 211 102 / .35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%
}

.btn-resolver-duda:hover {
    background-color: #1ebe5d;
    border-color: #1abe59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / .5)
}

.faq-list {
    border: 1px solid rgb(255 255 255 / .1);
    border-bottom: none
}

.training-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-top: 15px
}

.btn-red {
    background-color: var(--main-red);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 0
}

.btn-resultados-estos {
    background-color: #25D366;
    color: #ffffff !important;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid #1ebe5d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(37 211 102 / .35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%
}

.btn-resultados-estos:hover {
    background-color: #1ebe5d;
    border-color: #1abe59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(37 211 102 / .5)
}

.test-header {
    display: flex;
    gap: 15px;
    font-size: 10px;
    margin-bottom: 15px;
    color: #888;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none
}

.test-header::-webkit-scrollbar {
    display: none
}

.test-header span {
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    padding-bottom: 3px
}

.test-header span:hover {
    color: #fff
}

.test-header .active {
    color: var(--main-red);
    border-bottom: 1px solid var(--main-red)
}

#testimonioVideoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999
}

#testimonioVideoModal.open {
    display: flex
}

#testimonioVideoContainer {
    width: 90%;
    max-width: 750px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgb(0 0 0 / .8);
    position: relative
}

#testimonioVideoIframe {
    width: 100%;
    height: 100%
}

#testimonioVideoClose {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s
}

#testimonioVideoClose:hover {
    color: var(--main-red)
}

.system-item {
    flex: 0 0 200px;
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid rgb(255 255 255 / .05);
    transition: transform 0.3s ease
}

.system-item:hover {
    transform: translateY(-5px);
    border-color: var(--main-red)
}

.item-image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgb(0 0 0 / .5))
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--main-red);
    margin: 10px 0
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    width: 100%
}

.btn-detalles,
.btn-agregar,
.btn-asesoria {
    border: none;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.btn-detalles {
    background-color: #fff0;
    border: 1px solid rgb(255 255 255 / .3);
    color: #fff;
    flex: 1 1 calc(70% - 8px)
}

.btn-detalles:hover {
    background-color: rgb(255 255 255 / .1)
}

.btn-agregar {
    background-color: var(--main-red);
    color: #fff;
    flex: 0 0 auto
}

.btn-agregar:hover {
    background-color: #a00000;
    transform: translateY(-1px)
}

.btn-asesoria {
    background-color: #25D366;
    color: #fff;
    width: 100%;
    flex: 1 1 100%
}

.btn-asesoria:hover {
    background-color: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(37 211 102 / .3)
}

.header-actions {
    position: relative
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--main-red);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    font-weight: 700
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s
}

.modal-overlay.active {
    display: flex;
    opacity: 1
}

.product-modal {
    background: #111;
    border: 1px solid rgb(255 255 255 / .1);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px
}

.product-modal img {
    max-height: 200px;
    margin-bottom: 20px
}

.product-modal h3 {
    font-size: 20px;
    margin-bottom: 10px
}

.product-modal p {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px
}

.product-modal .price {
    font-size: 24px;
    color: var(--main-red);
    font-weight: 700;
    margin-bottom: 20px
}

.product-modal-links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 12px;
    flex-wrap: wrap
}

.product-modal-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgb(255 255 255 / .08);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgb(255 255 255 / .15);
    transition: all 0.2s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px
}

.product-modal-link:hover {
    background: rgb(255 255 255 / .15);
    border-color: rgb(255 255 255 / .3);
    color: var(--main-red)
}

.sidebar-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 100%;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid rgb(255 255 255 / .1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease
}

.sidebar-cart.open {
    right: 0
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgb(255 255 255 / .1);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.cart-header h3 {
    font-size: 16px;
    margin: 0
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(255 255 255 / .05);
    padding-bottom: 15px
}

.cart-item-info {
    display: flex;
    gap: 10px;
    align-items: center
}

.cart-item-info img {
    width: 50px;
    height: 50px;
    object-fit: cover
}

.cart-item-info div h4 {
    font-size: 12px;
    margin: 0 0 5px 0
}

.cart-item-info div p {
    font-size: 12px;
    color: var(--main-red);
    margin: 0;
    font-weight: 700
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.cart-item-actions input {
    width: 40px;
    background: #222;
    color: #fff;
    border: none;
    text-align: center;
    padding: 5px
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgb(255 255 255 / .1)
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    background: var(--main-red);
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase
}

.checkout-modal .btn-checkout {
    background: #25D366
}

.checkout-modal .btn-checkout:hover {
    background: #1ebe5d
}

.checkout-modal {
    background: #111;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto
}

.form-group {
    margin-bottom: 15px;
    text-align: left
}

.form-group label {
    display: block;
    font-size: 11px;
    margin-bottom: 5px;
    color: #ccc;
    text-transform: uppercase
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid rgb(255 255 255 / .2);
    color: #fff;
    font-family: inherit;
    font-size: 13px
}

.form-row {
    display: flex;
    gap: 15px
}

.form-row .form-group {
    flex: 1
}

.main-footer .legal-info {
    width: 100%;
    gap: 10px
}

@media (max-width:992px) {
    .main-footer {
        padding: 35px 20px 25px 20px
    }

    .main-footer .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px
    }

    .main-footer .footer-col {
        max-width: 100% !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .main-footer .footer-links {
        align-items: center
    }

    .main-footer .social-icons {
        display: grid !important;
        grid-template-columns: repeat(2, max-content) !important;
        justify-content: center;
        gap: 14px 30px !important
    }

    .main-footer .legal-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px
    }

    .main-footer .legal-links {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 8px
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgb(0 0 0 / .5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.05)
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #222;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(0 0 0 / .4);
    pointer-events: none
}

.whatsapp-float .wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: #fff0 #fff0 #fff0 #222
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0)
}

@media (max-width:768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px
    }

    .whatsapp-float .wa-tooltip {
        right: 60px;
        font-size: 11px;
        padding: 6px 10px
    }
}

.menu-toggle {
    display: none
}

.menu-toggle-divider {
    display: none
}

@media (max-width:992px) {
    .triple-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 20px;
        align-items: center
    }

    .logo-small {
        order: 1
    }

    .logo-small img {
        width: 63px !important;
        max-width: 100%;
        height: auto !important
    }

    .header-actions {
        order: 2;
        width: auto;
        justify-content: flex-end;
        gap: 12px
    }

    .btn-cotizar {
        padding: 6px 12px;
        font-size: 10px
    }

    .menu-toggle,
    .menu-toggle-divider {
        display: block
    }

    .menu-toggle {
        font-size: 22px;
        cursor: pointer;
        color: #fff;
        margin-top: 3px
    }

    .main-nav {
        order: 3;
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: #111;
        margin-top: 15px;
        padding: 15px 0;
        border-radius: 5px
    }

    .main-nav.open {
        display: flex
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0;
        white-space: normal
    }

    .projects-header {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .projects-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px
    }

    .triple-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px
    }

    .gallery-top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px
    }

    .gallery-top-bar-left {
        flex-direction: column;
        align-items: center;
        gap: 15px
    }

    .gallery-filters {
        flex-wrap: wrap;
        justify-content: center
    }

    .complete-system,
    .applications-section,
    .gallery-materials-section,
    .info-section,
    .triple-section,
    .projects-section {
        padding: 40px 20px
    }

    .info-grid {
        display: flex;
        flex-direction: column;
        gap: 40px
    }
}

@media (max-width:480px) {
    .cta-text {
        font-size: 18px
    }

    .box-title,
    .section-title {
        font-size: 14px;
        text-align: center
    }

    .projects-tabs {
        gap: 10px;
        font-size: 10px
    }

    .bottom-nav {
        padding: 20px
    }

    .bottom-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center
    }

    .bottom-nav li {
        flex: 1 1 100%;
        border: none;
        padding: 0
    }
}

@media (max-width:768px) {
    .store-nav-tabs {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: stretch;
        padding: 15px
    }

    .store-nav-action.cotizar,
    .store-nav-action.ver-tienda {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 15px 0;
        font-size: 16px
    }

    .store-tabs-service-btns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%
    }

    .store-tab-btn {
        width: 100%;
        padding: 14px 10px;
        font-size: 12px;
        white-space: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 30px
    }
}

button:not(.slider-btn),
.btn-cotizar,
.store-btn,
.store-nav-action,
.btn-ver-galeria,
.btn-outline,
.btn-link,
.btn-detalles,
.btn-agregar,
.btn-asesoria,
.btn-checkout,
.kh-tab-btn,
.kh-close-btn,
.btn-red,
.btn-cotizar-wa,
.btn-aplicar-espacio,
.btn-cambio-asi,
.btn-resolver-duda,
.btn-resultados-estos,
.btn-ver-fechas,
.blog-card-category,
.article-category-badge {
    border-radius: 30px !important
}