@font-face {
    font-family: "MerriweatherSans";
    src: url("../fonts/MerriweatherSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "MerriweatherSans";
    src: url("../fonts/MerriweatherSans-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "MerriweatherSans";
    src: url("../fonts/MerriweatherSans-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #004c97;
    --secondary-color: #009cde;

    --text-color: #1e1e1e;
    --neutral-color: #ede0d4;
    --white: #ffffff;
    --black: #000000;

    --gradient-primary: linear-gradient(
        135deg,
        hsl(212 100% 30%) 0%,
        hsl(198 100% 44%) 100%
    );

    --bg-light: #eff5f6;

    --gray-100: #f5f5f5;
    --gray-200: #eaeaea;
    --gray-300: #d6d6d6;
    --gray-400: #bdbdbd;
    --gray-500: #7a7a7a;
    --gray-600: #535353;
    --gray-700: #333333;

    --font-primary: "MerriweatherSans", sans-serif;

    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.5rem; /* 24px */
    --font-size-xl: 2rem; /* 32px */
    --font-size-xxl: 2.75rem; /* 48px */

    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 0.875rem; /* 12px */
    --border-radius-xl: 1rem; /* 16px */

    --filter-primary: ;
    --filter-secondary: ;
}

* {
    font-family: "MerriweatherSans", sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: var(--font-size-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.bodyPag.scrollnone {
    overflow: hidden;
}

/*= utilidades =*/

.gray-100 {
    background-color: var(--gray-100);
}

.padding-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.last-padding-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
}
.page-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-head {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}
.section-head-content {
    position: relative;
    max-width: 600px;
    margin-bottom: 2rem;
    text-align: center;
}
.section-heading {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 1rem;
    text-align: center;
}
.section-description {
    color: var(--gray-600);
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 450px;
}

.hero-section-wrapper {
    position: relative;
    border-radius: var(--border-radius-xl);
    margin-bottom: 1rem;
    height: 180px;
}
.hero-section-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    border-radius: var(--border-radius-xl);
    z-index: 1;
}
.hero-section-img {
    border-radius: var(--border-radius-xl);
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.hero-section-content {
    position: absolute;
    left: 50%;
    top: 50%;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.05rem;
    line-height: 1.3;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}
.hero-section-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.overlay.open {
    opacity: 1;
    visibility: visible;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.hidden {
    display: none;
}
.show {
    display: block;
}

/*= =*/

/* === INICIO HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
}

.nav-header-middle {
    display: grid;
    grid-template-columns: 0.5fr minmax(300px, 550px) 1.5fr;
    align-items: center;
    column-gap: 1rem;
    padding: 1rem 0;
}
.link-header-logo {
    display: inline-block;
    height: 55px;
    width: 74px;
}
.img-header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    position: relative;
    top: -2px;
}
.grid-search {
    display: flex;
    align-items: center;
    column-gap: 1.6rem;
}
.form-search {
    width: 100%;
    position: relative;
}
.input-header-search {
    width: 100%;
    height: 46px;
    border-radius: 30px;
    padding-left: 1.4rem;
    padding-right: 2.6rem;
    font-size: 16px;
    border: 1px solid var(--gray-300);
    background: transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    outline: none;
}
.btn-search {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    border: 0;
    background: var(--primary-color);
    border-radius: 50%;
    padding: 0;
    transition: all 0.3s;
}
.btn-search img {
    width: 28px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: all 0.6s;
}
.btn-search:hover {
    background-color: var(--secondary-color);
}
.list-nav-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.link-nav-header {
    color: var(--primary-color);
    padding: 1.8rem 0.875rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.link-nav-header:hover {
    color: var(--secondary-color);
}

.btn-nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    text-decoration: none;
    max-width: 200px;
    margin-left: 0.5rem;
    padding: 11px 14px;
    transition: all 0.3s ease;
}

.btn-nav-header:hover {
    background: linear-gradient(
        135deg,
        hsl(198 100% 44%) 0%,
        hsl(212 100% 30%) 100%
    );
}

/* = inicio megamenu = */

.wrapper-megamenu {
    display: block;
    position: absolute;
    top: 92%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--white);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    max-height: 69vh;
    max-width: 100%;
    width: calc(99vw - 74px);
    box-sizing: border-box;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 17px 15px -11px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.list-megamenu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    list-style: none;
    overflow-y: auto;
    max-height: 69vh;
    margin-bottom: 0;
    padding: 2rem;
}

.link-megamenu {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 0.875rem;
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 0.02rem;
    line-height: 1.4;
    overflow: hidden;
    transition: all 0.3s;
}

.name-megamenu {
    flex: 1;
    background-color: var(--primary-color);
    border-radius: 0.875rem;
    padding: 0.8rem 1rem;
}

.icon-megamenu {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

.icon-megamenu img {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
}

.link-megamenu:hover {
    opacity: 0.8;
}

.has-megamenu:hover .wrapper-megamenu {
    display: grid;
    opacity: 1;
    visibility: visible;
}

/* = fin megamenu = */

/*= inicio menu mobile =*/

.item-nav-mobile {
    display: none;
}

.btn-menu-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 50%;
}
.btn-menu-mobile img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.btn-menu-mobile .icon-close {
    display: none;
}
.button-menu {
    display: flex;
    position: relative;
    z-index: 99;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}
.overlay.open {
    opacity: 1;
    visibility: visible;
}
.menu-mobile.open {
    transform: translate(0);
    transition: all 0.6s;
}
.menu-mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: scroll;
    transform: translate(-10000px);
    width: 320px;
    height: 100vh;
    border-radius: 0;
    background: var(--white);
    padding: 1.6rem;
    transition: all 0.6s;
    z-index: 9999;
}

.menu-mobile .item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.cart-head-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0;
}

.cart-head-btn {
    height: 40px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: var(--gray-100);
    border: 0;
    outline: 0;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.cart-head-btn:hover {
    color: var(--primary-color);
}

.cart-head-btn:hover img {
    filter: var(--filter-primary);
}

.cart-head-btn img {
    width: 18px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.list-menu-actions {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.item-mobbile-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-color);
    font-size: 1rem;
    padding: 1rem 0;
}

.item-mobbile-actions img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.list-menu-mobile {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.list-nav-submenu {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    padding: 0.75rem 1.6rem;
    padding-left: 0;
    background: transparent;
    color: var(--text-color);
    outline: 0;
    border: 0;
    transition: all 0.3s;
}

.menu-item {
    font-size: 0.95rem;
    color: var(--text-color);
    display: block;
    padding-top: 0.4rem;
    padding-bottom: 1rem;
}

.list-mobile-footer {
    list-style: none;
    border-top: 1px solid var(--gray-300);
    padding-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    margin-bottom: 0;
}
.list-mobile-footer li a {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 0;
    transition: all 0.3s;
}
.list-mobile-footer li a:hover {
    color: var(--primary-color);
}

/*= fin menu mobile =*/

/* === FIN HEADER === */

/*==== INICIO INDEX ====*/

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 1rem 2rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que el video cubra todo */
    z-index: 0;
    filter: brightness(0.6); /* oscurece un poco para contraste */
}

.hero-content {
    color: var(--white);
    max-width: 930px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    color: transparent;
    --secondary-light: 198 100% 50%;
    --tw-gradient-from-position: ;
    --tw-gradient-to: #fff var(--tw-gradient-to-position);
    --tw-gradient-to-position: ;
    --tw-gradient-from: hsl(var(--secondary-light))
        var(--tw-gradient-from-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 720px;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    max-width: 160px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* SVG Wave */
.wave-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 30%;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
}

.wave-separator .shape-fill {
    fill: #ffffff;
}

/* Banner Carousel Styles */
.banner-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 1rem 2rem;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-video,
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6);
}

.banner-image {
    background-size: cover;
    background-position: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 720px;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
}

.banner-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    max-width: 160px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Controles de navegación - Ocultos pero funcionales */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5px;
}

.banner-carousel:hover .carousel-nav {
    opacity: 0.7;
}

.carousel-nav:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.2);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.carousel-indicators .indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Media queries para mostrar/ocultar multimedia según dispositivo */
.mobile-media {
    display: none;
}

