body {
    font-family: "Helvetica", serif;
}

.hero {
    background-image: linear-gradient(#404040d7 100%, #404040d7 100%),
        url(../images/home_v1.png) !important;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: left;
    position: relative;
}

.shape-red {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 282px;
    height: 140px;
    background: red;
    clip-path: polygon(29% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* 🔳 Figura gris inclinada */
.shape-gray {
    position: absolute;
    bottom: 0;
    right: 210px;
    width: 95px;
    height: 80px;
    background: #c0c0c0;
    clip-path: polygon(51% 0, 100% 0, 50% 100%, 0% 100%);
    z-index: 2;
}

.menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 92px;
    height: 100%;
    background: #ff0000;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

/* Figura gris inclinada */
.menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 140px;
    height: 64%;
    background: #c0c0c0;
    clip-path: polygon(38% 0, 100% 0, 62% 100%, 0% 100%);
    z-index: 1;
}

/* Asegurar que el contenido esté encima */
.menu>* {
    position: relative;
    z-index: 2;
}

.link-alamox {
    color: #c0c0c0;
}

.text-color-alamox {
    color: #c5c5c5 !important;
}

.bd-sidebar {
    grid-area: sidebar;
}

.border-bottom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.bd-gutter {
    --bs-gutter-x: 3rem;
}

.offcanvas-lg {
    position: fixed;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    color: var(--bs-offcanvas-color);
    visibility: hidden;
    background-color: var(--bs-offcanvas-bg);
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}

.offcanvas-lg.offcanvas-start {
    top: 0;
    left: 0;
    width: var(--bs-offcanvas-width);
    border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
    transform: translateX(-100%);
}

.offcanvas-lg.show:not(.hiding),
.offcanvas-lg.showing {
    transform: none;
}

aside {
    display: block;
}

.bd-gutter {
    --bs-gutter-x: 3rem;
}

.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
    --bs-offcanvas-width: 400px;
    --bs-offcanvas-height: 30vh;
    --bs-offcanvas-padding-x: 1rem;
    --bs-offcanvas-padding-y: 1rem;
    --bs-offcanvas-color: ;
    --bs-offcanvas-bg: white;
    --bs-offcanvas-border-width: 1px;
    --bs-offcanvas-border-color: var(--bs-border-color-translucent);
    --bs-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.offcanvas-header .link-close {
    padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);
    margin-top: calc(var(--bs-offcanvas-padding-y) * -0.5);
    margin-right: calc(var(--bs-offcanvas-padding-x) * -0.5);
    margin-bottom: calc(var(--bs-offcanvas-padding-y) * -0.5);

    /* padding: calc(var(--bs-offcanvas-padding-y)* .5) calc(var(--bs-offcanvas-padding-x)* .5); */
    margin: calc(-0.5 * var(--bs-offcanvas-padding-y)) calc(-0.5 * var(--bs-offcanvas-padding-x)) calc(-0.5 * var(--bs-offcanvas-padding-y)) auto;
}

@media (max-width: 991.98px) {
    .bd-navbar .bd-navbar-toggle {
        width: 4.25rem;
    }
}

.btn-close {
    color: white !important;
    text-decoration: none;
    opacity: 0.75;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.color-title-1111 {
    color: #827e68c2;
}

footer {
    background-color: #f0f0f0;
    font-family: "Raleway", sans-serif;
}

.title-footer {
    font-family: "Poppins", sans-serif;
}

.text-poppins {
    font-family: "Poppins", sans-serif;
    color: #000000d1;
    font-weight: 200;
    font-style: ExtraLight;
}

.text-poppins-2 {
    font-family: "Poppins", sans-serif;
    color: #000000db;
    font-weight: 200;
    font-style: ExtraLight;
}

.color-title-1111-2 {
    color: #827e68c2;
}

.line {
    position: relative;
    width: 20%;
    height: 4px;
    background: #9f9671;
    left: 80%;
}

.text-playfair {
    font-family: "Playfair Display", serif !important;
    font-weight: bold;
}

.text-size-1 {
    letter-spacing: 2px;
    line-height: 35px;
    font-size: 1.5rem;
}

.card-img {
    object-fit: cover;
    aspect-ratio: 12/7;
}

.card-color {
    background-color: #848484;
    border: none;
}

.ribbon {
    position: absolute;
    right: -6px;
    bottom: -4px;
    z-index: 1;
    overflow: hidden;
    width: 100px;
    height: 117px;
    text-align: right;
    font-family: RalewayLight;
    letter-spacing: 1px;
}

.ribbon span {
    font-size: var(--font-size);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 32px;
    transform: rotate(310deg);
    width: 130px;
    display: block;
    background: var(--color-ribbon);
    background: linear-gradient(var(--color-ribbon) 0%, var(--color-ribbon) 100%);
    box-shadow: 0 1px 10px -5px #000000;
    position: absolute;
    bottom: 20px;
    right: -33px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 100%;
    z-index: -1;
    border-left: 3px solid var(--color-ribbon);
    border-right: 3px solid transparent;
    border-bottom: 3px solid var(--color-ribbon);
    border-top: 3px solid transparent;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0%;
    bottom: 100%;
    z-index: -1;
    border-right: 3px solid var(--color-ribbon);
    border-left: 3px solid transparent;
    border-bottom: 3px solid var(--color-ribbon);
    border-top: 3px solid transparent;
}

.cursor-pointer {
    cursor: pointer;
}

.icon-footer {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.card-title {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-size: 1.5rem;
}

#modal-description {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: ExtraLight;
    text-align: left;
    letter-spacing: 2px;
    line-height: 35px;
    font-size: 1.5rem;
}

#modal-title {
    color: #827e68c2 !important;
}

/* mobile */
@media (max-width: 767.98px) {
    .text-size-1 {
        font-size: 1.25rem;
    }

    #modal-description {
        font-size: 0.875rem;
    }
}

