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

:root {
    --abismo: #050D1A;
    --medianoche: #0A1628;
    --medianoche-2: #0D2C5A;
    --medianoche-3: #10407A;
    --marino: #0B2A4A;
    --oceano: #0C3D6B;

    --on-text: #202e44;
    --primary-900: #001f5a;
    --primary-800: #002473;
    --primary-700: #002a8d;
    --primary-600: #002da0;
    --primary-500: #0030b3;
    --primary-400: #0a47f0;
    --primary-300: #3d77ff;
    --primary-200: #70a9ff;
    --primary-100: #b2d6ff;
    --primary-050: #d1e6ff;
    --primary-040: #ebf4ff;

    --secondary-900: #8f1100;
    --secondary-800: #b02b00;
    --secondary-700: #ca4500;
    --secondary-600: #e45e00;
    --secondary-500: #ff7800;
    --secondary-400: #ff961f;
    --secondary-300: #ffa733;
    --secondary-200: #ffbb5c;
    --secondary-100: #ffd89f;
    --secondary-050: #ffe8c7;
    --secondary-040: #fff6e6;

    --onsurface-900: #4d5b70;
    --onsurface-800: #606c7f;
    --onsurface-700: #737e8e;
    --onsurface-600: #868f9e;
    --onsurface-500: #99a1ad;
    --onsurface-400: #acb2bd;
    --onsurface-300: #bfc4cc;
    --onsurface-200: #d2d5dc;
    --onsurface-100: #e5e7eb;
    --onsurface-050: #eff0f2;
    --onsurface-040: #f6f6f7;

    --background-900: #264b78;
    --background-800: #3c5d86;
    --background-700: #527094;
    --background-600: #6982a3;
    --background-500: #7f95b1;
    --background-400: #95a7bf;
    --background-300: #acbace;
    --background-200: #c2ccdc;
    --background-100: #d8dfea;
    --background-050: #eaeff5;
    --background-040: #f2f4f8;

    --analogous-02-900: #002c5a;
    --analogous-02-800: #003873;
    --analogous-02-700: #00448c;
    --analogous-02-600: #005aa8;
    --analogous-02-500: #1672b8;
    --analogous-02-400: #127dc9;
    --analogous-02-300: #1f95de;
    --analogous-02-200: #6fb7e3;
    --analogous-02-100: #abd9f5;
    --analogous-02-050: #d2eefc;
    --analogous-02-040: #e8f6fc;

    --bg-navbar: #ffffff;

    /* --bg-hero: linear-gradient(135deg, #0a3d62, #1e5f8a); */
    --bg-hero:
        linear-gradient(320deg,
            var(--abismo) 0%,
            var(--medianoche)25%,
            var(--marino) 60%,
            var(--oceano) 100%);

    --bg-clients: var(--background-040);

    --bg-products: linear-gradient(180deg,
            var(--background-040) 0%,
            var(--background-050) 100%);
    --products-border: var(--onsurface-100);

    --bg-solutions:
        radial-gradient(circle at 10% 20%, rgba(31, 149, 222, 0.12), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(18, 125, 201, 0.10), transparent 40%),
        linear-gradient(180deg,
            var(--background-040) 0%,
            var(--background-050) 100%);

    --solutions-border: var(--onsurface-100);

    --bg-services: #ffffff;
    --services-border: var(--onsurface-100);

    --bg-cta: var(--medianoche);

    --cta-border: rgba(255, 255, 255, 0.08);


    --bg-footer: linear-gradient(180deg,
            var(--abismo) 0%,
            var(--medianoche)100%);
    --footer-border: rgba(255, 255, 255, 0.08);

    --scrollbar-track: var(--background-050);
    --scrollbar-thumb: var(--primary-400);
    --scrollbar-thumb-hover: var(--primary-500);


    --bg-section-header: linear-gradient(180deg,
            var(--abismo) 0%,
            var(--medianoche) 60%,
            var(--marino) 100%);

    --bg-section-nav: linear-gradient(180deg,
            var(--marino) 0%,
            var(--background-900) 50%,
            var(--background-800) 100%);

    --bg-section-content: linear-gradient(180deg,
            var(--background-050) 0%,
            var(--background-100) 50%,
            var(--background-200) 100%);

    --bg-contacto:
        linear-gradient(0deg,
            var(--medianoche) 0%,
            var(--marino) 60%,
            var(--oceano) 100%);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--primary-400),
            var(--analogous-02-400));

    border-radius: 8px;
    border: 1px solid var(--scrollbar-track);

    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            var(--primary-500),
            var(--analogous-02-300));
}

html {
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    scrollbar-width: thin;
    /* scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); */
    overflow-x: clip;
}

/********************
  Menu de Navegacion 
*********************/
.navbar {
    background-color: var(--bg-navbar);
    border-bottom: 1px solid var(--onsurface-100);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    flex: 0 1 auto;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.navbar nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    color: var(--on-text);
}

.navbar nav>ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar nav>ul>li {
    cursor: pointer;
    position: relative;
}

.navbar nav>ul>li>a {
    text-decoration: none;
    color: var(--on-text);
    font-weight: 500;
    padding: 4px 0;
    /* Creamos área de click sin expandir el contenedor */
    transition: color 0.3s ease;
}

.navbar nav>ul>li:hover>* {
    color: var(--primary-400);
}

.navbar nav>ul>li::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg,
            var(--primary-400),
            var(--analogous-02-400));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar nav>ul>li:hover::after {
    width: 100%;
}

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.has-dropdown {
    position: relative;
}

.has-dropdown::before {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    width: 100%;
    height: 16px;
    pointer-events: none;
}

.has-dropdown:hover::before {
    pointer-events: auto;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: 140%;
    left: 0;
    right: auto;
    /* left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.98); */

    display: flex;
    flex-direction: column;
    gap: 2px;

    min-width: 220px;
    padding: 8px;

    background: rgba(255, 255, 255, 1);
    /* backdrop-filter: blur(12px); */

    border: 1px solid var(--onsurface-100);
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px) scale(0.98);

    transition: all 0.25s ease;
    z-index: 100;
    max-width: calc(100vw - 20px);
}

.dropdown.fix-right {
    left: auto;
    right: 0;
}

.dropdown li {
    padding: 0;
    position: static;
}

.dropdown li a {
    display: block;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;

    font-size: 14px;
    color: var(--on-text);

    transition: all 0.2s ease;
}

.dropdown li a:hover {
    background: rgba(55, 138, 221, 0.1);
    color: var(--primary-400);
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 20px;

    width: 10px;
    height: 10px;

    background: rgba(255, 255, 255, 1);
    transform: rotate(45deg);

    border-left: 1px solid var(--onsurface-100);
    border-top: 1px solid var(--onsurface-100);
}

.dropdown.fix-right::before {
    left: auto;
    right: 20px;
}

.dropdown strong {
    font-weight: 600;
    color: var(--primary-500);
}

.dropdown-expand-menu {
    list-style: none;

    max-height: 0;
    overflow: hidden;

    padding-left: 12px;

    transition:
        max-height 0.5s ease,
        margin-top 0.5s ease;

    margin-top: 0;
}

.dropdown li.dropdown-expand>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown li.dropdown-expand>a::after {
    content: "";

    width: 6px;
    height: 6px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    border-bottom-right-radius: 2px;

    transform: rotate(45deg);

    transition:
        transform .25s ease;

    flex-shrink: 0;
}