.desktop-media {
    display: block;
}

@media (max-width: 767px) {
    .mobile-media {
        display: block;
    }

    .desktop-media {
        display: none;
    }
}

/* svg wave animation */

/* = fin hero = */

/* = inicio about = */

.about-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-xl);
    height: fit-content;
}

.about-image-wrapper {
    border-radius: var(--border-radius-xl);
}

.experience-badge {
    position: absolute;
    bottom: -23px;
    right: -16px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

.experience-badge .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e2e9f7;
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    margin-right: 10px;
    padding: 0.25rem;
}

.experience-badge .text {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.experience-badge .year {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 600;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlights {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.highlight-icon {
    color: var(--secondary-color);
    background-color: #e2f2f9;
    padding: 0.5rem;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
}
.highlight-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.about-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: bold;
    max-width: 200px;
    transition: all 0.3s ease;
}

.about-button:hover {
    background: linear-gradient(
        135deg,
        hsl(198 100% 44%) 0%,
        hsl(212 100% 30%) 100%
    );
}

/* = fin about = */

/*= inicio category section =*/

.card-category {
    position: relative;
    display: grid;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 1.8rem 1.25rem;
    overflow: hidden;
    transition: all 0.3s;
}
.card-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.6) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}
.card-img-category {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.img-category {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 1s;
}
.card-content-category {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 70%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-color);
}

.card-icon-category {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f5fc;
    border-radius: 0.875rem;
    width: 52px;
    height: 52px;
    padding: 0.25rem;
    transition: all 0.3s;
}

.card-icon-category img {
    filter: brightness(0);
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s;
}

.card-title-category {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.875rem;
    color: var(--text-color);
}
.card-description-category {
    color: var(--gray-700);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.card-button-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    align-self: flex-start;
    transition: all 0.3s;
}

.card-button-category svg {
    stroke: var(--text-color);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: all 0.3s;
}

.card-button-category:hover {
    color: var(--primary-color);
}
.card-button-category:hover svg {
    stroke: var(--primary-color);
    transform: rotate(45deg);
    transition: all 0.3s;
}

.card-category:hover .img-category {
    transform: scale(1.2);
    transition: all 1s;
}

.card-category:hover .card-icon-category {
    background-color: var(--primary-color);
}

.card-category:hover .card-icon-category img {
    filter: brightness(0) invert(1);
}

/*= fin category section =*/