.pg {
    position: relative !important;
    margin-top: 10px;
}

.section-container {
    background-color: #333333;
    /* fondo gris oscuro */
    color: #ccc;
    /* texto gris claro */
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.6px;
}

.logos-container {
    background-color: #9b9b9b;
    /* fondo gris más claro */
    padding: 1.5rem 0;
}

.logos-container img {
    max-height: 50px;
    opacity: 0.5;
    /* logos en color gris claro */
    margin: 0 1.5rem;
    transition: opacity 0.3s;
}

.logos-container img:hover {
    opacity: 1;
}

.btn-info {
    background-color: #bbb;
    padding: 10px 26px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: black !important;
    font-size: 0.7rem;
    font-weight: bold;
}

.placeholder-image {
    background-color: #e0e0e0;
    width: 100%;
    padding-top: 140%;
    /* Aspect ratio 5:7 approx */
    border-radius: 0.5rem;
    position: relative;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
}

.btn-custom {
    background-color: #999999;
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: #7a7a7a;
    color: white;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.image-container {
    position: relative;
}

.image-container .small-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    max-width: 180px;
    box-shadow: 0 0 6px rgb(0 0 0 / 0.15);
    background: #fff;
}

.image-container img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.25rem;
}

@media (max-width: 767.98px) {
    .image-container .small-image {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
    }

    .main-content {
        height: auto !important;
    }
}

.link-alamox:hover {
    border-bottom: #6c757d 2px solid;
    color: white;
    border-radius: 0px !important;
}

.btn-info-gris {
    background-color: #404040;
    padding: 10px 26px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: white !important;
    font-size: 0.7rem;
    font-weight: bold;
}

.bg-gris {
    background-color: #d1d1d1 !important;
}

.rojo1 {
    position: absolute;
    top: -48px;
    right: 0px;
    width: 378px;
    height: 30%;
    z-index: -1;
    background: #ff0000;
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
}

.rojo2 {
    position: absolute;
    top: 163px;
    right: 0px;
    width: 431px;
    height: 48%;
    z-index: -1;
    background: #ff0000;
    clip-path: polygon(11% 0, 100% 0, 50% 100%, 0% 100%);
}

.shape-gray2 {
    position: absolute;
    top: 0;
    left: 50px;
    width: 117px;
    height: 150px;
    /* background: #c4c4c4; */
    /* clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%); */
    background: #40404057;
    clip-path: polygon(58% 0, 100% 0, 40% 100%, 0% 100%);
}

.c1 {
    color: #404040 !important;
}

.c2 {
    color: #585656 !important;
}

.rojo2-mobile {
    position: absolute;
    top: 193px;
    right: 0px;
    width: 339px;
    height: 66%;
    z-index: -1;
    background: #ff0000;
    clip-path: polygon(100% 0, 100% 0, 122% 100%, 0% 100%);
}

.brands-section {
    background-color: #c0c0c0;
}