.dropdown-expand.active .dropdown-expand-menu {
    max-height: 300px;
}

.dropdown li.dropdown-expand.active>a::after {
    transform: rotate(-135deg);
}

/* .dropdown li.dropdown-expand:hover>a::after {
    transform: rotate(-135deg);
}

.dropdown-expand:hover .dropdown-expand-menu {
    max-height: 300px;
} */

.dropdown-expand-menu li a {
    font-size: 13px;
    padding: 8px 16px;
}

.menu-toggle {
    display: none;
}


@media (max-width: 900px) {
    .logo {
        flex: none;
    }

    .menu-toggle {
        display: flex;

        background: none;
        border: none;

        font-size: 28px;
        cursor: pointer;
    }

    /* .navbar {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 5px;
    } */

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding: 16px 20px;
    }

    /* .navbar nav {
        flex: none;
        width: 100%;
        justify-content: center;
    } */

    .navbar nav {
        position: fixed;

        top: 0;
        left: 0;

        width: min(70%, 380px);
        height: 100vh;

        display: block;

        background: #fff;

        transform: translateX(-100%);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);

        z-index: 1001;

        padding: 30px 20px 30px;
        /* justify-content: flex-start; */

        overflow-y: auto;
    }

    /*Nuevo*/
    .navbar nav.active {
        transform: translateX(0);
    }

    /*Nuevo*/
    .nav-overlay {

        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, 0.45);

        opacity: 0;
        visibility: hidden;

        transition: opacity 0.3s ease;

        backdrop-filter: blur(3px);

        z-index: 1000;
    }

    /*Nuevo*/
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* .navbar nav>ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    } */

    .navbar nav>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .navbar nav>ul>li {
        -webkit-tap-highlight-color: transparent;
    }

    .navbar nav>ul>li>a {
        padding: 2px 0px;
    }

    .dropdown {
        position: static;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;

        background: transparent;
        border: none;
        box-shadow: none;

        padding: 0;

        width: 100%;
        max-width: none;

        overflow: hidden;

        max-height: 0;

        transition: max-height .45s ease;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown::before {
        display: none;
    }

    .navbar nav>ul>li::after {
        display: none;
    }

    .has-dropdown.active .dropdown {
        /* max-height: 300px; */
        max-height: 1000px;
    }

    .dropdown li a {
        padding: 8px 10px;
        font-size: 13px;
    }

    /* .dropdown-expand:hover .dropdown-expand-menu {
        max-height: 0;
    }

    .dropdown li.dropdown-expand:hover>a::after {
        transform: rotate(45deg);
    } */

    .dropdown-expand.active .dropdown-expand-menu {
        max-height: 300px;
    }

    .dropdown li.dropdown-expand.active>a::after {
        transform: rotate(-135deg);
    }
}

@media(max-width: 450px) {
    .logo img {
        height: 50px;
    }
}


/**********
  Carrusel
***********/
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: flex-start;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-400), var(--analogous-02-500));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 71, 240, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-hero);
}

.carousel-container::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 100%;

    background: radial-gradient(circle,
            rgba(31, 149, 222, 0.25),
            transparent 100%);

    filter: blur(30px);
    z-index: 0;
}

.carousel-track {
    display: flex;
    align-items: stretch;
}

.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);

    color: white;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;

    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.prev-btn svg,
.next-btn svg {
    stroke-width: 4;
    stroke: currentColor;
    fill: none;
    display: block;
    width: 2em;
    height: 2em;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(31, 149, 222, 0.3);
    opacity: 1;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--analogous-02-300);
    transform: scale(1.3);
}

.slide-content {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px 5%;
    color: white;
    gap: 20px;
}

.block1>* {
    position: relative;
    z-index: 1;
}

.slide-text {
    flex: 1.2;
    /* min-width: 300px; */
    max-width: 100%;
    transform: translateX(-100px);
    opacity: 0;
    transition: transform .6s cubic-bezier(0.2, 0.8, 0.2, 3), opacity .6s linear;
    /* will-change: transform; */
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image.rel {
    position: relative;
}

.slide-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;

    border-radius: 12px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(31, 149, 222, 0.15);
}


.carousel-slide.active .slide-text {
    transform: translateX(0);
    opacity: 1;
}

.slide-content h1 {
    line-height: 1.1;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -1px;
    margin: 0px 0px 15px 0px;

    background: linear-gradient(to bottom, #ffffff, var(--onsurface-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 18px;
    margin: 0;
    color: var(--onsurface-050);
}

.slide-img-wrapper {
    position: relative;
    display: block;
}

.slide-img-wrapper>img:first-child {
    display: block;
}

.slide-image img.zebra-badge {
    position: absolute;

    top: 5px;
    left: 5px;

    width: 15%;
    height: auto;

    z-index: 2;
}

.rfid-wave {
    position: absolute;
    z-index: 2;

    top: 5%;
    left: 38%;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    border: 2px solid var(--secondary-400);
    animation: pulse 2.4s infinite;
}

.rfid-wave:before,
.rfid-wave:after {
    content: "";
    z-index: 2;
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid var(--secondary-400);
}

.rfid-wave:after {
    inset: 20px
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(.96);
        opacity: .8
    }

    50% {
        transform: scale(1.07);
        opacity: 1
    }
}

@media (max-width: 1340px) {
    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons.limit {
        max-width: fit-content;
        margin: 15px auto 0px;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 30px 5% 50px;
    }

    .slide-text,
    .slide-image {
        flex: none;
    }

    .slide-img-wrapper {
        max-width: 60%;
    }

    .slide-image img {
        max-width: 60%;
    }

    .slide-img-wrapper img:first-child {
        max-width: 100%;
    }
}

@media (max-width:760px) {
    .slide-content p {
        font-size: 1rem;
    }

    .slide-image img {
        max-width: 500px;
    }

    .slide-img-wrapper {
        max-width: 500px;
    }

    .slide-image img.zebra-badge {
        border-radius: 5px;
    }
}

@media (max-width:520px) {
    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 450px) {

    .rfid-wave {
        width: 40px;
        height: 40px;
    }

    .rfid-wave:before,
    .rfid-wave:after {
        inset: 5px;
    }

    .rfid-wave:after {
        inset: 12px
    }

}

/*******************
  Seccion Clientes 
********************/
.clients-section {
    padding: 40px 0;
    border-top: 1px solid var(--onsurface-100);
    /* background: var(--bg-clients); */
    background: #f6faff;
    text-align: center;

    overflow: hidden;
}

.section-title-service h2 {
    line-height: 1.4;
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 700;

    /* color: var(--on-text); */

    background: linear-gradient(to left,
            var(--analogous-02-700) 0%,
            var(--on-text) 100%);

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

.section-title-service h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-400);
    border-radius: 2px;
}

.slider {
    width: 100%;
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, #f6faff, transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(to left, #f6faff, transparent);
}

.slide-track {
    display: flex;
    width: calc(250px * 22);
    animation: scroll 35s linear infinite;
    will-change: transform;
}

.slide {
    width: 250px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0;
}

.slide img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;

    filter: grayscale(100%) brightness(0.8) opacity(0.5);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide img:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 11));
    }
}