/*= inicio banner section =*/

.banner-wrapper {
    background: url("../images/banner_great-2.png") no-repeat center
        center/cover;
    background-attachment: fixed;
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #ff0000;
    text-align: left;
    padding: 2.5rem;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
    justify-content: center;
    max-width: 990px;
    text-align: center;
}

.banner-content .image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content .image-column img {
    height: 150px;
    max-width: 100%;
}

.banner-content .text-column {
    display: flex;
    font-size: 2rem;
}

/*= fin banner section =*/

/*= inicio products section =*/

.card-product {
    display: block;
    position: relative;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    background: var(--white);
    overflow: hidden;
}
.card-product-image {
    display: block;
    width: 100%;
    padding: 1rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    transition: all 1s;
}
.img-product {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    aspect-ratio: 1/1;
    transition: all 1s;
}

.card-product:hover .img-product {
    transform: scale(1.1);
    transition: all 1s;
}
.card-product-content {
    padding-left: 1.4rem;
    padding-top: 0.8rem;
    padding-right: 1.4rem;
    padding-bottom: 1.2rem;
}
.card-product-tag {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 0.04rem;
    margin-bottom: 0.5rem;
    text-align: left;
    border: 1px solid var(--secondary-color);
    width: fit-content;
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s;
}
.card-product-title {
    padding-top: 0.25rem;
}
.card-product-title a {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.5;
    letter-spacing: 0.04rem;
    height: 51px;
    text-align: left;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: all 0.3s;
}
.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-view-details {
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    color: var(--white);
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    height: 48px;
    overflow: hidden;
}

.btn-view-details .button__text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-md);
    height: 48px;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.btn-view-details .button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    transition: all 0.3s ease;
}

.btn-view-details:hover .button__icon {
    width: 0;
    opacity: 0;
}

.btn-view-details:hover .button__text {
    justify-content: center;
    width: 100%;
}

.card-product:hover .card-product-title a {
    color: var(--secondary-color);
}
.card-product-tag:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/*= fin products section =*/

/*= inicio brands section =*/

.brands-section {
    position: relative;
    background-color: var(--bg-light);
    padding: 4rem 0;
    margin: 1rem 0;
}

.brands-container {
    position: relative;
    z-index: 3;
}

.brands-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 64px;
    height: auto;
    pointer-events: none;
    z-index: 2;
    transform: translateY(0);
}

.brands-section-title {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.locations-group,
.interior-group {
    background-color: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 40px 30px;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--white);
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 189px;
}

.brand-card:hover {
    border-color: var(--secondary-color);
}

.brand-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.brand-img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-card-city {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 0;
}

.brand-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    background-color: var(--bg-light);
    border-radius: 0.875rem;
    padding: 0.875rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 119px;
}

/*= fin brands section =*/