.brands-header {
    background-color: #404040;
    /* Fondo oscuro */
    color: #c0c0c0;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.brand-logo {
    max-width: 150px;
    max-height: 80px;
    filter: grayscale(100%);
    /* efecto gris */
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.linea {
    position: relative;
    width: 100%;
    height: 60px;
    /* altura de la franja */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Bloque rojo */
.rojo {
    width: 130px;
    height: 100%;
    background: #e30613;
    clip-path: polygon(0 0, 100% 0, 54% 100%, 0 100%);
}

/* Bloque gris izquierdo */
.gris-izq {
    width: 600px;
    height: 100%;
    background: #c4c4c4;
    margin-left: -61px;
    clip-path: polygon(10% 0, 100% 0, 91% 100%, 0 100%);
}

/* Bloque gris derecho */
.gris-der {
    width: 110px;
    right: auto;
    margin-right: 29ppx;
    margin-left: 466px;
    height: 100%;
    background: #c4c4c4;
    clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
}

.icon-circle {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-text h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #585656;
}

.feature-text p {
    line-height: 1.6;
    color: #585656;
}

@media (max-width: 767.98px) {
    .image-container {
        padding: 0px !important;
        margin: 0px !important;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
    }

    .map-iframe {
        height: 700px !important;
    }

    .brands-header {
        font-size: 0.8rem;
    }

    .brand-logo {
        max-width: 115px !important;
        max-height: 60px !important;
    }

    .feature-text h6 {
        font-size: 0.9rem;
    }

    .img-aliados {
        width: 100% !important;
    }
}

.shape-gray-aliados {
    background: #e9323269;
    position: absolute;
    top: 27px;
    left: 80px;
    width: 176px;
    height: 100px;
    clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
    z-index: 2;
}

.shape-gray-solid-aliados {
    background: #4f4f4f;
    position: absolute;
    top: 0px;
    left: 0;
    width: 214px;
    height: 333px;
    clip-path: polygon(0% 0, 100% 0, 2% 100%, 0 100%);
    z-index: 1;
}

.shape-red-aliados {
    background: #e9323251;
    position: absolute;
    /* top: 0; */
    left: 380px;
    bottom: 0;
    width: 222px;
    height: 150px;
    clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
    z-index: -1;
}

.shape-gray-2-aliados {
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 161px;
    height: 91px;
    background: #4f4f4f99;
    clip-path: polygon(29% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.shape-gray-contact {
    left: 60%;
    position: absolute;
    width: 278px;
    height: 50px;
    background: #4f4f4f99;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0% 100%);
}

.shape-red-contact {
    /* bottom tipo rectangulo romboide */
    background: #e93232df;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 441px;
    height: 188px;
    clip-path: polygon(0% 0, 100% 0, 56% 100%, 0% 100%);
}

.shape-gray-mobile-contact {
    margin-left: auto;
    width: 278px;
    height: 50px;
    background: #4f4f4f99;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0% 100%);
}

.shape-red-mobile-contact {
    /* top: 0; left: 0; */
    background: #ff0000;
    position: absolute;
    top: 0px;
    left: 0;
    width: 120px;
    height: 160px;
    clip-path: polygon(0% 0, 100% 0, 2% 100%, 0 100%);
    z-index: 1;
}

.shape-red-mobile-home {
    background: #ff0000;
    position: absolute;
    /* top: 0px; */
    left: 0;
    bottom: -63px;
    width: 227px;
    height: 352px;
    clip-path: polygon(0% 0, 100% 0, 2% 100%, 0 100%);
    z-index: 1;
}

.shape-gray-mobile-home {
    background: #d4d4d4;
    position: absolute;
    /* top: 0px; */
    left: 0;
    bottom: -155px;
    width: 296px;
    height: 444px;
    clip-path: polygon(0% 0, 100% 0, 0% 100%, 0 100%);
    z-index: 0;
}

.shape-gray-mobile-productos {
    width: 278px;
    height: 50px;
    right: 0px;
    position: absolute;
    background: #4f4f4f99;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}

.shape-gray-aliados-mobile {
    background: #e9323269;
    position: absolute;
    background: #e9323269;
    position: absolute;
    top: 27px;
    left: 0px;
    width: 113px;
    height: 100px;
    clip-path: polygon(0% 0, 100% 0, 60% 100%, 0 100%);
    z-index: 2;
}

.shape-gray-solid-aliados-mobile {
    background: #4f4f4f;
    position: absolute;
    top: -67px;
    left: 0;
    width: 144px;
    height: 198px;
    clip-path: polygon(0% 0, 100% 0, 2% 100%, 0 100%);
    z-index: 1;
}

.shape-red-aliados-mobile {
    background: #e9323292;
    margin-left: auto;
    bottom: -64px;
    width: 126px;
    height: 118px;
    position: relative;
    top: 50%;
    clip-path: polygon(61% 0, 100% 0, 100% 100%, 0 100%);
}

.shape-red-menu-mobile {
    background: #ff0000;
    position: absolute;
    top: -9px;
    left: 0;
    width: 79px;
    height: 68px;
    clip-path: polygon(0% 0%, 100% 0, 58% 100%, 0% 100%);
    z-index: -1;
}

.shape-gray-menu-mobile {
    background: #d4d4d4;
    position: absolute;
    top: -8px;
    left: 54px;
    width: 72px;
    height: 48px;
    clip-path: polygon(20% 0%, 100% 0, 74% 100%, 0% 100%);
    z-index: -1;
}

.c3 {
    color: #acabab !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
}