@media (max-width: 900px) {

    .clients-section {
        padding: 35px 10px;
    }

    .section-title-service h2 {
        margin-bottom: 25px;
    }
}

/*******************
  Seccion Productos 
********************/
.products-section {
    border-top: 1px solid var(--products-border);
    background-color: var(--bg-products);
}

.products-container {
    padding: 20px 20px 40px;
}

.products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.products-header h2 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    line-height: 1.1;
    /* color: var(--on-text); */
    background: linear-gradient(to left,
            var(--analogous-02-700) 0%,
            var(--on-text) 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.products-header p {
    color: var(--onsurface-900);
    font-size: 1rem;
}

/* GRID */
.products-gcards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD */
.products-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;

    border: 1px solid var(--onsurface-100);
    box-shadow: 0 10px 30px rgba(5, 13, 26, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.products-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 13, 26, 0.12);
    border-color: var(--primary-200);
    /* border-color: rgba(30, 95, 138, 0.452); */
}

/* IMAGE */
.products-card-img {
    position: relative;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(180deg,
            var(--background-040),
            var(--background-100));

    overflow: hidden;
}

.products-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.products-card:hover .products-card-img img {
    transform: scale(1.15);
}

/* BADGE */

.products-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* background: linear-gradient(90deg, rgba(10, 61, 98, 0.9), rgba(30, 95, 138, 0.85), rgba(46, 125, 170, 0.8)); */
    background: linear-gradient(90deg,
            var(--primary-600),
            var(--analogous-02-400));

    backdrop-filter: blur(4px);

    color: #fff;
    font-size: 0.7rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* BODY */
.products-card-body {
    padding: 22px;
}

.products-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--on-text);
}

.products-card-body p {
    font-size: 0.9rem;
    color: var(--onsurface-800);
    margin-bottom: 20px;
}

/* BUTTON */
.products-btn {
    display: inline-block;
    font-size: 0.85rem;
    padding: 10px 18px;

    border: 1px solid var(--primary-400);
    color: var(--primary-400);

    text-decoration: none;
    border-radius: 6px;

    transition: all 0.25s ease;
}

.products-btn:hover {
    background: linear-gradient(135deg,
            var(--primary-500),
            var(--analogous-02-300));


    color: #fff;
    box-shadow: 0 5px 20px rgba(31, 149, 222, 0.2);
}

/* BRANDS & LOGOS */
.products-brands {
    margin-top: 70px;
    text-align: center;
}

.products-brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.products-brand-logos div {
    display: flex;
    align-items: self-end;
    justify-content: center;

    height: 70px;
    width: 250px;
}

.products-brand-logos img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

.products-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.products-divider span {
    font-size: 1.05rem;
    color: var(--onsurface-900);
    white-space: nowrap;
}

.products-divider::before,
.products-divider::after {
    content: "";
    flex: 1;
    height: 1px;
}

.products-divider::before {
    background: linear-gradient(to right,
            transparent,
            var(--onsurface-600));
}

.products-divider::after {
    background: linear-gradient(to left,
            transparent,
            var(--onsurface-600));
}

@media (max-width: 768px) {

    .products-brand-logos {
        gap: 24px;
    }

    .products-brand-logos div {
        width: 140px;
        height: 60px;
    }

}


/********************
  Seccion Soluciones 
*********************/
.solutions-section {
    width: 100%;
    border-top: 1px solid var(--solutions-border);
    background: var(--bg-solutions)
}

.solutions-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--on-text);
}

/* Header */
.solutions-header {
    margin-bottom: 50px;
}

.solutions-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--onsurface-800);
    margin-bottom: 12px;
    font-weight: 600;
}

.solutions-container h1 {
    font-size: 48px;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: var(--on-text);
}

.solutions-description {
    font-size: 18px;
    color: #4a5568;
    max-width: 520px;
}

.italic-blue {
    color: var(--primary-400);
    font-style: italic;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--onsurface-200);
}

.solution-card {
    position: relative;
    overflow: hidden;

    display: flex;
    padding: 40px;

    border-bottom: 1px solid var(--onsurface-200);

    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(8px);

    transition: all 0.25s ease;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(120deg,
            transparent,
            rgba(31, 150, 222, 0.05),
            transparent);

    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:nth-child(odd) {
    border-right: 1px solid var(--onsurface-200);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-6px);

}

.solution-card:nth-child(2n+1):hover {
    box-shadow: -10px 10px 0px rgba(0, 0, 0, 0.06);
}

.solution-card:nth-child(2n):hover {
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.06);
}

.solution-number {
    font-size: 20px;
    font-style: italic;
    font-weight: 700;

    color: var(--primary-400);

    margin-right: 25px;
    min-width: 40px;
}

.solution-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;

    color: var(--on-text);
}

.solution-content p {
    font-size: 16px;
    line-height: 1.5;

    color: var(--onsurface-800);
}

.bottom-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.solutions-link {
    color: var(--primary-400);
    text-decoration: none;
    font-weight: 600;

    border-bottom: 2px solid var(--primary-400);
    padding-bottom: 4px;

    transition: all 0.2s ease;
}

.solutions-link:hover {
    color: var(--analogous-02-300);
    border-color: var(--analogous-02-300);
}

/* Responsive */
@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card:nth-child(odd) {
        border-right: none;
    }

    .solutions-container h1 {
        font-size: 32px;
    }
}

/*******************
  Seccion Servicios 
********************/
.services-section {
    border-top: 1px solid var(--services-border);
    background-color: var(--bg-services)
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--on-text);
}

/* Header */
.services-header {
    margin-bottom: 60px;
}

.services-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--onsurface-800);
    margin-bottom: 12px;
    font-weight: 600;
}

.services-title {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;

    color: var(--on-text);
}

/* Lista de Servicios */
.services-list {
    border-top: 1px solid var(--services-border);
    margin-left: 10px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 40px 0px 40px 12px;
    border-bottom: 1px solid var(--services-border);
    position: relative;
    transition: all 0.25s ease;
}

.service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;

    width: 0;
    height: 100%;

    background: linear-gradient(180deg,
            var(--primary-400),
            var(--analogous-02-300));

    transition: width 0.3s ease;
}

.service-item:hover::before {
    width: 3px;
}

.service-item:hover {
    transform: translateX(6px);
}

.service-number {
    font-size: 20px;
    font-style: italic;
    font-weight: 700;

    color: var(--onsurface-700);

    min-width: 60px;
    padding-top: 5px;

    transition: color 0.25s ease;
}

.service-item:hover .service-number {
    color: var(--primary-400);
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid var(--onsurface-200);

    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;

    background: linear-gradient(135deg,
            var(--background-050),
            var(--background-100));

    flex-shrink: 0;

    transition: all 0.3s ease;
}

.service-item:hover .service-icon-box {
    border-color: var(--primary-200);

    /* box-shadow: 0 5px 15px rgba(31, 98, 222, 0.2); */
}

.service-content {
    max-width: 700px;
}

.service-content h3 {
    font-size: 20px;
    margin: 0 0 10px 0;

    color: var(--on-text);
    font-weight: 600;

    transition: color 0.25s ease;
}

.service-item:hover .service-content h3 {
    color: var(--primary-400);
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--onsurface-800);
}