/*= inicio blog section =*/

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.blog-tag {
    position: absolute;
    bottom: -0.875rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    gap: 0.5rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.icon-calendar {
    width: 16px;
    height: 16px;
    stroke: var(--secondary-color);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 0;
    height: 52px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.blog-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    height: 70px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-button {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.blog-button:hover {
    color: var(--secondary-color);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
.blog-card:hover .blog-title {
    color: var(--secondary-color);
}

/*= fin blog section =*/

/*==== FIN INDEX ====*/

/*==== INICIO NOSOTROS ====*/

.aboutus-page {
    padding-top: 10rem;
}

/* Sección Introductoria */
.intro-section {
    background: var(--white);
    position: relative;
}

.intro-container {
    align-items: center;
}

.intro-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-xl);
}

.intro-content h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.intro-content p {
    font-size: 1rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 600px;
}

/* = inicio mision, vision y valores */

.mvv-title-section {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.mvv-subtitle-section {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    text-align: center;
}

.mvv-section {
    margin-top: 6rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--gray-100);
    position: relative;
}

.mvv-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.mvv-card {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    text-align: center;
}

.mvv-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mvv-icon svg {
    width: 32px;
    height: 32px;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-card {
    background: #fff;
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.value-icon svg {
    width: 42px;
    height: 42px;
    stroke: var(--primary-color);
}

.value-card h3 {
    margin: 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* = fin mision, vision y valores = */

/* = inicio timeline =*/
.timeline {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.2);
}
.timeline .swiper {
    height: 460px;
    width: 100%;
    position: relative;
}
.timeline .swiper-wrapper {
    transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}
.timeline .swiper-slide {
    position: relative;
    color: var(--white);
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.timeline .swiper-slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: -115%;
    bottom: -10%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: -230px 0 150px 60vw rgba(0, 0, 0, 0.7);
    border-radius: 100%;
}
.timeline .swiper-slide-content {
    position: absolute;
    text-align: center;
    width: 80%;
    max-width: 610px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    z-index: 2;
}
.timeline .swiper-slide .timeline-year {
    display: block;
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    margin-bottom: 1rem;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.4s;
}
.timeline .swiper-slide .timeline-title {
    font-weight: 800;
    font-size: 2.2rem;
    margin: 0 0 30px;
    opacity: 0;
    margin-bottom: 1rem;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.5s;
}
.timeline .swiper-slide .timeline-text {
    line-height: 1.5;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.6s;
}
.timeline .swiper-slide-active .timeline-year {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.6s;
}
.timeline .swiper-slide-active .timeline-title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.7s;
}
.timeline .swiper-slide-active .timeline-text {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.8s;
}
.timeline .swiper-pagination {
    left: 10% !important;
    right: unset;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    font-weight: 300;
    font-size: 18px;
    z-index: 1;
}
.timeline .swiper-pagination::before {
    content: "";
    position: absolute;
    right: -30px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}
.timeline .swiper-pagination-bullet {
    width: auto;
    height: auto;
    text-align: center;
    opacity: 1;
    background: transparent;
    color: var(--white);
    margin: 15px 0 !important;
    position: relative;
    opacity: 0.8;
}
.timeline .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 12px;
    right: -33px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: var(--white);
    transform: scale(0);
    transition: 0.2s;
}
.timeline .swiper-pagination-bullet-active {
    color: var(--white);
    font-size: 1.35rem;
    opacity: 1;
}
.timeline .swiper-pagination-bullet-active::before {
    transform: scale(1);
}
.timeline .swiper-button-next,
.timeline .swiper-button-prev {
    color: var(--white);
    top: 15%;
    width: 20px;
    height: 20px;
    margin-top: 0;
    z-index: 2;
    transition: 0.2s;
}
.timeline .swiper-button-prev {
    left: 8%;
}
.timeline .swiper-button-prev:hover {
    transform: translateX(-3px);
}
.timeline .swiper-button-next {
    right: 8%;
}
.timeline .swiper-button-next:hover {
    transform: translateX(3px);
}

.timeline .swiper-button-next::after,
.timeline .swiper-button-prev::after {
    font-size: 22px;
}

@media screen and (min-width: 1024px) {
}

/* = fin timeline =*/

/*==== FIN NOSOTROS ====*/

/*==== INICIO CONTACTO ====*/

.contact-section {
    padding-top: 2rem;
}

.contact-section-title {
    font-size: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}
.select-control {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    height: 48px;
    width: 100%;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s;
}
.form-file-group {
    display: flex;
    flex-direction: column;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: var(--gray-200);
    border: 1px dashed var(--gray-400);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-file-label:hover {
    background-color: var(--gray-300);
}

.form-file-input {
    display: none;
}

.file-name {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.grid-contacto {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
}
.item-contacto {
    background: var(--gray-100);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
}
.row-contacto {
    display: flex;
    flex-direction: column;
}
.title-form {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.04rem;
}
.subtitle-form {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.04rem;
}
.form-control-contact {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid var(--gray-400);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s;
}
.form-control-textarea {
    display: block;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    box-shadow: none;
    height: 80px;
}
.contacto-map {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    margin-top: auto;
}
.contacto-map iframe {
    border-radius: var(--border-radius-md);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-base);
    cursor: pointer;
    height: 48px;
    width: 200px;
    padding: 0 var(--spacing-xl);
    overflow: hidden;
    transition: all 0.3s;
}
.submit-button:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--white);
}

.lista-enlaces-contacto {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.lista-enlaces-contacto li a,
.lista-enlaces-contacto li p {
    font-size: var(--font-size-base);
    color: var(--text-color);
    letter-spacing: 0.02rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}
.footer-contact-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--primary-color);
    transition: all 0.3s;
}
.footer-contact-icon g {
    fill: var(--primary-color);
}
.lista-enlaces-contacto li a:hover {
    color: var(--secondary-color);
}
.lista-enlaces-contacto li a:hover .footer-contact-icon {
    fill: var(--secondary-color);
}

/*==== FIN CONTACTO ====*/

/* ==== INICIO CATALOGO ==== */

.catalogo-page {
    padding-top: 8rem;
    padding-bottom: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid-catalogo {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-gap: 1.6rem;
}

.container-promo-img.banner-catalogo {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-md);
}

.title-promo-catalogo {
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1rem 1rem;
}

