@font-face {
    font-family: 'Anton';
    src: url('/fonts/Anton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue Local';
    src: url('/fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body > .container {
    flex: 1 0 auto;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

.navbar {
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* REYNO LLAVES DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --reyno-red: #e51a2d;
    --reyno-red-glow: rgba(229, 26, 45, 0.6);
    --reyno-dark: #0a0a0a;
    --reyno-darker: #050505;
    --reyno-gray: #161616;
    --reyno-border: rgba(255, 255, 255, 0.1);
    --font-bebas: 'Bebas Neue', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
}

body {
    background-color: var(--reyno-dark);
    font-family: var(--font-outfit);
    color: #ffffff;
    overflow-x: hidden;
}

/* Custom Slanted and Glowing Badges */
.badge-slanted-red {
    display: inline-block;
    background: var(--reyno-red);
    color: #ffffff;
    padding: 0.3rem 1.5rem;
    font-family: var(--font-bebas);
    font-size: 2.2rem;
    font-style: italic;
    transform: skewX(-12deg);
    box-shadow: 0 0 20px var(--reyno-red-glow);
    border: none;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.badge-slanted-black {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.4rem 1.5rem;
    font-family: var(--font-bebas);
    font-size: 1.8rem;
    font-style: italic;
    transform: skewX(-12deg);
    border: 2px solid var(--reyno-red);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

/* Diagonal Red Stripes Background Accent */
.stripes-accent-container {
    position: relative;
    overflow: hidden;
}

.stripe-red-right {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 60%;
    height: 40px;
    background: var(--reyno-red);
    transform: rotate(-35deg);
    opacity: 0.8;
    z-index: 1;
}

.stripe-red-right-secondary {
    position: absolute;
    top: 28%;
    right: -15%;
    width: 65%;
    height: 80px;
    background: linear-gradient(90deg, transparent, var(--reyno-red));
    transform: rotate(-35deg);
    opacity: 0.4;
    z-index: 1;
}

.stripe-red-left {
    position: absolute;
    bottom: 10%;
    left: -15%;
    width: 50%;
    height: 60px;
    background: linear-gradient(270deg, transparent, var(--reyno-red));
    transform: rotate(-35deg);
    opacity: 0.6;
    z-index: 1;
}

/* Glassmorphism Cards */
.reyno-card {
    background: rgba(22, 22, 22, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--reyno-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.reyno-card:hover {
    transform: translateY(-5px);
    border-color: var(--reyno-red);
    box-shadow: 0 10px 30px rgba(229, 26, 45, 0.15);
}

/* Module Pill Badges */
.module-badge-red {
    background: linear-gradient(135deg, #70060e, var(--reyno-red));
    color: #ffffff;
    font-family: var(--font-bebas);
    font-size: 1.4rem;
    font-style: italic;
    padding: 0.5rem 2rem;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-badge-red:hover {
    transform: scale(1.1) skewX(-5deg);
    box-shadow: 0 0 15px var(--reyno-red-glow);
    background: linear-gradient(135deg, var(--reyno-red), #ff3b4f);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-delayed {
    0% {
        transform: translateY(-5px) rotate(-1deg);
    }

    50% {
        transform: translateY(8px) rotate(1deg);
    }

    100% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

.brand-item {
    filter: brightness(0) invert(1) opacity(0.85);
    transition: all 0.3s ease;
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.brand-item:hover {
    filter: brightness(1) invert(0) opacity(1);
    transform: scale(1.15);
}

/* Custom list items with crowns */
.crown-list-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    list-style: none;
}

.crown-list-item::before {
    content: "\f521";
    /* FontAwesome Crown Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ffc107;
    /* Gold color */
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    transition: transform 0.3s ease;
}

.crown-list-item:hover::before {
    transform: scale(1.2) rotate(-10deg);
}

/* Circular glowing logo footer styling */
.footer-logo-glow-container {
    position: relative;
    display: inline-block;
}

.footer-logo-glow-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid var(--reyno-red);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--reyno-red-glow), inset 0 0 15px var(--reyno-red-glow);
    z-index: 1;
    pointer-events: none;
}

.footer-logo-glow-container img {
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background-color: #000;
}

/* Navbar / Layout elements consolidated from _Layout.cshtml */
.nav-link-reyno {
    font-family: 'Anton', sans-serif;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.social-link {
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #e51a2d !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
    color: #fff !important;
}

.navbar-circuitos {
    background-color: #3d3d3d !important;
    background-image: url('/images/circuitos.png') !important;
    background-size: 400px !important;
    background-repeat: repeat !important;
    border-bottom: 1px solid #1a1a1a !important;
}

.navbar-circuitos::before {
    filter: invert(1) !important;
}

/* NEW HERO LAYOUT STYLES FOR REYNO LLAVES */
.hero-waves-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    max-width: 450px;
    height: 100%;
    background-image: url('/images/ondas-hd.gif');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.45;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 350px;
    background-image: url('/images/circuitos.png');
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    filter: invert(1);
}

.hero-title-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    transform: translateY(-50px);
}

.hero-logo-glow {
    position: relative;
    display: inline-block;
    z-index: 5;
    flex-shrink: 0;
}

.hero-brand-text {
    display: flex;
    align-items: baseline;
    line-height: 1;
    z-index: 5;
}

.hero-title-reyno {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: calc(2.2rem + 3.2vw);
    letter-spacing: -0.03em;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-title-soluciones {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(2.2rem + 3.2vw);
    font-style: italic;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-block;
}

.hero-car-container {
    position: absolute;
    bottom: -5%;
    right: -2%;
    width: 60%;
    max-width: 900px;
    z-index: 2;
    pointer-events: none;
}

.hero-car-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hero-title-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-20px);
    }

    .hero-brand-text {
        justify-content: center;
    }

    .hero-car-container {
        width: 80%;
        bottom: 0;
        opacity: 0.7;
    }
}

@media (max-width: 575.98px) {
    .hero-car-container {
        width: 100%;
        bottom: -20px;
        opacity: 0.5;
    }
}

/* TRAYECTORIA SECTION STYLES */
.trajectory-section {
    position: relative;
    background-image: url('/images/consola-key.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.trajectory-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.trajectory-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.trajectory-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: calc(1.8rem + 1.8vw);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.trajectory-title .text-red {
    color: var(--reyno-red);
}

.trajectory-title .quote-white {
    color: #ffffff;
    font-size: 1.15em;
    vertical-align: middle;
    margin-right: 0.1rem;
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    line-height: 0;
}

.trajectory-title .quote-red {
    color: var(--reyno-red);
    font-size: 1.15em;
    vertical-align: middle;
    margin-left: 0.1rem;
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    line-height: 0;
}

.trajectory-text {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: calc(1.05rem + 0.2vw);
    line-height: 1.6;
    color: #dfdfdf;
    margin-bottom: 3rem;
}

.trajectory-text .text-red {
    color: var(--reyno-red);
    font-weight: 700;
}

.btn-reyno-flat {
    display: inline-block;
    background-color: var(--reyno-red);
    color: #ffffff !important;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    /* flat sharp corners */
    text-transform: uppercase;
    border: none;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(229, 26, 45, 0.15);
    text-decoration: none;
}

.btn-reyno-flat:hover {
    background-color: #ff1c30;
    box-shadow: 0 8px 25px rgba(229, 26, 45, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .trajectory-section {
        padding: 5rem 0;
        text-align: center;
    }

    .trajectory-section::before {
        background: rgba(0, 0, 0, 0.85);
        /* fallback full black layer on mobile to read easily */
    }

    .trajectory-content {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* SOBRE NOSOTROS SECTION STYLES */
.about-banner {
    position: relative;
    background-image: url('/images/tablero.webp');
    background-size: cover;
    background-position: center;
    padding: 1rem 3rem;
    /*text-align: center;
    border-top: 5px solid var(--reyno-red);
    border-bottom: 5px solid var(--reyno-red);*/
    overflow: hidden;
}

.about-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background: rgba(143, 3, 3, 0.8);
    z-index: 1;
}

.about-banner-content {
    position: relative;
    z-index: 2;
}

.about-banner-title {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(4.8rem + 2.2vw);
    font-style: italic;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.8rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9);
}

.about-banner-subtitle {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: calc(1.8rem + 0.3vw);
    font-style: italic;
    color: #ffffff;
    letter-spacing: -0.07em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
    text-align:end;
    margin-right:53%;
    margin-top:-43px;
}

.about-content-section {
    position: relative;
    background-color: #000000;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.about-car-image {
    width: 112%;
    max-width: 580px;
    height: auto;
    display: block;
    margin-left: 0%;
    position: relative;
    z-index: 2;
    transform: scaleX(-1);
}

.about-text-content {
    position: relative;
    z-index: 2;
}

.about-text {
    font-family: var(--font-bebas);
    font-weight: 400;
    font-size: calc(1.55rem + 0.55vw);
    line-height: 1;
    color: #dfdfdf;
    text-align: end;
}

.about-text .text-red {
    color: var(--reyno-red);
    font-weight: 700;
}

.signature-container {
    position: relative;
    display: inline-block;
    width: 240px;
    margin-top: 1.5rem;
    padding-bottom: 0.6rem;
}

.signature-text {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: calc(1.6rem + 0.5vw);
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    z-index: 2;
    user-select: none;
    display: block;
    text-align: right;
}

.signature-underline-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    display: block;
}

@media (max-width: 767.98px) {
    .about-car-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2rem auto;
    }

    .about-text-content {
        padding: 0 1rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .signature-container {
        margin: 1.5rem auto 0 auto;
    }
}

/* MISIÓN Y VISIÓN SECTION STYLES */
.mv-card {
    position: relative;
    /*background: linear-gradient(217deg, rgb(12, 6, 7), 70.71%);*/
    background: linear-gradient(121deg, rgb(18 1 1) 0%, rgb(24 1 1) 50%, rgb(165 23 23 / 85%) 100%);
    border: 3px solid var(--reyno-red);
    border-radius: 8px;
    padding: 1.8rem 2rem;
    text-align: center;
    box-shadow: 12px 12px 0px #50050a;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* space for the floating icon */
}

.mv-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 16px 16px 0px #6d070e;
}

.mv-icon-badge {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background-color: var(--reyno-red);
    border-radius: 50%;
    border: 3px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mv-icon-image {
    width: 38px;
    height: auto;
    display: block;
}

.mv-card-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.mv-card-text {
    font-family: var(--font-bebas);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 0.8;
    color: #d8d8d8;
}

/* VALORES SECTION STYLES */
.values-section {
    position: relative;
    background-image: url('/images/llave-tablero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
    min-height: 35vh;
    display: flex;
    align-items: center;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.94);
    /* Light silver/grey overlay */
    z-index: 1;
}

.values-section-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: calc(1.8rem + 1.2vw);
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.value-block {
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.value-icon-image {
    width: 83px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.value-block:hover .value-icon-image {
    transform: scale(1.1);
}

.value-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1rem;
}

.value-text {
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 0.9;
    color: #3a3a3a;
}

/* SERVICES SECTION STYLES */
.services-section {
    position: relative;
    background-color: #000000;
    padding: 0;
    overflow: hidden;
    min-height: 105vh;
    display: flex;
    align-items: center;
}
.services-bg-car {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%) scaleX(-1);
    width: 100%;
    max-width: 1900px;
    height: 90%;
    background-image: url('/images/auto.webp');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.services-section-title {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(4rem + 3vw);
    font-style: italic;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.1rem;
    position: relative;
    z-index: 2;
}

.services-section-subtitle {
    font-family: var(--font-bebas);
    font-weight: 700;
    font-size: calc(1.01rem + 0.1vw);
    font-style: italic;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height:0.09rem;
}

.service-card {
    background: rgba(45, 45, 45, 0.55);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 0.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 3;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    width:230px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 26, 45, 0.3);
    box-shadow: 0 20px 40px rgba(229, 26, 45, 0.12);
    background: rgba(45, 45, 45, 0.55);
}

.service-icon-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

.service-icon-img.svg-icon {
    height: 55px;
    width: auto;
    filter: invert(1) sepia(0) saturate(0) brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
}

.service-card-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.btn-reyno-pill {
    display: inline-block;
    background: linear-gradient(121deg, rgb(18 1 1) 0%, rgb(24 1 1) 50%, rgb(165 23 23 / 85%) 100%);
    color: #ffffff !important;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(229, 26, 45, 0.4);
    text-transform: none;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(229, 26, 45, 0.2);
    transition: all 0.3s ease;
    width: 75%;
    max-width: 200px;
}

.btn-reyno-pill:hover {
    background: linear-gradient(to bottom, #ff2337 0%, #52060c 100%);
    box-shadow: 0 6px 20px rgba(229, 26, 45, 0.4);
    transform: scale(1.03);
    border-color: rgba(229, 26, 45, 0.6);
}

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
    .services-bg-car {
        width: 130%;
        opacity: 0.6;
    }

    .service-card {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .services-bg-car {
        width: 160%;
        opacity: 0.4;
    }

    .services-section {
        padding: 4rem 0;
    }
}

/* PROGRAMMING SECTION STYLES */
.programming-section {
    position: relative;
    background-image: url('/images/fondo-programacion.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0 5rem 0;
    background-color: #f5f5f5;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.programming-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.90);
    z-index: 1;
}

.programming-section-title {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(2.4rem + 1.8vw);
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.programming-section-title .text-black {
    color: #000000;
}

.badge-red-programming {
    display: inline-block;
    background-color: var(--reyno-red);
    color: #ffffff;
    padding: 0.15rem 1.5rem;
    transform: skewX(-12deg);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(229, 26, 45, 0.25);
    margin-left: 8px;
}

/* Container for keys and side stripes */
.programming-keys-container {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.keys-wrapper {
    position: relative;
    height: 380px;
    z-index: 5;
}

.key-img {
    position: absolute;
    height: 330px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.key-center {
    z-index: 10;
    height: 360px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.key-left {
    z-index: 8;
    left: 10%;
    top: 42%;
    height:400px;
    transform: translate(-83%, -50%);
}

.key-right {
    z-index: 8;
    right: 10%;
    top: 50%;
    transform: translate(83%, -50%);
}

/* Key Hover States */
.key-center:hover {
    transform: translate(-50%, -54%) scale(1.05);
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
}

.key-left:hover {
    transform: translate(-88%, -52%) scale(1.05);
    z-index: 11;
    opacity: 1;
}

.key-right:hover {
    transform: translate(88%, -52%) scale(1.05);
    z-index: 11;
    opacity: 1;
}

/* Side Stripe Images absolute layout */
.stripe-img {
    position: absolute;
    width: 42%;
    max-width: 700px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.stripe-left {
    left: 0;
    top: 15%;
    transform-origin: left top;
}

.stripe-right {
    right: 0;
    top: 15%;
    transform: scaleX(-1);
}

/* Responsive adjustments for stripes */
@media (max-width: 991.98px) {
    .stripe-img {
        width: 32%;
        opacity: 0.8;
    }
}

@media (max-width: 767.98px) {
    .stripe-img {
        display: none; /* Hide on mobile to keep text readable */
    }
}

/* Feature Items at the Bottom */
.programming-feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease;
}

.programming-feature-item:hover {
    transform: translateY(-4px);
}

.programming-feature-icon {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: rotate(-10deg);
}

.programming-feature-item:hover .programming-feature-icon {
    transform: scale(1.15);
}

.programming-feature-text {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(1.3rem + 0.5vw);
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: #000000;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .programming-keys-container {
        height: 340px;
        margin: 2rem auto;
    }

    .keys-wrapper {
        width: 300px;
        height: 300px;
    }

    .key-img {
        height: 260px;
    }

    .key-center {
        height: 290px;
    }



    .programming-feature-text {
        font-size: calc(1.15rem + 0.3vw);
    }
}

@media (max-width: 767.98px) {
    .programming-keys-container {
        height: 260px;
        margin: 1.5rem auto;
    }

    .keys-wrapper {
        width: 220px;
        height: 220px;
    }

    .key-img {
        height: 190px;
    }

    .key-center {
        height: 210px;
    }



    .programming-feature-item {
        flex-direction: row !important;
        justify-content: center !important;
        text-align: left;
        gap: 0.8rem;
    }

    .right-item {
        flex-direction: row-reverse !important;
    }

    .programming-feature-icon {
        height: 45px;
    }
}

/* MODULES SALES & PROGRAMMING SECTION (SECTION 9) */
.modules-sale-section {
    position: relative;
    background-image: url('/images/fondo-venta-programacion.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #030303;
    border-top: 2px solid rgba(229, 26, 45, 0.15);
}

.modules-sale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Title Styles */
.modules-sale-title {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-size: calc(5.8rem + 2.2vw);
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 0.95 !important;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    margin-bottom: 0px !important;
}

.modules-sale-subtitle {
    font-weight: 900;
    font-size: calc(1.8rem + 1vw);
    color: var(--reyno-red);
    letter-spacing: 0.02em;
    text-transform:lowercase;
    margin-top: 0;
    margin-right:15%;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

/* Module Group & Image Containers */
.module-group-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

.module-img-wrapper {
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.module-img-main {
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.module-img-main:hover {
    filter: drop-shadow(0 20px 45px rgba(229, 26, 45, 0.25));
}

.module-img-main.slanted-right {
    height:500px;
    transform: rotate(-60deg);
}

.module-img-main.slanted-right:hover {
    /*transform: scale(1.05);*/
}

/* Badges Stack */
.module-badges-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 10;
}

.module-red-badge-pill {
    background: linear-gradient(135deg, #d50d21 0%, var(--reyno-red) 100%);
    color: #ffffff;
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-size: calc(1.5rem + 0.5vw);
    font-weight: 900;
    font-style: italic;
    padding: 0.4rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
    min-width: 135px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    cursor: default;
    user-select: none;
    opacity:0.75;
}

.module-red-badge-pill:hover {
    transform: scale(1.1) skewX(-4deg);
    background: linear-gradient(135deg, var(--reyno-red) 0%, #ff3b4f 100%);
    box-shadow: 0 0 20px var(--reyno-red-glow);
}

/* Slanted stripes accents */
.modules-stripe-left-container {
    position: absolute;
    left: 2%;
    top: 35%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.modules-stripe-bar-1 {
    width: 15px;
    height: 120px;
    background: var(--reyno-red);
    transform: skewX(-20deg);
    opacity: 0.85;
    display: block;
}

.modules-stripe-bar-2 {
    width: 15px;
    height: 180px;
    background: var(--reyno-red);
    transform: skewX(-20deg);
    opacity: 0.85;
    display: block;
}

.modules-stripe-bottom-container {
    position: absolute;
    bottom: 8%;
    left: 35%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 40%;
    z-index: 2;
    pointer-events: none;
}

.modules-stripe-bottom-bar-1 {
    height: 10px;
    width: 100%;
    background: linear-gradient(90deg, transparent 20%, var(--reyno-red) 70%, transparent 100%);
    transform: skewX(-30deg);
    opacity: 0.9;
    display: block;
}

.modules-stripe-bottom-bar-2 {
    height: 5px;
    width: 90%;
    background: linear-gradient(90deg, transparent 10%, var(--reyno-red) 80%, transparent 100%);
    transform: skewX(-30deg);
    opacity: 0.7;
    display: block;
}

.modules-stripe-bottom-bar-3 {
    height: 12px;
    width: 60%;
    background: linear-gradient(90deg, transparent 40%, var(--reyno-red) 90%, transparent 100%);
    transform: skewX(-30deg);
    opacity: 0.8;
    display: block;
}

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
    .modules-sale-section {
        padding: 5rem 0;
    }

    .module-group-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .right-aligned-group {
        flex-direction: column-reverse;
    }

    .module-badges-stack {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .module-red-badge-pill {
        min-width: 100px;
        font-size: 1.2rem;
        padding: 0.3rem 1.2rem;
    }

    .module-img-main {
        max-height: 280px;
    }

    .modules-stripe-left-container {
        left: 1%;
        opacity: 0.4;
    }

    .modules-stripe-bottom-container {
        bottom: 4%;
        left: 20%;
        width: 60%;
        opacity: 0.5;
    }
}

@media (max-width: 575.98px) {
    .module-img-main {
        max-height: 220px;
    }

    .modules-stripe-left-container {
        display: none;
    }
}

/* MAINTENANCE & REPAIR SECTION (SECTION 10) */
.maintenance-section {
    position: relative;
    background-image: url('/images/fondo-mantenimiento.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #050505;
    border-top: 2px solid rgba(229, 26, 45, 0.15);
}

/* Background overlay to help with readability on smaller screens */
.maintenance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .maintenance-section::before {
        background: rgba(0, 0, 0, 0.75);
    }
}

.min-vh-70 {
    min-height: 70vh;
}

/* The dark card container */
.maintenance-card {
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
    z-index: 2;
    text-align: right;
}

.maintenance-card:hover {
    border-color: rgba(229, 26, 45, 0.25);
    box-shadow: 0 20px 45px rgba(229, 26, 45, 0.15);
    transform: translateY(-5px);
}

/* Title text inside card */
.maintenance-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: calc(1.8rem + 0.8vw);
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

/* Wrapper for list and brush brackets */
.maintenance-list-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    position: relative;
    padding: 0 1rem;
}

/* Brush bracket image styling */
.brush-bracket {
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.brush-left {
    /* Left bracket is normal */
}

.brush-right {
    transform: scaleX(-1);
    /* Right bracket is flipped horizontally */
}

/* Hover effect on brushes */
.maintenance-card:hover .brush-left {
    transform: translateX(-5px) scale(1.05);
}

.maintenance-card:hover .brush-right {
    transform: scaleX(-1) translateX(-5px) scale(1.05);
}

/* List of items in the middle of brackets */
.maintenance-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.maintenance-item {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: calc(1.8rem + 0.5vw);
    color: #ffffff;
    letter-spacing: 0.03em;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 0px rgba(0, 0, 0, 0.9);
    transition: color 0.3s ease;
}

.maintenance-item:hover {
    color: var(--reyno-red);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .maintenance-card {
        padding: 2.5rem 2rem;
    }

    .maintenance-title {
        font-size: calc(1.6rem + 0.6vw);
    }

    .brush-bracket {
        height: 110px;
    }
}

@media (max-width: 767.98px) {
    .maintenance-card {
        text-align: center;
        margin: 0 auto;
        max-width: 480px;
    }

    .maintenance-list-wrapper {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .brush-bracket {
        height: 90px;
    }

    .maintenance-item {
        font-size: 1.2rem;
    }
}

/* PROGRAMMING OF REMOTE CONTROLS SECTION (SECTION 11) */
.remotes-section {
    position: relative;
   /* background-image: url('/images/fondo-blanco.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    padding: 8rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #d61c28;
    /* red fallback */
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.remotes-content-wrapper {
    position: relative;
    z-index: 5;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Slanted Banner Title */
.remotes-title-banner {
    background-color: #7a0006;
    padding: 0.8rem 2.5rem;
    transform: skewX(-12deg) rotate(-2deg);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: inline-block;
    margin-bottom: 2.5rem;
}

.remotes-title-text {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: calc(2rem + 1.5vw);
    line-height: 0.95;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    transform: skewX(12deg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Features List */
.remotes-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.remotes-feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease;
}

.remotes-feature-item:hover {
    transform: translateX(8px);
}

.remotes-crown-icon {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.remotes-feature-item:hover .remotes-crown-icon {
    transform: scale(1.15) rotate(5deg);
}

.remotes-feature-text {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: calc(1.5rem + 0.4vw);
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Footer Text */
.remotes-footer-text {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-size: calc(1.8rem + 0.8vw);
    font-style: italic;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 0px #000000, -1px -1px 0px #000000, 1px -1px 0px #000000, -1px 1px 0px #000000, 2px -2px 0px #000000, 0px 4px 10px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Absolute Key Positions */
.remote-key {
    position: absolute;
    height: auto;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.remote-key:hover {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transform: scale(1.08);
}

.remote-key-left-1 {
    left: 2%;
    top: 5%;
    width: 15%;
    max-width: 170px;
    transform: rotate(15deg);
}

.remote-key-left-1:hover {
    transform: rotate(10deg) scale(1.08);
}

.remote-key-left-2 {
    left: 3%;
    top: 38%;
    width: 18%;
    max-width: 210px;
    transform: rotate(-10deg);
}

.remote-key-left-2:hover {
    transform: rotate(-5deg) scale(1.08);
}

.remote-key-left-3 {
    left: 2%;
    bottom: 5%;
    width: 16%;
    max-width: 180px;
    transform: rotate(8deg);
}

.remote-key-left-3:hover {
    transform: rotate(3deg) scale(1.08);
}

.remote-key-right-1 {
    right: 2%;
    top: 5%;
    width: 15%;
    max-width: 170px;
    transform: rotate(-12deg);
}

.remote-key-right-1:hover {
    transform: rotate(-8deg) scale(1.08);
}

.remote-key-right-2 {
    right: 3%;
    top: 36%;
    width: 17%;
    max-width: 200px;
    transform: rotate(15deg);
}

.remote-key-right-2:hover {
    transform: rotate(10deg) scale(1.08);
}

.remote-key-right-3 {
    right: 2%;
    bottom: 5%;
    width: 18%;
    max-width: 210px;
    transform: rotate(-8deg);
}

.remote-key-right-3:hover {
    transform: rotate(-3deg) scale(1.08);
}

@media (max-width: 1399.98px) {
    .remote-key-left-1 {
        left: 1%;
        width: 13%;
    }

    .remote-key-left-2 {
        left: 1.5%;
        width: 15%;
    }

    .remote-key-left-3 {
        left: 1%;
        width: 14%;
    }

    .remote-key-right-1 {
        right: 1%;
        width: 13%;
    }

    .remote-key-right-2 {
        right: 1.5%;
        width: 14%;
    }

    .remote-key-right-3 {
        right: 1%;
        width: 15%;
    }
}

@media (max-width: 1199.98px) {
    .remote-key-left-1 {
        left: 0%;
        width: 12%;
    }

    .remote-key-left-2 {
        left: 0.5%;
        width: 14%;
    }

    .remote-key-left-3 {
        left: 0%;
        width: 13%;
    }

    .remote-key-right-1 {
        right: 0%;
        width: 12%;
    }

    .remote-key-right-2 {
        right: 0.5%;
        width: 13%;
    }

    .remote-key-right-3 {
        right: 0%;
        width: 14%;
    }
}

/* BRANDS SECTION (SECTION 12) */
.brands-section-custom {
    position: relative;
    background-color: #ffffff;
    padding: 5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Slanted Banner Title */
.brands-title-banner {
    background: linear-gradient(135deg, #d61c28 0%, #a80f1e 100%);
    padding: 0.6rem 3.5rem;
    transform: skewX(-20deg);
    border-radius: 4px;
    box-shadow: 0 6px 15px rgba(229, 26, 45, 0.2);
    display: inline-block;
    margin-bottom: 4rem;
}

.brands-title-text {
    font-family: 'Bebas Neue Local', 'Bebas Neue', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: calc(1.8rem + 0.8vw);
    color: #ffffff;
    letter-spacing: 0.05em;
    transform: skewX(20deg);
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

/* Brands Columns Layout */
.brands-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.brands-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-logo-img {
    max-height: 52px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.brand-logo-img:hover {
    transform: scale(1.1);
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .brands-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .brands-col {
        gap: 2rem;
    }
}

@media (max-width: 575.98px) {
    .brands-grid-custom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brands-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .brand-logo-img {
        max-height: 45px;
        max-width: 110px;
    }
}

.mission-vision-section {
    min-height: 55vh;
    display: flex;
    align-items: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 35px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ripple pulse ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.3;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
/* ==========================================
   Ajustes de Capas para el Navbar (KeyStock Pro)
   ========================================== */
.navbar {
    position: relative;
    z-index: 1050 !important;
}
.navbar-nav .dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    top: 70% !important;
    margin-top: 0 !important;
    /* Mueve un poco la cajita a la izquierda para alinearla mejor visualmente */
    left: 0px !important;
}

header {
    position: relative;
    z-index: 1050 !important;
}
/* Selector ultra-específico para ganarle a Bootstrap */
.navbar .navbar-nav .nav-item .nav-link.dropdown-toggle {
    color: #FFD700 !important; /* Reemplaza por tu color (ej: amarillo #ffc107 o rojo #e51a2d) */
}

    /* Opcional: Cambiar el color cuando el usuario pasa el mouse por encima (Hover) */
    .navbar .navbar-nav .nav-item .nav-link.dropdown-toggle:hover {
        color: #ffffff !important; /* Se ilumina en blanco al pasar el cursor */
    }
/* Estructura Base de Tarjeta Oscura */
.table-card {
    background-color: #121215;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Toolbar / Buscador */
.table-toolbar {
    padding: 1rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.85rem;
}

.table-search-input {
    background-color: #1a1a22 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding-left: 2.35rem;
    font-size: 0.875rem;
    height: 38px;
}

    .table-search-input:focus {
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    }

/* Estilos de Tabla */
.custom-table {
    color: #e2e8f0;
}

    .custom-table thead tr {
        background-color: #18181c;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .custom-table th {
        color: #9ca3af;
        font-size: 0.725rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.85rem 0.75rem;
        border: none;
    }

    .custom-table td {
        padding: 0.85rem 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

.table-row-hover {
    transition: background-color 0.15s ease;
}

    .table-row-hover:hover {
        background-color: rgba(255, 255, 255, 0.025) !important;
    }

/* Chips y Badges */
.code-badge {
    background-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.location-chip {
    color: #94a3b8;
    font-size: 0.825rem;
}

/* Pills de Estado de Stock */
.status-pill {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.status-success {
    background-color: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Botones de Acción */
.action-btn-group {
    display: inline-flex;
    gap: 0.25rem;
}

.btn-action-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-action-warning:hover {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.btn-action-info:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.btn-action-danger:hover {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Pie de Tabla y Paginación */
.table-footer {
    padding: 0.85rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.custom-page-link {
    background-color: #1a1a22 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0.3rem 0.65rem;
}

    .custom-page-link:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

.active-page {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}
/* Tarjetas de Formulario Dark */
.form-card {
    background-color: #121215;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.form-card-header {
    padding: 0.9rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-card-body {
    padding: 1.25rem;
}

/* Tipografía de Etiquetas */
.form-label-dark {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    display: block;
}

/* Inputs y Selects Estilizados */
.form-control-dark, .form-select-dark {
    background-color: #1a1a22 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control-dark:focus, .form-select-dark:focus {
        border-color: #3b82f6 !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    }

    .form-control-dark::placeholder {
        color: #4b5563;
    }

/* Mensajes de Validación */
.form-error {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.alert-danger-dark {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-radius: 8px;
}
/* Tarjetas KPI de Precios */
.kpi-card {
    background-color: #121215;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.kpi-label {
    color: #9ca3af;
    font-size: 0.725rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}

.kpi-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.2rem;
}

/* Fichas de Detalle */
.detail-label {
    color: #6b7280;
    font-size: 0.725rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.2rem;
}

.detail-value {
    color: #e2e8f0;
    font-size: 0.925rem;
    font-weight: 500;
}

.fs-8 {
    font-size: 0.725rem;
}

.fs-7 {
    font-size: 0.825rem;
}
/* Caja de ícono para catálogo de marcas */
.brand-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}