@media (max-width: 900px) {
    .service-item {
        flex-direction: column;
    }

    .service-number {
        margin-bottom: 15px;
    }

    .service-icon-box {
        margin-bottom: 20px;
    }

    .services-title {
        font-size: 30px;
    }
}

/************
 Section CTA
*************/
.cta-section {
    width: 100%;
    border-top: 1px solid var(--cta-border);
    background: var(--bg-cta);

    padding: 100px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);

    width: 600px;
    height: 600px;

    background: radial-gradient(circle,
            rgba(31, 149, 222, 0.25),
            transparent 80%);

    filter: blur(100px);
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;

    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta-section p {
    color: var(--onsurface-300);
    font-size: 16px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;

    background: rgba(255, 255, 255, 0.08);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);

    padding: 14px 32px;
    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    transition: all 0.25s ease;
}

.cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);

    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::after {
    opacity: 1;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}


@media (max-width: 900px) {
    .cta-section {
        padding: 50px 20px;
    }
}

/********
  Footer
*********/
.main-footer {
    position: relative;
    overflow: hidden;
    background: var(--bg-footer);
    border-top: 1px solid var(--footer-border);

    color: #ffffff;
    padding: 50px 0 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    padding: 0 5%;
    gap: 50px;
}

.footer-col {
    flex: 1;
}

.footer-col.init {
    flex: none;
    max-width: 350px;
}

.footer-col h3 {
    font-size: 24px;
    /* color: #1e5f8a; */

    background: linear-gradient(90deg,
            var(--primary-400),
            var(--analogous-02-300));

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;

    color: #ffffff;

    border-bottom: 2px solid var(--primary-400);
    display: inline-block;
    padding-bottom: 4px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;

    color: var(--onsurface-400);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--onsurface-400);
    text-decoration: none;
    font-size: 14px;

    transition: all 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--analogous-02-300);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;

    border-top: 1px solid var(--footer-border);

    font-size: 12px;
    color: var(--onsurface-500);
}

@media (max-width: 1400px) {
    .footer-col.init {
        flex: 0 0 100%;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .footer-container {
        justify-content: flex-start;
        gap: 25px
    }

    .footer-col:not(.init) {
        flex: 0 0 calc(50% - 25px);
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        /* text-align: center; */
    }
}

/***************
   PG CONTACTO
****************/
.contacto-section {
    max-width: 1200px;

    margin: 0 auto;
    padding: 35px 0px;
    color: var(--on-text);
    /* background: linear-gradient(0deg, var(--onsurface-050) 0%, var(--onsurface-040) 100%); */
}

.contacto-breadcrumb {
    font-size: 0.9rem;
    color: var(--onsurface-400);
    margin-bottom: 8px;
}

.contacto-header-container {
    max-width: 100%;
    border-radius: 0;
    padding: 40px 10px;
    background: var(--bg-contacto);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacto-header-container h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
    background: linear-gradient(to bottom, #ffffff, var(--primary-100));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contacto-subtitle {
    color: var(--primary-100);
    max-width: 600px;
}

.contacto-full-divider-top,
.contacto-full-divider-bot {
    border: 0;
    border-top: 1px solid var(--onsurface-100);
    margin: 40px 0;
    align-items: start;
}

.contacto-vertical-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom,
            transparent,
            var(--onsurface-200),
            transparent);
}

.contacto-content-wrapper {
    max-width: 1200px;
    margin: 0px auto 0px auto;
    display: grid;
    grid-template-columns: 1fr auto 1.5fr;
    gap: 10px;
    padding: 0 20px;
}

.contacto-label-top {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--onsurface-600);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.contacto-col-detalles {
    padding-right: 20px;
}

.contacto-col-detalles p {
    margin: 6px 0px 30px 0px;
}

.contacto-col-formulario {
    padding-left: 20px;
}

.contacto-col-formulario p {
    margin: 6px 0px 30px 0px;
}

.contacto-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--onsurface-100);
}

.contacto-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* glass + gradient */
    background: #ffffff;
    border: 1px solid var(--onsurface-100);
    color: var(--primary-600);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.03);
}

.contacto-icon-box i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.contacto-info-text label {
    display: block;
    font-size: 0.8rem;
    color: var(--onsurface-600);
}

.contacto-info-text strong {
    display: block;
    font-size: 1rem;
    color: var(--on-text);
}

.contacto-info-text a {
    display: block;
    color: var(--primary-400);
    text-decoration: none;
    font-weight: 600;
}

.contacto-info-text a:hover {
    text-decoration: underline;
}

.contacto-col-formulario {
    flex: 1.2;
}

.contacto-grid-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* INPUTS */
.contacto-form-group {
    display: flex;
    flex-direction: column;
}

.contacto-form-group.half {
    width: calc(50% - 8px);
}

.contacto-form-group.full {
    width: 100%;
}

.contacto-form-group input,
.contacto-form-group select,
.contacto-form-group textarea {
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    /* Limpieza absoluta */
    border: 1px solid var(--onsurface-200);
    color: var(--abismo);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FOCUS elegante */
.contacto-form-group input:focus,
.contacto-form-group select:focus,
.contacto-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-050);
}

/* TEXTAREA */
.contacto-form-group textarea {
    resize: vertical;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    max-height: 300px;
}

/* LABEL */
.contacto-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--onsurface-700);
}

.contacto-btn-enviar {
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg,
            var(--primary-500),
            var(--analogous-02-400));
    box-shadow: 0 10px 25px rgba(0, 48, 179, 0.25);
    transition: all 0.25s ease;
}

.contacto-btn-enviar:disabled {
    background: #cccccc;
    color: #777777;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.contacto-btn-enviar:not(:disabled):hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg,
            var(--primary-400),
            var(--analogous-02-300));
    box-shadow: 0 15px 30px rgba(0, 48, 179, 0.35);
}

.contacto-mapa-min {
    max-width: 100%;
    margin: 0 25px;
    border-radius: 8px;
    border: 2px solid var(--onsurface-500);
    box-shadow: 0 10px 30px rgba(5, 13, 26, 0.15);
    overflow: hidden;
}

.contacto-mapa-min:hover {
    box-shadow: 0 10px 20px rgba(5, 13, 26, 0.25);
}

.contacto-mapa-min iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    filter: grayscale(0.2) contrast(1.1);
    display: block;
}

@media (max-width: 900px) {
    .contacto-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacto-vertical-divider {
        display: none;
    }

    .contacto-col-detalles,
    .contacto-col-formulario {
        padding: 0;
    }

}

@media (max-width: 500px) {
    .contacto-form-group.half {
        width: 100%;
    }

    .contacto-btn-enviar {
        width: 100%;
        margin: auto;
        max-width: 300px;
    }

    .contacto-mapa-min iframe {
        height: 300px;
    }
}

/***************
  Inventario AF
****************/
.inventario-af-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    color: var(--on-text);
    margin: 0;
}