/* filtro aside bar */
.aside-filtros {
    background-color: var(--white);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-md);
    padding: 1.6rem;
}
.title-toolbox-aside {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    line-height: 1;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 1rem;
    padding-left: 0;
    margin-bottom: 1.4rem;
}
.aside-filtros .item-head {
    display: none;
}
.aside-filtros .item-head {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--primary-color);
}
.cart-head-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.cart-head-btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: var(--gray-100);
    border: 0;
    outline: 0;
    border-radius: 1.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-color);
    transition: all 0.3s;
}
.cart-head-btn img {
    width: 16px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.card-filter {
    border-top: 1px solid var(--primary-color);
    padding-top: 1.4rem;
    margin-top: 1.4rem;
}
.btn-aside {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    outline: 0;
    padding-left: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.02rem;
}
.btn-aside img,
.btn-subaside img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.card-content-aside {
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.card-content-aside.active {
    height: 100%;
    transition: all 0.3s;
}
.list-aside {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 0;
    padding-left: 0;
}
.list-aside li {
    margin-bottom: 0.5rem;
}
.input-filtro {
    display: none;
}
.label-filtro {
    font-size: 0.9rem;
    color: var(--gray-700);
    padding-left: 1.6rem;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.label-filtro:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
}
.label-filtro:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background-image: url(../images/icons/check.svg);
    background-position: center;
    background-size: 8px;
    background-repeat: no-repeat;
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.input-filtro[type="checkbox"]:checked ~ .label-filtro::after {
    opacity: 1;
    visibility: visible;
}

/* catalogo productos */
.title-tolbox {
    font-size: var(--font-size-xl);
    font-weight: 600;
    letter-spacing: 0.02rem;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* filtro ordenar */
.toolbox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 2rem;
    padding-top: 0.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
}
.toolbox-item {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.toolbox-item label {
    font-size: 0.94rem;
}
.toolbox-left {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.select-custom .input-filter {
    display: block;
    height: 35px;
    width: 150px;
    border-radius: 50px;
    border: 1px solid var(--gray-300);
    padding-left: 1rem;
    color: var(--text);
    font-size: 0.85rem;
}
.select-custom .input-filter:focus {
    outline-color: var(--secondary-color);
}

.btn-filtro {
    display: none;
}

.grid-productos {
    display: grid;
    grid-gap: 1.4rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

/*==== FIN CATALOGO ====*/

/*==== INICIO FICHA PRODUCTO ====*/

.product-main {
    padding-top: 6.5rem;
}

.row-product {
    padding-top: 1rem;
}

.article-product-image {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 1rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.article-product-image img {
    width: 100%;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.product-info-box {
    margin-bottom: 1.5rem;
}

.product-info-title {
    font-size: 1.05rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.product-info-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.product-info-text ul {
    list-style: none;
    padding: 0;
}

.product-info-text li {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.product-info-text li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-info-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.4rem 0.8rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.product-info-tag:hover {
    background: transparent;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.title-social-links {
    font-size: 0.875rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    padding-left: 0;
    cursor: pointer;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/*= inicio modal ficha producto =*/

.modal-pharmacy .modal-title {
    color: var(--primary-color);
    font-size: 1.25rem;
}
.modal-pharmacy .modal-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

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

.pharmacy-item {
    text-decoration: none;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    padding: 0.5rem;
    text-align: center;
    transition:
        transform 0.2s ease-in-out,
        border 0.2s ease-in-out;
}

.pharmacy-item:hover {
    border: 1px solid var(--secondary-color);
    transform: scale(1.05);
}

.pharmacy-item img {
    display: block;
    height: 80px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
}

.pharmacy-item span {
    color: var(--gray-600);
    font-size: 0.75rem;
    display: block;
}
/*= fin modal ficha producto =*/

.related-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
}
.related-title {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/*==== FIN FICHA PRODUCTO ====*/

/*==== INICIO NOVEDADES ====*/

.blog-page {
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.news-row {
    row-gap: 1.5rem;
}

/*==== FIN NOVEDADES ====*/

/**** INICIO FICHA NOTICIAS ****/

.article-container {
    padding: 2rem 1rem;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    font-family: var(--font-secondary);
    color: var(--text-color);
}

.main-article {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-xxl);
    padding-top: var(--spacing-md);
}

.article-image-wrapper img {
    border-radius: var(--border-radius-md);
    width: 100%;
    min-height: 50vh;
    max-height: 50vh;
    object-fit: cover;
}
.article-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background-color: var(--white);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-xl);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -210px;
    padding: 2rem;
    z-index: 2;
}
.article-header h1 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 0;
    color: var(--text-color);
    text-align: start;
    transition: all 0.3s;
}
.article-list {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}
.article-tag {
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-xl);
    height: 48px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.875rem;
    transition: all 0.3s;
}
.article-tag:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.text-divider {
    background-color: var(--gray-400);
    width: 18px;
    height: 1px;
    margin-left: 1rem;
    margin-right: 1rem;
}
.article-date {
    font-size: var(--font-size-base);
}
.article-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.article-body h2 {
    letter-spacing: 0.5px;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}
.article-body h3,
.article-body h4 {
    letter-spacing: 0.5px;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.article-body p,
.article-body li {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.article-body ul {
    padding-left: 1.5rem;
}

/**** FIN FICHA NOTICIAS ****/

/**** INICIO FARMAVIGILANCIA ****/

.farmavigilancia-page {
    background-color: var(--gray-100);
    padding-top: 10rem;
}

/*= intro section =*/
.info-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
}

.info-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
}

.info-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.info-card-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-color);
    opacity: 0.9;
}

.info-card-list-item p {
    margin-bottom: 0;
}

.info-card-dot {
    flex-shrink: 0;
    background-color: var(--secondary-color);
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 100%;
    margin-top: 0.5rem;
}

.oms-info-card {
    grid-column: 1 / -1;
}

/*= card etiqueta medicamento =*/
.medication-info-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
    border: 2px solid var(--bg-light);
}

.medication-label-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.medication-label-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.info-card .medication-label-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.75;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* reporte de reaccion adversa */

.report-info-card {
    grid-column: 1 / -1;
}

.report-info-card p {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}

.farma-report-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-farma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    padding: 0.875rem 1.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-farma-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-farma-primary:hover,
.btn-farma-secondary:hover {
    background: linear-gradient(
        135deg,
        hsl(198 100% 44%) 0%,
        hsl(212 100% 30%) 100%
    );
    color: var(--white);
}

.btn-farma-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.modal-farma .modal-header {
    align-items: start;
}

.modal-farma .modal-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-farma .modal-subtitle {
    color: var(--gray-500);
}

.form-section-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.toggle-group {
    display: inline-flex;
    padding: 0.25rem;
    gap: 1.5rem;
}

.toggle-group input[type="radio"] {
    display: none;
}

.toggle-pill {
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    color: var(--gray-600);
    background: transparent;
    border: 1px solid var(--gray-400);
    height: 48px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
}

.toggle-pill:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.toggle-group input[type="radio"]:checked + .toggle-pill {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.toggle-group input[type="radio"]:focus + .toggle-pill {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/*= contacto section =*/
.farma-contact-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.contact-card {
    background: var(--gray-100);
    border: 1px solid hsl(198 100% 44% / 0.2);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
    padding: 3rem 2rem;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.contact-card-content {
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    color: var(--primary-color);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 2rem;
    opacity: 0.85;
    font-size: 1rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    flex-direction: column;
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--white);
    padding: 1.25rem;
    transition: all 0.3s;
}

.contact-item svg {
    flex: 1;
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    max-width: 24px;
    min-width: 24px;
}

.contact-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.contact-subinfo {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
}

.contact-value a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
    word-break: break-word;
    transition: all 0.3s;
}

.contact-value a:hover {
    color: var(--primary-color);
}

/**** FIN FARMAVIGILANCIA ****/

/* ====  INICIO FOOTER ==== */

.footer {
    position: relative;
    background-color: var(--gray-200);
    color: var(--text-color);
    padding-top: 2rem;
    overflow: hidden;
}
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.footer-column:nth-child(2),
.footer-column:nth-child(3),
.footer-column:nth-child(4) {
    display: flex;
    gap: 1rem;
}
.footer-row {
    display: flex;
    gap: 2rem;
}
.footer-logo {
    width: auto;
    height: 90px;
}
.footer-iso {
    height: 90px;
    width: auto;
}
.footer-description {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.footer-description span {
    color: var(--primary-color);
    font-weight: 700;
}
.footer-social {
    display: flex;
    gap: 1.125rem;
    padding: 0;
    list-style: none;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}
.footer-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    padding: 0;
    margin-bottom: 1rem;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    letter-spacing: 0.02rem;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links svg {
    width: 18px;
    height: 18px;
}

.footer-social svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.footer-contact img,
.footer-links img {
    width: 16px;
    height: 16px;
    transition: all 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact a:hover img,
.footer-info a:hover img {
    filter: var(--filter-primary);
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.container-porta {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--primary-color);
    margin-top: 2rem;
}
.text-footer {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    padding-top: 1.2rem;
    padding-bottom: 1rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}
.text-footer a {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    letter-spacing: 0.05rem;
    text-decoration: none;
}

/* ==== FIN FOOTER ==== */

/*==== Inicio Swiper Customization ====*/
.swiper-product .swiper-button-next,
.swiper-product .swiper-button-prev,
.swiper-blog .swiper-button-next,
.swiper-blog .swiper-button-prev {
    --swiper-navigation-size: 20px;
    --swiper-navigation-color: var(--primary-color);
    background-color: var(--gray-100);
    padding: 1.25rem;
    border-radius: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: var(--swiper-navigation-size);
    color: var(--swiper-navigation-color);
    transition: none;
    display: inline-block;
    position: relative;
}

/* Animaciones para swiper navigation */
.swiper-button-next:hover::after {
    animation: swiper-loop-next 0.6s ease-in-out forwards;
}

.swiper-button-prev:hover::after {
    animation: swiper-loop-prev 0.6s ease-in-out forwards;
}

/* animacion para navigation next */
@keyframes swiper-loop-next {
    0% {
        left: 0;
        opacity: 1;
    }
    49% {
        left: 20px;
        opacity: 0;
    }
    50% {
        left: -20px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
/* animacion para navigation prev */
@keyframes swiper-loop-prev {
    0% {
        left: 0;
        opacity: 1;
    }
    49% {
        left: -20px;
        opacity: 0;
    }
    50% {
        left: 20px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

/*==== Fin Swiper Customization ====*/

.wave-separator path {
    opacity: 0; /* inicio invisible */
    transform: translateY(20px); /* ligera subida */
    animation: waveFadeIn 1s ease forwards;
    opacity: 0; /* inicio invisible */
    transform: translateY(20px); /* ligera subida */
    animation: waveFadeIn 1s ease forwards;
}

/* Stagger por path usando delay */
.wave-separator path:nth-child(1) {
    animation-delay: 0.3s;
}
.wave-separator path:nth-child(2) {
    animation-delay: 0.6s;
}
.wave-separator path:nth-child(3) {
    animation-delay: 0.9s;
}
.wave-separator path:nth-child(1) {
    animation-delay: 0.3s;
}
.wave-separator path:nth-child(2) {
    animation-delay: 0.6s;
}
.wave-separator path:nth-child(3) {
    animation-delay: 0.9s;
}

/* Keyframes */
@keyframes waveFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .carousel-nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    .wave-separator svg {
        height: 10px;
    }

    /* = INICIO FARMACOVIGILANCIA = */
    .btn-farma {
        width: 90%;
    }
    /* = FIN FARMACOVIGILANCIA = */
}

@media screen and (min-width: 768px) {
    /*= =*/
    .hero-section-wrapper,
    .hero-section-img {
        height: 220px;
    }
    .hero-section-title {
        font-size: 3rem;
    }

    .section-heading {
        font-size: var(--font-size-xxl);
    }
    .padding-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .brands-section {
        margin: 3rem 0;
    }
    /*= =*/

    /*== Inicio Index ==*/
    .hero {
        padding: 2rem 1rem;
    }
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.8rem;
    }

    .about-section {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .banner-content {
        grid-template-columns: auto 1fr;
        text-align: left;
    }

    .banner-content .image-column img {
        height: 200px;
    }

    .banner-content .text-column {
        font-size: 2.5rem;
    }

    /*== Fin Index ==*/

    /*== Inicio Nosotros ==*/
    .intro-container {
        flex-direction: row;
        text-align: left;
    }

    .intro-content h1,
    .intro-content p {
        text-align: left;
    }

    .mvv-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline .swiper {
        height: 500px;
    }
    .timeline .swiper-slide::after {
        left: -30%;
        bottom: -8%;
        width: 240px;
        height: 50%;
        box-shadow: 230px 0 150px 50vw rgba(0, 0, 0, 0.7);
    }
    .timeline .swiper-slide-content {
        left: 20%;
        top: 50%;
        transform: translate(0, -50%);
        max-width: 620px;
        font-size: 1rem;
        text-align: left;
    }
    .timeline .swiper-slide .timeline-year {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
    .timeline .swiper-slide .timeline-title {
        font-size: 3rem;
        margin: 0;
    }
    .timeline .swiper-pagination {
        display: flex;
    }
    .timeline .swiper-button-prev {
        top: 10%;
        right: auto;
        left: 11.8%;
        transform: rotate(90deg) translate(0, 10px);
    }
    .timeline .swiper-button-prev:hover {
        transform: rotate(90deg) translate(-3px, 10px);
    }
    .timeline .swiper-button-next {
        top: auto;
        bottom: 10%;
        left: 11.8%;
        transform: rotate(90deg) translate(0, 10px);
    }
    .timeline .swiper-button-next:hover {
        transform: rotate(90deg) translate(3px, 10px);
    }
    /*== Inicio Nosotros ==*/

    /*==== INICIO FICHA PRODUCTO ====*/
    .product-card {
        max-width: 500px;
    }

    .product-image {
        height: 320px;
    }

    .product-image img {
        width: 200px;
    }

    .product-info {
        padding: 2rem;
    }

    .product-name {
        font-size: 1.75rem;
    }

    .action-buttons {
        flex-direction: row;
    }

    .pharmacy-panel {
        max-width: 600px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--border-radius-xl);
        bottom: -100%;
    }

    .pharmacy-panel.active {
        bottom: 2rem;
    }
    /*==== FIN FICHA PRODUCTO ====*/

    /*== Inicio Noticia Ficha ==*/
    .article-header {
        width: calc(100% - 102px);
    }
    .article-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    .article-header h1 {
        font-size: var(--font-size-xl);
    }
    .article-section {
        padding: 12rem var(--spacing-lg) 4rem;
    }
    .main-article {
        gap: 3.5rem;
    }
    .article-header {
        padding: 4rem;
    }
    .article-container {
        padding: 4rem;
    }
    /*== Fin Noticia Ficha ==*/

    /*== Inicio Farmavigilancia ==*/
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .medication-info-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .medication-label-wrapper {
        padding: 3rem;
    }

    .medication-label-image {
        max-width: 500px;
        width: 100%;
    }

    .medication-label-caption {
        max-width: 400px;
    }

    .contact-card {
        padding: 4rem 3rem;
    }

    .contact-item {
        flex-direction: row;
        gap: 1rem;
    }
    /*== Fin Farmavigilancia ==*/

    /*=== inicio footer ===*/
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 2rem;
    }
    /*=== fin footer ===*/
}

@media screen and (min-width: 992px) {
    .container {
        max-width: 1100px;
    }
    /*== INICIO INDEX ==*/
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .experience-badge {
        bottom: -23px;
        right: -16px;
        padding: 20px;
    }
    /*== INICIO INDEX ==*/

    /*== INICIO CONTACTO ==*/
    .grid-contacto {
        grid-template-columns: repeat(2, 1fr);
    }
    /*== FIN CONTACTO ==*/

    /*== INICIO CATALOGO ==*/
    .toolbox {
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .toolbox-left {
        justify-content: flex-end;
    }
    /*== FIN CATALOGO ==*/

    /*== Inicio Farmavigilancia ==*/
    .contact-info {
        grid-template-columns: 1fr;
    }
    /*== Fin Farmavigilancia ==*/
}

@media screen and (min-width: 1024px) {
    /*= =*/
    .blog-page {
        padding-top: 7rem;
        padding-bottom: 8rem;
    }
    .catalogo-page {
        padding-top: 5rem;
        padding-bottom: 8rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    /*= =*/
    /*== Inicio Nosotros ==*/
    .aboutus-page {
        padding-top: 7rem;
    }
    .intro-content h1 {
        font-size: 2.5rem;
    }
    .intro-section {
        padding-top: 2rem;
    }
    .mvv-section {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
    .mvv-title-section {
        font-size: 2.5rem;
    }

    .timeline .swiper-slide::after {
        left: -20%;
        bottom: -12%;
        width: 240px;
        height: 50%;
        box-shadow: 230px 0 150px 60vw rgba(0, 0, 0, 0.7);
    }
    .timeline .swiper-slide-content {
        left: 20%;
    }
    /*== Fin Nosotros ==*/

    /*==== INICIO FICHA PRODUCTO ====*/
    .product-card {
        max-width: 600px;
    }

    .product-image {
        height: 360px;
    }

    .product-image img {
        width: 220px;
    }
    /*==== FIN FICHA PRODUCTO ====*/

    /*== Inicio Farmavigilancia ==*/
    .farmavigilancia-page {
        padding-top: 7rem;
    }
    .section-title {
        font-size: 2.25rem;
    }

    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-value a {
        word-break: unset;
    }
    /*== Fin Farmavigilancia ==*/

    /*=== inicio footer ===*/
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 0.9fr 0.9fr;
        grid-column-gap: 2rem;
    }
    .footer-description {
        margin-top: 1.5rem;
    }
    .footer-column {
        justify-content: center;
        flex-direction: row;
    }
    .footer-column:nth-child(2) {
        padding-left: 2rem;
    }
    /*=== fin footer ===*/
}

@media screen and (min-width: 1100px) {
    .grid-productos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
    .values-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media screen and (max-width: 1100px) {
    /*= Inicio Catalogo =*/
    .title-catalogo {
        display: none;
    }
    .grid-catalogo {
        grid-template-columns: 1fr;
        gap: 0;
    }
    /* Filtro  Catalogo */
    .select-custom .input-filter {
        font-size: 0.8rem;
        width: 120px;
    }

    .btn-filtro {
        display: flex;
        align-items: center;
        column-gap: 0.5rem;
        background: var(--primary-color);
        border: 0;
        outline: 0;
        height: 35px;
        border-radius: 1.6rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: var(--white);
        transition: all 0.3s;
    }
    .btn-filtro img {
        filter: invert(96%) sepia(100%) saturate(0%) hue-rotate(92deg)
            brightness(105%) contrast(106%);
        height: 16px;
        width: auto;
        object-fit: contain;
        aspect-ratio: 1/1;
    }
    .aside-filtros .item-head {
        display: flex;
    }

    .aside-filtros {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        transform: translateX(-1000px);
        z-index: 9999;
        width: 320px;
        overflow-y: scroll;
        background: var(--white);
        border-radius: 0;
        padding: 1.6rem;
        transition: all 0.3s;
    }
    .aside-filtros.visible {
        transform: translateX(0);
        transition: all 0.5s;
    }
    .title-toolbox-aside {
        display: none;
    }
    /*= Fin Catalogo =*/
}

@media screen and (max-width: 992px) {
    /* = Inicio Header = */
    .nav-header-middle {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "logo menu"
            "buscador buscador";
        gap: 1rem;
        border-bottom: 1px solid var(--border-gray);
    }
    .item-nav-header-middle:nth-child(1) {
        grid-area: logo;
    }
    .item-nav-header-middle:nth-child(2) {
        grid-area: buscador;
    }
    .item-nav-header-middle:nth-child(4) {
        grid-area: menu;
    }
    .img-logo {
        height: 50px;
        width: auto;
    }
    .item-desktop {
        display: none;
    }

    /* menu mobile */
    .item-nav-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        column-gap: 1rem;
    }
    .btn-menu-mobile {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        padding: 0;
        border-radius: 50%;
    }
    .btn-menu-mobile img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
    .btn-menu-mobile .icon-close {
        display: none;
    }
    /* = Fin Header = */
}

/* ===== Paginación (catálogo, novedades) ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-list .page-item {
    margin: 0;
}

.pagination-list .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius-md, 8px);
    background: var(--white, #ffffff);
    color: var(--text-color, #1e1e1e);
    font-family: var(--font-primary, sans-serif);
    font-size: var(--font-size-sm, 0.875rem);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pagination-list .page-link:hover {
    border-color: var(--secondary-color, #009cde);
    color: var(--secondary-color, #009cde);
}

.pagination-list .page-item.active .page-link {
    background: var(--primary-color, #004c97);
    border-color: var(--primary-color, #004c97);
    color: var(--white, #ffffff);
    cursor: default;
}

.pagination-list .page-item.disabled .page-link {
    background: #f5f5f5;
    border-color: #eaeaea;
    color: #bdbdbd;
    cursor: not-allowed;
}

.pagination-list .page-arrow {
    font-size: 1.35rem;
    font-weight: 700;
}

/*= inicio great place to work section =*/

.gpw-container {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
    flex-wrap: wrap;
}

.gpw-container .gpw-grid-images {
    flex: 0 0 320px;
}

.gpw-container .gpw-info {
    flex: 1 1 320px;
    min-width: 280px;
}

.gpw-grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gpw-grid-images img {
    width: 100%;
    height: 200px;
object-fit: contain;
    border-radius: var(--border-radius-md);
}

.gpw-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gpw-percentage {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.gpw-percentage img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.gpw-percentage span {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    font-weight: 600;
    line-height: 1.3;
    max-width: 410px;
}

.gpw-text h2 {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-bottom: 0.75rem;
}

.gpw-text p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.gpw-text a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    display: inline-block;
    color: var(--gray-500);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 767px) {
    .gpw-container {
        flex-direction: column;
        text-align: center;
    }

    .gpw-container .gpw-grid-images {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
    }

    .gpw-percentage {
        flex-direction: column;
        text-align: center;
    }
}

/*= fin great place to work section =*/