.inventario-af-sidebar {
    width: 300px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(90deg,
            var(--medianoche) 0%,
            var(--analogous-02-800) 100%);

    color: white;
    padding: 20px 0;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.inventario-af-logo-section {
    padding: 0 30px 20px 20px;
}

.inventario-af-logo-section h1 {
    font-size: 1.3rem;
    line-height: 1;
    margin: 0 0 5px 0;
    background: linear-gradient(to bottom,
            #ffffff,
            var(--onsurface-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inventario-af-logo-section p {
    color: var(--primary-200);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.inventario-af-nav-label {
    border-top: 1px solid var(--onsurface-900);
    color: var(--onsurface-500);
    font-weight: 600;
    padding: 10px 30px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.inventario-af-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--secondary-400);
    /* color: var(--onsurface-400); */
    /* Un tono que resalte sutilmente */
    opacity: 1;
}

.nav-main-text {
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 400;
}

.inventario-af-nav-item {
    padding: 15px 30px 15px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.7;
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inventario-af-nav-item.inventario-af-active {
    background: linear-gradient(270deg,
            rgba(61, 119, 255, 0.18),
            rgba(61, 119, 255, 0.08));
    border-left: 3px solid var(--secondary-500);
    opacity: 1;
    box-shadow:
        inset 0 0 25px rgba(61, 119, 255, 0.15),
        0 0 10px rgba(61, 119, 255, 0.15);
}


.inventario-af-nav-item .nav-subtitle {
    font-weight: bold;
}

.inventario-af-nav-item:hover:not(.inventario-af-active) {
    opacity: 1;
    transform: translateX(4px);

    background: linear-gradient(270deg,
            rgba(61, 119, 255, 0.10),
            rgba(61, 119, 255, 0.05));

    box-shadow: inset 0 0 20px rgba(61, 119, 255, 0.08);
}

.inventario-af-nav-item::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) scale(0);

    width: 6px;
    height: 6px;
    border-radius: 50%;

    background: var(--secondary-300);
    box-shadow: 0 0 10px var(--secondary-300);

    transition: all 0.25s ease;
    opacity: 1;
}

.inventario-af-nav-item:hover::after {
    transform: translateY(-50%) scale(1);
    opacity: 0.8;
}

.inventario-af-nav-item.inventario-af-active::after {
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

@media (max-width: 900px) {
    .inventario-af-wrapper {
        flex-direction: column;
    }

    .inventario-af-logo-section {
        padding-left: 0px;
    }
}

/* --- CONTENIDO PRINCIPAL --- */
.inventario-af-main-content {
    flex-grow: 1;
    padding: 35px;
    margin: 0 auto;

    background: linear-gradient(45deg,
            var(--primary-050) 0%,
            var(--primary-040) 25%,
            var(--bg-navbar) 50%,
            var(--primary-040) 75%,
            var(--primary-050) 100%);
}


.inventario-af-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    /* gap: 30px; */
    align-items: start;
}

.inventario-af-container.no-col {
    grid-template-columns: minmax(0, 1fr);
}

.inventario-af-container.no-image {
    grid-template-columns: 1fr;
}

.inventario-af-container.no-image .inventario-af-image-col {
    padding: 0px;
    margin: 35px 0px 0px;
    display: block;
    grid-column: 1;
    grid-row: 3;
}


.inventario-af-header-block {
    grid-column: 1;
    grid-row: 1;
}

.inventario-af-header-block.full-width {
    grid-column: 1 / -1;
}

.inventario-af-header-block.full-width~.inventario-af-image-col {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
}

.inventario-af-text-col {
    grid-column: 1;
    grid-row: 2;
}

.inventario-af-image-col {
    grid-column: 2;
    grid-row: 1 / span 2;

    display: flex;
    justify-content: center;
    align-self: center;
    margin-left: 20px;
}

.inventario-af-image-col.top {
    align-self: start;
}

.inventario-af-category {
    color: var(--primary-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.inventario-af-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--primary-900);
    line-height: 1.3;
}

.inventario-af-title span {
    display: block;
    font-style: italic;
    color: var(--primary-400);
    font-weight: 400;
}

.inventario-af-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-400),
            var(--analogous-02-300));
    margin: 10px 0 15px;
    border-radius: 2px;
}

/* DESCRIPTION */
.inventario-af-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--on-text);
    margin-bottom: 20px;
}

.inventario-af-description strong {
    color: var(--primary-600);
}

/* --- GRID --- */
.inventario-af-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.inventario-af-grid-mt {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

.inventario-af-grid-cl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inventario-af-container.no-image .inventario-af-grid-cl {
    grid-template-columns: repeat(4, 1fr);
}

.af-card-only {
    width: 95%;
    margin: 0 auto;
}

.card-adapt {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1500px) {
    .inventario-af-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .inventario-af-header-block,
    .inventario-af-header-block.full-width,
    .inventario-af-text-col,
    .inventario-af-image-col {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
    }

    .inventario-af-header-block.full-width~.inventario-af-image-col {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
    }

    .inventario-af-image-col {
        display: flex;
        justify-content: center;
        padding: 30px 0px 0px;
        margin: auto;
    }

}

@media (max-width: 900px) {

    .inventario-af-header-block.full-width~.inventario-af-image-col {
        grid-column: 1;
        grid-row: auto;
        max-width: 100%;
    }

    .inventario-af-header-block {
        order: 1;
    }

    .inventario-af-text-col {
        order: 2;
    }

    .inventario-af-image-col {
        order: 3;
    }
}

/* CARD */
.inventario-af-card {
    position: relative;
    background: rgb(255, 255, 255, 0.35);

    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(220, 222, 230, 0.4) 100%); */

    border-top: 1.5px solid rgba(255, 255, 255, 0.8);
    border-left: 1.5px solid rgba(255, 255, 255, 0.3);
    border-right: 1.5px solid rgba(140, 155, 180, 0.3);
    border-bottom: 1.5px solid rgba(140, 155, 180, 0.8);
    backdrop-filter: blur(18px) saturate(1.2);

    box-shadow:
        0 6px 30px rgba(70, 90, 130, 0.25),
        0 2px 6px rgba(70, 90, 130, 0.1);

    padding: 15px 20px;
    border-radius: 10px;

    transition: all 0.3s ease;
}


.inventario-af-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 34px rgba(50, 70, 120, 0.35),
        0 6px 10px rgba(50, 70, 120, 0.2);

    background: rgba(255, 255, 255, 0.55);
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(220, 222, 230, 0.01) 100%); */

    border-top: 1.5px solid rgba(255, 255, 255, 1);
    border-left: 1.5px solid rgba(255, 255, 255, 0.5);
    border-right: 1.5px solid rgba(120, 140, 180, 0.3);
    border-bottom: 1.5px solid rgba(120, 140, 180, 0.6);
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-col-2 {
    column-width: 200px;
}

.beneficio-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    break-inside: avoid;
}

.beneficio-item:last-child {
    margin-bottom: 0px;
}

.inventario-af-step:nth-child(5) {
    grid-column: span 2;
    width: 50%;
    justify-self: center;
}

/* ICON */
.inventario-af-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(135deg,
            var(--primary-100),
            var(--primary-050));

    box-shadow: 0 4px 15px rgba(60, 90, 140, 0.12);
}

.inventario-af-icon.only {
    margin-bottom: 10px;
}

.inventario-af-icon i {
    font-size: 1.6rem;
    color: var(--primary-600);
}

.inventario-af-icon svg {
    width: 80%;
    height: auto;
    fill: var(--primary-600);
    stroke: var(--primary-600);
    stroke-width: 1;
}


.card-header-icon.orange .inventario-af-icon {
    background: linear-gradient(135deg, var(--secondary-100), var(--secondary-050));
}

.card-header-icon.orange i {
    color: var(--secondary-600);
}

/* .inventario-af-icon.orange{
    background: linear-gradient(135deg,
            var(--secondary-100),
            var(--secondary-050));
} */

.inventario-af-icon.orange i {
    color: var(--secondary-600);
}

.inventario-af-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
    color: var(--primary-600);
}

.mod-icon {
    font-size: 2rem;
}

.inventario-af-circle {
    background-color: var(--primary-400);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(0, 97, 224, 0.3);
}

.check-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;

    width: 34px;
    height: 34px;

    /* background-color: var(--primary-050); */

    background: radial-gradient(circle at center,
            var(--onsurface-100) 0%,
            var(--onsurface-300) 35%,
            var(--onsurface-500) 100%);
    /* background: linear-gradient(135deg,
            rgba(34, 197, 94, 0.918),
            rgba(22, 163, 74, 0.908)); */

    /* border: 1px solid var(--abismo); */

    color: var(--primary-500);

    margin-right: 15px;

    transition:
        transform 0.25s ease,
}

.check-icono.green {
    background: radial-gradient(circle at center,
            #fff 0%,
            #e9fff3 35%,
            #9be0d1 100%);

    /* background: radial-gradient(circle at center,
            #f0faf5 0%,
            #c6e8d8 35%,
            #7bbea8 100%); */

    color: #244a40;
}

.check-icono.no-marg {
    margin: 0;
}

.check-icono::after {
    content: '✓';
    font-size: 1.1rem;
    font-weight: bold;
}

.inline-icono {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: var(--primary-400);
}

.inventario-af-card h3 {
    font-size: 1rem;
    margin: 0 0 10px 0;
    color: var(--primary-600);
}


/* .inventario-af-card h3::before {
    content: "";
    display: block;
    width: 4px;
    height: 16px;
    background: var(--primary-600);
    border-radius: 10px;
} */


.beneficio-item p {
    font-size: 1rem;
    color: var(--on-text);
}

.inventario-af-step h3 {
    color: var(--primary-900);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.inventario-af-step p {
    color: var(--on-text);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* CARD IMAGE*/
.inventario-af-card.image {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 2.2rem;
    color: var(--primary-400);

    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-icon i {
    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    border: 1px solid var(--primary-500);
}

.card-header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Logo alineado a la izquierda, cámbialo a 'center' si prefieres centrado */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Línea sutil divisoria */
    padding-bottom: 12px;
}

.client-logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.card-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Resaltado opcional para datos clave dentro del párrafo */
.card-body strong {
    color: #1e3c5a;
    font-weight: 600;
}

/* CARD CLIENT*/
.card-client-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-client-header img {
    width: auto;
    max-width: 100px;
    height: 80px;
    object-fit: contain;
}

.card-client-header h3 {
    margin: 0;
    line-height: 1;
}

.card-client-header .badge {
    font-size: 12px;
    background: var(--analogous-02-600);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 4px;
}

.card-client-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    border-top: 1px solid var(--onsurface-200);
    margin: 8px 0px 0px;
}

.dato span {
    font-size: 0.8rem;
    color: var(--onsurface-900);
    font-weight: bold;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

.dato p {
    color: var(--on-text);
    font-size: 0.85rem;
    font-weight: bolder;
}

.card-client-history {
    margin-top: 4px;
    border-top: 1px solid var(--onsurface-200);
}

.card-client-history>span {
    font-size: 0.8rem;
    color: var(--onsurface-900);
    font-weight: bold;
    opacity: 0.75;
}

.chips {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    background: rgba(25, 127, 223, 0.15);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--on-text);
}

@media (max-width: 1500px) {
    .inventario-af-card.only {
        max-width: 700px;
        margin: auto;
    }

    .inventario-af-grid-mt {
        max-width: 800px;
        margin: auto;
    }
}

@media (max-width: 900px) {
    .card-client-header img {
        max-width: 100px;
        width: auto;
        height: 60px;
    }
}

.image-wrapper {
    position: relative;
    display: flex;
    transition: transform 0.3s ease;
}

.image-wrapper img {
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease;
}

.image-wrapper.no-shadow img {
    box-shadow: none;
}

.image-wrapper:hover {
    transform: translateY(-5px);
}

.overlay-text {
    z-index: 10;
    font-size: 0.9rem;
    position: absolute;
    bottom: 15px;
    left: 15px;
    /* text-transform: uppercase; */
    /* background-color: rgba(0, 0, 0, 0.6); */
    background-color: rgba(61, 119, 255, 0.6);
    background-color: rgba(10, 71, 240, 1);


    border: 1px solid var(--marino);
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.overlay-text.stack {
    white-space: nowrap;
    font-size: 0.8rem;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 0);
}

.img-container-stack {
    display: flex;
    justify-content: center;
    align-self: center;
}

.stacked-images {
    position: relative;
    width: 300px;
    height: 630px;
}

.stacked-images.tag {
    width: 600px;
    height: 400px;
}

.stacked-images.af {
    width: 600px;
    height: 460px;
}

.stacked-images.sub-cont {
    max-width: none;
    border-radius: 12px;
    background: radial-gradient(circle at center,
            var(--background-400) 0%,
            var(--background-600) 35%,
            var(--medianoche) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 25px 50px;
    width: 600px;
    height: 400px;
}

.stacked-images.sub-cont.V2 {
    background: radial-gradient(circle at center,
            var(--background-100) 0%,
            var(--background-300) 35%,
            var(--onsurface-900) 100%);
}

.stacked-images.sub-cont>div {
    position: relative;
    width: 100%;
    height: 100%;
}

.stacked-images img {
    position: absolute;

    inset: 0;
    width: 100%;
    height: 100%;
    /* height: auto; */

    object-fit: contain;

    opacity: 0;
    pointer-events: none;
}

.stacked-images.tag img {
    object-fit: fill;
}

.stacked-images.af img {
    object-fit: fill;
}

.stacked-images img.active {
    opacity: 1;
    /* position: relative; */
    pointer-events: auto;
}

.stacked-images img.img-full {
    margin: -25px -50px;
    width: calc(100% + 100px);
    height: calc(100% + 50px);
    object-fit: fill;
}

@media (max-width: 1560px) {
    .stacked-images.af {
        width: 500px;
        height: 383px;
    }
}

@media (max-width: 1500px) {
    .stacked-images.af {
        width: 600px;
        height: 460px;
    }
}

@media (max-width: 960px) {

    .stacked-images.af {
        width: 500px;
        height: 383px;
    }
}

@media (max-width: 900px) {

    .stacked-images {
        height: 500px;
    }

    .stacked-images.sub-cont {
        padding: 0px 10px;
        width: 300px;
        height: 350px;
    }

    .stacked-images.tag {
        width: 320px;
        height: 250px;
    }

    .overlay-text {
        padding: 2px 8px;
        bottom: 10px;
    }

    .overlay-text.stack {
        bottom: 20px;
        font-size: 0.7rem;
    }
}


@media(max-width:600px) {
    .stacked-images.af {
        width: 320px;
        height: 250px;
    }
}

/* FORMULARIO */
.inventario-af-form-block {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin: 30px auto 0px;
    max-width: 900px;
    width: 100%;
}

.inventario-af-form-section {
    display: flex;
}

.inventario-af-form {
    border-radius: 18px;
    border: 1px solid var(--onsurface-200);
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 24px rgba(0, 80, 180, 0.09);
}

.inventario-af-form p {
    margin: 6px 0px 20px 0px;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}


@media (max-width: 900px) {

    .inventario-af-form-block {
        order: 4;
        /* margin: 0; */
    }

    .contacto-grid-form {
        gap: 15px;
    }

    .contacto-btn-enviar.sp {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

        width: 280px;
        height: auto;
    }
}

@media (max-width: 1700px) {
    .inventario-af-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .inventario-af-form-section {
        flex-direction: column;
        gap: 0px;
    }

    .inventario-af-form-wrapper {
        padding: 0px 10px 20px;
    }

    .inventario-af-form {
        padding: 20px 20px;
    }

    .inventario-af-grid-cl {
        grid-template-columns: 1fr;
    }

    .inventario-af-container.no-image .inventario-af-grid-cl {
        grid-template-columns: 1fr;
    }

    .inventario-af-sidebar {
        width: 100%;
        padding: 20px 15px;
    }

    .inventario-af-main-content {
        padding: 30px 25px;
    }


    /* .inventario-af-sidebar::after {
        content: "";
        bottom: 80px;
        left: -5px;
        width: 100%;
        height: 100%;
        opacity: 1;
        filter: blur(40px);
    } */

    .inventario-af-sidebar::after {

        position: absolute;
        top: 0;
        right: 0;

        width: 50px;
        height: 100%;

        pointer-events: none;
        z-index: 5;

        background: linear-gradient(to left, var(--analogous-02-800) 20%, transparent);
        /* background: linear-gradient(to left,
                var(--analogous-02-800),
                rgba(0, 56, 115, 0.5)); */
    }

    .inventario-af-nav ul {
        display: flex;
        gap: 10px;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .inventario-af-nav ul::-webkit-scrollbar {
        height: 5px;
    }

    .inventario-af-nav ul::-webkit-scrollbar-track {
        background: transparent;
    }

    .inventario-af-nav ul::-webkit-scrollbar-thumb {
        border: none;
        background: rgba(188, 213, 241, 0.18);
        border-radius: 10px;
    }


    .inventario-af-nav-item {
        /* white-space: nowrap;
        flex: 0 0 auto; */
        flex: 0 0 clamp(180px, 90vw, 260px);
        opacity: 1;
        -webkit-tap-highlight-color: transparent;
        scroll-snap-align: start;
        /*new*/
        padding: 12px 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);

        backdrop-filter: blur(6px);
        transition: all 0.25s ease;
    }

    .inventario-af-nav-item.inventario-af-active {
        border: none;
        background: linear-gradient(135deg,
                rgba(61, 119, 255, 0.35),
                rgba(61, 119, 255, 0.15));

        color: #fff;
        border-radius: 20px;
        /* padding: 10px 18px; */
        background: linear-gradient(135deg,
                rgba(61, 119, 255, 0.35),
                rgba(61, 119, 255, 0.15));
        border: 1px solid rgba(61, 119, 255, 0.4);
    }

    .inventario-af-nav-item::after {
        display: none;
        content: none;
    }

    .inventario-af-nav-item:hover:not(.inventario-af-active) {
        transform: none;
    }
}

@media (max-width: 450px) {
    .inventario-af-main-content {
        padding: 30px 15px;
    }

    .inventario-af-grid {
        grid-template-columns: 1fr;
    }

    .inventario-af-grid-mt {
        grid-template-columns: 1fr;

    }

    .inventario-af-step:nth-child(5) {
        grid-column: span 1;
        width: 100%;
    }
}


/* Estilos del Botón Flotante */
.inventario-af-btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: linear-gradient(135deg,
            var(--primary-500),
            var(--primary-400));

    color: #fff;
    border: none;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;

    font-size: 0.95rem;
    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(0, 48, 179, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);

    transition: all 0.25s ease;

    z-index: 9999;

    /* animation: inventario-af-float 3s ease-in-out infinite; */
}

.inventario-af-btn-float:hover {
    background: linear-gradient(135deg,
            var(--primary-600),
            var(--primary-400));

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0, 48, 179, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.inventario-af-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    backdrop-filter: blur(4px);
}

.inventario-af-btn-float:active {
    transform: translateY(-1px) scale(0.98);
}

/* Animación de entrada y pulso sutil */
@keyframes inventario-af-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .inventario-af-title {
        font-size: 1.8rem;
    }

    .inventario-af-btn-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.85rem;
        gap: 8px;
    }

    /* .inventario-af-btn-float span {
        display: none;
    } */

    /* .inventario-af-btn-float::after {
        content: 'Contáctenos';
        font-weight: 600;
    } */
}


/*************
 Arrendamiento
**************/
.alq-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}


.alq-grid-prod {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alq-prod-card {
    background: rgb(255, 255, 255, 0.35);

    border-top: 1.5px solid rgba(255, 255, 255, 0.8);
    border-left: 1.5px solid rgba(201, 210, 223, 0.4);
    border-right: 1.5px solid rgba(140, 155, 180, 0.4);
    border-bottom: 1.5px solid rgba(140, 155, 180, 0.6);
    backdrop-filter: blur(18px) saturate(1.2);

    box-shadow:
        0 6px 30px rgba(70, 90, 130, 0.25),
        0 2px 6px rgba(70, 90, 130, 0.1);

    border-radius: 10px;

    transition: all 0.3s ease;
    color: var(--on-text);
    overflow: hidden;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.alq-prod-card.limit {
    max-width: 450px;
}

.alq-prod-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 34px rgba(50, 70, 120, 0.35),
        0 6px 10px rgba(50, 70, 120, 0.2);

    background: rgba(255, 255, 255, 0.55);

    border-top: 1.5px solid rgba(255, 255, 255, 1);
    border-left: 1.5px solid rgba(201, 210, 223, 0.6);
    border-right: 1.5px solid rgba(120, 140, 180, 0.6);
    border-bottom: 1.5px solid rgba(120, 140, 180, 0.8);
}

.alq-prod-card-image {
    height: 300px;
    /* background: linear-gradient(45deg, #d1e6ff 0%, #ebf4ff 25%, #ffffff 50%, #ebf4ff 75%, #d1e6ff 100%);*/
    /* background: linear-gradient(180deg, #1a3d6e 0%, #2e6ab5 100%);
    background: linear-gradient(160deg, #daeeff 0%, #c5dcf7 100%); */
    background: linear-gradient(180deg, var(--background-100) 0%, var(--background-400) 100%);
    background: radial-gradient(circle at center,
            var(--background-400) 0%,
            var(--background-600) 35%,
            var(--medianoche) 100%);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.alq-prod-card-image img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.25));
}

.alq-prod-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 15px 25px;
}

.alq-prod-card-content.no-pad {
    padding: 0px;
}

.alq-prod-card-tag {
    display: inline-block;
    align-self: flex-start;
    color: var(--secondary-600);
    background: rgba(255, 115, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.alq-prod-card-content h3 {
    font-size: 1.2rem;
    margin: 0 0 14px;
    color: var(--primary-500);
}

.alq-prod-card-content p {
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.alq-prod-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alq-prod-card-content li {
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.alq-prod-card-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-600);
    font-weight: 800;
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.card-header-icon h3 {
    margin: 0;
}

@media (max-width: 900px) {
    .alq-grid-prod {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .alq-prod-card {
        border-radius: 8px;
    }

    .alq-prod-card-content {
        padding: 14px 18px;
    }

    .alq-prod-card-content h3 {
        font-size: 1.05rem;
    }

    .alq-prod-card-content p {
        font-size: 0.95rem;
    }

    .alq-prod-card-content li {
        font-size: 0.85rem;
    }

    .alq-prod-card-tag {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

@media (max-width: 450px) {
    .alq-auto-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .alq-prod-card-image {
        height: 200px;
        padding: 16px;
    }

    .alq-prod-card-image img {
        max-height: 160px;
    }
}

/************
  D Software
*************/
.inventario-af-header-block.back {
    position: relative;
    background: linear-gradient(120deg, rgba(8, 20, 34, 0.94), rgba(0, 91, 170, 0.82)), url(https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80);
    background-size: cover;
    background-position: center;
    color: var(--bg-navbar);
    margin: -35px -35px 35px;
    padding: 35px;
    /* padding: 110px 0 90px; */
    overflow: hidden;
}

.inventario-af-header-block.sec {
    margin: 0px -0px 35px;
}

.inventario-af-header-block.back *:not(.fixed-color) {
    color: var(--onsurface-100);
}

.inventario-af-category.c2 {
    color: var(--secondary-400);
}

.inventario-af-title.c2 {
    /* color: var(--abismo); */
    font-size: 2rem;
    margin-bottom: 10px;
}

.cont-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--background-900);
}

.cont-tabs.mg {
    width: fit-content;
    margin: 0 auto;
    font-weight: 600;
}

.cont-tabs .tab {
    box-shadow: none;
}


.tab {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(220, 222, 230, 0.4) 100%);
    border: 1px solid rgba(150, 155, 175, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 32px rgba(100, 105, 130, 0.12), 0 2px 8px rgba(100, 105, 130, 0.08);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.tab.v2 {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.g-count {
    counter-reset: step;
}

.inventario-af-card.count::before {
    position: absolute;
    right: 5px;
    top: 5px;

    width: 46px;
    height: 46px;

    counter-increment: step;
    content: "0" counter(step);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-100), var(--secondary-050));
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--secondary-500);
    opacity: 1;
}

.grid-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.g-tab {
    background: rgba(0, 91, 170, 0.06);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(190, 230, 245, 0.45) 100%);
    border: 1px solid rgba(0, 91, 170, 0.12);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--analogous-02-500);
}

.inventario-af-container.no-image .inventario-af-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

    .inventario-af-header-block.back {
        margin: -30px -15px 30px;
        padding: 30px;
        max-width: none;
    }
}

/*Boton preview-descarga*/
.alq-prod-card-content .pdf-container {
    margin-top: auto;
}

.space-y {
    width: auto;
    height: 15px;
}

.pdf-container {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(0, 48, 179, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 48, 179, 0.05);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.pdf-container:hover {
    border-color: var(--analogous-02-300);
    box-shadow: 0 10px 24px rgba(0, 48, 179, 0.10);
}

/* Botón Principal: Visualizar */
.pdf-btn-view {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: transparent;
    color: var(--on-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.pdf-btn-view .material-symbols-outlined {
    font-size: 2rem;
    color: #d93025;
    transition: transform 0.25s ease;
}

.pdf-btn-view:hover {
    background: rgba(0, 48, 179, 0.06);
    color: var(--primary-600);
}

/* Separador vertical sutil */
.pdf-divider {
    width: 1px;
    background: rgba(0, 48, 179, 0.10);
}

/* Botón Secundario: Descarga Directa */
.pdf-btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    background: transparent;
    color: var(--on-text);
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.pdf-btn-download .material-symbols-outlined {
    font-size: 1.5rem;
    transition: transform 0.25s ease;
}

.pdf-btn-download:hover {
    background: var(--analogous-02-400);
    color: #fff;
}

.pdf-btn-download:hover .material-symbols-outlined {
    transform: translateY(1px);
}

/*Venta*/
.h-grid-prod {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.h-prod-card {
    background: rgb(255, 255, 255, 0.35);

    border-top: 1.5px solid rgba(255, 255, 255, 0.8);
    border-left: 1.5px solid rgba(201, 210, 223, 0.4);
    border-right: 1.5px solid rgba(140, 155, 180, 0.4);
    border-bottom: 1.5px solid rgba(140, 155, 180, 0.6);
    backdrop-filter: blur(18px) saturate(1.2);

    box-shadow:
        0 6px 30px rgba(70, 90, 130, 0.25),
        0 2px 6px rgba(70, 90, 130, 0.1);

    border-radius: 10px;

    transition: all 0.3s ease;
    color: var(--on-text);
    overflow: hidden;

    display: flex;
    flex-direction: row;
    max-width: 1200px;
}

.h-prod-card-image {
    background: linear-gradient(180deg, var(--background-100) 0%, var(--background-400) 100%);
    background: radial-gradient(circle at center,
            var(--background-400) 0%,
            var(--background-600) 35%,
            var(--medianoche) 100%);

    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 340px;
    padding: 15px;
}

.h-prod-card-image img {
    max-width: 100%;
    max-height: 250px;

    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.25));
}

.h-prod-card-content {
    display: flex;
    padding: 20px;
    flex: 1;
    min-width: 0;
    gap: 15px;
}

.h-prod-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 34px rgba(50, 70, 120, 0.35),
        0 6px 10px rgba(50, 70, 120, 0.2);

    background: rgba(255, 255, 255, 0.55);

    border-top: 1.5px solid rgba(255, 255, 255, 1);
    border-left: 1.5px solid rgba(201, 210, 223, 0.6);
    border-right: 1.5px solid rgba(120, 140, 180, 0.6);
    border-bottom: 1.5px solid rgba(120, 140, 180, 0.8);
}

.h-prod-card-tag {
    display: inline-block;
    align-self: flex-start;
    color: var(--secondary-600);
    background: rgba(255, 115, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.h-prod-card-content h3 {
    font-size: 1.2rem;
    margin: 0 0 14px;
    color: var(--primary-500);
}

.h-prod-card-content p {
    font-size: 0.9rem;
    margin: 0 0 15px;
}

.h-prod-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h-prod-card-content li {
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.h-prod-card-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-600);
    font-weight: 800;
}

.h-prod-card-desc {
    flex: 1.5;
    min-width: 0;
}

.h-prod-card-feature {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1350px) {
    .h-prod-card {
        flex-direction: column;
        max-width: 800px;
    }

    .h-prod-card-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 960px) {
    .h-prod-card {
        max-width: 500px;
    }

    .h-prod-card-content {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .h-grid-prod {
        gap: 16px;
    }

    .h-prod-card {
        flex-direction: column;
    }

    .h-prod-card-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .h-prod-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .h-prod-card-content p,
    .h-prod-card-content li {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .h-prod-card-desc,
    .h-prod-card-feature {
        width: 100%;
    }

    .h-prod-card-tag {
        font-size: 0.72rem;
        padding: 7px 12px;
        margin-bottom: 8px;
    }

    .h-prod-card:hover {
        transform: none;
    }
}


@media (max-width: 450px) {
    .h-prod-card {
        max-width: 100%;
    }
}

/*Soluciones*/